1 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6 2012-08-23 Joseph Myers <joseph@codesourcery.com>
8 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9 #include of fxstatat64.c.
11 2012-08-22 Roland McGrath <roland@hack.frob.com>
13 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14 * shadow/getspent_r.c: Likewise.
15 * shadow/getspnam.c: Likewise.
16 * shadow/getspnam_r.c: Likewise.
17 * gshadow/getsgent.c: Likewise.
18 * gshadow/getsgent_r.c: Likewise.
19 * gshadow/getsgnam.c: Likewise.
20 * gshadow/getsgnam_r.c: Likewise.
21 * inet/getnetbyad.c: Likewise.
22 * inet/getnetbyad_r.c: Likewise.
23 * inet/getnetbynm.c: Likewise.
24 * inet/getnetbynm_r.c: Likewise.
25 * inet/getnetent.c: Likewise.
26 * inet/getnetent_r.c: Likewise.
27 * inet/getproto.c: Likewise.
28 * inet/getproto_r.c: Likewise.
29 * inet/getprtent.c: Likewise.
30 * inet/getprtent_r.c: Likewise.
31 * inet/getprtname.c: Likewise.
32 * inet/getprtname_r.c: Likewise.
33 * inet/getrpcbyname.c: Likewise.
34 * inet/getrpcbyname_r.c: Likewise.
35 * inet/getrpcbynumber.c: Likewise.
36 * inet/getrpcbynumber_r.c: Likewise.
37 * inet/getrpcent.c: Likewise.
38 * inet/getrpcent_r.c: Likewise.
39 * inet/getaliasent.c: Likewise.
40 * inet/getaliasent_r.c: Likewise.
41 * inet/getaliasname.c: Likewise.
42 * inet/getaliasname_r.c: Likewise.
43 * nscd/getgrgid_r.c: Likewise.
44 * nscd/getgrnam_r.c: Likewise.
45 * nscd/gethstbyad_r.c: Likewise.
46 * nscd/gethstbynm3_r.c: Likewise.
47 * nscd/getpwnam_r.c: Likewise.
48 * nscd/getpwuid_r.c: Likewise.
49 * nscd/getsrvbynm_r.c: Likewise.
50 * nscd/getsrvbypt_r.c: Likewise.
51 * nscd/gai.c: Likewise.
53 * configure.in (build_nscd): New substituted variable, set
54 by --disable-build-nscd and defaults to $use_nscd.
55 * configure: Regenerated.
56 * config.make.in (build-nscd): New substituted variable.
57 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
58 Change conditional to require [$(build-nscd) = yes] as well.
59 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
62 * configure.in (use_nscd): New substituted variable, set by
63 --disable-nscd. If enabled, define USE_NSCD.
64 * configure: Regenerated.
65 * config.h.in: Add USE_NSCD.
66 * config.make.in (use-nscd): New substituted variable.
67 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
68 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
69 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
70 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
71 (CFLAGS-getgrnam_r.c): Likewise.
72 (CFLAGS-initgroups.c): Likewise.
73 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
74 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
76 * inet/getnetgrent_r.c
77 (nscd_setnetgrent): New function, broken out of ...
78 (setnetgrent): ... here. Call it.
79 (innetgr): Conditionalize nscd bits on [USE_NSCD].
80 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
81 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
82 * nscd/Makefile (routines, aux): Move definitions after include of
83 Makeconfig. Conditionalize on [$(use-nscd) != no].
84 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
85 Conditionalize on [USE_NSCD].
86 (is_nscd, nscd_init_cb): Likewise.
87 (nss_load_library): Conditionalize init callback on [USE_NSCD].
88 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
89 * nss/nss_db/db-init.c: Likewise.
90 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
92 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
93 (make_request): Use it.
94 (cache_valid_p): New function.
96 * NEWS: Add item for --disable-nscd.
98 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
100 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
101 to support sed >= 4.2.1-20-ga9bf076.
102 * configure: Regenerated.
104 2012-08-22 Roland McGrath <roland@hack.frob.com>
106 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
107 Conditionalize whole body on [IREL].
109 2012-08-22 Jeff Law <law@redhat.com>
112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
113 if the family is PF_UNSPEC.
115 2012-08-22 Mike Frysinger <vapier@gentoo.org>
117 * Makerules (lib-version): Rename from V.
118 (install-lib-nosubdir): Change V to lib-version.
120 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
123 * powerpc32/power6/wcschr.c: New file.
124 * powerpc32/power6/wcscpy.c: New file.
125 * powerpc32/power6/wcsrchr.c: New file.
126 * powerpc64/power6/wcschr.c: New file.
127 * powerpc64/power6/wcscpy.c: New file.
128 * powerpc64/power6/wcsrchr.c: New file.
130 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
132 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
133 (two_way_short_needle): Use it.
134 * string/strstr.c (AVAILABLE1_USES_J): Define.
135 * string/strcasestr.c: Likewise.
137 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
139 * string/strcasestr.c (TOLOWER): Make side-effect safe.
142 * NEWS: Add an entry.
143 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
144 define their defaults.
145 (two_way_short_needle): Detect end-of-string on-the-fly.
146 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
147 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
148 * string/bug-strcasestr1.c: New test.
149 * string/Makefile: Run it.
151 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
154 * string/str-two-way.h (two_way_short_needle): Optimize matching of
157 2012-08-21 Roland McGrath <roland@hack.frob.com>
159 * csu/elf-init.c (__libc_csu_irel): Function removed.
160 * csu/libc-start.c (apply_irel): New function.
161 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
163 2012-08-21 Joseph Myers <joseph@codesourcery.com>
165 * sysdeps/unix/sysv/linux/kernel-features.h
166 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
167 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
169 [__NR_fadvise64_64]: Make code unconditional.
170 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
171 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
172 !__NR_fadvise64_64)]: Likewise.
173 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
174 !__NR_fadvise64_64))]: Likewise.
175 [__NR_fadvise64]: Make code unconditional.
176 [!__NR_fadvise64]: Remove conditional code.
177 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
179 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
181 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
184 not include <kernel-features.h>.
185 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
187 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
189 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
190 include <kernel-features.h>.
191 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
193 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
196 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
198 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
199 slight instruction rearrangements per scrollpipe analysis.
200 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
202 2012-08-20 Roland McGrath <roland@hack.frob.com>
204 * manual/syslog.texi (syslog; vsyslog, closelog):
205 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
206 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
208 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
209 DSOCAPS to match condition on defining it.
211 2012-08-20 Joseph Myers <joseph@codesourcery.com>
213 * sysdeps/unix/sysv/linux/kernel-features.h
214 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
216 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
217 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
219 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
220 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
222 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
223 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
225 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
226 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
228 * sysdeps/unix/sysv/linux/kernel-features.h
229 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
230 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
232 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
233 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
234 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
235 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
236 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
237 Make code unconditional.
238 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
239 (__mmap64) [!__NR_mmap2]: Likewise.
240 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
241 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
242 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
243 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
244 [__NR_mmap2]: Make code unconditional.
245 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
246 (__mmap64) [!__NR_mmap2]: Likewise.
248 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
250 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
252 2012-08-18 Andreas Jaeger <aj@suse.de>
254 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
256 2012-08-18 Mike Frysinger <vapier@gentoo.org>
258 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
259 * include/unistd.h (__have_sock_cloexec): Likewise.
260 (__have_pipe2): Likewise.
261 (__have_dup3): Likewise.
263 2012-08-18 Mike Frysinger <vapier@gentoo.org>
266 * include/unistd.h (__have_pipe2): Change define into an extern int.
267 (__have_dup3): Likewise.
268 * socket/have_sock_cloexec.c: Include fcntl.h.
269 (__have_pipe2): New variable.
270 (__have_dup3): Likewise.
272 2012-08-17 Mike Frysinger <vapier@gentoo.org>
274 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
276 2012-08-17 Marek Polacek <polacek@redhat.com>
278 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
279 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
281 2012-08-17 Roland McGrath <roland@hack.frob.com>
283 * configure.in: Add AC_SUBST for sysheaders.
284 * configure: Regenerated.
285 * config.make.in (sysheaders): New substituted variable.
287 * sysdeps/unix/mkfifo.c: Moved ...
288 * sysdeps/posix/mkfifo.c: ... here.
289 * sysdeps/unix/mkfifoat.c: Moved ...
290 * sysdeps/posix/mkfifoat.c: ... here.
292 * sysdeps/unix/utime.c: Moved ...
293 * sysdeps/posix/utime.c: ... here.
295 * sysdeps/unix/time.c: Moved ...
296 * sysdeps/posix/time.c: ... here.
297 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
298 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
300 * sysdeps/unix/nice.c: Moved ...
301 * sysdeps/posix/nice.c: ... here.
303 * sysdeps/unix/alarm.c: Moved ...
304 * sysdeps/posix/alarm.c: ... here.
306 * intl/Makefile ($(codeset_mo)): Depend on the input file.
308 2012-08-17 Jeff Law <law@redhat.com>
310 * intl/Makefile (codeset_mo): New variable.
311 ($(codeset_mo)): New target.
312 (tst-codeset.out): Depend on that. Remove explicit rule.
313 (tst-gettext3.out, tst-gettext5.out): Likewise.
314 (LOCPATH-ENV, tst-codeset-ENV): New variables.
315 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
316 * intl/tst-codeset.sh: Remove.
317 * intl/tst-gettext3.sh: Likewise.
318 * intl/tst-gettext5.sh: Likewise.
320 2012-08-17 Roland McGrath <roland@hack.frob.com>
322 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
323 * sysdeps/unix/syscalls.list: ... here.
325 * sysdeps/posix/getaddrinfo.c
326 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
327 (gaiconf_init, gaiconf_reload): Use them.
329 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
330 Define using time_t rather than struct timespec.
332 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
333 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
335 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
337 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
338 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
341 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
342 __libc_cleanup_push argument.
344 * bits/param.h: New file.
345 * misc/sys/param.h: New file.
346 * include/sys/param.h: New file.
347 * misc/Makefile (headers): Add bits/param.h.
348 * sysdeps/generic/sys/param.h: File removed.
349 * sysdeps/unix/sysv/linux/bits/param.h: New file.
350 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
351 * sysdeps/mach/hurd/bits/param.h: New file.
352 * sysdeps/mach/hurd/sys/param.h: New file.
354 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
357 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
359 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
360 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
363 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
364 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
365 rather than -D_IO_MTSAFE_IO conditionally.
366 * stdio-common/Makefile (CPPFLAGS): Likewise.
367 * wcsmbs/Makefile (CPPFLAGS): Likewise.
368 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
370 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
372 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
373 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
374 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
375 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
376 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
377 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
378 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
379 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
380 (CFLAGS-fread_u_chk.c): Likewise.
381 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
382 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
383 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
384 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
385 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
386 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
387 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
388 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
389 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
391 * libio/Makefile: Test [$(libc-reentrant) = yes]
392 instead of [$(filter %REENTRANT, $(defines)) nonempty].
395 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
396 * sysdeps/pthread/configure: File removed.
397 * sysdeps/pthread/Makeconfig: New file.
398 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
399 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
401 2012-08-16 Gary Benson <gbenson@redhat.com>
403 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
404 unmapping the first object in a namespace.
406 2012-08-16 Roland McGrath <roland@hack.frob.com>
408 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
409 (__internal_setnetgrent): ... this. Add internal_function to
410 definition. Add libc_hidden_def.
411 (setnetgrent): Update caller.
412 (internal_endnetgrent): Renamed to ...
413 (__internal_endnetgrent): ... this. Add internal_function to
414 definition. Add libc_hidden_def.
415 (endnetgrent): Update caller.
416 (internal_getnetgrent_r): Renamed to ...
417 (__internal_getnetgrent_r): ... this. Add internal_function to
418 definition. Add libc_hidden_def.
419 (__getnetgrent_r): Update caller.
420 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
422 2012-08-16 Joseph Myers <joseph@codesourcery.com>
424 * stdlib/longlong.h: Update from GCC.
426 2012-08-16 Roland McGrath <roland@hack.frob.com>
428 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
429 on _QL, which is set by umul_ppmm but never used.
430 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
431 variables, which are set by GMP macros but never used.
432 * stdio-common/_itowa.c (_itowa): Likewise.
433 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
434 * stdlib/mod_1.c (mpn_mod_1): Likewise.
436 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
438 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
439 struct La_sh_regs is not constant.
440 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
441 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
442 and struct La_sparc64_regs are not constant.
444 2012-08-16 Joseph Myers <joseph@codesourcery.com>
446 * sysdeps/unix/sysv/linux/kernel-features.h
447 (__ASSUME_POSIX_TIMERS): Remove.
448 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
449 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
450 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
451 Make code unconditional.
452 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
453 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
454 Make code unconditional.
455 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
456 * sysdeps/unix/sysv/linux/clock_nanosleep.c
457 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
458 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
459 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
460 Make code unconditional.
461 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
462 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
463 (__libc_missing_posix_timers): Remove.
465 2012-08-15 Roland McGrath <roland@hack.frob.com>
467 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
468 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
470 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
472 * elf/dl-sym.c: Include <stdlib.h>.
474 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
475 constants, which avoids warnings in 32-bit builds.
477 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
478 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
480 * misc/lseek.c: File moved to ...
481 * io/lseek.c: ... here.
483 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
485 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
486 shifting LEN more than 31 bits at once.
488 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
491 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
492 segmentation fault for a case of two empty input strings.
493 * string/test-strncasecmp.c (check1): Renamed to...
495 (bz14195): Add new testcase for two empty input strings and N > 0.
496 (test_main): Call new testcase, adapt for renamed function.
498 2012-08-15 Andreas Jaeger <aj@suse.de>
501 * crypt/md5test2.c: New test, based on test supplied by Serge
502 Belyshev <belyshev@depni.sinp.msu.ru>.
503 * crypt/Makefile (xtests): Add md5test-giant..
504 * crypt/Makefile ($(objpfx)md5test-giant): Add.
506 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
509 * crypt/md5.c (md5_process_block): Don't assume the buffer
510 length is less than 2**32.
511 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
512 length is less than 2**64.
514 2012-08-15 Roland McGrath <roland@hack.frob.com>
516 * string/str-two-way.h: Include <sys/param.h>.
517 (MAX): Macro removed.
519 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
520 Move #define and #undef of memmove to just before and after
521 including <string.h>.
523 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
524 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
525 and after including <string.h>. Move declarations of
526 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
527 to before #include "string/memmove.c".
529 * include/dirent.h: Declare __getdirentries.
531 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
532 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
534 2012-08-14 Mike Frysinger <vapier@gentoo.org>
536 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
537 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
538 * sysdeps/i386/configure: Regenerated.
539 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
540 STABS_CURRENT_FILE, and STABS_FUN.
541 (END): Remove call to STABS_FUN_END.
542 (STABS_CURRENT_FILE1): Delete.
543 (STABS_CURRENT_FILE): Likewise.
544 (STABS_FUN): Likewise.
545 (STABS_FUN_END): Likewise.
546 (STABS_FUN2): Likewise.
547 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
548 * sysdeps/x86_64/configure: Regenerated.
550 2012-08-14 Roland McGrath <roland@hack.frob.com>
552 * elf/dl-open.c: Include <atomic.h>.
553 * elf/dl-lookup.c: Likewise.
555 2012-08-14 Joseph Myers <joseph@codesourcery.com>
557 * sysdeps/unix/sysv/linux/kernel-features.h
558 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
559 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
561 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
563 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
564 condition on __ASSUME_CLONE_THREAD_FLAGS.
566 2012-08-14 Andreas Jaeger <aj@suse.de>
568 * sysdeps/i386/fpu/libm-test-ulps: Update.
570 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
572 * include/atomic.h (atomic_exchange_and_add): Split into ...
573 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
576 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
578 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
580 2012-08-13 Jeff Law <law@redhat.com>
582 * manual/stdio.texi (snprintf): Clarify handling of the trailing
583 null byte in the output string.
585 2012-08-10 Joseph Myers <joseph@codesourcery.com>
587 * sysdeps/unix/sysv/linux/kernel-features.h
588 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
589 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
590 (__ASSUME_ARG_MAX_STACK_BASED): Define.
591 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
592 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
593 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
594 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
596 2012-08-09 Jeff Law <law@redhat.com>
599 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
600 When avoid_arena is set, don't retry in the that arena. Pick the
601 next one, whatever it might be.
602 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
603 (arena_lock): Pass in new parameter to arena_get2.
604 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
606 (__libc_malloc): Unify retrying after main arena failure with
607 __libc_memalign version.
608 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
610 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
613 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
614 to __redirect_strstr.
615 (__strstr_sse42): Use typeof __redirect_strstr.
616 (__strstr_ia32): Likewise.
617 (__libc_strstr): New prototype.
618 (strstr): Renamed to ...
619 (__libc_strstr): This.
620 (strstr): New strong alias of __libc_strstr.
621 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
622 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
625 (__libc_time): New prototype.
626 (time_ifunc): Replace time with __libc_time.
627 (time): New strong alias and hidden definition of __libc_time.
628 (__GI_time): Remove strong alias.
629 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
631 (memmove): Redefined to __redirect_memmove.
632 (__memmove_sse2): Use typeof __redirect_memmove.
633 (__memmove_ssse3): Likewise.
634 (__memmove_ssse3_back): Likewise.
635 (__libc_memmove): New prototype.
636 (memmove): Renamed to ...
637 (__libc_memmove): This.
638 (memmove): New strong alias of __libc_memmove.
640 2012-08-08 Mark Salter <msalter@redhat.com>
643 (R_MN10300_TLS_GD): Define.
644 (R_MN10300_TLS_LD): Likewise.
645 (R_MN10300_TLS_LDO): Likewise.
646 (R_MN10300_TLS_GOTIE): Likewise.
647 (R_MN10300_TLS_IE): Likewise.
648 (R_MN10300_TLS_LE): Likewise.
649 (R_MN10300_TLS_DTPMOD): Likewise.
650 (R_MN10300_TLS_DTPOFF): Likewise.
651 (R_MN10300_TLS_TPOFF): Likewise.
652 (R_MN10300_SYM_DIFF): Likewise.
653 (R_MN10300_ALIGN): Likewise.
654 (R_MN10300_NUM): Update.
656 2012-08-08 Joseph Myers <joseph@codesourcery.com>
658 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
661 2012-08-08 Roland McGrath <roland@hack.frob.com>
663 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
665 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
666 sysdeps/unix -> sysdeps/posix move.
667 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
669 2012-08-07 Allan McRae <allan@archlinux.org>
672 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
673 (SUNOS_CPP): Likewise.
674 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
676 (open_input): Call CPP using execvp.
678 2012-08-07 Joseph Myers <joseph@codesourcery.com>
680 * sysdeps/unix/sysv/linux/kernel-features.h
681 (__ASSUME_PROT_GROWSUPDOWN): Remove.
682 (__ASSUME_NO_CLONE_DETACHED): Likewise.
683 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
684 (__ASSUME_WAITID_SYSCALL): Likewise.
685 * sysdeps/unix/sysv/linux/dl-execstack.c
686 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
688 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
690 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
691 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
692 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
694 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
696 [__ASSUME_WAITID_SYSCALL]: Likewise.
697 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
699 2012-08-07 Roland McGrath <roland@hack.frob.com>
701 * sysdeps/unix/closedir.c: Renamed to ...
702 * sysdeps/posix/closedir.c: ... here.
703 * sysdeps/unix/dirfd.c: Renamed to ...
704 * sysdeps/posix/dirfd.c: ... here.
705 * sysdeps/unix/dirstream.h: Renamed to ...
706 * sysdeps/posix/dirstream.h: ... here.
707 * sysdeps/unix/fdopendir.c: Renamed to ...
708 * sysdeps/posix/fdopendir.c: ... here.
709 * sysdeps/unix/opendir.c: Renamed to ...
710 * sysdeps/posix/opendir.c: ... here.
711 * sysdeps/unix/readdir.c: Renamed to ...
712 * sysdeps/posix/readdir.c: ... here.
713 * sysdeps/unix/readdir_r.c: Renamed to ...
714 * sysdeps/posix/readdir_r.c: ... here.
715 * sysdeps/unix/rewinddir.c: Renamed to ...
716 * sysdeps/posix/rewinddir.c: ... here.
717 * sysdeps/unix/seekdir.c: Renamed to ...
718 * sysdeps/posix/seekdir.c: ... here.
719 * sysdeps/unix/telldir.c: Renamed to ...
720 * sysdeps/posix/telldir.c: ... here.
721 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
722 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
723 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
724 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
726 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
727 * bits/fcntl.h: ... here.
729 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
731 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
732 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
733 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
734 (struct flock): Move l_start, l_len to the beginning.
735 Use __pid_t for l_pid.
736 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
737 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
738 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
739 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
740 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
741 [__USE_LARGEFILE64] (struct flock64): New type.
742 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
744 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
745 * bits/dirent.h: ... here.
747 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
748 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
750 2012-08-07 Joseph Myers <joseph@codesourcery.com>
752 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
753 Change from 2.6.0 to 2.6.16.
754 * sysdeps/unix/sysv/linux/configure: Regenerated.
755 * sysdeps/unix/sysv/linux/kernel-features.h
756 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
757 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
759 (__ASSUME_UTIMES): Likewise.
760 (__ASSUME_CLONE_STOPPED): Remove.
761 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
762 architectures, not kernel version.
763 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
764 (__ASSUME_NO_CLONE_DETACHED): Likewise.
765 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
766 (__ASSUME_WAITID_SYSCALL): Likewise.
767 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
768 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
769 * README: State 2.6.16 as minimum Linux kernel version. Do not
770 refer to older versions.
772 2012-08-06 Roland McGrath <roland@hack.frob.com>
774 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
775 Define alphasort64 as an alias.
776 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
777 Define versionsort64 as an alias.
778 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
779 Define scandir64 as an alias.
780 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
781 Define scandirat64 as an alias.
782 * dirent/alphasort64.c (alphasort64):
783 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
784 * dirent/versionsort64.c: Likewise.
785 * dirent/scandir64.c: Likewise.
786 * dirent/scandirat64.c: Likewise.
787 * sysdeps/wordsize-64/alphasort.c: File removed.
788 * sysdeps/wordsize-64/alphasort64.c: File removed.
789 * sysdeps/wordsize-64/scandir.c: File removed.
790 * sysdeps/wordsize-64/scandir64.c: File removed.
791 * sysdeps/wordsize-64/scandirat.c: File removed.
792 * sysdeps/wordsize-64/scandirat64.c: File removed.
793 * sysdeps/wordsize-64/versionsort.c: File removed.
794 * sysdeps/wordsize-64/versionsort64.c: File removed.
795 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
796 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
797 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
798 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
799 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
800 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
801 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
802 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
804 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
805 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
806 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
807 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
808 [defined __arch64__ || defined __sparcv9]
809 (__INO_T_MATCHES_INO64_T): New macro.
810 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
811 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
812 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
813 * sysdeps/unix/sysv/linux/bits/dirent.h
814 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
815 (_DIRENT_MATCHES_DIRENT64): New macro.
817 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
818 Define lockf64 as an alias.
819 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
820 Define fseeko64 as an alias.
821 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
822 Define ftello64 as an alias.
823 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
824 Define _IO_fgetpos64 and fgetpos64 as aliases.
825 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
826 Define _IO_fsetpos64 and fsetpos64 as aliases.
827 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
828 Conditionalize body on this.
829 * libio/fseeko64.c: Likewise.
830 * libio/ftello64.c: Likewise.
831 * libio/iofgetpos64.c: Likewise.
832 * libio/iofsetpos64.c: Likewise.
833 * sysdeps/wordsize-64/lockf.c: File removed.
834 * sysdeps/wordsize-64/lockf64.c: File removed.
835 * sysdeps/wordsize-64/fseeko.c: File removed.
836 * sysdeps/wordsize-64/fseeko64.c: File removed.
837 * sysdeps/wordsize-64/ftello.c: File removed.
838 * sysdeps/wordsize-64/ftello64.c: File removed.
839 * sysdeps/wordsize-64/iofgetpos.c: File removed.
840 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
841 * sysdeps/wordsize-64/iofsetpos.c: File removed.
842 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
843 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
844 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
845 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
846 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
847 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
848 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
849 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
850 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
851 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
852 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
854 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
855 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
856 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
857 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
858 [defined __arch64__ || defined __sparcv9]
859 (__OFF_T_MATCHES_OFF64_T): New macro.
860 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
861 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
862 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
863 (__OFF_T_MATCHES_OFF64_T): New macro.
865 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
867 * stdlib/secure-getenv.c (__secure_getenv): Replace
868 GLIBC_2_16 with GLIBC_2_17.
870 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
872 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
873 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
875 2012-08-03 David S. Miller <davem@davemloft.net>
877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
879 2012-08-03 Joseph Myers <joseph@codesourcery.com>
881 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
883 (__ASSUME_CORRECT_SI_PID): Likewise.
884 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
885 (__ASSUME_TMPFS_NAME): Likewise.
886 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
887 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
888 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
889 (HAVE_AUX_SECURE): Make definition unconditional.
890 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
891 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
893 2012-08-03 Roland McGrath <roland@hack.frob.com>
895 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
896 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
897 * sysdeps/mach/hurd/eloop-threshold.h: New file.
898 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
899 __eloop_threshold instead of SYMLOOP_MAX.
901 * sysdeps/generic/eloop-threshold.h: New file.
902 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
904 * elf/chroot_canon.c (chroot_canon): Likewise.
906 2012-08-03 Joseph Myers <joseph@codesourcery.com>
909 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
910 Change to 2.6.0 everywhere.
911 * sysdeps/unix/sysv/linux/configure: Regenerated.
912 * sysdeps/unix/sysv/linux/kernel-features.h
913 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
914 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
916 (__ASSUME_POSIX_TIMERS): Define unconditionally.
917 (__ASSUME_FUTEX_REQUEUE): Remove.
918 (__ASSUME_STATFS64): Define unconditionally.
919 (__ASSUME_AT_SECURE): Likewise.
920 (__ASSUME_CORRECT_SI_PID): Likewise.
921 (__ASSUME_TGKILL): Define without depending on kernel version for
923 (__ASSUME_UTIMES): Likewise.
924 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
926 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
927 (__ASSUME_TMPFS_NAME): Likewise.
928 * README: Update reference to Linux kernel versions.
930 2012-08-02 Marek Polacek <polacek@redhat.com>
933 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
934 libc_cv_asm_type_prefix with %.
935 * configure: Regenerated.
936 * include/libc-symbols.h: Remove comment about
937 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
938 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
939 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
940 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
941 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
942 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
943 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
944 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
945 * elf/tst-unique2mod1.c: Likewise.
946 * elf/tst-unique1mod2.c: Likewise.
947 * elf/tst-unique1mod1.c: Likewise.
948 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
949 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
950 Replace ASM_TYPE_DIRECTIVE with .type.
951 * sysdeps/s390/s390-64/sysdep.h: Likewise.
952 * sysdeps/i386/sysdep.h: Likewise.
953 * sysdeps/x86_64/sysdep.h: Likewise.
954 * sysdeps/sh/sysdep.h: Likewise.
955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
956 Do not define ASM_TYPE_DIRECTIVE.
957 * sysdeps/powerpc/sysdep.h: Likewise.
958 * sysdeps/powerpc/powerpc32/sysdep.h:
959 Replace ASM_TYPE_DIRECTIVE with .type.
960 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
961 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
962 * sysdeps/i386/fpu/e_powf.S: Likewise.
963 * sysdeps/i386/fpu/e_expl.S: Likewise.
964 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
965 * sysdeps/i386/fpu/e_acosh.S: Likewise.
966 * sysdeps/i386/fpu/e_pow.S: Likewise.
967 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
968 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
969 * sysdeps/i386/fpu/s_expm1.S: Likewise.
970 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
971 * sysdeps/i386/fpu/e_log2.S: Likewise.
972 * sysdeps/i386/fpu/e_log2l.S: Likewise.
973 * sysdeps/i386/fpu/e_scalb.S: Likewise.
974 * sysdeps/i386/fpu/e_powl.S: Likewise.
975 * sysdeps/i386/fpu/e_log10f.S: Likewise.
976 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
977 * sysdeps/i386/fpu/e_logl.S: Likewise.
978 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
979 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
980 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
981 * sysdeps/i386/fpu/e_log2f.S: Likewise.
982 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
983 * sysdeps/i386/fpu/e_log.S: Likewise.
984 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
985 * sysdeps/i386/fpu/e_logf.S: Likewise.
986 * sysdeps/i386/fpu/e_log10l.S: Likewise.
987 * sysdeps/i386/fpu/e_atanh.S: Likewise.
988 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
989 * sysdeps/i386/fpu/e_log10.S: Likewise.
990 * sysdeps/i386/fpu/s_frexp.S: Likewise.
991 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
992 * sysdeps/i386/fpu/s_asinh.S: Likewise.
993 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
994 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
995 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
996 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
997 * sysdeps/i386/i686/strtok.S: Likewise.
998 * sysdeps/i386/i386-mcount.S: Likewise.
999 * sysdeps/i386/strtok.S: Likewise.
1000 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1001 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1002 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1003 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1004 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1005 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1006 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1007 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1008 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1009 * sysdeps/x86_64/_mcount.S: Likewise.
1010 * sysdeps/x86_64/strtok.S: Likewise.
1011 * sysdeps/sh/_mcount.S: Likewise.
1013 2012-08-01 Roland McGrath <roland@hack.frob.com>
1015 * libio/iofopen.c: Include <fcntl.h>.
1016 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1017 (_IO_fopen64, fopen64): Define as aliases.
1018 * libio/iofopen64.c: Include <fcntl.h>.
1019 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1020 Conditionalize body on this.
1021 * sysdeps/wordsize-64/iofopen.c: File removed.
1022 * sysdeps/wordsize-64/iofopen64.c: File removed.
1024 2012-08-01 Marek Polacek <polacek@redhat.com>
1026 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1027 Use dlfcn directly instead of a variable.
1028 (binfmt-subdir): Do not define.
1031 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1033 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1034 Remove all definitions.
1035 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1036 <kernel-features.h>.
1037 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1038 (miss_F_GETOWN_EX): Remove all definitions.
1039 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1041 [!__ASSUME_FCNTL64]: Remove conditional code.
1042 [__ASSUME_FCNTL64]: Make code unconditional.
1043 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1044 <kernel-features.h>.
1045 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1046 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1047 (lockf64) [__NR_fcntl64]: Make code unconditional.
1048 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1050 * sysdeps/unix/sysv/linux/kernel-features.h
1051 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1052 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1053 Make code unconditional.
1054 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1055 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1057 [__NR_vfork]: Make code unconditional.
1058 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1059 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1061 [__NR_vfork]: Make code unconditional.
1062 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1063 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1065 2012-08-01 Roland McGrath <roland@hack.frob.com>
1067 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1068 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1070 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1071 Define mkstemp64 as an alias.
1072 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1073 Define mkstemps64 as an alias.
1074 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1075 Define mkostemp64 as an alias.
1076 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1077 Define mkostemps64 as an alias.
1078 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1079 Conditionalize body on this.
1080 * misc/mkostemp64.c: Likewise.
1081 * misc/mkostemps64.c: Likewise.
1082 * misc/mkstemps64.c: Likewise.
1083 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1084 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1085 * sysdeps/wordsize-64/mkostemp.c: File removed.
1086 * sysdeps/wordsize-64/mkstemp.c: File removed.
1087 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1088 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1089 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1090 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1093 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1094 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1095 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1096 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1098 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1099 compat_symbol macros from <shlib-compat.h> rather than the underlying
1100 default_symbol_version and symbol_version macros, so that DEFAULT
1101 lines in shlib-versions are respected.
1102 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1104 2012-08-01 Florian Weimer <fweimer@redhat.com>
1106 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1107 Declare with warn_unused_result.
1108 (setgid, setregid, setegid, setresgid): Likewise.
1109 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1111 * WUR-REPORT: Remove set*id functions.
1113 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1115 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1117 2012-07-31 Roland McGrath <roland@hack.frob.com>
1119 * include/sys/socket.h (__libc_accept, __libc_accept4):
1120 Add attribute_hidden.
1121 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1123 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1125 * inet/getnetgrent_r.c (setup): Likewise.
1127 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1129 2012-07-31 David S. Miller <davem@davemloft.net>
1131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1133 2012-07-31 Joseph Myers <joseph@codesourcery.com>
1136 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1137 value between 1.0 and 2.0 and smaller part has absolute value less
1139 * math/s_clog10.c (__clog10): Likewise.
1140 * math/s_clog10f.c (__clog10f): Likewise.
1141 * math/s_clog10l.c (__clog10l): Likewise.
1142 * math/s_clogf.c (__clogf): Likewise.
1143 * math/s_clogl.c (__clogl): Likewise.
1144 * math/libm-test.inc (clog_test): Add more tests.
1145 (clog10_test): Likewise.
1146 * sysdeps/i386/fpu/libm-test-ulps: Update.
1147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1149 2012-07-31 Florian Weimer <fweimer@redhat.com>
1151 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1152 Exit with zero in case no suitable GID is found, and write a
1153 message to standard error.
1155 2012-07-30 Roland McGrath <roland@hack.frob.com>
1157 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1159 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1160 (MAXPATHLEN): Removed.
1161 (NOGROUP, NODEV): New macros.
1162 (setbit, clrbit, isset, isclr): New macros.
1163 (howmany, roundup, powerof2): New macros.
1164 (DEV_BSIZE): New macro.
1166 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1167 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1169 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1170 definition on [!__NO_LONG_DOUBLE_MATH].
1172 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1173 PTR_MANGLE and PTR_DEMANGLE.
1175 * socket/accept4.c (accept4): Rename to __libc_accept4.
1176 Define accept4 as a weak alias.
1178 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1179 on [_DIRENT_HAVE_D_TYPE].
1180 * io/ftw.c (ftw_dir): Likewise.
1182 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1184 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1186 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1187 Use the BSD numbers rather than the arbitrary ones we had.
1188 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1189 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1190 (SIGXCPU, SIGXFSZ): New macros.
1193 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1194 initializer on [_LIBC_REENTRANT].
1196 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1197 definitions inside [_POSIX_MAPPED_FILES].
1199 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1201 * dirent/opendir.c: Include <fcntl.h>.
1203 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1204 (__libc_getspecific): Likewise.
1205 (__libc_key_create): Likewise.
1207 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1208 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1209 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1210 (tmpfile64): Define as alias.
1211 * sysdeps/wordsize-64/tmpfile.c: File removed.
1212 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1213 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1214 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1216 * stdio-common/vfscanf.c: Include <stdbool.h>.
1217 * nss/makedb.c: Likewise.
1218 * stdio-common/_i18n_number.h: Likewise.
1219 * argp/argp-help.c: Likewise.
1220 * posix/wordexp.c: Likewise.
1221 * sysdeps/posix/spawni.c: Likewise.
1222 * nss/nss_files/files-initgroups.c: Likewise.
1223 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1224 * nss/nss_files/files-initgroups.c: Likewise.
1225 * nss/nss_db/db-netgrp.c: Likewise.
1226 * nss/nss_db/db-initgroups.c: Likewise.
1227 * io/fchmodat.c: Include <sys/stat.h>.
1229 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1230 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1232 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1235 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1236 Add multiple inclusion protection.
1238 2012-07-27 David S. Miller <davem@davemloft.net>
1240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1242 2012-07-27 Gary Benson <gbenson@redhat.com>
1245 * elf/rtld.c: Include <stap-probe.h>.
1246 (dl_main): Added static probes "init_start" and "init_complete".
1247 * elf/dl-load.c: Include <stap-probe.h>.
1248 (lose): Take new parameter "nsid".
1249 Added static probe "map_failed".
1250 (_dl_map_object_from_fd): Pass namespace id to lose.
1251 Added static probe "map_start".
1252 (open_verify): Pass namespace id to lose.
1253 * elf/dl-open.c: Include <stap-probe.h>.
1254 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1255 and "reloc_complete".
1256 * elf/dl-close.c: Include <stap-probe.h>.
1257 (_dl_close_worker): Added static probes "unmap_start" and
1259 * elf/rtld-debugger-interface.txt: New file documenting the above.
1261 2012-07-26 Roland McGrath <roland@hack.frob.com>
1263 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1264 rather than a string variable.
1265 * sunrpc/rpc_main.c (h_output): Likewise.
1266 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1268 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1270 * inet/check_native.c: New file.
1272 2012-07-26 Joseph Myers <joseph@codesourcery.com>
1275 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1276 if larger part has absolute value 1.0.
1277 * math/s_clog10.c (__clog10): Likewise.
1278 * math/s_clog10f.c (__clog10f): Likewise.
1279 * math/s_clog10l.c (__clog10l): Likewise.
1280 * math/s_clogf.c (__clogf): Likewise.
1281 * math/s_clogl.c (__clogl): Likewise.
1282 * math/libm-test.inc (clog_test): Add more tests.
1283 (clog10_test): Likewise.
1284 * sysdeps/i386/fpu/libm-test-ulps: Update.
1285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1287 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1288 (pltexit): Likewise.
1289 (La_regs): Likewise.
1290 (La_retval): Likewise.
1291 (int_retval): Likewise.
1292 Update #error for removed macros to refer only to definitions in
1294 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1296 (pltexit): Likewise.
1297 (La_regs): Likewise.
1298 (La_retval): Likewise.
1299 (int_retval): Likewise.
1300 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1302 (pltexit): Likewise.
1303 (La_regs): Likewise.
1304 (La_retval): Likewise.
1305 (int_retval): Likewise.
1306 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1308 (pltexit): Likewise.
1309 (La_regs): Likewise.
1310 (La_retval): Likewise.
1311 (int_retval): Likewise.
1312 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1314 (pltexit): Likewise.
1315 (La_regs): Likewise.
1316 (La_retval): Likewise.
1317 (int_retval): Likewise.
1318 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1320 (pltexit): Likewise.
1321 (La_regs): Likewise.
1322 (La_retval): Likewise.
1323 (int_retval): Likewise.
1324 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1326 (pltexit): Likewise.
1327 (La_regs): Likewise.
1328 (La_retval): Likewise.
1329 (int_retval): Likewise.
1330 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1331 macro definitions in tst-audit.h.
1332 * sysdeps/i386/tst-audit.h: New file.
1333 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1334 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1335 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1336 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1337 * sysdeps/sh/tst-audit.h: Likewise.
1338 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1339 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1340 * sysdeps/x86_64/tst-audit.h: Likewise.
1342 2012-07-26 Andreas Jaeger <aj@suse.de>
1344 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1347 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1348 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1349 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1351 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1352 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1353 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1355 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1358 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1360 (si_call_addr, si_syscall, si_arch): Define new macro.
1361 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1363 (si_call_addr, si_syscall, si_arch): Define new marcro.
1364 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1366 (si_call_addr, si_syscall, si_arch): Define new macro.
1367 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1369 (si_call_addr, si_syscall, si_arch): Define new macro.
1371 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1374 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1375 Change to 2.4.21 where previously 2.4.1.
1376 * sysdeps/unix/sysv/linux/configure: Regenerated.
1377 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1378 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1379 Linux kernel version.
1380 (__ASSUME_STD_AUXV): Remove.
1381 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1383 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1384 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1385 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1386 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1387 (__ASSUME_NETLINK_SUPPORT): Likewise.
1388 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1389 (__no_netlink_support): Remove conditional definition.
1390 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1392 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1393 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1394 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1395 (if_nameindex_ioctl): Remove.
1396 (if_nameindex_netlink): Do not handle __no_netlink_support.
1397 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1399 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1400 Remove conditional code.
1401 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1403 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1405 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1406 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1407 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1409 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1410 [!__ASSUME_STD_AUXV]: Remove conditional code.
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1412 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1413 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1415 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1416 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1418 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1420 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1421 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1423 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1425 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1428 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1431 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1433 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1435 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1437 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1440 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1442 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1445 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1447 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1449 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1451 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1454 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1456 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1458 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1460 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1463 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1465 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1466 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1467 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1468 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1469 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1470 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1471 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1472 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1473 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1474 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1475 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1476 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1477 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1478 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1479 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1480 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1481 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1482 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1483 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1484 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1485 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1486 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1487 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1489 2012-07-25 Florian Weimer <fweimer@redhat.com>
1491 * Versions.def: Add GLIBC_2.17.
1492 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1493 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1494 Introduce __libc_secure_getenv.
1495 * stdlib/Versions (2.17): Add secure_getenv
1496 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1497 * stdlib/secure-getenv.c: Rename __secure_getenv to
1498 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1499 symbol __secure_getenv for GLIBC_2.0.
1500 * stdlib/tst-secure-getenv.c: New.
1501 * stdlib/Makefile (tests): Add testcase.
1502 * manual/startup.texi (Environment Access): Document
1504 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1505 __libc_secure_getenv.
1506 * inet/ruserpass.c (ruserpass): Likewise.
1507 * malloc/mtrace.c (mtrace): Likewise.
1508 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1509 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1510 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1511 * sysdeps/posix/tempname.c: Likewise. Evaluate
1513 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1514 __secure_getenv to __libc_secure_getenv.
1515 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1522 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1528 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1530 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1531 (struct La_i86_retval): Likewise.
1532 (struct La_x86_64_regs): Likewise.
1533 (struct La_x86_64_retval): Likewise.
1534 (struct La_x32_regs): Likewise.
1535 (struct La_x32_retval): Likewise.
1536 (struct La_ppc32_regs): Likewise.
1537 (struct La_ppc32_retval): Likewise.
1538 (struct La_ppc64_regs): Likewise.
1539 (struct La_ppc64_retval): Likewise.
1540 (struct La_sh_regs): Likewise.
1541 (struct La_sh_retval): Likewise.
1542 (struct La_s390_32_regs): Likewise.
1543 (struct La_s390_32_retval): Likewise.
1544 (struct La_s390_64_regs): Likewise.
1545 (struct La_s390_64_retval): Likewise.
1546 (struct La_sparc32_regs): Likewise.
1547 (struct La_sparc32_retval): Likewise.
1548 (struct La_sparc64_regs): Likewise.
1549 (struct La_sparc64_retval): Likewise.
1550 (struct audit_ifaces): Remove architecture-specific pltenter and
1552 * sysdeps/i386/ldsodefs.h: New file.
1553 * sysdeps/powerpc/ldsodefs.h: Likewise.
1554 * sysdeps/s390/ldsodefs.h: Likewise.
1555 * sysdeps/sh/ldsodefs.h: Likewise.
1556 * sysdeps/sparc/ldsodefs.h: Likewise.
1557 * sysdeps/x86_64/ldsodefs.h: Likewise.
1559 2012-07-25 Marek Polacek <polacek@redhat.com>
1562 * math/libm-test.inc (yn_test): Add another test.
1563 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1564 to ERANGE when the result is +-Inf.
1565 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1566 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1567 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1568 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1570 2012-07-24 Joseph Myers <joseph@codesourcery.com>
1572 * conform/data/time.h-data (NULL): Use macro-constant. Require
1574 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1576 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1578 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1580 * configure.in <sysdeps resolving>: Correct printing
1582 * configure: Regenerate.
1584 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1586 * math/w_ilogb.c: Include <limits.h>.
1587 * math/w_ilogbl.c: Likewise.
1589 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1591 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1592 va_copy. Document allowing for unavailable va_copy only as
1593 pre-C99 compatibility.
1594 * manual/string.texi (Copying and Concatenation): Use va_copy
1595 instead of __va_copy in concat example.
1597 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1599 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1600 (__sendto): Use create_address_port. Initialize APORT and deallocate
1603 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1604 with O_NOLINK passed to __file_name_lookup.
1606 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1607 with O_NOLINK passed to __file_name_lookup.
1609 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1610 negative N or less than NGIDS.
1612 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1613 type to string_t. Set ERANGE as errno and return it if NAME is not big
1614 enough. Use memcpy instead of strncpy.
1616 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1618 * elf/Makefile (check-data): Remove.
1619 (localplt.data): New vpath directive.
1620 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1621 instead of $(check-data).
1622 * scripts/data/localplt-generic.data: Move to ...
1623 * sysdeps/generic/localplt.data: ... here.
1624 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1625 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1626 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1629 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1632 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1635 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1638 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1641 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1645 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1647 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1648 PPC32 and PPC64 files.
1649 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1650 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1652 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1654 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1655 __makecontext_ret to ...
1656 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1657 ... here and call exit if uc_link is NULL. New file.
1658 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1659 __makecontext_ret.S.
1660 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1661 __makecontext_ret to ...
1662 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1663 ... here and call exit if uc_link is NULL. New file.
1664 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1665 __makecontext_ret.S.
1667 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1669 * elf/elf.h (R_390_IRELATIVE): New definition.
1670 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1671 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1672 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1673 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1674 (elf_machine_lazy_rel): Likewise.
1675 * sysdeps/s390/dl-irel.h: New file.
1676 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1677 * sysdeps/s390/s390-64/memset.S: New asm code.
1678 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1679 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1680 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1681 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1682 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1683 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1684 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1685 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1686 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1687 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1688 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1689 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1690 * sysdeps/s390/s390-32/memset.S: New asm code.
1691 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1693 2012-07-17 Marek Polacek <polacek@redhat.com>
1696 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1697 * sysdeps/s390/s390-64/configure.in: Likewise.
1698 * sysdeps/sparc/configure.in: Likewise.
1699 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1700 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1701 * sysdeps/i386/configure.in: Likewise.
1702 * sysdeps/x86_64/configure.in: Likewise.
1703 * sysdeps/sh/configure.in: Likewise.
1704 * sysdeps/s390/s390-32/configure: Regenerated.
1705 * sysdeps/s390/s390-64/configure: Likewise.
1706 * sysdeps/x86_64/configure: Likewise.
1707 * sysdeps/sh/configure: Likewise.
1708 * sysdeps/powerpc/powerpc64/configure: Likewise.
1709 * sysdeps/powerpc/powerpc32/configure: Likewise.
1710 * sysdeps/sparc/configure: Likwise.
1711 * sysdeps/i386/configure: Likewise.
1713 * elf/dl-open.c: Comment fixes.
1715 2012-07-17 Joseph Myers <joseph@codesourcery.com>
1717 * Makefile [CXX] (check-data): Remove.
1718 [CXX] (c++-types.data): New vpath directive.
1719 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1720 vpath. Do not allow for C++ type data being missing.
1721 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1722 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1723 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1724 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1725 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1726 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1727 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1730 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1733 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1736 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1739 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1742 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1745 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1748 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1751 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1752 definitions to architecture-specific files.
1756 * sysdeps/i386/tls-macros.h: New file.
1757 * sysdeps/powerpc/tls-macros.h: Likewise.
1758 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1759 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1760 * sysdeps/sh/tls-macros.h: Likewise.
1761 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1762 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1763 * sysdeps/x86_64/tls-macros.h: Likewise.
1765 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1767 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1768 zero value for regular exit case.
1770 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1771 (__start_context): Preserve zero value for regular exit case.
1773 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1774 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1776 * manual/setjmp.texi (setcontext): Clarify normal process
1777 termination when uc_link is the null pointer.
1778 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1781 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1783 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1784 preprocessor. Test for each exception mask separately.
1786 2012-07-16 Andreas Jaeger <aj@suse.de>
1788 * po/ru.po: Update from translation team.
1790 2012-07-15 Joseph Myers <joseph@codesourcery.com>
1792 * conform/data/string.h-data (NULL): Use macro-constant. Require
1794 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1795 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1796 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1797 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1798 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1800 2012-07-13 Andreas Jaeger <aj@suse.de>
1802 * po/fr.po: Update from translation team.
1804 2012-07-12 Marek Polacek <polacek@redhat.com>
1807 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1808 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1811 2012-07-12 Joseph Myers <joseph@codesourcery.com>
1814 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1815 Change to 2.4.1 where previously 2.4.0.
1816 * sysdeps/unix/sysv/linux/configure: Regenerated.
1817 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1818 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1820 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1821 (__ASSUME_AT_CLKTCK): Remove.
1822 (__ASSUME_AT_PAGESIZE): Likewise.
1823 (__ASSUME_AT_XID): Likewise.
1824 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1825 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1826 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1828 (HAVE_AUX_PAGESIZE): Likewise.
1829 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1830 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1831 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1833 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1836 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1837 the temporary buffer used to invoke __gethostbyname2_r,
1838 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1839 host_data / struct gaih_addrtuple.
1840 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1841 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1842 header file nss/nsswitch.h.
1843 * nss/nsswitch.h (global scope): Add definition of implementation
1844 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1845 resolv/nss_dns/dns-host.c).
1847 2012-07-11 Andreas Jaeger <aj@suse.de>
1849 * po/fr.po: Update from translation team.
1851 * po/sv.po: Update from translation team
1852 * po/fr.po: Another update from translation team.
1854 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1856 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1857 for subnormals or multiply small sinh result by itself.
1858 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1861 2012-07-11 David S. Miller <davem@davemloft.net>
1863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1865 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1868 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1869 (INTERNAL_MARK): Shift it here.
1871 2012-07-10 Marek Polacek <polacek@redhat.com>
1874 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1875 libc_cv_asm_global_directive with .globl.
1876 * configure: Regenerated.
1877 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1879 * sysdeps/i386/configure: Regenerated.
1880 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1882 * sysdeps/x86_64/configure: Regenerated.
1883 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1884 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1885 * elf/tst-unique2mod2.c: Likewise.
1886 * elf/tst-unique2mod1.c: Likewise.
1887 * elf/tst-unique1mod2.c: Likewise.
1888 * elf/tst-unique1mod1.c: Likewise.
1889 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1890 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1891 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1892 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1893 * sysdeps/mach/sysdep.h: Likewise.
1894 * sysdeps/i386/sysdep.h: Likewise.
1895 * sysdeps/i386/i386-mcount.S: Likewise.
1896 * sysdeps/x86_64/_mcount.S: Likewise.
1897 * sysdeps/x86_64/sysdep.h: Likewise.
1898 * sysdeps/sh/_mcount.S: Likewise.
1899 * sysdeps/sh/sysdep.h: Likewise.
1900 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1901 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1902 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1903 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1904 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1905 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1906 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1907 * locale/localeinfo.h: Likewise.
1908 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1909 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1911 2012-07-09 Roland McGrath <roland@hack.frob.com>
1914 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1916 * manual/message.texi (The Uniforum approach): Likewise.
1917 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1918 (glibc iconv Implementation): Likewise.
1920 2012-07-09 Joseph Myers <joseph@codesourcery.com>
1923 * math/s_clog.c (__clog): Avoid scaling a value down where that
1924 could result in underflow.
1925 * math/s_clog10.c (__clog10): Likewise.
1926 * math/s_clog10f.c (__clog10f): Likewise.
1927 * math/s_clog10l.c (__clog10l): Likewise.
1928 * math/s_clogf.c (__clogf): Likewise.
1929 * math/s_clogl.c (__clogl): Likewise.
1930 * math/libm-test.inc (clog_test): Add more tests.
1931 (clog10_test): Likewise.
1932 * sysdeps/i386/fpu/libm-test-ulps: Update.
1933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1935 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1938 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1939 by 7 not 8 to examine high bit of fractional part.
1942 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1943 for call to __mcount_internal.
1944 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1945 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1946 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1948 2012-07-06 Joseph Myers <joseph@codesourcery.com>
1951 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1952 approximation for values within 0x1p-13f of an odd multiple of
1954 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1955 exception. Add more tests.
1956 * sysdeps/i386/fpu/libm-test-ulps: Update.
1959 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1960 inputs and return -1 for them. Do not check for +Inf in case not
1962 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1963 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
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 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1969 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1970 and return -1 for them. Do not check for +Inf in case not
1972 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1974 * sysdeps/i386/fpu/libm-test-ulps: Update.
1975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1977 2012-07-06 Mike Frysinger <vapier@gentoo.org>
1979 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1981 2012-07-05 Joseph Myers <joseph@codesourcery.com>
1985 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1986 could result in spurious underflow. Scale down values above
1987 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1988 * math/s_csqrtf.c (__csqrtf): Likewise.
1989 * math/s_csqrtl.c (__csqrtl): Likewise.
1990 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1992 * sysdeps/i386/fpu/libm-test-ulps: Update.
1993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1995 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1997 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1999 * catgets/xopen-msg.awk: New file.
2000 * catgets/xopen-msg.sed: Removed.
2002 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2004 * intl/po2test.awk: New file.
2005 * intl/po2test.sed: Removed.
2007 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2010 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2011 or multiply small sinh result by itself.
2012 * math/s_ctanf.c (__ctanf): Likewise.
2013 * math/s_ctanh.c (__ctanh): Likewise.
2014 * math/s_ctanhf.c (__ctanhf): Likewise.
2015 * math/s_ctanhl.c (__ctanhl): Likewise.
2016 * math/s_ctanl.c (__ctanl): Likewise.
2017 * math/libm-test.inc (ctan_test_tonearest): New function.
2018 (ctan_test_towardzero): Likewise.
2019 (ctan_test_downward): Likewise.
2020 (ctan_test_upward): Likewise.
2021 (ctanh_test_tonearest): Likewise.
2022 (ctanh_test_towardzero): Likewise.
2023 (ctanh_test_downward): Likewise.
2024 (ctanh_test_upward): Likewise.
2025 (main): Call these new functions.
2026 * sysdeps/i386/fpu/libm-test-ulps: Update.
2027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2029 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2031 * .gitignore: Delete /ports entry.
2033 2012-07-03 Andreas Jaeger <aj@suse.de>
2035 * po/bg.po: Update from translation team.
2036 * po/cs.po: Likewise.
2037 * po/de.po: Likewise.
2038 * po/hr.po: Likewise.
2039 * po/nl.pl: Likewise.
2040 * po/pl.po: Likewise.
2041 * po/vi.po: Likewise.
2043 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2045 * Makeconfig [!+link] (+link-before-libc): New variable.
2046 [!+link] (+link-after-libc): Likewise.
2047 [!+link] (+link-tests): Likewise.
2048 [!+link] (+link): Define in terms of $(+link-before-libc) and
2049 $(+link-after-libc).
2050 [!+link-static] (+link-static-before-libc): New variable.
2051 [!+link-static] (+link-static-after-libc): Likewise.
2052 [!+link-static] (+link-static-tests): Likewise.
2053 [!+link-static] (+link-static): Define in terms of
2054 $(+link-static-before-libc) and $(+link-static-after-libc).
2055 [build-shared] (link-libc-before-gnulib): New variable.
2056 [build-shared] (link-libc-tests): Likewise.
2057 [build-shared] (link-libc): Define in terms of
2058 $(link-libc-before-gnulib).
2059 [!build-shared] (link-libc-tests): New variable.
2060 (link-libc-static-tests): New variable.
2061 [!gnulib] (gnulib-arch): New variable.
2062 [!gnulib] (gnulib-tests): Likewise.
2063 [!gnulib] (static-gnulib-arch): Likewise.
2064 [!gnulib] (static-gnulib-tests): Likewise.
2065 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2066 Define with "=" instead of ":=".
2067 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2068 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2069 * Rules (binaries-all-notests): New variable.
2070 (binaries-all-tests): Likewise.
2071 (binaries-static-notests): Likewise.
2072 (binaries-static-tests): Likewise.
2073 (binaries-all): Define using $(binaries-all-notests) and
2074 $(binaries-all-tests).
2075 (binaries-static): Define using $(binaries-static-notests) and
2076 $(binaries-static-tests).
2077 (binaries-shared-tests): New variable.
2078 (binaries-shared-notests): Likewise.
2079 (binaries-shared): Remove variable.
2080 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2081 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2082 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2083 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2084 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2085 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2086 * elf/Makefile (sln-modules): New variable.
2087 (extra-objs): Add $(sln-modules:=.o).
2088 (ldconfig-modules): Add static-stubs.
2089 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2090 * elf/static-stubs.c: New file.
2093 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2094 by 7 not 8 to examine high bit of fractional part. Use volatile
2095 variables when splitting into final array of floats if
2096 __FLT_EVAL_METHOD__ != 0.
2097 * math/libm-test.inc (cos_test): Add another test.
2098 (sin_test): Likewise.
2099 * sysdeps/i386/fpu/libm-test-ulps: Update.
2102 * math/libm-test.inc (cosh_test): Add more tests.
2104 * version.h (RELEASE): Set to "development".
2105 (VERSION): Set to "2.16.90".
2107 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2109 * NEWS: Update copyright. Remove last-updated date.
2110 Mention math library bug fixes and timezone data changes.
2111 * README: Mention GNU/Hurd, x32, and HPPA support status.
2113 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2115 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2117 2012-06-27 Andreas Jaeger <aj@suse.de>
2119 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2121 2012-06-25 Andreas Jaeger <aj@suse.de>
2123 * sysdeps/s390/fpu/libm-test-ulps: Update.
2125 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2126 Thomas Schwinge <thomas@codesourcery.com>
2128 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2129 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2130 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2133 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2135 * sysdeps/mach/start.c: Remove file.
2136 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2137 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2138 * sysdeps/sh/init-first.c: Likewise.
2140 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2141 registers for frame unwinding purposes, add CFI directives.
2142 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2143 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2144 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2147 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2148 __fortify_fail returning.
2149 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2151 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2152 sysdeps/sh/____longjmp_chk.S.
2153 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2154 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2155 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2156 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2158 * sysdeps/sh/abort-instr.h: New file.
2159 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2160 process in case exit returns.
2162 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2163 initialize the GOT register before use.
2165 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2166 calculation of ARGC > 4.
2168 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2169 meaningful names to some local labels.
2171 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2172 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2174 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2175 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2176 (__arch_compare_and_exchange_val_16_acq): Likewise.
2177 (__arch_compare_and_exchange_val_32_acq): Likewise.
2178 (atomic_exchange_and_add): Fix gUSA sequence.
2179 (atomic_add): Likewise.
2180 (atomic_add_negative): Likewise.
2181 (atomic_add_zero): Likewise.
2182 (atomic_bit_test_set): Likewise.
2184 2012-06-22 Andreas Schwab <schwab@redhat.com>
2187 * include/link.h (struct link_map): Add l_free_initfini.
2188 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2190 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2191 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2192 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2195 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2197 * configure.in: Use AC_LANG_SOURCE.
2198 * configure: Regenerate.
2200 2012-06-22 Roland McGrath <roland@hack.frob.com>
2202 * configure.in (libc_cv_localstatedir): New substituted variable.
2203 * configure: Regenerated.
2204 * config.make.in (localstatedir): New variable, substituted from
2205 libc_cv_localstatedir.
2206 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2207 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2208 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2209 * sysdeps/gnu/configure: Regenerated.
2211 2012-06-21 Jeff Law <law@redhat.com>
2214 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2215 free. Simplify list management for _LIBC case.
2217 2012-06-21 Joseph Myers <joseph@codesourcery.com>
2220 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2221 Clear sign bit of 64-bit integer value before comparing against
2224 * sysdeps/mach/configure: Regenerated.
2226 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2229 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2231 2012-06-21 Jeff Law <law@redhat.com>
2234 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2235 uint16_t for elements in the "seen" array to avoid char overflows.
2236 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2237 * elf/dl-open.c (dl_open_worker): Likewise.
2239 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2241 * scripts/list-sources.sh: Scan PORTS for translations.
2242 * po/libc.pot: Regenerated.
2244 2012-06-21 Andreas Jaeger <aj@suse.de>
2247 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2249 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2250 * bits/byteswap-16.h (__bswap_16): Likewise.
2251 * bits/byteswap.h (__bswap_constant_16): Likewise.
2253 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2256 * sysdeps/i386/fpu_control.h: Removed.
2257 * sysdeps/x86_64/fpu_control.h: Moved to ...
2258 * sysdeps/x86/fpu_control.h: Here.
2260 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2261 (_FPU_SETCW): Likewise.
2263 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2266 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2267 * sysdeps/x86/fpu/bits/mathinline.h: This.
2268 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2272 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2273 functions if __x86_64__ is defined.
2275 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2277 * string/endian.h: Add !__ASSEMBLER__ condition for including
2278 conversion interfaces.
2280 2012-06-15 Joseph Myers <joseph@codesourcery.com>
2283 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2284 of ABS(x) in calculating zero to negative powers other than odd
2286 * math/libm-test.inc (pow_test): Add more tests.
2288 2012-06-15 Andreas Jaeger <aj@suse.de>
2290 * manual/contrib.texi (Contributors): Update entry of Liubov
2291 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2294 2012-06-15 Cyril Hrubis <metan@ucw.cz>
2296 * string/string.h: Add __wur to GNU version of strerror_r.
2298 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2301 * string/Makefile (tests): Add tst-strtok_r.
2302 * string/tst-strtok_r.c: New file.
2303 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2304 RAX_LP/RDX_LP on SAVE_PTR.
2306 2012-06-14 Roland McGrath <roland@hack.frob.com>
2308 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2310 2012-06-14 Joseph Myers <joseph@codesourcery.com>
2312 * libm_test.inc (csqrt_test): Allow more spurious underflow
2314 (j0_test): Likewise.
2315 (j1_test): Likewise.
2316 (y0_test): Likewise.
2317 (y1_test): Likewise.
2319 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2321 * po/Makefile (libc.pot): Use UTF-8 charset.
2323 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2326 Suppress sign-conversion warning from FD_SET.
2327 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2328 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2329 not unsigned long int.
2330 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2332 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2336 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2337 __extern_always_inline instead of __extern_inline.
2338 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2339 (__signbit): Likewise.
2340 (__signbitl): Support C++ namespace.
2341 (lrintf): New inline function.
2343 (llrintf): Likewise.
2355 (nearbyint): Likewise.
2356 (nearbyintf): Likewise.
2358 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2360 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2361 non-default versions.
2363 2012-06-11 Roland McGrath <roland@hack.frob.com>
2366 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2368 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2370 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2371 (FE_UPWARD, FE_DOWNWARD): Don't define.
2372 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2373 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2375 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2377 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2378 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2380 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2382 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2383 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2384 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2385 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2387 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2390 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2391 * sysdeps/i386/fpu/Implies: New file.
2392 * sysdeps/x86_64/fpu/Implies: Likewise.
2393 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2394 * sysdeps/x86/fpu/bits/fenv.h: This.
2396 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2399 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2402 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2403 character 0xffff that matches the last element of the
2406 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2408 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2411 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2413 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2414 values higher than 25.6283.
2416 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2418 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2419 subnormal exponent extraction and add some __builtin_expect.
2420 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2421 Fix for subnormal mantissa calculation.
2423 2012-06-04 Mike Frysinger <vapier@gentoo.org>
2425 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2426 cpu2 is -1 and errno is not ENOSYS.
2428 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2431 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2432 * sysdeps/x86/bits/string.h: This.
2433 * sysdeps/x86_64/bits/string.h: Removed.
2435 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2436 if not compiling for x86-64, but compiling for >= i486.
2438 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2439 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2441 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2442 New macro from Linux kernel 3.4.0.
2443 (FP_XSTATE_MAGIC2): Likewise.
2444 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2445 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2446 (struct _fpx_sw_bytes): New struct.
2447 (struct _xsave_hdr): Likewise.
2448 (struct _ymmh_state): Likewise.
2449 (struct _xstate): Likewise.
2451 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2452 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2453 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2454 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2455 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2456 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2458 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2459 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2460 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2461 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2462 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2463 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2465 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2468 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2469 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2470 (sysdep_headers): Include sys/platform/ppc.h.
2471 * sysdeps/powerpc/test-gettimebase.c: Test for
2472 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2473 * manual/Makefile (appendices): Include platform.texi.
2474 * manual/contrib.texi (Contributors): Update @node pointers.
2475 * manual/maint.texi (Maintenance): Likewise.
2476 (Platform): New node.
2477 * manual/platform.texi: New file. Document the new features.
2479 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2480 Jakub Jelinek <jakub@redhat.com>
2483 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2484 where __builtin_expect is unavailable.
2486 2012-06-03 David S. Miller <davem@davemloft.net>
2488 * stdlib/longlong.h: Updated from GCC.
2490 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2493 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2494 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2497 (GLIBC_2.16): Likewise.
2499 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2501 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2503 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2506 (default-abi): New variable.
2507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2508 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2510 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2512 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2514 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2517 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2518 definition. Document in comment.
2520 2012-06-01 David S. Miller <davem@davemloft.net>
2522 * stdlib/longlong.h: Updated from GCC.
2524 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2527 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2528 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2529 sys/debugreg.h sys/io.h here.
2530 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2531 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2533 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2534 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2535 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2536 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2537 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2538 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2540 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2541 Define only if __x86_64__ is defined.
2543 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2546 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2547 Use int64_t for variable i.
2548 * math/libm-test.inc (fmod_test): Add more tests.
2550 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2551 z computation is not scheduled after fetestexcept.
2552 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2553 Use math_force_eval instead of asm to ensure calculation scheduled
2554 before exception test.
2555 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2556 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2558 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2560 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2561 computation is not scheduled after fetestexcept.
2563 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2566 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2567 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2569 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2571 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2572 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2574 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2577 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2579 (__WCHAR_MIN): Support __WORDSIZE == 64.
2580 (__WCHAR_MAX): Likewise.
2582 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2583 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2586 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2587 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2590 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2591 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2593 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2594 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2596 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2597 Defined to 1 if __x86_64__ isn't defined.
2598 (_STAT_VER_LINUX_OLD): New.
2599 (st_atime): Remove duplicate.
2600 (st_mtime): Likewise.
2601 (st_ctime): Likewise.
2603 2012-05-31 David S. Miller <davem@davemloft.net>
2605 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2608 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2610 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2614 * elf/dl-reloc.c: Include <_itoa.h>.
2615 (_dl_reloc_bad_type): Remove use of INTUSE.
2616 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2617 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2618 * stdio-common/psiginfo.c (psiginfo): Likewise.
2619 * stdio-common/psignal.c (psignal): Likewise.
2620 * string/strsignal.c (strsignal): Likewise.
2621 * include/signal.h (_sys_siglist): Declare hidden proto.
2622 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2623 INTVARDEF with libc_hidden_data_def.
2624 * stdio-common/itoa-udigits.c: Likewise.
2625 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2626 (_itoa_lower_digits_internal): Remove declaration.
2627 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2628 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2629 (_sys_sigabbrev_internal): Remove aliases.
2630 (_sys_siglist): Define hidden alias.
2632 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2634 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2637 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2640 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2641 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2643 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2644 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2645 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2646 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2647 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2648 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2650 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2651 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2652 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2654 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2662 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2663 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2664 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2666 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2667 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2668 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2669 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2670 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2671 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2673 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2674 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2676 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2677 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2679 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2680 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2681 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2683 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2684 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2686 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2688 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2689 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2690 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2692 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2694 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2696 2012-05-31 Joseph Myers <joseph@codesourcery.com>
2698 * math/math.h (M_El): Use two more decimal places.
2699 (M_LOG2El): Likewise.
2700 (M_LOG10El): Likewise.
2702 (M_LN10l): Likewise.
2704 (M_PI_2l): Likewise.
2705 (M_PI_4l): Likewise.
2706 (M_1_PIl): Likewise.
2707 (M_2_PIl): Likewise.
2708 (M_2_SQRTPIl): Likewise.
2709 (M_SQRT2l): Likewise.
2710 (M_SQRT1_2l): Likewise.
2712 2012-05-31 David S. Miller <davem@davemloft.net>
2714 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2715 values between float registers.
2716 * sysdeps/sparc/sparc64/memset.S: Likewise.
2717 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2719 2012-05-31 Mike Frysinger <vapier@gentoo.org>
2721 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2722 -D_FORTIFY_SOURCE=1.
2723 (CPPFLAGS-tst-longjmp_chk.c): Define.
2724 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2725 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2726 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2727 CFLAGS-tst-wchar-h.c.
2729 2012-05-31 Marek Polacek <polacek@redhat.com>
2732 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2733 __endmntent_internal): Remove declaration.
2734 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2735 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2736 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2738 2012-05-30 David S. Miller <davem@davemloft.net>
2740 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2741 (___Q_simulate_exceptions): Use real FP ops rather than writing
2743 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2746 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2749 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2750 * sysdeps/x86/bits/xtitypes.h: This.
2752 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2753 * sysdeps/x86/bits/wordsize.h: This.
2755 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2756 * sysdeps/x86/bits/huge_vall.h: This.
2758 * sysdeps/i386/bits/select.h: Removed.
2759 * sysdeps/x86_64/bits/select.h: Renamed to ...
2760 * sysdeps/x86/bits/select.h: This.
2762 * sysdeps/i386/bits/setjmp.h: Removed.
2763 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2764 * sysdeps/x86/bits/setjmp.h: This.
2766 * sysdeps/i386/bits/mathdef.h: Removed.
2767 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2768 * sysdeps/x86/bits/mathdef.h: This.
2770 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2773 * include/sys/socket.h (__connect_internal)
2774 (__libc_sa_len_internal): Remove declaration.
2775 (__connect, __libc_sa_len): Declare hidden_proto.
2776 (SA_LEN): Remove use of INTUSE.
2777 * socket/connect.c: Add libc_hidden_def.
2778 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2779 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2780 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2782 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2783 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2784 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2785 of adding _internal alias.
2787 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2790 * sysdeps/i386/bits/link.h: Removed.
2791 * sysdeps/i386/bits/linkmap.h: Likewise.
2792 * sysdeps/x86_64/bits/link.h: Renamed to ...
2793 * sysdeps/x86/bits/link.h: This.
2794 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2795 * sysdeps/x86/bits/linkmap.h: This.
2797 * sysdeps/i386/bits/endian.h: Removed.
2798 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2799 * sysdeps/x86/bits/endian.h: This.
2801 * sysdeps/i386/bits/byteswap.h: Removed.
2802 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2803 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2804 * sysdeps/x86/bits/byteswap.h: This.
2805 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2806 * sysdeps/x86/bits/byteswap-16.h: This.
2807 * sysdeps/i386/Implies: Add x86.
2808 * sysdeps/x86_64/Implies: Likewise.
2810 2012-05-30 David S. Miller <davem@davemloft.net>
2812 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2813 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2814 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2815 (FP_TRAPPING_EXCEPTIONS): Define.
2816 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2817 (FP_TRAPPING_EXCEPTIONS): Define.
2818 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2819 subnormals only when inexact has been signalled or underflow
2820 exceptions are enabled.
2821 (_FP_PACK_CANONICAL): Likewise.
2823 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2826 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2827 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2829 2012-05-30 Richard Henderson <rth@twiddle.net>
2831 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2832 with #ifndef NOT_IN_libc.
2834 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2835 marked to avoid plt entry.
2837 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2840 * Makeconfig (default-abi): New macro.
2841 (abi-includes): Likewise.
2842 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2843 $(abi-$(default-abi)-lib-soname) for soname if defined.
2844 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2846 * Makefile (installed-stubs): Likewise.
2847 * include/stubs-biarch.h: Removed.
2848 * scripts/lib-names.awk: Only handle one library at a time.
2849 * scripts/soversions.awk: Remove WORDSIZE support.
2850 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2852 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2854 (syscall-list-default-condition): Likewise.
2855 (syscall-list-default-condition): Likewise.
2856 (syscall-list-includes): Likewise.
2857 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2858 syscall-list-* with abi-*. Handle undefined abi-variants.
2859 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2860 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2861 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2862 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2863 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2864 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2866 (syscall-list-32-options): Likewise.
2867 (syscall-list-32-condition): Likewise.
2868 (syscall-list-64-options): Likewise.
2869 (syscall-list-64-condition): Likewise.
2870 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2872 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2875 (abi-64-ld-soname): New macro.
2876 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2877 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2880 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2881 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2883 2012-05-30 Joseph Myers <joseph@codesourcery.com>
2885 * sysdeps/unix/sysv/linux/kernel-features.h
2886 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2887 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2888 include <kernel-features.h>.
2889 [!__NR_ftruncate64]: Remove conditional code.
2890 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2891 [__NR_ftruncate64]: Make code unconditional.
2892 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2893 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2894 include <kernel-features.h>.
2895 [!__NR_ftruncate64]: Remove conditional code.
2896 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2897 [__NR_ftruncate64]: Make code unconditional.
2898 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2900 include <kernel-features.h>.
2901 [!__NR_ftruncate64]: Remove conditional code.
2902 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2903 [__NR_ftruncate64]: Make code unconditional.
2904 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2906 include <kernel-features.h>.
2907 [!__NR_ftruncate64]: Remove conditional code.
2908 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2909 [__NR_ftruncate64]: Make code unconditional.
2910 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2912 * configure.in (libc_cv_fpie): Weaken to a compile test using
2914 * configure: Regenerated.
2916 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2931 2012-05-27 David S. Miller <davem@davemloft.net>
2933 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2935 (__Q_simulate_exceptions): Return void. Change to simulate
2936 exceptions by writing into the %fsr.
2937 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2938 (__Qp_handle_exceptions): Likewise.
2940 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2941 __Qp_handle_exceptions.
2942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2943 __Qp_handle_exceptions.
2944 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2945 as unused and give dummy FP_RND_NEAREST initializer.
2946 (FP_INHIBIT_RESULTS): Define.
2947 (___Q_simulate_exceptions): Update declaration.
2948 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2950 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2951 as unused and give dummy FP_RND_NEAREST initializer.
2952 (__Qp_handle_exceptions): Update declaration.
2953 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2956 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2958 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2959 the temporary FPU control word.
2960 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2961 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2962 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2963 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2964 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2965 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2966 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2967 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2968 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2969 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2970 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2972 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2974 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2977 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2979 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2980 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2981 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2982 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2984 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2985 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2988 2012-05-27 Ulrich Drepper <drepper@gmail.com>
2990 * po/h.po: Update from translation team.
2992 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2994 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2996 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2997 handling of denormals.
2998 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2999 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3000 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3001 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3002 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3003 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3004 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3007 2012-05-26 Marek Polacek <polacek@redhat.com>
3010 * math/libm-test.inc (fma_test): Don't always expect underflow
3013 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3016 * elf/tst-execstack.c: Include stackinfo.h.
3017 (do_test): Adjust test case to ensure that pthread_getattr_np
3018 behaviour remains the same after marking stack executable.
3020 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3022 * sysdeps/unix/sysv/linux/kernel-features.h
3023 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3024 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3026 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3027 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3028 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3030 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3031 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3033 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3035 * configure.in: Define the default includes to being none.
3036 * configure: Regenerated.
3038 2012-05-25 Roland McGrath <roland@hack.frob.com>
3040 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3041 * sysdeps/x86_64/setjmp.S: Likewise.
3042 * sysdeps/i386/bsd-setjmp.S: Likewise.
3043 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3044 * sysdeps/i386/setjmp.S: Likewise.
3045 * sysdeps/i386/__longjmp.S: Likewise.
3046 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3047 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3049 * include/stap-probe.h: New file.
3050 * configure.in: Handle --enable-systemtap.
3051 * configure: Regenerated.
3052 * config.h.in (USE_STAP_PROBE): New #undef.
3053 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3054 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3055 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3057 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3060 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3061 to 2.4.0 where earlier.
3062 * sysdeps/unix/sysv/linux/configure: Regenerated.
3063 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3064 <kernel-features.h>.
3065 [__ASSUME_32BITUIDS]: Make code unconditional.
3066 [!__ASSUME_32BITUIDS]: Remove conditional code.
3067 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3068 <kernel-features.h>.
3069 [__ASSUME_32BITUIDS]: Make code unconditional.
3070 [!__ASSUME_32BITUIDS]: Remove conditional code.
3071 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3072 [__ASSUME_32BITUIDS]: Make code unconditional.
3073 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3074 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3075 <kernel-features.h>.
3076 [__ASSUME_32BITUIDS]: Make code unconditional.
3077 [!__ASSUME_32BITUIDS]: Remove conditional code.
3078 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3079 <kernel-features.h>.
3080 [__ASSUME_32BITUIDS]: Make code unconditional.
3081 [!__ASSUME_32BITUIDS]: Remove conditional code.
3082 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3083 <kernel-features.h>.
3084 [__ASSUME_32BITUIDS]: Make code unconditional.
3085 [!__ASSUME_32BITUIDS]: Remove conditional code.
3086 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3087 <kernel-features.h>.
3088 [__ASSUME_32BITUIDS]: Make code unconditional.
3089 [!__ASSUME_32BITUIDS]: Remove conditional code.
3090 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3091 <kernel-features.h>.
3092 [__ASSUME_32BITUIDS]: Make code unconditional.
3093 [!__ASSUME_32BITUIDS]: Remove conditional code.
3094 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3095 <kernel-features.h>.
3096 [__ASSUME_32BITUIDS]: Make code unconditional.
3097 [!__ASSUME_32BITUIDS]: Remove conditional code.
3098 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3099 <kernel-features.h>.
3100 [__ASSUME_32BITUIDS]: Make code unconditional.
3101 [!__ASSUME_32BITUIDS]: Remove conditional code.
3102 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3103 <kernel-features.h>.
3104 [__ASSUME_32BITUIDS]: Make code unconditional.
3105 [!__ASSUME_32BITUIDS]: Remove conditional code.
3106 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3107 <kernel-features.h>.
3108 [__ASSUME_32BITUIDS]: Make code unconditional.
3109 [!__ASSUME_32BITUIDS]: Remove conditional code.
3110 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3111 <kernel-features.h>.
3112 [__ASSUME_32BITUIDS]: Make code unconditional.
3113 [!__ASSUME_32BITUIDS]: Remove conditional code.
3114 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3115 <kernel-features.h>.
3116 [__NR_setresgid] (__setresgid): Do not declare.
3117 [__ASSUME_32BITUIDS]: Make code unconditional.
3118 [!__ASSUME_32BITUIDS]: Remove conditional code.
3119 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3120 <kernel-features.h>.
3121 [__NR_setresuid] (__setresuid): Do not declare.
3122 [__ASSUME_32BITUIDS]: Make code unconditional.
3123 [!__ASSUME_32BITUIDS]: Remove conditional code.
3124 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3125 <kernel-features.h>.
3126 [__ASSUME_32BITUIDS]: Make code unconditional.
3127 [!__ASSUME_32BITUIDS]: Remove conditional code.
3128 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3129 <kernel-features.h>.
3130 [__ASSUME_32BITUIDS]: Make code unconditional.
3131 [!__ASSUME_32BITUIDS]: Remove conditional code.
3132 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3133 <kernel-features.h>.
3134 [__ASSUME_32BITUIDS]: Make code unconditional.
3135 [!__ASSUME_32BITUIDS]: Remove conditional code.
3136 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3137 <kernel-features.h>.
3138 [__ASSUME_32BITUIDS]: Make code unconditional.
3139 [!__ASSUME_32BITUIDS]: Remove conditional code.
3140 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3141 <kernel-features.h>.
3142 [__ASSUME_32BITUIDS]: Make code unconditional.
3143 [!__ASSUME_32BITUIDS]: Remove conditional code.
3144 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3145 <kernel-features.h>.
3146 [__ASSUME_32BITUIDS]: Make code unconditional.
3147 [!__ASSUME_32BITUIDS]: Remove conditional code.
3148 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3149 <kernel-features.h>.
3150 [__ASSUME_32BITUIDS]: Make code unconditional.
3151 [!__ASSUME_32BITUIDS]: Remove conditional code.
3152 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3153 <kernel-features.h>.
3154 [__ASSUME_32BITUIDS]: Make code unconditional.
3155 [!__ASSUME_32BITUIDS]: Remove conditional code.
3156 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3157 <kernel-features.h>.
3158 [__ASSUME_32BITUIDS]: Make code unconditional.
3159 [!__ASSUME_32BITUIDS]: Remove conditional code.
3160 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3161 <kernel-features.h>.
3162 [__ASSUME_32BITUIDS]: Make code unconditional.
3163 [!__ASSUME_32BITUIDS]: Remove conditional code.
3164 * sysdeps/unix/sysv/linux/kernel-features.h
3165 (__ASSUME_SETRESUID_SYSCALL): Remove.
3166 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3167 (__ASSUME_32BITUIDS): Likewise.
3168 (__ASSUME_LDT_WORKS): Likewise.
3169 (__ASSUME_O_DIRECTORY): Likewise.
3170 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3171 architecture but not kernel version.
3172 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3173 (__ASSUME_MMAP2_SYSCALL): Likewise.
3174 (__ASSUME_STAT64_SYSCALL): Likewise.
3175 (__ASSUME_IPC64): Likewise.
3176 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3177 <kernel-features.h>.
3178 [__ASSUME_32BITUIDS]: Make code unconditional.
3179 [!__ASSUME_32BITUIDS]: Remove conditional code.
3180 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3181 <kernel-features.h>.
3182 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3183 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3184 132096]: Remove conditional code.
3185 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3186 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3187 <kernel-features.h>.
3188 [__ASSUME_32BITUIDS]: Make code unconditional.
3189 [!__ASSUME_32BITUIDS]: Remove conditional code.
3190 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3191 <kernel-features.h>.
3192 [__ASSUME_32BITUIDS]: Make code unconditional.
3193 [!__ASSUME_32BITUIDS]: Remove conditional code.
3194 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3195 <kernel-features.h>.
3196 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3198 (__setresgid): Do not declare.
3199 [__ASSUME_32BITUIDS]: Make code unconditional.
3200 [!__ASSUME_32BITUIDS]: Remove conditional code.
3201 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3202 <kernel-features.h>.
3203 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3205 (__setresuid): Do not declare.
3206 [__ASSUME_32BITUIDS]: Make code unconditional.
3207 [!__ASSUME_32BITUIDS]: Remove conditional code.
3208 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3209 <kernel-features.h>.
3210 [__ASSUME_32BITUIDS]: Make code unconditional.
3211 [!__ASSUME_32BITUIDS]: Remove conditional code.
3212 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3213 <kernel-features.h>.
3214 [__ASSUME_32BITUIDS]: Make code unconditional.
3215 [!__ASSUME_32BITUIDS]: Remove conditional code.
3217 2012-05-25 Richard Henderson <rth@twiddle.net>
3219 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3220 dl_hwcap to ifunc resolver.
3221 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3223 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3224 dl_hwcap to ifunc resolver.
3225 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3227 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3230 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3231 for |x| <= 2**-26, not 2**-57.
3232 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3235 2012-05-24 Jeff Law <law@redhat.com>
3237 * stdio-common/Makefile (tests): Add bug25.
3238 * stdio-common/bug25.c: New test.
3240 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3243 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3244 multiple of MALLOC_ALIGNMENT in size.
3245 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3247 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3249 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3251 (FILENAME_MAX): Use macro-int-constant.
3252 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3253 (_IOFBF): Use macro-int-constant.
3256 (SEEK_CUR): Likewise.
3257 (SEEK_END): Likewise.
3258 (SEEK_SET): Likewise.
3259 (TMP_MAX): Likewise.
3260 (EOF): Use macro-int-constant. Require < 0.
3261 (NULL): Use macro-constant. Require == 0.
3262 (stdin): Require type to be FILE *.
3265 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3267 (EXIT_SUCCESS): Likewise.
3268 (NULL): Use macro-constant. Require == 0.
3269 (RAND_MAX): Use macro-int-constant.
3270 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3271 [C99-based standards] (strtof): Require function.
3272 [C99-based standards] (strtold): Likewise.
3273 [C99-based standards] (strtoll): Likewise.
3274 [C99-based standards] (strtoull): Likewise.
3275 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3276 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3277 [ISO || ISO99 || ISO11] (math.h): Likewise.
3278 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3279 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3280 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3282 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3285 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3286 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3287 * intl/dgettext.c (DCGETTEXT): Likewise.
3288 * intl/gettext.c (DCGETTEXT): Likewise.
3289 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3290 * posix/regex_internal.h (gettext): Likewise.
3291 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3293 * include/argz.h (__argz_count_internal)
3294 (__argz_stringify_internal): Remove declaration.
3295 (__argz_count, __argz_stringify): Declare hidden proto.
3296 * intl/dcgettext.c: Remove use of INTDEF.
3297 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3298 * string/argz-stringify.c: Likewise.
3299 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3300 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3301 Declare hidden proto.
3302 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3303 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3304 Declare hidden proto.
3305 * include/stdio.h (__asprintf_internal): Don't declare.
3306 (__asprintf): Don't define as macro. Declare hidden proto.
3307 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3308 (__fsetlocking): Declare hidden proto.
3309 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3310 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3312 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3313 (_IO_setlinebuf): Remove use of INTUSE.
3314 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3315 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3316 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3318 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3319 (_IO_do_flush): Remove use of INTUSE.
3320 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3321 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3322 (_IO_adjust_column, _IO_least_wmarker)
3323 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3324 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3325 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3326 (_IO_default_doallocate, _IO_wdefault_doallocate)
3327 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3328 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3329 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3330 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3331 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3332 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3333 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3334 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3335 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3336 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3337 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3338 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3339 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3341 (_IO_flush_all_internal, _IO_adjust_column_internal)
3342 (_IO_default_uflow_internal, _IO_default_finish_internal)
3343 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3344 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3345 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3346 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3347 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3348 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3349 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3350 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3351 (_IO_file_close_internal, _IO_file_close_it_internal)
3352 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3353 (_IO_file_init_internal, _IO_file_attach_internal)
3354 (_IO_file_fopen_internal, _IO_file_read_internal)
3355 (_IO_file_sync_internal, _IO_file_seek_internal)
3356 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3357 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3358 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3359 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3360 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3361 (_IO_list_all_internal, _IO_link_in_internal)
3362 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3363 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3364 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3365 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3366 (_IO_do_write_internal, _IO_padn_internal)
3367 (_IO_getline_info_internal, _IO_getline_internal)
3368 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3369 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3370 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3371 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3372 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3373 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3374 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3375 with libc_hidden_ver, remove use of INTUSE.
3376 * libio/genops.c: Likewise.
3377 * libio/freopen.c: Likewise.
3378 * libio/freopen64.c: Likewise.
3379 * libio/iofclose.c: Likewise.
3380 * libio/iofdopen.c: Likewise.
3381 * libio/iofflush.c: Likewise.
3382 * libio/iofflush_u.c: Likewise.
3383 * libio/iofgets.c: Likewise.
3384 * libio/iofgets_u.c: Likewise.
3385 * libio/iofopen.c: Likewise.
3386 * libio/iofopncook.c: Likewise.
3387 * libio/iofread.c: Likewise.
3388 * libio/iofread_u.c: Likewise.
3389 * libio/ioftell.c: Likewise.
3390 * libio/iofwrite.c: Likewise.
3391 * libio/iogetline.c: Likewise.
3392 * libio/iogets.c: Likewise.
3393 * libio/iogetwline.c: Likewise.
3394 * libio/iopadn.c: Likewise.
3395 * libio/iopopen.c: Likewise.
3396 * libio/ioseekoff.c: Likewise.
3397 * libio/ioseekpos.c: Likewise.
3398 * libio/iosetbuffer.c: Likewise.
3399 * libio/iosetvbuf.c: Likewise.
3400 * libio/ioungetc.c: Likewise.
3401 * libio/ioungetwc.c: Likewise.
3402 * libio/iovdprintf.c: Likewise.
3403 * libio/iovsprintf.c: Likewise.
3404 * libio/iovsscanf.c: Likewise.
3405 * libio/memstream.c: Likewise.
3406 * libio/obprintf.c: Likewise.
3407 * libio/oldfileops.c: Likewise.
3408 * libio/oldiofclose.c: Likewise.
3409 * libio/oldiofdopen.c: Likewise.
3410 * libio/oldiofopen.c: Likewise.
3411 * libio/oldiopopen.c: Likewise.
3412 * libio/oldstdfiles.c: Likewise.
3413 * libio/putc.c: Likewise.
3414 * libio/setbuf.c: Likewise.
3415 * libio/setlinebuf.c: Likewise.
3416 * libio/stdfiles.c: Likewise.
3417 * libio/strops.c: Likewise.
3418 * libio/vasprintf.c: Likewise.
3419 * libio/vscanf.c: Likewise.
3420 * libio/vsnprintf.c: Likewise.
3421 * libio/vswprintf.c: Likewise.
3422 * libio/wfiledoalloc.c: Likewise.
3423 * libio/wfileops.c: Likewise.
3424 * libio/wgenops.c: Likewise.
3425 * libio/wmemstream.c: Likewise.
3426 * libio/wstrops.c: Likewise.
3427 * libio/__fpurge.c: Likewise.
3428 * libio/__fsetlocking.c: Likewise.
3429 * assert/assert.c: Likewise.
3430 * debug/fgets_chk.c: Likewise.
3431 * debug/fgets_u_chk.c: Likewise.
3432 * debug/fread_chk.c: Likewise.
3433 * debug/fread_u_chk.c: Likewise.
3434 * debug/gets_chk.c: Likewise.
3435 * debug/obprintf_chk.c: Likewise.
3436 * debug/vasprintf_chk.c: Likewise.
3437 * debug/vdprintf_chk.c: Likewise.
3438 * debug/vsnprintf_chk.c: Likewise.
3439 * debug/vsprintf_chk.c: Likewise.
3440 * malloc/mtrace.c: Likewise.
3441 * misc/error.c: Likewise.
3442 * misc/syslog.c: Likewise.
3443 * stdio-common/asprintf.c: Likewise.
3444 * stdio-common/fxprintf.c: Likewise.
3445 * stdio-common/getw.c: Likewise.
3446 * stdio-common/isoc99_fscanf.c: Likewise.
3447 * stdio-common/isoc99_scanf.c: Likewise.
3448 * stdio-common/isoc99_vfscanf.c: Likewise.
3449 * stdio-common/isoc99_vscanf.c: Likewise.
3450 * stdio-common/isoc99_vsscanf.c: Likewise.
3451 * stdio-common/printf-prs.c: Likewise.
3452 * stdio-common/printf_fp.c: Likewise.
3453 * stdio-common/printf_fphex.c: Likewise.
3454 * stdio-common/printf_size.c: Likewise.
3455 * stdio-common/putw.c: Likewise.
3456 * stdio-common/scanf.c: Likewise.
3457 * stdio-common/sprintf.c: Likewise.
3458 * stdio-common/tmpfile.c: Likewise.
3459 * stdio-common/vfprintf.c: Likewise.
3460 * stdio-common/vfscanf.c: Likewise.
3461 * stdlib/strfmon_l.c: Likewise.
3462 * sunrpc/openchild.c: Likewise.
3463 * sunrpc/xdr_stdio.c: Likewise.
3464 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3465 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3467 2012-05-24 Roland McGrath <roland@hack.frob.com>
3469 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3471 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3472 in the third column, to generate for the shared library an IFUNC
3473 that uses _dl_vdso_vsym.
3474 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3475 * Makeconfig (object-suffixes-noshared): New variable.
3477 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3478 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3479 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3480 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3483 * include/sys/time.h (__gettimeofday): Remove macro.
3484 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3485 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3487 (__gettimeofday): Add libc_hidden_def.
3488 (gettimeofday): Add libc_hidden_weak.
3489 * sysdeps/mach/gettimeofday.c: Likewise.
3490 * sysdeps/posix/gettimeofday.c: Likewise.
3491 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3492 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3493 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3494 (__gettimeofday_internal): Remove strong_alias.
3495 (__gettimeofday): Add libc_hidden_def.
3496 (gettimeofday): Add libc_hidden_weak.
3497 * sysdeps/unix/syscalls.list (gettimeofday):
3498 Remove __gettimeofday_internal alias.
3500 2012-05-24 Daniel Jacobowitz <drow@false.org>
3501 H.J. Lu <hongjiu.lu@intel.com>
3504 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3505 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3506 (largebin_index_32_big): New.
3507 (largebin_index): Use it for 16-byte alignment.
3508 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3509 correction with front_misalign.
3511 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3539 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3540 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3542 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3546 * math/libm-test.inc (exp_test): Add test from bug 14036.
3547 (pow_test): Add test from bug 10846.
3549 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3551 (special_function): Do not include flags in test name.
3552 (parse_args): Likewise.
3553 * sysdeps/i386/fpu/libm-test-ulps: Update.
3554 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3555 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3556 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3559 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3561 * math/libm-test.inc ("Philosophy"): Update comment about
3563 (UNDERFLOW_EXCEPTION): New macro.
3564 (UNDERFLOW_EXCEPTION_OK): Likewise.
3565 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3566 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3567 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3568 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3569 (INVALID_EXCEPTION_OK): Update value.
3570 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3571 (OVERFLOW_EXCEPTION_OK): Likewise.
3572 (IGNORE_ZERO_INF_SIGN): Likewise.
3573 (test_exceptions): Handle underflow exceptions.
3574 (acos_test): Update for underflow exception expectations.
3575 (cexp_test): Likewise.
3576 (clog_test): Likewise.
3577 (clog10_test): Likewise.
3578 (csqrt_test): Likewise.
3579 (ctan_test): Likewise.
3580 (ctanh_test): Likewise.
3581 (exp_test): Likewise.
3582 (exp10_test): Likewise.
3583 (exp2_test): Likewise.
3584 (expm1_test): Likewise.
3585 (fma_test): Likewise.
3586 (j0_test): Likewise.
3587 (jn_test): Likewise.
3588 (nexttoward_test): Likewise.
3589 (pow_test): Likewise.
3590 (scalbn_test): Likewise.
3591 (scalbln_test): Likewise.
3592 (tan_test): Likewise.
3593 (y1_test): Likewise.
3594 * sysdeps/i386/fpu/libm-test-ulps: Update.
3595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3597 2012-05-23 David S. Miller <davem@davemloft.net>
3599 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3600 (__libc_sigaction): Remove unused local variables.
3602 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3604 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3606 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3608 mktime: avoid signed integer overflow
3609 * time/mktime.c (__mktime_internal): Do not mishandle the case
3610 where diff == INT_MIN.
3612 mktime: simplify computation of average
3613 * time/mktime.c (ranged_convert): Use new time_t_avg function
3614 instead of rolling our own (probably-slower) code.
3616 mktime: do not assume signed right shift propagates sign bit
3617 * time/mktime.c (isdst_differ): New static function.
3618 (__mktime_internal): No need to normalize tm_isdst now.
3619 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3622 mktime: merge another wrapv change from gnulib
3623 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3624 from some compilers.
3626 mktime: remove incorrect attempt at unusual arithmetics
3627 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3628 The code didn't really work on such machines anyway.
3629 (TYPE_MINIMUM): Assume two's complement.
3630 (twos_complement_arithmetic): Verify that long_int and time_t
3631 are two's complement (or unsigned, in the latter case).
3633 mktime: check signed shifts on long_int and time_t, too
3634 * time/mktime.c (SHR): Check that shifts work as desired
3635 on the types long_int and time_t too, as SHR is used on
3638 mktime: do not assume 'long' is wide enough
3639 * time/mktime.c (verify): Move decl up.
3640 (long_int): New type.
3641 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3642 to remove assumption in the code that 'long' is wide enough to
3643 store year values. This assumption is not true on x32 and on
3644 some non-glibc platforms.
3646 mktime: merge wrapv change from gnulib
3647 * time/mktime.c (WRAPV): New macro.
3648 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3649 (guess_time_tm, __mktime_internal): Do not assume that signed
3650 integer overflow wraps around; modern compilers generate code
3651 where this assumption is no longer valid.
3653 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3655 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3656 Replace "jmp L(pseudo_end)" with "ret".
3657 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3660 2012-05-23 Andreas Jaeger <aj@suse.de>
3662 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3663 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3665 2012-05-23 Andreas Jaeger <aj@suse.de>
3666 Maximilian Attems <max@stro.at>
3668 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3671 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3673 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3674 code so that pseudo_end is just ret and the stack pointer is
3675 correct also for static library in error case.
3677 2012-05-23 Joseph Myers <joseph@codesourcery.com>
3679 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3680 move to syscalls.list.
3681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3686 * manual/install.texi (Running make install): Do not mention Linux
3687 kernel version for which pt_chown is not needed.
3688 (Linux): Do not mention problems with nscd with 2.0 kernels.
3689 * INSTALL: Regenerated.
3691 2012-05-23 Andreas Jaeger <aj@suse.de>
3693 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3694 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3696 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3697 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3698 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3699 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3700 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3701 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3702 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3703 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3704 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3705 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3706 * sysdeps/unix/sysv/linux/bits/in.h
3707 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3709 2012-05-22 Roland McGrath <roland@hack.frob.com>
3711 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3712 (PREPARE_VERSION): Just use assert instead, it will be elided
3713 under [NDEBUG] anyway.
3715 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3717 * sysdeps/unix/sysv/linux/Makefile: Include
3718 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3719 (sysdep_routines): Remove sysctl.
3720 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3721 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3722 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3723 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3724 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3726 2012-05-22 Andreas Jaeger <aj@suse.de>
3728 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3729 that pseudo_end is just ret and the stack pointer is correct also
3730 for static library in error case.
3732 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3735 * nss/nsswitch.c (defconfig_entries): New variable.
3736 (__nss_database_lookup): Don't leak defconfig entries.
3737 (nss_parse_service_list): Don't leak on error paths.
3738 (free_database_entries): New function.
3739 (free_defconfig): New function.
3740 (free_mem): Move common code to free_database_entries.
3742 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3744 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3746 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3748 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3749 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3750 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3752 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3753 (INTERNAL_SYSCALL_TYPES): Likewise.
3754 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3755 (LOAD_REGS_TYPES_[1-6]): Likewise.
3756 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3757 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3759 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3761 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3762 copysignl for GLIBC_2_0.
3763 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3764 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3765 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3766 logbl for GLIBC_2_0.
3767 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3768 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3770 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3772 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3773 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3775 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3778 * time/mktime.c: Update copyright years.
3780 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3782 mktime: merge comment-quoting-style change from gnulib
3783 * time/mktime.c: Quote 'like this' in comments.
3784 The GNU coding standards suggest that we no longer quote `like this',
3785 as "`" and "'" are typically rendered asymmetrically nowadays.
3786 The typical gnulib style is to quote 'like this' when quoting
3787 code, and "like this" when quoting English.
3789 * time/mktime.c (compile-command): Add "-I.".
3791 mktime: merge mktime-internal.h change from gnulib
3792 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3794 mktime: merge time_r change from gnulib
3795 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3797 mktime: merge DEBUG change from gnulib
3798 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3799 case system <time.h> has a #define.
3801 mktime: merge <sys/types.h> change from gnulib
3802 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3803 since <time.t> is now guaranteed to define time_t.
3805 mktime: merge HAVE_CONFIG_H change from gnulib
3806 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3808 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3810 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3813 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3815 (struct rusage): Use anonymous union to pad each field to
3818 2012-05-21 David S. Miller <davem@davemloft.net>
3820 * Makefules (o-iterator): Remove .s cases.
3821 (compile-command.s): Delete.
3822 (COMPILE.s): Delete.
3823 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3825 2012-05-21 Joseph Myers <joseph@codesourcery.com>
3827 * configure.in (libc_cv_predef_stack_protector): Only consider
3828 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3829 * configure: Regenerated.
3831 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3833 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3834 New macro. Use R*LP on int and pointer.
3835 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
3836 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3837 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
3838 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3840 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3841 [__WORDSIZE_TIME64_COMPAT32] instead of
3842 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3843 (struct utmp): Likewise.
3844 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3845 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3847 (__WORDSIZE_TIME64_COMPAT32): This.
3848 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3849 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3850 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3851 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3852 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3853 (__WORDSIZE_TIME64_COMPAT32): New macro.
3855 2012-05-21 Andreas Jaeger <aj@suse.de>
3857 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3858 only if [SHARED]. Add prototype for __wcschr_ia32.
3860 2012-05-21 Roland McGrath <roland@hack.frob.com>
3862 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3863 of %rbp unmolested in the jmp_buf while mangling the low bits.
3864 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3865 unmolested high bits of %rbp while demangling the low bits.
3866 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3868 2012-05-21 Andreas Jaeger <aj@suse.de>
3870 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3871 * sunrpc/svc_simple.c: Use it for registerrpc.
3872 * sunrpc/xcrypt.c: Use it for passwd2des.
3874 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3876 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3878 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3879 Don't define if [__SYSCALL_WORDSIZE != 32].
3880 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3883 2012-05-21 Bruno Haible <bruno@clisp.org>
3884 Andreas Jaeger <aj@suse.de>
3886 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3887 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3888 inptr and inend for must_buffer_ch.
3889 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3890 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3891 * stdio-common/Makefile (tests): Remove bug15.
3892 (bug15-ENV): Remove macro.
3893 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3896 2012-05-19 Andreas Jaeger <aj@suse.de>
3897 Roland McGrath <roland@hack.frob.com>
3899 * manual/contrib.texi: Completely rewritten. It contains now an
3900 alphabetical list of contributors and their contributions.
3902 2012-05-21 Richard Henderson <rth@twiddle.net>
3904 * misc/getauxval.c (__getauxval): Use unsigned long int.
3905 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3906 (getauxval): Use unsigned long int.
3908 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3910 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3912 2012-05-21 Roland McGrath <roland@hack.frob.com>
3914 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3915 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3916 __alignof__ (long double).
3918 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3922 2012-05-20 Richard Henderson <rth@twiddle.net>
3924 * misc/getauxval.c: New file.
3925 * misc/sys/auxv.h: New file.
3926 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3927 (routines): Add getauxval.
3928 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3929 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3930 * elf/dl-sysdep.c (_dl_auxv): Remove.
3931 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3932 * elf/dl-support.c (_dl_auxv): New variable.
3933 (_dl_aux_init): Initialize it.
3934 * manual/startup.texi (Auxiliary Vector): New node.
3935 * sysdeps/generic/bits/hwcap.h: New file.
3936 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3937 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3938 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3939 * sysdeps/sparc/sysdep.h: ... here. Include it.
3940 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3941 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3947 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3953 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3957 2012-05-19 David S. Miller <davem@davemloft.net>
3959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3961 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3964 * math/s_ccosh.c: Include <float.h>
3965 (__ccosh): Avoid internal overflow calculating sinh and cosh
3966 values before multiplying by sin and cos values.
3967 * math/s_ccoshf.c: Likewise.
3968 * math/s_ccoshl.c: Likewise.
3969 * math/s_csin.c: Likewise.
3970 * math/s_csinf.c: Likewise.
3971 * math/s_csinl.c: Likewise.
3972 * math/s_csinh.c: Likewise.
3973 * math/s_csinhf.c: Likewise.
3974 * math/s_csinhl.c: Likewise.
3975 * math/libm-test.inc (ccos_test): Add more tests.
3976 (ccosh_test): Likewise.
3977 (csin_test): Likewise.
3978 (csinh_test): Likewise.
3979 * sysdeps/i386/fpu/libm-test-ulps: Update.
3980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3982 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3984 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3985 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3987 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3989 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3991 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3992 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3993 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3994 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3995 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3996 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3997 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3998 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3999 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4000 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4001 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4002 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4003 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4004 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4005 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4006 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4007 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4008 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4009 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4010 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4011 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4012 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4013 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4014 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4015 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4016 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4017 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4018 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4019 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4020 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4021 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4023 2012-05-18 Andreas Jaeger <aj@suse.de>
4025 * csu/.gitignore: Delete.
4027 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4029 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4030 (timex): Use __syscall_slong_t.
4032 2012-05-18 Andreas Jaeger <aj@suse.de>
4033 Carlos O'Donell <carlos_odonell@mentor.com>
4035 * manual/install.texi (Configuring and compiling): Update
4036 description about files modified in the source directory.
4037 * INSTALL: Regenerated.
4039 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4041 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4042 value. Use "or" to set return value to -1.
4043 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4044 negate return value.
4046 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4048 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4049 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4050 failure if the compiler has Graphite support disabled.
4051 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4053 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4054 CFLAGS-memmove.c): Likewise.
4055 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4058 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4060 * sysdeps/x86_64/x32/_itoa.h: New file.
4062 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4063 getdents system call only if kernel and user dirents have the
4064 same d_ino and d_off.
4066 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4067 LLONG_MAX != LONG_MAX.
4068 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4069 (_fitoa_word): Likewise.
4071 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4073 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4074 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4075 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4077 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4078 include <bits/wordsize.h>. Check __x86_64__ instead of
4080 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4081 if __x86_64__ is defined. Use anonymous union on fpstate.
4083 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4086 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4088 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4089 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4090 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4091 Refer to _rtld_local_ro instead of _rtld_global_ro.
4092 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4094 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4096 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4098 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4099 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4100 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4102 * sysdeps/powerpc/powerpc32/dl-machine.c
4103 (__elf_machine_runtime_setup) [PROF]: Don't reference
4106 2012-05-18 Andreas Jaeger <aj@suse.de>
4108 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4109 function only available for GCCs before 3.4 since GCC 3.4
4110 introduced a builtin.
4112 (llrintf): Likewise.
4120 (nearbyint): Likewise.
4121 (nearbyintf): Likewise.
4127 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4129 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4130 on both fields and cast pointer to __syscall_ulong_t.
4132 * bits/types.h (__fsword_t): New type.
4133 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4134 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4135 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4136 (__FSWORD_T_TYPE): Likewise.
4137 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4138 (__FSWORD_T_TYPE): Likewise.
4139 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4140 (__FSWORD_T_TYPE): Likewise.
4141 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4142 (__FSWORD_T_TYPE): Likewise.
4143 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4144 __SWORD_TYPE with __fsword_t.
4145 (statfs64): Likewise.
4147 2012-05-17 David S. Miller <davem@davemloft.net>
4149 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4151 2012-05-17 Andreas Jaeger <aj@suse.de>
4153 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4156 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4158 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4160 2012-05-17 Andreas Jaeger <aj@suse.de>
4162 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4165 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4167 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4169 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4171 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4172 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4174 2012-05-17 Andreas Jaeger <aj@suse.de>
4175 Carlos O'Donell <carlos_odonell@mentor.com>
4178 * sysdeps/x86_64/multiarch/init-arch.h
4179 (bit_YMM_Usable): Rename to...
4180 (bit_AVX_Usable): ... this.
4181 (bit_FMA4_Usable): New macro.
4182 (bit_XMM_state): New macro.
4183 (bit_YMM_state): New macro.
4184 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4185 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4186 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4187 (CPUID_OSXSAVE): New macro.
4188 (CPUID_AVX): New macro.
4189 (CPUID_FMA4): New macro.
4190 (index_YMM_Usable): Rename to...
4191 (index_AVX_Usable): ... this.
4192 (HAS_AVX): Use HAS_ARCH_FEATURE.
4193 (HAS_FMA4): Likewise.
4194 (HAS_YMM_USABLE): Remove.
4195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4196 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4198 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4199 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4200 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4201 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4202 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4204 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4206 * math/libm-test.c: Support platforms without multiple rounding modes.
4207 * math/bug-nextafter.c: Support platforms without FP exceptions.
4208 * math/bug-nexttoward.c: Likewise.
4209 * math/test-fenv.c: Likewise.
4210 * math/test-misc.c: Likewise.
4211 * stdlib/bug-getcontext.c: Likewise.
4213 2012-05-17 Andreas Jaeger <aj@suse.de>
4215 * manual/examples/search.c (critter_cmp): Change signature to
4217 * manual/string.texi (Collation Functions): Likewise.
4219 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4221 * bits/types.h: Fold copyright years.
4222 * bits/typesizes.h: Likewise.
4223 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4224 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4225 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4226 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4227 * time/time.h: Likewise.
4229 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4232 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4233 in instead of returning them. Return void.
4234 (__libc_mallinfo): Accumulate over all arenas.
4235 (__malloc_stats): Adjust for change in int_mallinfo interface.
4237 2012-05-16 Roland McGrath <roland@hack.frob.com>
4240 * configure.in (NM): Add AC_CHECK_TOOL for it.
4241 (libc_extra_cflags): New substituted variable.
4242 Check for -fstack-protector being used implicitly.
4243 * configure: Regenerated.
4244 * config.make.in (config-extra-cflags): New variable,
4245 gets @libc_extra_cflags@.
4246 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4249 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4250 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4251 * configure: Regenerated.
4252 * config.make.in (CPPUNDEFS): New substituted variable.
4253 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4254 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4255 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4257 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4259 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4260 (mq_attr): Use __syscall_slong_t.
4262 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4264 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4265 Check __x86_64__ instead of __WORDSIZE.
4266 (_STAT_VER_LINUX): Likewise.
4267 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4268 __syscall_ulong_t and __syscall_slong_t.
4271 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4273 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4275 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4277 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4279 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4281 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4284 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4285 include <bits/wordsize.h>. Check __x86_64__ instead of
4287 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4289 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4291 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4292 include <bits/wordsize.h>. Check __x86_64__ instead of
4294 (user_regs_struct): Use "__extension__ unsigned long long"
4295 instead of "unsigned long" if __x86_64__ is defined.
4296 (user): Likewise. Pad after pointer field if __ILP32__ is
4299 2012-05-16 Joseph Myers <joseph@codesourcery.com>
4301 * configure.in (makeinfo): Require version 4.5 or later. Allow
4303 * configure: Regenerated.
4304 * manual/install.texi (texinfo): Increase version requirement to
4306 * INSTALL: Regenerated.
4308 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4310 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4312 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4314 * sysdeps/x86_64/x32/ffs.c: New file.
4316 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4318 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4319 defined. Use __syscall_ulong_t.
4320 (shminfo): Use __syscall_ulong_t.
4321 (shm_info): Likewise.
4323 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4326 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4328 (msgqnum_t): Use __syscall_ulong_t.
4329 (msglen_t): Likewise.
4330 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4333 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4334 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4336 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4338 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4339 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4341 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4344 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4345 include <bits/wordsize.h>. Check __x86_64__ instead of
4348 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4349 "unsigned long long int" if __x86_64__ is defined.
4350 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4352 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4353 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4354 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4356 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4358 (GET_PC): Cast to uintptr_t first.
4359 (GET_FRAME): Likewise.
4360 (GET_STACK): Likewise.
4362 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4363 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4364 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4365 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4366 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4367 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4368 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4369 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4370 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4371 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4372 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4373 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4374 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4375 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4376 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4377 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4378 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4379 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4380 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4381 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4382 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4383 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4384 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4385 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4386 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4387 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4388 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4389 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4390 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4392 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4394 * Makerules (+depfiles): Also collect depfiles from .oS in
4396 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4397 .oS, $(libnldbl-routines)).
4399 * Makerules (native-compile-mkdep-flags): Define.
4400 * sunrpc/Makefile (extra-objs): Add $(addprefix
4401 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4402 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4403 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4404 calling $(make-target-directory).
4406 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4408 * bits/types.h (__snseconds_t): Removed.
4409 * time/time.h (struct timespec): Replace __snseconds_t with
4411 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4412 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4414 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4415 (__SNSECONDS_T_TYPE): Likewise.
4416 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4417 (__SNSECONDS_T_TYPE): Likewise.
4418 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4419 (__SNSECONDS_T_TYPE): Likewise.
4421 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4423 * sysdeps/mach/hurd/bits/typesizes.h
4424 (__SYSCALL_SLONG_TYPE): New macro.
4425 (__SYSCALL_ULONG_TYPE): Likewise.
4427 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4429 * bits/types.h (__syscall_slong_t): New type.
4430 (__syscall_ulong_t): Likewise.
4432 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4433 (__SYSCALL_ULONG_TYPE): Likewise.
4434 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4435 (__SYSCALL_SLONG_TYPE): Likewise.
4436 (__SYSCALL_ULONG_TYPE): Likewise.
4437 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4438 (__SYSCALL_SLONG_TYPE): Likewise.
4439 (__SYSCALL_ULONG_TYPE): Likewise.
4440 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4441 (__SYSCALL_SLONG_TYPE): Likewise.
4442 (__SYSCALL_ULONG_TYPE): Likewise.
4444 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4446 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4447 Add sigaltstack-offsets.sym.
4448 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4449 <sigaltstack-offsets.h>.
4450 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4451 longjmp_msg pointer.
4452 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4453 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4455 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4457 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4459 * elf/stackguard-macros.h: Remove file.
4460 * sysdeps/generic/stackguard-macros.h: New file.
4461 * sysdeps/i386/stackguard-macros.h: Likewise.
4462 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4463 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4464 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4465 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4466 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4467 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4468 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4469 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4470 <elf/stackguard-macros.h>.
4473 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4474 __aligned__ in attribute.
4475 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4476 (gregset_t): Likewise.
4478 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4480 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4481 * sysdeps/x86_64/64/Implies-after: Here. New file.
4482 * sysdeps/x86_64/x32/Implies-after: New file.
4484 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4486 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4487 and access return value for _dl_profile_fixup. Use R10_LP to
4490 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4492 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4496 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4497 * sysdeps/x86_64/x32/sysdep.h: New file.
4499 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4501 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4502 * sysdeps/x86_64/setjmp.S: Likewise.
4504 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4506 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4507 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4508 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4509 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4510 remove unused global constant.
4512 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4514 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4515 include of <not-cancel.h>.
4517 2012-05-15 Roland McGrath <roland@hack.frob.com>
4519 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4521 2012-05-15 Jeff Law <law@redhat.com>
4522 Andreas Jaeger <aj@suse.de>
4525 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4527 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4528 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4529 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4530 code changing __hst_map_handle.map.
4532 2012-05-15 Roland McGrath <roland@hack.frob.com>
4534 * configure.in (sysnames): Look for Implies-before and Implies-after
4536 * configure: Regenerated.
4538 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4540 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4541 8-byte data alignment with LP_SIZE alignment.
4543 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4545 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4548 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4550 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4552 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4554 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4555 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4556 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4558 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4560 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4562 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4563 (stackinfo_sub_sp): Likewise.
4565 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4567 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4570 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4572 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4575 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4577 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4580 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4582 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4584 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4586 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4587 into R11_LP and load __x86_64_shared_cache_size_half into
4590 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4592 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4595 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4597 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4599 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4601 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4603 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4604 powerpc32/power7/fpu/s_logb.c via #include.
4605 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4606 powerpc32/power7/fpu/s_logbf.c via #include.
4607 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4608 powerpc32/power7/fpu/s_logbl.c via #include.
4610 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4612 * README.libm: Remove file.
4614 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4616 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4617 count for x32. Use R*_LP and omit operand-size suffix.
4619 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4621 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4622 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4623 * sysdeps/x86_64/x32/shlib-versions: New file.
4625 2012-05-14 Roland McGrath <roland@hack.frob.com>
4627 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4628 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4629 Use _dl_fatal_printf instead.
4631 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4633 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4634 set if not set by the user. Do not allow for being unset.
4635 * sysdeps/unix/sysv/linux/configure: Regenerated.
4637 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4639 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4640 the `q' suffix from lea and replace .quad with ASM_ADDR.
4642 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4644 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4645 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4647 (PTR_DEMANGLE): Likewise.
4649 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4651 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4653 (ASM_ADDR): Likewise.
4671 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4673 * sysdeps/x86_64/x32/dl-machine.h: New file.
4675 2012-05-14 Andreas Jaeger <aj@suse.de>
4677 * manual/Makefile (subdir): Remove export of subdir.
4678 (all): Remove target.
4679 (.PHONY): Remove all from list.
4680 (mkinstalldirs): Remove.
4681 (.PHONY): Remove installdirs from list.
4682 ($(inst_infodir)/libc.info): Use make-target-directory.
4683 (installdirs): Remove.
4685 (glibc-targets): Remove.
4688 ($(objpfx)stubs ../po/manual.pot): Remove.
4689 ($(objpfx)stamp%): Remove.
4690 (make-target-directory): Remove.
4691 (subdir_install): Remove.
4699 * manual/.gitignore: Remove, it's not needed anymore.
4700 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4702 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4704 (texis): Renamed to $(objpfx)texis.
4705 (texis-path): New, contains path to generated files.
4706 (chapters.%): Use texis-path for complete path, add extra argument
4708 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4709 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4710 (summary,texi, stamp-summary): Use complete path of
4711 files. Generate files in build dir.
4712 (dir-add.texi): Build in build dir.
4713 (libm-err.texi,stamp-libm-err): Likewise.
4714 (version.texi, stamp-version): Likewise.
4715 (.%c.texi): Likewise.
4716 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4717 (mostlyclean): Remove target.
4718 (realclean): Remove target.
4719 (generated): Add new variable with contents from mostlyclean and
4720 realclean, remove entries duplicated in common-mostlyclean, add
4721 stamp-libm-err and stamp-version.
4722 (generated-dirs): Add libc directory.
4723 ($(inst_infodir)/libc.info): Install files from build dir.
4725 * manual/install.texi (Configuring and compiling): Adjust since
4726 the info files are not part of the tar ball anymore.
4728 2012-05-14 Andreas Jaeger <aj@suse.de>
4730 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4733 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4736 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4737 to 2.2.0 where earlier.
4738 * sysdeps/unix/sysv/linux/configure: Regenerated.
4739 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4740 Remove conditional code.
4741 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4742 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4743 Remove conditional code.
4744 [!__NR_lchown]: Likewise.
4745 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4746 [__NR_lchown]: Likewise.
4747 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4748 comment referencing __ASSUME_LCHOWN_SYSCALL.
4749 * sysdeps/unix/sysv/linux/i386/sigaction.c
4750 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4751 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4752 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4753 Remove conditional code.
4754 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4755 (__protocol_available): Remove #if 0 code.
4756 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4758 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4759 * sysdeps/unix/sysv/linux/kernel-features.h
4760 (__ASSUME_GETCWD_SYSCALL): Don't define.
4761 (__ASSUME_REALTIME_SIGNALS): Likewise.
4762 (__ASSUME_PREAD_SYSCALL): Likewise.
4763 (__ASSUME_PWRITE_SYSCALL): Likewise.
4764 (__ASSUME_POLL_SYSCALL): Likewise.
4765 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4766 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4768 (__ASSUME_SIOCGIFNAME): Don't define.
4769 (__ASSUME_MSG_NOSIGNAL): Likewise.
4770 (__ASSUME_SENDFILE): Define unconditionally.
4771 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4772 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4774 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4775 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4776 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4777 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4778 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4779 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4780 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4782 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4783 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4785 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4786 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4788 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4789 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4791 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4792 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4794 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4795 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4797 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4798 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4800 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4801 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4803 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4804 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4805 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4806 Remove conditional code.
4807 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4808 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4809 Remove conditional code.
4810 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4811 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4812 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4813 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4814 Remove conditional code.
4815 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4816 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4817 Remove conditional code.
4818 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4819 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4820 Remove conditional code.
4821 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4822 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4823 Remove conditional code.
4824 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4825 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4826 Remove conditional code.
4827 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4828 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4829 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4830 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4831 * sysdeps/unix/sysv/linux/sigaction.c
4832 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4833 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4834 * sysdeps/unix/sysv/linux/sigpending.c
4835 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4836 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4837 * sysdeps/unix/sysv/linux/sigprocmask.c
4838 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4839 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4840 * sysdeps/unix/sysv/linux/sigsuspend.c
4841 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4842 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4843 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4844 (__libc_missing_rt_sigs): Remove.
4845 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4846 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4847 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4848 Remove conditional code.
4849 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4850 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4852 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4853 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4854 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4855 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4857 2012-05-14 Andreas Jaeger <aj@suse.de>
4859 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4860 it's not used in glibc.
4861 (__coshm1): Likewise.
4862 (__acosh1p): Likewise.
4865 * manual/string.texi (Copying and Concatenation): Add missing
4866 variable in concat example.
4867 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4869 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4872 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4873 __builtin_clzl with __builtin_clzll.
4875 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4878 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4881 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4883 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4884 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4885 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4886 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4888 2012-05-14 Mike Frysinger <vapier@gentoo.org>
4890 * NEWS: Update ia64 info.
4892 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4894 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4897 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4899 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4900 * sysdeps/unix/syscalls.list (dup3): Likewise.
4901 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4902 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4904 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4906 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4907 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4909 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4911 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4913 (TLS_IE): Use mov/add instead of movq/addq to load thread
4915 (TLS_GD_PREFIX): New.
4918 2012-05-11 David S. Miller <davem@davemloft.net>
4920 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4921 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4922 (_FPU_SETCW): Likewise.
4924 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4926 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4929 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4932 * iconvdata/gb18030.c: Update tables.
4933 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4934 characters specially.
4935 (BODY for TO_LOOP): Add encoding of missing ranges.
4937 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4940 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4941 * sysdeps/mach/hurd/dup3.c: Likewise.
4942 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4943 * sysdeps/powerpc/memmove.c:: Likewise.
4945 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4947 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4948 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4950 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4952 * elf/elf.h (R_X86_64_RELATIVE64): New.
4953 (R_X86_64_NUM): Updated.
4954 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4955 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4956 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4957 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4958 tst-quad1pie tst-quad2pie
4959 (modules-names): Add tst-quadmod1 tst-quadmod2.
4960 ($(objpfx)tst-quad1): New dependency.
4961 ($(objpfx)tst-quad2): Likewise.
4962 ($(objpfx)tst-quad1pie): Likewise.
4963 ($(objpfx)tst-quad2pie): Likewise.
4964 * sysdeps/x86_64/tst-quad1.c: New file.
4965 * sysdeps/x86_64/tst-quad1pie.c: New file.
4966 * sysdeps/x86_64/tst-quad2.c: Likewise.
4967 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4968 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4969 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4970 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4971 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4973 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4975 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4976 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4977 * streams/stropts.h (t_scalar_t): Define type.
4979 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4980 (_PATH_PRESERVE): Set to "/var/lib".
4981 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4983 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4986 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4987 if __dir_mkfile succeeded.
4989 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4990 checking for _hurd_dtablesize. Unlock it right after having
4991 finished _hurd_dtable allocation.
4993 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4995 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4996 * sysdeps/mach/hurd/configure: Regenerated.
4997 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4998 special-casing to...
4999 * sysdeps/gnu/configure.in: ... this new file.
5000 * sysdeps/unix/sysv/linux/configure: Regenerated.
5001 * sysdeps/gnu/configure: New generated file.
5003 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5004 for Linux: use nsec instead of usec, as well as:
5005 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5006 members of type struct timespec.
5007 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5009 (struct stat64): Likewise.
5010 (_STATBUF_ST_NSEC): New macro.
5011 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5013 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5014 __strtoul_internal rather than strtoul.
5016 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5018 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5021 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5023 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5024 which preserves existing values.
5025 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5027 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5029 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5030 TIMEOUT values. Return EINVAL for NFDS values either negative or
5031 greater than FD_SETSIZE.
5033 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5035 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5036 allocated, call __vm_protect to finish enabling the existing space, and
5037 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5038 allocate the remainder.
5040 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5042 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5043 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5045 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5047 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5048 sysdeps/mach/hurd/readlink.c.
5050 * posix/tst-sysconf.c (posix_options): Only use
5051 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5052 _POSIX_SYNCHRONIZED_IO when they are defined
5053 * sysdeps/mach/hurd/bits/posix_opt.h:
5054 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5055 (_XOPEN_REALTIME): Undefine macro.
5056 (_XOPEN_REALTIME_THREADS): Undefine macro.
5057 (_XOPEN_SHM): Undefine macro.
5058 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5060 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5062 (_POSIX_ASYNC_IO): Undefine macro.
5063 (_POSIX_PRIORITIZED_IO): Undefine macro.
5064 (_POSIX_SPIN_LOCKS): Define macro to -1.
5066 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5067 SA_NODEFER, SA_RESETHAND.
5068 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5069 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5072 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5074 * elf/Makefile (pldd-modules): Define unconditionally.
5076 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5078 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5080 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5082 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5083 Return ENOENT when name is empty.
5084 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5086 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5088 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5090 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5092 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5094 Fix mlock in all cases except non-readable pages.
5095 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5096 instead of VM_PROT_ALL as parameter to __vm_wire function.
5098 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5099 (__mkdir): When path is `/', just fail with EEXIST.
5100 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5102 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5104 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5105 <sys/uio.h> (for writev).
5106 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5107 and <sys/param.h> (for MIN).
5109 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5111 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5112 REQUESTED_TIME. Properly set the remaining time and return EINTR
5115 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5117 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5118 Depend on against $(link-rpcuserlibs).
5120 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5122 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5123 (__libc_stack_end): Do not use attribute_relro.
5124 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5125 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5126 to libthread-provided value.
5127 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5130 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5133 * bits/libc-lock.h (__libc_once_get): New macro.
5134 * sysdeps/mach/bits/libc-lock.h: Likewise.
5135 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5136 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5137 instead of using implementation details.
5139 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5140 * libio/freopen.c: Likewise.
5141 * libio/freopen64.c: Likewise.
5142 * misc/syslog.c: Likewise.
5143 * nscd/connections.c: Likewise.
5144 * nscd/netgroupcache.c: Likewise.
5145 * sysdeps/posix/getcwd.c: Likewise.
5147 2012-05-10 Roland McGrath <roland@hack.frob.com>
5149 * math/w_ilogbf.c: Add #include <limits.h>.
5151 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5153 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5154 path instead of returning without unlocking.
5156 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5157 immediate-write ioctls.
5158 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5160 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5162 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5163 __builtin_frame_address instead of making assumptions about the
5164 location of the return address relative to DATA. Force early load of
5166 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5167 __builtin_frame_address.
5170 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5171 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5172 implement dup3 and do some further code clean-ups.
5173 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5174 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5176 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5178 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5180 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5181 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5182 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5183 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5184 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5187 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5188 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5189 when handler == SIG_ERR, not when handler != SIG_ERR.
5191 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5193 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5194 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5197 accept4 for GNU Hurd.
5198 * include/sys/socket.h (__libc_accept4): New prototype.
5199 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5200 to implement __libc_accept4.
5201 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5203 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5205 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5206 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5207 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5210 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5212 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5214 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5216 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5217 assertion on O_CLOEXEC flag.
5218 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5219 * hurd/intern-fd.c: Likewise.
5220 * hurd/port2fd.c: Likewise.
5222 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5225 * bits/in.h (IPV6_PKTINFO): Define new macro.
5226 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5228 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5233 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5234 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5235 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5236 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5237 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5238 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5239 * math/libm-test.inc (logb_test) : Additional logb tests.
5241 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5242 Andreas Jaeger <aj@suse.de>
5244 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5245 * configure: Regenerated.
5246 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5247 * config.make.in (link-obsolete-rpc): New substituted variable.
5248 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5249 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5250 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5251 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5252 so that libc.a contains the symbols.
5253 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5254 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5255 * sunrpc/auth_none.c: Likewise.
5256 * sunrpc/auth_unix.c: Likewise.
5257 * sunrpc/authdes_prot.c: Likewise.
5258 * sunrpc/authuxprot.c: Likewise.
5259 * sunrpc/clnt_gen.c: Likewise.
5260 * sunrpc/clnt_perr.c: Likewise.
5261 * sunrpc/clnt_raw.c: Likewise.
5262 * sunrpc/clnt_simp.c: Likewise.
5263 * sunrpc/clnt_tcp.c: Likewise.
5264 * sunrpc/clnt_udp.c: Likewise.
5265 * sunrpc/clnt_unix.c: Likewise.
5266 * sunrpc/des_crypt.c: Likewise.
5267 * sunrpc/des_soft.c: Likewise.
5268 * sunrpc/get_myaddr.c: Likewise.
5269 * sunrpc/key_call.c: Likewise.
5270 * sunrpc/key_prot.c: Likewise.
5271 * sunrpc/netname.c: Likewise.
5272 * sunrpc/pm_getmaps.c: Likewise.
5273 * sunrpc/pm_getport.c: Likewise.
5274 * sunrpc/pmap_clnt.c: Likewise.
5275 * sunrpc/pmap_prot.c: Likewise.
5276 * sunrpc/pmap_prot2.c: Likewise.
5277 * sunrpc/pmap_rmt.c: Likewise.
5278 * sunrpc/publickey.c: Likewise.
5279 * sunrpc/rpc_cmsg.c: Likewise.
5280 * sunrpc/rpc_common.c: Likewise.
5281 * sunrpc/rpc_dtable.c: Likewise.
5282 * sunrpc/rpc_prot.c: Likewise.
5283 * sunrpc/rpc_thread.c: Likewise.
5284 * sunrpc/rtime.c: Likewise.
5285 * sunrpc/svc.c: Likewise.
5286 * sunrpc/svc_auth.c: Likewise.
5287 * sunrpc/svc_raw.c: Likewise.
5288 * sunrpc/svc_run.c: Likewise.
5289 * sunrpc/svc_tcp.c: Likewise.
5290 * sunrpc/svc_udp.c: Likewise.
5291 * sunrpc/svc_unix.c: Likewise.
5292 * sunrpc/svcauth_des.c: Likewise.
5293 * sunrpc/xcrypt.c: Likewise.
5294 * sunrpc/xdr.c: Likewise.
5295 * sunrpc/xdr_array.c: Likewise.
5296 * sunrpc/xdr_float.c: Likewise.
5297 * sunrpc/xdr_intXX_t.c: Likewise.
5298 * sunrpc/xdr_mem.c: Likewise.
5299 * sunrpc/xdr_rec.c: Likewise.
5300 * sunrpc/xdr_ref.c: Likewise.
5301 * sunrpc/xdr_sizeof.c: Likewise.
5302 * sunrpc/xdr_stdio.c: Likewise.
5304 2012-05-10 Roland McGrath <roland@hack.frob.com>
5306 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5307 change. Update copyright years.
5309 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5311 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5313 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5314 Joseph Myers <joseph@codesourcery.com>
5315 Paul Pluzhnikov <ppluzhnikov@google.com>
5318 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5320 [cross-compiling] (extra-libs): Likewise.
5321 [cross-compiling] (extra-libs-others): Likewise.
5322 [cross-compiling] (librpcsvc-routines): Likewise.
5323 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5324 [cross-compiling] (omit-deps): Likewise.
5325 (sunrpc-CPPFLAGS): New variable.
5326 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5327 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5328 (cross-rpcgen-objs): New variable.
5329 (extra-objs): Append $(cross-rpcgen-objs).
5330 ($(cross-rpcgen-objs)): New rule.
5331 ($(objpfx)cross-rpcgen): Likewise.
5332 (rpcgen-cmd): Define to use $(built-program-file). Expand
5334 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5335 ($(objpfx)x%.stmp): Likewise.
5336 * sunrpc/proto.h [IS_IN_build] (_): Define.
5337 [IS_IN_build] (_libc_intl_domainname): Likewise.
5339 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5341 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5342 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5343 and R_X86_64_TPOFF64.
5345 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5347 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5348 sysdeps/unix/sysv/syscalls.list.
5351 * sysdeps/unix/sysv/syscalls.list: Remove file.
5353 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5356 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5357 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5358 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5359 (__LC_IDENTIFICATION): Make these macros useful in #if
5360 expressions, as required by C99.
5362 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5364 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5365 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5368 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5370 * stdlib/longlong.h: Updated from GCC.
5372 2012-05-09 Andreas Jaeger <aj@suse.de>
5374 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5375 default is first entry.
5376 (run_mode): Set type.
5377 (main): Remove informal message about syslog.
5378 (options): Fix typo.
5381 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5384 (llrintf): Likewise.
5388 (nearbyint): Likewise.
5389 (nearbyintf): Likewise.
5391 2012-05-09 Andreas Jaeger <aj@suse.de>
5392 Pedro Alves <palves@redhat.com>
5394 * nscd/nscd.c (run_mode): Use enum.
5395 (main): Cleanup coding style issue.
5397 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
5398 Andreas Jaeger <aj@suse.de>
5400 * nscd/nscd.c (go_background): Replaced with...
5401 (run_mode): ... this.
5402 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5403 (options): Add -F --foreground.
5404 (main): Implement it.
5405 (parse_opt): Parse it.
5407 2012-05-09 Andreas Jaeger <aj@suse.de>
5410 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5411 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5412 -Wconversion warning.
5413 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5416 2012-05-09 Joseph Myers <joseph@codesourcery.com>
5418 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5420 (LC_ALL): Use macro-int-constant.
5421 (LC_COLLATE): Likewise.
5422 (LC_CTYPE): Likewise.
5423 (LC_MESSAGES): Likewise.
5424 (LC_MONETARY): Likewise.
5425 (LC_NUMERIC): Likewise.
5426 (LC_TIME): Likewise.
5427 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5428 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5429 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5430 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5432 [C99-based standards] (float_t): Expect type.
5433 [C99-based standards] (double_t): Expect type.
5434 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5436 [C99-based standards] (HUGE_VALL): Likewise.
5437 [C99-based standards] (INFINITY): Likewise.
5438 [C99-based standards] (NAN): Likewise.
5439 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5440 [C99-based standards] (FP_NAN): Likewise.
5441 [C99-based standards] (FP_NORMAL): Likewise.
5442 [C99-based standards] (FP_SUBNORMAL): Likewise.
5443 [C99-based standards] (FP_ZERO): Likewise.
5444 [C99-based standards] (FP_FAST_FMA): Use
5445 optional-macro-int-constant. Specify type. Require == 1.
5446 [C99-based standards] (FP_FAST_FMAF): Likewise.
5447 [C99-based standards] (FP_FAST_FMAL): Likewise.
5448 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5449 [C99-based standards] (FP_ILOGBNAN): Likewise.
5450 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5452 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5453 [C99-based standards] (math_errhandling): Specify type.
5454 [ISO99 || ISO11] (signgam): Do not allow.
5455 [non-C99-based standards] (copysignf): Do not allow.
5456 [non-C99-based standards] (exp2f): Likewise.
5457 [non-C99-based standards] (log2f): Likewise.
5458 [non-C99-based standards] (modff): Allow.
5459 [non-C99-based standards] (erff): Do not allow.
5460 [non-C99-based standards] (erfcf): Likewise.
5461 [non-C99-based standards] (gammaf): Likewise.
5462 [non-C99-based standards] (hypotf): Likewise.
5463 [non-C99-based standards] (j0f): Likewise.
5464 [non-C99-based standards] (j1f): Likewise.
5465 [non-C99-based standards] (jnf): Likewise.
5466 [non-C99-based standards] (lgammaf): Likewise.
5467 [non-C99-based standards] (tgammaf): Likewise.
5468 [non-C99-based standards] (y0f): Likewise.
5469 [non-C99-based standards] (y1f): Likewise.
5470 [non-C99-based standards] (ynf): Likewise.
5471 [non-C99-based standards] (isnanf): Likewise.
5472 [non-C99-based standards] (acoshf): Likewise.
5473 [non-C99-based standards] (asinhf): Likewise.
5474 [non-C99-based standards] (atanhf): Likewise.
5475 [non-C99-based standards] (cbrtf): Likewise.
5476 [non-C99-based standards] (expm1f): Likewise.
5477 [non-C99-based standards] (ilogbf): Likewise.
5478 [non-C99-based standards] (log1pf): Likewise.
5479 [non-C99-based standards] (logbf): Likewise.
5480 [non-C99-based standards] (nextafterf): Likewise.
5481 [non-C99-based standards] (remainderf): Likewise.
5482 [non-C99-based standards] (rintf): Likewise.
5483 [non-C99-based standards] (scalbf): Likewise.
5484 [non-C99-based standards] (copysignl): Likewise.
5485 [non-C99-based standards] (exp2l): Likewise.
5486 [non-C99-based standards] (log2l): Likewise.
5487 [non-C99-based standards] (modfl): Allow.
5488 [non-C99-based standards] (erfl): Do not allow.
5489 [non-C99-based standards] (erfcl): Likewise.
5490 [non-C99-based standards] (gammal): Likewise.
5491 [non-C99-based standards] (hypotl): Likewise.
5492 [non-C99-based standards] (j0l): Likewise.
5493 [non-C99-based standards] (j1l): Likewise.
5494 [non-C99-based standards] (jnl): Likewise.
5495 [non-C99-based standards] (lgammal): Likewise.
5496 [non-C99-based standards] (tgammal): Likewise.
5497 [non-C99-based standards] (y0l): Likewise.
5498 [non-C99-based standards] (y1l): Likewise.
5499 [non-C99-based standards] (ynl): Likewise.
5500 [non-C99-based standards] (isnanl): Likewise.
5501 [non-C99-based standards] (acoshl): Likewise.
5502 [non-C99-based standards] (asinhl): Likewise.
5503 [non-C99-based standards] (atanhl): Likewise.
5504 [non-C99-based standards] (cbrtl): Likewise.
5505 [non-C99-based standards] (expm1l): Likewise.
5506 [non-C99-based standards] (ilogbl): Likewise.
5507 [non-C99-based standards] (log1pl): Likewise.
5508 [non-C99-based standards] (logbl): Likewise.
5509 [non-C99-based standards] (nextafterl): Likewise.
5510 [non-C99-based standards] (remainderl): Likewise.
5511 [non-C99-based standards] (rintl): Likewise.
5512 [non-C99-based standards] (scalbl): Likewise.
5513 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5514 [non-C99-based standards] (FP_*): Do not allow.
5515 [C99-based standards] (FP_*): Change to
5516 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5517 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5519 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5520 (SIG_ERR): Likewise.
5521 [X/Open-based standards] (SIG_HOLD): Likewise.
5522 (SIG_IGN): Likewise.
5523 (SIGABRT): Use macro-int-constant. Specify type. Require
5528 (SIGSEGV): Likewise.
5530 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5531 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5532 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5533 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5534 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5535 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5536 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5537 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5538 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5539 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5540 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5541 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5542 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5543 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5544 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5545 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5546 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5547 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5548 [X/Open-based standards] (SIGTRAP): Likewise.
5549 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5550 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5551 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5552 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5553 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5556 2012-05-08 Ian Wienand <ianw@vmware.com>
5559 * time/tzset.c (__tzset_parse_tz): Update default rules for
5560 daylight time changes in the Energy Policy Act of 2005.
5562 2012-05-09 Andreas Jaeger <aj@suse.de>
5565 * elf/ldconfig.c (parse_conf): Change string to make clear that
5566 ldconfig only issued a warning if ld.so.conf does not exist.
5568 2012-05-08 David S. Miller <davem@davemloft.net>
5570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5571 movxtod instead of popping the value on the stack.
5573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5575 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5577 * config.h.in: Add HAVE_ARM_PCS_VFP.
5579 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
5582 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5583 checking but the checks are disabled for any reason.
5585 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5587 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5588 and ELF64_R_TYPE with ELFW(R_TYPE).
5590 2012-05-08 Joseph Myers <joseph@codesourcery.com>
5592 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5595 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5596 (settimeofday): Likewise.
5598 2012-05-08 Mike Frysinger <vapier@gentoo.org>
5600 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5601 a struct th_u2 inside the union, and move tu_block/tu_code into
5602 a new th_u3 union of tu_block/tu_code inside of that. Move
5603 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5604 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5605 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5606 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5607 (th_stuff): Change to th_u1.tu_stuff.
5609 (th_msg): Change to th_u1.th_u2.tu_data.
5611 2012-05-07 David S. Miller <davem@davemloft.net>
5613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5616 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5617 (SETUP_PIC_REG): Use it.
5618 (SETUP_PIC_REG_LEAF): Use it.
5620 2012-05-07 Joseph Myers <joseph@codesourcery.com>
5624 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5626 (EXPL_FINITE): Likewise.
5628 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5629 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5631 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5633 (EXPL_FINITE): Likewise.
5635 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5636 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5638 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5639 test of -max_value argument for long double.
5640 * sysdeps/i386/fpu/libm-test-ulps: Update.
5641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5643 2012-05-06 David S. Miller <davem@davemloft.net>
5645 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5646 quad soft-float symbols whose references which are compiler
5648 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5650 2012-05-06 Joseph Myers <joseph@codesourcery.com>
5654 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5656 (EXPL_FINITE): Likewise.
5660 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5661 Adjust comments for base varying.
5662 (__expl_finite): Change alias to EXPL_FINITE.
5663 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5665 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5666 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5667 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5668 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5669 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5671 (EXPL_FINITE): Likewise.
5675 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5676 Adjust comments for base varying.
5677 (__expl_finite): Change alias to EXPL_FINITE.
5678 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5683 * math/libm-test.inc (check_float_internal): Correct ulp
5684 calculation for subnormal expected results.
5686 2012-05-06 Andreas Jaeger <aj@suse.de>
5688 * Makeconfig (+math-flags): New, set to -frounding-math.
5689 (+cflags): Add +math-flags so that all of glibc gets compiled with
5692 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5694 2012-05-05 Joseph Myers <joseph@codesourcery.com>
5696 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5702 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5703 (__ieee754_expl): Allow for and saturate large arguments.
5704 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5705 (u_threshold): Likewise.
5706 (__exp): Call __ieee754_exp before checking for overflow and
5708 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5709 (u_threshold): Likewise.
5710 (__expf): Call __ieee754_expf before checking for overflow and
5712 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5713 (u_threshold): Likewise.
5714 (__expl): Call __ieee754_expl before checking for overflow and
5716 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5717 (__ieee754_expl): Allow for and saturate large arguments.
5718 * math/libm-test.inc (exp_test): Add another test. Do not allow
5719 missing overflow exception on overflow.
5720 (expm1_test): Do not allow missing overflow exception on overflow.
5722 * sysdeps/i386/fpu/e_expl.c: Move to ...
5723 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5724 rather than using inline asm.
5725 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5726 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5727 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5729 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5736 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5738 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5739 sysdeps/unix/common/syscalls.list.
5742 (ftruncate): Likewise.
5743 (getrusage): Likewise.
5744 (gettimeofday): Likewise.
5745 (setpgid): Likewise.
5746 (setregid): Likewise.
5747 (setreuid): Likewise.
5748 (sigaction): Likewise.
5749 (truncate): Likewise.
5750 (vhangup): Likewise.
5751 * sysdeps/unix/common/syscalls.list: Remove file.
5752 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5753 * sysdeps/unix/sysv/linux/Implies: Likewise.
5755 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5757 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5759 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5763 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5766 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5769 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5772 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5775 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5778 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5781 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5785 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5789 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5792 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5796 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5800 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5802 * sysdeps/unix/common/bits/dirent.h: Remove file.
5803 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5805 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5806 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5807 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5808 * sysdeps/unix/bsd/isatty.c: Likewise.
5809 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5810 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5811 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5813 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5816 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5817 long double comparison inaccuracies.
5818 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5821 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5823 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5824 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5826 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5829 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5830 nonzero digits before rounding a hex value.
5831 * stdlib/tst-strtod.c (tests): Add another test.
5833 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5835 * sysdeps/s390/fpu/libm-test-ulps: Update.
5837 2012-05-03 Andreas Jaeger <aj@suse.de>
5839 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5840 does not get optimized out.
5841 (malloc_opt_barrier): New.
5843 2012-05-03 Andreas Jaeger <aj@suse.de>
5844 Roland McGrath <roland@hack.frob.com>
5846 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
5847 intermediate file deletion.
5848 (generated): Add .symlist files.
5850 2012-05-03 Joseph Myers <joseph@codesourcery.com>
5853 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5854 Redirect under this condition.
5855 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5856 [__USE_GNU] (__dprintf_chk): Not under this condition.
5857 [__USE_GNU] (__vdprintf_chk): Likewise.
5858 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5859 under this condition.
5860 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5861 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5862 [__USE_XOPEN2K8] (vdprintf): Likewise.
5863 [__USE_GNU] (__dprintf_chk): Not under this condition.
5864 [__USE_GNU] (__vdprintf_chk): Likewise.
5865 [__USE_GNU] (dprintf): Likewise.
5866 [__USE_GNU] (vdprintf): Likewise.
5868 2012-05-03 Roland McGrath <roland@hack.frob.com>
5870 * elf/Makefile (common-generated): Set this instead of generated for
5871 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5872 $(all-built-dso)-derived lists.
5874 2012-05-03 Andreas Jaeger <aj@suse.de>
5876 * sysdeps/i386/fpu/libm-test-ulps: Update.
5880 * scripts/gen-FAQ.pl: Likewise.
5881 * manual/install.texi (Installation): Point to online location of
5883 * Makefile (files-for-dist): Remove FAQ.
5886 2012-05-02 Allan McRae <allan@archlinux.org>
5888 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5889 (LDFLAGS-reldepmod5.so): Likewise.
5890 (LDFLAGS-reldep6mod1.so): Likewise.
5891 (LDFLAGS-reldep6mod4.so): Likewise.
5892 (LDFLAGS-reldep8mod3.so): Likewise.
5893 (LDFLAGS-unload4mod1.so): Likewise.
5894 (LDFLAGS-unload4mod2.so): Likewise.
5895 (LDFLAGS-tst-initorder): Likewise.
5896 (LDFLAGS-tst-initordera2.so): Likewise.
5897 (LDFLAGS-tst-initordera3.so): Likewise.
5898 (LDFLAGS-tst-initordera4.so): Likewise.
5899 (LDFLAGS-tst-initorderb2.so): Likewise.
5900 (LDFLAGS-noload): Likewise.
5901 (LDFLAGS-next): Likewise.
5902 (LDFLAGS-order2mod1.so): Likewise.
5903 (LDFLAGS-order2mod2.so): Likewise.
5904 (LDFLAGS-tst-initorder2): Likewise.
5905 (LDFLAGS-tst-initorder2a.so): Likewise.
5906 (LDFLAGS-tst-initorder2b.so): Likewise.
5907 (LDFLAGS-tst-initorder2c.so): Likewise.
5908 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5910 2012-05-02 David S. Miller <davem@davemloft.net>
5912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5914 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5917 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5919 2012-05-02 Andreas Jaeger <aj@suse.de>
5921 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5922 since we manipulate rounding mode.
5923 (CPPFLAGS-test-idouble.c): Likewise.
5924 (CPPFLAGS-test-ifloat.c): Likewise.
5925 (CFLAGS-test-ldouble.c): Likewise.
5926 (CFLAGS-test-double.c): Likewise.
5927 (CFLAGS-test-float.c): Likewise.
5928 (CFLAGS-test-misc.c): Likewise.
5929 (CFLAGS-test-test-fenv.c): Likewise.
5931 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5935 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5936 comparisons to determine direction to adjust input.
5938 2012-05-01 Roland McGrath <roland@hack.frob.com>
5940 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5941 output to the target.
5943 * scripts/localplt.awk: New file.
5944 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5945 (check-localplt-CFLAGS): Variable removed.
5946 ($(all-built-dso:=.jmprel)): New static pattern rule.
5947 (generated): Add those targets.
5948 (localplt-built-dso): New variable.
5949 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5951 * elf/check-localplt.c: File removed.
5953 * scripts/check-execstack.awk: New file.
5954 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5955 (check-execstack-CFLAGS): Variable removed.
5956 ($(objpfx)check-execstack.h): Target removed.
5957 ($(objpfx)execstack-default): New target.
5958 (generated): Add that instead of check-execstack.h.
5959 ($(all-built-dso:=.phdr)): New static pattern rule.
5960 (generated): Add those targets.
5961 * elf/check-execstack.c: File removed.
5963 * scripts/check-textrel.awk: New file.
5964 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5965 (check-textrel-CFLAGS): Variable removed.
5966 (all-built-dso): Use := to define.o
5967 ($(all-built-dso:=.dyn)): New static pattern rule.
5968 (generated): Add those targets.
5969 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5970 * config.make.in (READELF): New substituted variable.
5971 * elf/check-textrel.c: File removed.
5973 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5975 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5977 * conform/data/ctype.h-data [C99-based standards] (isblank):
5979 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5980 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5981 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5982 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5983 Specify type. Require positive value.
5986 [ISO || POSIX] (EILSEQ): Do not expect.
5987 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5988 Specify type. Require positive value.
5989 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5990 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5991 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5992 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5993 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5994 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5995 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5996 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5997 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5998 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5999 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6000 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6001 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6002 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6003 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6004 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6005 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6006 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6007 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6008 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6009 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6010 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6011 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6012 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6013 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6014 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6015 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6016 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6017 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6018 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6019 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6020 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6021 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6022 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6023 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6024 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6025 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6026 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6027 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6028 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6029 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6030 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6031 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6032 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6033 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6034 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6035 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6036 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6037 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6038 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6039 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6040 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6041 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6042 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6043 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6044 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6045 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6046 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6047 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6048 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6049 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6050 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6051 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6052 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6053 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6054 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6055 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6056 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6057 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6058 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6059 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6060 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6061 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6062 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6063 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6064 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6065 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6067 (FLT_ROUNDS): Expect as macro, not constant.
6068 (FLT_MANT_DIG): Use macro-int-constant.
6069 (DBL_MANT_DIG): Likewise.
6070 (LDBL_MANT_DIG): Likewise.
6071 (FLT_DIG): Likewise.
6072 (DBL_DIG): Likewise.
6073 (LDBL_DIG): Likewise.
6074 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6075 (DBL_MIN_EXP): Likewise.
6076 (LDBL_MIN_EXP): Likewise.
6077 (FLT_MAX_EXP): Use macro-int-constant.
6078 (DBL_MAX_EXP): Likewise.
6079 (LDBL_MAX_EXP): Likewise.
6080 (FLT_MAX_10_EXP): Likewise.
6081 (DBL_MAX_10_EXP): Likewise.
6082 (LDBL_MAX_10_EXP): Likewise.
6083 (FLT_MAX): Use macro-constant.
6084 (DBL_MAX): Likewise.
6085 (LDBL_MAX): Likewise.
6086 (FLT_EPSILON): Use macro-constant. Give upper bound.
6087 (DBL_EPSILON): Likewise.
6088 (LDBL_EPSILON): Likewise.
6089 (FLT_MIN): Likewise.
6090 (DBL_MIN): Likewise.
6091 (LDBL_MIN): Likewise.
6092 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6093 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6094 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6095 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6096 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6097 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6098 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6099 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6100 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6101 [ISO11] (FLT_TRUE_MIN): Likewise.
6102 [ISO11] (LDBL_TRUE_MIN): Likewise.
6103 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6104 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6105 (SCHAR_MIN): Use macro-int-constant. Specify type.
6106 (SCHAR_MAX): Likewise.
6107 (UCHAR_MAX): Likewise.
6108 (CHAR_MIN): Likewise.
6109 (CHAR_MAX): Likewise.
6110 (MB_LEN_MAX): Use macro-int-constant.
6111 (SHRT_MIN): Use macro-int-constant. Specify type.
6112 (SHRT_MAX): Likewise.
6113 (USHRT_MAX): Likewise.
6114 (INT_MAX): Likewise.
6115 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6117 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6119 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6121 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6122 bound negative. Suffix upper bound with "L".
6123 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6125 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6127 [C99-based standards] (LLONG_MAX): Likewise.
6128 [C99-based standards] (ULLONG_MAX): Likewise.
6129 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6131 [ISO11] (max_align_t): Require type.
6132 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6134 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6135 from $CFLAGS, without defining away __attribute__ calls.
6136 (checknamespace): Use $CFLAGS_namespace.
6138 * conform/conformtest.pl (@keywords): Only include C99 keywords
6139 for standards based on C99 or C11.
6141 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6143 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6146 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6147 usability of symbols in #if.
6149 * conform/conformtest.pl: If macro or constant types start
6150 "promoted:", expect the symbol to be of the following type
6151 promoted by the integer promotions.
6153 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6154 in one place. Also handle "macro-constant".
6156 * conform/conformtest.pl: Only accept expected macro values with
6157 "==". Parse all "macro" lines in one place.
6158 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6160 * conform/conformtest.pl: Handle braced types on "constant" lines
6161 instead of handling "typed-constant".
6162 * conform/data/signal.h-data: Use "constant" instead of
6165 * conform/conformtest.pl: Handle "optional-" at start of lines in
6166 one place rather than duplicating several cases. Handle each
6167 format of "macro" line with initial "optional-".
6169 * conform/conformtest.pl: Only accept expected constant or
6170 optional-constant values with "==". Parse all "constant" lines in
6171 one place. Parse all "optional-constant" lines in one place.
6172 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6173 * conform/data/fmtmsg.h-data: Likewise.
6174 * conform/data/netinet/in.h-data: Likewise.
6175 * conform/data/tar.h-data: Likewise.
6176 * conform/data/limits.h-data: Use "==" form on "constant" and
6177 "optional-constant" lines.
6179 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6180 Use -std=c99 for XOPEN2K.
6181 (@knownproblems): Remove.
6182 (newtoken): Don't check %isknown.
6184 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6185 Do not expect macro.
6186 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6187 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6188 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6189 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6190 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6191 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6192 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6193 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6194 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6195 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6196 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6197 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6198 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6199 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6200 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6201 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6202 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6203 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6204 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6205 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6206 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6207 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6208 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6209 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6210 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6211 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6212 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6213 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6214 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6215 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6216 [XPG3] (acosh): Likewise.
6217 [XPG3] (asinh): Likewise.
6218 [XPG3] (atanh): Likewise.
6219 [XPG3] (cbrt): Likewise.
6220 [XPG3] (expm1): Likewise.
6221 [XPG3] (ilogb): Likewise.
6222 [XPG3] (log1p): Likewise.
6223 [XPG3] (logb): Likewise.
6224 [XPG3] (nextafter): Likewise.
6225 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6226 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6227 [XPG3] (remainder): Likewise.
6228 [XPG3] (rint): Likewise.
6229 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6230 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6231 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6232 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6233 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6234 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6235 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6236 [UNIX98 || XOPEN2K] (scalb): Expect.
6237 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6238 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6239 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6240 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6241 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6242 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6243 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6244 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6245 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6246 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6247 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6248 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6249 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6250 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6251 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6252 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6253 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6254 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6255 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6256 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6257 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6258 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6259 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6260 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6261 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6262 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6263 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6264 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6265 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6266 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6267 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6268 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6269 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6270 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6271 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6272 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6273 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6274 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6275 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6276 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6277 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6278 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6279 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6280 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6281 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6282 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6283 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6284 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6285 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6286 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6287 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6288 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6289 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6290 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6291 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6292 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6293 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6294 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6295 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6296 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6297 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6298 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6299 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6300 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6301 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6302 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6303 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6304 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6305 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6306 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6307 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6308 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6309 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6310 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6311 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6312 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6313 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6314 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6315 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6316 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6317 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6318 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6319 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6320 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6321 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6322 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6323 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6324 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6325 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6326 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6327 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6328 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6329 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6330 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6331 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6332 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6333 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6334 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6335 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6336 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6337 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6338 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6339 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6340 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6341 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6342 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6343 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6344 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6345 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6346 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6347 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6348 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6349 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6350 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6351 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6352 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6353 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6354 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6355 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6356 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6357 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6358 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6359 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6360 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6361 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6362 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6363 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6364 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6365 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6366 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6367 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6368 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6369 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6370 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6371 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6372 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6373 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6375 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6376 _XOPEN_SOURCE_EXTENDED for XPG4.
6378 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6380 * Makeconfig (localtime): Remove variable.
6381 (inst_localtime-file): Likewise.
6383 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6404 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6408 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6409 comparisons to determine direction to adjust input.
6410 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6411 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6412 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6414 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6416 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6418 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6419 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6421 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6423 * math/libm-test.inc (nexttoward_test): Add more tests.
6425 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6428 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6429 in version GLIBC_2.1, not GLIBC_2.0.
6430 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6433 2012-04-30 Joseph Myers <joseph@codesourcery.com>
6436 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6438 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6439 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6440 * math/libm-test.inc (acos_test): Add more tests.
6441 (asin_test): Likewise.
6442 * sysdeps/i386/fpu/libm-test-ulps: Update.
6443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6446 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6448 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6449 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6450 * math/libm-test.inc (acos_test_tonearest): New function.
6451 (acos_test_towardzero): Likewise.
6452 (acos_test_downward): Likewise.
6453 (acos_test_upward): Likewise.
6454 (asin_test_tonearest): Likewise.
6455 (asin_test_towardzero): Likewise.
6456 (asin_test_downward): Likewise.
6457 (asin_test_upward): Likewise.
6458 (main): Call the new functions.
6459 * sysdeps/i386/fpu/libm-test-ulps: Update.
6460 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6464 * math/e_exp10.c: Include <float.h>.
6465 (__ieee754_exp10): Handle underflow here rather than multiplying
6466 large negative argument by M_LN10.
6467 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6469 * math/e_exp10l.c: Include <float.h>.
6470 (__ieee754_exp10l): Handle underflow here rather than multiplying
6471 large negative argument by M_LN10l.
6472 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6473 spurious overflow exception on underflow.
6475 2012-04-29 Marek Polacek <polacek@redhat.com>
6477 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6478 (__fortify_function): New macro.
6479 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6480 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6481 __extern_always_inline.
6482 * libio/bits/stdio2.h: Likewise.
6483 * libio/bits/stdio.h: Likewise.
6484 * string/string.h: Likewise.
6485 * string/bits/string3.h: Likewise.
6486 * include/stdio.h: Likewise.
6487 * stdlib/bits/stdlib.h: Likewise.
6488 * stdlib/stdlib.h: Likewise.
6489 * rt/bits/mqueue2.h: Likewise.
6490 * rt/mqueue.h: Likewise.
6491 * posix/bits/unistd.h: Likewise.
6492 * posix/unistd.h: Likewise.
6493 * io/bits/poll2.h: Likewise.
6494 * io/bits/fcntl2.h: Likewise.
6495 * io/fcntl.h: Likewise.
6496 * io/sys/poll.h: Likewise.
6497 * misc/bits/syslog.h: Likewise.
6498 * misc/bits/syslog-ldbl.h: Likewise.
6499 * misc/sys/syslog.h: Likewise.
6500 * socket/bits/socket2.h: Likewise.
6501 * socket/sys/socket.h: Likewise.
6502 * debug/tst-chk1.c: Likewise.
6503 * wcsmbs/bits/wchar2.h: Likewise.
6504 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6505 * wcsmbs/wchar.h: Likewise.
6507 2012-04-29 Andreas Jaeger <aj@suse.de>
6509 * Makerules (tests): Remove enable-check-abi protection.
6510 (check-abi-warn): Remove.
6511 (check-abi-%): Remove check-abi-warn usage.
6513 * configure.in: Remove check-abi configure option.
6514 * configure: Regenerated.
6515 * config.make.in (enable-check-abi): Remove.
6517 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6520 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6521 double functions to double *_finite functions.
6524 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6525 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6527 * stdio-common/Makefile (tests): Add tst-sprintf3.
6528 * stdio-common/tst-sprintf3.c: New file.
6530 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6531 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6533 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6535 * conform/conformtest.pl: Remove duplicate typed-constant
6538 2012-04-28 David S. Miller <davem@davemloft.net>
6540 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6541 (check-abi-%): Remove AWK script prerequisite and explicit
6543 (check-abi): Rewrite to just diff the symlist with the abilist.
6544 (config-tls, config-abi-config): Delete, no longer used.
6545 (update-abi-%): Remove AWK script and explicit abilist directory.
6546 (update-abi): Rewrite to simply compare and conditionally copy the
6547 symlist and the sysdep abilist file. Remove update-abi-config
6549 * abilist/ld.abilist: Remove.
6550 * abilist/libBrokenLocale.abilist: Remove.
6551 * abilist/libanl.abilist: Remove.
6552 * abilist/libcrypt.abilist: Remove.
6553 * abilist/libdl.abilist: Remove.
6554 * abilist/librt.abilist: Remove.
6555 * abilist/libthread_db.abilist: Remove.
6556 * abilist/libutil.abilist: Remove.
6557 * scripts/extract-abilist.awk: Remove.
6558 * scripts/merge-abilist.awk: Remove.
6559 * sysdeps/generic/libcidn.abilist: New file.
6560 * sysdeps/generic/libnss_compat.abilist: New file.
6561 * sysdeps/generic/libnss_db.abilist: New file.
6562 * sysdeps/generic/libnss_dns.abilist: New file.
6563 * sysdeps/generic/libnss_files.abilist: New file.
6564 * sysdeps/generic/libnss_hesiod.abilist: New file.
6565 * sysdeps/generic/libnss_nis.abilist: New file.
6566 * sysdeps/generic/libnss_nisplus.abilist: New file.
6567 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6568 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6569 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6571 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6572 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6573 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6574 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6575 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6576 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6577 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6578 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6579 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6581 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6582 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6583 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6584 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6586 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6587 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6588 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6589 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6590 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6591 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6593 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6594 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6595 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6597 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6700 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6701 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6702 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6704 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6705 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6706 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6707 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6708 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6709 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6710 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6711 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6712 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6713 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6765 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6767 * conform/conformtest.pl: Fix typo in handling typed-constant from
6770 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6772 * README: Cut down references to pre-2.6 Linux kernels and
6773 Linuxthreads. Update lists of configurations in libc and ports
6774 and sort alphabetically. Say "or newer" with Linux kernel version
6777 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6779 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6782 * math/libm-test.inc (logb_test_downward): New test to expose
6783 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6786 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6789 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6791 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6792 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6794 2012-04-26 Joseph Myers <joseph@codesourcery.com>
6796 * sysdeps/unix/i386/brk.S: Remove file.
6797 * sysdeps/unix/i386/dl-brk.S: Likewise.
6798 * sysdeps/unix/i386/pipe.S: Likewise.
6799 * sysdeps/unix/i386/sigreturn.S: Likewise.
6800 * sysdeps/unix/i386/syscall.S: Likewise.
6801 * sysdeps/unix/i386/vfork.S: Likewise.
6802 * sysdeps/unix/i386/wait.S: Likewise.
6804 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6805 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6807 * configure.in (arm*-none*): Do not allow without
6808 --enable-hacker-mode.
6809 (netbsd*): Remove case setting base_os.
6810 (386bsd*): Likewise.
6811 (freebsd*): Likewise.
6815 (ultrix*): Likewise.
6816 (newsos*): Likewise.
6826 (solaris[2-9]*): Likewise.
6828 * configure: Regenerated.
6830 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6833 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6834 overflow or cancellation in calculating denominator.
6835 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6836 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6837 down expression to avoid unexpected rounding in newer GCCs.
6838 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6840 2012-04-26 David S. Miller <davem@davemloft.net>
6842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6843 long-double compat symbols.
6844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6858 2012-04-25 David S. Miller <davem@davemloft.net>
6860 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6861 HWCAP_* values only after the memory barriers have been defined.
6862 (atomic_full_barrier): Define.
6863 (atomic_read_barrier): Define.
6864 (atomic_write_barrier): Define.
6866 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6868 * shlib-versions: Add libgcc_s version information.
6869 * sysdeps/generic/libgcc_s.h: Remove.
6870 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6872 * sysdeps/gnu/unwind-resume.c: Likewise.
6873 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6875 2012-04-25 David S. Miller <davem@davemloft.net>
6877 * sysdeps/unix/sparc/brk.S: Delete.
6878 * sysdeps/unix/sparc/dl-brk.S: Delete.
6879 * sysdeps/unix/sparc/pipe.S: Delete.
6880 * sysdeps/unix/sparc/sysdep.S: Delete.
6881 * sysdeps/unix/sparc/sysdep.h: Delete.
6882 * sysdeps/unix/sparc/vfork.S: Delete.
6883 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6884 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6885 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6886 ret_ERRVAL, r0, r1, MOVE): Define.
6887 (JUMPTARGET): Remove.
6888 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6889 sysdeps/unix/sparc/sysdep.h
6890 (ENTRY, END): Remove.
6891 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6893 2012-04-25 Joseph Myers <joseph@codesourcery.com>
6895 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6896 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6899 * timezone/README: Update upstream location and email address for
6901 * timezone/zdump.c: Update from tzcode 2012b.
6902 * timezone/zic.c: Likewise.
6904 * configure.in (libc_cv_as_needed): Remove test.
6905 * configure: Regenerated.
6906 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6907 conditional definition.
6908 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6909 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6910 * config.make.in (have-as-needed): Remove variable.
6912 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6913 Paul Pluzhnikov <ppluzhnikov@google.com>
6915 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6918 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6920 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6921 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6922 * sysdeps/sh/strlen.S: Likewise.
6924 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6926 * sysdeps/unix/fork.S: Remove file.
6927 * sysdeps/unix/i386/fork.S: Likewise.
6928 * sysdeps/unix/sparc/fork.S: Likewise.
6930 * sysdeps/unix/system.c: Remove file.
6931 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6933 * sysdeps/unix/getegid.S: Remove file.
6934 * sysdeps/unix/geteuid.S: Likewise.
6936 2012-04-24 Roland McGrath <roland@hack.frob.com>
6938 * scripts/check-localplt.awk: New file.
6939 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6941 * scripts/data/localplt-generic.data: Add a comment.
6943 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6944 NODE when __dir_mkfile failed.
6945 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6946 Reported by Ludovic Courtès <ludo@gnu.org>.
6948 2012-04-24 Andreas Jaeger <aj@suse.de>
6950 * Makerules (common-clean): Also remove gen-as-const-headers
6953 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6955 * Makerules (native-compile): Do not change working directory for
6956 build. Use $(OUTPUT_OPTION) in command.
6957 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6959 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6962 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6963 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6964 * math/libm-test.inc (floor_test): Add more tests.
6965 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6967 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6969 * sysdeps/unix/getdents.c: Remove file.
6970 * sysdeps/unix/sysv/getdents.c: Likewise.
6971 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6973 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6974 sysdeps/unix/mman/syscalls.list.
6976 (mprotect): Likewise.
6979 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6980 * sysdeps/unix/mman/syscalls.list: Remove.
6981 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6983 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6984 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6985 * configure: Regenerated.
6986 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6988 * config.make.in (libgcc_s_suffix): Remove variable.
6990 2012-04-23 Joseph Myers <joseph@codesourcery.com>
6992 * sysdeps/unix/sysv/gethostname.c: Move to ...
6993 * sysdeps/posix/gethostname.c: ... here.
6995 * sysdeps/unix/execve.S: Remove file.
6997 * sysdeps/unix/_exit.S: Remove file.
6999 2012-04-23 Andreas Jaeger <aj@suse.de>
7002 * manual/Makefile: Remove make dist support, there's no
7003 need for a stand-alone documentation tar ball.
7004 (TEXI2DVI): Define always, it's not in Makeconfig.
7008 (glibc-doc-$(edition).tar): Removed
7012 (ETAGS): Remove, it's in Makeconfig.
7013 (move-if-change): Remove, it's in Makeconfig.
7015 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7018 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7019 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7020 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7021 (strtod_l, strtof_l, strtold_l): Remove __wur.
7022 It is not necessarily an error to ignore strtol's return value.
7023 One can reliably look at the stored endptr to decide whether
7024 the number had valid syntax.
7026 2012-04-21 Andreas Jaeger <aj@suse.de>
7029 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7031 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7033 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7034 * sysdeps/unix/sysv/Versions: Remove file.
7036 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7041 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7044 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7045 version from __vm86.
7047 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7049 * sysdeps/unix/common/lxstat.c: Remove file.
7050 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7052 * sysdeps/unix/sysv/Makefile: Remove file.
7054 * sysdeps/unix/sysv/direct.h: Remove file.
7056 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7057 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7058 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7059 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7060 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7061 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7062 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7064 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7066 * sysdeps/unix/xmknod.c: Remove file.
7067 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7069 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7071 * sysdeps/unix/sysv/i386/time.S: Remove file.
7073 * sysdeps/unix/fxstat.c: Remove file.
7074 * sysdeps/unix/xstat.c: Likewise.
7075 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7077 * sysdeps/unix/sysv/sigaction.c: Remove file.
7079 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7080 (sysdep_headers): Remove variable.
7081 [termio.h not in sysdep_headers] (generated): Likewise.
7082 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7083 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7084 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7085 * sysdeps/unix/sysv/tcflow.c: Likewise.
7086 * sysdeps/unix/sysv/tcflush.c: Likewise.
7087 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7088 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7089 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7090 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7091 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7093 * sysdeps/unix/siglist.c: Remove file.
7095 * sysdeps/unix/getppid.S: Remove file.
7097 * sysdeps/unix/mkdir.c: Remove file.
7098 * sysdeps/unix/rmdir.c: Likewise.
7100 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7102 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7104 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7105 errlist-compat value.
7107 2012-04-18 David S. Miller <davem@davemloft.net>
7109 * sysdeps/generic/memcopy.h (reg_char): Delete.
7110 * debug/strcat_chk.c: Use char, not reg_char.
7111 * debug/strcpy_chk.c: Likewise.
7112 * debug/strncat_chk.c: Likewise.
7113 * debug/strncpy_chk.c: Likewise.
7114 * string/memchr.c: Likewise.
7115 * string/memrchr.c: Likewise.
7116 * string/rawmemchr.c: Likewise.
7117 * string/strcat.c: Likewise.
7118 * string/strchr.c: Likewise.
7119 * string/strchrnul.c: Likewise.
7120 * string/strcmp.c: Likewise.
7121 * string/strcpy.c: Likewise.
7122 * string/strncat.c: Likewise.
7123 * string/strncmp.c: Likewise.
7124 * string/strncpy.c: Likewise.
7126 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7128 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7129 __builtin_memcopy is called when src and dest ranges are known to not
7132 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7134 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7135 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7136 fwd_align_merge macro call.
7137 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7138 bwd_align_merge macro call.
7139 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7141 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7143 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7144 bwd_align_merge macros.
7145 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7146 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7147 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7149 2012-04-18 David S. Miller <davem@davemloft.net>
7151 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7153 2012-04-18 Andreas Jaeger <aj@suse.de>
7156 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7157 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7158 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7160 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7161 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7162 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7164 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7165 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7166 Adjust for changed ldbl-128 files.
7168 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7169 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7170 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7172 2012-04-17 David S. Miller <davem@davemloft.net>
7174 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7176 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7178 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7179 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7180 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7181 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7182 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7183 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7185 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7188 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7189 * math/libm-test.inc: Add ilogb errno and exception tests.
7190 * math/w_ilogb.c: New file: ilogb wrapper.
7191 * math/w_ilogbf.c: New file: ilogbf wrapper.
7192 * math/w_ilogbl.c: New file: ilogbl wrapper.
7193 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7194 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7195 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7196 exception being thrown with 0.0 as argument.
7197 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7198 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7199 exception being thrown with 0.0 as argument.
7200 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7201 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7202 exception being thrown with 0.0 as argument.
7203 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7204 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7205 exception being thrown with 0.0 as argument.
7206 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7207 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7208 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7209 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7210 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7211 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7212 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7213 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7214 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7216 2012-04-17 Petr Baudis <pasky@ucw.cz>
7218 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7221 2012-04-16 Marek Polacek <polacek@redhat.com>
7223 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7225 2012-04-16 Marek Polacek <polacek@redhat.com>
7227 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7228 operands of fdivp instruction.
7230 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7232 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7233 * elf/tst-auditmod3b.c: Likewise.
7234 * elf/tst-auditmod4b.c: Likewise.
7235 * elf/tst-auditmod5b.c: Likewise.
7236 * elf/tst-auditmod6b.c: Likewise.
7237 * elf/tst-auditmod6c.c: Likewise.
7238 * elf/tst-auditmod7b.c: Likewise.
7239 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7240 * sysdeps/x86_64/preconfigure.in: Likewise.
7241 * sysdeps/x86_64/preconfigure: Regenerated.
7243 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7245 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7248 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
7250 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7251 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7253 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7256 * locale/iso-639.def: Fix gl language name. Spotted by
7259 2012-04-12 Roland McGrath <roland@hack.frob.com>
7262 * libio/libio.h (__io_write_fn): Update comment.
7264 2012-04-12 Petr Baudis <pasky@ucw.cz>
7267 * stdio.texi (Hook Functions): The user provided writer function
7268 is not allowed to return -1.
7270 2012-04-11 David S. Miller <davem@davemloft.net>
7272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7274 2012-04-11 Mike Frysinger <vapier@gentoo.org>
7276 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7277 Add a leading slash to rtkaio.
7279 2012-04-11 Jim Meyering <meyering@redhat.com>
7282 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7283 It is not necessarily an error to ignore fwrite's return
7284 value. One can reliably use ferror to test for errors after
7287 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7289 * bits/types.h (__snseconds_t): New type.
7290 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7292 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7293 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7294 (__SNSECONDS_T_TYPE): Likewise.
7295 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7296 (__SNSECONDS_T_TYPE): Likewise.
7297 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7298 (__SNSECONDS_T_TYPE): Likewise.
7300 2012-04-10 Andreas Jaeger <aj@suse.de>
7303 * manual/time.texi (Processor Time): Return type of times is
7304 elapsed real time since an arbitrary point in the past.
7305 (CPU Time): Move CLK_TCK from here...
7306 (Processor Time): ...to here. Correct description.
7307 * manual/conf.texi (Constants for Sysconf): Correct description of
7310 2012-04-10 David S. Miller <davem@davemloft.net>
7313 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7314 where the is a gap between DT_REL(A) and DT_JMPREL.
7316 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7318 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7319 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7320 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7322 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7324 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7325 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7326 (dl_main): Handle --inhibit-cache.
7327 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7329 * elf/dl-load.c (_dl_map_object): Use it.
7330 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7332 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7335 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7336 (__ieee754_powl): Saturate large exponents rather than testing for
7337 overflow of y*log2(x).
7338 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7339 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7343 * math/s_ctan.c: Include <float.h>.
7344 (__ctan): Avoid internal overflow or cancellation in calculating
7346 * math/s_ctanf.c: Likewise.
7347 * math/s_ctanl.c: Likewise.
7348 * math/s_ctanh.c: Likewise.
7349 * math/s_ctanhf.c: Likewise.
7350 * math/s_ctanhl.c: Likewise.
7351 * math/libm-test.inc (ctan_test): Add more tests.
7352 (ctanh_test): Likewise.
7353 * sysdeps/i386/fpu/libm-test-ulps: Update.
7354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7356 2012-04-09 Andreas Jaeger <aj@suse.de>
7359 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7360 is an optional BSD extension.
7363 * manual/stdio.texi (Opening Streams): Document additional fopen
7366 2012-04-09 Roland McGrath <roland@hack.frob.com>
7368 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7369 %eax without telling the compiler.
7371 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7374 * manual/install.texi: Use sourceware.org.
7376 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7379 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7380 (__ieee754_pow): Generate overflow and underflow using huge*huge
7381 and tiny*tiny rather than just returning constant infinity or zero
7382 for large exponents.
7383 * math/libm-test.inc (pow_test): Require overflow exceptions for
7384 applicable cases of large exponents.
7387 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7388 (__ieee754_pow): Use iterative multiplication algorithm only for
7389 integer exponents with absolute value below 1024. Check for odd
7390 integer exponents when using algorithm for real exponents.
7391 * math/libm-test.inc (pow_test): Add more tests.
7392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7394 2012-04-08 Joseph Myers <joseph@codesourcery.com>
7397 * math/libm-test.inc (exp_test): Do not allow overflow exception
7400 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7403 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7404 instead of __kernel_standard_f.
7406 2012-04-08 Mike Frysinger <vapier@gentoo.org>
7408 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7409 * sysdeps/x86_64/memset_chk.S: Likewise.
7411 2012-04-08 Andreas Jaeger <aj@suse.de>
7414 * manual/startup.texi (Environment Access): Describe return value
7415 for putenv and setenv.
7418 * manual/filesys.texi (Directory Entries): Add description for
7422 * manual/filesys.texi (Directory Entries): Clarify that it's file
7423 system not operating system in the description of DT_UNKNOWN.
7426 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7428 2012-04-08 Stephen Compall <s11@member.fsf.org>
7431 * manual/llio.texi (Opening and Closing Files): Add cross
7432 reference to explain mode argument.
7434 2012-04-07 Mike Frysinger <vapier@gentoo.org>
7436 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7437 * sysdeps/x86_64/memset_chk.S: Likewise.
7439 2012-04-07 David S. Miller <davem@davemloft.net>
7441 * elf/elf.h (R_SPARC_WDISP10): Define.
7442 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7444 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7445 R_SPARC_SIZE64 and R_SPARC_H34.
7447 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7449 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7450 conditions and remove no longer applicable assertion.
7452 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7454 * bits/byteswap.h: Include <features.h>.
7455 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7456 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7458 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7460 * bits/byteswap.h (__bswap_16): Removed.
7461 Include <bits/byteswap-16.h> to get __bswap_16.
7462 * sysdeps/i386/bits/byteswap.h: Likewise.
7463 * sysdeps/s390/bits/byteswap.h: Likewise.
7464 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7465 * bits/byteswap-16.h: New file.
7466 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7467 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7468 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7469 * string/Makefile (headers): Add bits/byteswap-16.h.
7471 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7474 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7476 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7477 * nss/tst-nss-static.c: New.
7479 2012-04-06 Robert Millan <rmh@gnu.org>
7482 * manual/llio.texi (File Position Primitive): lseek
7483 refers to WHENCE when it really means OFFSET.
7485 2012-04-06 Andreas Jaeger <aj@suse.de>
7487 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7488 strncmp declarations.
7490 * abilist/libc.abilist: Add __poll and __ppoll.
7492 2012-04-05 David S. Miller <davem@davemloft.net>
7494 * scripts/check-local-headers.sh: Accept a host triplet in the
7495 path matched by the exclude regexp.
7497 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7499 * sysdeps/powerpc/powerpc32/dl-machine.h
7500 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7501 * sysdeps/s390/s390-32/dl-machine.h
7502 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7503 * sysdeps/sparc/sparc32/dl-machine.h
7504 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7505 * sysdeps/sparc/sparc64/dl-machine.h
7506 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7508 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7510 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7511 undefined symbol errors.
7513 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7516 2012-04-05 Michael Matz <matz@suse.de>
7519 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7521 2012-04-05 Andreas Jaeger <aj@suse.de>
7524 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7527 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7529 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7530 which ROUND is no valid rounding mode.
7532 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7534 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7536 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7538 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7540 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7541 an exception using FPU order intentionally.
7543 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7545 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7546 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7547 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7548 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7550 2012-04-05 Simon Josefsson <simon@josefsson.org>
7553 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7554 EINVAL when BUFLEN is too smal.
7556 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7559 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7560 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7562 2012-04-03 Andreas Jaeger <aj@suse.de>
7565 * manual/setjmp.texi (System V contexts): Fix sentence.
7568 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7569 New macro for this case.
7570 [!__GNUC__] (__bswap_64): New inline function for this case.
7571 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7572 * bits/byteswap.h: Likewise.
7573 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7574 ull, guard with __GLIBC_HAVE_LONG_LONG.
7576 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7577 __GLIBC_HAVE_LONG_LONG.
7579 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7580 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7582 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7585 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7586 inptr and inend, rather than using last_ch.
7588 2012-04-02 David S. Miller <davem@davemloft.net>
7590 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7591 * stdio-common/printf-parse.h (read_int): Change return type to
7592 'int', return -1 on INT_MAX overflow.
7593 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7594 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7595 overflows INT_MAX. Check for overflow of in-format-string precision
7596 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7597 SIZE_MAX not INT_MAX for integer overflow test.
7598 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7599 skip the construct in the format string but do not record anything.
7600 * stdio-common/bug22.c: Adjust to test both width/prevision
7601 INT_MAX overflow as well as total length INT_MAX overflow. Check
7602 explicitly for proper errno values.
7604 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7606 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7608 * string/test-strcmp.c [! WIDE]: Likewise.
7609 * time/tst-mktime2.c: Likewise for INT_MAX.
7610 * string/test-string.h: #include <sys/param.h> for MIN.
7612 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7613 * sysdeps/i386/init-first.c (init): Likewise.
7614 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7615 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7616 * sysdeps/sh/init-first.c (init): Likewise.
7618 2012-04-01 Ulrich Drepper <drepper@gmail.com>
7620 * po/ru.po: Update from translation team.
7621 * po/vi.po: Likewise.
7623 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7625 * resolv/nss_dns/dns-host.c: Merge copyright years.
7627 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7629 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7630 Optimize memcpy with prefetch if
7631 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7632 src, dst pointers have unequal 16 byte alignments.
7634 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7637 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7638 from a CNAME entry and return the minimum ttl for the query.
7639 (gaih_getanswer_slice): Likewise.
7641 2012-03-30 Jeff Law <law@redhat.com>
7643 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7645 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7646 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7648 * resolv/nss_dns/dns-host.c: Update copyright year.
7650 2012-03-30 Ulrich Drepper <drepper@gmail.com>
7652 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7653 requests to save a system call. Fix check that all bytes are sent.
7655 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7656 comments for sendmmsg.
7658 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7661 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7662 with only 1 character between 0x0041 and 0x01b0.
7663 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7664 * wcsmbs/tst-mbsnrtowcs.c: New file.
7666 2012-03-29 David S. Miller <davem@davemloft.net>
7668 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7669 small copies by hand.
7671 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7674 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7675 _nss_compat_initgroups_dyn): Fall back to malloc/free
7676 for large group memberships.
7678 2012-03-28 David S. Miller <davem@davemloft.net>
7680 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7681 that branches into memcpy.
7682 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7683 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7684 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7685 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7686 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7688 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7690 * sysdeps/sparc/mempcpy.S: New file.
7692 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7693 the IFUNC routine in the libc case.
7694 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7696 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7697 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7698 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7699 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7700 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7701 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7702 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7703 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7705 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7706 loop to 256 bytes instead of 64 bytes and fix test signedness.
7708 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7709 * sysdeps/sparc/sparc32/Makefile: rather than here...
7710 * sysdeps/sparc/sparc64/Makefile: and here.
7712 2012-03-28 Ulrich Drepper <drepper@gmail.com>
7714 * malloc/mallocbug.c: Avoid warnings about unused variables.
7716 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7719 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7720 in the right place. Discard and retry query if response is
7721 larger than input buffer size.
7723 2012-03-28 Joseph Myers <joseph@codesourcery.com>
7728 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7729 x for large integer exponent.
7730 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7731 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7732 sign of result as needed afterwards.
7733 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7734 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7735 result for underflowing pow the same as for overflow.
7736 (__kernel_standard_l): Handle powl overflow and underflow here
7737 rather than calling __kernel_standard.
7738 * math/libm-test.inc (pow_test): Add more tests.
7753 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7754 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7755 (__kernel_standard_l): New function.
7756 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7758 * math/w_acosl.c (__acosl): Likewise.
7759 * math/w_asinl.c (__asinl): Likewise.
7760 * math/w_atan2l.c (__atan2l): Likewise.
7761 * math/w_atanhl.c (__atanhl): Likewise.
7762 * math/w_coshl.c (__coshl): Likewise.
7763 * math/w_exp10l.c (__exp10l): Likewise.
7764 * math/w_exp2l.c (__exp2l): Likewise.
7765 * math/w_fmodl.c (__fmodl): Likewise.
7766 * math/w_hypotl.c (__hypotl): Likewise.
7767 * math/w_j0l.c (__j0l, __y0l): Likewise.
7768 * math/w_j1l.c (__j1l, __y1l): Likewise.
7769 * math/w_jnl.c (__jnl, __ynl): Likewise.
7770 * math/w_lgammal.c (__lgammal): Likewise.
7771 * math/w_log10l.c (__log10l): Likewise.
7772 * math/w_log2l.c (__log2l): Likewise.
7773 * math/w_logl.c (__logl): Likewise.
7774 * math/w_powl.c (__powl): Likewise.
7775 * math/w_remainderl.c (__remainderl): Likewise.
7776 * math/w_scalbl.c (sysv_scalbl): Likewise.
7777 * math/w_sinhl.c (__sinhl): Likewise.
7778 * math/w_sqrtl.c (__sqrtl): Likewise.
7779 * math/w_tgammal.c (__tgammal): Likewise.
7780 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7781 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7782 * math/libm-test.inc (acos_test): Add more tests.
7783 (acosh_test): Likewise.
7784 (asin_test): Likewise.
7785 (atanh_test): Likewise.
7786 (exp_test): Likewise.
7787 (exp10_test): Likewise.
7788 (exp2_test): Likewise.
7789 (expm1_test): Likewise.
7790 (lgamma_test): Likewise.
7791 (log_test): Likewise.
7792 (log10_test): Likewise.
7793 (log1p_test): Likewise.
7794 (log2_test): Likewise.
7795 (pow_test): Do not allow some spurious overflow exceptions.
7796 (sqrt_test): Add more tests.
7797 (tgamma_test): Likewise.
7798 (y0_test): Likewise.
7799 (y1_test): Likewise.
7800 (yn_test): Likewise.
7802 2012-03-27 Anton Blanchard <anton@samba.org>
7804 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7806 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7807 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7808 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7810 2012-03-27 David S. Miller <davem@davemloft.net>
7812 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7814 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7817 2012-03-27 Andreas Jaeger <aj@suse.de>
7819 * sysdeps/x86_64/elf/configure.in: Moved to ...
7820 * sysdeps/x86_64/configure.in: ... here.
7821 * sysdeps/x86_64/elf/start.S: Moved to ...
7822 * sysdeps/x86_64/start.S: ... here.
7823 * sysdeps/x86_64/elf/configure: Delete.
7825 * sysdeps/x86_64/configure.in: Merge contents from
7826 sysdeps/i386/configure.in (without i686 check).
7828 * sysdeps/i386/elf/Versions: Merge into ...
7829 * sysdeps/i386/Versions: ... this.
7830 * sysdeps/i386/elf/Versions: Delete file.
7831 * sysdeps/i386/elf/start.S: Moved to ...
7832 * sysdeps/i386/start.S: ...here.
7833 * sysdeps/i386/elf/configure.in: Merge into...
7834 * sysdeps/i386/configure.in: ...here.
7835 * sysdeps/i386/elf/configure.in: Delete file.
7836 * sysdeps/i386/elf/configure: Delete file.
7838 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7839 * debug/backtracesyms.c: ... here.
7840 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7841 * debug/backtracesymsfd.c: ... here.
7842 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7843 * sysdeps/generic/ifunc-sel.h: ... here.
7845 * sysdeps/unix/i386/start.c: Delete file.
7846 * sysdeps/unix/sparc/start.c: Delete file.
7847 * sysdeps/unix/start.c: Delete file.
7849 * sysdeps/sh/elf/configure.in: Moved to ...
7850 * sysdeps/sh/configure.in: ... here.
7851 * sysdeps/sh/elf/start.S: Moved to ...
7852 * sysdeps/sh/start.S: ... here.
7853 * sysdeps/sh/elf/configure: Delete file.
7855 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7856 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7857 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7858 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7859 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7860 * sysdeps/powerpc/powerpc64/start.S: here.
7861 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7862 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7863 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7864 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7865 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7867 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7868 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7869 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7870 * sysdeps/powerpc/powerpc32/start.S: ... here.
7871 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7872 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7873 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7875 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7876 * sysdeps/powerpc/ifunc-sel.h: ... here.
7877 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7878 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7880 * sysdeps/sparc/elf/configure.in: Moved to ...
7881 * sysdeps/sparc/configure.in: ... here.
7882 * sysdeps/sparc/elf/configure: Delete file.
7883 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7884 * sysdeps/sparc/sparc32/start.S: ... here.
7885 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7886 * sysdeps/sparc/sparc64/start.S: ... here.
7887 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7888 * sysdeps/sparc/sparc32/Makefile: ... this.
7889 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7890 * sysdeps/sparc/sparc64/Makefile: ... this.
7892 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7893 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7894 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7895 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7896 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7897 * sysdeps/s390/s390-32/setjmp.S: ... here.
7898 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7899 * sysdeps/s390/s390-32/configure.in: ... here.
7900 * sysdeps/s390/s390-32/elf/configure: Delete file.
7901 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7902 * sysdeps/s390/s390-32/start.S: ... here.
7904 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7905 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7906 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7907 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7908 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7909 * sysdeps/s390/s390-64/setjmp.S: ... here.
7910 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7911 * sysdeps/s390/s390-64/configure.in: ... here
7912 * sysdeps/s390/s390-64/elf/configure: Delete file.
7913 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7914 * sysdeps/s390/s390-64/start.S: ... here.
7915 * sysdeps/s390/s390-64/elf/configure: Delete.
7917 * configure.in: Remove support for elf directories in sysdeps.
7919 * configure: Regenerated.
7920 * sysdeps/i386/configure: Regenerated.
7921 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7922 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7923 * sysdeps/s390/s390-32/configure: Regenerated.
7924 * sysdeps/s390/s390-64/configure: Regenerated.
7925 * sysdeps/sh/configure: Regenerated.
7926 * sysdeps/sparc/configure: Regenerated.
7927 * sysdeps/x86_64/configure: Regenerated.
7929 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7933 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7934 denormal result into account.
7936 2012-03-25 Roland McGrath <roland@hack.frob.com>
7938 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7939 Reported by Allan McRae <allan@archlinux.org>.
7941 2012-03-23 Jeff Law <law@redhat.com>
7943 * nss/getnssent.c (__nss_getent): Fix typo.
7945 2012-03-23 David S. Miller <davem@davemloft.net>
7947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7949 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7951 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7952 to pad to uint64_t for each field.
7953 (dl_tls_index): Replace unsigned long with uint64_t.
7955 2012-03-23 Daniel Jacobowitz <dmj@google.com>
7956 Paul Pluzhnikov <ppluzhnikov@google.com>
7959 * grp/Makefile (otherlibs): Don't set it.
7960 * inet/Makefile (otherlibs): Likewise.
7961 * login/Makefile (otherlibs): Likewise.
7962 * nscd/Makefile (otherlibs): Likewise.
7963 * posix/Makefile (otherlibs): Likewise.
7964 * pwd/Makefile (otherlibs): Likewise.
7965 * rt/Makefile (otherlibs): Likewise.
7966 * sunrpc/Makefile (otherlibs): Likewise.
7967 * nss/Makefile (otherlibs): Likewise.
7968 Add libnss_files to routines and static-only-routines.
7969 ($(objpfx)getent): Remove rule.
7970 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7971 static-only-routines.
7973 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7976 * math/s_cexp.c: Include <float.h>.
7977 (__cexp): Handle exp result overflowing not necessarily
7978 overflowing both real and imaginary parts of result.
7979 * math/s_cexpf.c: Likewise.
7980 * math/s_cexpl.c: Likewise.
7981 * math/libm-test.inc (cexp_test): Add more tests.
7982 * sysdeps/i386/fpu/libm-test-ulps: Update.
7983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7985 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7987 * include/link.h (ELFW): New macro.
7988 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7989 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7991 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7993 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7996 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7998 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8000 (struct La_x32_retval): Likewise.
8002 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8004 * sysdeps/x86_64/preconfigure.in: New file.
8005 * sysdeps/x86_64/preconfigure: New generated file.
8007 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8010 * math/e_exp2l.c: Include <float.h>.
8011 (__ieee754_exp2l): Handle overflow and underflow cases
8012 separately. Only pass fractional part of argument to
8014 * math/libm-test.inc (exp2_test): Add more tests.
8016 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8017 negating x to take absolute value.
8018 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8020 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8021 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8023 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8024 computing low part if x was negated.
8025 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8027 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8029 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8031 (pltexit): Cast int_retval to ptrdiff_t.
8032 * elf/tst-auditmod3b.c: Likewise.
8033 * elf/tst-auditmod4b.c: Likewise.
8034 * elf/tst-auditmod5b.c: Likewise.
8035 * elf/tst-auditmod6b.c: Likewise.
8036 * elf/tst-auditmod6c.c: Likewise.
8037 * elf/tst-auditmod7b.c: Likewise.
8039 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8040 and x32_gnu_pltexit.
8042 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8044 (La_x32_regs): New macro.
8045 (La_x32_retval): Likewise.
8046 (la_x32_gnu_pltenter): New function prototype.
8047 (la_x32_gnu_pltexit): Likewise.
8049 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8051 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8056 * configure.in (libc_cv_cc_nofma): Check for option to disable
8057 generation of FMA instructions.
8058 * configure: Regenerate.
8059 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8060 * sysdeps/ieee754/dbl-64/Makefile: New file.
8061 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8062 Remove brandred-fma4.
8063 (CFLAGS-brandred-fma4.c): Remove.
8064 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8065 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8067 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8070 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8072 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8073 LLONG_MAX != LONG_MAX.
8074 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8075 (_fitoa_word): Likewise.
8076 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8077 LLONG_MAX != LONG_MAX.
8078 * stdio-common/_itowa.h: Include <_itoa.h>.
8079 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8080 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8081 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8082 only if not defined.
8083 (_ITOA_WORD_TYPE): Likewise.
8084 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8085 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8087 2012-03-21 David S. Miller <davem@davemloft.net>
8089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8091 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8093 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8094 of x86_64 when setting libc_cv_slibdir, libdir and
8096 * sysdeps/unix/sysv/linux/configure: Regenerated.
8098 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8100 * manual/lang.texi (Old Varargs): Remove section.
8101 (How Variadic): Update menu.
8102 (va_start): Do not mention varargs.h.
8104 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8105 Joseph Myers <joseph@codesourcery.com>
8107 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8109 * configure: Regenerated.
8111 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8113 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8114 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8117 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8120 * Makefile (files-for-dist): Remove NOTES.
8121 (NOTES): Remove rule.
8122 * README: Don't refer to NOTES.
8123 * manual/creature.texi: Don't include macros.texi.
8124 * manual/intro.texi (creature.texi): Remove comment referring to
8127 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8128 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8129 * configure: Regenerated.
8130 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8132 (libc_cv_as_i686): Likewise.
8133 (libc_cv_cc_avx): Likewise.
8134 (libc_cv_cc_sse2avx): Likewise.
8135 (libc_cv_cc_fma4): Likewise.
8136 (libc_cv_cc_novzeroupper): Likewise.
8137 * sysdeps/i386/configure: Regenerated.
8140 * sysdeps/i386/fpu/s_cexp.S: Remove.
8141 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8142 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8143 * math/libm-test.inc (cexp_test): Add more tests.
8144 * sysdeps/i386/fpu/libm-test-ulps: Update.
8145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8147 2012-03-21 Allan McRae <allan@archlinux.org>
8149 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8151 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8154 * math/w_exp2.c: Do not include <float.h>.
8155 (o_threshold, u_threshold): Remove.
8156 (__exp2): Calculate result before checking finiteness and calling
8158 * math/w_exp2f.c: Likewise.
8159 * math/w_exp2l.c: Likewise.
8160 * math/libm-test.inc (exp2_test): Require overflow exception for
8164 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8165 range of signed 64-bit integers before using fistpll. Remove
8166 checks for whether integers fit in mantissa bits.
8167 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8168 the range of signed 32-bit integers before using fistpl. Remove
8169 checks for whether integers fit in mantissa bits.
8170 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8171 (__ieee754_powl): Test for y outside the range of signed 64-bit
8172 integers before using fistpll. Reduce 64-bit values to 63-bit
8174 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8175 divide-by-zero is raised for zero to large negative powers.
8176 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8177 (__ieee754_powl): Test for y outside the range of signed 64-bit
8178 integers before using fistpll. Reduce 64-bit values to 63-bit
8180 * math/libm-test.inc (pow_test): Add more tests.
8182 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8184 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8185 <stdio-common/_itoa.h>.
8186 * debug/segfault.c: Likewise.
8187 * elf/dl-cache.c: Likewise.
8188 * elf/dl-minimal.c: Likewise.
8189 * elf/dl-misc.c: Likewise.
8190 * elf/dl-sysdep.c: Likewise.
8191 * elf/dl-version.c: Likewise.
8192 * elf/rtld.c: Likewise.
8193 * hurd/hurdsock.c: Likewise.
8194 * hurd/lookup-retry.c: Likewise.
8195 * malloc/malloc.c: Likewise.
8196 * malloc/mtrace.c: Likewise.
8197 * nscd/nscd_getgr_r.c: Likewise.
8198 * nscd/nscd_getpw_r.c: Likewise.
8199 * nscd/nscd_getserv_r.c: Likewise.
8200 * posix/getopt_init.c: Likewise.
8201 * posix/wordexp.c: Likewise.
8202 * stdio-common/_itoa.c: Likewise.
8203 * stdio-common/printf_fphex.c: Likewise.
8204 * stdio-common/vfprintf.c: Likewise.
8205 * string/_strerror.c: Likewise.
8206 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8207 * sysdeps/i386/i686/hp-timing.h: Likewise.
8208 * sysdeps/mach/_strerror.c: Likewise.
8209 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8210 * sysdeps/mach/hurd/sethostid.c: Likewise.
8211 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8212 * sysdeps/mach/xpg-strerror.c: Likewise.
8213 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8214 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8215 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8216 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8217 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8218 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8219 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8220 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8221 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8222 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8223 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8224 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8225 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8226 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8227 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8228 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8229 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8230 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8231 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8232 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8233 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8235 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8237 * stdio-common/_itoa.h: Moved to ...
8238 * sysdeps/generic/_itoa.h: Here.
8240 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8242 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8243 instead of "_itoa.h" and "_itowa.h".
8244 * stdio-common/vfprintf.: Likewise.
8246 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8248 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8250 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8251 (__signbit): Likwise.
8255 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8257 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8260 2012-03-20 Joseph Myers <joseph@codesourcery.com>
8262 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8263 OVERFLOW_EXCEPTION_OK.
8264 * math/libm-test.inc ("Philosophy"): Update comment about
8266 (OVERFLOW_EXCEPTION): Define.
8267 (OVERFLOW_EXCEPTION_OK): Likewise.
8268 (INVALID_EXCEPTION_OK): Renumber.
8269 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8270 (IGNORE_ZERO_INF_SIGN): Likewise.
8271 (test_exceptions): Handle FE_OVERFLOW.
8272 (exp10_test): Expect overflow exceptions.
8273 (exp2_test): Likewise.
8274 (expm1_test): Likewise.
8275 (nextafter_test): Likewise.
8276 (pow_test): Likewise.
8277 (scalbn_test): Likewise.
8278 (scalbln_test): Likewise.
8280 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8282 * sysdeps/x86_64/bits/atomic.h
8283 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8285 (atomic_exchange_acq): Likewise.
8286 (__arch_exchange_and_add_body): Likewise.
8287 (__arch_add_body): Likewise.
8288 (atomic_add_negative): Likewise.
8289 (atomic_add_zero): Likewise.
8291 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8293 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8294 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8296 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8298 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8299 Check __x86_64__ instead of __WORDSIZE.
8301 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8303 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8305 2012-03-19 David S. Miller <davem@davemloft.net>
8307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8309 * sysdeps/sparc/fpu/fenv_private.h: New file.
8310 * sysdeps/sparc/fpu/math_private.h: Use it.
8311 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8313 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8314 (libc_feholdexcept_setroundl): Remove.
8315 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8317 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8318 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8320 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8322 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8323 int64_t instead of long int.
8324 (INSERT_WORDS64): Likwise.
8326 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8328 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8329 _Unwind_GetCFA return to _Unwind_Ptr first.
8331 2012-03-19 Joseph Myers <joseph@codesourcery.com>
8334 * math/s_clog.c: Include <float.h>.
8335 (__clog): Scale large or subnormal inputs.
8336 * math/s_clogf.c: Likewise.
8337 * math/s_clogl.c: Likewise.
8338 * math/s_clog10.c: Include <float.h>.
8339 (M_LOG10_2): Define.
8340 (__clog10): Scale large or subnormal inputs.
8341 * math/s_clog10f.c: Likewise.
8342 * math/s_clog10l.c: Likewise.
8343 * math/libm-test.inc (clog_test): Add more tests.
8344 (clog10_test): Likewise.
8345 * sysdeps/i386/fpu/libm-test-ulps: Update.
8346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8349 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8351 * math/libm-test.inc (atan2_test): Add another test.
8353 * Makerules (common-objdir-compile): Remove.
8354 * sysdeps/unix/Makefile (config-generated): Do not add
8355 $(unix-generated) to variable.
8356 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8357 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8359 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8361 [generic bits/local_lim.h] (before-compile): Do not append to
8363 [generic bits/local_lim.h] (common-generated): Likewise.
8364 [generic sys/param.h] (before-compile): Do not append to variable.
8365 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8366 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8367 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8368 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8370 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8371 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8372 [generic sys/param.h] ($(addprefix
8373 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8374 [generic sys/param.h] (common-generated): Do not append to
8376 [generic sys/param.h] (sysdep_headers): Likewise.
8377 [generic bits/errno.h] (before-compile): Do not append to
8379 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8381 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8382 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8383 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8384 [generic bits/errno.h] (common-generated): Do not append to
8386 [generic bits/ioctls.h] (before-compile): Do not append to
8388 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8390 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8391 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8392 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8394 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8395 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8396 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8397 [generic bits/ioctls.h] (common-generated): Do not append to
8399 [generic sys/syscall.h] (syscall.h): Remove variable.
8400 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8402 [generic sys/syscall.h] (before-compile): Do not append to
8404 [generic sys/syscall.h] (common-generated): Likewise.
8405 * sysdeps/unix/errnos-tmpl.c: Remove file.
8406 * sysdeps/unix/errnos.awk: Likewise.
8407 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8408 * sysdeps/unix/ioctls.awk: Likewise.
8409 * sysdeps/unix/mk-local_lim.c: Likewise.
8410 * sysdeps/unix/snarf-ioctls: Likewise.
8412 2012-03-19 Richard Henderson <rth@twiddle.net>
8414 * sysdeps/i386/fpu/fenv_private.h: New file.
8415 * sysdeps/i386/fpu/math_private.h: Use it.
8416 (math_opt_barrier, math_force_eval): Remove.
8417 (libc_feholdexcept_setround_53bit): Remove.
8418 (libc_feupdateenv_53bit): Remove.
8419 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8420 (math_opt_barrier, math_force_eval): Remove.
8421 (libc_feholdexcept): Remove.
8422 (libc_feholdexcept_setround): Remove.
8423 (libc_fetestexcept, libc_fesetenv): Remove.
8424 (libc_feupdateenv_test): Remove.
8425 (libc_feupdateenv, libc_feholdsetround): Remove.
8426 (libc_feresetround): Remove.
8428 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8429 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8431 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8432 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8433 (libc_feupdateenv_testl): New.
8434 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8435 (libc_feupdateenv_testf): New.
8436 (libc_feupdateenv): Use libc_feupdateenv_test.
8437 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8438 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8440 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8441 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8442 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8443 (libc_feresetround_noex): New.
8444 (libc_feresetround_noexf): New.
8445 (libc_feresetround_noexl): New.
8446 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8447 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8448 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8449 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8451 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8452 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8454 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8455 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8456 SET_RESTORE_ROUND_NOEX.
8457 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8458 SET_RESTORE_ROUND_NOEXF.
8459 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8460 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8461 (libc_feholdsetroundf): New.
8462 (libc_feresetround, libc_feresetroundf): New.
8464 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8465 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8466 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8468 * sysdeps/generic/math_private.h: Include <fenv.h>.
8469 (default_libc_feholdexcept): New.
8470 (default_libc_feholdexcept_setround): New.
8471 (default_libc_fesetenv, default_libc_feupdateenv): New.
8472 (libc_feholdexcept): Only define if undefined.
8473 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8474 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8475 (libc_feholdexcept_setroundl): Likewise.
8476 (libc_feholdexcept_setround_53bit): Likewise.
8477 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8478 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8479 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8480 (libc_feupdateenv_53bit): Likewise.
8481 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8482 (libc_feholdexcept): Convert from macro to inline function.
8483 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8484 (libc_fesetenv, libc_feupdateenv): Likewise.
8486 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8487 not previously defined.
8488 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8489 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8490 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8491 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8492 * sysdeps/ieee754/flt-32/math_private.h: New file.
8493 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8494 math_private.h below SET_FLOAT_WORD.
8495 (__isnan, __isinf_ns, __finite): Remove.
8496 (__isnanf, __isinf_nsf, __finitef): Remove.
8498 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8502 2012-03-17 David S. Miller <davem@davemloft.net>
8505 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8508 2012-03-16 David S. Miller <davem@davemloft.net>
8510 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8514 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8516 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8517 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8518 sysdep_routines when subdir is sysvipc.
8519 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8522 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8524 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8526 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8529 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8531 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8532 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8533 (__lround): Renamed to ...
8534 (__llround): This. Replace long int with long long int.
8535 Define lround functions as aliases of llround functions.
8536 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8538 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8540 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8541 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8542 adresses to uintptr_t. Replace "long int" and "unsigned long
8543 int" with "greg_t" on va_arg.
8545 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8547 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8548 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8550 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8551 Move e_machine check before EI_CLASS check. Handle x32
8552 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8553 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8554 SKIP_EM_IA_64 and include
8555 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8557 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8558 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8559 (add_system_dir): New macro.
8561 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8562 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8564 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8575 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8577 * math/w_j0f.c (j0f): Likewise.
8579 * math/w_j0l.c (__j0l): Likewise.
8581 * math/w_j1.c (j1): Likewise.
8583 * math/w_j1f.c (j1f): Likewise.
8585 * math/w_j1l.c (__j1l): Likewise.
8587 * math/w_jn.c (jn): Likewise.
8589 * math/w_jnf.c (jnf): Likewise.
8591 * math/w_jnl.c (__jnl): Likewise.
8593 * math/libm-test.inc (j0_test): Add more tests.
8594 (j1_test): Likewise.
8595 (jn_test): Likewise. Add trailing semicolon to existing test.
8596 (y0_test): Likewise.
8597 (y1_test): Likewise.
8598 * sysdeps/i386/fpu/libm-test-ulps: Update.
8599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8603 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8604 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8605 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8606 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8607 (__tanl): Set errno for infinite argument.
8608 * sysdeps/i386/fpu/mptan.c: Remove.
8609 * sysdeps/i386/fpu/s_tan.S: Likewise.
8610 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8611 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8612 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8613 * math/libm-test.inc (tan_test): Add more tests and enable more
8614 tests for double and long double.
8615 * sysdeps/i386/fpu/libm-test-ulps: Update.
8616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8618 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8620 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8621 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8623 2012-03-16 Roland McGrath <roland@hack.frob.com>
8625 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8626 * configure.in: Use it for both main tree and add-ons.
8627 * configure: Regenerated.
8629 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8631 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8633 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8635 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8639 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8640 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8641 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8642 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8643 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8645 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8646 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8648 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8649 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8650 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8651 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8652 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8653 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8654 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8655 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8656 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8657 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8658 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8659 * math/libm-test.inc (cos_test): Add more tests and enable more
8660 tests for long double.
8661 (sin_test): Likewise.
8662 (sincos_test): Likewise.
8663 * sysdeps/i386/fpu/libm-test-ulps: Update.
8664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8666 2012-03-16 David S. Miller <davem@davemloft.net>
8668 * sysdeps/sparc/fpu/math_private.h: New file.
8670 2012-03-15 David S. Miller <davem@davemloft.net>
8672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8682 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8686 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8687 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8689 * sysdeps/sparc/sparc-ifunc.h: New file.
8690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8716 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8717 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8718 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8719 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8728 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8729 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8730 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8731 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8732 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8733 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8735 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8737 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8741 2012-03-15 Andreas Jaeger <aj@suse.de>
8744 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8745 ieee754/flt-32 implementation for sin, cos and sincos.
8746 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8747 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8748 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8749 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8750 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8751 ieee754/flt-32 implementation for tan.
8753 * math/libm-test.inc (cos_test): Enable some large input tests for
8755 (sin_test): Likewise.
8756 (sincos_test): Likewise.
8757 (tan_test): Add tests for large input.
8759 * sysdeps/i386/fpu/libm-test-ulps: Update.
8761 2012-03-15 Andreas Jaeger <aj@suse.de>
8764 * math/libm-test.inc (cos_test): Add more test cases.
8765 (sin_test): Likewise.
8766 (sincos_test): Likewise.
8768 2012-03-15 Andreas Jaeger <aj@suse.de>
8771 * math/libm-test.inc (cos_test): Add a test case for large input
8773 (sin_test): Likewise.
8774 (sincos_test): Likewise.
8776 2012-03-15 Andreas Jaeger <aj@suse.de>,
8777 Joseph Myers <joseph@codesourcery.com>
8780 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
8781 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8782 * sysdeps/i386/fpu/branred.c: Likewise.
8783 * sysdeps/i386/fpu/dosincos.c: Likewise.
8784 * sysdeps/i386/fpu/mpa.c: Likewise.
8785 * sysdeps/i386/fpu/s_cos.S: Likewise.
8786 * sysdeps/i386/fpu/s_sin.S: Likewise.
8787 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8788 * sysdeps/i386/fpu/sincos32.c: Likewise.
8790 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8792 (libc_feupdateenv_53bit): Define.
8793 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8795 (libc_feupdateenv_53bit): Define.
8797 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8798 53 bit (without extend i386 double precision).
8800 * math/libm-test.inc (sincos_test): Add tests for large input.
8804 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8806 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8810 2012-03-15 David S. Miller <davem@davemloft.net>
8812 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8813 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8814 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8815 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8825 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
8827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
8830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
8833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
8836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8839 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8840 fmin/fmax sysdep routines.
8841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8843 2012-03-14 David S. Miller <davem@davemloft.net>
8845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8847 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8848 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8849 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8850 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8851 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8852 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8853 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8856 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8865 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8866 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8867 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8868 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8869 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8870 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8871 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8872 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
8873 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
8878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
8881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
8884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
8887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
8890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
8905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
8908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
8911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
8914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8917 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8922 * sysdeps/sparc/configure.in: New file.
8923 * sysdeps/sparc/configure: Generate.
8924 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8925 * configure: Regenerate.
8926 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8927 * config.make.in (have-as-vis3): New.
8928 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8929 available use -Av9d instead of -Av9a.
8930 * sysdeps/sparc/sparc64/Makefile: Likewise.
8931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
8932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8940 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8941 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8942 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8943 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8944 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8946 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8947 fzeros/fnegs to load 0x80000000 into a float register instead of
8949 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8951 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8953 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8955 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8956 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8957 ($(inst_includedir)/bits/syscall.h): Remove rule.
8958 ($(objpfx)bits/syscall.d): Include instead of
8959 $(objpfx)syscall-list.d.
8960 (generated): Change syscall-list.h and syscall-list.d to
8961 bits/syscall.h and bits/syscall.d.
8963 2012-03-14 Roland McGrath <roland@hack.frob.com>
8966 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8968 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8971 * math/s_csqrt.c: Include <float.h>.
8972 (__csqrt): Scale large or subnormal inputs.
8973 * math/s_csqrtf.c: Likewise.
8974 * math/s_csqrtl.c: Likewise.
8975 * math/libm-test.inc (csqrt_test): Add more tests.
8976 * sysdeps/i386/fpu/libm-test-ulps: Update.
8977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8980 * math/libm-test.inc (hypot_test): Add more tests.
8982 2012-03-13 David S. Miller <davem@davemloft.net>
8985 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8986 double-precision for the calculation instead of scaling.
8988 2012-03-13 Joseph Myers <joseph@codesourcery.com>
8990 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8991 manipulate bits before adding and subtracting TWO52[sx].
8992 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8993 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8995 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8997 2012-03-13 David S. Miller <davem@davemloft.net>
8999 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9000 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9001 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9002 rtld-global-offsets.h
9003 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9005 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9008 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9010 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9011 'err' in the ifdef scope in which it is actually used.
9013 * nss/nss_db/db-init.c: Include string.h
9015 2012-03-12 David S. Miller <davem@davemloft.net>
9017 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9018 masking out of the most significant byte of random value used.
9019 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9020 Fix coding style in previous change.
9022 * sysdeps/unix/sysv/linux/kernel-features.h
9023 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9024 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9026 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9029 2012-03-11 David S. Miller <davem@davemloft.net>
9031 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9032 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9033 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9034 for 'resultvar' otherwise things get truncated on 64-bit.
9036 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9037 Fix masking out of the most significant byte of random value used.
9039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9041 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9045 2012-03-09 David S. Miller <davem@davemloft.net>
9047 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9048 variables with appropriate CPP guards.
9049 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9050 frame pointer, not the stack pointer. Correct layout comments. Fix test
9051 on resulting framesize and the management of the outregs buffer for pltexit.
9052 Preserve floating point return values across _dl_call_pltexit call.
9053 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9054 framesize and the management of the outregs buffer for pltexit.
9055 Preserve floating point return values across _dl_call_pltexit
9057 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9058 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9059 (print_exit): Fix format string for return register value.
9061 2012-03-10 Joseph Myers <joseph@codesourcery.com>
9063 * sunrpc/Makefile (others): Add rpcgen.
9064 ($(objpfx)rpcgen): Remove special build rule and dependency on
9066 * sunrpc/rpcgen.c: New file.
9068 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9071 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9072 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9073 * sysdeps/i386/crti.S: Likewise.
9074 * sysdeps/i386/crtn.S: Likewise.
9075 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9076 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9077 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9078 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9079 * sysdeps/sh/crti.S: Likewise.
9080 * sysdeps/sh/crtn.S: Likewise.
9081 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9084 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9086 * locale/programs/locfile-kw.gperf: Likewise.
9087 * locale/programs/charmap-kw.h: Regenerated.
9088 * locale/programs/locfile-kw.h: Likewise.
9091 * intl/plural.y: Replace FSF snail mail address with URL.
9092 * intl/plural.c: Regenerated.
9094 2012-03-09 Richard Henderson <rth@twiddle.net>
9096 * include/math_private.h: Remove file.
9097 * math/math_private.h: Move file ...
9098 * sysdeps/generic/math_private.h: ... here.
9100 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9101 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9102 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9104 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9105 and <math_private.h>.
9106 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9107 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9108 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9109 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9110 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9111 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9112 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9113 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9114 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9115 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9116 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9117 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9118 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9119 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9120 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9121 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9122 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9123 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9124 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9125 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9126 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9127 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9128 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9129 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9130 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9131 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9132 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9133 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9135 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9136 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9137 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9138 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9139 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9140 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9141 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9142 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9144 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9145 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9146 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9147 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9148 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9149 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9150 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9151 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9152 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9153 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9154 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9155 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9156 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9157 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9158 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9159 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9160 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9161 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9165 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9166 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9169 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9170 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9171 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9172 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9173 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9174 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9175 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9176 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9177 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9178 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9179 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9180 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9181 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9182 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9183 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9184 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9185 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9186 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9187 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9188 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9189 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9190 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9191 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9192 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9193 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9194 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9195 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9196 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9197 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9198 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9199 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9200 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9201 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9202 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9203 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9204 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9205 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9206 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9207 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9208 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9209 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9210 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9211 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9212 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9213 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9214 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9215 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9216 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9217 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9218 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9219 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9220 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9221 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9222 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9223 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9224 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9225 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9226 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9227 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9228 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9229 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9230 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9231 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9232 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9233 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9234 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9235 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9236 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9237 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9238 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9239 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9240 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9241 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9242 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9243 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9244 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9245 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9246 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9247 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9248 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9249 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9250 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9251 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9252 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9253 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9254 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9255 * sysdeps/ieee754/k_standard.c: Likewise.
9256 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9257 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9258 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9259 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9260 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9261 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9262 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9263 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9264 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9265 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9266 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9267 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9268 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9269 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9270 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9271 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9272 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9273 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9274 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9275 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9276 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9277 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9278 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9279 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9280 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9281 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9282 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9283 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9284 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9285 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9286 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9287 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9288 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9289 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9290 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9291 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9292 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9293 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9294 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9295 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9296 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9297 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9298 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9299 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9300 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9301 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9302 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9303 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9304 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9305 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9306 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9307 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9308 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9309 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9310 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9311 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9312 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9313 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9314 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9315 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9316 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9317 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9318 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9319 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9320 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9321 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9322 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9323 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9324 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9325 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9326 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9327 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9328 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9329 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9330 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9331 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9332 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9333 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9334 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9335 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9336 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9337 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9338 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9339 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9340 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9341 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9342 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9343 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9344 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9345 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9346 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9347 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9348 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9349 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9351 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9352 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9353 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9354 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9355 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9356 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9357 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9358 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9359 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9360 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9361 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9362 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9363 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9364 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9365 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9366 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9367 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9368 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9369 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9370 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9371 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9372 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9373 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9374 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9375 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9376 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9377 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9378 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9379 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9380 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9381 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9382 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9383 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9384 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9385 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9386 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9387 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9388 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9389 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9390 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9391 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9392 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9393 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9394 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9395 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9396 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9397 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9398 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9399 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9400 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9401 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9402 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9403 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9404 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9405 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9406 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9407 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9408 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9409 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9410 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9411 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9412 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9413 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9414 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9415 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9416 * sysdeps/ieee754/s_lib_version.c: Likewise.
9417 * sysdeps/ieee754/s_matherr.c: Likewise.
9418 * sysdeps/ieee754/s_signgam.c: Likewise.
9419 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9420 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9421 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9422 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9423 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9424 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9425 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9426 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9427 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9428 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9429 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9430 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9431 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9432 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9433 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9434 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9435 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9436 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9437 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9438 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9439 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9441 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9443 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9444 * sunrpc/rpc_main.c: Likewise.
9445 * sunrpc/rpc_svcout.c: Likewise.
9447 2012-03-09 David S. Miller <davem@davemloft.net>
9449 * include/math_private.h: New file.
9451 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9453 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9454 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9455 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9456 from <bits/socket_type.h>.
9457 (enum __socket_type): Don't define here.
9458 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9459 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9463 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9466 * Makerules ($(inst_includedir)/%.h): New rule.
9467 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9468 (install-others): Remove variable setting.
9469 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9471 2012-03-08 Richard Henderson <rth@twiddle.net>
9473 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9474 from macro to inline function; merge with the
9475 !__LIBC_INTERNAL_MATH_INLINES version.
9476 (__ieee754_sqrtf): Likewise.
9478 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9480 (__rintf, __floor, __floorf): Likewise.
9482 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9483 macro to inline function.
9484 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9486 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9487 not <math/math_private.h>.
9489 2012-03-08 David S. Miller <davem@davemloft.net>
9491 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9493 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9495 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9497 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9499 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9500 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9502 2012-03-08 Ulrich Drepper <drepper@gmail.com>
9504 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9505 be defined individually, they must be defined as a block. Define
9506 S for printing a string instead of hidint the different by using a
9507 macro for adding the 'l'.
9508 * stdio-common/tst-fphex-wide.c: Adjust.
9510 2012-03-07 Marek Polacek <polacek@redhat.com>
9512 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9514 2012-03-08 Marek Polacek <polacek@redhat.com>
9517 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9518 * stdio-common/tst-fphex.c: Define a few macros to make the
9519 test reusable. Use them.
9520 * stdio-common/tst-fphex-wide.c: New file.
9522 2012-03-08 Joseph Myers <joseph@codesourcery.com>
9525 * manual/macros.texi (gnusystems): New macro.
9526 (nongnusystems): Likewise.
9527 (gnulinuxhurdsystems): Likewise.
9528 (gnuhurdsystems): Likewise..
9529 (gnulinuxsystems): Likewise.
9530 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9531 variants of the GNU system, not "GNU system".
9532 * manual/conf.texi: Likewise.
9533 * manual/errno.texi: Likewise. Update example of errno macro
9535 * manual/filesys.texi: Likewise.
9536 (getumask): Document as specific to GNU/Hurd.
9537 * manual/install.texi: Likewise. Reword some references to
9539 * manual/intro.texi: Likewise.
9540 * manual/io.texi: Likewise.
9541 (File Name Portability): Detail which constraints are inapplicable
9542 to all GNU systems and which are only inapplicable to GNU/Hurd.
9543 * manual/job.texi: Likewise.
9544 * manual/llio.texi: Likewise.
9545 (O_NOCTTY): Document as present on GNU/Linux.
9546 * manual/maint.texi: Likewise.
9547 * manual/memory.texi: Likewise.
9548 * manual/pattern.texi: Likewise.
9549 * manual/pipe.texi: Likewise.
9550 * manual/process.texi: Likewise.
9551 * manual/resource.texi: Likewise.
9552 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9554 * manual/setjmp.texi: Likewise.
9555 * manual/signal.texi: Likewise.
9556 * manual/startup.texi: Likewise.
9557 * manual/stdio.texi: Likewise.
9558 * manual/terminal.texi: Likewise.
9559 (ONLCR): Document as POSIX.
9560 (OXTABS): Document availability on GNU/Linux as XTABS.
9561 (ONOEOT): Document availability separately from other bits.
9562 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9563 * manual/time.texi: Likewise.
9564 * manual/users.texi: Likewise.
9565 * INSTALL: Regenerated.
9566 * sysdeps/gnu/errlist.c: Regenerated.
9568 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9569 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9570 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9572 * configure: Regenerated.
9574 2012-03-07 Joseph Myers <joseph@codesourcery.com>
9576 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9577 default includes instead of AC_HEADER_CHECK.
9578 * sysdeps/i386/configure: Regenerated.
9581 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9582 * math/s_cacoshf.c (__cacoshf): Likewise.
9583 * math/s_cacoshl.c (__cacoshl): Likewise.
9584 * math/s_casinh.c (__casinh): Set signs of result from argument.
9585 * math/s_casinhf.c (__casinhf): Likewise.
9586 * math/s_casinhl.c (__casinhl): Likewise.
9587 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9588 (casinh_test): Add more tests.
9589 * sysdeps/i386/fpu/libm-test-ulps: Update.
9590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9592 2012-03-07 Ulrich Drepper <drepper@gmail.com>
9594 * po/zh_TW.po: Update from translation team.
9596 * login/Makefile (distribute): Remove variable.
9597 * catgets/Makefile: Likewise.
9598 * mach/Makefile: Likewise.
9599 * malloc/Makefile: Likewise.
9600 * misc/Makefile: Likewise.
9601 * iconv/Makefile: Likewise.
9602 * nscd/Makefile: Likewise.
9603 * hurd/Makefile: Likewise.
9604 * manual/Makefile: Likewise.
9605 * locale/Makefile: Likewise.
9606 * intl/Makefile: Likewise.
9607 * conform/Makefile: Likewise.
9608 * nss/Makefile: Likewise.
9609 * time/Makefile: Likewise.
9610 * soft-fp/Makefile: Likewise.
9611 * dirent/Makefile: Likewise.
9612 * gmon/Makefile: Likewise.
9613 * po/Makefile: Likewise.
9614 * rt/Makefile: Likewise.
9615 * socket/Makefile: Likewise.
9616 * math/Makefile: Likewise.
9617 * signal/Makefile: Likewise.
9618 * debug/Makefile: Likewise.
9619 * elf/Makefile: Likewise.
9620 * timezone/Makefile: Likewise.
9621 * stdlib/Makefile: Likewise.
9622 * iconvdata/Makefile: Likewise.
9623 * sunrpc/Makefile: Likewise.
9624 * io/Makefile: Likewise.
9625 * argp/Makefile: Likewise.
9626 * inet/Makefile: Likewise.
9627 * hesiod/Makefile: Likewise.
9628 * grp/Makefile: Likewise.
9629 * csu/Makefile: Likewise.
9630 * wctype/Makefile: Likewise.
9631 * crypt/Makefile: Likewise.
9632 * libio/Makefile: Likewise.
9633 * string/Makefile: Likewise.
9634 * nis/Makefile: Likewise.
9635 * resolv/Makefile: Likewise.
9636 * stdio-common/Makefile: Likewise.
9637 * wcsmbs/Makefile: Likewise.
9638 * dlfcn/Makefile: Likewise.
9639 * posix/Makefile: Likewise.
9642 * timezone/Makefile: Don't install timezone files, just the programs
9645 2012-03-06 Ulrich Drepper <drepper@gmail.com>
9647 * nss/databases.def: Add missing gshadow entry.
9649 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9651 2012-03-06 Marek Polacek <polacek@redhat.com>
9654 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9655 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9656 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9657 * stdio-common/tst-long-dbl-fphex.c: New file.
9659 2012-03-06 David S. Miller <davem@davemloft.net>
9661 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9662 (set_obp_int): New function.
9663 (get_obp_int): New function.
9664 (__get_clockfreq_via_dev_openprom): Likewise.
9665 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9666 Avoid unused variable warnings on 'val' and use builtin_expect.
9667 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9669 (INLINE_CLONE_SYSCALL): Likewise.
9671 2012-03-05 David S. Miller <davem@davemloft.net>
9673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9675 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9679 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9681 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9683 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
9685 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9686 Replace gettimeofday with __vdso_gettimeofday.
9688 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9689 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9690 __vdso_clock_gettime and __vdso_getcpu.
9692 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9693 time with __vdso_time.
9695 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9697 * manual/lang.texi (size_t): Note types to which size_t may be
9698 equivalent with the GNU C Library, but do not describe when
9699 differences between them are significant.
9701 2012-03-05 Andreas Jaeger <aj@suse.de>
9703 * sysdeps/i386/fpu/libm-test-ulps: Update.
9705 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9708 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9709 (__ieee754_pow): Save and restore rounding mode and use
9710 round-to-nearest for main computations.
9711 * math/libm-test.inc (pow_test_tonearest): New function.
9712 (pow_test_towardzero): Likewise.
9713 (pow_test_downward): Likewise.
9714 (pow_test_upward): Likewise.
9715 (main): Call the new functions.
9716 * sysdeps/i386/fpu/libm-test-ulps: Update.
9717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9720 * math/libm-test.inc (cosh_test_tonearest): New function.
9721 (cosh_test_towardzero): Likewise.
9722 (cosh_test_downward): Likewise.
9723 (cosh_test_upward): Likewise.
9724 (sinh_test_tonearest): Likewise.
9725 (sinh_test_towardzero): Likewise.
9726 (sinh_test_downward): Likewise.
9727 (sinh_test_upward): Likewise.
9728 (main): Call the new functions.
9729 * sysdeps/i386/fpu/libm-test-ulps: Update.
9730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9732 2012-03-05 Tom de Vries <tom@codesourcery.com>
9734 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9735 default stack guard is set in last bytes.
9736 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9738 2012-03-05 Kees Cook <keescook@chromium.org>
9740 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9743 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9744 possibly allocate from heap instead of stack.
9745 * stdio-common/bug-vfprintf-nargs.c: New file.
9746 * stdio-common/Makefile (tests): Add nargs overflow test.
9748 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9752 2012-03-03 Marek Polacek <polacek@redhat.com>
9754 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9755 * math/math_private.h: Likewise.
9756 * stdlib/tst-strtod.c: Likewise.
9757 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9758 * sysdeps/x86_64/bits/atomic.h: Likewise.
9760 2012-03-02 David S. Miller <davem@davemloft.net>
9762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9766 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9767 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9768 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9769 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9771 2012-03-02 Roland McGrath <roland@hack.frob.com>
9774 * manual/examples/README: New file, says the example source files
9775 can be used under GPL>=2.
9776 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9777 line containing just "*/".
9778 * manual/examples/add.c: Add copyright header (GPL>=2).
9779 * manual/examples/argp-ex1.c: Likewise.
9780 * manual/examples/argp-ex2.c: Likewise.
9781 * manual/examples/argp-ex3.c: Likewise.
9782 * manual/examples/argp-ex4.c: Likewise.
9783 * manual/examples/atexit.c: Likewise.
9784 * manual/examples/db.c: Likewise.
9785 * manual/examples/dir.c: Likewise.
9786 * manual/examples/dir2.c: Likewise.
9787 * manual/examples/execinfo.c: Likewise.
9788 * manual/examples/filecli.c: Likewise.
9789 * manual/examples/filesrv.c: Likewise.
9790 * manual/examples/fmtmsgexpl.c: Likewise.
9791 * manual/examples/genpass.c: Likewise.
9792 * manual/examples/inetcli.c: Likewise.
9793 * manual/examples/inetsrv.c: Likewise.
9794 * manual/examples/isockad.c: Likewise.
9795 * manual/examples/longopt.c: Likewise.
9796 * manual/examples/memopen.c: Likewise.
9797 * manual/examples/memstrm.c: Likewise.
9798 * manual/examples/mkfsock.c: Likewise.
9799 * manual/examples/mkisock.c: Likewise.
9800 * manual/examples/mygetpass.c: Likewise.
9801 * manual/examples/pipe.c: Likewise.
9802 * manual/examples/popen.c: Likewise.
9803 * manual/examples/rprintf.c: Likewise.
9804 * manual/examples/search.c: Likewise.
9805 * manual/examples/select.c: Likewise.
9806 * manual/examples/setjmp.c: Likewise.
9807 * manual/examples/sigh1.c: Likewise.
9808 * manual/examples/sigusr.c: Likewise.
9809 * manual/examples/stpcpy.c: Likewise.
9810 * manual/examples/strdupa.c: Likewise.
9811 * manual/examples/strftim.c: Likewise.
9812 * manual/examples/strncat.c: Likewise.
9813 * manual/examples/subopt.c: Likewise.
9814 * manual/examples/swapcontext.c: Likewise.
9815 * manual/examples/termios.c: Likewise.
9816 * manual/examples/testopt.c: Likewise.
9817 * manual/examples/testpass.c: Likewise.
9818 * manual/examples/timeval_subtract.c: Likewise.
9821 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9823 * manual/timeval_subtract.c.texi: ... here, new file.
9825 2012-03-02 David S. Miller <davem@davemloft.net>
9827 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9829 2012-03-02 Joseph Myers <joseph@codesourcery.com>
9832 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9833 (__sin): Save and restore rounding mode and use round-to-nearest
9834 for all computations.
9835 (__cos): Save and restore rounding mode and use round-to-nearest
9836 for all computations.
9837 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9839 (tan): Save and restore rounding mode and use round-to-nearest for
9841 * math/libm-test.inc (cos_test_tonearest): New function.
9842 (cos_test_towardzero): Likewise.
9843 (cos_test_downward): Likewise.
9844 (cos_test_upward): Likewise.
9845 (sin_test_tonearest): Likewise.
9846 (sin_test_towardzero): Likewise.
9847 (sin_test_downward): Likewise.
9848 (sin_test_upward): Likewise.
9849 (tan_test_tonearest): Likewise.
9850 (tan_test_towardzero): Likewise.
9851 (tan_test_downward): Likewise.
9852 (tan_test_upward): Likewise.
9853 (main): Call the new functions.
9854 * sysdeps/i386/fpu/libm-test-ulps: Update.
9855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9858 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9859 small n, then large n, before computing and testing k+n.
9860 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9861 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9863 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9865 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9866 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9867 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9868 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9869 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9870 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9871 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9872 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9873 * math/libm-test.inc (scalbn_test): Add more tests.
9874 (scalbln_test): Likewise.
9876 * manual/filesys.texi (mode_t): Describe constraints on size and
9877 signedness, not exact equivalence to a particular type.
9879 (ino64_t): Likewise.
9881 (nlink_t): Likewise.
9882 (blkcnt_t): Likewise.
9883 (blkcnt64_t): Likewise.
9884 * manual/llio.texi (off_t): Likewise.
9887 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9888 (__ieee754_exp): Save and restore rounding mode and use
9889 round-to-nearest for all computations.
9890 * math/libm-test.inc (exp_test_tonearest): New function.
9891 (exp_test_towardzero): Likewise.
9892 (exp_test_downward): Likewise.
9893 (exp_test_upward): Likewise.
9894 (main): Call the new functions.
9895 * sysdeps/i386/fpu/libm-test-ulps: Update.
9896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9898 2012-03-01 Chris Demetriou <cgd@google.com>
9900 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9901 have predictable order.
9903 2012-03-01 David S. Miller <davem@davemloft.net>
9905 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9907 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9908 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9909 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9910 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9912 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9913 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9914 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9916 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9917 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9918 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9919 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9920 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9924 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9925 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9926 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9928 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9929 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9930 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9931 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9932 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9933 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9934 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9935 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9936 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9937 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9938 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9939 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9940 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9941 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9942 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9943 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9944 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9945 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9946 * sysdeps/sparc/elf/configure: Regenerated.
9948 2012-03-01 Joseph Myers <joseph@codesourcery.com>
9950 * configure.in (AS, LD): Require binutils 2.20 or later.
9951 * configure: Regenerated.
9952 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9953 as required minimum version.
9954 * INSTALL: Regenerated.
9958 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9959 before squaring exponent.
9960 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9961 bottom long double and 27 bits of top long double before squaring
9963 * math/libm-test.inc (erfc_test): Add more tests.
9964 * sysdeps/i386/fpu/libm-test-ulps: Update.
9965 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9968 2012-03-01 Kai Tietz <ktietz@redhat.com>
9970 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9971 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9972 containing bit-fields.
9973 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9974 * soft-fp/single.h (_FP_UNION_S): Likewise.
9975 * soft-fp/double.h (_FP_UNION_D): Likewise.
9977 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9980 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9981 not include ../strcmp.S.
9982 [USE_AS_STRNCASECMP_L]: Likewise.
9983 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9984 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9985 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9986 (__strncasecmp_l_ia32): Define as alias to
9987 __strncasecmp_l_nonascii.
9990 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9991 * sysdeps/i386/fpu/libm-test-ulps: Update.
9992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9994 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9997 2012-02-29 Jeff Law <law@redhat.com>
9999 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10000 out of bounds read.
10002 2012-02-29 Marek Polacek <polacek@redhat.com>
10005 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10006 * elf/Makefile: Add rules to run tst-unused-dep.out.
10008 2012-02-28 David S. Miller <davem@davemloft.net>
10010 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10011 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10012 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10013 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10014 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10015 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10017 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10019 * math/libm-test.inc (llround_test): Move one test from
10020 lround_test. Use TEST_f_L in moved test.
10021 (lround_test): Move misplaced test to llround_test. Add testcase
10024 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10026 * sysdeps/x86_64/fpu/e_expf.S: New file.
10027 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10029 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10032 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10033 of remain_len that may cause incomplete multi-byte character and
10035 * posix/bug-regex33.c: New file.
10036 * posix/Makefile (tests): Add bug-regex33.
10038 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10040 * manual/macros.texi: New file.
10041 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10042 * manual/libc.texinfo: Include macros.texi.
10043 * manual/creatute.texi: Likewise.
10044 * manual/install.texi: Likewise.
10045 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10046 @glibcadj{} in references to the GNU C Library.
10047 * manual/charset.texi: Likewise.
10048 * manual/conf.texi: Likewise.
10049 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10050 when not using those macros.
10051 * manual/creature.texi: Likewise.
10052 * manual/crypt.texi: Likewise.
10053 * manual/errno.texi: Likewise.
10054 * manual/filesys.texi: Likewise.
10055 * manual/header.texi: Likewise.
10056 * manual/install.texi: Likewise.
10057 * manual/intro.texi: Likewise.
10058 * manual/io.texi: Likewise.
10059 * manual/job.texi: Likewise.
10060 * manual/lang.texi: Likewise.
10061 * manual/libc.texiinfo: Likewise.
10062 * manual/llio.texi: Likewise.
10063 * manual/locale.texi: Likewise.
10064 * manual/maint.texi: Likewise.
10065 * manual/math.texi: Likewise.
10066 * manual/memory.texi: Likewise.
10067 * manual/message.texi: Likewise.
10068 * manual/nss.texi: Likewise.
10069 * manual/pattern.texi: Likewise.
10070 * manual/process.texi: Likewise.
10071 * manual/resource.texi: Likewise.
10072 * manual/search.texi: Likewise.
10073 * manual/setjmp.texi: Likewise.
10074 * manual/signal.texi: Likewise.
10075 * manual/socket.texi: Likewise.
10076 * manual/startup.texi: Likewise.
10077 * manual/stdio.texi: Likewise.
10078 * manual/string.texi: Likewise.
10079 * manual/sysinfo.texi: Likewise.
10080 * manual/syslog.texi: Likewise.
10081 * manual/terminal.texi: Likewise.
10082 * manual/time.texi: Likewise.
10083 * manual/users.texi: Likewise.
10084 * INSTALL: Regenerated.
10085 * NOTES: Regenerated.
10086 * sysdeps/gnu/errlist.c: Regenerated.
10088 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10090 * include/dirent.h: Include <dirstream.h> before
10093 2012-02-28 David S. Miller <davem@davemloft.net>
10095 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10096 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10097 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10098 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10100 2012-02-27 David S. Miller <davem@davemloft.net>
10102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10104 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10105 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10108 frame pointer instead of stack pointer relative arg slot.
10109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10110 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10111 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10113 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10116 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10118 2012-02-27 David S. Miller <davem@davemloft.net>
10120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10124 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10125 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10126 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10127 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10129 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10131 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10132 later. Allow versions 5-9.
10133 * configure: Regenerated.
10134 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10135 required minimum version and 4.6 as recommended version. Do not
10136 mention bugs in GCC 2.7 and 2.8.
10137 * INSTALL: Regenerated.
10139 2012-02-27 David S. Miller <davem@davemloft.net>
10141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10145 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10146 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10147 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10148 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10150 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10151 manipulate bits before adding and subtracting TWO112[sx].
10152 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10154 2012-02-27 Roland McGrath <roland@hack.frob.com>
10157 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10158 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10159 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10160 being in POSIX, because they are in 1003.1-2008.
10162 * rt/tst-aio.c: Include <fcntl.h>.
10163 * rt/tst-aio7.c: Likewise.
10164 * rt/tst-aio64.c: Likewise.
10166 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10168 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10170 * manual/install.texi (--with-headers): Describe headers as
10171 interface headers, not private headers.
10172 (Specific advice for GNU/Linux systems): Describe use of headers
10173 from "make headers_install", not private headers from older
10175 * INSTALL: Regenerated.
10176 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10178 * sysdeps/unix/sysv/linux/configure: Regenerated.
10180 * manual/llio.texi (fclean): Remove documentation.
10182 * manual/Makefile (libc-texi-generated): New variable. Include
10184 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10185 $(libc-texi-generated), not duplicated list of files.
10186 (version.texi, stamp-version): New rules.
10187 (realclean): Remove $(libc-texi-generated), not individual files
10188 from that list. Do not remove dir-add.texinfo.
10189 * manual/libc.texinfo: Comment out uses of edition numbers and
10190 references to printed manual. Remove last-updated dates.
10191 (EDITION): Comment out.
10193 (VERSION, UPDATED): Remove.
10194 (version.texi): Include.
10196 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10198 * sysdeps/posix/spawni.c: Include <signal.h>.
10199 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10200 * sysdeps/pthread/aio_fsync.c: Likewise.
10202 2012-02-26 Ulrich Drepper <drepper@gmail.com>
10204 * conform/Makefile (tests): Run only when not cross-compiling and
10205 when fast-check is not defined.
10207 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10208 * conform/data/limits.h-data: Fixes for POSIX2008.
10209 * conform/run-conformtest.sh: Run all tests.
10210 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10212 * include/bits/dlfcn.h: Likewise.
10213 * include/langinfo.h: Likewise.
10214 * include/monetary.h: Likewise.
10215 * include/sys/poll.h: Likewise.
10217 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10219 * posix/spawn.h: Define __need_sigset_t.
10220 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10221 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10222 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10223 to get sigevent_t only.
10224 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10225 only for __USE_GNU.
10226 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10227 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10228 process_vm_writev only for __USE_GNU.
10229 * termios/termios.h: Declare tcgetsid also for POSIX2008.
10231 * conform/Makefile: For now ignore errors from run-conformtest.
10232 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10233 POSIX to avoid namespace pollution. Don't prepend headers.
10234 * conform/data/aio.h-data: Fixes for POSIX testing.
10235 * conform/data/fcntl.h-data: Likewise.
10236 * conform/data/glob.h-data: Likewise.
10237 * conform/data/grp.h-data: Likewise.
10238 * conform/data/pthread.h-data: Likewise.
10239 * conform/data/pwd.h-data: Likewise.
10240 * conform/data/signal.h-data: Likewise.
10241 * conform/data/spawn.h-data: Likewise.
10242 * conform/data/stdio.h-data: Likewise.
10243 * conform/data/stdlib.h-data: Likewise.
10244 * conform/data/stropts.h-data: Likewise.
10245 * conform/data/sys/mman.h-data: Likewise.
10246 * conform/data/sys/stat.h-data: Likewise.
10247 * conform/data/sys/types.h-data: Likewise.
10248 * conform/data/sys/wait.h-data: Likewise.
10249 * conform/data/time.h-data: Likewise.
10250 * conform/data/unistd.h-data: Likewise.
10251 * conform/data/utime.h-data: Likewise.
10253 * io/sys/stat.h: fchmod was always in POSIX.
10254 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10255 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10256 * rt/aio.h: Define __need_timespec before including <time.h>.
10257 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10258 struct. Add forward declaration of pthread_attr_t and use it in
10260 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10261 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10262 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10263 always remove CLK_TCK definition.
10265 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10267 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10269 2012-02-25 Ulrich Drepper <drepper@gmail.com>
10271 * conform/run-conformtest.sh: New file.
10272 * conform/Makefile: Run run-conformtest for tests.
10273 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10276 * conform/data/uchar.h-data: New file.
10277 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10278 * conform/data/arpa/inet.h-data: Likewise.
10279 * conform/data/assert.h-data: Likewise.
10280 * conform/data/complex.h-data: Likewise.
10281 * conform/data/cpio.h-data: Likewise.
10282 * conform/data/ctype.h-data: Likewise.
10283 * conform/data/dirent.h-data: Likewise.
10284 * conform/data/dlfcn.h-data: Likewise.
10285 * conform/data/errno.h-data: Likewise.
10286 * conform/data/fcntl.h-data: Likewise.
10287 * conform/data/float.h-data: Likewise.
10288 * conform/data/fmtmsg.h-data: Likewise.
10289 * conform/data/fnmatch.h-data: Likewise.
10290 * conform/data/ftw.h-data: Likewise.
10291 * conform/data/glob.h-data: Likewise.
10292 * conform/data/grp.h-data: Likewise.
10293 * conform/data/iconv.h-data: Likewise.
10294 * conform/data/inttypes.h-data: Likewise.
10295 * conform/data/langinfo.h-data: Likewise.
10296 * conform/data/libgen.h-data: Likewise.
10297 * conform/data/limits.h-data: Likewise.
10298 * conform/data/locale.h-data: Likewise.
10299 * conform/data/math.h-data: Likewise.
10300 * conform/data/monetary.h-data: Likewise.
10301 * conform/data/mqueue.h-data: Likewise.
10302 * conform/data/ndbm.h-data: Likewise.
10303 * conform/data/net/if.h-data: Likewise.
10304 * conform/data/netdb.h-data: Likewise.
10305 * conform/data/netinet/in.h-data: Likewise.
10306 * conform/data/nl_types.h-data: Likewise.
10307 * conform/data/poll.h-data: Likewise.
10308 * conform/data/pthread.h-data: Likewise.
10309 * conform/data/pwd.h-data: Likewise.
10310 * conform/data/regex.h-data: Likewise.
10311 * conform/data/sched.h-data: Likewise.
10312 * conform/data/search.h-data: Likewise.
10313 * conform/data/semaphore.h-data: Likewise.
10314 * conform/data/setjmp.h-data: Likewise.
10315 * conform/data/signal.h-data: Likewise.
10316 * conform/data/spawn.h-data: Likewise.
10317 * conform/data/stdarg.h-data: Likewise.
10318 * conform/data/stdio.h-data: Likewise.
10319 * conform/data/stdlib.h-data: Likewise.
10320 * conform/data/string.h-data: Likewise.
10321 * conform/data/strings.h-data: Likewise.
10322 * conform/data/stropts.h-data: Likewise.
10323 * conform/data/sys/ipc.h-data: Likewise.
10324 * conform/data/sys/mman.h-data: Likewise.
10325 * conform/data/sys/msg.h-data: Likewise.
10326 * conform/data/sys/resource.h-data: Likewise.
10327 * conform/data/sys/select.h-data: Likewise.
10328 * conform/data/sys/sem.h-data: Likewise.
10329 * conform/data/sys/shm.h-data: Likewise.
10330 * conform/data/sys/socket.h-data: Likewise.
10331 * conform/data/sys/stat.h-data: Likewise.
10332 * conform/data/sys/statvfs.h-data: Likewise.
10333 * conform/data/sys/time.h-data: Likewise.
10334 * conform/data/sys/timeb.h-data: Likewise.
10335 * conform/data/sys/times.h-data: Likewise.
10336 * conform/data/sys/types.h-data: Likewise.
10337 * conform/data/sys/uio.h-data: Likewise.
10338 * conform/data/sys/un.h-data: Likewise.
10339 * conform/data/sys/utsname.h-data: Likewise.
10340 * conform/data/sys/wait.h-data: Likewise.
10341 * conform/data/syslog.h-data: Likewise.
10342 * conform/data/tar.h-data: Likewise.
10343 * conform/data/termios.h-data: Likewise.
10344 * conform/data/utime.h-data: Likewise.
10345 * conform/data/utmpx.h-data: Likewise.
10346 * conform/data/varargs.h-data: Likewise.
10347 * conform/data/wchar.h-data: Likewise.
10348 * conform/data/wctype.h-data: Likewise.
10349 * conform/data/wordexp.h-data: Likewise.
10351 * include/stropts.h: New file.
10352 * include/uchar.h: New file.
10353 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10354 * include/assert.h: Likewise.
10355 * include/ctype.h: Likewise.
10356 * include/dirent.h: Likewise.
10357 * include/dlfcn.h: Likewise.
10358 * include/fcntl.h: Likewise.
10359 * include/fnmatch.h: Likewise.
10360 * include/glob.h: Likewise.
10361 * include/grp.h: Likewise.
10362 * include/libio.h: Likewise.
10363 * include/locale.h: Likewise.
10364 * include/math.h: Likewise.
10365 * include/net/if.h: Likewise.
10366 * include/netdb.h: Likewise.
10367 * include/netinet/in.h: Likewise.
10368 * include/pthread.h: Likewise.
10369 * include/pwd.h: Likewise.
10370 * include/regex.h: Likewise.
10371 * include/sched.h: Likewise.
10372 * include/search.h: Likewise.
10373 * include/setjmp.h: Likewise.
10374 * include/signal.h: Likewise.
10375 * include/stdio.h: Likewise.
10376 * include/stdlib.h: Likewise.
10377 * include/string.h: Likewise.
10378 * include/sys/cdefs.h: Likewise.
10379 * include/sys/mman.h: Likewise.
10380 * include/sys/msg.h: Likewise.
10381 * include/sys/resource.h: Likewise.
10382 * include/sys/select.h: Likewise.
10383 * include/sys/socket.h: Likewise.
10384 * include/sys/stat.h: Likewise.
10385 * include/sys/statvfs.h: Likewise.
10386 * include/sys/time.h: Likewise.
10387 * include/sys/times.h: Likewise.
10388 * include/sys/uio.h: Likewise.
10389 * include/sys/utsname.h: Likewise.
10390 * include/sys/wait.h: Likewise.
10391 * include/termios.h: Likewise.
10392 * include/time.h: Likewise.
10393 * include/ulimit.h: Likewise.
10394 * include/unistd.h: Likewise.
10395 * include/utime.h: Likewise.
10396 * include/wchar.h: Likewise.
10397 * include/wctype.h: Likewise.
10398 * include/wordexp.h: Likewise.
10400 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10402 * time/time.h: TIME_UTC must be a macro.
10403 Make timespec_get available for ISO C11 only as well.
10405 2012-02-24 Ulrich Drepper <drepper@gmail.com>
10407 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10408 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10410 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10412 * configure.in: Use -o not -a in test for unsupported multi-arch.
10414 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10416 * manual/texinfo.tex: Update to version 2012-01-19.16.
10418 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10420 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10422 2012-02-24 Roland McGrath <roland@hack.frob.com>
10425 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10426 * manual/fdl-1.3.texi: New file.
10427 * manual/fdl-1.1.texi: File removed.
10430 * manual/libc.texinfo (FDL_VERSION): New @set.
10431 Use it for mention of FDL in cover text.
10432 (Documentation License): Use it in @include file name.
10434 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10435 Roland McGrath <roland@hack.frob.com>
10438 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10439 not LONG_LONG_MAX and LONG_LONG_MIN.
10440 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10441 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10443 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10445 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10449 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10450 manipulate bits before adding and subtracting TWO23[sx].
10451 * math/libm-test.inc (nearbyint_test): Add more tests.
10453 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10456 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10457 bits before adding and subtracting TWO23[sx].
10458 * math/libm-test.inc (rint_test): Add more tests.
10459 (rint_test_tonearest): Likewise.
10460 (rint_test_towardzero): Likewise.
10461 (rint_test_downward): Likewise.
10462 (rint_test_upward: Likewise.
10464 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10467 * include/stdc-predef.h: New file. Extracted from features.h.
10468 * include/features.h: Include stdc-predef.h.
10469 * Makefile (headers): Add stdc-predef.h.
10470 * CONFORMANCE (Compiler limitations): Update.
10472 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10474 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10476 2012-02-21 David S. Miller <davem@davemloft.net>
10478 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10479 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10481 2012-02-20 David S. Miller <davem@davemloft.net>
10483 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10484 using a normal save/restore sequence, rather than allocating a
10485 dummy stack frame just to store a frame pointer and restore.
10486 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10488 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10490 * manual/install.texi: Fix stray word in line-wrapped comment.
10492 2012-02-20 David S. Miller <davem@davemloft.net>
10494 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10495 both binutils and gcc support GOTDATA.
10497 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10498 "rd %pc" in the PIC register setup sequences.
10500 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10501 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10502 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10503 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10504 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10505 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10506 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10507 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10508 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10509 (SYSCALL_ERROR_HANDLER): Likewise.
10510 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10511 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10512 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10513 (SYSCALL_ERROR_HANDLER): Likewise.
10515 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10516 (HAVE_GCC_GOTDATA): New.
10517 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10518 relocation support in both binutils and gcc.
10519 * sysdeps/sparc/elf/configure: Regenerate.
10521 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10522 * sysdeps/sparc/sparc32/elf/configure: Delete.
10523 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10524 * sysdeps/sparc/sparc64/elf/configure: Delete.
10525 * sysdeps/sparc/elf/configure.in: New file.
10526 * sysdeps/sparc/elf/configure: Generate.
10528 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10529 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10530 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10531 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10532 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10534 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10536 * manual/install.texi: Do not mention specific glibc version
10538 * manual/libc.texinfo (VERSION, UPDATED): Update.
10539 (@copying): Use @copyright{} and range of years.
10541 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10544 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10545 [crti.S not in sysdirs] (generated): Do not append.
10546 [crti.S not in sysdirs] (omit-deps): Likewise.
10547 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10548 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10549 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10550 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10551 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10553 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10554 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10555 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10556 * csu/defs.awk: Remove file.
10557 * sysdeps/generic/initfini.c: Likewise.
10558 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10560 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10563 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10565 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10566 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10567 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10568 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10569 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10570 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10572 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10573 (__EPOLL_PACKED): Define to empty if not defined by
10575 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10579 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10581 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10582 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10583 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10584 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10586 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10587 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10590 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10592 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10594 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10595 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10596 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10599 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10601 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10602 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10604 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10606 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10607 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10609 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10611 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10614 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10616 * math/w_acos.c: Use non-signaling floating-point comparisons.
10617 * math/w_acosf.c: Likewise.
10618 * math/w_acosh.c: Likewise.
10619 * math/w_acoshf.c: Likewise.
10620 * math/w_acoshl.c: Likewise.
10621 * math/w_acosl.c: Likewise.
10622 * math/w_asin.c: Likewise.
10623 * math/w_asinf.c: Likewise.
10624 * math/w_asinl.c: Likewise.
10625 * math/w_atanh.c: Likewise.
10626 * math/w_atanhf.c: Likewise.
10627 * math/w_atanhl.c: Likewise.
10628 * math/w_exp2.c: Likewise.
10629 * math/w_exp2f.c: Likewise.
10630 * math/w_exp2l.c: Likewise.
10631 * math/w_j0.c: Likewise.
10632 * math/w_j0f.c: Likewise.
10633 * math/w_j0l.c: Likewise.
10634 * math/w_j1.c: Likewise.
10635 * math/w_j1f.c: Likewise.
10636 * math/w_j1l.c: Likewise.
10637 * math/w_jn.c: Likewise.
10638 * math/w_jnf.c: Likewise.
10639 * math/w_log.c: Likewise.
10640 * math/w_log10.c: Likewise.
10641 * math/w_log10f.c: Likewise.
10642 * math/w_log10l.c: Likewise.
10643 * math/w_log2.c: Likewise.
10644 * math/w_log2f.c: Likewise.
10645 * math/w_log2l.c: Likewise.
10646 * math/w_logf.c: Likewise.
10647 * math/w_logl.c: Likewise.
10648 * math/w_sqrt.c: Likewise.
10649 * math/w_sqrtf.c: Likewise.
10650 * math/w_sqrtl.c: Likewise.
10651 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10652 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10653 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10654 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10655 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10657 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10660 * manual/string.texi (strnlen): Use correct parameter name in
10661 equivalent expression.
10663 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10666 * manual/users.texi (seteuid): Consistently use neweuid for
10669 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10672 * manual/nss.texi (Services in the NSS configuration): Correct
10673 list of services in example configuration file.
10675 2012-02-19 Nick Bowler <nbowler@draconx.ca>
10678 * manual/arith.texi: Remove statements about negative zero
10679 behaving identically to zero.
10681 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10684 * manual/install.texi: Do not document upgrading from libc5.
10686 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10689 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10691 2012-02-18 David S. Miller <davem@davemloft.net>
10693 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10694 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10695 %o7 across the call.
10696 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10698 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10699 SETUP_PIC_REG_LEAF.
10700 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10701 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10702 * sysdeps/sparc/crtn.S: Likewise.
10704 2012-02-17 Ulrich Drepper <drepper@gmail.com>
10706 * aout/Makefile: Remove.
10708 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10711 * manual/examples/argp-ex1.c (main): Format definition in GNU
10713 * manual/examples/argp-ex2.c (main): Likewise.
10714 * manual/examples/argp-ex3.c (main): Likewise.
10715 * manual/examples/argp-ex4.c (main): Likewise.
10716 * manual/examples/longopt.c (main): Use new-style prototype
10718 * manual/examples/strncat.c (main): Specify return type and use
10719 (void) for arguments.
10720 * manual/examples/subopt.c (main): Use char **argv argument.
10722 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10725 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10728 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10731 * manual/string.texi (strchr): Change when strchrnul is
10734 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10737 * manual/locale.texi (setlocale): Document LOCPATH.
10739 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10742 * manual/process.texi (execle): Move @dots{} before last argument.
10744 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
10747 * manual/charset.texi (Generic Charset Conversion): Fix typo
10748 (LC_TYPE -> LC_CTYPE).
10750 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10753 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10754 (scalbnf): Likewise.
10755 (scalbnl): Likewise.
10756 (scalbln): Likewise.
10757 (scalblnf): Likewise.
10758 (scalblnl): Likewise.
10759 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10760 (vwarnx): Likewise.
10763 * manual/filesys.texi (telldir): Use braces around return type.
10764 * manual/llio.texi (mmap): Add space after comma.
10765 (mmap64): Likewise.
10766 * manual/math.texi (jn): Use @var{} on parameter names.
10772 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10774 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10776 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10777 (sched_get_priority_max): Likewise.
10778 * manual/signal.texi (sigvec): Add space after comma.
10779 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10781 (if_indextoname): Likewise.
10782 (if_freenameindex): Likewise.
10783 (sendto): Use ',' instead of '.' in prototype.
10784 * manual/startup.texi (syscall): Use @dots{} instead of literal
10786 * manual/stdio.texi (__fpending): Separate initial words of
10787 paragraph from @deftypefun line.
10788 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10790 (vsyslog): Use @var{} on parameter names.
10791 * manual/terminal.texi (stty): Use @var{} on parameter names.
10792 * manual/users.texi (getutmp): Use @var{} on parameter names.
10793 (getutmpx): Likewise.
10795 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10798 * manual/stdio.texi (fopen): Fix typos in description of
10801 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10804 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10805 get clock_id definition.
10807 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
10810 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10811 (madvise): Cast every argument to void on its own.
10813 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10816 * manual/startup.texi (Exit Status): Fix typo.
10818 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10821 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10822 * manual/examples/argp-ex2.c: Likewise.
10823 * manual/examples/argp-ex3.c: Likewise.
10825 2012-02-16 Richard Henderson <rth@redhat.com>
10827 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10828 * sysdeps/s390/s390-32/initfini.c: Remove.
10829 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10830 * sysdeps/s390/s390-64/initfini.c: Remove.
10832 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10834 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10835 compiler output for sysdeps/generic/initfini.c.
10836 * sysdeps/sh/elf/initfini.c: Remove file.
10838 2012-02-16 David S. Miller <davem@davemloft.net>
10841 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10843 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10844 * sysdeps/sparc/crti.S: New file.
10845 * sysdeps/sparc/crtn.S: New file.
10846 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10847 * sysdeps/sparc/sparc64/Makefile: Likewise.
10849 2012-02-15 Mike Frysinger <vapier@gentoo.org>
10852 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10854 2012-02-15 Roland McGrath <roland@hack.frob.com>
10857 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10859 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10860 (write, read, close): Likewise.
10861 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10863 2012-02-15 Joseph Myers <joseph@codesourcery.com>
10865 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10866 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10867 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10868 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10870 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10871 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10874 2012-02-14 Marek Polacek <polacek@redhat.com>
10876 * sysdeps/x86_64/crti.S: New file.
10877 * sysdeps/x86_64/crtn.S: New file.
10878 * sysdeps/x86_64/elf/initfini.c: Remove file.
10880 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10882 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10883 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10884 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10885 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10887 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10891 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10893 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10894 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10895 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10896 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10898 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10902 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10904 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10905 __feraiseexcept instead of feraiseexcept.
10907 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10908 nanosleep invocations.
10909 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10910 strings, and add error checking for a nanosleep invocations.
10912 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10914 Replace FSF snail mail address with URLs, as per GNU coding standards.
10915 Most of the snail mail addresses were wrong anyway, and omitting
10916 them makes the source code easier to maintain. Almost all of the
10917 changes are to license notices and to locale LC_IDENTIFICATION
10918 addresses, except for this one:
10919 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10920 not its snail mail address.
10922 2012-02-09 Richard Henderson <rth@twiddle.net>
10924 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10925 of kernel-features.h.
10927 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10929 2012-02-08 Marek Polacek <polacek@redhat.com>
10931 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10932 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10933 * sysdeps/gnu/_G_config.h: Likewise.
10934 * sysdeps/generic/_G_config.h: Likewise.
10936 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10938 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10942 * sysdeps/powerpc/powerpc32/crti.S: New file.
10943 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10944 * sysdeps/powerpc/powerpc64/crti.S: New file.
10945 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10947 * Makeconfig (have-initfini): Don't set.
10948 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10949 * configure.in (nopic_initfini): Don't substitute.
10950 * config.h.in (HAVE_INITFINI): Don't #undef.
10951 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10952 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10954 2012-02-08 Joseph Myers <joseph@codesourcery.com>
10956 Support crti.S and crtn.S provided directly by architectures.
10957 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10958 [crti.S in sysdirs] (omit-deps): Likewise.
10959 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10960 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10961 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10962 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10963 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10964 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10965 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10966 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10967 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10968 compiler output for sysdeps/generic/initfini.c.
10969 * sysdeps/i386/elf/Makefile: Remove file.
10970 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10972 2012-02-07 Marek Polacek <polacek@redhat.com>
10974 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10975 * sysdeps/gnu/_G_config.h: Likewise.
10976 * sysdeps/mach/hurd/_G_config.h: Likewise.
10978 2012-02-07 Marek Polacek <polacek@redhat.com>
10980 * math/Makefile (tests): Add tst-CMPLX2.
10981 * math/tst-CMPLX2.c: New file.
10983 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10985 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10987 * math/libm-test.inc (jn_test): Add missing L suffix.
10989 2012-02-06 Marek Polacek <polacek@redhat.com>
10991 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10992 * sysdeps/i386/fpu/e_powf.S: Likewise.
10993 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10994 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10995 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10996 * sysdeps/i386/fpu/e_pow.S: Likewise.
10997 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10998 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10999 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11000 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11001 * sysdeps/i386/fpu/e_log2.S: Likewise.
11002 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11003 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11004 * sysdeps/i386/fpu/e_powl.S: Likewise.
11005 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11006 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11007 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11008 * sysdeps/i386/fpu/e_logl.S: Likewise.
11009 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11010 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11011 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11012 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11013 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11014 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11015 * sysdeps/i386/fpu/e_log.S: Likewise.
11016 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11017 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11018 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11019 * sysdeps/i386/fpu/e_logf.S: Likewise.
11020 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11021 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11022 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11023 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11024 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11025 * sysdeps/i386/fpu/e_log10.S: Likewise.
11026 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11027 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11028 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11029 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11030 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11031 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11032 * sysdeps/i386/asm-syntax.h: Likewise.
11033 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11034 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11035 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11036 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11037 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11038 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11039 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11040 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11041 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11042 * sysdeps/powerpc/sysdep.h: Likewise.
11043 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11044 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11046 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11049 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11051 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11053 * sysdeps/i386/sysdep.h: Include <features.h>.
11054 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11057 2012-02-05 Joseph Myers <joseph@codesourcery.com>
11059 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11061 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11064 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11066 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11067 (SETUP_PIC_REG): Use GET_PC_THUNK.
11068 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11071 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11073 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11074 for non-PIC compilation.
11075 (SETUP_PIC_REG): Add .p2align directive.
11076 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11077 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11078 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11079 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11080 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11081 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11082 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11083 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11084 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11085 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11086 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11087 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11088 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11089 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11090 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11091 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11092 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11093 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11094 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11095 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11096 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11097 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11098 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11099 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11100 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11101 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11102 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11103 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11104 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11105 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11106 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11107 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11108 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11109 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11110 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11111 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11112 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11113 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11114 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11115 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11116 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11118 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11120 * math/tst-CMPLX.c: Include <stdio.h>.
11122 2012-01-31 Joseph Myers <joseph@codesourcery.com>
11124 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11126 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11127 * sysdeps/sparc/bits/mathdef.h: Likewise.
11129 2012-01-31 Marek Polacek <polacek@redhat.com>
11131 * libio/libio.h: Don't define _PARAMS.
11132 * locale/programs/config.h: Don't define PARAMS.
11133 * stdlib/strtol_l.c: Likewise.
11134 (__strtol_l): Remove PARAMS from the prototype.
11136 2012-01-31 Ulrich Drepper <drepper@gmail.com>
11138 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11139 names. Just use the correct names. Remove unnecessary wrapper
11141 * malloc/arena.c: Likewise.
11142 * malloc/hooks.c: Likewise.
11144 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11145 ARENA_TEST says not to. Simplify test for creation of a new arena.
11146 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11148 2012-01-30 Ulrich Drepper <drepper@gmail.com>
11150 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11152 (update_get_addr): New function.
11153 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11154 GET_ADDR_MODULE parameter.
11156 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11158 * crypt/cert.c: Remove __STDC__ conditionals.
11159 * crypt/crypt-entry.c: Likewise.
11160 * crypt/crypt_util.c: Likewise.
11161 * libio/filedoalloc.c: Likewise.
11162 * libio/fileops.c: Likewise.
11163 * libio/genops.c: Likewise.
11164 * libio/iofclose.c: Likewise.
11165 * libio/iofdopen.c: Likewise.
11166 * libio/iofopen.c: Likewise.
11167 * libio/iofopen64.c: Likewise.
11168 * libio/iogetdelim.c: Likewise.
11169 * libio/iopopen.c: Likewise.
11170 * libio/obprintf.c: Likewise.
11171 * libio/oldfileops.c: Likewise.
11172 * libio/oldiofclose.c: Likewise.
11173 * libio/oldiofdopen.c: Likewise.
11174 * libio/oldiofopen.c: Likewise.
11175 * libio/oldiopopen.c: Likewise.
11176 * libio/wfiledoalloc.c: Likewise.
11177 * libio/wgenops.c: Likewise.
11178 * locale/programs/xmalloc.c: Likewise.
11179 * misc/syslog.c: Likewise.
11180 * stdio-common/xbug.c: Likewise.
11181 * string/memchr.c: Likewise.
11182 * string/memcmp.c: Likewise.
11183 * string/memrchr.c: Likewise.
11184 * string/rawmemchr.c: Likewise.
11185 * sysdeps/posix/getcwd.c: Likewise.
11186 * time/strftime_l.c: Likewise.
11188 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11190 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11191 * config.make.in (config-cflags-sse2avx): Define.
11192 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11195 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11197 * scripts/config.guess: Update from upstream config git repository.
11198 * scripts/config.sub: Likewise.
11200 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11202 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11204 (R_TILEPRO_*, R_TILEGX_*): New macros.
11206 * scripts/firstversions.awk: Fix bug in version range handling.
11208 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11210 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11212 * include/sys/epoll.h: New file.
11213 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11216 2012-01-28 Ulrich Drepper <drepper@gmail.com>
11218 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11219 Avoid unnecessary __WORDSIZE == 64 test.
11220 (fmaxf): Use VEX format if possible.
11225 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11226 * math/math_private.h: Remove libc_fegetround* and
11228 * sysdeps/i386/configure.in: Check for -msse2avx.
11229 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11230 also if SSE2AVX is defined.
11231 Remove libc_fegetround* and libc_fesetround*.
11232 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11233 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11234 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11236 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11237 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11238 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11239 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11240 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11242 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11244 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11246 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11248 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11250 2012-01-27 Ulrich Drepper <drepper@gmail.com>
11253 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11255 * Makeconfig (libm): Define.
11256 * elf/Makefile: Add rules to build and run tst-relsort1.
11257 * elf/tst-relsort1.c: New file.
11258 * elf/tst-relsort1mod1.c: New file.
11259 * elf/tst-relsort1mod2.c: New file.
11261 2012-01-27 Joseph Myers <joseph@codesourcery.com>
11263 * math/s_ldexp.c: Remove __STDC__ conditionals.
11264 * math/s_ldexpf.c: Likewise.
11265 * math/s_ldexpl.c: Likewise.
11266 * math/s_nextafter.c: Likewise.
11267 * math/s_nexttowardf.c: Likewise.
11268 * math/s_significand.c: Likewise.
11269 * math/s_significandf.c: Likewise.
11270 * math/s_significandl.c: Likewise.
11271 * math/w_jnl.c: Likewise.
11272 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11273 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11274 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11275 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11276 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11277 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11278 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11279 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11280 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11281 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11282 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11283 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11284 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11285 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11286 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11287 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11288 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11289 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11290 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11291 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11292 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11293 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11294 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11295 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11296 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11297 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11298 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11299 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11300 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11301 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11302 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11303 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11304 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11305 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11306 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11307 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11308 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11309 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11310 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11311 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11312 * sysdeps/ieee754/k_standard.c: Likewise.
11313 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11314 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11315 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11316 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11317 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11318 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11319 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11320 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11321 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11322 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11323 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11324 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11325 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11326 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11327 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11328 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11329 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11330 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11331 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11332 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11333 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11334 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11335 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11336 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11337 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11338 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11339 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11340 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11341 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11342 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11343 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11344 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11345 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11346 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11347 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11348 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11349 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11350 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11351 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11353 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11354 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11355 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11356 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11357 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11358 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11359 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11360 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11361 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11362 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11363 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11364 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11365 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11366 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11367 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11368 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11369 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11370 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11371 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11372 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11373 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11374 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11375 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11376 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11377 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11378 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11379 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11380 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11381 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11382 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11383 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11384 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11385 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11386 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11387 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11388 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11389 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11390 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11391 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11392 * sysdeps/ieee754/s_matherr.c: Likewise.
11393 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11394 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11395 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11396 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11398 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11400 * crypt/md5.h: Remove __STDC__ conditionals.
11401 * libio/libioP.h: Likewise.
11402 * locale/programs/config.h: Likewise.
11403 * sysdeps/generic/sysdep.h: Likewise.
11404 * sysdeps/i386/asm-syntax.h: Likewise.
11405 * sysdeps/s390/asm-syntax.h: Likewise.
11406 * sysdeps/unix/sysdep.h: Likewise.
11407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11410 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11412 * libio/libio.h: Remove __STDC__ conditionals.
11413 * malloc/obstack.h: Likewise.
11414 * math/complex.h: Likewise.
11415 * math/math.h: Likewise.
11416 * sysdeps/generic/_G_config.h: Likewise.
11417 * sysdeps/gnu/_G_config.h: Likewise.
11418 * sysdeps/mach/hurd/_G_config.h: Likewise.
11419 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11420 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11421 * sysdeps/sparc/bits/mathdef.h: Likewise.
11423 2012-01-26 Ulrich Drepper <drepper@gmail.com>
11426 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11427 Clean up HAS_* macros.
11428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11429 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11431 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11433 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11434 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11435 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11436 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11437 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11439 2012-01-25 Joseph Myers <joseph@codesourcery.com>
11441 * elf/tst-unique3.cc (gets): Remove declaration.
11442 * elf/tst-unique3lib.cc (gets): Likewise.
11443 * elf/tst-unique3lib2.cc (gets): Likewise.
11444 * elf/tst-unique4.cc (gets): Likewise.
11446 2012-01-24 Ulrich Drepper <drepper@gmail.com>
11448 * include/stdio.h: Add C++ protection. Add gets declarations and
11450 * debug/tst-chk1.c: Don't declare gets here.
11451 * stdio-common/tst-gets.c: Likewise.
11453 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11455 * posix/glob: Remove directory.
11457 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11459 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11461 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11463 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11464 of the non-standard EPFNOSUPPORT.
11466 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11468 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11469 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11470 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11472 2012-01-21 Ulrich Drepper <drepper@gmail.com>
11474 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11476 2012-01-20 Ulrich Drepper <drepper@gmail.com>
11478 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11480 * nscd/grpcache.c (cache_addgr): Likewise.
11481 * nscd/hstcache.c (cache_addhst): Likewise.
11482 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11483 * nscd/pwdcache.c (cache_addpw): Likewise.
11484 * nscd/servicescache.c (cache_addserv): Likewise.
11486 2012-01-16 Ulrich Drepper <drepper@gmail.com>
11488 * malloc/malloc.c: Various cleanups.
11489 * malloc/hooks.c: Likewise.
11491 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11492 * stdlib/bug-fmtmsg1.c: New file.
11494 * stdlib/fmtmsg.c (init): Add missing unlock.
11495 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11497 2012-01-12 Marek Polacek <polacek@redhat.com>
11499 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11502 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11504 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11505 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11506 macro to ensure uniqueness of label name.
11507 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11508 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11510 2012-01-11 Ulrich Drepper <drepper@gmail.com>
11512 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11514 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11515 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11516 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11517 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11519 2012-01-10 Ulrich Drepper <drepper@gmail.com>
11521 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11523 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11524 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11525 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11527 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11529 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11530 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11531 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11532 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11534 * math/bits/math-finite.h: Add ldexp support.
11536 2012-01-10 Marek Polacek <polacek@redhat.com>
11538 * locale/programs/localedef.h (show_archive_content): Add noreturn
11541 2012-01-09 Ulrich Drepper <drepper@gmail.com>
11543 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11545 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11547 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11549 * io/Makefile (headers): Add bits/poll2.h.
11551 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11554 typo #include statement.
11556 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11558 * include/sys/cdefs.h: Define __attribute_alloc_size.
11559 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11560 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11561 * elf/pldd.c: Likewise.
11562 * iconv/iconv_charmap.c: Likewise.
11563 * iconv/iconvconfig.c: Likewise.
11564 * iconv/strtab.c: Likewise.
11565 * locale/programs/locale.c: Likewise.
11566 * locale/programs/localedef.h: Likewise.
11567 * locale/programs/simple-hash.c: Likewise.
11568 * nscd/nscd.h: Likewise.
11569 * nss/makedb.c: Likewise.
11570 * sysdeps/generic/ldconfig.h: Likewise.
11571 * locale/programs/localedef.c: Remove xmalloc prototype.
11572 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11574 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11576 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11579 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11581 * math/Makefile (tests): Add tst-CMPLX.
11582 * math/tst-CMPLX.c: New file.
11584 * math/complex.h (CMPLXL): Fix typo.
11586 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11587 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11589 * debug/tst-chk1.c: Add poll and ppoll tests.
11590 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11591 * include/sys/poll.h: Add hidden proto for ppoll.
11592 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11593 * sysdeps/mach/hurd/ppoll.c: Likewise.
11594 * io/ppoll.c: Likewise.
11595 * debug/poll_chk.c: New file.
11596 * debug/ppoll_chk.c: New file.
11597 * include/bits/poll2.h: New file.
11598 * io/bits/poll2.h: New file.
11601 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11603 * configure.in: static is always set to yes. Remove.
11604 * config.make.in: Don't set build-static.
11605 * Makeconfig: Remove use of build-static.
11606 * dlfcn/Makefile: Likewise.
11607 * elf/Makefile: Likewise.
11608 * math/Makefile: Likewise.
11609 * misc/Makefile: Likewise.
11610 * nptl/Makefile: Likewise.
11611 * sysdeps/mach/hurd/Makefile: Likewise.
11613 * configure.in: PWD_P is not used anymore.
11614 * config.make.in: Remove PWD_P entry.
11616 * configure.in: Remove last remnants of RANLIB.
11617 No need to check for signed size_t anymore.
11618 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11620 Remove __builtin_expect test because we require at least gcc 3.4.
11621 * aclocal.m4: Likewise.
11623 * wcsmbs/mbrtoc16.c: Implement using towc function.
11624 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11625 * wcsmbs/wcsmbsload.c: Likewise.
11626 * iconv/gconv_simple.c: Likewise.
11627 * iconv/gconv_int.h: Likewise.
11628 * iconv/gconv_builtin.h: Likewise.
11629 * iconv/iconv_prog.c: Remove CHAR16 handling.
11631 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11633 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11635 * configure.in: Remove --with-elf and --enable-bounded options.
11636 Dont set base_machine for ia64. More non-ELF conditions removed.
11637 Remove testing and setting of leading underscore information.
11638 * config.make.in (build-bounded): Set to no.
11639 * config.h.in: Remove NO_UNDERSCORES entry.
11640 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11642 * csu/start.c: Remove !NO_UNDERSCORE code.
11643 * locale/localeinfo.h: Likewise.
11644 * sysdeps/generic/machine-gmon.h: Likewise.
11645 * sysdeps/generic/sysdep.h: Likewise.
11646 * sysdeps/i386/sysdep.h: Likewise.
11647 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11648 * sysdeps/mach/sysdep.h: Likewise.
11649 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11650 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11651 * sysdeps/sh/sysdep.h: Likewise.
11652 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11653 * sysdeps/unix/i386/sysdep.S: Likewise.
11654 * sysdeps/unix/sparc/start.c: Likewise.
11655 * sysdeps/unix/sparc/sysdep.S: Likewise.
11656 * sysdeps/unix/sparc/sysdep.h: Likewise.
11657 * sysdeps/unix/start.c: Likewise.
11658 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11659 * sysdeps/x86_64/sysdep.h: Likewise.
11661 2012-01-07 Ulrich Drepper <drepper@gmail.com>
11664 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11666 * argp/argp-fmtstream.h: Use const instead __const.
11667 * argp/argp.h: Likewise.
11668 * assert/assert.h: Likewise.
11669 * bits/fenv.h: Likewise.
11670 * bits/sched.h: Likewise.
11671 * bits/sigset.h: Likewise.
11672 * bits/sigthread.h: Likewise.
11673 * catgets/nl_types.h: Likewise.
11674 * conform/data/pthread.h-data: Likewise.
11675 * crypt/crypt-private.h: Likewise.
11676 * crypt/crypt.h: Likewise.
11677 * crypt/crypt_util.c: Likewise.
11678 * ctype/ctype.h: Likewise.
11679 * debug/execinfo.h: Likewise.
11680 * debug/mbsnrtowcs_chk.c: Likewise.
11681 * debug/mbsrtowcs_chk.c: Likewise.
11682 * debug/wcsnrtombs_chk.c: Likewise.
11683 * debug/wcsrtombs_chk.c: Likewise.
11684 * debug/wcstombs_chk.c: Likewise.
11685 * dirent/dirent.h: Likewise.
11686 * dlfcn/dlfcn.h: Likewise.
11687 * elf/neededtest4.c: Likewise.
11688 * grp/grp.h: Likewise.
11689 * gshadow/gshadow.h: Likewise.
11690 * iconv/gconv.h: Likewise.
11691 * iconv/gconv_int.h: Likewise.
11692 * iconv/gconv_simple.c: Likewise.
11693 * iconv/iconv.h: Likewise.
11694 * iconv/loop.c: Likewise.
11695 * iconv/skeleton.c: Likewise.
11696 * include/aio.h: Likewise.
11697 * include/aliases.h: Likewise.
11698 * include/argz.h: Likewise.
11699 * include/arpa/inet.h: Likewise.
11700 * include/assert.h: Likewise.
11701 * include/dirent.h: Likewise.
11702 * include/dlfcn.h: Likewise.
11703 * include/execinfo.h: Likewise.
11704 * include/fcntl.h: Likewise.
11705 * include/fenv.h: Likewise.
11706 * include/glob.h: Likewise.
11707 * include/grp.h: Likewise.
11708 * include/libintl.h: Likewise.
11709 * include/mntent.h: Likewise.
11710 * include/netdb.h: Likewise.
11711 * include/pwd.h: Likewise.
11712 * include/rpc/netdb.h: Likewise.
11713 * include/sched.h: Likewise.
11714 * include/search.h: Likewise.
11715 * include/shadow.h: Likewise.
11716 * include/signal.h: Likewise.
11717 * include/stdio.h: Likewise.
11718 * include/stdlib.h: Likewise.
11719 * include/string.h: Likewise.
11720 * include/sys/socket.h: Likewise.
11721 * include/sys/stat.h: Likewise.
11722 * include/sys/statfs.h: Likewise.
11723 * include/sys/statvfs.h: Likewise.
11724 * include/sys/syslog.h: Likewise.
11725 * include/sys/time.h: Likewise.
11726 * include/sys/uio.h: Likewise.
11727 * include/time.h: Likewise.
11728 * include/unistd.h: Likewise.
11729 * include/utmp.h: Likewise.
11730 * include/wchar.h: Likewise.
11731 * include/wctype.h: Likewise.
11732 * inet/aliases.h: Likewise.
11733 * inet/arpa/inet.h: Likewise.
11734 * inet/netinet/ether.h: Likewise.
11735 * inet/netinet/in.h: Likewise.
11736 * intl/libintl.h: Likewise.
11737 * io/bits/fcntl2.h: Likewise.
11738 * io/fcntl.h: Likewise.
11739 * io/ftw.h: Likewise.
11740 * io/sys/poll.h: Likewise.
11741 * io/sys/stat.h: Likewise.
11742 * io/sys/statfs.h: Likewise.
11743 * io/sys/statvfs.h: Likewise.
11744 * io/utime.h: Likewise.
11745 * libio/bits/stdio.h: Likewise.
11746 * libio/bits/stdio2.h: Likewise.
11747 * libio/libio.h: Likewise.
11748 * libio/libioP.h: Likewise.
11749 * libio/stdio.h: Likewise.
11750 * locale/lc-ctype.c: Likewise.
11751 * locale/locale.h: Likewise.
11752 * login/utmp.h: Likewise.
11753 * malloc/arena.c: Likewise.
11754 * malloc/malloc.c: Likewise.
11755 * malloc/malloc.h: Likewise.
11756 * malloc/mcheck.c: Likewise.
11757 * malloc/mtrace.c: Likewise.
11758 * math/bits/mathcalls.h: Likewise.
11759 * math/fenv.h: Likewise.
11760 * math/math_private.h: Likewise.
11761 * misc/bits/error.h: Likewise.
11762 * misc/bits/syslog.h: Likewise.
11763 * misc/err.h: Likewise.
11764 * misc/error.h: Likewise.
11765 * misc/fstab.h: Likewise.
11766 * misc/mntent.h: Likewise.
11767 * misc/regexp.h: Likewise.
11768 * misc/search.h: Likewise.
11769 * misc/sgtty.h: Likewise.
11770 * misc/sys/mman.h: Likewise.
11771 * misc/sys/syslog.h: Likewise.
11772 * misc/sys/uio.h: Likewise.
11773 * misc/sys/xattr.h: Likewise.
11774 * misc/ttyent.h: Likewise.
11775 * nis/rpcsvc/ypclnt.h: Likewise.
11776 * nss/nss.h: Likewise.
11777 * posix/bits/unistd.h: Likewise.
11778 * posix/fnmatch.h: Likewise.
11779 * posix/glob.h: Likewise.
11780 * posix/sched.h: Likewise.
11781 * posix/spawn.h: Likewise.
11782 * posix/sys/wait.h: Likewise.
11783 * posix/unistd.h: Likewise.
11784 * posix/wordexp.h: Likewise.
11785 * pwd/pwd.h: Likewise.
11786 * resolv/netdb.h: Likewise.
11787 * resource/sys/resource.h: Likewise.
11788 * rt/aio.h: Likewise.
11789 * rt/bits/mqueue2.h: Likewise.
11790 * rt/mqueue.h: Likewise.
11791 * shadow/shadow.h: Likewise.
11792 * signal/signal.h: Likewise.
11793 * socket/send.c: Likewise.
11794 * socket/sendto.c: Likewise.
11795 * socket/sys/socket.h: Likewise.
11796 * stdio-common/printf.h: Likewise.
11797 * stdlib/bits/stdlib.h: Likewise.
11798 * stdlib/fmtmsg.h: Likewise.
11799 * stdlib/monetary.h: Likewise.
11800 * stdlib/stdlib.h: Likewise.
11801 * stdlib/ucontext.h: Likewise.
11802 * streams/stropts.h: Likewise.
11803 * string/argz.h: Likewise.
11804 * string/bits/string2.h: Likewise.
11805 * string/string.h: Likewise.
11806 * string/strings.h: Likewise.
11807 * sunrpc/rpc/auth.h: Likewise.
11808 * sunrpc/rpc/auth_des.h: Likewise.
11809 * sunrpc/rpc/clnt.h: Likewise.
11810 * sunrpc/rpc/netdb.h: Likewise.
11811 * sunrpc/rpc/pmap_clnt.h: Likewise.
11812 * sunrpc/rpc/xdr.h: Likewise.
11813 * sysdeps/generic/inttypes.h: Likewise.
11814 * sysdeps/generic/net/if.h: Likewise.
11815 * sysdeps/generic/sys/swap.h: Likewise.
11816 * sysdeps/gnu/net/if.h: Likewise.
11817 * sysdeps/gnu/utmpx.h: Likewise.
11818 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11819 * sysdeps/i386/i486/bits/string.h: Likewise.
11820 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11821 * sysdeps/s390/bits/string.h: Likewise.
11822 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11823 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11824 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11825 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11826 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11827 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11828 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11829 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11830 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11831 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11832 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11833 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11834 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11835 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11836 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11837 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11838 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11839 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11840 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11841 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11842 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11843 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11844 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11845 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11846 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11847 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11848 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11849 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11850 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11851 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11852 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11853 * sysvipc/sys/ipc.h: Likewise.
11854 * sysvipc/sys/msg.h: Likewise.
11855 * sysvipc/sys/sem.h: Likewise.
11856 * sysvipc/sys/shm.h: Likewise.
11857 * termios/termios.h: Likewise.
11858 * time/sys/time.h: Likewise.
11859 * time/time.h: Likewise.
11860 * wcsmbs/bits/wchar2.h: Likewise.
11861 * wcsmbs/uchar.h: Likewise.
11862 * wcsmbs/wchar.h: Likewise.
11863 * wctype/wctype.h: Likewise.
11866 * Makeconfig: Remove all but ELF support including AIX support.
11867 * Makerules: Likewise.
11868 * config.h.in: Likewise.
11869 * config.make.in: Likewise.
11870 * configure: Likewise.
11871 * configure.in: Likewise.
11872 * csu/Makefile: Likewise.
11873 * csu/version.c: Likewise.
11874 * debug/Makefile: Likewise.
11875 * dlfcn/Makefile: Likewise.
11876 * elf/Makefile: Likewise.
11877 * extra-lib.mk: Likewise.
11878 * iconv/Makefile: Likewise.
11879 * include/libc-symbols.h: Likewise.
11880 * include/shlib-compat.h: Likewise.
11881 * resolv/Makefile: Likewise.
11882 * resolv/res_libc.c: Likewise.
11883 * rt/Makefile: Likewise.
11884 * sysdeps/i386/asm-syntax.h: Likewise.
11885 * sysdeps/i386/sysdep.h: Likewise.
11886 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11887 * sysdeps/mach/sysdep.h: Likewise.
11888 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11889 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11890 * sysdeps/s390/asm-syntax.h: Likewise.
11891 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11892 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11893 * sysdeps/sh/sysdep.h: Likewise.
11894 * sysdeps/unix/sparc/sysdep.h: Likewise.
11895 * sysdeps/wordsize-32/divdi3.c: Likewise.
11896 * sysdeps/x86_64/sysdep.h: Likewise.
11898 * argp/Versions: Remove _argp_unlock_xxx.
11901 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11902 * abilist/libBrokenLocale.abilist: Likewise.
11903 * abilist/libanl.abilist: Likewise.
11904 * abilist/libc.abilist: Likewise.
11905 * abilist/libcrypt.abilist: Likewise.
11906 * abilist/libdl.abilist: Likewise.
11907 * abilist/libm.abilist: Likewise.
11908 * abilist/libnsl.abilist: Likewise.
11909 * abilist/libpthread.abilist: Likewise.
11910 * abilist/libresolv.abilist: Likewise.
11911 * abilist/librt.abilist: Likewise.
11912 * abilist/libthread_db.abilist: Likewise.
11913 * abilist/libutil.abilist: Likewise.
11914 * abilist/libnss_db.abilist: New file.
11916 * scripts/abilist.awk: Add support for indirect functions.
11918 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11920 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11922 * shlib-versions: Remove entries for ports architectures.
11924 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11926 * elf/stackguard-macros.h: Remove support for IA-64.
11927 * elf/tst-auditmod1.c: Likewise.
11928 * sysdeps/generic/ldsodefs.h: Likewise.
11930 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11931 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11935 * configure.in: Remove --enable-omitfp support.
11937 * config.make.in: Likewise.
11938 * Makeconfig: Likewise.
11939 * manual/install.texi: Likewise.
11941 In case anyone cares, the IA-64 architecture could move to ports.
11942 * sysdeps/ia64/*: Removed.
11943 * sysdeps/unix/sysv/linux/ia64/*: Removed.
11944 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
11947 * configure.in: Remove entries for unsupported architectures.
11950 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11951 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11953 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11954 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11955 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11956 fall back to using wcrtomb.
11957 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11958 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11960 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11961 * wcsmbs/tst-c16c32-1.c: New file.
11963 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11966 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11968 * elf/tst-unique3.cc: Add explicit declaration of gets.
11969 * elf/tst-unique3lib.cc: Likewise.
11970 * elf/tst-unique3lib2.cc: Likewise.
11971 * elf/tst-unique4.cc: Likewise.
11973 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11975 2012-01-06 Joseph Myers <joseph@codesourcery.com>
11978 * assert/assert.h (static_assert): Don't define for C++.
11979 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11980 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11982 2012-01-03 Ulrich Drepper <drepper@gmail.com>
11984 * iconv/loop.c (single loop): Fix assertion in storing of
11987 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11989 2012-01-01 Ulrich Drepper <drepper@gmail.com>
11991 * posix/getconf.c: Update copyright year.
11992 * nss/getent.c: Likewise.
11993 * nss/makedb.c: Likewise.
11994 * iconv/iconvconfig.c: Likewise.
11995 * iconv/iconv_prog.c: Likewise.
11996 * elf/ldconfig.c: Likewise.
11997 * elf/pldd.c: Likewise.
11998 * elf/sotruss.ksh: Likewise.
11999 * catgets/gencat.c: Likewise.
12000 * csu/version.c: Likewise.
12001 * elf/ldd.bash.in: Likewise.
12002 * elf/sprof.c (print_version): Likewise.
12003 * locale/programs/locale.c: Likewise.
12004 * locale/programs/localedef.c: Likewise.
12005 * login/programs/pt_chown.c: Likewise.
12006 * nscd/nscd.c (print_version): Likewise.
12007 * debug/xtrace.sh: Likewise.
12008 * malloc/memusage.sh: Likewise.
12009 * malloc/mtrace.pl: Likewise.
12010 * debug/catchsegv.sh: Likewise.
12012 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12014 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12017 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12020 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12021 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12023 * iconv/gconv_int.h: Likewise.
12024 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12025 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12026 from libc for GLIBC_2.16.
12027 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12028 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12029 * wcsmbs/uchar.h: Really define mbstate_t.
12030 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12031 * wcsmbs/c16rtomb.c: New file.
12032 * wcsmbs/mbrtoc16.c: New file.
12033 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12034 for C/POSIX locale.
12035 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12036 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12038 * wcsmbs/wchar.h: Add missing __restrict.
12040 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12043 * time/Makefile (routines): Add timespec_get.
12044 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12045 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12046 timespec for ISO C11.
12047 * time/timespec_get.c: New file.
12048 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12049 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12052 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12053 * stdlib/stdlib.h: Declare aligned_alloc.
12054 * Versions.def: Add GLIBC_2.16 for libc.
12055 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12058 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12061 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12065 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12068 * assert/assert.h (static_assert): Define.
12070 * version.h: Update for 2.16 development version.
12073 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12076 * version.h (RELEASE): Bump for 2.15 release.
12077 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12079 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12080 Patch by Marek Polacek <mpolacek@redhat.com>.
12082 * bits/byteswap.h: Protect long long constants with __extension__.
12083 * sysdeps/i386/bits/byteswap.h: Likewise.
12084 * sysdeps/ia64/bits/byteswap.h: Likewise.
12085 * sysdeps/s390/bits/byteswap.h: Likewise.
12086 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12088 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12091 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12092 destination buffer.
12093 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12095 2011-12-23 Marek Polacek <polacek@redhat.com>
12097 * elf/dl-addr.c (determine_info): Add inline keyword.
12098 * elf/tst-auditmod4b.c (check_avx): Likewise.
12099 * elf/tst-auditmod6b.c (check_avx): Likewise.
12100 * elf/tst-auditmod6c.c (check_avx): Likewise.
12101 * elf/tst-auditmod7b.c (check_avx): Likewise.
12103 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12105 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12108 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12111 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12112 processing for last bytes.
12114 2011-08-06 Bruno Haible <bruno@clisp.org>
12117 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12118 U+0385, not to U+1FEE.
12121 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12122 entry for U+00A5 U+0301.
12124 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12127 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12128 buffer for the output is too small.
12130 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12134 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12135 SSE flags if possible.
12137 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12140 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12141 processing for last bytes.
12143 2011-12-22 Joseph Myers <joseph@codesourcery.com>
12145 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12146 (syscall-list-default-options, syscall-list-default-condition)
12147 (syscall-list-includes): Define.
12148 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12149 list of ABIs and options and #if conditions for each ABI. Do not
12150 handle common syscalls between ABIs specially.
12151 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12153 (syscall-list-variants, syscall-list-32bit-options)
12154 (syscall-list-32bit-condition, syscall-list-64bit-options)
12155 (syscall-list-64bit-condition): Define.
12156 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
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/sparc/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.
12165 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12167 (syscall-list-variants, syscall-list-32bit-options)
12168 (syscall-list-32bit-condition, syscall-list-64bit-options)
12169 (syscall-list-64bit-condition): Define.
12171 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12173 * locale/iso-639.def: Add brx entry.
12176 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12177 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12179 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12180 __feraiseexcept_renamed.
12182 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12185 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12186 EPOLLET with unsigned values.
12187 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12188 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12190 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12191 to large cancellation.
12192 * math/s_cacoshf.c: Likewise.
12193 * math/s_cacoshl.c: Likewise.
12195 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12199 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12200 * math/s_cacoshf.c: Likewise.
12201 * math/s_cacoshl.c: Likewise.
12203 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12206 * iconv/gconv.h: Define __GCONV_SWAP.
12207 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12208 * iconvdata/utf-16.c: Likewise.
12209 * iconvdata/utf-32.c: Likewise.
12211 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12214 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12215 numerator after shifting it by one limb.
12217 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12219 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12220 under [__USE_EXTERN_INLINES].
12222 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12225 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12227 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12229 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12230 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12232 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12233 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12234 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12235 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12236 for strncasecmp/strncasecmp_l compilation.
12237 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12238 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12240 2011-12-08 Marek Polacek <mpolacek@redhat.com>
12243 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12246 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12249 * time/tzfile.c (__tzfile_read): Check values from file header.
12251 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12253 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12254 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12255 * powerpc/powerpc32/dl-start.S: Likewise.
12256 * powerpc/powerpc32/elf/start.S: Likewise.
12257 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12258 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12259 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12260 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12261 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12262 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12263 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12264 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12265 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12266 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12267 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12268 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12269 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12270 * powerpc/powerpc32/memset.S: Likewise.
12271 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12272 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12273 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12274 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12275 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12276 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12277 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12278 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12279 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12280 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12281 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12282 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12283 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12285 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12287 * math/libm-test.inc: Added more nearbyint tests.
12288 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12289 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12290 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12291 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12293 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12295 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12298 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12300 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12301 Add wcscpy-ssse3 wcscpy-c.
12302 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12303 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12304 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12305 * sysdeps/x86_64/wcschr.S: New file.
12306 * sysdeps/x86_64/wcsrchr.S: New file.
12307 * string/test-strcmp.c: Remove checking of wcscmp function for
12309 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12310 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12311 wcsrchr-sse2 wcsrchr-c.
12312 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12313 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12314 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12315 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12316 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12317 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12318 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12319 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12320 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12321 * wcsmbc/wcschr.c (WCSCHR): New macro.
12323 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12325 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12326 * wcsmbs/test-wcsrchr.c: New file.
12327 * string/test-strrchr.c: Add wcsrchr support.
12329 * wcsmbs/test-wcscpy.c: New file.
12330 * string/test-strcpy.c: Add wcscpy support.
12333 2011-12-10 Ulrich Drepper <drepper@gmail.com>
12335 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12338 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12341 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12343 2011-12-04 Ulrich Drepper <drepper@gmail.com>
12345 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12346 Minor optimizations.
12348 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12349 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12350 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12352 2011-12-03 Ulrich Drepper <drepper@gmail.com>
12354 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12355 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12356 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12357 for gcc to avoid warnings.
12358 * inet/Makefile (tests): Add tst-checks.
12359 * inet/tst-checks.c: New file.
12361 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12364 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12367 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12368 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12370 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12372 2011-12-02 Ulrich Drepper <drepper@gmail.com>
12374 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12377 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12379 2011-11-29 Joseph Myers <joseph@codesourcery.com>
12381 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12382 conditional on GCC version.
12383 (__arch_compare_and_exchange_val_8_acq)
12384 (__arch_compare_and_exchange_val_16_acq)
12385 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12386 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12387 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12389 2011-12-02 Joseph Myers <joseph@codesourcery.com>
12391 * sysdeps/sh/backtrace.c: New file.
12393 2011-12-02 Andreas Schwab <schwab@redhat.com>
12395 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12398 2011-12-01 Andreas Schwab <schwab@redhat.com>
12400 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12401 falling back to utime.
12403 2011-11-30 Andreas Schwab <schwab@redhat.com>
12405 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12406 expectations for float.
12408 2011-11-29 Andreas Schwab <schwab@redhat.com>
12410 * locale/weight.h (findidx): Add parameter len.
12411 * locale/weightwc.h (findidx): Likewise.
12412 * posix/fnmatch_loop.c (FCT): Adjust caller.
12413 * posix/regcomp.c (build_equiv_class): Likewise.
12414 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12415 * posix/regexec.c (check_node_accept_bytes): Likewise.
12416 * string/strcoll_l.c (STRCOLL): Likewise.
12417 * string/strxfrm_l.c (STRXFRM): Likewise.
12419 2011-11-17 Ulrich Drepper <drepper@gmail.com>
12421 * Makefile.in: Remove CVSOPT handling.
12422 * configure.in: Remove use of AC_REVISION.
12423 * iconvdata/Makefile (distribute): No need to filter out CVS.
12424 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12427 2011-11-16 Andreas Schwab <schwab@redhat.com>
12429 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12430 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12431 [USE_AS_STRNCASECMP_L]: Likewise.
12432 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12433 NO_TLS_DIRECT_SEG_REFS.
12434 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12435 Fix argument offsets for non-PIC.
12436 [USE_AS_STRNCASECMP_L]: Likewise.
12437 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12438 NO_TLS_DIRECT_SEG_REFS.
12440 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12442 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12444 * locale/loadlocale.c (_nl_load_locale): Likewise.
12446 2011-11-15 Andreas Schwab <schwab@redhat.com>
12448 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12449 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12450 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12451 (SYSCALL_GETTIME): Set errno on error.
12453 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12454 count references to noai6ai_cached.
12456 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12458 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12460 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12461 FD_CLOEXEC for /proc/self/maps.
12463 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12464 FD_CLOEXEC for /proc/meminfo.
12466 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12469 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12470 FD_CLOEXEC for given file.
12472 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12474 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12475 FD_CLOEXEC for /etc/hosts.
12476 (_gethtent): Likewise.
12478 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12480 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12481 cancellation and set FD_CLOEXEC for /etc/netgroup.
12483 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12484 reading /etc/publickey.
12486 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12487 allow cancellation when reading /etc/group.
12489 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12491 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12493 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12494 when using data file.
12496 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12498 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12499 (write_nis_obj): Use "c" and "e" in fopen.
12501 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12503 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12505 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12507 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12509 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12512 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12514 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12516 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12518 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12519 file parsing and set FD_CLOEXEC.
12521 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12523 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12525 2011-11-14 Andreas Schwab <schwab@redhat.com>
12527 * malloc/arena.c (arena_get2): Don't call reused_arena when
12528 _int_new_arena failed.
12530 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12532 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12533 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12534 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12535 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12536 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12537 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12538 to compile strcasecmp and strncasecmp.
12539 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12540 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12542 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12544 2011-11-13 Ulrich Drepper <drepper@gmail.com>
12546 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12547 locale-defines.sym to gen-as-const-headers.
12548 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12549 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12550 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12551 to compile strcasecmp and strncasecmp.
12552 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12553 strcasecmp_l and strncasecmp_l.
12554 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12555 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12556 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12557 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12558 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12559 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12560 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12561 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12562 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12563 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12564 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12566 2011-11-12 Ulrich Drepper <drepper@gmail.com>
12568 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12569 result of SYSDEP_GETTIME_CPU to retval.
12570 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12571 parameter list to macro. Remove trailing semicolon. Adjust users.
12573 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12576 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12578 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12580 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12581 from unused variable.
12583 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12585 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12588 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12591 * sunrpc/rpc_prot.c (rejected): Fix case value.
12593 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12594 unsigned long long int to avoid warnings in shift.
12596 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12598 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12601 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12602 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12603 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12605 * nis/nis_table.c (nis_list): Use variable of correct type for
12606 result of __follow_path call.
12608 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12610 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12611 of math functions ceil, trunc, floor, round, and sqrt, when
12612 avaliable on the platform.
12613 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12615 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12616 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12617 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12619 2011-10-30 Marek Polacek <mpolacek@redhat.com>
12621 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12622 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12624 2011-11-11 Roland McGrath <roland@hack.frob.com>
12626 * include/unistd.h: Fix __readlink return type.
12627 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12629 2011-11-11 Ulrich Drepper <drepper@gmail.com>
12631 * stdlib/ucontext.h: Undo last change for makecontext.
12633 2011-11-11 Andreas Schwab <schwab@redhat.com>
12635 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12637 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12638 * setjmp/setjmp.h: Mark functions as non-leaf.
12639 * setjmp/bits/setjmp2.h: Likewise.
12640 * stdlib/ucontext.h: Likewise.
12642 2011-11-10 Andreas Schwab <schwab@redhat.com>
12644 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12645 (reused_arena): Don't check arena limit.
12646 (arena_get2): Atomically check arena limit.
12648 2011-11-08 Ulrich Drepper <drepper@gmail.com>
12650 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12651 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12653 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12656 2011-11-07 Andreas Schwab <schwab@redhat.com>
12658 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12659 handler when locking.
12661 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12662 Fix size of allocated buffer.
12664 2011-11-04 Andreas Schwab <schwab@redhat.com>
12667 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12668 declarations for long double functions.
12669 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12671 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12673 2011-11-03 Andreas Schwab <schwab@redhat.com>
12675 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12678 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12681 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12683 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12685 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12687 * include/alloca.h (stackinfo_alloca_round): Define.
12688 (extend_alloca): Use it.
12689 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12690 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12693 * scripts/check-local-headers.sh: Ignore libaudit.h.
12695 * nscd/Makefile (extra-objs): Make recursively expanded.
12697 2011-11-01 Ulrich Drepper <drepper@gmail.com>
12699 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12700 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12702 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12703 * posix/tst-rfc3484-2.c: Likewise.
12704 * posix/tst-rfc3484-3.c: Likewise.
12706 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12708 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12710 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12711 process_vm_writev from libc using GLIBC_2.15 version.
12713 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12715 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12717 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12720 2011-10-31 Ulrich Drepper <drepper@gmail.com>
12723 * nss/getent.c (initgroups_keys): Show error message in case no group
12726 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12727 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12728 __bump_nl_timestamp.
12729 * nscd/connections (nscd_init): When host database is served open
12730 netlink socket and request notification about configuration changes.
12731 (main_loop_poll): Track netlink file descriptor and bump timestamp
12732 in case data becomes available.
12733 (main_loop_epoll): Likewise.
12734 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12735 (database_pers_head): Add extra_data fileds.
12736 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12737 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12738 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12740 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12741 in6ai data, call __free_in6ai.
12742 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12743 Add -DHAVE_NETLINK.
12744 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12745 interface information. Reuse previous data if netlink timestamp
12747 (__bump_nl_timestamp): New function.
12748 (__free_in6ai): New function.
12750 2011-10-30 Ulrich Drepper <drepper@gmail.com>
12752 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12753 close_not_cancel_no_status here.
12754 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12756 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12759 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12762 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12763 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12764 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12766 2011-07-03 Andreas Jaeger <aj@suse.de>
12769 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12770 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12771 * math/libm-test.inc (sin_test): Add test case.
12773 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12776 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12777 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12779 * elf/chroot_canon.c (chroot_canon): Cleanups.
12781 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12784 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12785 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12787 * string/test-strchr.c: Make usable for strchrnul testing.
12788 * string/test-strchrnul.c: New file.
12789 * string/Makefile (strop-tests): Add strchrnul.
12791 * po/it.po: Update from translation team.
12792 * po/es.po: Likewise.
12794 2011-10-28 Ulrich Drepper <drepper@gmail.com>
12796 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12797 the three constants needed as parameters. Drop the others.
12798 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12799 __m128i_strloadu_tolower.
12800 Create and initialize variable zero and use it in all the places
12801 where _mm_setzero_si128 was used.
12803 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12804 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12805 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12806 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12808 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12809 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12810 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12811 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12812 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12813 __mpranred, __mptan.
12814 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12815 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12816 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12817 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12818 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12819 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12820 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12821 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12822 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12824 2011-10-28 Andreas Schwab <schwab@redhat.com>
12826 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12827 redefine if SHARED.
12828 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12830 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12831 wide char related routines to wcsmbs subdir.
12833 2011-10-27 Andreas Schwab <schwab@redhat.com>
12836 * misc/sys/cdefs.h (__THROWNL): Define.
12837 * posix/unistd.h: Use __THREADNL instead of __THREAD
12838 for memory synchronization functions.
12840 2011-10-26 Roland McGrath <roland@hack.frob.com>
12843 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12845 * manual/stdio.texi (Obstack Streams): Node removed.
12847 2011-10-26 Andreas Schwab <schwab@redhat.com>
12849 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12850 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12851 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12853 * math/math_private.h (math_force_eval): Allow non-addressable
12855 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12857 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12859 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12860 file is not needed.
12862 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12863 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12864 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12865 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12866 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12867 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12868 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12869 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12871 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12872 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12873 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12874 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12875 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12876 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12877 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12878 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12879 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12880 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12881 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12882 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12883 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12884 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12885 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12886 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12887 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12888 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12889 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12891 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12892 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12894 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12895 place. Use VEX encoding when compiling for AVX.
12897 2011-10-25 Andreas Schwab <schwab@redhat.com>
12899 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12900 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12902 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12904 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12906 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
12907 useless if() expression.
12908 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12909 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12910 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12911 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12912 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12913 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12914 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12915 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12916 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12917 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12918 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12919 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12920 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12921 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12922 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12923 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12924 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12925 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12926 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12928 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12930 2011-10-25 Andreas Schwab <schwab@redhat.com>
12932 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12934 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12936 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12938 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12939 .text section. Avoid duplicate constants.
12940 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12941 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12942 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12943 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12944 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12945 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12946 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12947 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12948 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12949 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12950 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12951 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12952 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12953 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12954 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12955 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12956 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12957 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12958 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12959 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12960 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12961 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12962 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12963 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12964 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12965 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12966 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12967 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12968 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12969 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12970 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12971 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12972 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12973 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12974 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12975 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12976 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12977 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12978 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12979 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12980 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12981 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12982 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12983 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12984 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12986 2011-10-24 Ulrich Drepper <drepper@gmail.com>
12988 * sysdeps/x86_64/dla.h: Move to ...
12989 * sysdeps/x86_64/fpu/dla.h: ...here.
12990 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12991 situations. Use __builtin_fma only for gcc 4.6 and up.
12993 * config.make.in: Add have-mfma4 entry.
12994 * configure.in: Substitute libc_cv_cc_fma4.
12995 * math/Makefile (dbl-only-routines): Add sincostab.
12996 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12997 Use __sincostab not sincos.
12998 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13000 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13001 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13002 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13003 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13005 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13006 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13007 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13008 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13010 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13011 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13013 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13014 define aliases when function name is a macro.
13015 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13016 sysdeps/ieee754/dbl-64/sincos.tbl.
13017 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13018 fma4-enabled routines.
13019 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13020 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13021 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13022 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13023 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13024 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13025 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13026 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13027 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13028 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13029 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13030 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13031 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13032 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13033 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13034 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13035 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13036 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13037 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13038 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13039 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13040 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13041 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13042 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13043 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13044 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13045 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13046 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13047 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13048 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13050 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13052 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13053 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13054 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13056 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13057 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13058 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13059 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13061 2011-10-24 Andreas Schwab <schwab@redhat.com>
13063 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13065 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13067 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13069 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13071 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13073 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13074 Remove unused variable magic_bits.
13075 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13077 * string/strnlen.c: Define and use STRNLEN macro.
13078 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13079 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13080 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13081 * wcsmbs/wcslen.c: Define and use WCSLEN.
13082 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13083 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13084 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13085 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13086 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13087 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13088 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13090 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13092 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13093 strnlen-sse2-no-bsf.
13094 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13095 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13096 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13097 Add strnlen support.
13098 (USE_AS_STRNLEN): New macro.
13099 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13100 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13101 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13102 * sysdeps/x86_64/wcslen.S: New file.
13104 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13106 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13107 XMM-moves are used for copying on small sizes.
13109 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13111 * wcsmbs/Makefile (strop-tests): Add wcschr.
13112 * wcsmbs/test-wcschr.c: New file.
13113 * string/test-strchr.c: Update.
13114 Add wcschr support.
13117 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13119 * wcsmbs/Makefile (strop-tests): Add wcslen.
13120 * wcsmbs/test-wcslen.c: New file.
13121 * string/test-strlen.c: Update.
13122 Add wcslen support.
13125 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13127 * po/it.po: Update from translation team.
13129 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13131 * sysdeps/x86_64/wcscmp.S: Update.
13132 Fix wrong comparison semantics.
13133 wcscmp shall use signed comparison not unsigned.
13134 Don't use substraction to avoid overflow bug.
13135 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13136 * wcsmbc/wcscmp.c: Likewise.
13137 * string/test-strcmp.c: Likewise.
13138 Add new tests to check cases with negative values.
13140 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13142 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13143 * sysdeps/x86_64/dla.h: ...here. New file.
13144 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13145 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13146 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13149 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13150 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13151 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13152 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13154 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13156 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13157 __ynl_finite aliases.
13159 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13163 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13165 [DLA_FMA] (EMULV): Use DLA_FMA.
13166 [DLA_FMA] (MUL12): Use EMULV.
13167 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13168 that are not needed.
13169 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13170 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13171 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13172 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13173 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13174 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13175 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13177 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13179 * math/s_nan.c: Undef __nan.
13180 * math/s_nanf.c: Undef __nanf.
13181 * math/s_nanl.c: Undef __nanl.
13182 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13185 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13187 * math/s_catan.c: Add branch predictions.
13188 * math/s_catanf.c: Likewise.
13189 * math/s_catanh.c: Likewise.
13190 * math/s_catanhf.c: Likewise.
13191 * math/s_catanhl.c: Likewise.
13192 * math/s_catanl.c: Likewise.
13193 * math/s_cexp.c: Likewise.
13194 * math/s_cexpf.c: Likewise.
13195 * math/s_cexpl.c: Likewise.
13196 * math/s_clog.c: Likewise.
13197 * math/s_clog10.c: Likewise.
13198 * math/s_clog10f.c: Likewise.
13199 * math/s_clog10l.c: Likewise.
13200 * math/s_clogf.c: Likewise.
13201 * math/s_clogl.c: Likewise.
13202 * math/s_csqrt.c: Likewise.
13203 * math/s_csqrtf.c: Likewise.
13204 * math/s_csqrtl.c: Likewise.
13205 * math/s_ctanf.c: Likewise.
13206 * math/s_ctanh.c: Likewise.
13207 * math/s_ctanhf.c: Likewise.
13208 * math/s_ctanhl.c: Likewise.
13209 * math/s_ctanl.c: Likewise.
13211 * math/math_private.h: Define __nan, __nanf, __nanl.
13212 * math/s_cacosh.c: Include <math_private.h>.
13213 * math/s_cacoshl.c: Likewise.
13214 * math/s_casinh.c: Likewise.
13215 * math/s_casinhf.c: Likewise.
13216 * math/s_casinhl.c: Likewise.
13217 * math/s_ccos.c: Rely entire on ccosh.
13218 * math/s_ccosf.c: Rely entire on ccoshf.
13219 * math/s_ccosl.c: Rely entirely on ccoshl.
13220 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13221 Remove tests for FE_INVALID.
13222 * math/s_ccoshf.c: Likewise.
13223 * math/s_ccoshl.c: Likewise.
13224 * math/s_csin.c: Likewise.
13225 * math/s_csinf.c: Likewise.
13226 * math/s_csinh.c Likewise.
13227 * math/s_csinhf.c: Likewise.
13228 * math/s_csinhl.c: Likewise.
13229 * math/s_csinl.c: Likewise.
13230 * math/s_ctan.c: Likewise.
13231 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13232 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13233 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13235 2011-10-21 Ulrich Drepper <drepper@gmail.com>
13237 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13238 compilation problems.
13240 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13243 2011-10-20 Ulrich Drepper <drepper@gmail.com>
13245 * sysdeps/i386/configure.in: Test for -mfma4 option.
13246 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13247 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13248 COMMON_CPUID_INDEX_80000001.
13249 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13250 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13251 use it if FMA3 is not supported.
13252 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13254 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13255 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13257 2011-10-20 Andreas Schwab <schwab@redhat.com>
13260 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13261 it would create a cycle with a link time dependency.
13263 2011-10-19 Ulrich Drepper <drepper@gmail.com>
13265 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13267 * string/Makefile (strop-tests): Add rawmemchr.
13268 * string/test-rawmemchr.c: New file.
13270 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13271 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13272 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13273 when compiling str{,n}casecmp and when AVX is available. Hook up
13274 new optimized code in initializers.
13276 2011-10-19 Andreas Schwab <schwab@redhat.com>
13278 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13279 __feraiseexcept instead of feraiseexcept.
13281 2011-10-18 Ulrich Drepper <drepper@gmail.com>
13283 * math/math_private.h: Define defaults for libc_fetestexcept and
13285 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13286 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13287 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13288 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13289 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13290 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13291 libc_fetestexcept and libc_feupdateenv.
13293 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13294 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13295 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13296 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13297 libc_feholdexcept_setround.
13299 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13300 Add s_nearbyint-c and s_nearbyintf-c.
13301 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13302 nearbyintf inlines.
13303 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13304 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13305 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13306 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13308 * math/math_private.h: Define defaults for libc_fegetround,
13309 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13310 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13311 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13312 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13313 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13314 standard functions.
13315 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13316 Remove comments and hacks for old compiler versions.
13317 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13318 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13319 libc_feholdexceptl.
13321 2011-10-18 Andreas Schwab <schwab@redhat.com>
13323 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13324 (__feraiseexcept_renamed): Add __NTH.
13325 (feraiseexcept): Add __NTH. Rename local variables to fix
13326 namespace violations.
13328 2011-10-17 Ulrich Drepper <drepper@gmail.com>
13330 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13332 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13334 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13335 recently added interfaces.
13336 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13338 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13339 about macro parameter expansion.
13341 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13342 __NO_MATH_INLINES is defined. Cleanups.
13344 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13345 and __floorf is target has SSE4.1.
13346 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13347 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13348 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13349 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13351 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13353 (floorf): Likewise.
13355 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13357 2011-10-17 Andreas Schwab <schwab@redhat.com>
13359 * misc/sys/cdefs.h: Fix last change.
13361 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13364 2011-10-16 Ulrich Drepper <drepper@gmail.com>
13366 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13368 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13369 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13370 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13371 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13372 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13373 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13374 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13375 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13376 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13377 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13378 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13379 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13380 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13381 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13382 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13383 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13384 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13385 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13386 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13387 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13388 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13389 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13391 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13392 ceil, ceilf, floor, floorf.
13394 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13395 Perform IRELATIVE relocations last.
13397 * elf/do-rel.h: Add another parameter nrelative, replacing the
13398 local variable with the same name. Change name of the function
13399 to end in Rel or Rela (uppercase).
13400 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13401 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13402 elf_dynamic_do_##reloc function.
13404 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13406 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13407 is sufficient, at least on modern CPUs.
13409 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13411 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13412 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13414 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13416 * math/bits/math-finite.h: Add entries for exp.
13417 * math/e_expl.c: Add __*_finite alias.
13418 * sysdeps/i386/fpu/e_exp.S: Likewise.
13419 * sysdeps/i386/fpu/e_expf.S: Likewise.
13420 * sysdeps/i386/fpu/e_expl.c: Likewise.
13421 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13422 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13423 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13424 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13425 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13426 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13427 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13429 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13430 is sufficient, at least on modern CPUs.
13432 * ctype/ctype-info.c (__ctype_init): Define.
13433 * include/ctype.h (__ctype_init): Declare.
13434 (__ctype_b_loc): The variable is always initialized.
13435 (__ctype_toupper_loc): Likewise.
13436 (__ctype_tolower_loc): Likewise.
13437 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13438 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13440 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13442 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13444 * configure.in: Also look in $cxxmachine/include for C++ system
13447 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13449 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13450 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13451 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13452 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13453 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13454 (USE_AS_WMEMCMP): New macro.
13456 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13457 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13458 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13459 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13460 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13461 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13462 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13463 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13464 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13465 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13466 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13467 (USE_AS_WMEMCMP): New macro.
13468 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13469 * sysdeps/string/test-memcmp.c: Update.
13470 Fix simple_wmemcmp.
13472 * wcsmbs/wmemcmp.c: Update.
13473 (WMEMCMP): New macro.
13476 2011-10-12 Andreas Jaeger <aj@suse.de>
13479 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13481 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13483 * libio/iofwide.c (do_length): Avoid warning.
13485 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13487 2011-10-14 Ulrich Drepper <drepper@gmail.com>
13489 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13491 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13492 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13493 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13494 * sysdeps/i386/i686/fpu/e_log.S: New file.
13495 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13496 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13498 * ctype/ctype.h: Add support for inlined isXXX functions when
13499 compiling C++ code.
13501 2011-10-14 Andreas Schwab <schwab@redhat.com>
13503 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13505 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13507 2011-10-13 Roland McGrath <roland@hack.frob.com>
13510 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13512 2011-10-13 Andreas Schwab <schwab@redhat.com>
13514 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13515 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13518 * sysdeps/x86_64/memrchr.S: Check for zero size.
13520 * string/stratcliff.c: Add memrchr tests.
13522 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13524 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13525 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13526 rawmemchr-sse2 rawmemchr-sse2-bsf.
13527 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13528 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13529 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13530 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13531 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13532 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13533 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13534 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13535 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13536 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13537 * string/memrchr.c (MEMRCHR): New macro.
13539 2011-10-12 Ulrich Drepper <drepper@gmail.com>
13541 Add integration with gcc's -ffinite-math-only and optimize wrapper
13543 * Versions.def: Define GLIBC_2.15 version for libm.
13544 * math/Makefile (headers): Add bits/math-finite.h.
13545 * math/bits/math-finite.h: New file.
13546 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13547 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13548 * math/e_acoshl.c: Add __*_finite alias.
13549 * math/e_acosl.c: Likewise.
13550 * math/e_asinl.c: Likewise.
13551 * math/e_atan2l.c: Likewise.
13552 * math/e_atanhl.c: Likewise.
13553 * math/e_coshl.c: Likewise.
13554 * math/e_exp10.c: Likewise.
13555 * math/e_exp10f.c: Likewise.
13556 * math/e_exp10l.c: Likewise.
13557 * math/e_exp2l.c: Likewise.
13558 * math/e_fmodl.c: Likewise.
13559 * math/e_gammal_r.c: Likewise.
13560 * math/e_hypotl.c: Likewise.
13561 * math/e_j0l.c: Likewise.
13562 * math/e_j1l.c: Likewise.
13563 * math/e_jnl.c: Likewise.
13564 * math/e_lgammal_r.c: Likewise.
13565 * math/e_log10l.c: Likewise.
13566 * math/e_log2l.c: Likewise.
13567 * math/e_logl.c: Likewise.
13568 * math/e_powl.c: Likewise.
13569 * math/e_sinhl.c: Likewise.
13570 * math/e_sqrtl.c: Likewise.
13571 * math/e_scalb.c: Completely rewritten and optimized.
13572 * math/e_scalbf.c: Likewise.
13573 * math/e_scalbl.c: Likewise.
13574 * math/w_acos.c: Likewise.
13575 * math/w_acosf.c: Likewise.
13576 * math/w_acosl.c: Likewise.
13577 * math/w_acosh.c: Likewise.
13578 * math/w_acoshf.c: Likewise.
13579 * math/w_acoshl.c: Likewise.
13580 * math/w_asin.c: Likewise.
13581 * math/w_asinf.c: Likewise.
13582 * math/w_asinl.c: Likewise.
13583 * math/w_atan2.c: Likewise.
13584 * math/w_atan2f.c: Likewise.
13585 * math/w_atan2l.c: Likewise.
13586 * math/w_atanh.c: Likewise.
13587 * math/w_atanhf.c: Likewise.
13588 * math/w_atanhl.c: Likewise.
13589 * math/w_exp10.c: Likewise.
13590 * math/w_exp10f.c: Likewise.
13591 * math/w_exp10l.c: Likewise.
13592 * math/w_fmod.c: Likewise.
13593 * math/w_fmodf.c: Likewise.
13594 * math/w_fmodl.c: Likewise.
13595 * math/w_j0.c: Likewise.
13596 * math/w_j0f.c: Likewise.
13597 * math/w_j0l.c: Likewise.
13598 * math/w_j1.c: Likewise.
13599 * math/w_j1f.c: Likewise.
13600 * math/w_j1l.c: Likewise.
13601 * math/w_jn.c: Likewise.
13602 * math/w_jnf.c: Likewise.
13603 * math/w_log.c: Likewise.
13604 * math/w_logf.c: Likewise.
13605 * math/w_logl.c: Likewise.
13606 * math/w_log10.c: Likewise.
13607 * math/w_log10f.c: Likewise.
13608 * math/w_log10l.c: Likewise.
13609 * math/w_log2.c: Likewise.
13610 * math/w_log2f.c: Likewise.
13611 * math/w_log2l.c: Likewise.
13612 * math/w_pow.c: Likewise.
13613 * math/w_powf.c: Likewise.
13614 * math/w_powl.c: Likewise.
13615 * math/w_remainder.c: Likewise.
13616 * math/w_remainderf.c: Likewise.
13617 * math/w_remainderl.c: Likewise.
13618 * math/w_scalb.c: Likewise.
13619 * math/w_scalbf.c: Likewise.
13620 * math/w_scalbl.c: Likewise.
13621 * math/w_sqrt.c: Likewise.
13622 * math/w_sqrtf.c: Likewise.
13623 * math/w_sqrtl.c: Likewise.
13624 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13625 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13627 * math/math_private.h: Declare __kernel_standard_f.
13628 * math/w_cosh.c: Remove cruft and optimize a bit.
13629 * math/w_coshf.c: Likewise.
13630 * math/w_coshl.c: Likewise.
13631 * math/w_exp2.c: Likewise.
13632 * math/w_exp2f.c: Likewise.
13633 * math/w_exp2l.c: Likewise.
13634 * math/w_hypot.c: Likewise.
13635 * math/w_hypotf.c: Likewise.
13636 * math/w_hypotl.c: Likewise.
13637 * math/w_lgamma.c: Likewise.
13638 * math/w_lgamma_r.c: Likewise.
13639 * math/w_lgammaf.c: Likewise.
13640 * math/w_lgammaf_r.c: Likewise.
13641 * math/w_lgammal.c: Likewise.
13642 * math/w_lgammal_r.c: Likewise.
13643 * math/w_sinh.c: Likewise.
13644 * math/w_sinhf.c: Likewise.
13645 * math/w_sinhl.c: Likewise.
13646 * math/w_tgamma.c: Likewise.
13647 * math/w_tgammaf.c: Likewise.
13648 * math/w_tgammal.c: Likewise.
13649 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13650 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13651 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13652 Minor optimizations. Pretty printing. Remove cruft.
13653 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13654 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13655 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13656 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13657 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13658 * sysdeps/i386/fpu/e_asin.S: Likewise.
13659 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13660 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13661 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13662 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13663 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13664 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13665 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13666 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13667 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13668 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13669 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13670 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13671 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13672 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13673 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13674 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13675 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13676 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13677 * sysdeps/i386/fpu/e_log.S: Likewise.
13678 * sysdeps/i386/fpu/e_log10.S: Likewise.
13679 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13680 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13681 * sysdeps/i386/fpu/e_log2.S: Likewise.
13682 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13683 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13684 * sysdeps/i386/fpu/e_logf.S: Likewise.
13685 * sysdeps/i386/fpu/e_logl.S: Likewise.
13686 * sysdeps/i386/fpu/e_pow.S: Likewise.
13687 * sysdeps/i386/fpu/e_powf.S: Likewise.
13688 * sysdeps/i386/fpu/e_powl.S: Likewise.
13689 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13690 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13691 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13692 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13693 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13694 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13695 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13696 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13697 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13698 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13699 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13700 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13701 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13702 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13703 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13704 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13705 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13706 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13707 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13708 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13709 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13710 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13711 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13712 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13713 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13714 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13715 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13716 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13717 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13718 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13719 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13720 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13721 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13722 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13723 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13724 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13725 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13726 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13727 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13728 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13729 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13730 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13731 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13732 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13733 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13734 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13735 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13736 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13737 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13738 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13739 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13740 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13741 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13742 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13743 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13744 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13745 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13746 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13747 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13748 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13749 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13750 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13751 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13776 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13778 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13781 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13783 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13784 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13786 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13787 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13788 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13789 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13790 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13791 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13792 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13793 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13794 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13795 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13796 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13797 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13798 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13799 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13800 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13801 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13802 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13803 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13804 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13805 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13806 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13807 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13808 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13809 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13810 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13811 (__isnanf): Likewise.
13812 (__isinf_ns): Likewise.
13813 (__isinf_nsf): Likewise.
13814 (__finite): Likewise.
13815 (__finitef): Likewise.
13816 (__ieee754_sqrt): Define as macro.
13817 (__ieee754_sqrtf): Define as macro.
13818 (__ieee754_sqrtl): Define as macro.
13819 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13821 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13822 __FINITE_MATH_ONLY__ consistent.
13823 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13825 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13827 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13830 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13832 2011-10-09 Ulrich Drepper <drepper@gmail.com>
13834 * po/ja.po: Update from translation team.
13836 2011-10-08 Roland McGrath <roland@hack.frob.com>
13838 * locale/programs/locarchive.c (prepare_address_space): New function.
13839 (create_archive, enlarge_archive, open_archive): Use it.
13841 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13842 inside [SHARED], where it is used.
13844 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13846 * nss/getent.c (netgroup_keys): Remove unused variable.
13847 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13849 2011-10-08 Ulrich Drepper <drepper@gmail.com>
13851 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13852 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13853 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13854 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13855 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13856 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13857 * math/Makefile (libm-calls): Add s_isinf_ns.
13858 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13859 * math/multc3.c: Likewise.
13860 * math/s_casin.c: Likewise.
13861 * math/s_casinf.c: Likewise.
13862 * math/s_casinl.c: Likewise.
13863 * math/s_ccos.c: Likewise.
13864 * math/s_ccosf.c: Likewise.
13865 * math/s_ccosl.c: Likewise.
13866 * math/s_ctan.c: Likewise.
13867 * math/s_ctanf.c: Likewise.
13868 * math/s_ctanh.c: Likewise.
13869 * math/s_ctanhf.c: Likewise.
13870 * math/s_ctanhl.c: Likewise.
13871 * math/s_ctanl.c: Likewise.
13872 * math/w_fmod.c: Likewise.
13873 * math/w_fmodf.c: Likewise.
13874 * math/w_fmodl.c: Likewise.
13875 * math/w_remainder.c: Likewise.
13876 * math/w_remainderf.c: Likewise.
13877 * math/w_remainderl.c: Likewise.
13878 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13879 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13880 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13881 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13882 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13883 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13884 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13885 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13887 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13889 * stdio-common/printf_fphex.c: Likewise.
13890 * stdio-common/printf_size.c: Likewise.
13892 * math/e_exp10.c: Include math_private.h using <...> not "...".
13893 * math/e_exp10f.c: Likewise.
13894 * math/e_exp10l.c: Likewise.
13895 * math/e_exp2l.c: Likewise.
13896 * math/e_j0l.c: Likewise.
13897 * math/e_j1l.c: Likewise.
13898 * math/e_jnl.c: Likewise.
13899 * math/e_lgammal_r.c: Likewise.
13900 * math/e_rem_pio2l.c: Likewise.
13901 * math/e_scalb.c: Likewise.
13902 * math/e_scalbf.c: Likewise.
13903 * math/e_scalbl.c: Likewise.
13904 * math/k_cosl.c: Likewise.
13905 * math/k_sinl.c: Likewise.
13906 * math/k_tanl.c: Likewise.
13907 * math/s_cacoshf.c: Likewise.
13908 * math/s_catan.c: Likewise.
13909 * math/s_catanf.c: Likewise.
13910 * math/s_catanh.c: Likewise.
13911 * math/s_catanhf.c: Likewise.
13912 * math/s_catanhl.c: Likewise.
13913 * math/s_catanl.c: Likewise.
13914 * math/s_ccosh.c: Likewise.
13915 * math/s_ccoshf.c: Likewise.
13916 * math/s_ccoshl.c: Likewise.
13917 * math/s_cexp.c: Likewise.
13918 * math/s_cexpf.c: Likewise.
13919 * math/s_cexpl.c: Likewise.
13920 * math/s_clog.c: Likewise.
13921 * math/s_clog10.c: Likewise.
13922 * math/s_clog10f.c: Likewise.
13923 * math/s_clog10l.c: Likewise.
13924 * math/s_clogf.c: Likewise.
13925 * math/s_clogl.c: Likewise.
13926 * math/s_csin.c: Likewise.
13927 * math/s_csinf.c: Likewise.
13928 * math/s_csinh.c: Likewise.
13929 * math/s_csinhf.c: Likewise.
13930 * math/s_csinhl.c: Likewise.
13931 * math/s_csinl.c: Likewise.
13932 * math/s_csqrt.c: Likewise.
13933 * math/s_csqrtf.c: Likewise.
13934 * math/s_csqrtl.c: Likewise.
13935 * math/s_ctan.c: Likewise.
13936 * math/s_ctanf.c: Likewise.
13937 * math/s_ctanh.c: Likewise.
13938 * math/s_ctanhf.c: Likewise.
13939 * math/s_ctanhl.c: Likewise.
13940 * math/s_ctanl.c: Likewise.
13941 * math/s_ldexp.c: Likewise.
13942 * math/s_ldexpf.c: Likewise.
13943 * math/s_ldexpl.c: Likewise.
13944 * math/s_significand.c: Likewise.
13945 * math/s_significandf.c: Likewise.
13946 * math/s_significandl.c: Likewise.
13947 * math/w_acos.c: Likewise.
13948 * math/w_acosf.c: Likewise.
13949 * math/w_acosh.c: Likewise.
13950 * math/w_acoshf.c: Likewise.
13951 * math/w_acoshl.c: Likewise.
13952 * math/w_acosl.c: Likewise.
13953 * math/w_asin.c: Likewise.
13954 * math/w_asinf.c: Likewise.
13955 * math/w_asinl.c: Likewise.
13956 * math/w_atan2.c: Likewise.
13957 * math/w_atan2f.c: Likewise.
13958 * math/w_atan2l.c: Likewise.
13959 * math/w_atanh.c: Likewise.
13960 * math/w_atanhf.c: Likewise.
13961 * math/w_atanhl.c: Likewise.
13962 * math/w_cosh.c: Likewise.
13963 * math/w_coshf.c: Likewise.
13964 * math/w_coshl.c: Likewise.
13965 * math/w_dremf.c: Likewise.
13966 * math/w_exp10.c: Likewise.
13967 * math/w_exp10f.c: Likewise.
13968 * math/w_exp10l.c: Likewise.
13969 * math/w_exp2.c: Likewise.
13970 * math/w_exp2f.c: Likewise.
13971 * math/w_fmod.c: Likewise.
13972 * math/w_fmodf.c: Likewise.
13973 * math/w_fmodl.c: Likewise.
13974 * math/w_hypot.c: Likewise.
13975 * math/w_hypotf.c: Likewise.
13976 * math/w_hypotl.c: Likewise.
13977 * math/w_j0.c: Likewise.
13978 * math/w_j0f.c: Likewise.
13979 * math/w_j0l.c: Likewise.
13980 * math/w_j1.c: Likewise.
13981 * math/w_j1f.c: Likewise.
13982 * math/w_j1l.c: Likewise.
13983 * math/w_jn.c: Likewise.
13984 * math/w_jnf.c: Likewise.
13985 * math/w_jnl.c: Likewise.
13986 * math/w_lgamma.c: Likewise.
13987 * math/w_lgamma_r.c: Likewise.
13988 * math/w_lgammaf.c: Likewise.
13989 * math/w_lgammaf_r.c: Likewise.
13990 * math/w_lgammal.c: Likewise.
13991 * math/w_lgammal_r.c: Likewise.
13992 * math/w_log.c: Likewise.
13993 * math/w_log10.c: Likewise.
13994 * math/w_log10f.c: Likewise.
13995 * math/w_log10l.c: Likewise.
13996 * math/w_log2.c: Likewise.
13997 * math/w_log2f.c: Likewise.
13998 * math/w_log2l.c: Likewise.
13999 * math/w_logf.c: Likewise.
14000 * math/w_logl.c: Likewise.
14001 * math/w_pow.c: Likewise.
14002 * math/w_powf.c: Likewise.
14003 * math/w_powl.c: Likewise.
14004 * math/w_remainder.c: Likewise.
14005 * math/w_remainderf.c: Likewise.
14006 * math/w_remainderl.c: Likewise.
14007 * math/w_scalb.c: Likewise.
14008 * math/w_scalbf.c: Likewise.
14009 * math/w_scalbl.c: Likewise.
14010 * math/w_sinh.c: Likewise.
14011 * math/w_sinhf.c: Likewise.
14012 * math/w_sinhl.c: Likewise.
14013 * math/w_sqrt.c: Likewise.
14014 * math/w_sqrtf.c: Likewise.
14015 * math/w_sqrtl.c: Likewise.
14016 * math/w_tgamma.c: Likewise.
14017 * math/w_tgammaf.c: Likewise.
14018 * math/w_tgammal.c: Likewise.
14020 * po/ja.po: Update from translation team.
14022 2011-09-29 Andreas Jaeger <aj@suse.de>
14025 * sunrpc/netname.c (netname2host): Fix logic.
14029 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14031 * math/w_remainder.c (__remainder): Likewise.
14032 * math/w_remainderf.c (__remainderf): Likewise.
14033 * math/libm-test.inc (remainder_test): Add test cases.
14035 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14037 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14040 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14042 * string/test-memcmp.c: Avoid unncessary #defines.
14043 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14045 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14047 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14048 Use new sse2 version for core i3 - i7 as it's faster
14049 than sse42 version.
14050 (bit_Prefer_PMINUB_for_stringop): New.
14051 * sysdeps/x86_64/rawmemchr.S: Update.
14052 Replace with faster SSE2 version.
14053 * sysdeps/x86_64/memrchr.S: New file.
14054 * sysdeps/x86_64/memchr.S: Update.
14055 Replace with faster SSE2 version.
14057 2011-09-12 Marek Polacek <mpolacek@redhat.com>
14059 * elf/dl-load.c (lose): Add cast to avoid warning.
14061 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14063 * po/ca.po: Update from translation team.
14065 * inet/getnetgrent_r.c: Hook up nscd.
14066 * nscd/Makefile (routines): Add nscd_netgroup.
14067 (nscd-modules): Add netgroupcache.
14068 (CFLAGS-netgroupcache.c): Define.
14069 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14070 (cache_search): Add const to second parameter.
14071 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14073 (dbs): Add netgrdb entry.
14074 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14075 (verify_persistent_db): Handle netgrdb.
14076 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14077 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14079 (netgroup_response_header): Define.
14080 (innetgroup_response_header): Define.
14081 (datahead): Add netgroup_response_header and innetgroup_response_header
14083 * nscd/nscd.conf: Add entries for netgroup cache.
14084 * nscd/nscd.h (dbtype): Add netgrdb.
14085 (_PATH_NSCD_NETGROUP_DB): Define.
14086 (netgroup_iov_disabled): Declare.
14087 (xmalloc, xcalloc, xrealloc): Move declarations here.
14088 (cache_search): Adjust prototype.
14089 Add netgroup-related prototypes.
14090 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14091 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14092 (__nscd_innetgr): Declare.
14093 * nscd/selinux.c (perms): Use access_vector_t as element type and
14094 add netgroup-related initializers.
14095 * nscd/netgroupcache.c: New file.
14096 * nscd/nscd_netgroup.c: New file.
14097 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14098 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14099 For four parameters use innetgr.
14100 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14101 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14102 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14103 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14105 * nscd/connections.c (register_traced_file): Don't register file
14106 for disabled databases.
14108 2011-10-06 Ulrich Drepper <drepper@gmail.com>
14110 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14112 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14113 from tree and freeing node.
14115 2011-09-25 Jiri Olsa <jolsa@redhat.com>
14117 * nss/nsswitch.c (__nss_database_lookup): Handle
14118 nss_parse_service_list out of memory case.
14120 2011-09-15 Jiri Olsa <jolsa@redhat.com>
14122 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14123 out of memory case.
14125 2011-10-04 Andreas Schwab <schwab@redhat.com>
14127 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14128 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14130 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14131 elf_machine_rela, elf_machine_lazy_rel.
14132 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14133 (ELF_DYNAMIC_DO_REL): Likewise.
14134 (ELF_DYNAMIC_DO_RELA): Likewise.
14135 (ELF_DYNAMIC_RELOCATE): Likewise.
14136 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14137 to ELF_DYNAMIC_DO_REL.
14138 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14139 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14140 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14142 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14143 skip_ifunc, don't call ifunc function if non-zero.
14144 (elf_machine_rela): Likewise.
14145 (elf_machine_lazy_rel): Likewise.
14146 (elf_machine_lazy_rela): Likewise.
14147 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14148 (elf_machine_lazy_rel): Likewise.
14149 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14151 (elf_machine_lazy_rel): Likewise.
14152 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14154 (elf_machine_lazy_rel): Likewise.
14155 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14156 (elf_machine_lazy_rel): Likewise.
14157 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14158 (elf_machine_lazy_rel): Likewise.
14159 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14160 (elf_machine_lazy_rel): Likewise.
14161 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14162 (elf_machine_lazy_rel): Likewise.
14163 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14164 (elf_machine_lazy_rel): Likewise.
14165 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14166 (elf_machine_lazy_rel): Likewise.
14168 2011-09-28 Ulrich Drepper <drepper@gmail.com>
14170 * nss/nss_files/files-init.c (_nss_files_init): Use static
14171 initialization for all the *_traced_file variables.
14173 2011-09-28 Andreas Schwab <schwab@redhat.com>
14175 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14177 2011-09-27 Roland McGrath <roland@hack.frob.com>
14180 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14182 2011-09-27 Andreas Schwab <schwab@redhat.com>
14184 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14185 Reread the line before reparsing it.
14187 2011-09-26 Andreas Schwab <schwab@redhat.com>
14189 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14191 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14192 Maxim Kuvyrkov <maxim@codesourcery.com>
14193 Joseph Myers <joseph@codesourcery.com>
14195 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14196 if needed for __stack_chk_guard.
14198 2011-09-19 Roland McGrath <roland@hack.frob.com>
14200 * sysdeps/posix/spawni.c (script_execute): Always define it.
14201 It will be optimized away if unused.
14202 (maybe_script_execute): New function.
14203 (__spawni): Call it.
14205 * Makerules: Don't include tls.make.
14206 (config-tls): Always set to thread.
14207 * tls.make.c: File removed.
14209 2011-09-19 Mike Frysinger <vapier@gentoo.org>
14211 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14212 * config.make.in (CPPFLAGS-config): New substituted variable.
14214 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14216 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14219 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14220 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14222 2011-09-15 Roland McGrath <roland@hack.frob.com>
14224 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14225 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14226 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14227 (CALL_FAIL): Likewise.
14228 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14229 (CALL_FAIL): Macro removed.
14230 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14232 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14234 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14235 for __FINITE_MATH_ONLY__ == 1.
14237 2011-09-15 Andreas Schwab <schwab@redhat.com>
14239 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14240 __ieee754_sqrt instead of sqrt.
14241 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14242 __ieee754_sqrtf instead of sqrtf.
14243 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14244 __floorf instead of floorf.
14245 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14246 __floorf, __truncf instead of floorf, truncf.
14248 2011-09-14 Ulrich Drepper <drepper@gmail.com>
14250 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14252 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14253 __extern_always_inline.
14254 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14257 2011-09-14 Andreas Schwab <schwab@redhat.com>
14259 * elf/rtld.c (dl_main): Also relocate in dependency order when
14260 doing symbol dependency testing.
14262 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14264 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14265 Always define `refsym'.
14267 2011-09-13 Andreas Schwab <schwab@redhat.com>
14269 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14270 (__FD_ELT): Renamed from __FDELT.
14271 * misc/bits/select2.h (__FD_ELT): Likewise.
14272 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14273 __FD_MASK instead of __FDELT, __FDMASK.
14274 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14276 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14279 * elf/Makefile (gen-ldd): Fix pattern.
14281 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14282 (init_tls): Likewise.
14284 2011-09-12 Ulrich Drepper <drepper@gmail.com>
14286 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14288 2011-09-12 Andreas Schwab <schwab@redhat.com>
14290 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14291 `struct cmsghdr *' instead of `void *'.
14292 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14295 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14297 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14299 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14300 ldd_rewrite_script.
14302 2011-09-11 Ulrich Drepper <drepper@gmail.com>
14304 * configure.in: Remove --with-tls option.
14305 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14306 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14307 out in case it is missing.
14308 * sysdeps/ia64/elf/configure.in: Likewise.
14309 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14310 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14311 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14312 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14313 * sysdeps/sh/elf/configure.in: Likewise.
14314 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14315 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14316 * sysdeps/x86_64/elf/configure.in: Likewise.
14317 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14318 * sysdeps/mach/hurd/tls.h: Likewise.
14321 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14324 * configure.in: Fix use of AC_INIT.
14326 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14328 2011-09-10 Ulrich Drepper <drepper@gmail.com>
14330 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14332 * malloc/hooks.c: Likewise.
14335 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14336 variables statically.
14337 (narenas): Initialize.
14338 (list_lock): Initialize.
14339 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14340 initializtion of main_arena and list_lock. Small cleanups.
14341 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14342 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14343 Add initializers to main_arena and mp_.
14344 (malloc_state): Remove pagesize member. Change all users to use
14347 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14348 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14349 is always initialized.
14351 * malloc/malloc.c: Removed unused configurations and dead code.
14352 * malloc/arena.c: Likewise.
14353 * malloc/hooks.c: Likewise.
14354 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14356 * include/tls.h: Removed. USE___THREAD must always be defined.
14357 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14358 * elf/dl-libc.c: Likewise.
14359 * elf/dl-tsd.c: Likewise.
14360 * include/errno.h: Likewise.
14361 * include/netdb.h: Likewise.
14362 * include/resolv.h: Likewise.
14363 * inet/herrno-loc.c: Likewise.
14364 * inet/herrno.c: Likewise.
14365 * malloc/arena.c: Likewise.
14366 * malloc/hooks.c: Likewise.
14367 * malloc/malloc.c: Likewise.
14368 * resolv/res-state.c: Likewise.
14369 * resolv/res_libc.c: Likewise.
14370 * sysdeps/i386/dl-machine.h: Likewise.
14371 * sysdeps/ia64/dl-machine.h: Likewise.
14372 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14373 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14374 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14375 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14376 * sysdeps/sh/dl-machine.h: Likewise.
14377 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14378 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14379 * sysdeps/unix/i386/sysdep.S: Likewise.
14380 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14381 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14382 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14383 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14384 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14385 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14386 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14387 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14388 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14389 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14390 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14391 * sysdeps/x86_64/dl-machine.h: Likewise.
14392 * tls.make.c: Likewise.
14394 * configure.in: Remove --with-__thread option. Make tests for
14395 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14396 tls_model attribute fail if no support is available. Remove
14398 * Makeconfig: Adjust for dropped configure option. All features are
14400 * Makerules: Likewise.
14401 * Versions.def: Likewise.
14402 * argp/argp-fmtstream.c: Likewise.
14403 * argp/argp-fmtstream.h: Likewise.
14404 * argp/argp-help.c: Likewise.
14405 * assert/assert.c: Likewise.
14406 * config.h.in: Likewise.
14407 * config.make.in: Likewise.
14408 * configure: Likewise.
14409 * configure.in: Likewise.
14410 * csu/Versions: Likewise.
14411 * csu/init.c: Likewise.
14412 * elf/tst-audit2.c: Likewise.
14413 * elf/tst-tls10.c: Likewise.
14414 * elf/tst-tls10.h: Likewise.
14415 * elf/tst-tls11.c: Likewise.
14416 * elf/tst-tls12.c: Likewise.
14417 * elf/tst-tls14.c: Likewise.
14418 * elf/tst-tlsmod11.c: Likewise.
14419 * elf/tst-tlsmod12.c: Likewise.
14420 * elf/tst-tlsmod13.c: Likewise.
14421 * elf/tst-tlsmod13a.c: Likewise.
14422 * elf/tst-tlsmod14a.c: Likewise.
14423 * elf/tst-tlsmod15b.c: Likewise.
14424 * elf/tst-tlsmod16a.c: Likewise.
14425 * elf/tst-tlsmod16b.c: Likewise.
14426 * elf/tst-tlsmod7.c: Likewise.
14427 * elf/tst-tlsmod8.c: Likewise.
14428 * elf/tst-tlsmod9.c: Likewise.
14429 * gmon/gmon.c: Likewise.
14430 * grp/fgetgrent_r.c: Likewise.
14431 * grp/putgrent.c: Likewise.
14432 * hurd/fopenport.c: Likewise.
14433 * include/libc-symbols.h: Likewise.
14434 * include/tls.h: Likewise.
14435 * intl/gettextP.h: Likewise.
14436 * intl/loadinfo.h: Likewise.
14437 * locale/global-locale.c: Likewise.
14438 * locale/localeinfo.h: Likewise.
14439 * mach/devstream.c: Likewise.
14440 * malloc/arena.c: Likewise.
14441 * malloc/set-freeres.c: Likewise.
14442 * misc/err.c: Likewise.
14443 * misc/getttyent.c: Likewise.
14444 * misc/mntent_r.c: Likewise.
14445 * posix/getopt.c: Likewise.
14446 * posix/wordexp.c: Likewise.
14447 * pwd/fgetpwent_r.c: Likewise.
14448 * resolv/Versions: Likewise.
14449 * resolv/res_hconf.c: Likewise.
14450 * shadow/fgetspent_r.c: Likewise.
14451 * shadow/putspent.c: Likewise.
14452 * stdio-common/printf_fphex.c: Likewise.
14453 * stdio-common/tmpfile.c: Likewise.
14454 * stdlib/abort.c: Likewise.
14455 * stdlib/fmtmsg.c: Likewise.
14456 * sunrpc/auth_unix.c: Likewise.
14457 * sunrpc/clnt_perr.c: Likewise.
14458 * sunrpc/clnt_tcp.c: Likewise.
14459 * sunrpc/clnt_udp.c: Likewise.
14460 * sunrpc/clnt_unix.c: Likewise.
14461 * sunrpc/openchild.c: Likewise.
14462 * sunrpc/svc_simple.c: Likewise.
14463 * sunrpc/svc_tcp.c: Likewise.
14464 * sunrpc/svc_udp.c: Likewise.
14465 * sunrpc/svc_unix.c: Likewise.
14466 * sunrpc/xdr.c: Likewise.
14467 * sunrpc/xdr_array.c: Likewise.
14468 * sunrpc/xdr_rec.c: Likewise.
14469 * sunrpc/xdr_ref.c: Likewise.
14470 * sunrpc/xdr_stdio.c: Likewise.
14472 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14474 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14476 2011-07-03 Andreas Jaeger <aj@suse.de>
14478 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14479 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14480 regenerate with gen-libm-tests.pl.
14482 2010-05-12 Petr Baudis <pasky@suse.cz>
14485 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14486 around j0() zero points by switching to j1().
14487 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14488 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14489 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14490 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14492 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14494 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14496 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14498 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14499 Patch in part by Pavel Roskin <proski@gnu.org>.
14502 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14504 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14505 Free memory block if necessary.
14508 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14509 be NULL. Don't lock in this case.
14511 2011-09-09 Roland McGrath <roland@hack.frob.com>
14513 * elf/elf.h (ELFOSABI_GNU): New macro.
14514 (ELFOSABI_LINUX): Define to that.
14516 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14518 * string/strncat.c (strncat): Undef the symbol in case it has been
14519 defined in bits/string.h.
14521 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14523 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14525 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14528 2011-08-17 Andreas Jaeger <aj@suse.de>
14530 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14532 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14533 Ian Lance Taylor <iant@google.com>
14535 * math/libm-test.inc (lround_test): New testcase.
14536 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14538 2011-09-08 Ulrich Drepper <drepper@gmail.com>
14540 * Makefile: Remove support for automatic cvs check-ins.
14541 * Makerules: Likewise.
14542 * config.make.in: Likewise.
14543 * configure.in: Likewise.
14544 * intl/Makefile: Likewise.
14545 * locale/Makefile: Likewise.
14546 * po/Makefile: Likewise.
14547 * posix/Makefile: Likewise.
14548 * sysdeps/gnu/Makefile: Likewise.
14549 * sysdeps/mach/hurd/Makefile: Likewise.
14550 * sysdeps/sparc/sparc32/Makefile: Likewise.
14553 * posix/Makefile (bug-regex32-ENV): Define.
14554 Patch by John Stanley <jpsinthemix@verizon.net>.
14556 * misc/Makefile (headers): Add bits/select2.h.
14557 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14558 * misc/bits/select2.h: New file.
14559 * include/bits/select2.h: New file.
14560 * debug/Makefile (routines): Add fdelt_chk.
14561 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14562 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14564 * debug/fdelt_chk.c: New file.
14566 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14567 * wcsmbs/test-wmemcmp.c: Likewise.
14568 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14569 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14571 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14573 * string/Makefile (strop-tests): Add memcmp.
14574 * string/test-wmemcmp.c: New file.
14575 * string/test-memcmp.c: Add wmemcmp support.
14577 2011-09-08 Roland McGrath <roland@hack.frob.com>
14580 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14583 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14584 garbage value in a __mach_port_mod_refs call in the cases of the
14585 task-self and thread-self ports.
14587 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14589 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14591 2011-09-08 Andreas Schwab <schwab@redhat.com>
14593 * elf/dl-load.c (lose): Check for non-null L.
14595 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14597 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14599 * elf/dl-libc.c (dlerror_run): Pass back error code from
14603 * elf/dl-load.c (lose): Free l_origin if it is valid.
14605 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14607 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14608 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14609 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14610 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14611 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14612 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14614 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14616 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14617 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14618 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14619 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14620 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14621 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14622 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14623 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14624 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14625 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14627 2011-08-15 Alan Modra <amodra@gmail.com>
14630 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14631 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14632 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14633 ppc_mcount to static-only-routines.
14634 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14636 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14637 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14639 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14641 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14642 for finite and infinity parameters.
14644 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14646 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14647 and add nop instructions for throughput optimization.
14648 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14650 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14652 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14653 aligned copy for power7 with vector-scalar instructions.
14654 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14656 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14658 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14661 2011-09-07 Andreas Schwab <schwab@redhat.com>
14664 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14667 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14669 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14670 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14671 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14672 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14675 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14677 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14678 Forgot to demangle the pointer.
14680 * sysdeps/i386/sysdep.h: Define atom_text_section.
14681 * sysdeps/x86_64/sysdep.h: Likewise.
14682 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14683 section with atom_text_section.
14684 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14685 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14686 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14687 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14688 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14690 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14691 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14692 already be defined. Change to take two parameters and don't assign
14693 result to variable. Adjust all users.
14694 Define INTERNAL_GETTIME if not already defined.
14695 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14697 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14698 HAVE_CLOCK_GETTIME_VSYSCALL.
14699 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14701 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14702 gettimeofday vsyscall, just use time.
14704 2011-09-06 Andreas Schwab <schwab@redhat.com>
14706 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14709 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14711 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14713 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14715 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14716 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14717 syscall if possible.
14719 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14721 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14722 e_ident. Don't pass to find_mapsXX.
14723 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14725 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14727 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14728 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14729 * sysdeps/x86_64/multiarch/strchr.S: Update.
14730 Check bit_slow_BSF bit.
14731 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14732 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14733 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14735 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14738 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14740 (tryshell): Define.
14741 (__spawni): Change last parameter to be flag. Test
14742 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14743 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14744 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14745 * posix/spawni.c: Likewise.
14746 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14747 * posix/spawnp.c: Likewise. Change normal version to use
14748 SPAWN_XFLAGS_USE_PATH.
14749 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14750 SPAWN_XFLAGS_TRY_SHELL.
14753 * posix/glob.h: Remove gcc 1.x support.
14756 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14758 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14760 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14761 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14763 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14764 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14765 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14766 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14767 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14768 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14770 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14772 * sysdeps/x86_64/wcscmp.S: New file.
14774 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14775 wcscmp-c wcscmp-sse2
14776 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14777 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14778 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14779 * wcsmbs/wcscmp.c: Allow renaming.
14781 2011-09-05 David S. Miller <davem@davemloft.net>
14783 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14784 stack slot, rather than the struct return pointer slot.
14785 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14786 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14788 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14790 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14792 * po/ja.po: Update from translation team.
14795 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14796 kernel in 64-bit binaries.
14798 2011-09-01 David S. Miller <davem@davemloft.net>
14800 * elf/elf.h (HWCAP_SPARC_*): Move to..
14801 * sysdeps/sparc/sysdep.h: this new file and add new values.
14802 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14803 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14804 _DL_HWCAP_COUNT to 24.
14805 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14807 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14808 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14809 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14810 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14811 instead of magic constants.
14812 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14814 2011-08-31 David S. Miller <davem@davemloft.net>
14816 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14817 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14818 Reimplement to do errno handling inline.
14819 (SYSCALL_ERROR_HANDLER): New macro.
14820 (__SYSCALL_STRING): Do not do errno handling in asm.
14821 (__CLONE_SYSCALL_STRING): Delete.
14822 (__INTERNAL_SYSCALL_STRING): Delete.
14823 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14824 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14825 (PSEUDO): Reimplement to do errno handling inline.
14826 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14827 (SYSCALL_ERROR_HANDLER): New macro.
14828 (__SYSCALL_STRING): Do not do errno handling in asm.
14829 (__CLONE_SYSCALL_STRING): Delete.
14830 (__INTERNAL_SYSCALL_STRING): Delete.
14831 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14832 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14834 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14835 (inline_syscall*): Add 'err' argument.
14836 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14837 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14838 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14839 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14841 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14842 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14844 2011-08-30 Andreas Schwab <schwab@redhat.com>
14846 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14848 2011-08-29 Jiri Olsa <jolsa@redhat.com>
14850 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14853 2011-08-24 David S. Miller <davem@davemloft.net>
14855 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14857 2011-08-24 Andreas Schwab <schwab@redhat.com>
14859 * elf/Makefile: Add rules to build and run unload8 test.
14860 * elf/unload8.c: New file.
14861 * elf/unload8mod1.c: New file.
14862 * elf/unload8mod1x.c: New file.
14863 * elf/unload8mod2.c: New file.
14864 * elf/unload8mod3.c: New file.
14866 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14869 2011-08-23 David S. Miller <davem@davemloft.net>
14871 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14872 subtract stack bias.
14873 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14874 %sp not %fp in calculations.
14875 (_JMPBUF_UNWINDS_ADJ): Likewise.
14877 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14878 (aio_suspend): Call it to force an exception region around the
14879 AIO_MISC_WAIT() invocation.
14881 2011-08-23 Andreas Schwab <schwab@redhat.com>
14883 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14886 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14888 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14890 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14891 and <dl-machine.h>.
14892 (Elf64_FuncDesc): Remove.
14894 2011-08-22 David S. Miller <davem@davemloft.net>
14896 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14897 sigaltstack check, add missing cfi directives.
14898 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14899 missing cfi directives, and sigaltstack handling.
14901 2011-08-16 Andreas Schwab <schwab@redhat.com>
14904 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14905 object is seen twice.
14906 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14908 * elf/Makefile (distribute): Add tst-initorder2.c.
14909 (tests): Add tst-initorder2.
14910 (modules-names): Add tst-initorder2a tst-initorder2b
14911 tst-initorder2c tst-initorder2d. Add rules to build them.
14912 ($(objpfx)tst-initorder2.out): New rule.
14913 * elf/tst-initorder2.c: New file.
14914 * elf/tst-initorder2.exp: New file.
14916 2011-08-22 Andreas Schwab <schwab@redhat.com>
14918 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14920 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14921 dependencies back to end of function.
14923 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14924 $(elfobjdir)/ld.so.
14926 2011-08-21 Ulrich Drepper <drepper@gmail.com>
14928 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14929 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14930 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14931 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14932 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14933 of __vdso_gettimeofday.
14934 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14935 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14937 (_libc_vdso_platform_setup): Remove initialization of
14938 __vdso_gettimeofday and __vdso_time.
14940 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14942 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14943 and fgetc_unlocked.
14944 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14947 * elf/dl-open.c (add_to_global): Report additions to the global scope
14948 for LD_DEBUG=scopes.
14949 (dl_open_worker): Also print scope of newly loaded dependencies.
14950 (_dl_show_scope): Indicate if there is no scope.
14953 * stdio-common/Makefile (tests): Add bug24.
14954 * stdio-common/bug24.c: New file.
14956 2011-08-19 Andreas Jaeger <aj@suse.de>
14959 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14960 non-existant file when using close-on-exec mode.
14962 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14964 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14965 the very first instruction.
14967 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14968 the CFI state in the end.
14969 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14970 inclusion of dl-trampoline.h.
14971 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14973 2011-08-19 Andreas Schwab <schwab@redhat.com>
14975 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14976 expectations for long double.
14978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14979 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14981 2011-08-14 David S. Miller <davem@davemloft.net>
14983 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14984 artificual limit depends upon the system page size.
14986 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14988 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14989 * resolv/Makefile: Define CFLAGS-libresolv.
14991 2011-08-17 Andreas Schwab <schwab@redhat.com>
14993 * nss/makedb.c (compute_tables): Make variables used in nested
14996 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14998 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14999 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15000 if buffer was too small.
15002 * elf/pldd.c (main): Attach to all threads in the process.
15003 Rewrite /proc handling to use *at functions.
15005 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15007 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15008 specifies first scope to show.
15009 (dl_open_worker): Update callers. Move printing scope of new
15010 object to before the relocation.
15011 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15012 * sysdeps/generic/ldsodefs.h: Update declaration.
15014 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15015 string for the scope number.
15017 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15019 * nscd/servicescache.c (cache_addserv): Make sure written is always
15022 2011-08-14 Roland McGrath <roland@hack.frob.com>
15024 * sysdeps/i386/i486/bits/atomic.h
15025 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15026 statement expression, so as to suppress "set but not used" warning.
15027 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15029 * string/strncat.c (STRNCAT): Use prototype definition.
15031 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15032 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15034 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15035 (localedef-modules): Add localedef.
15036 (locale-modules): Add locale.
15038 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15039 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15040 to avoid a warning.
15042 2011-08-14 David S. Miller <davem@davemloft.net>
15044 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15045 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15047 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15049 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15050 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15051 * elf/rtld.c (dl_main): Set l_name of vDSO.
15052 Call _dl_show_scope when DL_DEBUG_SCOPES.
15053 (process_dl_debug): Recognize scopes flag and also set it for all.
15054 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15055 Declare _dl_show_scope.
15057 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15058 (do_dlopen): Pass caller_dlopen to dl_open.
15059 (__libc_dlopen_mode): Initialize caller_dlopen.
15061 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15062 of libc. Make tolower call locale-independent. Optimize a bit by
15063 using isdigit instead of isalnum.
15064 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15066 2011-08-12 Ulrich Drepper <drepper@gmail.com>
15068 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15069 was a dependency or dynamically loaded.
15071 2011-08-11 Ulrich Drepper <drepper@gmail.com>
15073 * intl/l10nflist.c: Allow architecture-specific pop function.
15074 * sysdeps/x86_64/l10nflist.c: New file.
15076 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15079 2011-08-10 Andreas Schwab <schwab@redhat.com>
15081 * include/dirent.h: Add libc_hidden_proto for scandirat and
15082 scandirat64. Don't declare __scandirat64.
15083 * dirent/scandirat.c: Add libc_hidden_def.
15084 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15085 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15087 2011-08-10 David S. Miller <davem@davemloft.net>
15089 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15091 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15092 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15093 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15095 2011-08-09 Ulrich Drepper <drepper@gmail.com>
15097 * Versions.def [libc]: Add GLIBC_2.15.
15098 * dirent/Makefile (routines): Add scandirat and scandirat64.
15099 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15101 * dirent/dirent.h: Declare scandirat and scandirat64.
15102 * dirent/scandirat.c: New file.
15103 * dirent/scandirat64.c: New file.
15104 * sysdeps/wordsize-64/scandirat.c: New file.
15105 * sysdeps/wordsize-64/scandirat64.c: New file.
15106 * dirent/opendir.c: Define opendirat.
15107 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15109 * dirent/scandir64.c: Adjust for scandir.c change.
15110 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15111 __scandirat64, and __scandir_cancel_handler.
15112 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15113 additional parameter and use openat instead of open (outside of ld.so).
15114 Add new __opendir as wrapper around __opendirat.
15115 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15116 here without requiring old scandirat implementation.
15118 2011-08-08 Ulrich Drepper <drepper@gmail.com>
15120 * dirent/scandir.c (cancel_handler): Renamed to
15121 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15122 defined. Adjust users.
15123 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15124 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15126 2011-08-04 Ulrich Drepper <drepper@gmail.com>
15128 * string/test-string.h (IMPL): Use __STRING to expand name and then
15131 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15134 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15136 * string/Makefile: Update.
15137 (strop-tests): Append strncat.
15138 * string/test-wcscmp.c: New file.
15139 New comprehensive test for wcscmp.
15140 * string/test-strcmp.c: Update.
15141 (WIDE): New define.
15143 2011-07-22 Andreas Schwab <schwab@redhat.com>
15145 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15148 2011-07-26 Andreas Schwab <schwab@redhat.com>
15150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15151 encoding to ACE if AI_IDN.
15153 2011-08-01 Jakub Jelinek <jakub@redhat.com>
15155 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15156 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15158 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15160 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15161 Fix overflow bug in strncat.
15162 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15164 * string/test-strncat.c: Update.
15165 Add new tests for checking overflow bugs.
15167 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15169 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15170 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15171 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15172 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15173 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15174 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15175 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15176 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15177 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15179 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15180 (USE_AS_STRCAT): Define.
15181 Add strcat and strncat support.
15182 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15184 2011-07-25 Andreas Schwab <schwab@redhat.com>
15186 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15187 __n bigger than INT_MAX+1.
15188 (__strncmp_g): Likewise.
15190 2011-07-23 Ulrich Drepper <drepper@gmail.com>
15192 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15193 * libio/stido.h: Likewise.
15195 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15197 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15200 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15201 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15202 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15203 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15204 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15207 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15210 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15212 (_dl_x86_64_save_sse): Likewise.
15214 2011-07-22 Ulrich Drepper <drepper@gmail.com>
15216 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15218 (_dl_x86_64_save_sse): Likewise.
15220 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15222 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15224 2011-07-21 Andreas Schwab <schwab@redhat.com>
15226 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15228 (_dl_x86_64_save_sse): Use correct AVX check.
15230 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15232 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15233 bug in strncpy/strncat.
15234 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15236 2011-07-21 Ulrich Drepper <drepper@gmail.com>
15238 * string/tester.c (test_strcat): Add tests for different alignments
15239 of source and destination.
15240 (test_strncat): Likewise.
15242 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15245 * posix/glob.c (glob): Check passed in values before using them in
15246 expressions to avoid some overflows.
15247 (glob_in_dir): Likewise.
15250 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15251 check for AVX enablement so that we don't crash with old kernels and
15253 * elf/tst-audit4.c: Add same checks here.
15254 * elf/tst-audit6.c: Likewise.
15256 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15258 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15260 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15262 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15264 * po/cs.po: Update from translation team.
15265 * po/bg.po: Likewise.
15267 2011-07-12 Marek Polacek <mpolacek@redhat.com>
15269 * misc/sys/cdefs.h: Add support for const attribute.
15270 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15271 to gnu_dev_{major,minor,makedev} functions.
15273 2011-07-20 Marek Polacek <mpolacek@redhat.com>
15275 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15277 2011-07-20 Andreas Schwab <schwab@redhat.com>
15279 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15282 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15284 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15285 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15286 register in order to avoid conflicts with the soft frame pointer
15287 being held in r11 when necessary.
15288 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15289 (INTERNAL_VSYSCALL_NCS): Likewise.
15291 2011-07-14 Marek Polacek <mpolacek@redhat.com>
15293 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15294 * elf/dl-fini.c (_dl_fini): Adjust caller.
15295 * elf/dl-close.c (_dl_close_worker): Likewise.
15296 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15298 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15300 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15301 "aux_cache->nlibs < 0".
15303 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15304 in the reload-count case.
15306 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15309 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15310 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15311 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15312 * sysdeps/x86_64/multiarch/strcat.S: New file.
15313 * sysdeps/x86_64/multiarch/strncat.S: New file.
15314 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15315 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15316 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15317 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15318 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15319 (USE_AS_STRCAT): Define.
15320 Add strcat and strncat support.
15321 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15322 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15323 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15324 * string/strncat.c: Update.
15325 (USE_AS_STRNCAT): Define.
15326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15327 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15329 * sysdeps/x86_64/multiarch/init-arch.h
15330 (bit_Prefer_PMINUB_for_stringop): New.
15331 (index_Prefer_PMINUB_for_stringop): Likewise.
15332 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15333 bit_Prefer_PMINUB_for_stringop.
15335 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15337 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15339 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15340 of casting of buffer.
15341 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15342 buffer32 and buffer64.
15343 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15344 writes instead of casting of buffer.
15345 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15347 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15350 2011-07-19 Andreas Schwab <schwab@redhat.com>
15352 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15354 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15356 * nscd/nscd.c (termination_handler): Don't do anything for a database
15357 if it has not yet been initialized.
15359 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15361 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15363 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15365 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15367 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15369 * po/nl.po: Update from translation team.
15370 * po/sv.po: Likewise.
15372 2011-07-16 Roland McGrath <roland@hack.frob.com>
15374 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15375 now disallowed by GCC.
15377 * configure.in (use-default-link): Default to yes if a test -shared
15378 link meets our qualifications.
15379 * configure: Regenerated.
15381 * config.make.in (output-format): New variable.
15382 * configure.in: Check for ld --print-output-format support.
15383 * configure: Regenerated.
15384 * Makerules ($(common-objpfx)format.lds)
15385 [$(output-format) != unknown]: Just use $(output-format),
15386 instead of the linker-script munging.
15388 2011-07-14 Roland McGrath <roland@hack.frob.com>
15390 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15391 of $(common-objpfx)shlib.lds.
15392 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15394 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15395 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15397 * configure.in (-z relro check): Adjust test code to add a large
15398 writable data section after it.
15399 * configure: Regenerated.
15401 2011-07-11 Roland McGrath <roland@hack.frob.com>
15403 * configure.in (-z relro check): Fix test code to make the variable
15405 * configure: Regenerated.
15407 2011-07-11 Ulrich Drepper <drepper@gmail.com>
15409 * nscd/nscd.h (struct traced_file): Define.
15410 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15411 elements. Add traced_files.
15412 (inotify_fd): Declare.
15413 (register_traced_file): Declare.
15414 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15415 (inotify_fd): Export.
15416 (resolv_conf_descr): Remove.
15417 (nscd_init): Move inotify descriptor creation to main.
15418 Don't register files for notification here.
15419 (register_traced_file): New function.
15420 (invalidate_cache): Don't use reset_res to determine whether to call
15421 res_init, go through the list of registered files.
15422 (main_loop_poll): The inotify descriptors are now stored in the
15423 structures for the traced files.
15424 (main_loop_epoll): Likewise
15425 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15426 to __nss_disable_nscd.
15427 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15428 for a database anymore. Check the records for all the registered
15430 * nss/Makefile (libnss_files-routines): Add files-init.
15431 (libnss_db-routines): Add db-init.
15432 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15433 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15434 * nss/nss_db/db-init.c: New file.
15435 * nss/nss_files/files-init.c: New file.
15436 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15437 __nss_lookup_function.
15438 (__nss_lookup_function): Call nss_load_library.
15439 (nss_load_all_libraries): New function.
15440 (__nss_disable_nscd): Take parameter with callback function for files
15441 to register. Set is_nscd. Load all the DSOs for the NSS modules
15442 used for the cached services.
15443 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15444 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15445 options for features to all the files in nscd.
15447 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15449 2011-07-10 Roland McGrath <roland@hack.frob.com>
15451 * csu/elf-init.c (__libc_csu_init): Comment typo.
15453 2011-07-09 Ulrich Drepper <drepper@gmail.com>
15455 * po/pl.po: Update from translation team.
15456 * po/ja.po: Likewise.
15457 * po/ru.po: Likewise.
15458 * po/ko.po: Likewise.
15459 * po/fr.po: Likewise.
15461 2011-07-09 Roland McGrath <roland@hack.frob.com>
15463 * configure.in (.ctors/.dtors header and trailer check):
15464 Use an empirical test on a built program.
15465 * configure: Regenerated.
15467 * configure.in (-z relro check): Use an empirical test on a built DSO.
15468 Detect, but do not require, on ia64.
15469 * configure: Regenerated.
15471 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15472 Update tests that use readelf to use $READELF instead.
15473 * configure: Regenerated.
15475 2011-07-08 Ulrich Drepper <drepper@gmail.com>
15477 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15478 if the result is not used.
15480 2011-07-05 Andreas Jaeger <aj@suse.de>
15483 * stdlib/tst-strtod.c: Add testcase.
15485 2011-07-07 Ulrich Drepper <drepper@gmail.com>
15487 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15488 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15489 The latter has a higher limit. Take additional parameter to pass to
15491 (__pathconf): Pass file to __statfs_link_max.
15492 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15494 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15498 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15499 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15501 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15502 (__statfs_filesize_max): Likewise.
15503 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15505 2011-07-05 Andreas Jaeger <aj@suse.de>
15507 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15509 2011-07-06 Marek Polacek <mpolacek@redhat.com>
15511 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15513 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15516 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15518 * Makefile (strop-tests): Add strncat.
15519 * string/test-strncat.c: New file.
15521 2011-06-30 Marek Polacek <mpolacek@redhat.com>
15523 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15525 2011-06-21 Andreas Jaeger <aj@suse.de>
15527 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15528 Copy rule from iconvdata/Makefile.
15530 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15533 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15534 but no long options are defined, just return 'W'.
15536 2011-06-22 Marek Polacek <mpolacek@redhat.com>
15539 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15541 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15543 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15545 (innetgr): Likewise.
15547 2011-07-05 Roland McGrath <roland@hack.frob.com>
15549 * config.make.in (install_root): Default to $(DESTDIR).
15551 2011-07-05 Ulrich Drepper <drepper@gmail.com>
15553 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15555 2011-07-02 Roland McGrath <roland@hack.frob.com>
15557 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15559 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15560 containing directory rather than embedding absolute directory names.
15562 * scripts/check-local-headers.sh: Rewritten using awk.
15563 Match by word, not by line. Print error messages for matches.
15564 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15566 * Makerules [shlib-lds-flags empty]:
15567 ($(common-objpfx)libc_pic.opts): New target.
15568 ($(common-objpfx)libc_pic.os.clean): New target.
15569 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15571 * config.make.in (OBJCOPY): New variable.
15572 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15573 * configure: Regenerated.
15575 * config.make.in (use-default-link): New variable.
15576 * configure.in (use_default_link): Grok --with-default-link to set it.
15577 * configure: Regenerated.
15578 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15579 (shlib-lds, shlib-lds-flags): Define to empty.
15581 * Makerules (shlib-lds): New variable.
15582 (shlib-lds-flags): New variable.
15583 (build-shlib, build-moduile, build-module-asneeded): Use it.
15584 ($(common-objpfx)libc.so): Use $(shlib-lds).
15585 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15586 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15588 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15589 DT_FLAGS/DT_FLAGS_1 with zero flags.
15591 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15592 linker script munging.
15594 2011-07-02 Ulrich Drepper <drepper@gmail.com>
15596 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15598 * crypt/sha512.c (sha512_process_block): Perform total addition using
15599 128-bit if possible.
15600 (__sha512_finish_ctx): Likewise.
15601 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15603 * crypt/sha256.c (SWAP64): Define.
15604 (sha256_process_block): Perform total addition using 64-bit if
15606 (__sha256_finish_ctx): Likewise.
15608 2011-07-01 Ulrich Drepper <drepper@gmail.com>
15610 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15611 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15612 * nscd/hstcache.c (cache_addhst): Likewise.
15613 * nscd/grpcache.c (cache_addgr): Likewise.
15614 * nscd/aicache.c (addhstaiX): Likewise
15615 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15617 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
15619 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15620 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15621 * nscd/hstcache.c (cache_addhst): Likewise.
15622 * nscd/grpcache.c (cache_addgr): Likewise.
15623 * nscd/aicache.c (addhstaiX): Likewise
15625 2011-07-01 Andreas Schwab <schwab@redhat.com>
15627 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15628 domain only when needed.
15630 2011-06-30 Andreas Schwab <schwab@redhat.com>
15632 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15633 is always restored.
15635 2011-06-29 Ulrich Drepper <drepper@gmail.com>
15637 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15638 are re-adding the entry.
15639 * nscd/servicescache.c (cache_addserv): Likewise.
15641 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15643 * sysdeps/generic/dl-irel.h: fix protection against multiple
15645 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15647 2011-06-28 Ulrich Drepper <drepper@gmail.com>
15650 * malloc/memusage.sh: Fix quoting in message.
15651 * debug/xtrace.sh: Likewise.
15653 * configure.in: Remove support for --experimental-malloc option, make
15655 * config.make.in: Likewise.
15656 * malloc/Makefile: Likewise.
15658 2011-06-27 Andreas Schwab <schwab@redhat.com>
15660 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15661 two-byte characters.
15663 2011-06-27 Roland McGrath <roland@hack.frob.com>
15665 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15666 AC_CACHE_CHECK invocation.
15667 * configure: Regenerated.
15669 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15671 2011-06-27 Ulrich Drepper <drepper@gmail.com>
15674 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15675 bit from old_res_options.
15677 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15679 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15680 value type for setfct.
15682 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15684 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15685 __gettimeofday instead of gettimeofday.
15687 2011-06-26 Ulrich Drepper <drepper@gmail.com>
15689 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15691 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15693 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15695 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15698 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15700 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15701 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15702 strcpy-sse2-unaligned strncpy-sse2-unaligned
15703 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15704 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15705 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15706 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15707 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15708 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15709 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15710 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15711 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15712 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15713 (STRCPY): Support SSE2 and SSSE3 versions.
15715 2011-06-24 Ulrich Drepper <drepper@gmail.com>
15718 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15719 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15720 kernels which artificially limit size of requests.
15722 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15724 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15725 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15726 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15727 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15728 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15729 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15730 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15731 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15732 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15733 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15734 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15735 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15736 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15737 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15738 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15740 Enable unaligned load optimization for Intel Core i3, i5 and i7
15742 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15744 (index_Fast_Unaligned_Load): Define.
15745 (HAS_FAST_UNALIGNED_LOAD): Define.
15747 2011-06-23 Marek Polacek <mpolacek@redhat.com>
15749 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15751 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15754 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15755 until it is clear that the information is realy needed.
15756 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15758 2011-06-22 Andreas Schwab <schwab@redhat.com>
15760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15762 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15764 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15765 /sys/devices/system/cpu/online if it is usable.
15767 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15768 reading the information from the /proc filesystem to once a second.
15770 2011-06-21 Andreas Jaeger <aj@suse.de>
15772 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15773 NULL after inclusion of kernel headers.
15775 2011-06-21 Ulrich Drepper <drepper@gmail.com>
15777 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15778 calls to internal_setent.
15781 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15782 addresses using gethostbyname4_r ignore IPv4 addresses.
15784 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15785 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15787 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15789 2011-06-20 David S. Miller <davem@davemloft.net>
15791 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15793 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15795 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15796 (elf_irel): Use it.
15797 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15798 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15799 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15800 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15801 * sysdeps/x86_64/dl-irel.h: Likewise.
15803 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15804 * elf/dl-sym.c: Likewise.
15806 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15808 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15809 need to dereference resplen2.
15811 2011-06-14 Andreas Schwab <schwab@redhat.com>
15813 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15815 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15817 * Makeconfig: Define vardbdir and inst_vardbdir.
15818 * nss/Makefile: Add rules to install db-Makefile.
15820 * nss/nss_db/db-XXX.c: Cleanup.
15822 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15823 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15825 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15826 * nss/makedb.c: Implement -g option to specify that value strings
15827 are generated and should not be added to table iterated over for
15829 * nss/nss_db/db-initgroups.c: New file.
15831 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15834 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15835 (internal_getgrouplist): Adjust to name change.
15836 Update use_initgroups_entry if this is not the first call.
15837 * nss/databases.def: Add initgroups entry.
15839 * nss/makedb.c (compute_tables): Check result of multiple hash table
15840 sizes to minimize maximum chain length.
15842 2011-06-14 Ulrich Drepper <drepper@gmail.com>
15844 * Versions.def: Add entry for libnss_db.
15845 * shlib-versions: Likewise.
15846 * nss/Makefile: Add rules to build libnss_db.
15847 * nss/Versions: Add libnss_db information. Organize libnss_files
15849 * nss/db-Makefile: Add gshadow support. Change rules for the new
15850 makedb progra. Some minor improvements to generate smaller files.
15851 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15853 * nss/makedb.c: ...here.
15854 Improve database format to be smaller and require less memory at
15856 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15858 * nss/nss_db/db-netgrp.c: Likewise.
15859 * nss/nss_db/db-open.c: Likewise.
15860 * nss/nss_files/flies-XXX.x: Adjust comments.
15861 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15862 * nss/nss_files/files-grp.c: Likewise.
15863 * nss/nss_files/files-hosts.c: Likewise.
15864 * nss/nss_files/files-network.c: Likewise.
15865 * nss/nss_files/files-proto.c: Likewise.
15866 * nss/nss_files/files-pwd.c: Likewise.
15867 * nss/nss_files/files-rpc.c: Likewise.
15868 * nss/nss_files/files-service.c: Likewise.
15869 * nss/nss_files/files-sgrp.c: Likewise.
15870 * nss/nss_files/files-spwd.c: Likewise.
15871 * nss/nss_db/db-alias.c: Removed.
15872 * nss/nss_db/dummy-db.h: Removed.
15874 2011-06-02 Ulrich Drepper <drepper@gmail.com>
15876 * nss/makedb.c: Rewritten to not use database library.
15877 * nss/Makefile: Update to build new makedb program.
15879 2011-06-14 Andreas Jaeger <aj@suse.de>
15881 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15882 memset declaration.
15884 2011-06-10 Andreas Schwab <schwab@redhat.com>
15886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15889 2011-06-10 Roland McGrath <roland@hack.frob.com>
15891 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15892 * elf/Makefile ($(objpfx)ld.so): Likewise.
15894 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15895 Don't list ld.so twice in dependencies.
15897 * posix/bug-regex31.c: Include <stdlib.h>.
15899 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15901 * nis/nss_compat/compat-spwd.c
15902 (getspent_next_nss_netgr): Remove unused variable.
15903 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15905 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15906 nonmembers" output to use the right array.
15908 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15910 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15912 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15913 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15914 * catgets/gencat.c (read_input_file): Likewise.
15915 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15917 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15918 variable definition inside #if's controlling its use.
15920 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15922 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15924 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15926 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15929 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15931 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15932 * configure: Regenerated.
15934 * Makerules: Revert last change.
15935 * elf/Makefile: Likewise.
15937 2011-06-09 Roland McGrath <roland@hack.frob.com>
15939 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15940 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15941 (reloc-link): Likewise.
15943 2011-06-09 Ulrich Drepper <drepper@gmail.com>
15945 * elf/Makefile: Add rules to build pldd.
15946 * elf/pldd.c: New file.
15947 * elf/pldd-xx.c: New file.
15949 2011-06-07 Ulrich Drepper <drepper@gmail.com>
15951 * version.h: Update for 2.15 development version.
15953 2011-06-07 David S. Miller <davem@davemloft.net>
15955 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15957 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15958 elf_machine_lazy_rel): Likewise.
15959 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15960 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15961 elf_machine_lazy_rel): Likewise.
15962 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15963 dl_hwcap via passed in argument.
15964 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15967 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15969 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15971 2011-06-06 Roland McGrath <roland@hack.frob.com>
15974 * manual/fdl-1.1.texi: New file, verbatim from:
15975 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15976 * manual/lgpl-2.1.texi: New file, verbatim from:
15977 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15978 * manual/Makefile (licenses): New variable, list those new file names.
15980 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15982 * manual/fdl.texi: File removed.
15983 * manual/lesser.texi: File removed.
15984 * manual/libc.texinfo (Copying, Documentation License):
15985 Use new @include file names, put @appendix directive before @include.
15987 2011-06-04 Jakub Jelinek <jakub@redhat.com>
15990 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15991 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15992 (mq_open): Add __NTH.
15994 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15997 Assume Intel Core i3/i5/i7 processor if AVX is available.
15999 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16001 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16004 2011-05-31 Andreas Schwab <schwab@redhat.com>
16006 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16007 memory. Use alloca_account. Fix memory leak when retrying.
16009 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16011 * version.h (RELEASE): Bump for 2.14 release.
16012 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16014 * config.make.in (RANLIB): Remove entry.
16016 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16018 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16019 (libc.pot): Work around missing support for .ksh extension in xgettext.
16022 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16023 if both request failed.
16024 (send_dg): In case of server errors clear resplen or *resplen2.
16027 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16028 when there are multiple maps.
16029 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16030 (_dl_fini): Remove test here.
16032 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16034 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16037 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16038 bit from old_res_options.
16039 (gaih_inet): Likewise.
16042 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16045 * resolv/res_init.c (res_setoptions): Make the code more compact.
16048 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16052 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16054 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16057 * malloc/malloc.h: Declare malloc hook variables as volatile.
16059 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16063 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16064 raise in the comment.
16065 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16066 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16067 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16069 2011-05-28 Ulrich Drepper <drepper@gmail.com>
16072 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16073 grow the buffers more if it already has to be sufficient.
16074 (build_wcs_upper_buffer): Likewise.
16075 * posix/regexec.c (check_matching): Likewise.
16076 (clean_state_log_if_needed): Likewise.
16077 (extend_buffers): Don't enlarge buffers beyond size of the input
16079 Patches mostly by Emil Wojak <emil@wojak.eu>.
16080 * posix/bug-regex32.c: New file.
16081 * posix/Makefile (tests): Add bug-regex32.
16083 * locale/findlocale.c (_nl_find_locale): Return right away if
16084 _nl_explode_name failed.
16085 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16087 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16089 * debug/xtrace.sh: Unify messages.
16090 * malloc/memusage.sh: Likewise.
16093 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16094 time symbol from vDSO. Substitute with vsyscall if not available.
16095 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16098 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16099 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16100 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16101 Add sendmmsg and internal_sendmmsg.
16102 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16103 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16104 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16106 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16107 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16108 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16110 2011-05-27 Ulrich Drepper <drepper@gmail.com>
16113 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16114 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16116 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16120 * iconvdata/Makefile (tests): Add bug-iconv9.
16121 * iconvdata/bug-iconv9.c: New file.
16123 2011-05-27 Andreas Schwab <schwab@redhat.com>
16126 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16128 2011-05-25 Jakub Jelinek <jakub@redhat.com>
16130 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16131 (struct user_regs_struct): Change intcs field back to cs.
16133 2011-05-25 Ulrich Drepper <drepper@gmail.com>
16135 * po/ja.po: Update from translation team.
16137 2011-05-23 Ulrich Drepper <drepper@gmail.com>
16140 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16141 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16143 2011-05-20 Andreas Schwab <schwab@redhat.com>
16145 * stdlib/longlong.h: Update from GCC.
16147 2011-05-23 Andreas Schwab <schwab@redhat.com>
16149 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16151 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16152 Add parameter name.
16153 (__sysconf): Pass it down.
16155 2011-05-22 Ulrich Drepper <drepper@gmail.com>
16158 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16160 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16161 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16162 add in in __libc_use_alloca calls. Adjust callers.
16163 (glob): Use malloc in some situations.
16165 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16166 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16169 2011-05-21 Ulrich Drepper <drepper@gmail.com>
16171 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16172 and CLOCK_BOOTTIME_ALARM.
16175 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16178 * string/_strerror.c (__strerror_r): Print negative errors as signed
16182 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16183 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16184 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16186 * configure.in: Fix typo in redirection and correct removal of test
16187 files in two cases.
16190 * locale/setlocale.c (new_composite_name): Fix test to check for
16191 identical name of all categories.
16194 * libio/filedoalloc.c (local_isatty): New function.
16195 (_IO_file_doallocate): Use local_isatty.
16196 * stdio-common/perror.c (perror): In case a new stream is used
16197 forward the stream error.
16198 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16201 2011-05-20 Ulrich Drepper <drepper@gmail.com>
16204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16206 * include/alloca.h (extend_alloca_account): Define.
16209 * posix/regex.h: Fix comments with documentation of user-accessible
16210 fields after compilation and describe correct free'ing of pattern
16211 after re_compile_pattern.
16212 Patch by Reuben Thomas <rrt@sc3d.org>.
16214 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16216 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16217 and -mno-altivec to prevent the compiler from using Altivec and/or
16218 VSX instructions when the corresponding registers are not available.
16220 2011-05-19 Andreas Schwab <schwab@redhat.com>
16222 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16224 2011-05-19 Ulrich Drepper <drepper@gmail.com>
16226 * libio/freopen.c (freopen): Use __dup2, not dup2.
16227 * libio/freopen64.c (freopen64): Likewise.
16229 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16232 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16233 * math/Makefile (tests): Add test-powl.
16234 (CFLAGS-test-powl.c): Define.
16235 * math/test-powl.c: New file.
16237 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16239 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16241 2011-05-17 Ulrich Drepper <drepper@gmail.com>
16244 * iconvdata/gb18030.c: Update to GB18020-2005.
16246 2011-05-16 Ulrich Drepper <drepper@gmail.com>
16248 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16249 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16250 Patch by Aharon Robbins <arnold@skeeve.com>.
16253 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16257 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16258 through underflows.
16261 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16262 point to strings before performing equality test for error_one_per_line
16266 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16269 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16270 (struct user_fpregs_struct): Avoid __uint*_t types.
16273 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16274 symbol info. Use it instead of calling _dl_addr locally.
16275 (lock_and_info): New function.
16276 (tr_freehook): Call lock_and_info and pass symbol info as additional
16277 parameter to tr_where.
16278 (tr_mallochook): Likewise.
16279 (tr_reallochook): Likewise.
16280 (tr_memalignhook): Likewise.
16282 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16283 used and couldn't be at all thread-safe.
16285 2011-05-15 Ulrich Drepper <drepper@gmail.com>
16287 * libio/freopen.c (freopen): Don't close old file descriptor
16288 before the new one is opened. Instead dup the new file descriptor
16289 to the old one after the new stream is created.
16290 * libio/freopen64.c (freopen64): Likewise.
16291 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16292 * libio/fileops.c (_IO_new_file_close_it): Handle new
16293 _IO_FLAGS2_NOCLOSE flag.
16294 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16295 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16296 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16297 _IO_FLAGS2_NOCLOSE flag.
16298 * include/unistd.h: Add hidden_proto for dup3.
16299 Define __have_dup3.
16300 * io/dup3.c: Define hidden symbol.
16301 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16304 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16305 when an incomplete long option is used.
16306 * posix/tst-getopt_long1.c: New file.
16307 * posix/Makefile (tests): Add tst-getopt_long1.
16310 * scripts/config.guess: Update from autoconf-2.68.
16311 * scripts/config.sub: Likewise.
16314 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16316 (has_cpuclock): ...this. New function.
16317 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16318 macro here based on has_cpuclock code.
16321 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16322 First byte (not low byte) is now always NUL.
16323 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16325 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16326 Use non-cancelable interfaces.
16329 * locale/iso-639.def: Add entry for Sorani.
16332 * include/stdlib.h: Move include protection to the right place.
16333 Define abort_msg_s. Declare __abort_msg with it.
16334 * stdlib/abort.c (__abort_msg): Adjust type.
16335 * assert/assert.c (__assert_fail_base): New function. Majority
16336 of code from __assert_fail. Allocate memory for __abort_msg with
16338 (__assert_fail): Now call __assert_fail_base.
16339 * assert/assert-perr.c: Remove bulk of implementation. Use
16340 __assert_fail_base.
16341 * include/assert.hL Declare __assert_fail_base.
16342 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16344 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16346 2011-05-14 Ulrich Drepper <drepper@gmail.com>
16350 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16351 until all modules are registered in the DTV.
16352 * elf/Makefile: Add rules to build and run tst-tls19.
16353 * elf/tst-tls19.c: New file.
16354 * elf/tst-tls19mod1.c: New file.
16355 * elf/tst-tls19mod2.c: New file.
16356 * elf/tst-tls19mod3.c: New file.
16357 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16360 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16364 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16365 two-byte sequence errors.
16366 * iconvdata/Makefile (tests): Add bug-iconv8.
16367 * iconvdata/bug-iconv8.c: New file.
16370 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16373 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16376 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16377 (dummy_getcfa): New function.
16378 (init): Get _Unwind_GetCFA address, use dummy if not found.
16379 (backtrace_helper): In recursion check, also check whether CFA changes.
16380 (__backtrace): Completely initialize arg.
16382 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16383 storing incomplete byte sequence in state object. Avoid testing for
16384 guaranteed too small input if we know there is enough data available.
16386 2011-05-11 Andreas Schwab <schwab@redhat.com>
16388 * Makeconfig (+link-pie): Indent.
16389 * Rules (binaries-pie): Define if $(have-fpie) and
16391 (binaries-shared): Also filter out $(binaries-pie).
16392 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16393 * nscd/Makefile (others-pie): Add nscd.
16394 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16395 ($(objpfx)nscd): Remove command override.
16396 * login/Makefile (others-pie): Add pt_chown.
16397 ($(objpfx)pt_chown): Remove command override.
16398 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16399 remove command overrides.
16401 2011-05-13 Ulrich Drepper <drepper@gmail.com>
16403 * libio/tst_putwc.c: Fix error messages.
16406 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16407 currently writing and seek to current position when not.
16408 * libio/Makefile (tests): Add bug-fclose1.
16409 * libio/bug-fclose1.c: New file.
16411 2011-05-12 Ulrich Drepper <drepper@gmail.com>
16414 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16415 don't set DF_1_NODELETE here.
16416 (do_lookup_x): When entering new entry test for copy relocation
16417 and if necessary set DF_1_NODELETE flag.
16418 * elf/tst-unique4.cc: New file.
16419 * elf/tst-unique4.h: New file.
16420 * elf/tst-unique4lib.cc: New file.
16421 * elf/Makefile: Add rules to build and run tst-unique4.
16422 Patch by Piotr Bury <pbury@goahead.com>.
16424 2011-05-11 Ulrich Drepper <drepper@gmail.com>
16427 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16430 * misc/mntent_r.c (addmntent): Flush the stream after the output
16433 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16434 (is_trusted_path_normalize): Skip initial colon. Append slash
16435 to empty buffer. Duplicate is_trusted_path code but allow
16436 constructed patch to be prefix.
16437 (is_dst): Allow $ORIGIN followed by /.
16438 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16439 Correct testing of result of is_trusted_path_normalize
16440 (decompose_rpath): Fix warning.
16442 2011-05-10 Ulrich Drepper <drepper@gmail.com>
16445 * grp/initgroups.c (internal_getgrouplist): When we found the service
16446 list through the initgroups entry in nsswitch.conf do not always
16447 continue on a successful lookup. Don't always use the
16448 __nss_group_database value if it is set.
16449 * nss/nsswitch.conf (initgroups): Change action for successful db
16450 lookup to continue for compatibility.
16452 2011-05-09 Ulrich Drepper <drepper@gmail.com>
16455 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16457 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16459 * iconvdata/tst-tables.sh: Likewise.
16460 * iconvdata/cp770.c: New file.
16461 * iconvdata/cp771.c: New file.
16462 * iconvdata/cp772.c: New file.
16463 * iconvdata/cp773.c: New file.
16464 * iconvdata/cp774.c: New file.
16465 * iconvdata/testdata/CP770: New file.
16466 * iconvdata/testdata/CP770..UTF8: New file.
16467 * iconvdata/testdata/CP771: New file.
16468 * iconvdata/testdata/CP771..UTF8: New file.
16469 * iconvdata/testdata/CP772: New file.
16470 * iconvdata/testdata/CP772..UTF8: New file.
16471 * iconvdata/testdata/CP773: New file.
16472 * iconvdata/testdata/CP773..UTF8: New file.
16473 * iconvdata/testdata/CP774: New file.
16474 * iconvdata/testdata/CP774..UTF8: New file.
16476 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16478 * iconvdata/gen-8bit-gap.sh: Likewise.
16479 * iconvdata/gen-8bit.sh: Likewise.
16481 * locale/iso-639.def: Add ary entry.
16484 * locale/C-translit.h.in: Add U20A1 transliteration.
16487 * locale/iso-639.def: Add wae entry.
16488 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16491 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16495 * locale/C-translit.h.in: Add entry for U20B9.
16496 Patch by pravin.d.s@gmail.com.
16498 2011-05-08 Ulrich Drepper <drepper@gmail.com>
16501 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16502 ENAMETOOLONG use generic getcwd.
16503 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16504 in rtld. Use *stat64.
16505 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16506 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16507 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16508 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16509 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16510 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16511 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16512 __fstatat64 macros.
16513 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16514 * dirent/rewinddir.c: Add libc_hidden_def.
16515 * sysdeps/mach/hurd/rewinddir.c: Likewise.
16516 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
16518 * include/dirent.h (__alloc_dir): Add flags parameter.
16519 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16520 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16522 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16523 from fdopendir if O_CLOEXEC is already set.
16525 2011-03-15 Alan Modra <amodra@gmail.com>
16527 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16528 l_tls_firstbyte_offset non-zero. Save padding offset in
16529 l_tls_firstbyte_offset for later use.
16530 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16531 freeing static tls block.
16533 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16535 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16536 where #ifdef was intended. The intent is to prevent ARG_MAX from
16537 being defined by the kernel headers.
16539 2011-05-07 Ulrich Drepper <drepper@gmail.com>
16542 * resolv/resolv.h: Define RES_NOTLDQUERY.
16543 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16544 no-tld-query and set RES_NOTLDQUERY.
16545 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16546 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16547 modern BIND to search name as TLD unless forbidden.
16549 2011-05-07 Petr Baudis <pasky@suse.cz>
16550 Ulrich Drepper <drepper@gmail.com>
16553 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16554 (is_trusted_path): ...to here.
16555 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16556 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16557 using is_trusted_path_normalize() in setuid scripts.
16559 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16561 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16562 __BEGIN/__END_DECLS.
16564 2011-05-06 Ulrich Drepper <drepper@gmail.com>
16566 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16567 NSS_STATUS_NOTFOUND if no record was found.
16569 2011-05-05 Andreas Schwab <schwab@redhat.com>
16571 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16572 (headers-not-in-tirpc): Remove rpc/netdb.h
16573 * resolv/netdb.h: Revert last change.
16575 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16577 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16578 circular dependency between libgcc.a and libc.a.
16580 2011-05-05 Andreas Schwab <schwab@redhat.com>
16582 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16583 * nis/Makefile: Don't install rpcsvc/*.
16584 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16585 instead of <rpc/types.h>.
16586 (MAXHOSTNAMELEN): Define.
16588 2011-05-03 Andreas Schwab <schwab@redhat.com>
16590 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16592 2011-04-28 Maciej Babinski <mbabinski@google.com>
16595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16596 gethostbyname4_r when IPv6 results are possible.
16598 2011-05-02 Ulrich Drepper <drepper@gmail.com>
16601 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16602 _PC_PIPE_BUF handling.
16604 2011-04-30 Bruno Haible <bruno@clisp.org>
16607 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16608 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16610 * inet/getnameinfo.c (getnameinfo): Likewise.
16612 2011-04-29 Ulrich Drepper <drepper@gmail.com>
16614 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16615 to groups setting in database lookup.
16616 * nss/nsswitch.conf: Add initgroups entry.
16618 2011-04-22 Ulrich Drepper <drepper@gmail.com>
16621 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16623 Patch by Eric Blake <eblake@redhat.com>.
16625 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16627 * sunrpc/Makefile (need-export-routines): Add svc_run.
16628 (routines): Remove svc_run.
16629 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16630 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16631 * sunrpc/svc_run.c (svc_run): Likewise.
16632 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16634 2011-04-21 Ulrich Drepper <drepper@gmail.com>
16636 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16637 problem in reallocation in last patch.
16639 2011-04-20 Ulrich Drepper <drepper@gmail.com>
16641 * sunrpc/Makefile: Move inclusion of Rules.
16643 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16645 * nss/nss_files/files-initgroups.c: New file.
16646 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16647 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16648 _nss_files_initgroups_dyn.
16650 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16652 * elf/elf.h (R_ARM_IRELATIVE): Define.
16654 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16656 * po/ru.po: Update from translation team.
16658 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16660 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16663 2011-02-06 Mike Frysinger <vapier@gentoo.org>
16666 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16667 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16668 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16669 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16670 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16672 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16674 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16676 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16677 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16678 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16680 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16683 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16685 * stdlib/bug-getcontext.c: New file.
16686 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16688 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16690 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16691 instructions into .machine "z9-109".
16692 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16693 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16695 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16697 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16698 between environment variables and auxiliary vector.
16700 2011-04-16 Ulrich Drepper <drepper@gmail.com>
16702 * Makefile: Add rules to build linkobj/libc.so.
16703 * include/libc-symbols.h: Define libc_hidden_nolink.
16704 * include/rpc/auth.h: Mark functions which are to be hidden.
16705 * include/rpc/auth_des.h: Likewise.
16706 * include/rpc/auth_unix.h: Likewise.
16707 * include/rpc/clnt.h: Likewise.
16708 * include/rpc/des_crypt.h: Likewise.
16709 * include/rpc/key_prot.h: Likewise.
16710 * include/rpc/pmap_clnt.h: Likewise.
16711 * include/rpc/pmap_prot.h: Likewise.
16712 * include/rpc/pmap_rmt.h: Likewise.
16713 * include/rpc/rpc_msg.h: Likewise.
16714 * include/rpc/svc.h: Likewise.
16715 * include/rpc/svc_auth.h: Likewise.
16716 * include/rpc/xdr.h: Likewise.
16717 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16718 * nss/Makefile: Likewise.
16719 * sunrpc/Makefile: Don't install headers. Build library with normal
16720 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16721 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16722 for the compat linking library. Remove use of INTDEF/INTUSE.
16723 * sunrpc/auth_none.c: Likewise.
16724 * sunrpc/auth_unix.c: Likewise.
16725 * sunrpc/authdes_prot.c: Likewise.
16726 * sunrpc/authuxprot.c: Likewise.
16727 * sunrpc/clnt_gen.c: Likewise.
16728 * sunrpc/clnt_perr.c: Likewise.
16729 * sunrpc/clnt_raw.c: Likewise.
16730 * sunrpc/clnt_simp.c: Likewise.
16731 * sunrpc/clnt_tcp.c: Likewise.
16732 * sunrpc/clnt_udp.c: Likewise.
16733 * sunrpc/clnt_unix.c: Likewise.
16734 * sunrpc/des_crypt.c: Likewise.
16735 * sunrpc/des_soft.c: Likewise.
16736 * sunrpc/get_myaddr.c: Likewise.
16737 * sunrpc/key_call.c: Likewise.
16738 * sunrpc/key_prot.c: Likewise.
16739 * sunrpc/netname.c: Likewise.
16740 * sunrpc/pm_getmaps.c: Likewise.
16741 * sunrpc/pm_getport.c: Likewise.
16742 * sunrpc/pmap_clnt.c: Likewise.
16743 * sunrpc/pmap_prot.c: Likewise.
16744 * sunrpc/pmap_prot2.c: Likewise.
16745 * sunrpc/pmap_rmt.c: Likewise.
16746 * sunrpc/publickey.c: Likewise.
16747 * sunrpc/rpc_cmsg.c: Likewise.
16748 * sunrpc/rpc_common.c: Likewise.
16749 * sunrpc/rpc_dtable.c: Likewise.
16750 * sunrpc/rpc_prot.c: Likewise.
16751 * sunrpc/rpc_thread.c: Likewise.
16752 * sunrpc/rtime.c: Likewise.
16753 * sunrpc/svc.c: Likewise.
16754 * sunrpc/svc_auth.c: Likewise.
16755 * sunrpc/svc_authux.c: Likewise.
16756 * sunrpc/svc_raw.c: Likewise.
16757 * sunrpc/svc_run.c: Likewise.
16758 * sunrpc/svc_simple.c: Likewise.
16759 * sunrpc/svc_tcp.c: Likewise.
16760 * sunrpc/svc_udp.c: Likewise.
16761 * sunrpc/svc_unix.c: Likewise.
16762 * sunrpc/svcauth_des.c: Likewise.
16763 * sunrpc/xcrypt.c: Likewise.
16764 * sunrpc/xdr.c: Likewise.
16765 * sunrpc/xdr_array.c: Likewise.
16766 * sunrpc/xdr_float.c: Likewise.
16767 * sunrpc/xdr_intXX_t.c: Likewise.
16768 * sunrpc/xdr_mem.c: Likewise.
16769 * sunrpc/xdr_rec.c: Likewise.
16770 * sunrpc/xdr_ref.c: Likewise.
16771 * sunrpc/xdr_sizeof.c: Likewise.
16772 * sunrpc/xdr_stdio.c: Likewise.
16774 2011-04-10 Ulrich Drepper <drepper@gmail.com>
16777 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16778 * sysdeps/ia64/dl-tls.h: Likewise.
16779 * sysdeps/powerpc/dl-tls.h: Likewise.
16780 * sysdeps/s390/dl-tls.h: Likewise.
16781 * sysdeps/sh/dl-tls.h: Likewise.
16782 * sysdeps/sparc/dl-tls.h: Likewise.
16783 * sysdeps/x86_64/dl-tls.h: Likewise.
16784 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16786 2011-03-14 Andreas Schwab <schwab@redhat.com>
16788 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16789 rpath element also skip the following colon.
16790 (expand_dynamic_string_token): Add is_path parameter and pass
16791 down to DL_DST_REQUIRED and _dl_dst_substitute.
16792 (decompose_rpath): Call expand_dynamic_string_token with
16793 non-zero is_path. Ignore empty rpaths.
16794 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16797 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16802 2011-04-09 Ulrich Drepper <drepper@gmail.com>
16805 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16806 Patch by Filipe David Manana <fdmanana@apache.org>.
16808 2011-04-07 Andreas Schwab <schwab@redhat.com>
16810 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16811 Maintain aligned stack.
16812 (CHECK_RSP): Remove unused macro.
16814 2011-04-03 Ulrich Drepper <drepper@gmail.com>
16816 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16817 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16819 2011-04-02 Ulrich Drepper <drepper@gmail.com>
16821 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16823 * include/features.h: Mention __USE_XOPEN2K8 in comment.
16825 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16828 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16829 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16830 * sysdeps/x86_64/memmove.c: New file.
16831 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16832 (memcpy): Renamed to ...
16833 (__new_memcpy): This.
16834 (memcpy): Provide GLIBC_2_14 memcpy.
16835 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16836 (memcpy): Provide GLIBC_2_2_5 memcpy.
16838 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16841 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16843 2011-03-30 Andreas Schwab <schwab@redhat.com>
16845 * misc/syncfs.c: New file.
16846 * misc/Makefile (routines): Add syncfs.
16847 * posix/unistd.h: Declare syncfs.
16848 * sysdeps/unix/syscalls.list: Add syncfs.
16850 2011-04-01 Andreas Schwab <schwab@redhat.com>
16852 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16854 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16855 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16856 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16857 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16858 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16859 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16860 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16862 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16864 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16865 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16866 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16867 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16868 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16869 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16870 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16872 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16873 sync_file_range.c with -fexceptions.
16874 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16875 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16876 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16877 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16878 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16879 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16880 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
16881 sync_file_range as cancellation point
16882 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16883 now a wrapper around __call_sync_file_range with cancellation handling.
16884 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16885 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16886 function name to __call_sync_file_range.
16887 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16888 Add call_sync_file_range.
16890 2011-04-01 Andreas Schwab <schwab@redhat.com>
16892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16895 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16897 * iconv/iconv.h: Fix typo in comment.
16898 * io/fcntl.h: Likewise.
16899 * libio/stdio.h: Likewise.
16900 * posix/spawn.h: Likewise.
16901 * posix/unistd.h: Likewise.
16902 * stdlib/stdlib.h: Likewise.
16903 * time/time.h: Likewise.
16904 * wcsmbs/wchar.h: Likewise.
16906 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16907 open_by_handle): Add.
16908 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16909 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16910 Augment a few comments.
16911 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16912 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16913 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16914 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16915 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16916 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16919 * io/fcntl.h (AT_EMPTY_PATH): Define.
16921 2011-03-30 Ulrich Drepper <drepper@gmail.com>
16923 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16924 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16925 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16927 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
16928 * Versions.def: Add GLIBC_2.14.
16929 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16932 2011-03-22 Ulrich Drepper <drepper@gmail.com>
16934 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16936 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16938 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16941 * string/test-strncmp.c (do_page_test): New function.
16942 (check2): Likewise.
16943 (test_main): Call check2.
16944 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16946 2011-03-20 Ulrich Drepper <drepper@gmail.com>
16949 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16950 Handle cache information in CPU leaf 4.
16951 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16953 2011-03-18 Ulrich Drepper <drepper@gmail.com>
16956 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16957 character representation.
16958 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16960 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16962 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16963 END(__isnan) to END(__isnanf) to match function entry point/label
16964 EALIGN(__isnanf,...).
16966 2011-03-10 Jakub Jelinek <jakub@redhat.com>
16968 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16970 2011-03-10 Ulrich Drepper <drepper@gmail.com>
16973 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16974 copy from the symbol referenced in the relocation to initialize the
16976 Patch by Piotr Bury <pbury@goahead.com>.
16977 * elf/Makefile: Add rules to build and tst-unique3.
16978 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16979 * elf/tst-unique3.cc: New file.
16980 * elf/tst-unique3.h: New file.
16981 * elf/tst-unique3lib.cc: New file.
16982 * elf/tst-unique3lib2.cc: New file.
16984 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16986 2011-03-10 Mike Frysinger <vapier@gentoo.org>
16988 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16989 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16992 2011-03-06 Ulrich Drepper <drepper@gmail.com>
16994 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16995 to-be-loaded object along a path to loader is ld.so.
16997 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16998 Ulrich Drepper <drepper@gmail.com>
17000 * sysdeps/x86_64/memset.S: After aligning destination, code
17001 branches to different locations depending on the value of
17002 misalignment, when multiarch is enabled. Fix this.
17004 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17006 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17007 Set _x86_64_preferred_memory_instruction for AMD processsors.
17008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17009 Set bit_Prefer_SSE_for_memop for AMD processors.
17011 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17013 * libio/fmemopen.c (fmemopen): Optimize a bit.
17015 2011-03-03 Andreas Schwab <schwab@redhat.com>
17017 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17019 2011-03-03 Roland McGrath <roland@redhat.com>
17021 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17023 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17025 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17026 __bzero_ultra1 instead of __memset_ultra1.
17028 2011-02-23 Andreas Schwab <schwab@redhat.com>
17029 Ulrich Drepper <drepper@gmail.com>
17032 * include/link.h (struct link_map): Add l_orig_initfini.
17033 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17034 returning unsuccessfully.
17035 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17036 close of a file loaded at startup, restore the original l_initfini
17038 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17039 list, store the pointer.
17040 * elf/Makefile ($(objpfx)noload-mem): New rule.
17041 (noload-ENV): Define.
17042 (tests): Add $(objpfx)noload-mem.
17043 * elf/noload.c: Include <memcheck.h>.
17044 (main): Call mtrace. Close all opened handles.
17046 2011-02-17 Andreas Schwab <schwab@redhat.com>
17049 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17050 dependencies are missing.
17052 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17054 Fix __if_freereq crash: Unlike the generic version which uses free,
17056 * sysdeps/mach/hurd/ifreq.h: New file.
17058 2011-01-27 Petr Baudis <pasky@suse.cz>
17059 Ulrich Drepper <drepper@gmail.com>
17062 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17063 to extend_alloca().
17064 * stdio-common/bug23.c: New file.
17065 * stdio-common/Makefile (tests): Add bug23.
17067 2010-09-28 Andreas Schwab <schwab@redhat.com>
17068 Ulrich Drepper <drepper@gmail.com>
17071 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17072 before performing relro protection. At old place add assertion
17073 to make sure nothing changed.
17075 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17076 Glauber de Oliveira Costa <glommer@gmail.com>
17078 * elf/elf.h: Add new ARM TLS relocs.
17080 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17083 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17085 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17087 * sysdeps/wordsize-64/tst-writev.c: New file.
17089 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17091 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17092 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17093 insns in _dl_start to prevent a TOC reference before relocs are
17096 2011-02-15 Ulrich Drepper <drepper@gmail.com>
17099 * Makeconfig: Remove RANLIB definition.
17100 * Makerules: Don't use RANLIB.
17101 * aclocal.m4: Remove ranlib test.
17102 * configure.in: No need to check for ranlib.
17103 * elf/rtld-Rules: Don't use RANLIB.
17105 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17107 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17109 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17110 inclusion protection macro.
17112 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17113 SIGRTMIN and SIGRTMAX and print information in that case only when
17114 SIGRTMIN is defined.
17116 2011-02-11 Jakub Jelinek <jakub@redhat.com>
17118 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17119 arginfo fn returning -1.
17121 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17122 and thousands string is zero terminated.
17124 2011-02-03 Andreas Schwab <schwab@redhat.com>
17126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17127 sysdeps/unix/sysv/linux/bits/socket.h.
17129 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17131 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17132 (__CPU_COUNT): Remove old macros.
17133 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17134 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17135 (__CPU_ALLOC, __CPU_FREE): Add macros.
17136 (__sched_cpualloc, __sched_cpufree): Add declarations.
17138 2011-02-05 Ulrich Drepper <drepper@gmail.com>
17140 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17141 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17142 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17143 (readdhstai): Return value of addhstaiX call.
17144 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17145 (addgrbyX): Return value returned by cache_addgr.
17146 (readdgrbyname): Return value returned by addgrbyX.
17147 (readdgrbygid): Likewise.
17148 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17149 (addpwbyX): Return value returned by cache_addpw.
17150 (readdpwbyname): Return value returned by addhstbyX.
17151 (readdpwbyuid): Likewise.
17152 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17153 (addservbyX): Return value returned by cache_addserv.
17154 (readdservbyname): Return value returned by addservbyX:
17155 (readdservbyport): Likewise.
17156 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17157 (addhstbyX): Return value returned by cache_addhst.
17158 (readdhstbyname): Return value returned by addhstbyX.
17159 (readdhstbyaddr): Likewise.
17160 (readdhstbynamev6): Likewise.
17161 (readdhstbyaddrv6): Likewise.
17162 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17163 (readdinitgroups): Return value returned by addinitgroupsX.
17164 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17165 (prune_cache): Keep track of timeout value of re-added entries.
17166 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17167 * nscd/nscd.h: Adjust prototypes of readd* functions.
17169 2011-02-04 Roland McGrath <roland@redhat.com>
17171 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17172 (nis_stats): Likewise.
17173 * nis/nis_modify.c (nis_modify): Likewise.
17174 * nis/nis_remove.c (nis_remove): Likewise.
17175 * nis/nis_add.c (nis_add): Likewise.
17177 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17179 * posix/fnmatch_loop.c: Add some consts.
17181 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17183 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17186 * config.make.in (config-cflags-novzeroupper): Define.
17187 * configure.in: Substitute libc_cv_cc_novzeroupper.
17188 * elf/Makefile (AVX-CFLAGS): Define.
17189 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17190 (CFLAGS-tst-auditmod4a.c): Likewise.
17191 (CFLAGS-tst-auditmod4b.c): Likewise.
17192 (CFLAGS-tst-auditmod6b.c): Likewise.
17193 (CFLAGS-tst-auditmod6c.c): Likewise.
17194 (CFLAGS-tst-auditmod7b.c): Likewise.
17195 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17197 2011-02-02 Ulrich Drepper <drepper@gmail.com>
17199 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17200 function to the callback.
17201 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17203 2011-02-02 Andreas Schwab <schwab@redhat.com>
17205 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17208 2011-01-19 Ulrich Drepper <drepper@gmail.com>
17211 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17213 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17215 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17218 * elf/Makefile: Add rules to build and run new test.
17219 * elf/tst-initorder.c: New file.
17220 * elf/tst-initorder.exp: New file.
17221 * elf/tst-initordera1.c: New file.
17222 * elf/tst-initordera2.c: New file.
17223 * elf/tst-initordera3.c: New file.
17224 * elf/tst-initordera4.c: New file.
17225 * elf/tst-initorderb1.c: New file.
17226 * elf/tst-initorderb2.c: New file.
17227 * elf/tst-order-a1.c: New file.
17228 * elf/tst-order-a2.c: New file.
17229 * elf/tst-order-a3.c: New file.
17230 * elf/tst-order-a4.c: New file.
17231 * elf/tst-order-b1.c: New file.
17232 * elf/tst-order-b2.c: New file.
17233 * elf/tst-order-main.c: New file.
17234 New test case by George Gensure <werkt0@gmail.com>.
17236 2010-10-01 Andreas Schwab <schwab@redhat.com>
17238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17239 decoding ACE if AI_CANONIDN.
17241 2011-01-18 Ulrich Drepper <drepper@gmail.com>
17243 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17245 2011-01-17 Ulrich Drepper <drepper@gmail.com>
17247 * version.h (RELEASE): Bump for 2.13 release.
17248 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17250 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17252 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17254 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17255 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17256 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17257 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17258 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17259 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17261 * posix/getconf.c: Update copyright year.
17262 * catgets/gencat.c: Likewise.
17263 * csu/version.c: Likewise.
17264 * debug/catchsegv.sh: Likewise.
17265 * debug/xtrace.sh: Likewise.
17266 * elf/ldconfig.c: Likewise.
17267 * elf/ldd.bash.in: Likewise.
17268 * elf/sprof.c (print_version): Likewise.
17269 * iconv/iconv_prog.c: Likewise.
17270 * iconv/iconvconfig.c: Likewise.
17271 * locale/programs/locale.c: Likewise.
17272 * locale/programs/localedef.c: Likewise.
17273 * malloc/memusage.sh: Likewise.
17274 * malloc/mtrace.pl: Likewise.
17275 * nscd/nscd.c (print_version): Likewise.
17276 * nss/getent.c: Likewise.
17278 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17279 PF_CAIF, and PF_ALG.
17280 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17282 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17284 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17285 (modules-names): Use them.
17286 (ifunc-test-modules, ifunc-pie-tests): Define.
17287 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17288 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17289 (test-extras): Likewise.
17290 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17291 $(compile-command.c).
17292 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17293 (all-built-dso): Define.
17294 (check-textrel.out, check-execstack.out): Depend on it.
17296 * configure.in: Don't override --enable-multi-arch.
17298 2011-01-15 Ulrich Drepper <drepper@gmail.com>
17301 * nscd/hstcache.c (tryagain): Define.
17302 (cache_addhst): Return tryagain not notfound for temporary errors.
17303 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17306 2011-01-14 Ulrich Drepper <drepper@gmail.com>
17309 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17310 to make the syscall.
17311 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17314 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17315 and fall back to matching as normal character if the string ends before
17316 the matching ']' is found. This is what POSIX requires.
17317 * posix/testfnm.c: Adjust test result.
17318 * posix/globtest.sh: Adjust test result. Add new test.
17319 * posix/tst-fnmatch.input: Likewise.
17320 * posix/tst-fnmatch2.c: Add new test.
17322 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17324 * elf/Makefile (check-execstack): Revert last change. Depend on
17326 (check-execstack.h): New target.
17327 (generated): Add check-execstack.h.
17328 * elf/check-execstack.c: Include "check-execstack.h".
17329 (main): Revert last change.
17330 (handle_file): Return zero if GNU_STACK is absent and
17331 DEFAULT_STACK_PERMS doesn't include PF_X.
17333 2011-01-13 Ulrich Drepper <drepper@gmail.com>
17335 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17336 in child fails because the descriptor is already closed.
17337 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17338 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17339 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17342 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17346 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17347 temporary buffer used to handle multi lookups locally.
17348 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17350 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17352 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17355 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17357 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17358 alignment for SSE2.
17360 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17363 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17364 characters. When rounding increased number of integer digits recompute
17366 * stdio-common/tst-grouping.c: New file.
17367 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17369 2011-01-09 Ulrich Drepper <drepper@gmail.com>
17371 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17372 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17374 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17376 * bits/select.h: Likewise.
17378 2011-01-08 Ulrich Drepper <drepper@gmail.com>
17380 * po/ja.po: Update from translation team.
17382 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
17385 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17386 implementation just like for lxstat, fxstatat, et al.
17388 2010-12-27 Jim Meyering <meyering@redhat.com>
17391 * posix/regexec.c (build_trtable): Return failure indication upon
17392 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17394 2010-12-25 Ulrich Drepper <drepper@gmail.com>
17397 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17398 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17399 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17400 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17403 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17406 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17407 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17409 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17411 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17412 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17413 script has SORT_BY_INIT_PRIORITY.
17414 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17415 NO_CTORS_DTORS_SECTIONS is defined.
17416 * elf/soinit.c: Likewise.
17417 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17418 NO_CTORS_DTORS_SECTIONS is defined.
17419 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17420 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17421 * sysdeps/sh/init-first.c: Likewise.
17422 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17424 2010-12-24 Ulrich Drepper <drepper@gmail.com>
17426 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17427 always use the slow path.
17429 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17431 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17432 similar rule which adds the sysdep directories to the header search in
17433 order to pick up the correct platform stackinfo.h.
17434 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17435 perform test if it is, otherwise return successfully without testing.
17436 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17437 DEFAULT_STACK_PERMS define in stackinfo.h.
17438 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17439 defined in stackinfo.h.
17440 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17441 DEFAULT_STACK_PERMS defined in stackinfo.h.
17442 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17443 * sysdeps/ia64/stackinfo.h: Likewise.
17444 * sysdeps/s390/stackinfo.h: Likewise.
17445 * sysdeps/sh/stackinfo.h: Likewise.
17446 * sysdeps/sparc/stackinfo.h: Likewise.
17447 * sysdeps/x86_64/stackinfo.h: Likewise.
17448 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17449 PF_X for powerpc64. Retain PF_X for powerpc32.
17451 2010-12-19 Ulrich Drepper <drepper@gmail.com>
17453 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17455 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17456 GETDENTS_64BIT_ALIGNED.
17458 2010-12-14 Ulrich Drepper <dreper@gmail.com>
17460 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17462 2010-12-10 Andreas Schwab <schwab@redhat.com>
17464 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17467 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17468 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17470 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17471 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17473 2010-12-09 Ulrich Drepper <drepper@gmail.com>
17476 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17479 2010-12-09 Jakub Jelinek <jakub@redhat.com>
17481 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17483 2010-12-03 Ulrich Drepper <drepper@gmail.com>
17485 * po/it.po: Update from translation team.
17487 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17489 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17492 2010-11-30 Ulrich Drepper <drepper@gmail.com>
17494 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17496 2010-11-24 Andreas Schwab <schwab@redhat.com>
17498 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17500 (gaih_getanswer_slice): Likewise.
17502 2010-10-20 Jakub Jelinek <jakub@redhat.com>
17504 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17506 2010-05-31 Petr Baudis <pasky@suse.cz>
17509 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17510 silently even in the chroot mode.
17512 2010-11-22 Ulrich Drepper <drepper@gmail.com>
17514 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17515 last patch a bit. Pretty printing
17517 2010-05-31 Petr Baudis <pasky@suse.cz>
17520 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17521 initialization of skip_initgroups_dyn.
17523 2010-11-19 Ulrich Drepper <drepper@gmail.com>
17525 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17526 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17528 2010-11-16 Ulrich Drepper <drepper@gmail.com>
17530 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17532 2010-11-11 Andreas Schwab <schwab@redhat.com>
17534 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17535 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17536 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17537 ($(objpfx)tst-fnmatch-mem): New rule.
17538 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17539 * posix/tst-fnmatch.c (main): Call mtrace.
17541 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17544 Support Intel processor model 6 and model 0x2c.
17546 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
17548 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17551 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17554 * string/test-strncasecmp.c (check_result): New function.
17555 (do_one_test): Use it.
17556 (check1): New function.
17557 (test_main): Use it.
17558 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17559 Support strcasecmp and strncasecmp.
17561 2010-11-08 Ulrich Drepper <drepper@gmail.com>
17564 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17565 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17567 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17569 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17571 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17573 * sysdeps/x86_64/multiarch/bzero.S: New file.
17574 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17575 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17576 * sysdeps/x86_64/multiarch/memset.S: New file.
17577 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17578 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17579 Set bit_Prefer_SSE_for_memop for Intel processors.
17580 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17582 (index_Prefer_SSE_for_memop): Define.
17583 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17585 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
17587 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17588 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17590 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17593 * sysdeps/i386/i686/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.
17598 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17599 (__x86_64_raw_data_cache_size_half): Likewise.
17600 (__x86_64_raw_shared_cache_size): Likewise.
17601 (__x86_64_raw_shared_cache_size_half): Likewise.
17602 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17603 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17604 and __x86_64_raw_shared_cache_size_half. Round
17605 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17606 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17607 to multiple of 256 bytes.
17609 2010-11-03 Ulrich Drepper <drepper@gmail.com>
17612 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17613 of inacessible symlinks. Verify result of symlink before returning it.
17614 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17615 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17617 2010-10-28 Erich Ritz <erichritz@gmail.com>
17619 * math/math.h (isinf): Fix typo in comment.
17621 2010-11-01 Ulrich Drepper <drepper@gmail.com>
17623 * po/da.po: Update from translation team.
17625 2010-10-26 Ulrich Drepper <drepper@gmail.com>
17627 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17628 is added to the list.
17630 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17631 Ulrich Drepper <drepper@gmail.com>
17633 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17634 the global list here. Move code to...
17635 (_dl_add_to_namespace_list): ...here. New function.
17636 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17637 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17638 * elf/dl-load.c (lose): Don't remove the element from the list.
17639 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17640 (_dl_map_object): Likewise.
17642 2010-10-25 Ulrich Drepper <drepper@gmail.com>
17645 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17646 into all bytes of SSE register.
17647 Patch by Richard Li <richardpku@gmail.com>.
17649 2010-10-24 Ulrich Drepper <drepper@gmail.com>
17652 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17655 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17657 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17658 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17659 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17660 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17665 2010-10-22 Andreas Schwab <schwab@redhat.com>
17667 * include/dlfcn.h (__RTLD_SECURE): Define.
17668 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17669 mode & __RTLD_SECURE instead.
17670 (open_path): Rename preloaded parameter to secure.
17671 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17672 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17673 * elf/dl-deps.c (openaux): Likewise.
17674 * elf/rtld.c (struct map_args): Remove is_preloaded.
17675 (map_doit): Don't use it.
17676 (dl_main): Likewise.
17677 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17678 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17680 2010-09-09 Andreas Schwab <schwab@redhat.com>
17682 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17683 (sysd-rules-targets): Remove duplicates.
17684 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17685 rtld-%.$o dependency.
17687 2010-10-18 Andreas Schwab <schwab@redhat.com>
17689 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17690 _dl_map_object do it.
17692 2010-10-19 Ulrich Drepper <drepper@gmail.com>
17694 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17695 fast fma builtins, define the macros in the C99 standard.
17696 (FP_FAST_FMAF): Likewise.
17697 (FP_FAST_FMAL): Likewise.
17698 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17700 * bits/mathdef.h: Update copyright year.
17701 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17703 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17705 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17706 builtins, define the macros in the C99 standard.
17707 (FP_FAST_FMAF): Likewise.
17708 (FP_FAST_FMAL): Likewise.
17709 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17711 (FP_FAST_FMAF): Likewise.
17713 2010-10-15 Jakub Jelinek <jakub@redhat.com>
17716 * math/libm-test.inc (fma_test): Some new testcases.
17717 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17718 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17719 y and infinite z. Do multiplication by C already in long double.
17720 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17721 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17722 y and infinite z. Do bitwise or of inexact bit into u.d.
17723 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17724 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17725 * sysdeps/i386/fpu/s_fma.S: Removed.
17726 * sysdeps/i386/fpu/s_fmal.S: Removed.
17728 2010-10-16 Jakub Jelinek <jakub@redhat.com>
17731 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17732 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17733 computation is not scheduled after fetestexcept. Fix value
17734 of minimum denormal long double.
17736 2010-10-14 Jakub Jelinek <jakub@redhat.com>
17739 * math/libm-test.inc (fma_test): Add some more tests.
17740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17743 2010-10-15 Andreas Schwab <schwab@redhat.com>
17745 * scripts/data/localplt-s390-linux-gnu.data: New file.
17746 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17748 2010-10-13 Jakub Jelinek <jakub@redhat.com>
17751 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17752 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17754 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17756 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17757 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17758 if one of x and y is very large and the other is subnormal.
17759 * sysdeps/s390/fpu/s_fmaf.c: New file.
17760 * sysdeps/s390/fpu/s_fma.c: New file.
17761 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17762 * sysdeps/powerpc/fpu/s_fma.S: New file.
17763 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17764 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17765 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17767 2010-10-12 Jakub Jelinek <jakub@redhat.com>
17770 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17772 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17773 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17774 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17775 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17776 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17777 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17778 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17780 2010-10-12 Ulrich Drepper <drepper@redhat.com>
17783 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17784 * posix/bug-regex31.input: Add test case.
17786 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17788 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17789 * posix/bug-regex31.input: New file.
17792 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17793 (parse_sub_exp): Fix last change, use postorder.
17795 * posix/bug-regex31.c: New file.
17796 * posix/Makefile: Add rules to build and run bug-regex31.
17798 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17801 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17804 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17805 to have entries in sys_siglist.
17808 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17811 2010-10-07 Jakub Jelinek <jakub@redhat.com>
17814 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17815 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17816 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17817 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17818 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17819 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17820 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17821 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17822 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17823 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17824 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17825 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17826 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17827 * math/ftestexcept.c (fetestexcept): Likewise.
17828 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17829 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17830 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17831 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17832 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17833 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17834 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17836 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17839 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17842 2010-10-06 Ulrich Drepper <drepper@gmail.com>
17844 * string/bug-strstr1.c: New file.
17845 * string/Makefile: Add rules to build and run bug-strstr1.
17847 2010-10-05 Eric Blake <eblake@redhat.com>
17850 * string/str-two-way.h (two_way_long_needle): Always clear memory
17851 when skipping input due to the shift table.
17853 2010-10-03 Ulrich Drepper <drepper@gmail.com>
17856 * malloc/mcheck.c: Handle large requests.
17859 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17860 for strncmp and strncasecmp.
17861 * string/stratcliff.c: Add tests for strcmp and strncmp.
17862 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17864 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17866 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17869 2010-09-30 Andreas Jaeger <aj@suse.de>
17871 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17872 (CGROUP_SUPER_MAGIC): Define.
17873 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17874 Handle btrfs and cgroup file systems.
17875 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17878 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
17880 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17881 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17883 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17886 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17887 trying to locate the ELF header.
17889 2010-09-27 Andreas Schwab <schwab@redhat.com>
17892 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17893 Mask out sign-bit copies when constructing f_fsid.
17895 2010-09-24 Petr Baudis <pasky@suse.cz>
17897 * debug/stack_chk_fail_local.c: Add missing licence exception.
17898 * debug/warning-nop.c: Likewise.
17900 2010-09-15 Joseph Myers <joseph@codesourcery.com>
17902 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17903 implementing getdents64 using getdents syscall, set d_type if
17904 __ASSUME_GETDENTS32_D_TYPE.
17906 2010-09-16 Andreas Schwab <schwab@redhat.com>
17908 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17909 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17911 2010-09-21 Ulrich Drepper <drepper@redhat.com>
17914 * posix/unistd.h: Undo change of feature selection for ftruncate from
17917 2010-09-20 Ulrich Drepper <drepper@redhat.com>
17919 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
17922 2010-09-20 Andreas Schwab <schwab@redhat.com>
17924 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17926 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17928 2010-09-14 Andreas Schwab <schwab@redhat.com>
17930 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17931 variables after CHECK_SP call.
17932 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17934 2010-09-13 Andreas Schwab <schwab@redhat.com>
17935 Ulrich Drepper <drepper@redhat.com>
17937 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17938 re-relocationg ld.so.
17939 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17940 _dl_init_paths call.
17941 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17944 2010-09-14 Ulrich Drepper <drepper@redhat.com>
17946 * resolv/res_init.c (__res_vinit): Count the default server we added.
17948 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17949 Ulrich Drepper <drepper@redhat.com>
17952 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17953 (____longjmp_chk): Use %ebx for saving value across system call.
17956 2010-09-06 Andreas Schwab <schwab@redhat.com>
17958 * manual/Makefile: Don't mix pattern rules with normal rules.
17960 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17962 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17964 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17965 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17966 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17967 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17968 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17971 2010-09-04 Ulrich Drepper <drepper@redhat.com>
17974 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17975 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17977 2010-09-02 Ulrich Drepper <drepper@redhat.com>
17979 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17980 * sysdeps/x86_64/addmul_1.S: Likewise.
17981 * sysdeps/x86_64/lshift.S: Likewise.
17982 * sysdeps/x86_64/mul_1.S: Likewise.
17983 * sysdeps/x86_64/rshift.S: Likewise.
17984 * sysdeps/x86_64/sub_n.S: Likewise.
17985 * sysdeps/x86_64/submul_1.S: Likewise.
17987 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17989 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17990 Define __sched_param instead of SCHED_* and sched_param when
17991 <bits/sched.h> is included with __need_schedparam defined.
17992 * bits/sched.h [__need_schedparam]
17993 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
17994 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17995 (__defined_schedparam): Define to 1.
17996 (__sched_param): New structure, identical to sched_param.
17997 (__need_schedparam): Undefine.
17999 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18001 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18002 (epoll_create1): Declare.
18004 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18006 2010-08-31 Andreas Schwab <schwab@redhat.com>
18009 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18010 shifting retval into place.
18012 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18014 * nis/rpcsvc/nis.h: Update copyright notice.
18015 * nis/rpcsvc/nis.x: Likewise.
18016 * nis/rpcsvc/nis_callback.h: Likewise.
18017 * nis/rpcsvc/nis_callback.x: Likewise.
18018 * nis/rpcsvc/nis_object.x: Likewise.
18019 * nis/rpcsvc/nis_tags.h: Likewise.
18020 * nis/rpcsvc/yp.h: Likewise.
18021 * nis/rpcsvc/yp.x: Likewise.
18022 * nis/rpcsvc/ypupd.h: Likewise.
18023 * nis/yp_xdr.c: Likewise.
18024 * nis/ypupdate_xdr.c: Likewise.
18026 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18027 mainly the body of pmap_getport. Add parameters to specify timeouts.
18028 (pmap_getport): Use __libc_rpc_getport.
18029 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18030 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18031 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18033 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18038 2010-08-27 Roland McGrath <roland@redhat.com>
18040 * sysdeps/i386/i686/multiarch/Makefile
18041 (CFLAGS-varshift.c): New variable.
18043 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18045 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18046 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18048 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18050 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18052 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18054 * sysdeps/x86_64/strlen.S: Unroll the loop.
18055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18056 strlen-sse2 strlen-sse2-bsf.
18057 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18058 __strlen_no_bsf if bit_Slow_BSF is set.
18059 (__strlen_sse42): Removed.
18060 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18061 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18063 2010-08-25 Roland McGrath <roland@redhat.com>
18065 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18066 * sysdeps/x86_64/multiarch/varshift.c: New file.
18067 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18068 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18069 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18070 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18072 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18074 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18075 strlen-sse2 strlen-sse2-bsf.
18076 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18077 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18078 (__strlen_sse2): Removed.
18079 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18080 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18082 bit_Slow_BSF for Atom.
18083 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18084 (index_Slow_BSF): Define.
18085 (HAS_SLOW_BSF): Define.
18087 2010-08-25 Ulrich Drepper <drepper@redhat.com>
18090 * resolv/res_init.c (__res_vinit): When no server address at all
18091 is given default to loopback.
18093 2010-08-24 Roland McGrath <roland@redhat.com>
18095 * configure.in: Remove config-name.h generation.
18096 * configure: Regenerated.
18097 * config-name.in: File removed.
18098 * scripts/config-uname.sh: New file.
18099 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18100 ($(objdir)config-name.h): New target.
18102 * sunrpc/rpc_parse.h: Avoid nested comment.
18104 2010-08-24 Richard Henderson <rth@redhat.com>
18105 Ulrich Drepper <drepper@redhat.com>
18106 H.J. Lu <hongjiu.lu@intel.com>
18108 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18110 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18111 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18112 _mm_alignr_epi8 with _mm_loadu_si128.
18113 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18114 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18115 (__m128i_shift_right): Removed.
18116 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18117 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18118 * sysdeps/x86_64/multiarch/varshift.h: New file.
18119 * sysdeps/x86_64/multiarch/varshift.S: New file.
18121 2010-08-21 Mike Frysinger <vapier@gentoo.org>
18123 * configure.in: Move assembler checks to before sysdep dir checking.
18125 2010-08-20 Petr Baudis <pasky@suse.cz>
18127 * LICENSES: Sync the sunrpc license.
18129 2010-08-19 Ulrich Drepper <drepper@redhat.com>
18131 * sunrpc/auth_des.c: Update copyright notice once again.
18132 * sunrpc/auth_none.c: Likewise.
18133 * sunrpc/auth_unix.c: Likewise.
18134 * sunrpc/authdes_prot.c: Likewise.
18135 * sunrpc/authuxprot.c: Likewise.
18136 * sunrpc/bindrsvprt.c: Likewise.
18137 * sunrpc/clnt_gen.c: Likewise.
18138 * sunrpc/clnt_perr.c: Likewise.
18139 * sunrpc/clnt_raw.c: Likewise.
18140 * sunrpc/clnt_simp.c: Likewise.
18141 * sunrpc/clnt_tcp.c: Likewise.
18142 * sunrpc/clnt_udp.c: Likewise.
18143 * sunrpc/clnt_unix.c: Likewise.
18144 * sunrpc/des_crypt.c: Likewise.
18145 * sunrpc/des_soft.c: Likewise.
18146 * sunrpc/get_myaddr.c: Likewise.
18147 * sunrpc/getrpcport.c: Likewise.
18148 * sunrpc/key_call.c: Likewise.
18149 * sunrpc/key_prot.c: Likewise.
18150 * sunrpc/openchild.c: Likewise.
18151 * sunrpc/pm_getmaps.c: Likewise.
18152 * sunrpc/pm_getport.c: Likewise.
18153 * sunrpc/pmap_clnt.c: Likewise.
18154 * sunrpc/pmap_prot.c: Likewise.
18155 * sunrpc/pmap_prot2.c: Likewise.
18156 * sunrpc/pmap_rmt.c: Likewise.
18157 * sunrpc/rpc/auth.h: Likewise.
18158 * sunrpc/rpc/auth_unix.h: Likewise.
18159 * sunrpc/rpc/clnt.h: Likewise.
18160 * sunrpc/rpc/des_crypt.h: Likewise.
18161 * sunrpc/rpc/key_prot.h: Likewise.
18162 * sunrpc/rpc/netdb.h: Likewise.
18163 * sunrpc/rpc/pmap_clnt.h: Likewise.
18164 * sunrpc/rpc/pmap_prot.h: Likewise.
18165 * sunrpc/rpc/pmap_rmt.h: Likewise.
18166 * sunrpc/rpc/rpc.h: Likewise.
18167 * sunrpc/rpc/rpc_des.h: Likewise.
18168 * sunrpc/rpc/rpc_msg.h: Likewise.
18169 * sunrpc/rpc/svc.h: Likewise.
18170 * sunrpc/rpc/svc_auth.h: Likewise.
18171 * sunrpc/rpc/types.h: Likewise.
18172 * sunrpc/rpc/xdr.h: Likewise.
18173 * sunrpc/rpc_clntout.c: Likewise.
18174 * sunrpc/rpc_cmsg.c: Likewise.
18175 * sunrpc/rpc_common.c: Likewise.
18176 * sunrpc/rpc_cout.c: Likewise.
18177 * sunrpc/rpc_dtable.c: Likewise.
18178 * sunrpc/rpc_hout.c: Likewise.
18179 * sunrpc/rpc_main.c: Likewise.
18180 * sunrpc/rpc_parse.c: Likewise.
18181 * sunrpc/rpc_parse.h: Likewise.
18182 * sunrpc/rpc_prot.c: Likewise.
18183 * sunrpc/rpc_sample.c: Likewise.
18184 * sunrpc/rpc_scan.c: Likewise.
18185 * sunrpc/rpc_scan.h: Likewise.
18186 * sunrpc/rpc_svcout.c: Likewise.
18187 * sunrpc/rpc_tblout.c: Likewise.
18188 * sunrpc/rpc_util.c: Likewise.
18189 * sunrpc/rpc_util.h: Likewise.
18190 * sunrpc/rpcinfo.c: Likewise.
18191 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18192 * sunrpc/rpcsvc/key_prot.x: Likewise.
18193 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18194 * sunrpc/rpcsvc/mount.x: Likewise.
18195 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18196 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18197 * sunrpc/rpcsvc/rex.x: Likewise.
18198 * sunrpc/rpcsvc/rstat.x: Likewise.
18199 * sunrpc/rpcsvc/rusers.x: Likewise.
18200 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18201 * sunrpc/rpcsvc/spray.x: Likewise.
18202 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18203 * sunrpc/rtime.c: Likewise.
18204 * sunrpc/svc.c: Likewise.
18205 * sunrpc/svc_auth.c: Likewise.
18206 * sunrpc/svc_authux.c: Likewise.
18207 * sunrpc/svc_raw.c: Likewise.
18208 * sunrpc/svc_run.c: Likewise.
18209 * sunrpc/svc_simple.c: Likewise.
18210 * sunrpc/svc_tcp.c: Likewise.
18211 * sunrpc/svc_udp.c: Likewise.
18212 * sunrpc/svc_unix.c: Likewise.
18213 * sunrpc/svcauth_des.c: Likewise.
18214 * sunrpc/xcrypt.c: Likewise.
18215 * sunrpc/xdr.c: Likewise.
18216 * sunrpc/xdr_array.c: Likewise.
18217 * sunrpc/xdr_float.c: Likewise.
18218 * sunrpc/xdr_mem.c: Likewise.
18219 * sunrpc/xdr_rec.c: Likewise.
18220 * sunrpc/xdr_ref.c: Likewise.
18221 * sunrpc/xdr_sizeof.c: Likewise.
18222 * sunrpc/xdr_stdio.c: Likewise.
18224 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18227 2010-08-19 Andreas Schwab <schwab@redhat.com>
18229 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18231 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
18233 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18234 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18235 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18236 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18237 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18238 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18239 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18240 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18241 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18242 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18243 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18244 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18245 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18246 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18248 2010-07-26 Anton Blanchard <anton@samba.org>
18250 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18251 * malloc/arena.c (heap_trim): Likewise.
18253 2010-08-16 Ulrich Drepper <drepper@redhat.com>
18255 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18257 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18258 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18260 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18262 * sysdeps/i386/elf/Makefile: New file.
18264 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18266 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18267 from fanotify_init.
18268 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18269 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18271 2010-08-15 Ulrich Drepper <drepper@redhat.com>
18273 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18275 * sysdeps/multiarch/strcmp.S: Likewise.
18277 2010-08-14 Ulrich Drepper <drepper@redhat.com>
18279 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18280 strncase_l-nonascii.
18281 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18282 Add strncase_l-ssse3.
18283 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18284 * sysdeps/x86_64/strcmp.S: Likewise.
18285 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18286 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18287 * sysdeps/x86_64/strncase.S: New file.
18288 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18289 * sysdeps/x86_64/strncase_l.S: New file.
18290 * string/Makefile (strop-tests): Add strncasecmp.
18291 * string/test-strncasecmp.c: New file.
18293 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18296 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18297 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18299 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18301 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18303 2010-08-12 Ulrich Drepper <drepper@redhat.com>
18305 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18306 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18307 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18309 2010-05-01 Alan Modra <amodra@gmail.com>
18311 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18312 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18313 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18314 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18315 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18316 tidying. Don't tail-call __sigjmp_save for static lib.
18317 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18319 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18320 (CALL_MCOUNT): Add eh info, and nop after bl.
18321 (TAIL_CALL_SYSCALL_ERROR): New macro.
18322 (PSEUDO_RET): Use it.
18323 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18324 Correct save location of integer regs and cr.
18325 (_dl_profile_resolve): Correct cr save location. Delete nops
18326 after bl when SHARED. Reduce cfi size a little by better
18327 placement of cfi directives.
18328 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18329 make a stack frame. Instead use parm save area as a temp.
18330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18331 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18333 Don't make a stack frame for parent, use parm save area.
18334 Increase child stack frame to 112 bytes. Don't save unused reg,
18335 and adjust reg usage. Set up cfi on error recovery and
18336 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18338 (__makecontext): Add dummy nop after jump to exit.
18339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18340 Use correct parm save area and cr save, reduce stack frame.
18341 Correct cfi for possible PSEUDO_RET frame setup.
18342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18343 Branch to local label emitted by PSEUDO_RET rather than
18346 2010-08-12 Andreas Schwab <schwab@redhat.com>
18349 * locale/programs/locale.c (print_assignment): New function.
18350 (show_locale_vars): Use it.
18352 2010-08-11 Ulrich Drepper <drepper@redhat.com>
18354 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18356 (struct statfs64): Likewise.
18357 (_STATFS_F_FLAGS): Define.
18358 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18359 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18360 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18361 (ST_VALID): Define locally.
18362 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18363 __statvfs_getflags, use the provided value.
18364 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18365 __ASSUME_STATFS_F_FLAGS.
18367 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18369 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18370 Add sys/fanotify.h.
18371 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18372 fanotify_mask for GLIBC_2.13.
18373 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18374 fanotify_init and fanotify_mark.
18375 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18376 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18378 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18380 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18381 prlimit64 for GLIBC_2.13.
18382 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18384 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18387 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18388 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18389 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18390 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18392 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18395 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18396 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18398 * nss/Makefile: Add rules to build and run tst-nss-test1.
18399 * shlib-versions: Add entry for libnss_test1.
18400 * nss/nss_test1.c: New file.
18401 * nss/tst-nss-test1.c: New file.
18403 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18404 (__nss_configure_lookup): Set appropriate entry in
18405 __nss_configure_lookup to true.
18406 * nss/nsswitch.h: Define enum with indeces of databases in
18407 databases and __nss_database_custom arrays. Declare
18408 __nss_database_custom.
18409 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18410 to avoid using nscd when custom rules are installed.
18411 * nss/getXXbyYY_r.c: Likewise.
18412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18414 * nss/nss_files/files-parse.c: Whitespace fixes.
18416 2010-08-09 Ulrich Drepper <drepper@redhat.com>
18419 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18420 * posix/fnmatch_loop.c: Likewise.
18422 2010-07-17 Andi Kleen <ak@linux.intel.com>
18424 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18425 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18426 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18427 * Versions.def [GLIBC_2.13]: Add.
18429 2010-08-06 Ulrich Drepper <drepper@redhat.com>
18431 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18432 Also fail if tpwd after pwuid call is NULL.
18434 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18436 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18437 when converting to ms.
18439 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18441 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18442 EOPNOTSUPP errors with ENOTTY.
18443 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18444 EOPNOTSUPP errors with ENOTTY.
18446 2010-07-31 Ulrich Drepper <drepper@redhat.com>
18448 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18449 Add strcasecmp_l-ssse3.
18450 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18452 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18453 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18454 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18456 2010-07-30 Ulrich Drepper <drepper@redhat.com>
18458 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18460 * string/Makefile (strop-tests): Add strcasecmp.
18461 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18462 strcasecmp_l-nonascii.
18463 (gen-as-const-headers): Add locale-defines.sym.
18464 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18465 * sysdeps/x86_64/strcasecmp.S: New file.
18466 * sysdeps/x86_64/strcasecmp_l.S: New file.
18467 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18468 * sysdeps/x86_64/locale-defines.sym: New file.
18469 * string/test-strcasecmp.c: New file.
18471 * string/test-strcasestr.c: Test both ends of the range of characters.
18472 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18474 2010-07-29 Roland McGrath <roland@redhat.com>
18477 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18479 2010-07-27 Ulrich Drepper <drepper@redhat.com>
18481 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18484 2010-07-27 Andreas Schwab <schwab@redhat.com>
18486 * manual/memory.texi (Malloc Tunable Parameters): Document
18489 2010-07-26 Roland McGrath <roland@redhat.com>
18492 * configure.in (-fgnu89-inline check): Set and substitute
18493 gnu89_inline, not libc_cv_gnu89_inline.
18494 * configure: Regenerated.
18495 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18497 2010-07-26 Ulrich Drepper <drepper@redhat.com>
18499 * string/test-strnlen.c: New file.
18500 * string/Makefile (strop-tests): Add strnlen.
18501 * string/tester.c (test_strnlen): Add a few more test cases.
18502 * string/tst-strlen.c: Better error reporting.
18504 * sysdeps/x86_64/strnlen.S: New file.
18506 2010-07-24 Ulrich Drepper <drepper@redhat.com>
18508 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18509 lower-latency instructions.
18511 2010-07-23 Ulrich Drepper <drepper@redhat.com>
18513 * string/test-strcasestr.c: New file.
18514 * string/test-strstr.c: New file.
18515 * string/Makefile (strop-tests): Add strstr and strcasestr.
18516 * string/str-two-way.h: Don't undefine MAX.
18517 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18519 2010-07-21 Andreas Schwab <schwab@redhat.com>
18521 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18522 strcasestr-nonascii.
18523 (CFLAGS-strcasestr-nonascii.c): Define.
18524 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18525 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18526 Remove unused attribute.
18528 2010-07-20 Roland McGrath <roland@redhat.com>
18530 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18531 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18532 ld.so.cache was broken. With it, there is no way to disable dsocaps
18533 like LD_HWCAP_MASK can disable hwcaps.
18535 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18537 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18539 2010-07-16 Ulrich Drepper <drepper@redhat.com>
18541 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18542 call in strcasestr.
18543 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18544 __strcasestr_sse42_nonascii.
18545 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18546 strcasestr-nonascii.c.
18547 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18549 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
18551 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18552 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18553 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18554 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18556 2010-07-09 Ulrich Drepper <drepper@redhat.com>
18558 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18561 2010-07-06 Andreas Schwab <schwab@redhat.com>
18564 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18567 2010-07-06 Ulrich Drepper <drepper@redhat.com>
18569 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18570 _PC_PIPE_BUF using F_GETPIPE_SZ.
18572 2010-07-05 Roland McGrath <roland@redhat.com>
18574 * manual/arith.texi (Rounding Functions): Fix rint description
18575 implicit in round description.
18577 2010-07-02 Ulrich Drepper <drepper@redhat.com>
18579 * elf/Makefile: Fix linking for a few tests to make recent linker
18582 2010-06-30 Andreas Schwab <schwab@redhat.com>
18584 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18585 $(common-objpfx)libc_nonshared.a.
18587 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
18589 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18590 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18591 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18592 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18593 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18594 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18595 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18596 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18611 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18612 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18613 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18614 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18615 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18616 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18617 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18618 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18619 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18620 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18621 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18622 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18638 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18640 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18641 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18642 * string/memmove.c (memmove): Renamed to ...
18643 (MEMMOVE): ...this. Default to memmove.
18644 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18645 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18647 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18648 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18649 mempcpy-ssse3-back memmove-ssse3-back.
18650 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18651 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18652 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18653 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18654 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18655 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18656 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18657 * sysdeps/x86_64/multiarch/memmove.c: New file.
18658 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18659 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18660 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18661 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18662 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18663 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18665 (index_Fast_Copy_Backward): Define.
18666 (HAS_ARCH_FEATURE): Define.
18667 (HAS_FAST_REP_STRING): Define.
18668 (HAS_FAST_COPY_BACKWARD): Define.
18670 2010-06-21 Andreas Schwab <schwab@redhat.com>
18672 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18673 Restore proper fallback handling.
18675 2010-06-19 Ulrich Drepper <drepper@redhat.com>
18678 * posix/group_member.c (__group_member): Correct checking loop.
18680 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18681 OOM in getpwuid_r correctly. Return error number when the caller
18682 should return, otherwise -1.
18683 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18684 call returning > 0 value.
18685 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18687 2010-06-07 Andreas Schwab <schwab@redhat.com>
18689 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18690 libc_nonshared.a from targets in modules-names.
18692 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18694 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18697 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
18699 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18700 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18701 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18702 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18704 2010-06-02 Andreas Schwab <schwab@redhat.com>
18706 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18708 2010-06-14 Ulrich Drepper <drepper@redhat.com>
18710 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18712 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18713 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18714 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18715 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18716 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18717 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18719 2010-06-14 Roland McGrath <roland@redhat.com>
18721 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18723 2010-06-07 Jakub Jelinek <jakub@redhat.com>
18725 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18726 __REDIRECT followed by __THROW.
18727 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18728 * posix/getopt.h (getopt): Likewise.
18730 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18732 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18733 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18734 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18736 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18737 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18739 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
18741 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18743 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18747 Properly check family and model.
18749 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18751 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18753 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
18755 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18757 2010-05-21 Ulrich Drepper <drepper@redhat.com>
18759 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18762 2010-05-19 Andreas Schwab <schwab@redhat.com>
18764 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18767 2010-05-21 Andreas Schwab <schwab@redhat.com>
18769 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18770 and internal_recvmmsg.
18771 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18772 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18773 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18774 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18776 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18777 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18778 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18780 2010-05-20 Andreas Schwab <schwab@redhat.com>
18782 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18784 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
18786 POWER7 optimizations.
18787 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18788 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18790 2010-05-19 Ulrich Drepper <drepper@redhat.com>
18792 * version.h: Update for 2.13 development version.
18794 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
18796 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18797 exceptions. Return 0.
18799 2010-05-07 Roland McGrath <roland@redhat.com>
18801 * elf/ldconfig.c (main): Add a const.
18803 2010-05-06 Ulrich Drepper <drepper@redhat.com>
18805 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18806 (args_options): Add no-idn option.
18807 (ahosts_keys_int): Add idn_flags to ai_flags.
18808 (parse_option): Handle 'i' option to clear idn_flags.
18810 * malloc/malloc.c (_int_free): Possible race in the most recently
18811 added check. Only act on the data if no current modification
18814 See ChangeLog.17 for earlier changes.