1 2012-09-04 Florian Weimer <fweimer@redhat.com>
3 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8 2012-09-04 Joseph Myers <joseph@codesourcery.com>
11 * libio/iogetdelim.c: Include <limits.h>.
12 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13 + len + 1 would overflow.
15 2012-09-03 Andreas Jaeger <aj@suse.de>
17 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18 * sysdeps/i386/fpu/libm-test-ulps: Update.
20 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23 Add s_sinf-sse2, s_conf-sse2.
25 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31 for using routine as __sinf_ia32.
32 Use macro for function declaration and weak_alias.
33 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34 for using routine as __cosf_ia32.
35 Use macro for function declaration and weak_alias.
37 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
40 * sysdeps/x86_64/fpu/s_sinf.S: New file.
41 * sysdeps/x86_64/fpu/s_cosf.S: New file.
42 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44 * math/libm-test.inc (cos_test): Add more test cases.
46 (sincos_test): Likewise.
48 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
51 (IFUNC_RESOLVE): Make pointers to the specialized implementations
53 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
55 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
58 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
59 first element of the GOT.
60 (elf_machine_load_address): Return the difference between
61 the runtime address of _DYNAMIC and elf_machine_dynamic ().
63 2012-09-01 Allan McRae <allan@archlinux.org>
66 * configure.in (AWK): Require gawk version 3.0 or later.
67 * configure: Regenerated.
69 2012-09-01 Joseph Myers <joseph@codesourcery.com>
71 * sysdeps/unix/sysv/linux/kernel-features.h
72 (__ASSUME_POSIX_CPU_TIMERS): Remove.
73 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
74 [__NR_clock_getres]: Make code unconditional.
75 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
76 (clock_getcpuclockid): Remove code left unreachable by removal of
78 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
80 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
81 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
82 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
83 Make code unconditional.
84 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
85 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
86 * sysdeps/unix/sysv/linux/clock_settime.c
87 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
89 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
90 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
92 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
95 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
96 scripts/test-installation.pl.
98 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
99 and $ld_so_version if it is set.
101 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
104 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
105 failure if reading from procfs failed.
106 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
108 2012-08-27 Joseph Myers <joseph@codesourcery.com>
110 * sysdeps/unix/sysv/linux/kernel-features.h
111 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
112 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
113 Remove conditional code.
114 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
115 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
116 Remove conditional code.
117 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
118 * sysdeps/unix/sysv/linux/i386/fxstat.c
119 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
120 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
121 * sysdeps/unix/sysv/linux/i386/fxstatat.c
122 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
123 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
124 * sysdeps/unix/sysv/linux/i386/lxstat.c
125 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
126 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
127 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
128 Remove conditional code.
129 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
130 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
131 Remove conditional code.
132 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
133 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
135 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
137 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
138 Remove conditional code.
139 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
140 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
143 2012-08-27 Mike Frysinger <vapier@gentoo.org>
146 * NEWS: Add fixed bug number.
148 2012-08-27 Joseph Myers <joseph@codesourcery.com>
151 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
152 underflowing exponent in case of negative sign.
153 * stdlib/tst-strtod-round-data: Add more tests.
154 * stdlib/tst-strtod-round.c (tests): Regenerated.
157 * stdlib/strtod_l.c (NDIG): Remove.
159 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
160 smallest representable value.
161 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
162 lie within an exact representation of 1/2 ulp of the result.
163 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
165 (TENS_P9_IDX): Define unconditionally.
166 (TENS_P9_SIZE): Likewise.
167 (TENS_P10_IDX): Likewise.
168 (TENS_P10_SIZE): Likewise.
169 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
170 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
171 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
172 entries for 10^2^13 and 10^2^14.
173 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
174 (TENS_P13_IDX): Define.
175 (TENS_P13_SIZE): Likewise.
176 (TENS_P14_IDX): Likewise.
177 (TENS_P14_SIZE): Likewise.
178 (_fpioconst_pow10): Change array size to
179 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
181 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
182 1024]: Add entries for 10^2^13 and 10^2^14.
183 [LAST_POW10 > _LAST_POW10]: Remove #error.
184 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
185 (_fpioconst_pow10): Change array size to
186 FPIOCONST_POW10_ARRAY_SIZE.
187 * stdlib/gen-fpioconst.c: New file.
188 * stdlib/gen-tst-strtod-round.c: Likewise.
189 * stdlib/tst-strtod-round-data: Likewise.
190 * stdlib/tst-strtod-round.c: Likewise.
191 * stdlib/Makefile (tests): Add tst-strtod-round.
194 * stdlib/strtod_l.c: Include <stdint.h>.
195 (NDEBUG): Do not define.
196 (round_and_return): Change EXPONENT parameter to type intmax_t.
197 Rearrange calculations to avoid internal overflow possibilities.
198 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
199 Rearrange calculations to avoid internal overflow possibilities.
200 Assert that number fits inside MPNSIZE limbs.
201 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
202 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
203 calculations and add assertions to avoid internal overflow
204 possibilities. Add casts to avoid signed/unsigned operations.
205 * stdlib/tst-strtod-overflow.c: New file.
206 * stdlib/Makefile (tests): Add tst-strtod-overflow.
208 2012-08-25 Marek Polacek <polacek@redhat.com>
210 * time/time.h: Fix some typos in comments.
212 2012-08-23 Roland McGrath <roland@hack.frob.com>
214 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
215 * posix/tst-rfc3484-2.c: Likewise.
216 * posix/tst-rfc3484-3.c: Likewise.
218 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
220 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
221 (EF_ARM_ABI_FLOAT_HARD): Likewise.
223 2012-08-23 Joseph Myers <joseph@codesourcery.com>
225 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
226 #include of fxstatat64.c.
228 2012-08-22 Roland McGrath <roland@hack.frob.com>
230 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
231 * shadow/getspent_r.c: Likewise.
232 * shadow/getspnam.c: Likewise.
233 * shadow/getspnam_r.c: Likewise.
234 * gshadow/getsgent.c: Likewise.
235 * gshadow/getsgent_r.c: Likewise.
236 * gshadow/getsgnam.c: Likewise.
237 * gshadow/getsgnam_r.c: Likewise.
238 * inet/getnetbyad.c: Likewise.
239 * inet/getnetbyad_r.c: Likewise.
240 * inet/getnetbynm.c: Likewise.
241 * inet/getnetbynm_r.c: Likewise.
242 * inet/getnetent.c: Likewise.
243 * inet/getnetent_r.c: Likewise.
244 * inet/getproto.c: Likewise.
245 * inet/getproto_r.c: Likewise.
246 * inet/getprtent.c: Likewise.
247 * inet/getprtent_r.c: Likewise.
248 * inet/getprtname.c: Likewise.
249 * inet/getprtname_r.c: Likewise.
250 * inet/getrpcbyname.c: Likewise.
251 * inet/getrpcbyname_r.c: Likewise.
252 * inet/getrpcbynumber.c: Likewise.
253 * inet/getrpcbynumber_r.c: Likewise.
254 * inet/getrpcent.c: Likewise.
255 * inet/getrpcent_r.c: Likewise.
256 * inet/getaliasent.c: Likewise.
257 * inet/getaliasent_r.c: Likewise.
258 * inet/getaliasname.c: Likewise.
259 * inet/getaliasname_r.c: Likewise.
260 * nscd/getgrgid_r.c: Likewise.
261 * nscd/getgrnam_r.c: Likewise.
262 * nscd/gethstbyad_r.c: Likewise.
263 * nscd/gethstbynm3_r.c: Likewise.
264 * nscd/getpwnam_r.c: Likewise.
265 * nscd/getpwuid_r.c: Likewise.
266 * nscd/getsrvbynm_r.c: Likewise.
267 * nscd/getsrvbypt_r.c: Likewise.
268 * nscd/gai.c: Likewise.
270 * configure.in (build_nscd): New substituted variable, set
271 by --disable-build-nscd and defaults to $use_nscd.
272 * configure: Regenerated.
273 * config.make.in (build-nscd): New substituted variable.
274 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
275 Change conditional to require [$(build-nscd) = yes] as well.
276 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
279 * configure.in (use_nscd): New substituted variable, set by
280 --disable-nscd. If enabled, define USE_NSCD.
281 * configure: Regenerated.
282 * config.h.in: Add USE_NSCD.
283 * config.make.in (use-nscd): New substituted variable.
284 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
285 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
286 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
287 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
288 (CFLAGS-getgrnam_r.c): Likewise.
289 (CFLAGS-initgroups.c): Likewise.
290 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
291 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
293 * inet/getnetgrent_r.c
294 (nscd_setnetgrent): New function, broken out of ...
295 (setnetgrent): ... here. Call it.
296 (innetgr): Conditionalize nscd bits on [USE_NSCD].
297 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
298 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
299 * nscd/Makefile (routines, aux): Move definitions after include of
300 Makeconfig. Conditionalize on [$(use-nscd) != no].
301 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
302 Conditionalize on [USE_NSCD].
303 (is_nscd, nscd_init_cb): Likewise.
304 (nss_load_library): Conditionalize init callback on [USE_NSCD].
305 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
306 * nss/nss_db/db-init.c: Likewise.
307 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
309 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
310 (make_request): Use it.
311 (cache_valid_p): New function.
312 (__check_pf): Use it.
313 * NEWS: Add item for --disable-nscd.
315 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
317 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
318 to support sed >= 4.2.1-20-ga9bf076.
319 * configure: Regenerated.
321 2012-08-22 Roland McGrath <roland@hack.frob.com>
323 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
324 Conditionalize whole body on [IREL].
326 2012-08-22 Jeff Law <law@redhat.com>
329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
330 if the family is PF_UNSPEC.
332 2012-08-22 Mike Frysinger <vapier@gentoo.org>
334 * Makerules (lib-version): Rename from V.
335 (install-lib-nosubdir): Change V to lib-version.
337 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
340 * powerpc32/power6/wcschr.c: New file.
341 * powerpc32/power6/wcscpy.c: New file.
342 * powerpc32/power6/wcsrchr.c: New file.
343 * powerpc64/power6/wcschr.c: New file.
344 * powerpc64/power6/wcscpy.c: New file.
345 * powerpc64/power6/wcsrchr.c: New file.
347 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
349 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
350 (two_way_short_needle): Use it.
351 * string/strstr.c (AVAILABLE1_USES_J): Define.
352 * string/strcasestr.c: Likewise.
354 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
356 * string/strcasestr.c (TOLOWER): Make side-effect safe.
359 * NEWS: Add an entry.
360 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
361 define their defaults.
362 (two_way_short_needle): Detect end-of-string on-the-fly.
363 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
364 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
365 * string/bug-strcasestr1.c: New test.
366 * string/Makefile: Run it.
368 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
371 * string/str-two-way.h (two_way_short_needle): Optimize matching of
374 2012-08-21 Roland McGrath <roland@hack.frob.com>
376 * csu/elf-init.c (__libc_csu_irel): Function removed.
377 * csu/libc-start.c (apply_irel): New function.
378 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
380 2012-08-21 Joseph Myers <joseph@codesourcery.com>
382 * sysdeps/unix/sysv/linux/kernel-features.h
383 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
384 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
386 [__NR_fadvise64_64]: Make code unconditional.
387 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
388 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
389 !__NR_fadvise64_64)]: Likewise.
390 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
391 !__NR_fadvise64_64))]: Likewise.
392 [__NR_fadvise64]: Make code unconditional.
393 [!__NR_fadvise64]: Remove conditional code.
394 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
396 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
398 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
401 not include <kernel-features.h>.
402 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
404 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
406 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
407 include <kernel-features.h>.
408 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
410 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
413 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
415 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
416 slight instruction rearrangements per scrollpipe analysis.
417 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
419 2012-08-20 Roland McGrath <roland@hack.frob.com>
421 * manual/syslog.texi (syslog; vsyslog, closelog):
422 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
423 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
425 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
426 DSOCAPS to match condition on defining it.
428 2012-08-20 Joseph Myers <joseph@codesourcery.com>
430 * sysdeps/unix/sysv/linux/kernel-features.h
431 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
433 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
434 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
436 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
437 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
439 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
440 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
442 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
443 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
445 * sysdeps/unix/sysv/linux/kernel-features.h
446 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
447 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
449 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
450 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
451 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
452 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
453 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
454 Make code unconditional.
455 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
456 (__mmap64) [!__NR_mmap2]: Likewise.
457 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
458 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
459 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
460 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
461 [__NR_mmap2]: Make code unconditional.
462 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
463 (__mmap64) [!__NR_mmap2]: Likewise.
465 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
467 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
469 2012-08-18 Andreas Jaeger <aj@suse.de>
471 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
473 2012-08-18 Mike Frysinger <vapier@gentoo.org>
475 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
476 * include/unistd.h (__have_sock_cloexec): Likewise.
477 (__have_pipe2): Likewise.
478 (__have_dup3): Likewise.
480 2012-08-18 Mike Frysinger <vapier@gentoo.org>
483 * include/unistd.h (__have_pipe2): Change define into an extern int.
484 (__have_dup3): Likewise.
485 * socket/have_sock_cloexec.c: Include fcntl.h.
486 (__have_pipe2): New variable.
487 (__have_dup3): Likewise.
489 2012-08-17 Mike Frysinger <vapier@gentoo.org>
491 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
493 2012-08-17 Marek Polacek <polacek@redhat.com>
495 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
496 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
498 2012-08-17 Roland McGrath <roland@hack.frob.com>
500 * configure.in: Add AC_SUBST for sysheaders.
501 * configure: Regenerated.
502 * config.make.in (sysheaders): New substituted variable.
504 * sysdeps/unix/mkfifo.c: Moved ...
505 * sysdeps/posix/mkfifo.c: ... here.
506 * sysdeps/unix/mkfifoat.c: Moved ...
507 * sysdeps/posix/mkfifoat.c: ... here.
509 * sysdeps/unix/utime.c: Moved ...
510 * sysdeps/posix/utime.c: ... here.
512 * sysdeps/unix/time.c: Moved ...
513 * sysdeps/posix/time.c: ... here.
514 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
515 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
517 * sysdeps/unix/nice.c: Moved ...
518 * sysdeps/posix/nice.c: ... here.
520 * sysdeps/unix/alarm.c: Moved ...
521 * sysdeps/posix/alarm.c: ... here.
523 * intl/Makefile ($(codeset_mo)): Depend on the input file.
525 2012-08-17 Jeff Law <law@redhat.com>
527 * intl/Makefile (codeset_mo): New variable.
528 ($(codeset_mo)): New target.
529 (tst-codeset.out): Depend on that. Remove explicit rule.
530 (tst-gettext3.out, tst-gettext5.out): Likewise.
531 (LOCPATH-ENV, tst-codeset-ENV): New variables.
532 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
533 * intl/tst-codeset.sh: Remove.
534 * intl/tst-gettext3.sh: Likewise.
535 * intl/tst-gettext5.sh: Likewise.
537 2012-08-17 Roland McGrath <roland@hack.frob.com>
539 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
540 * sysdeps/unix/syscalls.list: ... here.
542 * sysdeps/posix/getaddrinfo.c
543 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
544 (gaiconf_init, gaiconf_reload): Use them.
546 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
547 Define using time_t rather than struct timespec.
549 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
550 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
552 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
554 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
555 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
558 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
559 __libc_cleanup_push argument.
561 * bits/param.h: New file.
562 * misc/sys/param.h: New file.
563 * include/sys/param.h: New file.
564 * misc/Makefile (headers): Add bits/param.h.
565 * sysdeps/generic/sys/param.h: File removed.
566 * sysdeps/unix/sysv/linux/bits/param.h: New file.
567 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
568 * sysdeps/mach/hurd/bits/param.h: New file.
569 * sysdeps/mach/hurd/sys/param.h: New file.
571 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
574 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
576 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
577 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
580 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
581 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
582 rather than -D_IO_MTSAFE_IO conditionally.
583 * stdio-common/Makefile (CPPFLAGS): Likewise.
584 * wcsmbs/Makefile (CPPFLAGS): Likewise.
585 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
587 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
589 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
590 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
591 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
592 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
593 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
594 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
595 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
596 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
597 (CFLAGS-fread_u_chk.c): Likewise.
598 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
599 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
600 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
601 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
602 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
603 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
604 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
605 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
606 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
608 * libio/Makefile: Test [$(libc-reentrant) = yes]
609 instead of [$(filter %REENTRANT, $(defines)) nonempty].
612 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
613 * sysdeps/pthread/configure: File removed.
614 * sysdeps/pthread/Makeconfig: New file.
615 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
616 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
618 2012-08-16 Gary Benson <gbenson@redhat.com>
620 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
621 unmapping the first object in a namespace.
623 2012-08-16 Roland McGrath <roland@hack.frob.com>
625 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
626 (__internal_setnetgrent): ... this. Add internal_function to
627 definition. Add libc_hidden_def.
628 (setnetgrent): Update caller.
629 (internal_endnetgrent): Renamed to ...
630 (__internal_endnetgrent): ... this. Add internal_function to
631 definition. Add libc_hidden_def.
632 (endnetgrent): Update caller.
633 (internal_getnetgrent_r): Renamed to ...
634 (__internal_getnetgrent_r): ... this. Add internal_function to
635 definition. Add libc_hidden_def.
636 (__getnetgrent_r): Update caller.
637 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
639 2012-08-16 Joseph Myers <joseph@codesourcery.com>
641 * stdlib/longlong.h: Update from GCC.
643 2012-08-16 Roland McGrath <roland@hack.frob.com>
645 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
646 on _QL, which is set by umul_ppmm but never used.
647 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
648 variables, which are set by GMP macros but never used.
649 * stdio-common/_itowa.c (_itowa): Likewise.
650 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
651 * stdlib/mod_1.c (mpn_mod_1): Likewise.
653 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
655 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
656 struct La_sh_regs is not constant.
657 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
658 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
659 and struct La_sparc64_regs are not constant.
661 2012-08-16 Joseph Myers <joseph@codesourcery.com>
663 * sysdeps/unix/sysv/linux/kernel-features.h
664 (__ASSUME_POSIX_TIMERS): Remove.
665 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
666 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
667 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
668 Make code unconditional.
669 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
670 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
671 Make code unconditional.
672 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
673 * sysdeps/unix/sysv/linux/clock_nanosleep.c
674 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
675 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
676 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
677 Make code unconditional.
678 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
679 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
680 (__libc_missing_posix_timers): Remove.
682 2012-08-15 Roland McGrath <roland@hack.frob.com>
684 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
685 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
687 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
689 * elf/dl-sym.c: Include <stdlib.h>.
691 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
692 constants, which avoids warnings in 32-bit builds.
694 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
695 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
697 * misc/lseek.c: File moved to ...
698 * io/lseek.c: ... here.
700 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
702 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
703 shifting LEN more than 31 bits at once.
705 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
708 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
709 segmentation fault for a case of two empty input strings.
710 * string/test-strncasecmp.c (check1): Renamed to...
712 (bz14195): Add new testcase for two empty input strings and N > 0.
713 (test_main): Call new testcase, adapt for renamed function.
715 2012-08-15 Andreas Jaeger <aj@suse.de>
718 * crypt/md5test2.c: New test, based on test supplied by Serge
719 Belyshev <belyshev@depni.sinp.msu.ru>.
720 * crypt/Makefile (xtests): Add md5test-giant..
721 * crypt/Makefile ($(objpfx)md5test-giant): Add.
723 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
726 * crypt/md5.c (md5_process_block): Don't assume the buffer
727 length is less than 2**32.
728 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
729 length is less than 2**64.
731 2012-08-15 Roland McGrath <roland@hack.frob.com>
733 * string/str-two-way.h: Include <sys/param.h>.
734 (MAX): Macro removed.
736 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
737 Move #define and #undef of memmove to just before and after
738 including <string.h>.
740 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
741 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
742 and after including <string.h>. Move declarations of
743 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
744 to before #include "string/memmove.c".
746 * include/dirent.h: Declare __getdirentries.
748 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
749 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
751 2012-08-14 Mike Frysinger <vapier@gentoo.org>
753 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
754 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
755 * sysdeps/i386/configure: Regenerated.
756 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
757 STABS_CURRENT_FILE, and STABS_FUN.
758 (END): Remove call to STABS_FUN_END.
759 (STABS_CURRENT_FILE1): Delete.
760 (STABS_CURRENT_FILE): Likewise.
761 (STABS_FUN): Likewise.
762 (STABS_FUN_END): Likewise.
763 (STABS_FUN2): Likewise.
764 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
765 * sysdeps/x86_64/configure: Regenerated.
767 2012-08-14 Roland McGrath <roland@hack.frob.com>
769 * elf/dl-open.c: Include <atomic.h>.
770 * elf/dl-lookup.c: Likewise.
772 2012-08-14 Joseph Myers <joseph@codesourcery.com>
774 * sysdeps/unix/sysv/linux/kernel-features.h
775 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
776 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
778 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
780 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
781 condition on __ASSUME_CLONE_THREAD_FLAGS.
783 2012-08-14 Andreas Jaeger <aj@suse.de>
785 * sysdeps/i386/fpu/libm-test-ulps: Update.
787 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
789 * include/atomic.h (atomic_exchange_and_add): Split into ...
790 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
793 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
795 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
797 2012-08-13 Jeff Law <law@redhat.com>
799 * manual/stdio.texi (snprintf): Clarify handling of the trailing
800 null byte in the output string.
802 2012-08-10 Joseph Myers <joseph@codesourcery.com>
804 * sysdeps/unix/sysv/linux/kernel-features.h
805 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
806 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
807 (__ASSUME_ARG_MAX_STACK_BASED): Define.
808 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
809 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
810 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
811 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
813 2012-08-09 Jeff Law <law@redhat.com>
816 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
817 When avoid_arena is set, don't retry in the that arena. Pick the
818 next one, whatever it might be.
819 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
820 (arena_lock): Pass in new parameter to arena_get2.
821 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
823 (__libc_malloc): Unify retrying after main arena failure with
824 __libc_memalign version.
825 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
827 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
830 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
831 to __redirect_strstr.
832 (__strstr_sse42): Use typeof __redirect_strstr.
833 (__strstr_ia32): Likewise.
834 (__libc_strstr): New prototype.
835 (strstr): Renamed to ...
836 (__libc_strstr): This.
837 (strstr): New strong alias of __libc_strstr.
838 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
839 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
842 (__libc_time): New prototype.
843 (time_ifunc): Replace time with __libc_time.
844 (time): New strong alias and hidden definition of __libc_time.
845 (__GI_time): Remove strong alias.
846 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
848 (memmove): Redefined to __redirect_memmove.
849 (__memmove_sse2): Use typeof __redirect_memmove.
850 (__memmove_ssse3): Likewise.
851 (__memmove_ssse3_back): Likewise.
852 (__libc_memmove): New prototype.
853 (memmove): Renamed to ...
854 (__libc_memmove): This.
855 (memmove): New strong alias of __libc_memmove.
857 2012-08-08 Mark Salter <msalter@redhat.com>
860 (R_MN10300_TLS_GD): Define.
861 (R_MN10300_TLS_LD): Likewise.
862 (R_MN10300_TLS_LDO): Likewise.
863 (R_MN10300_TLS_GOTIE): Likewise.
864 (R_MN10300_TLS_IE): Likewise.
865 (R_MN10300_TLS_LE): Likewise.
866 (R_MN10300_TLS_DTPMOD): Likewise.
867 (R_MN10300_TLS_DTPOFF): Likewise.
868 (R_MN10300_TLS_TPOFF): Likewise.
869 (R_MN10300_SYM_DIFF): Likewise.
870 (R_MN10300_ALIGN): Likewise.
871 (R_MN10300_NUM): Update.
873 2012-08-08 Joseph Myers <joseph@codesourcery.com>
875 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
878 2012-08-08 Roland McGrath <roland@hack.frob.com>
880 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
882 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
883 sysdeps/unix -> sysdeps/posix move.
884 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
886 2012-08-07 Allan McRae <allan@archlinux.org>
889 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
890 (SUNOS_CPP): Likewise.
891 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
893 (open_input): Call CPP using execvp.
895 2012-08-07 Joseph Myers <joseph@codesourcery.com>
897 * sysdeps/unix/sysv/linux/kernel-features.h
898 (__ASSUME_PROT_GROWSUPDOWN): Remove.
899 (__ASSUME_NO_CLONE_DETACHED): Likewise.
900 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
901 (__ASSUME_WAITID_SYSCALL): Likewise.
902 * sysdeps/unix/sysv/linux/dl-execstack.c
903 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
905 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
907 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
908 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
909 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
911 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
913 [__ASSUME_WAITID_SYSCALL]: Likewise.
914 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
916 2012-08-07 Roland McGrath <roland@hack.frob.com>
918 * sysdeps/unix/closedir.c: Renamed to ...
919 * sysdeps/posix/closedir.c: ... here.
920 * sysdeps/unix/dirfd.c: Renamed to ...
921 * sysdeps/posix/dirfd.c: ... here.
922 * sysdeps/unix/dirstream.h: Renamed to ...
923 * sysdeps/posix/dirstream.h: ... here.
924 * sysdeps/unix/fdopendir.c: Renamed to ...
925 * sysdeps/posix/fdopendir.c: ... here.
926 * sysdeps/unix/opendir.c: Renamed to ...
927 * sysdeps/posix/opendir.c: ... here.
928 * sysdeps/unix/readdir.c: Renamed to ...
929 * sysdeps/posix/readdir.c: ... here.
930 * sysdeps/unix/readdir_r.c: Renamed to ...
931 * sysdeps/posix/readdir_r.c: ... here.
932 * sysdeps/unix/rewinddir.c: Renamed to ...
933 * sysdeps/posix/rewinddir.c: ... here.
934 * sysdeps/unix/seekdir.c: Renamed to ...
935 * sysdeps/posix/seekdir.c: ... here.
936 * sysdeps/unix/telldir.c: Renamed to ...
937 * sysdeps/posix/telldir.c: ... here.
938 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
939 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
940 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
941 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
943 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
944 * bits/fcntl.h: ... here.
946 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
948 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
949 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
950 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
951 (struct flock): Move l_start, l_len to the beginning.
952 Use __pid_t for l_pid.
953 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
954 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
955 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
956 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
957 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
958 [__USE_LARGEFILE64] (struct flock64): New type.
959 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
961 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
962 * bits/dirent.h: ... here.
964 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
965 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
967 2012-08-07 Joseph Myers <joseph@codesourcery.com>
969 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
970 Change from 2.6.0 to 2.6.16.
971 * sysdeps/unix/sysv/linux/configure: Regenerated.
972 * sysdeps/unix/sysv/linux/kernel-features.h
973 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
974 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
976 (__ASSUME_UTIMES): Likewise.
977 (__ASSUME_CLONE_STOPPED): Remove.
978 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
979 architectures, not kernel version.
980 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
981 (__ASSUME_NO_CLONE_DETACHED): Likewise.
982 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
983 (__ASSUME_WAITID_SYSCALL): Likewise.
984 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
985 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
986 * README: State 2.6.16 as minimum Linux kernel version. Do not
987 refer to older versions.
989 2012-08-06 Roland McGrath <roland@hack.frob.com>
991 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
992 Define alphasort64 as an alias.
993 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
994 Define versionsort64 as an alias.
995 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
996 Define scandir64 as an alias.
997 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
998 Define scandirat64 as an alias.
999 * dirent/alphasort64.c (alphasort64):
1000 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1001 * dirent/versionsort64.c: Likewise.
1002 * dirent/scandir64.c: Likewise.
1003 * dirent/scandirat64.c: Likewise.
1004 * sysdeps/wordsize-64/alphasort.c: File removed.
1005 * sysdeps/wordsize-64/alphasort64.c: File removed.
1006 * sysdeps/wordsize-64/scandir.c: File removed.
1007 * sysdeps/wordsize-64/scandir64.c: File removed.
1008 * sysdeps/wordsize-64/scandirat.c: File removed.
1009 * sysdeps/wordsize-64/scandirat64.c: File removed.
1010 * sysdeps/wordsize-64/versionsort.c: File removed.
1011 * sysdeps/wordsize-64/versionsort64.c: File removed.
1012 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1013 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1014 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1015 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1016 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1017 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1018 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1019 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1021 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1022 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1023 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1024 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1025 [defined __arch64__ || defined __sparcv9]
1026 (__INO_T_MATCHES_INO64_T): New macro.
1027 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1028 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1029 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1030 * sysdeps/unix/sysv/linux/bits/dirent.h
1031 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1032 (_DIRENT_MATCHES_DIRENT64): New macro.
1034 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1035 Define lockf64 as an alias.
1036 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1037 Define fseeko64 as an alias.
1038 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1039 Define ftello64 as an alias.
1040 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1041 Define _IO_fgetpos64 and fgetpos64 as aliases.
1042 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1043 Define _IO_fsetpos64 and fsetpos64 as aliases.
1044 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1045 Conditionalize body on this.
1046 * libio/fseeko64.c: Likewise.
1047 * libio/ftello64.c: Likewise.
1048 * libio/iofgetpos64.c: Likewise.
1049 * libio/iofsetpos64.c: Likewise.
1050 * sysdeps/wordsize-64/lockf.c: File removed.
1051 * sysdeps/wordsize-64/lockf64.c: File removed.
1052 * sysdeps/wordsize-64/fseeko.c: File removed.
1053 * sysdeps/wordsize-64/fseeko64.c: File removed.
1054 * sysdeps/wordsize-64/ftello.c: File removed.
1055 * sysdeps/wordsize-64/ftello64.c: File removed.
1056 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1057 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1058 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1059 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1060 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1061 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1062 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1063 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1064 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1065 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1066 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1067 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1068 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1069 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1071 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1072 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1073 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1074 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1075 [defined __arch64__ || defined __sparcv9]
1076 (__OFF_T_MATCHES_OFF64_T): New macro.
1077 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1078 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1079 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1080 (__OFF_T_MATCHES_OFF64_T): New macro.
1082 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1084 * stdlib/secure-getenv.c (__secure_getenv): Replace
1085 GLIBC_2_16 with GLIBC_2_17.
1087 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1089 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1090 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1092 2012-08-03 David S. Miller <davem@davemloft.net>
1094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1096 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1098 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1100 (__ASSUME_CORRECT_SI_PID): Likewise.
1101 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1102 (__ASSUME_TMPFS_NAME): Likewise.
1103 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1104 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1105 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1106 (HAVE_AUX_SECURE): Make definition unconditional.
1107 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1108 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1110 2012-08-03 Roland McGrath <roland@hack.frob.com>
1112 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1113 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1114 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1115 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1116 __eloop_threshold instead of SYMLOOP_MAX.
1118 * sysdeps/generic/eloop-threshold.h: New file.
1119 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1121 * elf/chroot_canon.c (chroot_canon): Likewise.
1123 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1126 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1127 Change to 2.6.0 everywhere.
1128 * sysdeps/unix/sysv/linux/configure: Regenerated.
1129 * sysdeps/unix/sysv/linux/kernel-features.h
1130 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1131 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1133 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1134 (__ASSUME_FUTEX_REQUEUE): Remove.
1135 (__ASSUME_STATFS64): Define unconditionally.
1136 (__ASSUME_AT_SECURE): Likewise.
1137 (__ASSUME_CORRECT_SI_PID): Likewise.
1138 (__ASSUME_TGKILL): Define without depending on kernel version for
1140 (__ASSUME_UTIMES): Likewise.
1141 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1143 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1144 (__ASSUME_TMPFS_NAME): Likewise.
1145 * README: Update reference to Linux kernel versions.
1147 2012-08-02 Marek Polacek <polacek@redhat.com>
1150 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1151 libc_cv_asm_type_prefix with %.
1152 * configure: Regenerated.
1153 * include/libc-symbols.h: Remove comment about
1154 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1155 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1156 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1157 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1158 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1159 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1160 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1161 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1162 * elf/tst-unique2mod1.c: Likewise.
1163 * elf/tst-unique1mod2.c: Likewise.
1164 * elf/tst-unique1mod1.c: Likewise.
1165 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1166 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1167 Replace ASM_TYPE_DIRECTIVE with .type.
1168 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1169 * sysdeps/i386/sysdep.h: Likewise.
1170 * sysdeps/x86_64/sysdep.h: Likewise.
1171 * sysdeps/sh/sysdep.h: Likewise.
1172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1173 Do not define ASM_TYPE_DIRECTIVE.
1174 * sysdeps/powerpc/sysdep.h: Likewise.
1175 * sysdeps/powerpc/powerpc32/sysdep.h:
1176 Replace ASM_TYPE_DIRECTIVE with .type.
1177 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1178 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1179 * sysdeps/i386/fpu/e_powf.S: Likewise.
1180 * sysdeps/i386/fpu/e_expl.S: Likewise.
1181 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1182 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1183 * sysdeps/i386/fpu/e_pow.S: Likewise.
1184 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1185 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1186 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1187 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1188 * sysdeps/i386/fpu/e_log2.S: Likewise.
1189 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1190 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1191 * sysdeps/i386/fpu/e_powl.S: Likewise.
1192 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1193 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1194 * sysdeps/i386/fpu/e_logl.S: Likewise.
1195 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1196 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1197 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1198 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1199 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1200 * sysdeps/i386/fpu/e_log.S: Likewise.
1201 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1202 * sysdeps/i386/fpu/e_logf.S: Likewise.
1203 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1204 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1205 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1206 * sysdeps/i386/fpu/e_log10.S: Likewise.
1207 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1208 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1209 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1210 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1211 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1212 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1213 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1214 * sysdeps/i386/i686/strtok.S: Likewise.
1215 * sysdeps/i386/i386-mcount.S: Likewise.
1216 * sysdeps/i386/strtok.S: Likewise.
1217 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1218 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1219 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1220 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1221 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1222 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1223 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1224 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1225 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1226 * sysdeps/x86_64/_mcount.S: Likewise.
1227 * sysdeps/x86_64/strtok.S: Likewise.
1228 * sysdeps/sh/_mcount.S: Likewise.
1230 2012-08-01 Roland McGrath <roland@hack.frob.com>
1232 * libio/iofopen.c: Include <fcntl.h>.
1233 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1234 (_IO_fopen64, fopen64): Define as aliases.
1235 * libio/iofopen64.c: Include <fcntl.h>.
1236 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1237 Conditionalize body on this.
1238 * sysdeps/wordsize-64/iofopen.c: File removed.
1239 * sysdeps/wordsize-64/iofopen64.c: File removed.
1241 2012-08-01 Marek Polacek <polacek@redhat.com>
1243 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1244 Use dlfcn directly instead of a variable.
1245 (binfmt-subdir): Do not define.
1248 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1250 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1251 Remove all definitions.
1252 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1253 <kernel-features.h>.
1254 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1255 (miss_F_GETOWN_EX): Remove all definitions.
1256 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1258 [!__ASSUME_FCNTL64]: Remove conditional code.
1259 [__ASSUME_FCNTL64]: Make code unconditional.
1260 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1261 <kernel-features.h>.
1262 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1263 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1264 (lockf64) [__NR_fcntl64]: Make code unconditional.
1265 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1267 * sysdeps/unix/sysv/linux/kernel-features.h
1268 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1269 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1270 Make code unconditional.
1271 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1272 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1274 [__NR_vfork]: Make code unconditional.
1275 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1276 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1278 [__NR_vfork]: Make code unconditional.
1279 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1280 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1282 2012-08-01 Roland McGrath <roland@hack.frob.com>
1284 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1285 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1287 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1288 Define mkstemp64 as an alias.
1289 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1290 Define mkstemps64 as an alias.
1291 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1292 Define mkostemp64 as an alias.
1293 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1294 Define mkostemps64 as an alias.
1295 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1296 Conditionalize body on this.
1297 * misc/mkostemp64.c: Likewise.
1298 * misc/mkostemps64.c: Likewise.
1299 * misc/mkstemps64.c: Likewise.
1300 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1301 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1302 * sysdeps/wordsize-64/mkostemp.c: File removed.
1303 * sysdeps/wordsize-64/mkstemp.c: File removed.
1304 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1305 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1306 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1307 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1310 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1311 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1312 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1313 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1315 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1316 compat_symbol macros from <shlib-compat.h> rather than the underlying
1317 default_symbol_version and symbol_version macros, so that DEFAULT
1318 lines in shlib-versions are respected.
1319 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1321 2012-08-01 Florian Weimer <fweimer@redhat.com>
1323 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1324 Declare with warn_unused_result.
1325 (setgid, setregid, setegid, setresgid): Likewise.
1326 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1328 * WUR-REPORT: Remove set*id functions.
1330 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1332 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1334 2012-07-31 Roland McGrath <roland@hack.frob.com>
1336 * include/sys/socket.h (__libc_accept, __libc_accept4):
1337 Add attribute_hidden.
1338 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1340 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1342 * inet/getnetgrent_r.c (setup): Likewise.
1344 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1346 2012-07-31 David S. Miller <davem@davemloft.net>
1348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1350 2012-07-31 Joseph Myers <joseph@codesourcery.com>
1353 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1354 value between 1.0 and 2.0 and smaller part has absolute value less
1356 * math/s_clog10.c (__clog10): Likewise.
1357 * math/s_clog10f.c (__clog10f): Likewise.
1358 * math/s_clog10l.c (__clog10l): Likewise.
1359 * math/s_clogf.c (__clogf): Likewise.
1360 * math/s_clogl.c (__clogl): Likewise.
1361 * math/libm-test.inc (clog_test): Add more tests.
1362 (clog10_test): Likewise.
1363 * sysdeps/i386/fpu/libm-test-ulps: Update.
1364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1366 2012-07-31 Florian Weimer <fweimer@redhat.com>
1368 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1369 Exit with zero in case no suitable GID is found, and write a
1370 message to standard error.
1372 2012-07-30 Roland McGrath <roland@hack.frob.com>
1374 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1376 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1377 (MAXPATHLEN): Removed.
1378 (NOGROUP, NODEV): New macros.
1379 (setbit, clrbit, isset, isclr): New macros.
1380 (howmany, roundup, powerof2): New macros.
1381 (DEV_BSIZE): New macro.
1383 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1384 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1386 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1387 definition on [!__NO_LONG_DOUBLE_MATH].
1389 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1390 PTR_MANGLE and PTR_DEMANGLE.
1392 * socket/accept4.c (accept4): Rename to __libc_accept4.
1393 Define accept4 as a weak alias.
1395 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1396 on [_DIRENT_HAVE_D_TYPE].
1397 * io/ftw.c (ftw_dir): Likewise.
1399 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1401 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1403 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1404 Use the BSD numbers rather than the arbitrary ones we had.
1405 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1406 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1407 (SIGXCPU, SIGXFSZ): New macros.
1410 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1411 initializer on [_LIBC_REENTRANT].
1413 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1414 definitions inside [_POSIX_MAPPED_FILES].
1416 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1418 * dirent/opendir.c: Include <fcntl.h>.
1420 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1421 (__libc_getspecific): Likewise.
1422 (__libc_key_create): Likewise.
1424 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1425 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1426 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1427 (tmpfile64): Define as alias.
1428 * sysdeps/wordsize-64/tmpfile.c: File removed.
1429 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1430 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1431 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1433 * stdio-common/vfscanf.c: Include <stdbool.h>.
1434 * nss/makedb.c: Likewise.
1435 * stdio-common/_i18n_number.h: Likewise.
1436 * argp/argp-help.c: Likewise.
1437 * posix/wordexp.c: Likewise.
1438 * sysdeps/posix/spawni.c: Likewise.
1439 * nss/nss_files/files-initgroups.c: Likewise.
1440 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1441 * nss/nss_files/files-initgroups.c: Likewise.
1442 * nss/nss_db/db-netgrp.c: Likewise.
1443 * nss/nss_db/db-initgroups.c: Likewise.
1444 * io/fchmodat.c: Include <sys/stat.h>.
1446 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1447 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1449 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1452 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1453 Add multiple inclusion protection.
1455 2012-07-27 David S. Miller <davem@davemloft.net>
1457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1459 2012-07-27 Gary Benson <gbenson@redhat.com>
1462 * elf/rtld.c: Include <stap-probe.h>.
1463 (dl_main): Added static probes "init_start" and "init_complete".
1464 * elf/dl-load.c: Include <stap-probe.h>.
1465 (lose): Take new parameter "nsid".
1466 Added static probe "map_failed".
1467 (_dl_map_object_from_fd): Pass namespace id to lose.
1468 Added static probe "map_start".
1469 (open_verify): Pass namespace id to lose.
1470 * elf/dl-open.c: Include <stap-probe.h>.
1471 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1472 and "reloc_complete".
1473 * elf/dl-close.c: Include <stap-probe.h>.
1474 (_dl_close_worker): Added static probes "unmap_start" and
1476 * elf/rtld-debugger-interface.txt: New file documenting the above.
1478 2012-07-26 Roland McGrath <roland@hack.frob.com>
1480 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1481 rather than a string variable.
1482 * sunrpc/rpc_main.c (h_output): Likewise.
1483 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1485 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1487 * inet/check_native.c: New file.
1489 2012-07-26 Joseph Myers <joseph@codesourcery.com>
1492 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1493 if larger part has absolute value 1.0.
1494 * math/s_clog10.c (__clog10): Likewise.
1495 * math/s_clog10f.c (__clog10f): Likewise.
1496 * math/s_clog10l.c (__clog10l): Likewise.
1497 * math/s_clogf.c (__clogf): Likewise.
1498 * math/s_clogl.c (__clogl): Likewise.
1499 * math/libm-test.inc (clog_test): Add more tests.
1500 (clog10_test): Likewise.
1501 * sysdeps/i386/fpu/libm-test-ulps: Update.
1502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1504 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1505 (pltexit): Likewise.
1506 (La_regs): Likewise.
1507 (La_retval): Likewise.
1508 (int_retval): Likewise.
1509 Update #error for removed macros to refer only to definitions in
1511 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1513 (pltexit): Likewise.
1514 (La_regs): Likewise.
1515 (La_retval): Likewise.
1516 (int_retval): Likewise.
1517 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1519 (pltexit): Likewise.
1520 (La_regs): Likewise.
1521 (La_retval): Likewise.
1522 (int_retval): Likewise.
1523 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1525 (pltexit): Likewise.
1526 (La_regs): Likewise.
1527 (La_retval): Likewise.
1528 (int_retval): Likewise.
1529 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1531 (pltexit): Likewise.
1532 (La_regs): Likewise.
1533 (La_retval): Likewise.
1534 (int_retval): Likewise.
1535 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1537 (pltexit): Likewise.
1538 (La_regs): Likewise.
1539 (La_retval): Likewise.
1540 (int_retval): Likewise.
1541 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1543 (pltexit): Likewise.
1544 (La_regs): Likewise.
1545 (La_retval): Likewise.
1546 (int_retval): Likewise.
1547 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1548 macro definitions in tst-audit.h.
1549 * sysdeps/i386/tst-audit.h: New file.
1550 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1551 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1552 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1553 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1554 * sysdeps/sh/tst-audit.h: Likewise.
1555 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1556 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1557 * sysdeps/x86_64/tst-audit.h: Likewise.
1559 2012-07-26 Andreas Jaeger <aj@suse.de>
1561 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1564 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1565 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1566 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1568 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1569 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1570 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1572 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1575 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1577 (si_call_addr, si_syscall, si_arch): Define new macro.
1578 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1580 (si_call_addr, si_syscall, si_arch): Define new marcro.
1581 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1583 (si_call_addr, si_syscall, si_arch): Define new macro.
1584 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1586 (si_call_addr, si_syscall, si_arch): Define new macro.
1588 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1591 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1592 Change to 2.4.21 where previously 2.4.1.
1593 * sysdeps/unix/sysv/linux/configure: Regenerated.
1594 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1595 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1596 Linux kernel version.
1597 (__ASSUME_STD_AUXV): Remove.
1598 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1600 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1601 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1602 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1603 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1604 (__ASSUME_NETLINK_SUPPORT): Likewise.
1605 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1606 (__no_netlink_support): Remove conditional definition.
1607 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1609 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1610 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1611 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1612 (if_nameindex_ioctl): Remove.
1613 (if_nameindex_netlink): Do not handle __no_netlink_support.
1614 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1616 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1617 Remove conditional code.
1618 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1620 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1622 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1623 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1624 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1626 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1627 [!__ASSUME_STD_AUXV]: Remove conditional code.
1628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1629 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1630 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1632 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1633 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1635 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1637 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1638 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1640 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1642 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1645 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1648 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1650 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1652 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1654 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1657 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1659 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1662 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1664 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1666 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1668 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1671 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1673 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1675 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1677 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1680 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1682 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1683 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1684 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1685 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1686 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1687 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1688 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1689 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1690 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1691 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1692 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1693 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1694 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1695 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1696 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1697 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1698 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1699 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1700 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1702 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1703 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1704 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1706 2012-07-25 Florian Weimer <fweimer@redhat.com>
1708 * Versions.def: Add GLIBC_2.17.
1709 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1710 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1711 Introduce __libc_secure_getenv.
1712 * stdlib/Versions (2.17): Add secure_getenv
1713 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1714 * stdlib/secure-getenv.c: Rename __secure_getenv to
1715 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1716 symbol __secure_getenv for GLIBC_2.0.
1717 * stdlib/tst-secure-getenv.c: New.
1718 * stdlib/Makefile (tests): Add testcase.
1719 * manual/startup.texi (Environment Access): Document
1721 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1722 __libc_secure_getenv.
1723 * inet/ruserpass.c (ruserpass): Likewise.
1724 * malloc/mtrace.c (mtrace): Likewise.
1725 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1726 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1727 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1728 * sysdeps/posix/tempname.c: Likewise. Evaluate
1730 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1731 __secure_getenv to __libc_secure_getenv.
1732 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1739 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1745 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1747 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1748 (struct La_i86_retval): Likewise.
1749 (struct La_x86_64_regs): Likewise.
1750 (struct La_x86_64_retval): Likewise.
1751 (struct La_x32_regs): Likewise.
1752 (struct La_x32_retval): Likewise.
1753 (struct La_ppc32_regs): Likewise.
1754 (struct La_ppc32_retval): Likewise.
1755 (struct La_ppc64_regs): Likewise.
1756 (struct La_ppc64_retval): Likewise.
1757 (struct La_sh_regs): Likewise.
1758 (struct La_sh_retval): Likewise.
1759 (struct La_s390_32_regs): Likewise.
1760 (struct La_s390_32_retval): Likewise.
1761 (struct La_s390_64_regs): Likewise.
1762 (struct La_s390_64_retval): Likewise.
1763 (struct La_sparc32_regs): Likewise.
1764 (struct La_sparc32_retval): Likewise.
1765 (struct La_sparc64_regs): Likewise.
1766 (struct La_sparc64_retval): Likewise.
1767 (struct audit_ifaces): Remove architecture-specific pltenter and
1769 * sysdeps/i386/ldsodefs.h: New file.
1770 * sysdeps/powerpc/ldsodefs.h: Likewise.
1771 * sysdeps/s390/ldsodefs.h: Likewise.
1772 * sysdeps/sh/ldsodefs.h: Likewise.
1773 * sysdeps/sparc/ldsodefs.h: Likewise.
1774 * sysdeps/x86_64/ldsodefs.h: Likewise.
1776 2012-07-25 Marek Polacek <polacek@redhat.com>
1779 * math/libm-test.inc (yn_test): Add another test.
1780 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1781 to ERANGE when the result is +-Inf.
1782 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1783 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1784 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1785 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1787 2012-07-24 Joseph Myers <joseph@codesourcery.com>
1789 * conform/data/time.h-data (NULL): Use macro-constant. Require
1791 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1793 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1795 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1797 * configure.in <sysdeps resolving>: Correct printing
1799 * configure: Regenerate.
1801 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1803 * math/w_ilogb.c: Include <limits.h>.
1804 * math/w_ilogbl.c: Likewise.
1806 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1808 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1809 va_copy. Document allowing for unavailable va_copy only as
1810 pre-C99 compatibility.
1811 * manual/string.texi (Copying and Concatenation): Use va_copy
1812 instead of __va_copy in concat example.
1814 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1816 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1817 (__sendto): Use create_address_port. Initialize APORT and deallocate
1820 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1821 with O_NOLINK passed to __file_name_lookup.
1823 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1824 with O_NOLINK passed to __file_name_lookup.
1826 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1827 negative N or less than NGIDS.
1829 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1830 type to string_t. Set ERANGE as errno and return it if NAME is not big
1831 enough. Use memcpy instead of strncpy.
1833 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1835 * elf/Makefile (check-data): Remove.
1836 (localplt.data): New vpath directive.
1837 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1838 instead of $(check-data).
1839 * scripts/data/localplt-generic.data: Move to ...
1840 * sysdeps/generic/localplt.data: ... here.
1841 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1842 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1843 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1846 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1849 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1852 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1855 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1858 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1862 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1864 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1865 PPC32 and PPC64 files.
1866 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1867 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1869 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1871 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1872 __makecontext_ret to ...
1873 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1874 ... here and call exit if uc_link is NULL. New file.
1875 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1876 __makecontext_ret.S.
1877 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1878 __makecontext_ret to ...
1879 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1880 ... here and call exit if uc_link is NULL. New file.
1881 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1882 __makecontext_ret.S.
1884 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1886 * elf/elf.h (R_390_IRELATIVE): New definition.
1887 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1888 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1889 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1890 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1891 (elf_machine_lazy_rel): Likewise.
1892 * sysdeps/s390/dl-irel.h: New file.
1893 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1894 * sysdeps/s390/s390-64/memset.S: New asm code.
1895 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1896 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1897 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1898 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1899 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1900 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1901 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1902 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1903 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1904 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1905 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1906 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1907 * sysdeps/s390/s390-32/memset.S: New asm code.
1908 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1910 2012-07-17 Marek Polacek <polacek@redhat.com>
1913 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1914 * sysdeps/s390/s390-64/configure.in: Likewise.
1915 * sysdeps/sparc/configure.in: Likewise.
1916 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1917 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1918 * sysdeps/i386/configure.in: Likewise.
1919 * sysdeps/x86_64/configure.in: Likewise.
1920 * sysdeps/sh/configure.in: Likewise.
1921 * sysdeps/s390/s390-32/configure: Regenerated.
1922 * sysdeps/s390/s390-64/configure: Likewise.
1923 * sysdeps/x86_64/configure: Likewise.
1924 * sysdeps/sh/configure: Likewise.
1925 * sysdeps/powerpc/powerpc64/configure: Likewise.
1926 * sysdeps/powerpc/powerpc32/configure: Likewise.
1927 * sysdeps/sparc/configure: Likwise.
1928 * sysdeps/i386/configure: Likewise.
1930 * elf/dl-open.c: Comment fixes.
1932 2012-07-17 Joseph Myers <joseph@codesourcery.com>
1934 * Makefile [CXX] (check-data): Remove.
1935 [CXX] (c++-types.data): New vpath directive.
1936 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1937 vpath. Do not allow for C++ type data being missing.
1938 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1939 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1940 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1941 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1942 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1943 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1944 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1947 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1950 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1953 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1956 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1959 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1962 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1965 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1968 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1969 definitions to architecture-specific files.
1973 * sysdeps/i386/tls-macros.h: New file.
1974 * sysdeps/powerpc/tls-macros.h: Likewise.
1975 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1976 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1977 * sysdeps/sh/tls-macros.h: Likewise.
1978 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1979 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1980 * sysdeps/x86_64/tls-macros.h: Likewise.
1982 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1984 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1985 zero value for regular exit case.
1987 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1988 (__start_context): Preserve zero value for regular exit case.
1990 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1991 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1993 * manual/setjmp.texi (setcontext): Clarify normal process
1994 termination when uc_link is the null pointer.
1995 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1998 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2000 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2001 preprocessor. Test for each exception mask separately.
2003 2012-07-16 Andreas Jaeger <aj@suse.de>
2005 * po/ru.po: Update from translation team.
2007 2012-07-15 Joseph Myers <joseph@codesourcery.com>
2009 * conform/data/string.h-data (NULL): Use macro-constant. Require
2011 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2012 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2013 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2014 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2015 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2017 2012-07-13 Andreas Jaeger <aj@suse.de>
2019 * po/fr.po: Update from translation team.
2021 2012-07-12 Marek Polacek <polacek@redhat.com>
2024 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2025 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2028 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2031 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2032 Change to 2.4.1 where previously 2.4.0.
2033 * sysdeps/unix/sysv/linux/configure: Regenerated.
2034 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2035 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2037 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2038 (__ASSUME_AT_CLKTCK): Remove.
2039 (__ASSUME_AT_PAGESIZE): Likewise.
2040 (__ASSUME_AT_XID): Likewise.
2041 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2042 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2043 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2045 (HAVE_AUX_PAGESIZE): Likewise.
2046 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2047 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2048 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2050 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2054 the temporary buffer used to invoke __gethostbyname2_r,
2055 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2056 host_data / struct gaih_addrtuple.
2057 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2058 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2059 header file nss/nsswitch.h.
2060 * nss/nsswitch.h (global scope): Add definition of implementation
2061 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2062 resolv/nss_dns/dns-host.c).
2064 2012-07-11 Andreas Jaeger <aj@suse.de>
2066 * po/fr.po: Update from translation team.
2068 * po/sv.po: Update from translation team
2069 * po/fr.po: Another update from translation team.
2071 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2073 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2074 for subnormals or multiply small sinh result by itself.
2075 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2078 2012-07-11 David S. Miller <davem@davemloft.net>
2080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2082 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2085 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2086 (INTERNAL_MARK): Shift it here.
2088 2012-07-10 Marek Polacek <polacek@redhat.com>
2091 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2092 libc_cv_asm_global_directive with .globl.
2093 * configure: Regenerated.
2094 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2096 * sysdeps/i386/configure: Regenerated.
2097 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2099 * sysdeps/x86_64/configure: Regenerated.
2100 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2101 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2102 * elf/tst-unique2mod2.c: Likewise.
2103 * elf/tst-unique2mod1.c: Likewise.
2104 * elf/tst-unique1mod2.c: Likewise.
2105 * elf/tst-unique1mod1.c: Likewise.
2106 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2107 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2108 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2109 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2110 * sysdeps/mach/sysdep.h: Likewise.
2111 * sysdeps/i386/sysdep.h: Likewise.
2112 * sysdeps/i386/i386-mcount.S: Likewise.
2113 * sysdeps/x86_64/_mcount.S: Likewise.
2114 * sysdeps/x86_64/sysdep.h: Likewise.
2115 * sysdeps/sh/_mcount.S: Likewise.
2116 * sysdeps/sh/sysdep.h: Likewise.
2117 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2118 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2119 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2120 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2121 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2122 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2123 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2124 * locale/localeinfo.h: Likewise.
2125 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2126 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2128 2012-07-09 Roland McGrath <roland@hack.frob.com>
2131 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2133 * manual/message.texi (The Uniforum approach): Likewise.
2134 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2135 (glibc iconv Implementation): Likewise.
2137 2012-07-09 Joseph Myers <joseph@codesourcery.com>
2140 * math/s_clog.c (__clog): Avoid scaling a value down where that
2141 could result in underflow.
2142 * math/s_clog10.c (__clog10): Likewise.
2143 * math/s_clog10f.c (__clog10f): Likewise.
2144 * math/s_clog10l.c (__clog10l): Likewise.
2145 * math/s_clogf.c (__clogf): Likewise.
2146 * math/s_clogl.c (__clogl): Likewise.
2147 * math/libm-test.inc (clog_test): Add more tests.
2148 (clog10_test): Likewise.
2149 * sysdeps/i386/fpu/libm-test-ulps: Update.
2150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2152 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2155 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2156 by 7 not 8 to examine high bit of fractional part.
2159 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2160 for call to __mcount_internal.
2161 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2162 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2163 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2165 2012-07-06 Joseph Myers <joseph@codesourcery.com>
2168 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2169 approximation for values within 0x1p-13f of an odd multiple of
2171 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2172 exception. Add more tests.
2173 * sysdeps/i386/fpu/libm-test-ulps: Update.
2176 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2177 inputs and return -1 for them. Do not check for +Inf in case not
2179 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2180 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2181 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2182 and return -1 for them. Do not check for +Inf in case not
2184 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2186 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2187 and return -1 for them. Do not check for +Inf in case not
2189 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2191 * sysdeps/i386/fpu/libm-test-ulps: Update.
2192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2194 2012-07-06 Mike Frysinger <vapier@gentoo.org>
2196 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2198 2012-07-05 Joseph Myers <joseph@codesourcery.com>
2202 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2203 could result in spurious underflow. Scale down values above
2204 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2205 * math/s_csqrtf.c (__csqrtf): Likewise.
2206 * math/s_csqrtl.c (__csqrtl): Likewise.
2207 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2209 * sysdeps/i386/fpu/libm-test-ulps: Update.
2210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2212 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2214 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2216 * catgets/xopen-msg.awk: New file.
2217 * catgets/xopen-msg.sed: Removed.
2219 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2221 * intl/po2test.awk: New file.
2222 * intl/po2test.sed: Removed.
2224 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2227 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2228 or multiply small sinh result by itself.
2229 * math/s_ctanf.c (__ctanf): Likewise.
2230 * math/s_ctanh.c (__ctanh): Likewise.
2231 * math/s_ctanhf.c (__ctanhf): Likewise.
2232 * math/s_ctanhl.c (__ctanhl): Likewise.
2233 * math/s_ctanl.c (__ctanl): Likewise.
2234 * math/libm-test.inc (ctan_test_tonearest): New function.
2235 (ctan_test_towardzero): Likewise.
2236 (ctan_test_downward): Likewise.
2237 (ctan_test_upward): Likewise.
2238 (ctanh_test_tonearest): Likewise.
2239 (ctanh_test_towardzero): Likewise.
2240 (ctanh_test_downward): Likewise.
2241 (ctanh_test_upward): Likewise.
2242 (main): Call these new functions.
2243 * sysdeps/i386/fpu/libm-test-ulps: Update.
2244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2246 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2248 * .gitignore: Delete /ports entry.
2250 2012-07-03 Andreas Jaeger <aj@suse.de>
2252 * po/bg.po: Update from translation team.
2253 * po/cs.po: Likewise.
2254 * po/de.po: Likewise.
2255 * po/hr.po: Likewise.
2256 * po/nl.pl: Likewise.
2257 * po/pl.po: Likewise.
2258 * po/vi.po: Likewise.
2260 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2262 * Makeconfig [!+link] (+link-before-libc): New variable.
2263 [!+link] (+link-after-libc): Likewise.
2264 [!+link] (+link-tests): Likewise.
2265 [!+link] (+link): Define in terms of $(+link-before-libc) and
2266 $(+link-after-libc).
2267 [!+link-static] (+link-static-before-libc): New variable.
2268 [!+link-static] (+link-static-after-libc): Likewise.
2269 [!+link-static] (+link-static-tests): Likewise.
2270 [!+link-static] (+link-static): Define in terms of
2271 $(+link-static-before-libc) and $(+link-static-after-libc).
2272 [build-shared] (link-libc-before-gnulib): New variable.
2273 [build-shared] (link-libc-tests): Likewise.
2274 [build-shared] (link-libc): Define in terms of
2275 $(link-libc-before-gnulib).
2276 [!build-shared] (link-libc-tests): New variable.
2277 (link-libc-static-tests): New variable.
2278 [!gnulib] (gnulib-arch): New variable.
2279 [!gnulib] (gnulib-tests): Likewise.
2280 [!gnulib] (static-gnulib-arch): Likewise.
2281 [!gnulib] (static-gnulib-tests): Likewise.
2282 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2283 Define with "=" instead of ":=".
2284 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2285 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2286 * Rules (binaries-all-notests): New variable.
2287 (binaries-all-tests): Likewise.
2288 (binaries-static-notests): Likewise.
2289 (binaries-static-tests): Likewise.
2290 (binaries-all): Define using $(binaries-all-notests) and
2291 $(binaries-all-tests).
2292 (binaries-static): Define using $(binaries-static-notests) and
2293 $(binaries-static-tests).
2294 (binaries-shared-tests): New variable.
2295 (binaries-shared-notests): Likewise.
2296 (binaries-shared): Remove variable.
2297 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2298 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2299 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2300 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2301 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2302 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2303 * elf/Makefile (sln-modules): New variable.
2304 (extra-objs): Add $(sln-modules:=.o).
2305 (ldconfig-modules): Add static-stubs.
2306 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2307 * elf/static-stubs.c: New file.
2310 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2311 by 7 not 8 to examine high bit of fractional part. Use volatile
2312 variables when splitting into final array of floats if
2313 __FLT_EVAL_METHOD__ != 0.
2314 * math/libm-test.inc (cos_test): Add another test.
2315 (sin_test): Likewise.
2316 * sysdeps/i386/fpu/libm-test-ulps: Update.
2319 * math/libm-test.inc (cosh_test): Add more tests.
2321 * version.h (RELEASE): Set to "development".
2322 (VERSION): Set to "2.16.90".
2324 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2326 * NEWS: Update copyright. Remove last-updated date.
2327 Mention math library bug fixes and timezone data changes.
2328 * README: Mention GNU/Hurd, x32, and HPPA support status.
2330 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2332 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2334 2012-06-27 Andreas Jaeger <aj@suse.de>
2336 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2338 2012-06-25 Andreas Jaeger <aj@suse.de>
2340 * sysdeps/s390/fpu/libm-test-ulps: Update.
2342 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2343 Thomas Schwinge <thomas@codesourcery.com>
2345 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2346 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2347 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2350 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2352 * sysdeps/mach/start.c: Remove file.
2353 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2354 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2355 * sysdeps/sh/init-first.c: Likewise.
2357 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2358 registers for frame unwinding purposes, add CFI directives.
2359 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2360 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2361 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2364 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2365 __fortify_fail returning.
2366 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2368 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2369 sysdeps/sh/____longjmp_chk.S.
2370 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2371 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2372 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2373 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2375 * sysdeps/sh/abort-instr.h: New file.
2376 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2377 process in case exit returns.
2379 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2380 initialize the GOT register before use.
2382 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2383 calculation of ARGC > 4.
2385 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2386 meaningful names to some local labels.
2388 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2389 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2391 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2392 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2393 (__arch_compare_and_exchange_val_16_acq): Likewise.
2394 (__arch_compare_and_exchange_val_32_acq): Likewise.
2395 (atomic_exchange_and_add): Fix gUSA sequence.
2396 (atomic_add): Likewise.
2397 (atomic_add_negative): Likewise.
2398 (atomic_add_zero): Likewise.
2399 (atomic_bit_test_set): Likewise.
2401 2012-06-22 Andreas Schwab <schwab@redhat.com>
2404 * include/link.h (struct link_map): Add l_free_initfini.
2405 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2407 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2408 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2409 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2412 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2414 * configure.in: Use AC_LANG_SOURCE.
2415 * configure: Regenerate.
2417 2012-06-22 Roland McGrath <roland@hack.frob.com>
2419 * configure.in (libc_cv_localstatedir): New substituted variable.
2420 * configure: Regenerated.
2421 * config.make.in (localstatedir): New variable, substituted from
2422 libc_cv_localstatedir.
2423 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2424 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2425 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2426 * sysdeps/gnu/configure: Regenerated.
2428 2012-06-21 Jeff Law <law@redhat.com>
2431 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2432 free. Simplify list management for _LIBC case.
2434 2012-06-21 Joseph Myers <joseph@codesourcery.com>
2437 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2438 Clear sign bit of 64-bit integer value before comparing against
2441 * sysdeps/mach/configure: Regenerated.
2443 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2446 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2448 2012-06-21 Jeff Law <law@redhat.com>
2451 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2452 uint16_t for elements in the "seen" array to avoid char overflows.
2453 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2454 * elf/dl-open.c (dl_open_worker): Likewise.
2456 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2458 * scripts/list-sources.sh: Scan PORTS for translations.
2459 * po/libc.pot: Regenerated.
2461 2012-06-21 Andreas Jaeger <aj@suse.de>
2464 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2466 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2467 * bits/byteswap-16.h (__bswap_16): Likewise.
2468 * bits/byteswap.h (__bswap_constant_16): Likewise.
2470 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2473 * sysdeps/i386/fpu_control.h: Removed.
2474 * sysdeps/x86_64/fpu_control.h: Moved to ...
2475 * sysdeps/x86/fpu_control.h: Here.
2477 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2478 (_FPU_SETCW): Likewise.
2480 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2483 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2484 * sysdeps/x86/fpu/bits/mathinline.h: This.
2485 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2489 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2490 functions if __x86_64__ is defined.
2492 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2494 * string/endian.h: Add !__ASSEMBLER__ condition for including
2495 conversion interfaces.
2497 2012-06-15 Joseph Myers <joseph@codesourcery.com>
2500 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2501 of ABS(x) in calculating zero to negative powers other than odd
2503 * math/libm-test.inc (pow_test): Add more tests.
2505 2012-06-15 Andreas Jaeger <aj@suse.de>
2507 * manual/contrib.texi (Contributors): Update entry of Liubov
2508 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2511 2012-06-15 Cyril Hrubis <metan@ucw.cz>
2513 * string/string.h: Add __wur to GNU version of strerror_r.
2515 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2518 * string/Makefile (tests): Add tst-strtok_r.
2519 * string/tst-strtok_r.c: New file.
2520 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2521 RAX_LP/RDX_LP on SAVE_PTR.
2523 2012-06-14 Roland McGrath <roland@hack.frob.com>
2525 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2527 2012-06-14 Joseph Myers <joseph@codesourcery.com>
2529 * libm_test.inc (csqrt_test): Allow more spurious underflow
2531 (j0_test): Likewise.
2532 (j1_test): Likewise.
2533 (y0_test): Likewise.
2534 (y1_test): Likewise.
2536 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2538 * po/Makefile (libc.pot): Use UTF-8 charset.
2540 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2543 Suppress sign-conversion warning from FD_SET.
2544 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2545 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2546 not unsigned long int.
2547 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2549 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2553 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2554 __extern_always_inline instead of __extern_inline.
2555 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2556 (__signbit): Likewise.
2557 (__signbitl): Support C++ namespace.
2558 (lrintf): New inline function.
2560 (llrintf): Likewise.
2572 (nearbyint): Likewise.
2573 (nearbyintf): Likewise.
2575 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2577 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2578 non-default versions.
2580 2012-06-11 Roland McGrath <roland@hack.frob.com>
2583 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2585 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2587 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2588 (FE_UPWARD, FE_DOWNWARD): Don't define.
2589 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2590 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2592 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2594 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2595 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2597 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2599 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2600 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2601 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2602 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2604 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2607 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2608 * sysdeps/i386/fpu/Implies: New file.
2609 * sysdeps/x86_64/fpu/Implies: Likewise.
2610 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2611 * sysdeps/x86/fpu/bits/fenv.h: This.
2613 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2616 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2619 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2620 character 0xffff that matches the last element of the
2623 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2625 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2628 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2630 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2631 values higher than 25.6283.
2633 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2635 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2636 subnormal exponent extraction and add some __builtin_expect.
2637 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2638 Fix for subnormal mantissa calculation.
2640 2012-06-04 Mike Frysinger <vapier@gentoo.org>
2642 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2643 cpu2 is -1 and errno is not ENOSYS.
2645 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2648 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2649 * sysdeps/x86/bits/string.h: This.
2650 * sysdeps/x86_64/bits/string.h: Removed.
2652 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2653 if not compiling for x86-64, but compiling for >= i486.
2655 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2656 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2658 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2659 New macro from Linux kernel 3.4.0.
2660 (FP_XSTATE_MAGIC2): Likewise.
2661 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2662 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2663 (struct _fpx_sw_bytes): New struct.
2664 (struct _xsave_hdr): Likewise.
2665 (struct _ymmh_state): Likewise.
2666 (struct _xstate): Likewise.
2668 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2669 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2670 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2671 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2672 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2673 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2675 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2676 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2677 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2678 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2679 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2680 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2682 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2685 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2686 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2687 (sysdep_headers): Include sys/platform/ppc.h.
2688 * sysdeps/powerpc/test-gettimebase.c: Test for
2689 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2690 * manual/Makefile (appendices): Include platform.texi.
2691 * manual/contrib.texi (Contributors): Update @node pointers.
2692 * manual/maint.texi (Maintenance): Likewise.
2693 (Platform): New node.
2694 * manual/platform.texi: New file. Document the new features.
2696 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2697 Jakub Jelinek <jakub@redhat.com>
2700 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2701 where __builtin_expect is unavailable.
2703 2012-06-03 David S. Miller <davem@davemloft.net>
2705 * stdlib/longlong.h: Updated from GCC.
2707 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2710 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2711 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2714 (GLIBC_2.16): Likewise.
2716 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2718 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2720 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2723 (default-abi): New variable.
2724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2725 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2727 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2729 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2731 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2734 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2735 definition. Document in comment.
2737 2012-06-01 David S. Miller <davem@davemloft.net>
2739 * stdlib/longlong.h: Updated from GCC.
2741 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2744 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2745 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2746 sys/debugreg.h sys/io.h here.
2747 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2748 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2750 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2751 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2752 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2753 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2754 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2755 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2757 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2758 Define only if __x86_64__ is defined.
2760 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2763 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2764 Use int64_t for variable i.
2765 * math/libm-test.inc (fmod_test): Add more tests.
2767 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2768 z computation is not scheduled after fetestexcept.
2769 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2770 Use math_force_eval instead of asm to ensure calculation scheduled
2771 before exception test.
2772 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2773 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2775 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2777 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2778 computation is not scheduled after fetestexcept.
2780 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2783 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2784 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2786 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2788 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2789 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2791 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2794 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2796 (__WCHAR_MIN): Support __WORDSIZE == 64.
2797 (__WCHAR_MAX): Likewise.
2799 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2800 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2803 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2804 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2807 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2808 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2810 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2811 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2813 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2814 Defined to 1 if __x86_64__ isn't defined.
2815 (_STAT_VER_LINUX_OLD): New.
2816 (st_atime): Remove duplicate.
2817 (st_mtime): Likewise.
2818 (st_ctime): Likewise.
2820 2012-05-31 David S. Miller <davem@davemloft.net>
2822 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2825 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2827 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2831 * elf/dl-reloc.c: Include <_itoa.h>.
2832 (_dl_reloc_bad_type): Remove use of INTUSE.
2833 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2834 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2835 * stdio-common/psiginfo.c (psiginfo): Likewise.
2836 * stdio-common/psignal.c (psignal): Likewise.
2837 * string/strsignal.c (strsignal): Likewise.
2838 * include/signal.h (_sys_siglist): Declare hidden proto.
2839 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2840 INTVARDEF with libc_hidden_data_def.
2841 * stdio-common/itoa-udigits.c: Likewise.
2842 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2843 (_itoa_lower_digits_internal): Remove declaration.
2844 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2845 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2846 (_sys_sigabbrev_internal): Remove aliases.
2847 (_sys_siglist): Define hidden alias.
2849 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2851 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2854 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2857 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2858 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2860 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2861 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2862 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2863 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2864 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2865 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2867 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2868 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2869 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2871 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2879 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2880 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2881 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2883 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2884 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2885 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2886 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2887 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2888 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2890 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2891 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2893 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2894 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2896 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2897 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2898 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2900 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2901 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2903 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2905 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2906 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2907 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2909 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2911 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2913 2012-05-31 Joseph Myers <joseph@codesourcery.com>
2915 * math/math.h (M_El): Use two more decimal places.
2916 (M_LOG2El): Likewise.
2917 (M_LOG10El): Likewise.
2919 (M_LN10l): Likewise.
2921 (M_PI_2l): Likewise.
2922 (M_PI_4l): Likewise.
2923 (M_1_PIl): Likewise.
2924 (M_2_PIl): Likewise.
2925 (M_2_SQRTPIl): Likewise.
2926 (M_SQRT2l): Likewise.
2927 (M_SQRT1_2l): Likewise.
2929 2012-05-31 David S. Miller <davem@davemloft.net>
2931 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2932 values between float registers.
2933 * sysdeps/sparc/sparc64/memset.S: Likewise.
2934 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2936 2012-05-31 Mike Frysinger <vapier@gentoo.org>
2938 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2939 -D_FORTIFY_SOURCE=1.
2940 (CPPFLAGS-tst-longjmp_chk.c): Define.
2941 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2942 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2943 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2944 CFLAGS-tst-wchar-h.c.
2946 2012-05-31 Marek Polacek <polacek@redhat.com>
2949 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2950 __endmntent_internal): Remove declaration.
2951 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2952 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2953 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2955 2012-05-30 David S. Miller <davem@davemloft.net>
2957 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2958 (___Q_simulate_exceptions): Use real FP ops rather than writing
2960 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2963 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2966 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2967 * sysdeps/x86/bits/xtitypes.h: This.
2969 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2970 * sysdeps/x86/bits/wordsize.h: This.
2972 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2973 * sysdeps/x86/bits/huge_vall.h: This.
2975 * sysdeps/i386/bits/select.h: Removed.
2976 * sysdeps/x86_64/bits/select.h: Renamed to ...
2977 * sysdeps/x86/bits/select.h: This.
2979 * sysdeps/i386/bits/setjmp.h: Removed.
2980 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2981 * sysdeps/x86/bits/setjmp.h: This.
2983 * sysdeps/i386/bits/mathdef.h: Removed.
2984 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2985 * sysdeps/x86/bits/mathdef.h: This.
2987 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2990 * include/sys/socket.h (__connect_internal)
2991 (__libc_sa_len_internal): Remove declaration.
2992 (__connect, __libc_sa_len): Declare hidden_proto.
2993 (SA_LEN): Remove use of INTUSE.
2994 * socket/connect.c: Add libc_hidden_def.
2995 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2996 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2997 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2999 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3000 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3001 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3002 of adding _internal alias.
3004 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3007 * sysdeps/i386/bits/link.h: Removed.
3008 * sysdeps/i386/bits/linkmap.h: Likewise.
3009 * sysdeps/x86_64/bits/link.h: Renamed to ...
3010 * sysdeps/x86/bits/link.h: This.
3011 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3012 * sysdeps/x86/bits/linkmap.h: This.
3014 * sysdeps/i386/bits/endian.h: Removed.
3015 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3016 * sysdeps/x86/bits/endian.h: This.
3018 * sysdeps/i386/bits/byteswap.h: Removed.
3019 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3020 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3021 * sysdeps/x86/bits/byteswap.h: This.
3022 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3023 * sysdeps/x86/bits/byteswap-16.h: This.
3024 * sysdeps/i386/Implies: Add x86.
3025 * sysdeps/x86_64/Implies: Likewise.
3027 2012-05-30 David S. Miller <davem@davemloft.net>
3029 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3030 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3031 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3032 (FP_TRAPPING_EXCEPTIONS): Define.
3033 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3034 (FP_TRAPPING_EXCEPTIONS): Define.
3035 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3036 subnormals only when inexact has been signalled or underflow
3037 exceptions are enabled.
3038 (_FP_PACK_CANONICAL): Likewise.
3040 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3043 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3044 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3046 2012-05-30 Richard Henderson <rth@twiddle.net>
3048 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3049 with #ifndef NOT_IN_libc.
3051 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3052 marked to avoid plt entry.
3054 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3057 * Makeconfig (default-abi): New macro.
3058 (abi-includes): Likewise.
3059 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3060 $(abi-$(default-abi)-lib-soname) for soname if defined.
3061 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3063 * Makefile (installed-stubs): Likewise.
3064 * include/stubs-biarch.h: Removed.
3065 * scripts/lib-names.awk: Only handle one library at a time.
3066 * scripts/soversions.awk: Remove WORDSIZE support.
3067 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3069 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3071 (syscall-list-default-condition): Likewise.
3072 (syscall-list-default-condition): Likewise.
3073 (syscall-list-includes): Likewise.
3074 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3075 syscall-list-* with abi-*. Handle undefined abi-variants.
3076 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3077 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3078 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3079 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3080 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3081 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3083 (syscall-list-32-options): Likewise.
3084 (syscall-list-32-condition): Likewise.
3085 (syscall-list-64-options): Likewise.
3086 (syscall-list-64-condition): Likewise.
3087 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3089 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3092 (abi-64-ld-soname): New macro.
3093 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3094 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3097 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3098 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3100 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3102 * sysdeps/unix/sysv/linux/kernel-features.h
3103 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3104 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3105 include <kernel-features.h>.
3106 [!__NR_ftruncate64]: Remove conditional code.
3107 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3108 [__NR_ftruncate64]: Make code unconditional.
3109 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3110 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3111 include <kernel-features.h>.
3112 [!__NR_ftruncate64]: Remove conditional code.
3113 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3114 [__NR_ftruncate64]: Make code unconditional.
3115 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3117 include <kernel-features.h>.
3118 [!__NR_ftruncate64]: Remove conditional code.
3119 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3120 [__NR_ftruncate64]: Make code unconditional.
3121 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3123 include <kernel-features.h>.
3124 [!__NR_ftruncate64]: Remove conditional code.
3125 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3126 [__NR_ftruncate64]: Make code unconditional.
3127 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3129 * configure.in (libc_cv_fpie): Weaken to a compile test using
3131 * configure: Regenerated.
3133 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3148 2012-05-27 David S. Miller <davem@davemloft.net>
3150 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3152 (__Q_simulate_exceptions): Return void. Change to simulate
3153 exceptions by writing into the %fsr.
3154 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3155 (__Qp_handle_exceptions): Likewise.
3157 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3158 __Qp_handle_exceptions.
3159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3160 __Qp_handle_exceptions.
3161 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3162 as unused and give dummy FP_RND_NEAREST initializer.
3163 (FP_INHIBIT_RESULTS): Define.
3164 (___Q_simulate_exceptions): Update declaration.
3165 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3167 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3168 as unused and give dummy FP_RND_NEAREST initializer.
3169 (__Qp_handle_exceptions): Update declaration.
3170 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3173 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3175 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3176 the temporary FPU control word.
3177 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3178 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3179 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3180 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3181 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3182 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3183 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3184 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3185 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3186 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3187 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3189 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3191 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3194 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3196 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3197 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3198 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3199 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3201 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3202 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3205 2012-05-27 Ulrich Drepper <drepper@gmail.com>
3207 * po/h.po: Update from translation team.
3209 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3211 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3213 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3214 handling of denormals.
3215 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3216 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3217 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3218 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3219 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3220 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3221 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3224 2012-05-26 Marek Polacek <polacek@redhat.com>
3227 * math/libm-test.inc (fma_test): Don't always expect underflow
3230 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3233 * elf/tst-execstack.c: Include stackinfo.h.
3234 (do_test): Adjust test case to ensure that pthread_getattr_np
3235 behaviour remains the same after marking stack executable.
3237 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3239 * sysdeps/unix/sysv/linux/kernel-features.h
3240 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3241 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3243 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3244 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3245 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3247 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3248 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3250 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3252 * configure.in: Define the default includes to being none.
3253 * configure: Regenerated.
3255 2012-05-25 Roland McGrath <roland@hack.frob.com>
3257 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3258 * sysdeps/x86_64/setjmp.S: Likewise.
3259 * sysdeps/i386/bsd-setjmp.S: Likewise.
3260 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3261 * sysdeps/i386/setjmp.S: Likewise.
3262 * sysdeps/i386/__longjmp.S: Likewise.
3263 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3264 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3266 * include/stap-probe.h: New file.
3267 * configure.in: Handle --enable-systemtap.
3268 * configure: Regenerated.
3269 * config.h.in (USE_STAP_PROBE): New #undef.
3270 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3271 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3272 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3274 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3277 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3278 to 2.4.0 where earlier.
3279 * sysdeps/unix/sysv/linux/configure: Regenerated.
3280 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3281 <kernel-features.h>.
3282 [__ASSUME_32BITUIDS]: Make code unconditional.
3283 [!__ASSUME_32BITUIDS]: Remove conditional code.
3284 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3285 <kernel-features.h>.
3286 [__ASSUME_32BITUIDS]: Make code unconditional.
3287 [!__ASSUME_32BITUIDS]: Remove conditional code.
3288 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3289 [__ASSUME_32BITUIDS]: Make code unconditional.
3290 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3291 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3292 <kernel-features.h>.
3293 [__ASSUME_32BITUIDS]: Make code unconditional.
3294 [!__ASSUME_32BITUIDS]: Remove conditional code.
3295 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3296 <kernel-features.h>.
3297 [__ASSUME_32BITUIDS]: Make code unconditional.
3298 [!__ASSUME_32BITUIDS]: Remove conditional code.
3299 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3300 <kernel-features.h>.
3301 [__ASSUME_32BITUIDS]: Make code unconditional.
3302 [!__ASSUME_32BITUIDS]: Remove conditional code.
3303 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3304 <kernel-features.h>.
3305 [__ASSUME_32BITUIDS]: Make code unconditional.
3306 [!__ASSUME_32BITUIDS]: Remove conditional code.
3307 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3308 <kernel-features.h>.
3309 [__ASSUME_32BITUIDS]: Make code unconditional.
3310 [!__ASSUME_32BITUIDS]: Remove conditional code.
3311 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3312 <kernel-features.h>.
3313 [__ASSUME_32BITUIDS]: Make code unconditional.
3314 [!__ASSUME_32BITUIDS]: Remove conditional code.
3315 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3316 <kernel-features.h>.
3317 [__ASSUME_32BITUIDS]: Make code unconditional.
3318 [!__ASSUME_32BITUIDS]: Remove conditional code.
3319 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3320 <kernel-features.h>.
3321 [__ASSUME_32BITUIDS]: Make code unconditional.
3322 [!__ASSUME_32BITUIDS]: Remove conditional code.
3323 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3324 <kernel-features.h>.
3325 [__ASSUME_32BITUIDS]: Make code unconditional.
3326 [!__ASSUME_32BITUIDS]: Remove conditional code.
3327 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3328 <kernel-features.h>.
3329 [__ASSUME_32BITUIDS]: Make code unconditional.
3330 [!__ASSUME_32BITUIDS]: Remove conditional code.
3331 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3332 <kernel-features.h>.
3333 [__NR_setresgid] (__setresgid): Do not declare.
3334 [__ASSUME_32BITUIDS]: Make code unconditional.
3335 [!__ASSUME_32BITUIDS]: Remove conditional code.
3336 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3337 <kernel-features.h>.
3338 [__NR_setresuid] (__setresuid): Do not declare.
3339 [__ASSUME_32BITUIDS]: Make code unconditional.
3340 [!__ASSUME_32BITUIDS]: Remove conditional code.
3341 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3342 <kernel-features.h>.
3343 [__ASSUME_32BITUIDS]: Make code unconditional.
3344 [!__ASSUME_32BITUIDS]: Remove conditional code.
3345 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3346 <kernel-features.h>.
3347 [__ASSUME_32BITUIDS]: Make code unconditional.
3348 [!__ASSUME_32BITUIDS]: Remove conditional code.
3349 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3350 <kernel-features.h>.
3351 [__ASSUME_32BITUIDS]: Make code unconditional.
3352 [!__ASSUME_32BITUIDS]: Remove conditional code.
3353 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3354 <kernel-features.h>.
3355 [__ASSUME_32BITUIDS]: Make code unconditional.
3356 [!__ASSUME_32BITUIDS]: Remove conditional code.
3357 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3358 <kernel-features.h>.
3359 [__ASSUME_32BITUIDS]: Make code unconditional.
3360 [!__ASSUME_32BITUIDS]: Remove conditional code.
3361 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3362 <kernel-features.h>.
3363 [__ASSUME_32BITUIDS]: Make code unconditional.
3364 [!__ASSUME_32BITUIDS]: Remove conditional code.
3365 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3366 <kernel-features.h>.
3367 [__ASSUME_32BITUIDS]: Make code unconditional.
3368 [!__ASSUME_32BITUIDS]: Remove conditional code.
3369 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3370 <kernel-features.h>.
3371 [__ASSUME_32BITUIDS]: Make code unconditional.
3372 [!__ASSUME_32BITUIDS]: Remove conditional code.
3373 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3374 <kernel-features.h>.
3375 [__ASSUME_32BITUIDS]: Make code unconditional.
3376 [!__ASSUME_32BITUIDS]: Remove conditional code.
3377 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3378 <kernel-features.h>.
3379 [__ASSUME_32BITUIDS]: Make code unconditional.
3380 [!__ASSUME_32BITUIDS]: Remove conditional code.
3381 * sysdeps/unix/sysv/linux/kernel-features.h
3382 (__ASSUME_SETRESUID_SYSCALL): Remove.
3383 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3384 (__ASSUME_32BITUIDS): Likewise.
3385 (__ASSUME_LDT_WORKS): Likewise.
3386 (__ASSUME_O_DIRECTORY): Likewise.
3387 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3388 architecture but not kernel version.
3389 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3390 (__ASSUME_MMAP2_SYSCALL): Likewise.
3391 (__ASSUME_STAT64_SYSCALL): Likewise.
3392 (__ASSUME_IPC64): Likewise.
3393 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3394 <kernel-features.h>.
3395 [__ASSUME_32BITUIDS]: Make code unconditional.
3396 [!__ASSUME_32BITUIDS]: Remove conditional code.
3397 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3398 <kernel-features.h>.
3399 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3400 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3401 132096]: Remove conditional code.
3402 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3403 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3404 <kernel-features.h>.
3405 [__ASSUME_32BITUIDS]: Make code unconditional.
3406 [!__ASSUME_32BITUIDS]: Remove conditional code.
3407 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3408 <kernel-features.h>.
3409 [__ASSUME_32BITUIDS]: Make code unconditional.
3410 [!__ASSUME_32BITUIDS]: Remove conditional code.
3411 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3412 <kernel-features.h>.
3413 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3415 (__setresgid): Do not declare.
3416 [__ASSUME_32BITUIDS]: Make code unconditional.
3417 [!__ASSUME_32BITUIDS]: Remove conditional code.
3418 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3419 <kernel-features.h>.
3420 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3422 (__setresuid): Do not declare.
3423 [__ASSUME_32BITUIDS]: Make code unconditional.
3424 [!__ASSUME_32BITUIDS]: Remove conditional code.
3425 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3426 <kernel-features.h>.
3427 [__ASSUME_32BITUIDS]: Make code unconditional.
3428 [!__ASSUME_32BITUIDS]: Remove conditional code.
3429 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3430 <kernel-features.h>.
3431 [__ASSUME_32BITUIDS]: Make code unconditional.
3432 [!__ASSUME_32BITUIDS]: Remove conditional code.
3434 2012-05-25 Richard Henderson <rth@twiddle.net>
3436 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3437 dl_hwcap to ifunc resolver.
3438 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3440 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3441 dl_hwcap to ifunc resolver.
3442 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3444 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3447 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3448 for |x| <= 2**-26, not 2**-57.
3449 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3452 2012-05-24 Jeff Law <law@redhat.com>
3454 * stdio-common/Makefile (tests): Add bug25.
3455 * stdio-common/bug25.c: New test.
3457 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3460 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3461 multiple of MALLOC_ALIGNMENT in size.
3462 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3464 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3466 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3468 (FILENAME_MAX): Use macro-int-constant.
3469 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3470 (_IOFBF): Use macro-int-constant.
3473 (SEEK_CUR): Likewise.
3474 (SEEK_END): Likewise.
3475 (SEEK_SET): Likewise.
3476 (TMP_MAX): Likewise.
3477 (EOF): Use macro-int-constant. Require < 0.
3478 (NULL): Use macro-constant. Require == 0.
3479 (stdin): Require type to be FILE *.
3482 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3484 (EXIT_SUCCESS): Likewise.
3485 (NULL): Use macro-constant. Require == 0.
3486 (RAND_MAX): Use macro-int-constant.
3487 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3488 [C99-based standards] (strtof): Require function.
3489 [C99-based standards] (strtold): Likewise.
3490 [C99-based standards] (strtoll): Likewise.
3491 [C99-based standards] (strtoull): Likewise.
3492 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3493 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3494 [ISO || ISO99 || ISO11] (math.h): Likewise.
3495 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3496 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3497 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3499 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3502 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3503 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3504 * intl/dgettext.c (DCGETTEXT): Likewise.
3505 * intl/gettext.c (DCGETTEXT): Likewise.
3506 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3507 * posix/regex_internal.h (gettext): Likewise.
3508 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3510 * include/argz.h (__argz_count_internal)
3511 (__argz_stringify_internal): Remove declaration.
3512 (__argz_count, __argz_stringify): Declare hidden proto.
3513 * intl/dcgettext.c: Remove use of INTDEF.
3514 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3515 * string/argz-stringify.c: Likewise.
3516 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3517 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3518 Declare hidden proto.
3519 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3520 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3521 Declare hidden proto.
3522 * include/stdio.h (__asprintf_internal): Don't declare.
3523 (__asprintf): Don't define as macro. Declare hidden proto.
3524 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3525 (__fsetlocking): Declare hidden proto.
3526 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3527 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3529 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3530 (_IO_setlinebuf): Remove use of INTUSE.
3531 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3532 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3533 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3535 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3536 (_IO_do_flush): Remove use of INTUSE.
3537 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3538 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3539 (_IO_adjust_column, _IO_least_wmarker)
3540 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3541 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3542 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3543 (_IO_default_doallocate, _IO_wdefault_doallocate)
3544 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3545 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3546 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3547 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3548 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3549 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3550 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3551 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3552 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3553 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3554 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3555 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3556 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3558 (_IO_flush_all_internal, _IO_adjust_column_internal)
3559 (_IO_default_uflow_internal, _IO_default_finish_internal)
3560 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3561 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3562 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3563 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3564 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3565 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3566 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3567 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3568 (_IO_file_close_internal, _IO_file_close_it_internal)
3569 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3570 (_IO_file_init_internal, _IO_file_attach_internal)
3571 (_IO_file_fopen_internal, _IO_file_read_internal)
3572 (_IO_file_sync_internal, _IO_file_seek_internal)
3573 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3574 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3575 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3576 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3577 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3578 (_IO_list_all_internal, _IO_link_in_internal)
3579 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3580 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3581 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3582 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3583 (_IO_do_write_internal, _IO_padn_internal)
3584 (_IO_getline_info_internal, _IO_getline_internal)
3585 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3586 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3587 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3588 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3589 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3590 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3591 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3592 with libc_hidden_ver, remove use of INTUSE.
3593 * libio/genops.c: Likewise.
3594 * libio/freopen.c: Likewise.
3595 * libio/freopen64.c: Likewise.
3596 * libio/iofclose.c: Likewise.
3597 * libio/iofdopen.c: Likewise.
3598 * libio/iofflush.c: Likewise.
3599 * libio/iofflush_u.c: Likewise.
3600 * libio/iofgets.c: Likewise.
3601 * libio/iofgets_u.c: Likewise.
3602 * libio/iofopen.c: Likewise.
3603 * libio/iofopncook.c: Likewise.
3604 * libio/iofread.c: Likewise.
3605 * libio/iofread_u.c: Likewise.
3606 * libio/ioftell.c: Likewise.
3607 * libio/iofwrite.c: Likewise.
3608 * libio/iogetline.c: Likewise.
3609 * libio/iogets.c: Likewise.
3610 * libio/iogetwline.c: Likewise.
3611 * libio/iopadn.c: Likewise.
3612 * libio/iopopen.c: Likewise.
3613 * libio/ioseekoff.c: Likewise.
3614 * libio/ioseekpos.c: Likewise.
3615 * libio/iosetbuffer.c: Likewise.
3616 * libio/iosetvbuf.c: Likewise.
3617 * libio/ioungetc.c: Likewise.
3618 * libio/ioungetwc.c: Likewise.
3619 * libio/iovdprintf.c: Likewise.
3620 * libio/iovsprintf.c: Likewise.
3621 * libio/iovsscanf.c: Likewise.
3622 * libio/memstream.c: Likewise.
3623 * libio/obprintf.c: Likewise.
3624 * libio/oldfileops.c: Likewise.
3625 * libio/oldiofclose.c: Likewise.
3626 * libio/oldiofdopen.c: Likewise.
3627 * libio/oldiofopen.c: Likewise.
3628 * libio/oldiopopen.c: Likewise.
3629 * libio/oldstdfiles.c: Likewise.
3630 * libio/putc.c: Likewise.
3631 * libio/setbuf.c: Likewise.
3632 * libio/setlinebuf.c: Likewise.
3633 * libio/stdfiles.c: Likewise.
3634 * libio/strops.c: Likewise.
3635 * libio/vasprintf.c: Likewise.
3636 * libio/vscanf.c: Likewise.
3637 * libio/vsnprintf.c: Likewise.
3638 * libio/vswprintf.c: Likewise.
3639 * libio/wfiledoalloc.c: Likewise.
3640 * libio/wfileops.c: Likewise.
3641 * libio/wgenops.c: Likewise.
3642 * libio/wmemstream.c: Likewise.
3643 * libio/wstrops.c: Likewise.
3644 * libio/__fpurge.c: Likewise.
3645 * libio/__fsetlocking.c: Likewise.
3646 * assert/assert.c: Likewise.
3647 * debug/fgets_chk.c: Likewise.
3648 * debug/fgets_u_chk.c: Likewise.
3649 * debug/fread_chk.c: Likewise.
3650 * debug/fread_u_chk.c: Likewise.
3651 * debug/gets_chk.c: Likewise.
3652 * debug/obprintf_chk.c: Likewise.
3653 * debug/vasprintf_chk.c: Likewise.
3654 * debug/vdprintf_chk.c: Likewise.
3655 * debug/vsnprintf_chk.c: Likewise.
3656 * debug/vsprintf_chk.c: Likewise.
3657 * malloc/mtrace.c: Likewise.
3658 * misc/error.c: Likewise.
3659 * misc/syslog.c: Likewise.
3660 * stdio-common/asprintf.c: Likewise.
3661 * stdio-common/fxprintf.c: Likewise.
3662 * stdio-common/getw.c: Likewise.
3663 * stdio-common/isoc99_fscanf.c: Likewise.
3664 * stdio-common/isoc99_scanf.c: Likewise.
3665 * stdio-common/isoc99_vfscanf.c: Likewise.
3666 * stdio-common/isoc99_vscanf.c: Likewise.
3667 * stdio-common/isoc99_vsscanf.c: Likewise.
3668 * stdio-common/printf-prs.c: Likewise.
3669 * stdio-common/printf_fp.c: Likewise.
3670 * stdio-common/printf_fphex.c: Likewise.
3671 * stdio-common/printf_size.c: Likewise.
3672 * stdio-common/putw.c: Likewise.
3673 * stdio-common/scanf.c: Likewise.
3674 * stdio-common/sprintf.c: Likewise.
3675 * stdio-common/tmpfile.c: Likewise.
3676 * stdio-common/vfprintf.c: Likewise.
3677 * stdio-common/vfscanf.c: Likewise.
3678 * stdlib/strfmon_l.c: Likewise.
3679 * sunrpc/openchild.c: Likewise.
3680 * sunrpc/xdr_stdio.c: Likewise.
3681 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3682 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3684 2012-05-24 Roland McGrath <roland@hack.frob.com>
3686 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3688 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3689 in the third column, to generate for the shared library an IFUNC
3690 that uses _dl_vdso_vsym.
3691 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3692 * Makeconfig (object-suffixes-noshared): New variable.
3694 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3695 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3696 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3697 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3700 * include/sys/time.h (__gettimeofday): Remove macro.
3701 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3702 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3704 (__gettimeofday): Add libc_hidden_def.
3705 (gettimeofday): Add libc_hidden_weak.
3706 * sysdeps/mach/gettimeofday.c: Likewise.
3707 * sysdeps/posix/gettimeofday.c: Likewise.
3708 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3709 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3710 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3711 (__gettimeofday_internal): Remove strong_alias.
3712 (__gettimeofday): Add libc_hidden_def.
3713 (gettimeofday): Add libc_hidden_weak.
3714 * sysdeps/unix/syscalls.list (gettimeofday):
3715 Remove __gettimeofday_internal alias.
3717 2012-05-24 Daniel Jacobowitz <drow@false.org>
3718 H.J. Lu <hongjiu.lu@intel.com>
3721 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3722 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3723 (largebin_index_32_big): New.
3724 (largebin_index): Use it for 16-byte alignment.
3725 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3726 correction with front_misalign.
3728 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3756 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3757 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3759 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3763 * math/libm-test.inc (exp_test): Add test from bug 14036.
3764 (pow_test): Add test from bug 10846.
3766 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3768 (special_function): Do not include flags in test name.
3769 (parse_args): Likewise.
3770 * sysdeps/i386/fpu/libm-test-ulps: Update.
3771 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3772 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3773 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3776 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3778 * math/libm-test.inc ("Philosophy"): Update comment about
3780 (UNDERFLOW_EXCEPTION): New macro.
3781 (UNDERFLOW_EXCEPTION_OK): Likewise.
3782 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3783 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3784 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3785 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3786 (INVALID_EXCEPTION_OK): Update value.
3787 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3788 (OVERFLOW_EXCEPTION_OK): Likewise.
3789 (IGNORE_ZERO_INF_SIGN): Likewise.
3790 (test_exceptions): Handle underflow exceptions.
3791 (acos_test): Update for underflow exception expectations.
3792 (cexp_test): Likewise.
3793 (clog_test): Likewise.
3794 (clog10_test): Likewise.
3795 (csqrt_test): Likewise.
3796 (ctan_test): Likewise.
3797 (ctanh_test): Likewise.
3798 (exp_test): Likewise.
3799 (exp10_test): Likewise.
3800 (exp2_test): Likewise.
3801 (expm1_test): Likewise.
3802 (fma_test): Likewise.
3803 (j0_test): Likewise.
3804 (jn_test): Likewise.
3805 (nexttoward_test): Likewise.
3806 (pow_test): Likewise.
3807 (scalbn_test): Likewise.
3808 (scalbln_test): Likewise.
3809 (tan_test): Likewise.
3810 (y1_test): Likewise.
3811 * sysdeps/i386/fpu/libm-test-ulps: Update.
3812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3814 2012-05-23 David S. Miller <davem@davemloft.net>
3816 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3817 (__libc_sigaction): Remove unused local variables.
3819 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3821 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3823 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3825 mktime: avoid signed integer overflow
3826 * time/mktime.c (__mktime_internal): Do not mishandle the case
3827 where diff == INT_MIN.
3829 mktime: simplify computation of average
3830 * time/mktime.c (ranged_convert): Use new time_t_avg function
3831 instead of rolling our own (probably-slower) code.
3833 mktime: do not assume signed right shift propagates sign bit
3834 * time/mktime.c (isdst_differ): New static function.
3835 (__mktime_internal): No need to normalize tm_isdst now.
3836 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3839 mktime: merge another wrapv change from gnulib
3840 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3841 from some compilers.
3843 mktime: remove incorrect attempt at unusual arithmetics
3844 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3845 The code didn't really work on such machines anyway.
3846 (TYPE_MINIMUM): Assume two's complement.
3847 (twos_complement_arithmetic): Verify that long_int and time_t
3848 are two's complement (or unsigned, in the latter case).
3850 mktime: check signed shifts on long_int and time_t, too
3851 * time/mktime.c (SHR): Check that shifts work as desired
3852 on the types long_int and time_t too, as SHR is used on
3855 mktime: do not assume 'long' is wide enough
3856 * time/mktime.c (verify): Move decl up.
3857 (long_int): New type.
3858 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3859 to remove assumption in the code that 'long' is wide enough to
3860 store year values. This assumption is not true on x32 and on
3861 some non-glibc platforms.
3863 mktime: merge wrapv change from gnulib
3864 * time/mktime.c (WRAPV): New macro.
3865 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3866 (guess_time_tm, __mktime_internal): Do not assume that signed
3867 integer overflow wraps around; modern compilers generate code
3868 where this assumption is no longer valid.
3870 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3872 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3873 Replace "jmp L(pseudo_end)" with "ret".
3874 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3877 2012-05-23 Andreas Jaeger <aj@suse.de>
3879 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3880 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3882 2012-05-23 Andreas Jaeger <aj@suse.de>
3883 Maximilian Attems <max@stro.at>
3885 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3888 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3890 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3891 code so that pseudo_end is just ret and the stack pointer is
3892 correct also for static library in error case.
3894 2012-05-23 Joseph Myers <joseph@codesourcery.com>
3896 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3897 move to syscalls.list.
3898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3903 * manual/install.texi (Running make install): Do not mention Linux
3904 kernel version for which pt_chown is not needed.
3905 (Linux): Do not mention problems with nscd with 2.0 kernels.
3906 * INSTALL: Regenerated.
3908 2012-05-23 Andreas Jaeger <aj@suse.de>
3910 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3911 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3913 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3914 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3915 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3916 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3917 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3918 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3919 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3920 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3921 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3922 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3923 * sysdeps/unix/sysv/linux/bits/in.h
3924 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3926 2012-05-22 Roland McGrath <roland@hack.frob.com>
3928 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3929 (PREPARE_VERSION): Just use assert instead, it will be elided
3930 under [NDEBUG] anyway.
3932 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3934 * sysdeps/unix/sysv/linux/Makefile: Include
3935 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3936 (sysdep_routines): Remove sysctl.
3937 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3938 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3939 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3940 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3941 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3943 2012-05-22 Andreas Jaeger <aj@suse.de>
3945 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3946 that pseudo_end is just ret and the stack pointer is correct also
3947 for static library in error case.
3949 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3952 * nss/nsswitch.c (defconfig_entries): New variable.
3953 (__nss_database_lookup): Don't leak defconfig entries.
3954 (nss_parse_service_list): Don't leak on error paths.
3955 (free_database_entries): New function.
3956 (free_defconfig): New function.
3957 (free_mem): Move common code to free_database_entries.
3959 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3961 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3963 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3965 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3966 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3969 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3970 (INTERNAL_SYSCALL_TYPES): Likewise.
3971 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3972 (LOAD_REGS_TYPES_[1-6]): Likewise.
3973 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3974 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3976 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3978 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3979 copysignl for GLIBC_2_0.
3980 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3981 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3982 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3983 logbl for GLIBC_2_0.
3984 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3985 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3987 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3989 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3990 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3992 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3995 * time/mktime.c: Update copyright years.
3997 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3999 mktime: merge comment-quoting-style change from gnulib
4000 * time/mktime.c: Quote 'like this' in comments.
4001 The GNU coding standards suggest that we no longer quote `like this',
4002 as "`" and "'" are typically rendered asymmetrically nowadays.
4003 The typical gnulib style is to quote 'like this' when quoting
4004 code, and "like this" when quoting English.
4006 * time/mktime.c (compile-command): Add "-I.".
4008 mktime: merge mktime-internal.h change from gnulib
4009 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4011 mktime: merge time_r change from gnulib
4012 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4014 mktime: merge DEBUG change from gnulib
4015 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4016 case system <time.h> has a #define.
4018 mktime: merge <sys/types.h> change from gnulib
4019 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4020 since <time.t> is now guaranteed to define time_t.
4022 mktime: merge HAVE_CONFIG_H change from gnulib
4023 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4025 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4027 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4030 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4032 (struct rusage): Use anonymous union to pad each field to
4035 2012-05-21 David S. Miller <davem@davemloft.net>
4037 * Makefules (o-iterator): Remove .s cases.
4038 (compile-command.s): Delete.
4039 (COMPILE.s): Delete.
4040 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4042 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4044 * configure.in (libc_cv_predef_stack_protector): Only consider
4045 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4046 * configure: Regenerated.
4048 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4050 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4051 New macro. Use R*LP on int and pointer.
4052 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4053 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4054 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4055 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4057 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4058 [__WORDSIZE_TIME64_COMPAT32] instead of
4059 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4060 (struct utmp): Likewise.
4061 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4062 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4064 (__WORDSIZE_TIME64_COMPAT32): This.
4065 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4066 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4067 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4068 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4069 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4070 (__WORDSIZE_TIME64_COMPAT32): New macro.
4072 2012-05-21 Andreas Jaeger <aj@suse.de>
4074 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4075 only if [SHARED]. Add prototype for __wcschr_ia32.
4077 2012-05-21 Roland McGrath <roland@hack.frob.com>
4079 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4080 of %rbp unmolested in the jmp_buf while mangling the low bits.
4081 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4082 unmolested high bits of %rbp while demangling the low bits.
4083 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4085 2012-05-21 Andreas Jaeger <aj@suse.de>
4087 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4088 * sunrpc/svc_simple.c: Use it for registerrpc.
4089 * sunrpc/xcrypt.c: Use it for passwd2des.
4091 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4093 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4095 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4096 Don't define if [__SYSCALL_WORDSIZE != 32].
4097 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4100 2012-05-21 Bruno Haible <bruno@clisp.org>
4101 Andreas Jaeger <aj@suse.de>
4103 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4104 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4105 inptr and inend for must_buffer_ch.
4106 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4107 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4108 * stdio-common/Makefile (tests): Remove bug15.
4109 (bug15-ENV): Remove macro.
4110 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4113 2012-05-19 Andreas Jaeger <aj@suse.de>
4114 Roland McGrath <roland@hack.frob.com>
4116 * manual/contrib.texi: Completely rewritten. It contains now an
4117 alphabetical list of contributors and their contributions.
4119 2012-05-21 Richard Henderson <rth@twiddle.net>
4121 * misc/getauxval.c (__getauxval): Use unsigned long int.
4122 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4123 (getauxval): Use unsigned long int.
4125 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4127 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4129 2012-05-21 Roland McGrath <roland@hack.frob.com>
4131 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4132 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4133 __alignof__ (long double).
4135 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4139 2012-05-20 Richard Henderson <rth@twiddle.net>
4141 * misc/getauxval.c: New file.
4142 * misc/sys/auxv.h: New file.
4143 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4144 (routines): Add getauxval.
4145 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4146 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4147 * elf/dl-sysdep.c (_dl_auxv): Remove.
4148 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4149 * elf/dl-support.c (_dl_auxv): New variable.
4150 (_dl_aux_init): Initialize it.
4151 * manual/startup.texi (Auxiliary Vector): New node.
4152 * sysdeps/generic/bits/hwcap.h: New file.
4153 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4154 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4155 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4156 * sysdeps/sparc/sysdep.h: ... here. Include it.
4157 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4158 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4164 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4170 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4174 2012-05-19 David S. Miller <davem@davemloft.net>
4176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4178 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4181 * math/s_ccosh.c: Include <float.h>
4182 (__ccosh): Avoid internal overflow calculating sinh and cosh
4183 values before multiplying by sin and cos values.
4184 * math/s_ccoshf.c: Likewise.
4185 * math/s_ccoshl.c: Likewise.
4186 * math/s_csin.c: Likewise.
4187 * math/s_csinf.c: Likewise.
4188 * math/s_csinl.c: Likewise.
4189 * math/s_csinh.c: Likewise.
4190 * math/s_csinhf.c: Likewise.
4191 * math/s_csinhl.c: Likewise.
4192 * math/libm-test.inc (ccos_test): Add more tests.
4193 (ccosh_test): Likewise.
4194 (csin_test): Likewise.
4195 (csinh_test): Likewise.
4196 * sysdeps/i386/fpu/libm-test-ulps: Update.
4197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4199 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4201 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4202 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4204 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4206 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4208 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4209 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4210 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4211 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4212 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4213 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4214 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4215 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4216 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4217 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4218 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4219 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4220 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4221 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4222 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4223 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4224 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4225 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4226 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4227 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4228 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4229 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4230 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4231 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4232 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4233 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4234 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4235 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4236 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4237 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4238 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4240 2012-05-18 Andreas Jaeger <aj@suse.de>
4242 * csu/.gitignore: Delete.
4244 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4246 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4247 (timex): Use __syscall_slong_t.
4249 2012-05-18 Andreas Jaeger <aj@suse.de>
4250 Carlos O'Donell <carlos_odonell@mentor.com>
4252 * manual/install.texi (Configuring and compiling): Update
4253 description about files modified in the source directory.
4254 * INSTALL: Regenerated.
4256 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4258 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4259 value. Use "or" to set return value to -1.
4260 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4261 negate return value.
4263 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4265 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4266 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4267 failure if the compiler has Graphite support disabled.
4268 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4270 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4271 CFLAGS-memmove.c): Likewise.
4272 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4275 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4277 * sysdeps/x86_64/x32/_itoa.h: New file.
4279 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4280 getdents system call only if kernel and user dirents have the
4281 same d_ino and d_off.
4283 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4284 LLONG_MAX != LONG_MAX.
4285 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4286 (_fitoa_word): Likewise.
4288 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4290 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4291 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4292 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4294 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4295 include <bits/wordsize.h>. Check __x86_64__ instead of
4297 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4298 if __x86_64__ is defined. Use anonymous union on fpstate.
4300 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4303 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4305 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4306 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4307 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4308 Refer to _rtld_local_ro instead of _rtld_global_ro.
4309 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4311 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4313 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4315 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4316 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4317 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4319 * sysdeps/powerpc/powerpc32/dl-machine.c
4320 (__elf_machine_runtime_setup) [PROF]: Don't reference
4323 2012-05-18 Andreas Jaeger <aj@suse.de>
4325 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4326 function only available for GCCs before 3.4 since GCC 3.4
4327 introduced a builtin.
4329 (llrintf): Likewise.
4337 (nearbyint): Likewise.
4338 (nearbyintf): Likewise.
4344 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4346 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4347 on both fields and cast pointer to __syscall_ulong_t.
4349 * bits/types.h (__fsword_t): New type.
4350 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4351 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4352 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4353 (__FSWORD_T_TYPE): Likewise.
4354 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4355 (__FSWORD_T_TYPE): Likewise.
4356 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4357 (__FSWORD_T_TYPE): Likewise.
4358 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4359 (__FSWORD_T_TYPE): Likewise.
4360 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4361 __SWORD_TYPE with __fsword_t.
4362 (statfs64): Likewise.
4364 2012-05-17 David S. Miller <davem@davemloft.net>
4366 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4368 2012-05-17 Andreas Jaeger <aj@suse.de>
4370 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4373 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4375 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4377 2012-05-17 Andreas Jaeger <aj@suse.de>
4379 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4382 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4384 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4386 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4388 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4389 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4391 2012-05-17 Andreas Jaeger <aj@suse.de>
4392 Carlos O'Donell <carlos_odonell@mentor.com>
4395 * sysdeps/x86_64/multiarch/init-arch.h
4396 (bit_YMM_Usable): Rename to...
4397 (bit_AVX_Usable): ... this.
4398 (bit_FMA4_Usable): New macro.
4399 (bit_XMM_state): New macro.
4400 (bit_YMM_state): New macro.
4401 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4402 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4403 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4404 (CPUID_OSXSAVE): New macro.
4405 (CPUID_AVX): New macro.
4406 (CPUID_FMA4): New macro.
4407 (index_YMM_Usable): Rename to...
4408 (index_AVX_Usable): ... this.
4409 (HAS_AVX): Use HAS_ARCH_FEATURE.
4410 (HAS_FMA4): Likewise.
4411 (HAS_YMM_USABLE): Remove.
4412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4413 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4415 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4416 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4417 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4418 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4419 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4421 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4423 * math/libm-test.c: Support platforms without multiple rounding modes.
4424 * math/bug-nextafter.c: Support platforms without FP exceptions.
4425 * math/bug-nexttoward.c: Likewise.
4426 * math/test-fenv.c: Likewise.
4427 * math/test-misc.c: Likewise.
4428 * stdlib/bug-getcontext.c: Likewise.
4430 2012-05-17 Andreas Jaeger <aj@suse.de>
4432 * manual/examples/search.c (critter_cmp): Change signature to
4434 * manual/string.texi (Collation Functions): Likewise.
4436 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4438 * bits/types.h: Fold copyright years.
4439 * bits/typesizes.h: Likewise.
4440 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4441 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4442 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4443 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4444 * time/time.h: Likewise.
4446 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4449 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4450 in instead of returning them. Return void.
4451 (__libc_mallinfo): Accumulate over all arenas.
4452 (__malloc_stats): Adjust for change in int_mallinfo interface.
4454 2012-05-16 Roland McGrath <roland@hack.frob.com>
4457 * configure.in (NM): Add AC_CHECK_TOOL for it.
4458 (libc_extra_cflags): New substituted variable.
4459 Check for -fstack-protector being used implicitly.
4460 * configure: Regenerated.
4461 * config.make.in (config-extra-cflags): New variable,
4462 gets @libc_extra_cflags@.
4463 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4466 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4467 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4468 * configure: Regenerated.
4469 * config.make.in (CPPUNDEFS): New substituted variable.
4470 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4471 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4472 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4474 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4476 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4477 (mq_attr): Use __syscall_slong_t.
4479 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4481 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4482 Check __x86_64__ instead of __WORDSIZE.
4483 (_STAT_VER_LINUX): Likewise.
4484 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4485 __syscall_ulong_t and __syscall_slong_t.
4488 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4490 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4492 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4494 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4496 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4498 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4501 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4502 include <bits/wordsize.h>. Check __x86_64__ instead of
4504 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4506 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4508 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4509 include <bits/wordsize.h>. Check __x86_64__ instead of
4511 (user_regs_struct): Use "__extension__ unsigned long long"
4512 instead of "unsigned long" if __x86_64__ is defined.
4513 (user): Likewise. Pad after pointer field if __ILP32__ is
4516 2012-05-16 Joseph Myers <joseph@codesourcery.com>
4518 * configure.in (makeinfo): Require version 4.5 or later. Allow
4520 * configure: Regenerated.
4521 * manual/install.texi (texinfo): Increase version requirement to
4523 * INSTALL: Regenerated.
4525 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4527 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4529 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4531 * sysdeps/x86_64/x32/ffs.c: New file.
4533 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4535 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4536 defined. Use __syscall_ulong_t.
4537 (shminfo): Use __syscall_ulong_t.
4538 (shm_info): Likewise.
4540 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4543 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4545 (msgqnum_t): Use __syscall_ulong_t.
4546 (msglen_t): Likewise.
4547 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4550 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4551 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4553 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4555 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4556 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4558 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4561 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4562 include <bits/wordsize.h>. Check __x86_64__ instead of
4565 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4566 "unsigned long long int" if __x86_64__ is defined.
4567 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4569 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4570 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4571 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4573 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4575 (GET_PC): Cast to uintptr_t first.
4576 (GET_FRAME): Likewise.
4577 (GET_STACK): Likewise.
4579 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4580 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4581 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4582 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4583 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4584 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4585 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4586 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4587 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4588 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4589 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4590 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4591 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4592 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4593 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4594 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4595 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4596 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4597 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4598 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4599 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4600 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4601 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4602 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4603 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4604 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4605 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4606 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4607 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4609 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4611 * Makerules (+depfiles): Also collect depfiles from .oS in
4613 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4614 .oS, $(libnldbl-routines)).
4616 * Makerules (native-compile-mkdep-flags): Define.
4617 * sunrpc/Makefile (extra-objs): Add $(addprefix
4618 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4619 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4620 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4621 calling $(make-target-directory).
4623 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4625 * bits/types.h (__snseconds_t): Removed.
4626 * time/time.h (struct timespec): Replace __snseconds_t with
4628 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4629 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4631 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4632 (__SNSECONDS_T_TYPE): Likewise.
4633 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4634 (__SNSECONDS_T_TYPE): Likewise.
4635 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4636 (__SNSECONDS_T_TYPE): Likewise.
4638 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4640 * sysdeps/mach/hurd/bits/typesizes.h
4641 (__SYSCALL_SLONG_TYPE): New macro.
4642 (__SYSCALL_ULONG_TYPE): Likewise.
4644 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4646 * bits/types.h (__syscall_slong_t): New type.
4647 (__syscall_ulong_t): Likewise.
4649 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4650 (__SYSCALL_ULONG_TYPE): Likewise.
4651 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4652 (__SYSCALL_SLONG_TYPE): Likewise.
4653 (__SYSCALL_ULONG_TYPE): Likewise.
4654 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4655 (__SYSCALL_SLONG_TYPE): Likewise.
4656 (__SYSCALL_ULONG_TYPE): Likewise.
4657 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4658 (__SYSCALL_SLONG_TYPE): Likewise.
4659 (__SYSCALL_ULONG_TYPE): Likewise.
4661 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4663 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4664 Add sigaltstack-offsets.sym.
4665 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4666 <sigaltstack-offsets.h>.
4667 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4668 longjmp_msg pointer.
4669 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4670 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4672 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4674 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4676 * elf/stackguard-macros.h: Remove file.
4677 * sysdeps/generic/stackguard-macros.h: New file.
4678 * sysdeps/i386/stackguard-macros.h: Likewise.
4679 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4680 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4681 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4682 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4683 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4684 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4685 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4686 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4687 <elf/stackguard-macros.h>.
4690 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4691 __aligned__ in attribute.
4692 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4693 (gregset_t): Likewise.
4695 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4697 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4698 * sysdeps/x86_64/64/Implies-after: Here. New file.
4699 * sysdeps/x86_64/x32/Implies-after: New file.
4701 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4703 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4704 and access return value for _dl_profile_fixup. Use R10_LP to
4707 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4709 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4711 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4713 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4714 * sysdeps/x86_64/x32/sysdep.h: New file.
4716 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4718 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4719 * sysdeps/x86_64/setjmp.S: Likewise.
4721 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4723 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4724 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4725 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4726 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4727 remove unused global constant.
4729 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4731 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4732 include of <not-cancel.h>.
4734 2012-05-15 Roland McGrath <roland@hack.frob.com>
4736 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4738 2012-05-15 Jeff Law <law@redhat.com>
4739 Andreas Jaeger <aj@suse.de>
4742 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4744 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4745 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4746 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4747 code changing __hst_map_handle.map.
4749 2012-05-15 Roland McGrath <roland@hack.frob.com>
4751 * configure.in (sysnames): Look for Implies-before and Implies-after
4753 * configure: Regenerated.
4755 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4757 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4758 8-byte data alignment with LP_SIZE alignment.
4760 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4762 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4765 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4767 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4769 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4771 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4772 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4773 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4775 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4777 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4779 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4780 (stackinfo_sub_sp): Likewise.
4782 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4784 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4787 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4789 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4792 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4794 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4797 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4799 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4801 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4803 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4804 into R11_LP and load __x86_64_shared_cache_size_half into
4807 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4809 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4812 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4814 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4816 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4818 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4820 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4821 powerpc32/power7/fpu/s_logb.c via #include.
4822 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4823 powerpc32/power7/fpu/s_logbf.c via #include.
4824 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4825 powerpc32/power7/fpu/s_logbl.c via #include.
4827 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4829 * README.libm: Remove file.
4831 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4833 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4834 count for x32. Use R*_LP and omit operand-size suffix.
4836 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4838 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4839 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4840 * sysdeps/x86_64/x32/shlib-versions: New file.
4842 2012-05-14 Roland McGrath <roland@hack.frob.com>
4844 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4845 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4846 Use _dl_fatal_printf instead.
4848 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4850 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4851 set if not set by the user. Do not allow for being unset.
4852 * sysdeps/unix/sysv/linux/configure: Regenerated.
4854 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4856 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4857 the `q' suffix from lea and replace .quad with ASM_ADDR.
4859 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4861 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4862 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4864 (PTR_DEMANGLE): Likewise.
4866 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4868 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4870 (ASM_ADDR): Likewise.
4888 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4890 * sysdeps/x86_64/x32/dl-machine.h: New file.
4892 2012-05-14 Andreas Jaeger <aj@suse.de>
4894 * manual/Makefile (subdir): Remove export of subdir.
4895 (all): Remove target.
4896 (.PHONY): Remove all from list.
4897 (mkinstalldirs): Remove.
4898 (.PHONY): Remove installdirs from list.
4899 ($(inst_infodir)/libc.info): Use make-target-directory.
4900 (installdirs): Remove.
4902 (glibc-targets): Remove.
4905 ($(objpfx)stubs ../po/manual.pot): Remove.
4906 ($(objpfx)stamp%): Remove.
4907 (make-target-directory): Remove.
4908 (subdir_install): Remove.
4916 * manual/.gitignore: Remove, it's not needed anymore.
4917 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4919 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4921 (texis): Renamed to $(objpfx)texis.
4922 (texis-path): New, contains path to generated files.
4923 (chapters.%): Use texis-path for complete path, add extra argument
4925 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4926 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4927 (summary,texi, stamp-summary): Use complete path of
4928 files. Generate files in build dir.
4929 (dir-add.texi): Build in build dir.
4930 (libm-err.texi,stamp-libm-err): Likewise.
4931 (version.texi, stamp-version): Likewise.
4932 (.%c.texi): Likewise.
4933 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4934 (mostlyclean): Remove target.
4935 (realclean): Remove target.
4936 (generated): Add new variable with contents from mostlyclean and
4937 realclean, remove entries duplicated in common-mostlyclean, add
4938 stamp-libm-err and stamp-version.
4939 (generated-dirs): Add libc directory.
4940 ($(inst_infodir)/libc.info): Install files from build dir.
4942 * manual/install.texi (Configuring and compiling): Adjust since
4943 the info files are not part of the tar ball anymore.
4945 2012-05-14 Andreas Jaeger <aj@suse.de>
4947 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4950 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4953 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4954 to 2.2.0 where earlier.
4955 * sysdeps/unix/sysv/linux/configure: Regenerated.
4956 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4957 Remove conditional code.
4958 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4959 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4960 Remove conditional code.
4961 [!__NR_lchown]: Likewise.
4962 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4963 [__NR_lchown]: Likewise.
4964 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4965 comment referencing __ASSUME_LCHOWN_SYSCALL.
4966 * sysdeps/unix/sysv/linux/i386/sigaction.c
4967 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4968 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4969 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4970 Remove conditional code.
4971 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4972 (__protocol_available): Remove #if 0 code.
4973 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4975 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4976 * sysdeps/unix/sysv/linux/kernel-features.h
4977 (__ASSUME_GETCWD_SYSCALL): Don't define.
4978 (__ASSUME_REALTIME_SIGNALS): Likewise.
4979 (__ASSUME_PREAD_SYSCALL): Likewise.
4980 (__ASSUME_PWRITE_SYSCALL): Likewise.
4981 (__ASSUME_POLL_SYSCALL): Likewise.
4982 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4983 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4985 (__ASSUME_SIOCGIFNAME): Don't define.
4986 (__ASSUME_MSG_NOSIGNAL): Likewise.
4987 (__ASSUME_SENDFILE): Define unconditionally.
4988 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4989 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4991 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4992 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4993 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4994 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4995 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4996 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4997 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4999 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5000 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5002 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5003 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5005 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5006 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5008 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5009 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5011 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5012 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5014 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5015 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5017 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5018 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5020 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5021 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5022 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5023 Remove conditional code.
5024 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5025 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5026 Remove conditional code.
5027 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5028 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5029 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5030 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5031 Remove conditional code.
5032 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5033 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5034 Remove conditional code.
5035 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5036 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5037 Remove conditional code.
5038 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5039 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5040 Remove conditional code.
5041 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5042 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5043 Remove conditional code.
5044 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5045 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5046 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5047 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5048 * sysdeps/unix/sysv/linux/sigaction.c
5049 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5050 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5051 * sysdeps/unix/sysv/linux/sigpending.c
5052 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5053 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5054 * sysdeps/unix/sysv/linux/sigprocmask.c
5055 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5056 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5057 * sysdeps/unix/sysv/linux/sigsuspend.c
5058 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5059 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5060 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5061 (__libc_missing_rt_sigs): Remove.
5062 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5063 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5064 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5065 Remove conditional code.
5066 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5067 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5069 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5070 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5071 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5072 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5074 2012-05-14 Andreas Jaeger <aj@suse.de>
5076 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5077 it's not used in glibc.
5078 (__coshm1): Likewise.
5079 (__acosh1p): Likewise.
5082 * manual/string.texi (Copying and Concatenation): Add missing
5083 variable in concat example.
5084 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5086 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5089 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5090 __builtin_clzl with __builtin_clzll.
5092 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5095 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5098 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5100 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5101 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5102 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5103 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5105 2012-05-14 Mike Frysinger <vapier@gentoo.org>
5107 * NEWS: Update ia64 info.
5109 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5111 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5114 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5116 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5117 * sysdeps/unix/syscalls.list (dup3): Likewise.
5118 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5119 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5121 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5123 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5124 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5126 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5128 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5130 (TLS_IE): Use mov/add instead of movq/addq to load thread
5132 (TLS_GD_PREFIX): New.
5135 2012-05-11 David S. Miller <davem@davemloft.net>
5137 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5138 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5139 (_FPU_SETCW): Likewise.
5141 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5143 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5146 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5149 * iconvdata/gb18030.c: Update tables.
5150 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5151 characters specially.
5152 (BODY for TO_LOOP): Add encoding of missing ranges.
5154 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5157 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5158 * sysdeps/mach/hurd/dup3.c: Likewise.
5159 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5160 * sysdeps/powerpc/memmove.c:: Likewise.
5162 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5164 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5165 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5167 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5169 * elf/elf.h (R_X86_64_RELATIVE64): New.
5170 (R_X86_64_NUM): Updated.
5171 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5172 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5173 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5174 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5175 tst-quad1pie tst-quad2pie
5176 (modules-names): Add tst-quadmod1 tst-quadmod2.
5177 ($(objpfx)tst-quad1): New dependency.
5178 ($(objpfx)tst-quad2): Likewise.
5179 ($(objpfx)tst-quad1pie): Likewise.
5180 ($(objpfx)tst-quad2pie): Likewise.
5181 * sysdeps/x86_64/tst-quad1.c: New file.
5182 * sysdeps/x86_64/tst-quad1pie.c: New file.
5183 * sysdeps/x86_64/tst-quad2.c: Likewise.
5184 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5185 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5186 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5187 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5188 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5190 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5192 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5193 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5194 * streams/stropts.h (t_scalar_t): Define type.
5196 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5197 (_PATH_PRESERVE): Set to "/var/lib".
5198 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5200 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5203 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5204 if __dir_mkfile succeeded.
5206 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5207 checking for _hurd_dtablesize. Unlock it right after having
5208 finished _hurd_dtable allocation.
5210 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5212 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5213 * sysdeps/mach/hurd/configure: Regenerated.
5214 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5215 special-casing to...
5216 * sysdeps/gnu/configure.in: ... this new file.
5217 * sysdeps/unix/sysv/linux/configure: Regenerated.
5218 * sysdeps/gnu/configure: New generated file.
5220 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5221 for Linux: use nsec instead of usec, as well as:
5222 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5223 members of type struct timespec.
5224 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5226 (struct stat64): Likewise.
5227 (_STATBUF_ST_NSEC): New macro.
5228 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5230 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5231 __strtoul_internal rather than strtoul.
5233 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5235 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5238 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5240 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5241 which preserves existing values.
5242 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5244 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5246 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5247 TIMEOUT values. Return EINVAL for NFDS values either negative or
5248 greater than FD_SETSIZE.
5250 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5252 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5253 allocated, call __vm_protect to finish enabling the existing space, and
5254 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5255 allocate the remainder.
5257 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5259 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5260 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5262 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5264 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5265 sysdeps/mach/hurd/readlink.c.
5267 * posix/tst-sysconf.c (posix_options): Only use
5268 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5269 _POSIX_SYNCHRONIZED_IO when they are defined
5270 * sysdeps/mach/hurd/bits/posix_opt.h:
5271 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5272 (_XOPEN_REALTIME): Undefine macro.
5273 (_XOPEN_REALTIME_THREADS): Undefine macro.
5274 (_XOPEN_SHM): Undefine macro.
5275 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5277 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5279 (_POSIX_ASYNC_IO): Undefine macro.
5280 (_POSIX_PRIORITIZED_IO): Undefine macro.
5281 (_POSIX_SPIN_LOCKS): Define macro to -1.
5283 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5284 SA_NODEFER, SA_RESETHAND.
5285 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5286 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5289 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5291 * elf/Makefile (pldd-modules): Define unconditionally.
5293 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5295 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5297 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5299 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5300 Return ENOENT when name is empty.
5301 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5303 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5305 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5307 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5309 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5311 Fix mlock in all cases except non-readable pages.
5312 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5313 instead of VM_PROT_ALL as parameter to __vm_wire function.
5315 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5316 (__mkdir): When path is `/', just fail with EEXIST.
5317 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5319 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5321 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5322 <sys/uio.h> (for writev).
5323 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5324 and <sys/param.h> (for MIN).
5326 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5328 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5329 REQUESTED_TIME. Properly set the remaining time and return EINTR
5332 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5334 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5335 Depend on against $(link-rpcuserlibs).
5337 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5339 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5340 (__libc_stack_end): Do not use attribute_relro.
5341 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5342 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5343 to libthread-provided value.
5344 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5347 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5350 * bits/libc-lock.h (__libc_once_get): New macro.
5351 * sysdeps/mach/bits/libc-lock.h: Likewise.
5352 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5353 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5354 instead of using implementation details.
5356 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5357 * libio/freopen.c: Likewise.
5358 * libio/freopen64.c: Likewise.
5359 * misc/syslog.c: Likewise.
5360 * nscd/connections.c: Likewise.
5361 * nscd/netgroupcache.c: Likewise.
5362 * sysdeps/posix/getcwd.c: Likewise.
5364 2012-05-10 Roland McGrath <roland@hack.frob.com>
5366 * math/w_ilogbf.c: Add #include <limits.h>.
5368 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5370 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5371 path instead of returning without unlocking.
5373 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5374 immediate-write ioctls.
5375 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5377 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5379 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5380 __builtin_frame_address instead of making assumptions about the
5381 location of the return address relative to DATA. Force early load of
5383 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5384 __builtin_frame_address.
5387 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5388 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5389 implement dup3 and do some further code clean-ups.
5390 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5391 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5393 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5395 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5397 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5398 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5399 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5400 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5401 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5404 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5405 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5406 when handler == SIG_ERR, not when handler != SIG_ERR.
5408 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5410 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5411 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5414 accept4 for GNU Hurd.
5415 * include/sys/socket.h (__libc_accept4): New prototype.
5416 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5417 to implement __libc_accept4.
5418 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5420 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5422 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5423 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5424 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5427 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5429 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5431 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5433 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5434 assertion on O_CLOEXEC flag.
5435 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5436 * hurd/intern-fd.c: Likewise.
5437 * hurd/port2fd.c: Likewise.
5439 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5442 * bits/in.h (IPV6_PKTINFO): Define new macro.
5443 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5445 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5450 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5451 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5452 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5453 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5454 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5455 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5456 * math/libm-test.inc (logb_test) : Additional logb tests.
5458 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5459 Andreas Jaeger <aj@suse.de>
5461 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5462 * configure: Regenerated.
5463 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5464 * config.make.in (link-obsolete-rpc): New substituted variable.
5465 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5466 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5467 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5468 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5469 so that libc.a contains the symbols.
5470 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5471 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5472 * sunrpc/auth_none.c: Likewise.
5473 * sunrpc/auth_unix.c: Likewise.
5474 * sunrpc/authdes_prot.c: Likewise.
5475 * sunrpc/authuxprot.c: Likewise.
5476 * sunrpc/clnt_gen.c: Likewise.
5477 * sunrpc/clnt_perr.c: Likewise.
5478 * sunrpc/clnt_raw.c: Likewise.
5479 * sunrpc/clnt_simp.c: Likewise.
5480 * sunrpc/clnt_tcp.c: Likewise.
5481 * sunrpc/clnt_udp.c: Likewise.
5482 * sunrpc/clnt_unix.c: Likewise.
5483 * sunrpc/des_crypt.c: Likewise.
5484 * sunrpc/des_soft.c: Likewise.
5485 * sunrpc/get_myaddr.c: Likewise.
5486 * sunrpc/key_call.c: Likewise.
5487 * sunrpc/key_prot.c: Likewise.
5488 * sunrpc/netname.c: Likewise.
5489 * sunrpc/pm_getmaps.c: Likewise.
5490 * sunrpc/pm_getport.c: Likewise.
5491 * sunrpc/pmap_clnt.c: Likewise.
5492 * sunrpc/pmap_prot.c: Likewise.
5493 * sunrpc/pmap_prot2.c: Likewise.
5494 * sunrpc/pmap_rmt.c: Likewise.
5495 * sunrpc/publickey.c: Likewise.
5496 * sunrpc/rpc_cmsg.c: Likewise.
5497 * sunrpc/rpc_common.c: Likewise.
5498 * sunrpc/rpc_dtable.c: Likewise.
5499 * sunrpc/rpc_prot.c: Likewise.
5500 * sunrpc/rpc_thread.c: Likewise.
5501 * sunrpc/rtime.c: Likewise.
5502 * sunrpc/svc.c: Likewise.
5503 * sunrpc/svc_auth.c: Likewise.
5504 * sunrpc/svc_raw.c: Likewise.
5505 * sunrpc/svc_run.c: Likewise.
5506 * sunrpc/svc_tcp.c: Likewise.
5507 * sunrpc/svc_udp.c: Likewise.
5508 * sunrpc/svc_unix.c: Likewise.
5509 * sunrpc/svcauth_des.c: Likewise.
5510 * sunrpc/xcrypt.c: Likewise.
5511 * sunrpc/xdr.c: Likewise.
5512 * sunrpc/xdr_array.c: Likewise.
5513 * sunrpc/xdr_float.c: Likewise.
5514 * sunrpc/xdr_intXX_t.c: Likewise.
5515 * sunrpc/xdr_mem.c: Likewise.
5516 * sunrpc/xdr_rec.c: Likewise.
5517 * sunrpc/xdr_ref.c: Likewise.
5518 * sunrpc/xdr_sizeof.c: Likewise.
5519 * sunrpc/xdr_stdio.c: Likewise.
5521 2012-05-10 Roland McGrath <roland@hack.frob.com>
5523 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5524 change. Update copyright years.
5526 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5528 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5530 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5531 Joseph Myers <joseph@codesourcery.com>
5532 Paul Pluzhnikov <ppluzhnikov@google.com>
5535 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5537 [cross-compiling] (extra-libs): Likewise.
5538 [cross-compiling] (extra-libs-others): Likewise.
5539 [cross-compiling] (librpcsvc-routines): Likewise.
5540 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5541 [cross-compiling] (omit-deps): Likewise.
5542 (sunrpc-CPPFLAGS): New variable.
5543 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5544 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5545 (cross-rpcgen-objs): New variable.
5546 (extra-objs): Append $(cross-rpcgen-objs).
5547 ($(cross-rpcgen-objs)): New rule.
5548 ($(objpfx)cross-rpcgen): Likewise.
5549 (rpcgen-cmd): Define to use $(built-program-file). Expand
5551 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5552 ($(objpfx)x%.stmp): Likewise.
5553 * sunrpc/proto.h [IS_IN_build] (_): Define.
5554 [IS_IN_build] (_libc_intl_domainname): Likewise.
5556 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5558 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5559 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5560 and R_X86_64_TPOFF64.
5562 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5564 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5565 sysdeps/unix/sysv/syscalls.list.
5568 * sysdeps/unix/sysv/syscalls.list: Remove file.
5570 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5573 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5574 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5575 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5576 (__LC_IDENTIFICATION): Make these macros useful in #if
5577 expressions, as required by C99.
5579 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5581 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5582 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5585 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5587 * stdlib/longlong.h: Updated from GCC.
5589 2012-05-09 Andreas Jaeger <aj@suse.de>
5591 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5592 default is first entry.
5593 (run_mode): Set type.
5594 (main): Remove informal message about syslog.
5595 (options): Fix typo.
5598 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5601 (llrintf): Likewise.
5605 (nearbyint): Likewise.
5606 (nearbyintf): Likewise.
5608 2012-05-09 Andreas Jaeger <aj@suse.de>
5609 Pedro Alves <palves@redhat.com>
5611 * nscd/nscd.c (run_mode): Use enum.
5612 (main): Cleanup coding style issue.
5614 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
5615 Andreas Jaeger <aj@suse.de>
5617 * nscd/nscd.c (go_background): Replaced with...
5618 (run_mode): ... this.
5619 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5620 (options): Add -F --foreground.
5621 (main): Implement it.
5622 (parse_opt): Parse it.
5624 2012-05-09 Andreas Jaeger <aj@suse.de>
5627 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5628 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5629 -Wconversion warning.
5630 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5633 2012-05-09 Joseph Myers <joseph@codesourcery.com>
5635 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5637 (LC_ALL): Use macro-int-constant.
5638 (LC_COLLATE): Likewise.
5639 (LC_CTYPE): Likewise.
5640 (LC_MESSAGES): Likewise.
5641 (LC_MONETARY): Likewise.
5642 (LC_NUMERIC): Likewise.
5643 (LC_TIME): Likewise.
5644 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5645 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5646 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5647 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5649 [C99-based standards] (float_t): Expect type.
5650 [C99-based standards] (double_t): Expect type.
5651 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5653 [C99-based standards] (HUGE_VALL): Likewise.
5654 [C99-based standards] (INFINITY): Likewise.
5655 [C99-based standards] (NAN): Likewise.
5656 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5657 [C99-based standards] (FP_NAN): Likewise.
5658 [C99-based standards] (FP_NORMAL): Likewise.
5659 [C99-based standards] (FP_SUBNORMAL): Likewise.
5660 [C99-based standards] (FP_ZERO): Likewise.
5661 [C99-based standards] (FP_FAST_FMA): Use
5662 optional-macro-int-constant. Specify type. Require == 1.
5663 [C99-based standards] (FP_FAST_FMAF): Likewise.
5664 [C99-based standards] (FP_FAST_FMAL): Likewise.
5665 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5666 [C99-based standards] (FP_ILOGBNAN): Likewise.
5667 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5669 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5670 [C99-based standards] (math_errhandling): Specify type.
5671 [ISO99 || ISO11] (signgam): Do not allow.
5672 [non-C99-based standards] (copysignf): Do not allow.
5673 [non-C99-based standards] (exp2f): Likewise.
5674 [non-C99-based standards] (log2f): Likewise.
5675 [non-C99-based standards] (modff): Allow.
5676 [non-C99-based standards] (erff): Do not allow.
5677 [non-C99-based standards] (erfcf): Likewise.
5678 [non-C99-based standards] (gammaf): Likewise.
5679 [non-C99-based standards] (hypotf): Likewise.
5680 [non-C99-based standards] (j0f): Likewise.
5681 [non-C99-based standards] (j1f): Likewise.
5682 [non-C99-based standards] (jnf): Likewise.
5683 [non-C99-based standards] (lgammaf): Likewise.
5684 [non-C99-based standards] (tgammaf): Likewise.
5685 [non-C99-based standards] (y0f): Likewise.
5686 [non-C99-based standards] (y1f): Likewise.
5687 [non-C99-based standards] (ynf): Likewise.
5688 [non-C99-based standards] (isnanf): Likewise.
5689 [non-C99-based standards] (acoshf): Likewise.
5690 [non-C99-based standards] (asinhf): Likewise.
5691 [non-C99-based standards] (atanhf): Likewise.
5692 [non-C99-based standards] (cbrtf): Likewise.
5693 [non-C99-based standards] (expm1f): Likewise.
5694 [non-C99-based standards] (ilogbf): Likewise.
5695 [non-C99-based standards] (log1pf): Likewise.
5696 [non-C99-based standards] (logbf): Likewise.
5697 [non-C99-based standards] (nextafterf): Likewise.
5698 [non-C99-based standards] (remainderf): Likewise.
5699 [non-C99-based standards] (rintf): Likewise.
5700 [non-C99-based standards] (scalbf): Likewise.
5701 [non-C99-based standards] (copysignl): Likewise.
5702 [non-C99-based standards] (exp2l): Likewise.
5703 [non-C99-based standards] (log2l): Likewise.
5704 [non-C99-based standards] (modfl): Allow.
5705 [non-C99-based standards] (erfl): Do not allow.
5706 [non-C99-based standards] (erfcl): Likewise.
5707 [non-C99-based standards] (gammal): Likewise.
5708 [non-C99-based standards] (hypotl): Likewise.
5709 [non-C99-based standards] (j0l): Likewise.
5710 [non-C99-based standards] (j1l): Likewise.
5711 [non-C99-based standards] (jnl): Likewise.
5712 [non-C99-based standards] (lgammal): Likewise.
5713 [non-C99-based standards] (tgammal): Likewise.
5714 [non-C99-based standards] (y0l): Likewise.
5715 [non-C99-based standards] (y1l): Likewise.
5716 [non-C99-based standards] (ynl): Likewise.
5717 [non-C99-based standards] (isnanl): Likewise.
5718 [non-C99-based standards] (acoshl): Likewise.
5719 [non-C99-based standards] (asinhl): Likewise.
5720 [non-C99-based standards] (atanhl): Likewise.
5721 [non-C99-based standards] (cbrtl): Likewise.
5722 [non-C99-based standards] (expm1l): Likewise.
5723 [non-C99-based standards] (ilogbl): Likewise.
5724 [non-C99-based standards] (log1pl): Likewise.
5725 [non-C99-based standards] (logbl): Likewise.
5726 [non-C99-based standards] (nextafterl): Likewise.
5727 [non-C99-based standards] (remainderl): Likewise.
5728 [non-C99-based standards] (rintl): Likewise.
5729 [non-C99-based standards] (scalbl): Likewise.
5730 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5731 [non-C99-based standards] (FP_*): Do not allow.
5732 [C99-based standards] (FP_*): Change to
5733 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5734 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5736 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5737 (SIG_ERR): Likewise.
5738 [X/Open-based standards] (SIG_HOLD): Likewise.
5739 (SIG_IGN): Likewise.
5740 (SIGABRT): Use macro-int-constant. Specify type. Require
5745 (SIGSEGV): Likewise.
5747 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5748 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5749 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5750 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5751 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5752 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5753 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5754 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5755 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5756 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5757 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5758 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5759 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5760 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5761 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5762 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5763 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5764 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5765 [X/Open-based standards] (SIGTRAP): Likewise.
5766 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5767 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5768 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5769 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5770 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5773 2012-05-08 Ian Wienand <ianw@vmware.com>
5776 * time/tzset.c (__tzset_parse_tz): Update default rules for
5777 daylight time changes in the Energy Policy Act of 2005.
5779 2012-05-09 Andreas Jaeger <aj@suse.de>
5782 * elf/ldconfig.c (parse_conf): Change string to make clear that
5783 ldconfig only issued a warning if ld.so.conf does not exist.
5785 2012-05-08 David S. Miller <davem@davemloft.net>
5787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5788 movxtod instead of popping the value on the stack.
5790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5792 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5794 * config.h.in: Add HAVE_ARM_PCS_VFP.
5796 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
5799 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5800 checking but the checks are disabled for any reason.
5802 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5804 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5805 and ELF64_R_TYPE with ELFW(R_TYPE).
5807 2012-05-08 Joseph Myers <joseph@codesourcery.com>
5809 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5812 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5813 (settimeofday): Likewise.
5815 2012-05-08 Mike Frysinger <vapier@gentoo.org>
5817 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5818 a struct th_u2 inside the union, and move tu_block/tu_code into
5819 a new th_u3 union of tu_block/tu_code inside of that. Move
5820 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5821 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5822 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5823 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5824 (th_stuff): Change to th_u1.tu_stuff.
5826 (th_msg): Change to th_u1.th_u2.tu_data.
5828 2012-05-07 David S. Miller <davem@davemloft.net>
5830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5833 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5834 (SETUP_PIC_REG): Use it.
5835 (SETUP_PIC_REG_LEAF): Use it.
5837 2012-05-07 Joseph Myers <joseph@codesourcery.com>
5841 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5843 (EXPL_FINITE): Likewise.
5845 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5846 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5848 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5850 (EXPL_FINITE): Likewise.
5852 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5853 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5855 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5856 test of -max_value argument for long double.
5857 * sysdeps/i386/fpu/libm-test-ulps: Update.
5858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5860 2012-05-06 David S. Miller <davem@davemloft.net>
5862 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5863 quad soft-float symbols whose references which are compiler
5865 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5867 2012-05-06 Joseph Myers <joseph@codesourcery.com>
5871 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5873 (EXPL_FINITE): Likewise.
5877 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5878 Adjust comments for base varying.
5879 (__expl_finite): Change alias to EXPL_FINITE.
5880 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5882 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5883 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5884 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5885 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5886 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5888 (EXPL_FINITE): Likewise.
5892 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5893 Adjust comments for base varying.
5894 (__expl_finite): Change alias to EXPL_FINITE.
5895 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5900 * math/libm-test.inc (check_float_internal): Correct ulp
5901 calculation for subnormal expected results.
5903 2012-05-06 Andreas Jaeger <aj@suse.de>
5905 * Makeconfig (+math-flags): New, set to -frounding-math.
5906 (+cflags): Add +math-flags so that all of glibc gets compiled with
5909 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5911 2012-05-05 Joseph Myers <joseph@codesourcery.com>
5913 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5919 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5920 (__ieee754_expl): Allow for and saturate large arguments.
5921 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5922 (u_threshold): Likewise.
5923 (__exp): Call __ieee754_exp before checking for overflow and
5925 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5926 (u_threshold): Likewise.
5927 (__expf): Call __ieee754_expf before checking for overflow and
5929 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5930 (u_threshold): Likewise.
5931 (__expl): Call __ieee754_expl before checking for overflow and
5933 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5934 (__ieee754_expl): Allow for and saturate large arguments.
5935 * math/libm-test.inc (exp_test): Add another test. Do not allow
5936 missing overflow exception on overflow.
5937 (expm1_test): Do not allow missing overflow exception on overflow.
5939 * sysdeps/i386/fpu/e_expl.c: Move to ...
5940 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5941 rather than using inline asm.
5942 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5943 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5944 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5946 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5953 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5955 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5956 sysdeps/unix/common/syscalls.list.
5959 (ftruncate): Likewise.
5960 (getrusage): Likewise.
5961 (gettimeofday): Likewise.
5962 (setpgid): Likewise.
5963 (setregid): Likewise.
5964 (setreuid): Likewise.
5965 (sigaction): Likewise.
5966 (truncate): Likewise.
5967 (vhangup): Likewise.
5968 * sysdeps/unix/common/syscalls.list: Remove file.
5969 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5970 * sysdeps/unix/sysv/linux/Implies: Likewise.
5972 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5974 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5976 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5980 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5983 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5986 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5989 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5992 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5995 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5998 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6002 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6006 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6009 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6013 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6017 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6019 * sysdeps/unix/common/bits/dirent.h: Remove file.
6020 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6022 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6023 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6024 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6025 * sysdeps/unix/bsd/isatty.c: Likewise.
6026 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6027 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6028 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6030 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6033 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6034 long double comparison inaccuracies.
6035 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6038 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6040 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6041 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6043 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6046 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6047 nonzero digits before rounding a hex value.
6048 * stdlib/tst-strtod.c (tests): Add another test.
6050 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6052 * sysdeps/s390/fpu/libm-test-ulps: Update.
6054 2012-05-03 Andreas Jaeger <aj@suse.de>
6056 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6057 does not get optimized out.
6058 (malloc_opt_barrier): New.
6060 2012-05-03 Andreas Jaeger <aj@suse.de>
6061 Roland McGrath <roland@hack.frob.com>
6063 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6064 intermediate file deletion.
6065 (generated): Add .symlist files.
6067 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6070 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6071 Redirect under this condition.
6072 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6073 [__USE_GNU] (__dprintf_chk): Not under this condition.
6074 [__USE_GNU] (__vdprintf_chk): Likewise.
6075 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6076 under this condition.
6077 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6078 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6079 [__USE_XOPEN2K8] (vdprintf): Likewise.
6080 [__USE_GNU] (__dprintf_chk): Not under this condition.
6081 [__USE_GNU] (__vdprintf_chk): Likewise.
6082 [__USE_GNU] (dprintf): Likewise.
6083 [__USE_GNU] (vdprintf): Likewise.
6085 2012-05-03 Roland McGrath <roland@hack.frob.com>
6087 * elf/Makefile (common-generated): Set this instead of generated for
6088 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6089 $(all-built-dso)-derived lists.
6091 2012-05-03 Andreas Jaeger <aj@suse.de>
6093 * sysdeps/i386/fpu/libm-test-ulps: Update.
6097 * scripts/gen-FAQ.pl: Likewise.
6098 * manual/install.texi (Installation): Point to online location of
6100 * Makefile (files-for-dist): Remove FAQ.
6103 2012-05-02 Allan McRae <allan@archlinux.org>
6105 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6106 (LDFLAGS-reldepmod5.so): Likewise.
6107 (LDFLAGS-reldep6mod1.so): Likewise.
6108 (LDFLAGS-reldep6mod4.so): Likewise.
6109 (LDFLAGS-reldep8mod3.so): Likewise.
6110 (LDFLAGS-unload4mod1.so): Likewise.
6111 (LDFLAGS-unload4mod2.so): Likewise.
6112 (LDFLAGS-tst-initorder): Likewise.
6113 (LDFLAGS-tst-initordera2.so): Likewise.
6114 (LDFLAGS-tst-initordera3.so): Likewise.
6115 (LDFLAGS-tst-initordera4.so): Likewise.
6116 (LDFLAGS-tst-initorderb2.so): Likewise.
6117 (LDFLAGS-noload): Likewise.
6118 (LDFLAGS-next): Likewise.
6119 (LDFLAGS-order2mod1.so): Likewise.
6120 (LDFLAGS-order2mod2.so): Likewise.
6121 (LDFLAGS-tst-initorder2): Likewise.
6122 (LDFLAGS-tst-initorder2a.so): Likewise.
6123 (LDFLAGS-tst-initorder2b.so): Likewise.
6124 (LDFLAGS-tst-initorder2c.so): Likewise.
6125 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6127 2012-05-02 David S. Miller <davem@davemloft.net>
6129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6131 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6134 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6136 2012-05-02 Andreas Jaeger <aj@suse.de>
6138 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6139 since we manipulate rounding mode.
6140 (CPPFLAGS-test-idouble.c): Likewise.
6141 (CPPFLAGS-test-ifloat.c): Likewise.
6142 (CFLAGS-test-ldouble.c): Likewise.
6143 (CFLAGS-test-double.c): Likewise.
6144 (CFLAGS-test-float.c): Likewise.
6145 (CFLAGS-test-misc.c): Likewise.
6146 (CFLAGS-test-test-fenv.c): Likewise.
6148 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6152 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6153 comparisons to determine direction to adjust input.
6155 2012-05-01 Roland McGrath <roland@hack.frob.com>
6157 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6158 output to the target.
6160 * scripts/localplt.awk: New file.
6161 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6162 (check-localplt-CFLAGS): Variable removed.
6163 ($(all-built-dso:=.jmprel)): New static pattern rule.
6164 (generated): Add those targets.
6165 (localplt-built-dso): New variable.
6166 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6168 * elf/check-localplt.c: File removed.
6170 * scripts/check-execstack.awk: New file.
6171 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6172 (check-execstack-CFLAGS): Variable removed.
6173 ($(objpfx)check-execstack.h): Target removed.
6174 ($(objpfx)execstack-default): New target.
6175 (generated): Add that instead of check-execstack.h.
6176 ($(all-built-dso:=.phdr)): New static pattern rule.
6177 (generated): Add those targets.
6178 * elf/check-execstack.c: File removed.
6180 * scripts/check-textrel.awk: New file.
6181 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6182 (check-textrel-CFLAGS): Variable removed.
6183 (all-built-dso): Use := to define.o
6184 ($(all-built-dso:=.dyn)): New static pattern rule.
6185 (generated): Add those targets.
6186 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6187 * config.make.in (READELF): New substituted variable.
6188 * elf/check-textrel.c: File removed.
6190 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6192 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6194 * conform/data/ctype.h-data [C99-based standards] (isblank):
6196 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6197 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6198 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6199 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6200 Specify type. Require positive value.
6203 [ISO || POSIX] (EILSEQ): Do not expect.
6204 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6205 Specify type. Require positive value.
6206 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6207 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6208 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6209 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6210 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6211 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6212 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6213 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6214 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6215 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6216 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6217 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6218 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6219 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6220 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6221 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6222 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6223 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6224 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6225 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6226 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6227 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6228 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6229 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6230 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6231 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6232 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6233 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6234 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6235 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6236 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6237 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6238 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6239 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6240 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6241 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6242 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6243 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6244 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6245 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6246 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6247 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6248 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6249 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6250 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6251 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6252 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6253 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6254 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6255 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6256 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6257 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6258 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6259 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6260 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6261 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6262 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6263 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6264 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6265 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6266 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6267 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6268 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6269 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6270 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6271 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6272 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6273 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6274 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6275 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6276 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6277 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6278 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6279 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6280 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6281 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6282 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6284 (FLT_ROUNDS): Expect as macro, not constant.
6285 (FLT_MANT_DIG): Use macro-int-constant.
6286 (DBL_MANT_DIG): Likewise.
6287 (LDBL_MANT_DIG): Likewise.
6288 (FLT_DIG): Likewise.
6289 (DBL_DIG): Likewise.
6290 (LDBL_DIG): Likewise.
6291 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6292 (DBL_MIN_EXP): Likewise.
6293 (LDBL_MIN_EXP): Likewise.
6294 (FLT_MAX_EXP): Use macro-int-constant.
6295 (DBL_MAX_EXP): Likewise.
6296 (LDBL_MAX_EXP): Likewise.
6297 (FLT_MAX_10_EXP): Likewise.
6298 (DBL_MAX_10_EXP): Likewise.
6299 (LDBL_MAX_10_EXP): Likewise.
6300 (FLT_MAX): Use macro-constant.
6301 (DBL_MAX): Likewise.
6302 (LDBL_MAX): Likewise.
6303 (FLT_EPSILON): Use macro-constant. Give upper bound.
6304 (DBL_EPSILON): Likewise.
6305 (LDBL_EPSILON): Likewise.
6306 (FLT_MIN): Likewise.
6307 (DBL_MIN): Likewise.
6308 (LDBL_MIN): Likewise.
6309 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6310 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6311 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6312 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6313 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6314 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6315 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6316 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6317 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6318 [ISO11] (FLT_TRUE_MIN): Likewise.
6319 [ISO11] (LDBL_TRUE_MIN): Likewise.
6320 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6321 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6322 (SCHAR_MIN): Use macro-int-constant. Specify type.
6323 (SCHAR_MAX): Likewise.
6324 (UCHAR_MAX): Likewise.
6325 (CHAR_MIN): Likewise.
6326 (CHAR_MAX): Likewise.
6327 (MB_LEN_MAX): Use macro-int-constant.
6328 (SHRT_MIN): Use macro-int-constant. Specify type.
6329 (SHRT_MAX): Likewise.
6330 (USHRT_MAX): Likewise.
6331 (INT_MAX): Likewise.
6332 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6334 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6336 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6338 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6339 bound negative. Suffix upper bound with "L".
6340 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6342 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6344 [C99-based standards] (LLONG_MAX): Likewise.
6345 [C99-based standards] (ULLONG_MAX): Likewise.
6346 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6348 [ISO11] (max_align_t): Require type.
6349 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6351 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6352 from $CFLAGS, without defining away __attribute__ calls.
6353 (checknamespace): Use $CFLAGS_namespace.
6355 * conform/conformtest.pl (@keywords): Only include C99 keywords
6356 for standards based on C99 or C11.
6358 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6360 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6363 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6364 usability of symbols in #if.
6366 * conform/conformtest.pl: If macro or constant types start
6367 "promoted:", expect the symbol to be of the following type
6368 promoted by the integer promotions.
6370 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6371 in one place. Also handle "macro-constant".
6373 * conform/conformtest.pl: Only accept expected macro values with
6374 "==". Parse all "macro" lines in one place.
6375 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6377 * conform/conformtest.pl: Handle braced types on "constant" lines
6378 instead of handling "typed-constant".
6379 * conform/data/signal.h-data: Use "constant" instead of
6382 * conform/conformtest.pl: Handle "optional-" at start of lines in
6383 one place rather than duplicating several cases. Handle each
6384 format of "macro" line with initial "optional-".
6386 * conform/conformtest.pl: Only accept expected constant or
6387 optional-constant values with "==". Parse all "constant" lines in
6388 one place. Parse all "optional-constant" lines in one place.
6389 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6390 * conform/data/fmtmsg.h-data: Likewise.
6391 * conform/data/netinet/in.h-data: Likewise.
6392 * conform/data/tar.h-data: Likewise.
6393 * conform/data/limits.h-data: Use "==" form on "constant" and
6394 "optional-constant" lines.
6396 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6397 Use -std=c99 for XOPEN2K.
6398 (@knownproblems): Remove.
6399 (newtoken): Don't check %isknown.
6401 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6402 Do not expect macro.
6403 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6404 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6405 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6406 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6407 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6408 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6409 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6410 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6411 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6412 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6413 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6414 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6415 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6416 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6417 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6418 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6419 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6420 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6421 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6422 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6423 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6424 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6425 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6426 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6427 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6428 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6429 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6430 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6431 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6432 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6433 [XPG3] (acosh): Likewise.
6434 [XPG3] (asinh): Likewise.
6435 [XPG3] (atanh): Likewise.
6436 [XPG3] (cbrt): Likewise.
6437 [XPG3] (expm1): Likewise.
6438 [XPG3] (ilogb): Likewise.
6439 [XPG3] (log1p): Likewise.
6440 [XPG3] (logb): Likewise.
6441 [XPG3] (nextafter): Likewise.
6442 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6443 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6444 [XPG3] (remainder): Likewise.
6445 [XPG3] (rint): Likewise.
6446 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6447 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6448 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6449 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6450 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6451 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6452 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6453 [UNIX98 || XOPEN2K] (scalb): Expect.
6454 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6455 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6456 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6457 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6458 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6459 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6460 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6461 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6462 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6463 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6464 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6465 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6466 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6467 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6468 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6469 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6470 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6471 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6472 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6473 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6474 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6475 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6476 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6477 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6478 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6479 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6480 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6481 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6482 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6483 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6484 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6485 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6486 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6487 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6488 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6489 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6490 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6491 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6492 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6493 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6494 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6495 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6496 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6497 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6498 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6499 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6500 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6501 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6502 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6503 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6504 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6505 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6506 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6507 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6508 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6509 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6510 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6511 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6512 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6513 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6514 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6515 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6516 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6517 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6518 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6519 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6520 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6521 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6522 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6523 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6524 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6525 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6526 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6527 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6528 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6529 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6530 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6531 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6532 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6533 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6534 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6535 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6536 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6537 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6538 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6539 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6540 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6541 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6542 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6543 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6544 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6545 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6546 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6547 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6548 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6549 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6550 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6551 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6552 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6553 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6554 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6555 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6556 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6557 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6558 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6559 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6560 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6561 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6562 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6563 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6564 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6565 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6566 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6567 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6568 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6569 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6570 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6571 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6572 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6573 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6574 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6575 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6576 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6577 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6578 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6579 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6580 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6581 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6582 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6583 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6584 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6585 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6586 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6587 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6588 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6589 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6590 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6592 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6593 _XOPEN_SOURCE_EXTENDED for XPG4.
6595 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6597 * Makeconfig (localtime): Remove variable.
6598 (inst_localtime-file): Likewise.
6600 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6621 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6625 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6626 comparisons to determine direction to adjust input.
6627 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6628 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6629 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6631 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6633 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6635 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6636 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6638 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6640 * math/libm-test.inc (nexttoward_test): Add more tests.
6642 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6645 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6646 in version GLIBC_2.1, not GLIBC_2.0.
6647 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6650 2012-04-30 Joseph Myers <joseph@codesourcery.com>
6653 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6655 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6656 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6657 * math/libm-test.inc (acos_test): Add more tests.
6658 (asin_test): Likewise.
6659 * sysdeps/i386/fpu/libm-test-ulps: Update.
6660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6663 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6665 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6666 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6667 * math/libm-test.inc (acos_test_tonearest): New function.
6668 (acos_test_towardzero): Likewise.
6669 (acos_test_downward): Likewise.
6670 (acos_test_upward): Likewise.
6671 (asin_test_tonearest): Likewise.
6672 (asin_test_towardzero): Likewise.
6673 (asin_test_downward): Likewise.
6674 (asin_test_upward): Likewise.
6675 (main): Call the new functions.
6676 * sysdeps/i386/fpu/libm-test-ulps: Update.
6677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6681 * math/e_exp10.c: Include <float.h>.
6682 (__ieee754_exp10): Handle underflow here rather than multiplying
6683 large negative argument by M_LN10.
6684 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6686 * math/e_exp10l.c: Include <float.h>.
6687 (__ieee754_exp10l): Handle underflow here rather than multiplying
6688 large negative argument by M_LN10l.
6689 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6690 spurious overflow exception on underflow.
6692 2012-04-29 Marek Polacek <polacek@redhat.com>
6694 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6695 (__fortify_function): New macro.
6696 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6697 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6698 __extern_always_inline.
6699 * libio/bits/stdio2.h: Likewise.
6700 * libio/bits/stdio.h: Likewise.
6701 * string/string.h: Likewise.
6702 * string/bits/string3.h: Likewise.
6703 * include/stdio.h: Likewise.
6704 * stdlib/bits/stdlib.h: Likewise.
6705 * stdlib/stdlib.h: Likewise.
6706 * rt/bits/mqueue2.h: Likewise.
6707 * rt/mqueue.h: Likewise.
6708 * posix/bits/unistd.h: Likewise.
6709 * posix/unistd.h: Likewise.
6710 * io/bits/poll2.h: Likewise.
6711 * io/bits/fcntl2.h: Likewise.
6712 * io/fcntl.h: Likewise.
6713 * io/sys/poll.h: Likewise.
6714 * misc/bits/syslog.h: Likewise.
6715 * misc/bits/syslog-ldbl.h: Likewise.
6716 * misc/sys/syslog.h: Likewise.
6717 * socket/bits/socket2.h: Likewise.
6718 * socket/sys/socket.h: Likewise.
6719 * debug/tst-chk1.c: Likewise.
6720 * wcsmbs/bits/wchar2.h: Likewise.
6721 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6722 * wcsmbs/wchar.h: Likewise.
6724 2012-04-29 Andreas Jaeger <aj@suse.de>
6726 * Makerules (tests): Remove enable-check-abi protection.
6727 (check-abi-warn): Remove.
6728 (check-abi-%): Remove check-abi-warn usage.
6730 * configure.in: Remove check-abi configure option.
6731 * configure: Regenerated.
6732 * config.make.in (enable-check-abi): Remove.
6734 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6737 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6738 double functions to double *_finite functions.
6741 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6742 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6744 * stdio-common/Makefile (tests): Add tst-sprintf3.
6745 * stdio-common/tst-sprintf3.c: New file.
6747 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6748 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6750 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6752 * conform/conformtest.pl: Remove duplicate typed-constant
6755 2012-04-28 David S. Miller <davem@davemloft.net>
6757 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6758 (check-abi-%): Remove AWK script prerequisite and explicit
6760 (check-abi): Rewrite to just diff the symlist with the abilist.
6761 (config-tls, config-abi-config): Delete, no longer used.
6762 (update-abi-%): Remove AWK script and explicit abilist directory.
6763 (update-abi): Rewrite to simply compare and conditionally copy the
6764 symlist and the sysdep abilist file. Remove update-abi-config
6766 * abilist/ld.abilist: Remove.
6767 * abilist/libBrokenLocale.abilist: Remove.
6768 * abilist/libanl.abilist: Remove.
6769 * abilist/libcrypt.abilist: Remove.
6770 * abilist/libdl.abilist: Remove.
6771 * abilist/librt.abilist: Remove.
6772 * abilist/libthread_db.abilist: Remove.
6773 * abilist/libutil.abilist: Remove.
6774 * scripts/extract-abilist.awk: Remove.
6775 * scripts/merge-abilist.awk: Remove.
6776 * sysdeps/generic/libcidn.abilist: New file.
6777 * sysdeps/generic/libnss_compat.abilist: New file.
6778 * sysdeps/generic/libnss_db.abilist: New file.
6779 * sysdeps/generic/libnss_dns.abilist: New file.
6780 * sysdeps/generic/libnss_files.abilist: New file.
6781 * sysdeps/generic/libnss_hesiod.abilist: New file.
6782 * sysdeps/generic/libnss_nis.abilist: New file.
6783 * sysdeps/generic/libnss_nisplus.abilist: New file.
6784 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6785 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6786 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6788 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6789 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6790 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6791 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6792 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6793 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6794 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6795 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6796 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6798 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6799 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6800 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6801 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6803 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6804 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6805 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6806 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6807 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6808 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6810 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6811 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6812 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6814 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6917 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6918 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6919 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6921 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6922 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6923 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6924 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6925 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6926 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6927 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6928 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6929 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6930 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6982 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6984 * conform/conformtest.pl: Fix typo in handling typed-constant from
6987 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6989 * README: Cut down references to pre-2.6 Linux kernels and
6990 Linuxthreads. Update lists of configurations in libc and ports
6991 and sort alphabetically. Say "or newer" with Linux kernel version
6994 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6996 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6999 * math/libm-test.inc (logb_test_downward): New test to expose
7000 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7003 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7006 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7008 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7009 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7011 2012-04-26 Joseph Myers <joseph@codesourcery.com>
7013 * sysdeps/unix/i386/brk.S: Remove file.
7014 * sysdeps/unix/i386/dl-brk.S: Likewise.
7015 * sysdeps/unix/i386/pipe.S: Likewise.
7016 * sysdeps/unix/i386/sigreturn.S: Likewise.
7017 * sysdeps/unix/i386/syscall.S: Likewise.
7018 * sysdeps/unix/i386/vfork.S: Likewise.
7019 * sysdeps/unix/i386/wait.S: Likewise.
7021 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7022 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7024 * configure.in (arm*-none*): Do not allow without
7025 --enable-hacker-mode.
7026 (netbsd*): Remove case setting base_os.
7027 (386bsd*): Likewise.
7028 (freebsd*): Likewise.
7032 (ultrix*): Likewise.
7033 (newsos*): Likewise.
7043 (solaris[2-9]*): Likewise.
7045 * configure: Regenerated.
7047 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7050 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7051 overflow or cancellation in calculating denominator.
7052 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7053 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7054 down expression to avoid unexpected rounding in newer GCCs.
7055 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7057 2012-04-26 David S. Miller <davem@davemloft.net>
7059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7060 long-double compat symbols.
7061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7075 2012-04-25 David S. Miller <davem@davemloft.net>
7077 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7078 HWCAP_* values only after the memory barriers have been defined.
7079 (atomic_full_barrier): Define.
7080 (atomic_read_barrier): Define.
7081 (atomic_write_barrier): Define.
7083 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7085 * shlib-versions: Add libgcc_s version information.
7086 * sysdeps/generic/libgcc_s.h: Remove.
7087 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7089 * sysdeps/gnu/unwind-resume.c: Likewise.
7090 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7092 2012-04-25 David S. Miller <davem@davemloft.net>
7094 * sysdeps/unix/sparc/brk.S: Delete.
7095 * sysdeps/unix/sparc/dl-brk.S: Delete.
7096 * sysdeps/unix/sparc/pipe.S: Delete.
7097 * sysdeps/unix/sparc/sysdep.S: Delete.
7098 * sysdeps/unix/sparc/sysdep.h: Delete.
7099 * sysdeps/unix/sparc/vfork.S: Delete.
7100 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7101 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7102 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7103 ret_ERRVAL, r0, r1, MOVE): Define.
7104 (JUMPTARGET): Remove.
7105 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7106 sysdeps/unix/sparc/sysdep.h
7107 (ENTRY, END): Remove.
7108 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7110 2012-04-25 Joseph Myers <joseph@codesourcery.com>
7112 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7113 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7116 * timezone/README: Update upstream location and email address for
7118 * timezone/zdump.c: Update from tzcode 2012b.
7119 * timezone/zic.c: Likewise.
7121 * configure.in (libc_cv_as_needed): Remove test.
7122 * configure: Regenerated.
7123 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7124 conditional definition.
7125 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7126 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7127 * config.make.in (have-as-needed): Remove variable.
7129 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7130 Paul Pluzhnikov <ppluzhnikov@google.com>
7132 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7135 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7137 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7138 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7139 * sysdeps/sh/strlen.S: Likewise.
7141 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7143 * sysdeps/unix/fork.S: Remove file.
7144 * sysdeps/unix/i386/fork.S: Likewise.
7145 * sysdeps/unix/sparc/fork.S: Likewise.
7147 * sysdeps/unix/system.c: Remove file.
7148 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7150 * sysdeps/unix/getegid.S: Remove file.
7151 * sysdeps/unix/geteuid.S: Likewise.
7153 2012-04-24 Roland McGrath <roland@hack.frob.com>
7155 * scripts/check-localplt.awk: New file.
7156 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7158 * scripts/data/localplt-generic.data: Add a comment.
7160 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7161 NODE when __dir_mkfile failed.
7162 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7163 Reported by Ludovic Courtès <ludo@gnu.org>.
7165 2012-04-24 Andreas Jaeger <aj@suse.de>
7167 * Makerules (common-clean): Also remove gen-as-const-headers
7170 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7172 * Makerules (native-compile): Do not change working directory for
7173 build. Use $(OUTPUT_OPTION) in command.
7174 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7176 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7179 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7180 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7181 * math/libm-test.inc (floor_test): Add more tests.
7182 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7184 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7186 * sysdeps/unix/getdents.c: Remove file.
7187 * sysdeps/unix/sysv/getdents.c: Likewise.
7188 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7190 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7191 sysdeps/unix/mman/syscalls.list.
7193 (mprotect): Likewise.
7196 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7197 * sysdeps/unix/mman/syscalls.list: Remove.
7198 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7200 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7201 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7202 * configure: Regenerated.
7203 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7205 * config.make.in (libgcc_s_suffix): Remove variable.
7207 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7209 * sysdeps/unix/sysv/gethostname.c: Move to ...
7210 * sysdeps/posix/gethostname.c: ... here.
7212 * sysdeps/unix/execve.S: Remove file.
7214 * sysdeps/unix/_exit.S: Remove file.
7216 2012-04-23 Andreas Jaeger <aj@suse.de>
7219 * manual/Makefile: Remove make dist support, there's no
7220 need for a stand-alone documentation tar ball.
7221 (TEXI2DVI): Define always, it's not in Makeconfig.
7225 (glibc-doc-$(edition).tar): Removed
7229 (ETAGS): Remove, it's in Makeconfig.
7230 (move-if-change): Remove, it's in Makeconfig.
7232 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7235 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7236 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7237 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7238 (strtod_l, strtof_l, strtold_l): Remove __wur.
7239 It is not necessarily an error to ignore strtol's return value.
7240 One can reliably look at the stored endptr to decide whether
7241 the number had valid syntax.
7243 2012-04-21 Andreas Jaeger <aj@suse.de>
7246 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7248 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7250 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7251 * sysdeps/unix/sysv/Versions: Remove file.
7253 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7256 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7258 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7261 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7262 version from __vm86.
7264 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7266 * sysdeps/unix/common/lxstat.c: Remove file.
7267 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7269 * sysdeps/unix/sysv/Makefile: Remove file.
7271 * sysdeps/unix/sysv/direct.h: Remove file.
7273 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7274 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7275 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7276 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7277 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7278 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7279 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7281 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7283 * sysdeps/unix/xmknod.c: Remove file.
7284 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7286 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7288 * sysdeps/unix/sysv/i386/time.S: Remove file.
7290 * sysdeps/unix/fxstat.c: Remove file.
7291 * sysdeps/unix/xstat.c: Likewise.
7292 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7294 * sysdeps/unix/sysv/sigaction.c: Remove file.
7296 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7297 (sysdep_headers): Remove variable.
7298 [termio.h not in sysdep_headers] (generated): Likewise.
7299 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7300 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7301 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7302 * sysdeps/unix/sysv/tcflow.c: Likewise.
7303 * sysdeps/unix/sysv/tcflush.c: Likewise.
7304 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7305 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7306 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7307 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7308 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7310 * sysdeps/unix/siglist.c: Remove file.
7312 * sysdeps/unix/getppid.S: Remove file.
7314 * sysdeps/unix/mkdir.c: Remove file.
7315 * sysdeps/unix/rmdir.c: Likewise.
7317 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7319 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7321 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7322 errlist-compat value.
7324 2012-04-18 David S. Miller <davem@davemloft.net>
7326 * sysdeps/generic/memcopy.h (reg_char): Delete.
7327 * debug/strcat_chk.c: Use char, not reg_char.
7328 * debug/strcpy_chk.c: Likewise.
7329 * debug/strncat_chk.c: Likewise.
7330 * debug/strncpy_chk.c: Likewise.
7331 * string/memchr.c: Likewise.
7332 * string/memrchr.c: Likewise.
7333 * string/rawmemchr.c: Likewise.
7334 * string/strcat.c: Likewise.
7335 * string/strchr.c: Likewise.
7336 * string/strchrnul.c: Likewise.
7337 * string/strcmp.c: Likewise.
7338 * string/strcpy.c: Likewise.
7339 * string/strncat.c: Likewise.
7340 * string/strncmp.c: Likewise.
7341 * string/strncpy.c: Likewise.
7343 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7345 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7346 __builtin_memcopy is called when src and dest ranges are known to not
7349 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7351 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7352 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7353 fwd_align_merge macro call.
7354 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7355 bwd_align_merge macro call.
7356 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7358 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7360 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7361 bwd_align_merge macros.
7362 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7363 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7364 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7366 2012-04-18 David S. Miller <davem@davemloft.net>
7368 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7370 2012-04-18 Andreas Jaeger <aj@suse.de>
7373 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7374 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7375 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7377 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7378 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7379 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7381 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7382 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7383 Adjust for changed ldbl-128 files.
7385 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7386 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7387 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7389 2012-04-17 David S. Miller <davem@davemloft.net>
7391 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7393 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7395 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7396 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7397 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7398 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7399 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7400 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7402 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7405 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7406 * math/libm-test.inc: Add ilogb errno and exception tests.
7407 * math/w_ilogb.c: New file: ilogb wrapper.
7408 * math/w_ilogbf.c: New file: ilogbf wrapper.
7409 * math/w_ilogbl.c: New file: ilogbl wrapper.
7410 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7411 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7412 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7413 exception being thrown with 0.0 as argument.
7414 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7415 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7416 exception being thrown with 0.0 as argument.
7417 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7418 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7419 exception being thrown with 0.0 as argument.
7420 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7421 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7422 exception being thrown with 0.0 as argument.
7423 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7424 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7425 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7426 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7427 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7428 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7429 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7430 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7431 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7433 2012-04-17 Petr Baudis <pasky@ucw.cz>
7435 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7438 2012-04-16 Marek Polacek <polacek@redhat.com>
7440 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7442 2012-04-16 Marek Polacek <polacek@redhat.com>
7444 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7445 operands of fdivp instruction.
7447 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7449 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7450 * elf/tst-auditmod3b.c: Likewise.
7451 * elf/tst-auditmod4b.c: Likewise.
7452 * elf/tst-auditmod5b.c: Likewise.
7453 * elf/tst-auditmod6b.c: Likewise.
7454 * elf/tst-auditmod6c.c: Likewise.
7455 * elf/tst-auditmod7b.c: Likewise.
7456 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7457 * sysdeps/x86_64/preconfigure.in: Likewise.
7458 * sysdeps/x86_64/preconfigure: Regenerated.
7460 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7462 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7465 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
7467 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7468 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7470 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7473 * locale/iso-639.def: Fix gl language name. Spotted by
7476 2012-04-12 Roland McGrath <roland@hack.frob.com>
7479 * libio/libio.h (__io_write_fn): Update comment.
7481 2012-04-12 Petr Baudis <pasky@ucw.cz>
7484 * stdio.texi (Hook Functions): The user provided writer function
7485 is not allowed to return -1.
7487 2012-04-11 David S. Miller <davem@davemloft.net>
7489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7491 2012-04-11 Mike Frysinger <vapier@gentoo.org>
7493 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7494 Add a leading slash to rtkaio.
7496 2012-04-11 Jim Meyering <meyering@redhat.com>
7499 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7500 It is not necessarily an error to ignore fwrite's return
7501 value. One can reliably use ferror to test for errors after
7504 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7506 * bits/types.h (__snseconds_t): New type.
7507 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7509 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7510 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7511 (__SNSECONDS_T_TYPE): Likewise.
7512 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7513 (__SNSECONDS_T_TYPE): Likewise.
7514 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7515 (__SNSECONDS_T_TYPE): Likewise.
7517 2012-04-10 Andreas Jaeger <aj@suse.de>
7520 * manual/time.texi (Processor Time): Return type of times is
7521 elapsed real time since an arbitrary point in the past.
7522 (CPU Time): Move CLK_TCK from here...
7523 (Processor Time): ...to here. Correct description.
7524 * manual/conf.texi (Constants for Sysconf): Correct description of
7527 2012-04-10 David S. Miller <davem@davemloft.net>
7530 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7531 where the is a gap between DT_REL(A) and DT_JMPREL.
7533 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7535 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7536 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7537 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7539 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7541 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7542 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7543 (dl_main): Handle --inhibit-cache.
7544 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7546 * elf/dl-load.c (_dl_map_object): Use it.
7547 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7549 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7552 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7553 (__ieee754_powl): Saturate large exponents rather than testing for
7554 overflow of y*log2(x).
7555 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7556 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7560 * math/s_ctan.c: Include <float.h>.
7561 (__ctan): Avoid internal overflow or cancellation in calculating
7563 * math/s_ctanf.c: Likewise.
7564 * math/s_ctanl.c: Likewise.
7565 * math/s_ctanh.c: Likewise.
7566 * math/s_ctanhf.c: Likewise.
7567 * math/s_ctanhl.c: Likewise.
7568 * math/libm-test.inc (ctan_test): Add more tests.
7569 (ctanh_test): Likewise.
7570 * sysdeps/i386/fpu/libm-test-ulps: Update.
7571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7573 2012-04-09 Andreas Jaeger <aj@suse.de>
7576 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7577 is an optional BSD extension.
7580 * manual/stdio.texi (Opening Streams): Document additional fopen
7583 2012-04-09 Roland McGrath <roland@hack.frob.com>
7585 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7586 %eax without telling the compiler.
7588 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7591 * manual/install.texi: Use sourceware.org.
7593 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7596 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7597 (__ieee754_pow): Generate overflow and underflow using huge*huge
7598 and tiny*tiny rather than just returning constant infinity or zero
7599 for large exponents.
7600 * math/libm-test.inc (pow_test): Require overflow exceptions for
7601 applicable cases of large exponents.
7604 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7605 (__ieee754_pow): Use iterative multiplication algorithm only for
7606 integer exponents with absolute value below 1024. Check for odd
7607 integer exponents when using algorithm for real exponents.
7608 * math/libm-test.inc (pow_test): Add more tests.
7609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7611 2012-04-08 Joseph Myers <joseph@codesourcery.com>
7614 * math/libm-test.inc (exp_test): Do not allow overflow exception
7617 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7620 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7621 instead of __kernel_standard_f.
7623 2012-04-08 Mike Frysinger <vapier@gentoo.org>
7625 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7626 * sysdeps/x86_64/memset_chk.S: Likewise.
7628 2012-04-08 Andreas Jaeger <aj@suse.de>
7631 * manual/startup.texi (Environment Access): Describe return value
7632 for putenv and setenv.
7635 * manual/filesys.texi (Directory Entries): Add description for
7639 * manual/filesys.texi (Directory Entries): Clarify that it's file
7640 system not operating system in the description of DT_UNKNOWN.
7643 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7645 2012-04-08 Stephen Compall <s11@member.fsf.org>
7648 * manual/llio.texi (Opening and Closing Files): Add cross
7649 reference to explain mode argument.
7651 2012-04-07 Mike Frysinger <vapier@gentoo.org>
7653 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7654 * sysdeps/x86_64/memset_chk.S: Likewise.
7656 2012-04-07 David S. Miller <davem@davemloft.net>
7658 * elf/elf.h (R_SPARC_WDISP10): Define.
7659 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7661 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7662 R_SPARC_SIZE64 and R_SPARC_H34.
7664 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7666 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7667 conditions and remove no longer applicable assertion.
7669 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7671 * bits/byteswap.h: Include <features.h>.
7672 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7673 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7675 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7677 * bits/byteswap.h (__bswap_16): Removed.
7678 Include <bits/byteswap-16.h> to get __bswap_16.
7679 * sysdeps/i386/bits/byteswap.h: Likewise.
7680 * sysdeps/s390/bits/byteswap.h: Likewise.
7681 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7682 * bits/byteswap-16.h: New file.
7683 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7684 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7685 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7686 * string/Makefile (headers): Add bits/byteswap-16.h.
7688 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7691 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7693 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7694 * nss/tst-nss-static.c: New.
7696 2012-04-06 Robert Millan <rmh@gnu.org>
7699 * manual/llio.texi (File Position Primitive): lseek
7700 refers to WHENCE when it really means OFFSET.
7702 2012-04-06 Andreas Jaeger <aj@suse.de>
7704 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7705 strncmp declarations.
7707 * abilist/libc.abilist: Add __poll and __ppoll.
7709 2012-04-05 David S. Miller <davem@davemloft.net>
7711 * scripts/check-local-headers.sh: Accept a host triplet in the
7712 path matched by the exclude regexp.
7714 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7716 * sysdeps/powerpc/powerpc32/dl-machine.h
7717 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7718 * sysdeps/s390/s390-32/dl-machine.h
7719 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7720 * sysdeps/sparc/sparc32/dl-machine.h
7721 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7722 * sysdeps/sparc/sparc64/dl-machine.h
7723 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7725 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7727 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7728 undefined symbol errors.
7730 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7733 2012-04-05 Michael Matz <matz@suse.de>
7736 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7738 2012-04-05 Andreas Jaeger <aj@suse.de>
7741 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7744 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7746 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7747 which ROUND is no valid rounding mode.
7749 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7751 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7753 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7755 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7757 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7758 an exception using FPU order intentionally.
7760 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7762 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7763 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7764 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7765 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7767 2012-04-05 Simon Josefsson <simon@josefsson.org>
7770 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7771 EINVAL when BUFLEN is too smal.
7773 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7776 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7777 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7779 2012-04-03 Andreas Jaeger <aj@suse.de>
7782 * manual/setjmp.texi (System V contexts): Fix sentence.
7785 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7786 New macro for this case.
7787 [!__GNUC__] (__bswap_64): New inline function for this case.
7788 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7789 * bits/byteswap.h: Likewise.
7790 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7791 ull, guard with __GLIBC_HAVE_LONG_LONG.
7793 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7794 __GLIBC_HAVE_LONG_LONG.
7796 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7797 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7799 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7802 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7803 inptr and inend, rather than using last_ch.
7805 2012-04-02 David S. Miller <davem@davemloft.net>
7807 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7808 * stdio-common/printf-parse.h (read_int): Change return type to
7809 'int', return -1 on INT_MAX overflow.
7810 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7811 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7812 overflows INT_MAX. Check for overflow of in-format-string precision
7813 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7814 SIZE_MAX not INT_MAX for integer overflow test.
7815 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7816 skip the construct in the format string but do not record anything.
7817 * stdio-common/bug22.c: Adjust to test both width/prevision
7818 INT_MAX overflow as well as total length INT_MAX overflow. Check
7819 explicitly for proper errno values.
7821 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7823 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7825 * string/test-strcmp.c [! WIDE]: Likewise.
7826 * time/tst-mktime2.c: Likewise for INT_MAX.
7827 * string/test-string.h: #include <sys/param.h> for MIN.
7829 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7830 * sysdeps/i386/init-first.c (init): Likewise.
7831 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7832 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7833 * sysdeps/sh/init-first.c (init): Likewise.
7835 2012-04-01 Ulrich Drepper <drepper@gmail.com>
7837 * po/ru.po: Update from translation team.
7838 * po/vi.po: Likewise.
7840 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7842 * resolv/nss_dns/dns-host.c: Merge copyright years.
7844 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7846 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7847 Optimize memcpy with prefetch if
7848 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7849 src, dst pointers have unequal 16 byte alignments.
7851 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7854 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7855 from a CNAME entry and return the minimum ttl for the query.
7856 (gaih_getanswer_slice): Likewise.
7858 2012-03-30 Jeff Law <law@redhat.com>
7860 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7862 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7863 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7865 * resolv/nss_dns/dns-host.c: Update copyright year.
7867 2012-03-30 Ulrich Drepper <drepper@gmail.com>
7869 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7870 requests to save a system call. Fix check that all bytes are sent.
7872 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7873 comments for sendmmsg.
7875 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7878 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7879 with only 1 character between 0x0041 and 0x01b0.
7880 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7881 * wcsmbs/tst-mbsnrtowcs.c: New file.
7883 2012-03-29 David S. Miller <davem@davemloft.net>
7885 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7886 small copies by hand.
7888 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7891 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7892 _nss_compat_initgroups_dyn): Fall back to malloc/free
7893 for large group memberships.
7895 2012-03-28 David S. Miller <davem@davemloft.net>
7897 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7898 that branches into memcpy.
7899 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7900 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7901 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7902 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7905 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7907 * sysdeps/sparc/mempcpy.S: New file.
7909 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7910 the IFUNC routine in the libc case.
7911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7913 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7914 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7915 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7916 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7917 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7918 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7919 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7920 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7922 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7923 loop to 256 bytes instead of 64 bytes and fix test signedness.
7925 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7926 * sysdeps/sparc/sparc32/Makefile: rather than here...
7927 * sysdeps/sparc/sparc64/Makefile: and here.
7929 2012-03-28 Ulrich Drepper <drepper@gmail.com>
7931 * malloc/mallocbug.c: Avoid warnings about unused variables.
7933 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7936 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7937 in the right place. Discard and retry query if response is
7938 larger than input buffer size.
7940 2012-03-28 Joseph Myers <joseph@codesourcery.com>
7945 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7946 x for large integer exponent.
7947 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7948 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7949 sign of result as needed afterwards.
7950 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7951 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7952 result for underflowing pow the same as for overflow.
7953 (__kernel_standard_l): Handle powl overflow and underflow here
7954 rather than calling __kernel_standard.
7955 * math/libm-test.inc (pow_test): Add more tests.
7970 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7971 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7972 (__kernel_standard_l): New function.
7973 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7975 * math/w_acosl.c (__acosl): Likewise.
7976 * math/w_asinl.c (__asinl): Likewise.
7977 * math/w_atan2l.c (__atan2l): Likewise.
7978 * math/w_atanhl.c (__atanhl): Likewise.
7979 * math/w_coshl.c (__coshl): Likewise.
7980 * math/w_exp10l.c (__exp10l): Likewise.
7981 * math/w_exp2l.c (__exp2l): Likewise.
7982 * math/w_fmodl.c (__fmodl): Likewise.
7983 * math/w_hypotl.c (__hypotl): Likewise.
7984 * math/w_j0l.c (__j0l, __y0l): Likewise.
7985 * math/w_j1l.c (__j1l, __y1l): Likewise.
7986 * math/w_jnl.c (__jnl, __ynl): Likewise.
7987 * math/w_lgammal.c (__lgammal): Likewise.
7988 * math/w_log10l.c (__log10l): Likewise.
7989 * math/w_log2l.c (__log2l): Likewise.
7990 * math/w_logl.c (__logl): Likewise.
7991 * math/w_powl.c (__powl): Likewise.
7992 * math/w_remainderl.c (__remainderl): Likewise.
7993 * math/w_scalbl.c (sysv_scalbl): Likewise.
7994 * math/w_sinhl.c (__sinhl): Likewise.
7995 * math/w_sqrtl.c (__sqrtl): Likewise.
7996 * math/w_tgammal.c (__tgammal): Likewise.
7997 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7998 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7999 * math/libm-test.inc (acos_test): Add more tests.
8000 (acosh_test): Likewise.
8001 (asin_test): Likewise.
8002 (atanh_test): Likewise.
8003 (exp_test): Likewise.
8004 (exp10_test): Likewise.
8005 (exp2_test): Likewise.
8006 (expm1_test): Likewise.
8007 (lgamma_test): Likewise.
8008 (log_test): Likewise.
8009 (log10_test): Likewise.
8010 (log1p_test): Likewise.
8011 (log2_test): Likewise.
8012 (pow_test): Do not allow some spurious overflow exceptions.
8013 (sqrt_test): Add more tests.
8014 (tgamma_test): Likewise.
8015 (y0_test): Likewise.
8016 (y1_test): Likewise.
8017 (yn_test): Likewise.
8019 2012-03-27 Anton Blanchard <anton@samba.org>
8021 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8023 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8024 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8025 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8027 2012-03-27 David S. Miller <davem@davemloft.net>
8029 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8031 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8034 2012-03-27 Andreas Jaeger <aj@suse.de>
8036 * sysdeps/x86_64/elf/configure.in: Moved to ...
8037 * sysdeps/x86_64/configure.in: ... here.
8038 * sysdeps/x86_64/elf/start.S: Moved to ...
8039 * sysdeps/x86_64/start.S: ... here.
8040 * sysdeps/x86_64/elf/configure: Delete.
8042 * sysdeps/x86_64/configure.in: Merge contents from
8043 sysdeps/i386/configure.in (without i686 check).
8045 * sysdeps/i386/elf/Versions: Merge into ...
8046 * sysdeps/i386/Versions: ... this.
8047 * sysdeps/i386/elf/Versions: Delete file.
8048 * sysdeps/i386/elf/start.S: Moved to ...
8049 * sysdeps/i386/start.S: ...here.
8050 * sysdeps/i386/elf/configure.in: Merge into...
8051 * sysdeps/i386/configure.in: ...here.
8052 * sysdeps/i386/elf/configure.in: Delete file.
8053 * sysdeps/i386/elf/configure: Delete file.
8055 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8056 * debug/backtracesyms.c: ... here.
8057 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8058 * debug/backtracesymsfd.c: ... here.
8059 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8060 * sysdeps/generic/ifunc-sel.h: ... here.
8062 * sysdeps/unix/i386/start.c: Delete file.
8063 * sysdeps/unix/sparc/start.c: Delete file.
8064 * sysdeps/unix/start.c: Delete file.
8066 * sysdeps/sh/elf/configure.in: Moved to ...
8067 * sysdeps/sh/configure.in: ... here.
8068 * sysdeps/sh/elf/start.S: Moved to ...
8069 * sysdeps/sh/start.S: ... here.
8070 * sysdeps/sh/elf/configure: Delete file.
8072 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8073 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8074 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8075 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8076 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8077 * sysdeps/powerpc/powerpc64/start.S: here.
8078 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8079 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8080 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8081 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8082 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8084 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8085 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8086 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8087 * sysdeps/powerpc/powerpc32/start.S: ... here.
8088 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8089 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8090 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8092 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8093 * sysdeps/powerpc/ifunc-sel.h: ... here.
8094 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8095 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8097 * sysdeps/sparc/elf/configure.in: Moved to ...
8098 * sysdeps/sparc/configure.in: ... here.
8099 * sysdeps/sparc/elf/configure: Delete file.
8100 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8101 * sysdeps/sparc/sparc32/start.S: ... here.
8102 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8103 * sysdeps/sparc/sparc64/start.S: ... here.
8104 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8105 * sysdeps/sparc/sparc32/Makefile: ... this.
8106 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8107 * sysdeps/sparc/sparc64/Makefile: ... this.
8109 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8110 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8111 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8112 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8113 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8114 * sysdeps/s390/s390-32/setjmp.S: ... here.
8115 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8116 * sysdeps/s390/s390-32/configure.in: ... here.
8117 * sysdeps/s390/s390-32/elf/configure: Delete file.
8118 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8119 * sysdeps/s390/s390-32/start.S: ... here.
8121 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8122 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8123 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8124 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8125 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8126 * sysdeps/s390/s390-64/setjmp.S: ... here.
8127 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8128 * sysdeps/s390/s390-64/configure.in: ... here
8129 * sysdeps/s390/s390-64/elf/configure: Delete file.
8130 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8131 * sysdeps/s390/s390-64/start.S: ... here.
8132 * sysdeps/s390/s390-64/elf/configure: Delete.
8134 * configure.in: Remove support for elf directories in sysdeps.
8136 * configure: Regenerated.
8137 * sysdeps/i386/configure: Regenerated.
8138 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8139 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8140 * sysdeps/s390/s390-32/configure: Regenerated.
8141 * sysdeps/s390/s390-64/configure: Regenerated.
8142 * sysdeps/sh/configure: Regenerated.
8143 * sysdeps/sparc/configure: Regenerated.
8144 * sysdeps/x86_64/configure: Regenerated.
8146 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8150 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8151 denormal result into account.
8153 2012-03-25 Roland McGrath <roland@hack.frob.com>
8155 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8156 Reported by Allan McRae <allan@archlinux.org>.
8158 2012-03-23 Jeff Law <law@redhat.com>
8160 * nss/getnssent.c (__nss_getent): Fix typo.
8162 2012-03-23 David S. Miller <davem@davemloft.net>
8164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8166 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8168 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8169 to pad to uint64_t for each field.
8170 (dl_tls_index): Replace unsigned long with uint64_t.
8172 2012-03-23 Daniel Jacobowitz <dmj@google.com>
8173 Paul Pluzhnikov <ppluzhnikov@google.com>
8176 * grp/Makefile (otherlibs): Don't set it.
8177 * inet/Makefile (otherlibs): Likewise.
8178 * login/Makefile (otherlibs): Likewise.
8179 * nscd/Makefile (otherlibs): Likewise.
8180 * posix/Makefile (otherlibs): Likewise.
8181 * pwd/Makefile (otherlibs): Likewise.
8182 * rt/Makefile (otherlibs): Likewise.
8183 * sunrpc/Makefile (otherlibs): Likewise.
8184 * nss/Makefile (otherlibs): Likewise.
8185 Add libnss_files to routines and static-only-routines.
8186 ($(objpfx)getent): Remove rule.
8187 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8188 static-only-routines.
8190 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8193 * math/s_cexp.c: Include <float.h>.
8194 (__cexp): Handle exp result overflowing not necessarily
8195 overflowing both real and imaginary parts of result.
8196 * math/s_cexpf.c: Likewise.
8197 * math/s_cexpl.c: Likewise.
8198 * math/libm-test.inc (cexp_test): Add more tests.
8199 * sysdeps/i386/fpu/libm-test-ulps: Update.
8200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8202 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8204 * include/link.h (ELFW): New macro.
8205 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8206 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8208 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8210 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8213 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8215 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8217 (struct La_x32_retval): Likewise.
8219 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8221 * sysdeps/x86_64/preconfigure.in: New file.
8222 * sysdeps/x86_64/preconfigure: New generated file.
8224 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8227 * math/e_exp2l.c: Include <float.h>.
8228 (__ieee754_exp2l): Handle overflow and underflow cases
8229 separately. Only pass fractional part of argument to
8231 * math/libm-test.inc (exp2_test): Add more tests.
8233 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8234 negating x to take absolute value.
8235 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8237 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8238 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8240 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8241 computing low part if x was negated.
8242 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8244 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8246 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8248 (pltexit): Cast int_retval to ptrdiff_t.
8249 * elf/tst-auditmod3b.c: Likewise.
8250 * elf/tst-auditmod4b.c: Likewise.
8251 * elf/tst-auditmod5b.c: Likewise.
8252 * elf/tst-auditmod6b.c: Likewise.
8253 * elf/tst-auditmod6c.c: Likewise.
8254 * elf/tst-auditmod7b.c: Likewise.
8256 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8257 and x32_gnu_pltexit.
8259 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8261 (La_x32_regs): New macro.
8262 (La_x32_retval): Likewise.
8263 (la_x32_gnu_pltenter): New function prototype.
8264 (la_x32_gnu_pltexit): Likewise.
8266 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8268 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8273 * configure.in (libc_cv_cc_nofma): Check for option to disable
8274 generation of FMA instructions.
8275 * configure: Regenerate.
8276 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8277 * sysdeps/ieee754/dbl-64/Makefile: New file.
8278 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8279 Remove brandred-fma4.
8280 (CFLAGS-brandred-fma4.c): Remove.
8281 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8282 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8284 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8287 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8289 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8290 LLONG_MAX != LONG_MAX.
8291 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8292 (_fitoa_word): Likewise.
8293 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8294 LLONG_MAX != LONG_MAX.
8295 * stdio-common/_itowa.h: Include <_itoa.h>.
8296 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8297 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8298 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8299 only if not defined.
8300 (_ITOA_WORD_TYPE): Likewise.
8301 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8302 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8304 2012-03-21 David S. Miller <davem@davemloft.net>
8306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8308 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8310 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8311 of x86_64 when setting libc_cv_slibdir, libdir and
8313 * sysdeps/unix/sysv/linux/configure: Regenerated.
8315 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8317 * manual/lang.texi (Old Varargs): Remove section.
8318 (How Variadic): Update menu.
8319 (va_start): Do not mention varargs.h.
8321 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8322 Joseph Myers <joseph@codesourcery.com>
8324 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8326 * configure: Regenerated.
8328 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8330 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8331 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8334 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8337 * Makefile (files-for-dist): Remove NOTES.
8338 (NOTES): Remove rule.
8339 * README: Don't refer to NOTES.
8340 * manual/creature.texi: Don't include macros.texi.
8341 * manual/intro.texi (creature.texi): Remove comment referring to
8344 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8345 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8346 * configure: Regenerated.
8347 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8349 (libc_cv_as_i686): Likewise.
8350 (libc_cv_cc_avx): Likewise.
8351 (libc_cv_cc_sse2avx): Likewise.
8352 (libc_cv_cc_fma4): Likewise.
8353 (libc_cv_cc_novzeroupper): Likewise.
8354 * sysdeps/i386/configure: Regenerated.
8357 * sysdeps/i386/fpu/s_cexp.S: Remove.
8358 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8359 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8360 * math/libm-test.inc (cexp_test): Add more tests.
8361 * sysdeps/i386/fpu/libm-test-ulps: Update.
8362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8364 2012-03-21 Allan McRae <allan@archlinux.org>
8366 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8368 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8371 * math/w_exp2.c: Do not include <float.h>.
8372 (o_threshold, u_threshold): Remove.
8373 (__exp2): Calculate result before checking finiteness and calling
8375 * math/w_exp2f.c: Likewise.
8376 * math/w_exp2l.c: Likewise.
8377 * math/libm-test.inc (exp2_test): Require overflow exception for
8381 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8382 range of signed 64-bit integers before using fistpll. Remove
8383 checks for whether integers fit in mantissa bits.
8384 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8385 the range of signed 32-bit integers before using fistpl. Remove
8386 checks for whether integers fit in mantissa bits.
8387 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8388 (__ieee754_powl): Test for y outside the range of signed 64-bit
8389 integers before using fistpll. Reduce 64-bit values to 63-bit
8391 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8392 divide-by-zero is raised for zero to large negative powers.
8393 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8394 (__ieee754_powl): Test for y outside the range of signed 64-bit
8395 integers before using fistpll. Reduce 64-bit values to 63-bit
8397 * math/libm-test.inc (pow_test): Add more tests.
8399 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8401 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8402 <stdio-common/_itoa.h>.
8403 * debug/segfault.c: Likewise.
8404 * elf/dl-cache.c: Likewise.
8405 * elf/dl-minimal.c: Likewise.
8406 * elf/dl-misc.c: Likewise.
8407 * elf/dl-sysdep.c: Likewise.
8408 * elf/dl-version.c: Likewise.
8409 * elf/rtld.c: Likewise.
8410 * hurd/hurdsock.c: Likewise.
8411 * hurd/lookup-retry.c: Likewise.
8412 * malloc/malloc.c: Likewise.
8413 * malloc/mtrace.c: Likewise.
8414 * nscd/nscd_getgr_r.c: Likewise.
8415 * nscd/nscd_getpw_r.c: Likewise.
8416 * nscd/nscd_getserv_r.c: Likewise.
8417 * posix/getopt_init.c: Likewise.
8418 * posix/wordexp.c: Likewise.
8419 * stdio-common/_itoa.c: Likewise.
8420 * stdio-common/printf_fphex.c: Likewise.
8421 * stdio-common/vfprintf.c: Likewise.
8422 * string/_strerror.c: Likewise.
8423 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8424 * sysdeps/i386/i686/hp-timing.h: Likewise.
8425 * sysdeps/mach/_strerror.c: Likewise.
8426 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8427 * sysdeps/mach/hurd/sethostid.c: Likewise.
8428 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8429 * sysdeps/mach/xpg-strerror.c: Likewise.
8430 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8431 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8432 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8433 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8434 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8435 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8436 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8437 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8438 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8439 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8440 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8441 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8442 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8443 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8444 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8445 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8446 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8447 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8448 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8449 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8450 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8452 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8454 * stdio-common/_itoa.h: Moved to ...
8455 * sysdeps/generic/_itoa.h: Here.
8457 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8459 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8460 instead of "_itoa.h" and "_itowa.h".
8461 * stdio-common/vfprintf.: Likewise.
8463 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8465 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8467 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8468 (__signbit): Likwise.
8472 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8474 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8477 2012-03-20 Joseph Myers <joseph@codesourcery.com>
8479 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8480 OVERFLOW_EXCEPTION_OK.
8481 * math/libm-test.inc ("Philosophy"): Update comment about
8483 (OVERFLOW_EXCEPTION): Define.
8484 (OVERFLOW_EXCEPTION_OK): Likewise.
8485 (INVALID_EXCEPTION_OK): Renumber.
8486 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8487 (IGNORE_ZERO_INF_SIGN): Likewise.
8488 (test_exceptions): Handle FE_OVERFLOW.
8489 (exp10_test): Expect overflow exceptions.
8490 (exp2_test): Likewise.
8491 (expm1_test): Likewise.
8492 (nextafter_test): Likewise.
8493 (pow_test): Likewise.
8494 (scalbn_test): Likewise.
8495 (scalbln_test): Likewise.
8497 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8499 * sysdeps/x86_64/bits/atomic.h
8500 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8502 (atomic_exchange_acq): Likewise.
8503 (__arch_exchange_and_add_body): Likewise.
8504 (__arch_add_body): Likewise.
8505 (atomic_add_negative): Likewise.
8506 (atomic_add_zero): Likewise.
8508 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8510 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8511 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8513 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8515 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8516 Check __x86_64__ instead of __WORDSIZE.
8518 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8520 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8522 2012-03-19 David S. Miller <davem@davemloft.net>
8524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8526 * sysdeps/sparc/fpu/fenv_private.h: New file.
8527 * sysdeps/sparc/fpu/math_private.h: Use it.
8528 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8530 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8531 (libc_feholdexcept_setroundl): Remove.
8532 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8534 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8535 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8537 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8539 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8540 int64_t instead of long int.
8541 (INSERT_WORDS64): Likwise.
8543 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8545 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8546 _Unwind_GetCFA return to _Unwind_Ptr first.
8548 2012-03-19 Joseph Myers <joseph@codesourcery.com>
8551 * math/s_clog.c: Include <float.h>.
8552 (__clog): Scale large or subnormal inputs.
8553 * math/s_clogf.c: Likewise.
8554 * math/s_clogl.c: Likewise.
8555 * math/s_clog10.c: Include <float.h>.
8556 (M_LOG10_2): Define.
8557 (__clog10): Scale large or subnormal inputs.
8558 * math/s_clog10f.c: Likewise.
8559 * math/s_clog10l.c: Likewise.
8560 * math/libm-test.inc (clog_test): Add more tests.
8561 (clog10_test): Likewise.
8562 * sysdeps/i386/fpu/libm-test-ulps: Update.
8563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8566 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8568 * math/libm-test.inc (atan2_test): Add another test.
8570 * Makerules (common-objdir-compile): Remove.
8571 * sysdeps/unix/Makefile (config-generated): Do not add
8572 $(unix-generated) to variable.
8573 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8574 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8576 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8578 [generic bits/local_lim.h] (before-compile): Do not append to
8580 [generic bits/local_lim.h] (common-generated): Likewise.
8581 [generic sys/param.h] (before-compile): Do not append to variable.
8582 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8583 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8584 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8585 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8587 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8588 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8589 [generic sys/param.h] ($(addprefix
8590 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8591 [generic sys/param.h] (common-generated): Do not append to
8593 [generic sys/param.h] (sysdep_headers): Likewise.
8594 [generic bits/errno.h] (before-compile): Do not append to
8596 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8598 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8599 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8600 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8601 [generic bits/errno.h] (common-generated): Do not append to
8603 [generic bits/ioctls.h] (before-compile): Do not append to
8605 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8607 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8608 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8609 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8611 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8612 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8613 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8614 [generic bits/ioctls.h] (common-generated): Do not append to
8616 [generic sys/syscall.h] (syscall.h): Remove variable.
8617 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8619 [generic sys/syscall.h] (before-compile): Do not append to
8621 [generic sys/syscall.h] (common-generated): Likewise.
8622 * sysdeps/unix/errnos-tmpl.c: Remove file.
8623 * sysdeps/unix/errnos.awk: Likewise.
8624 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8625 * sysdeps/unix/ioctls.awk: Likewise.
8626 * sysdeps/unix/mk-local_lim.c: Likewise.
8627 * sysdeps/unix/snarf-ioctls: Likewise.
8629 2012-03-19 Richard Henderson <rth@twiddle.net>
8631 * sysdeps/i386/fpu/fenv_private.h: New file.
8632 * sysdeps/i386/fpu/math_private.h: Use it.
8633 (math_opt_barrier, math_force_eval): Remove.
8634 (libc_feholdexcept_setround_53bit): Remove.
8635 (libc_feupdateenv_53bit): Remove.
8636 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8637 (math_opt_barrier, math_force_eval): Remove.
8638 (libc_feholdexcept): Remove.
8639 (libc_feholdexcept_setround): Remove.
8640 (libc_fetestexcept, libc_fesetenv): Remove.
8641 (libc_feupdateenv_test): Remove.
8642 (libc_feupdateenv, libc_feholdsetround): Remove.
8643 (libc_feresetround): Remove.
8645 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8646 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8648 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8649 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8650 (libc_feupdateenv_testl): New.
8651 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8652 (libc_feupdateenv_testf): New.
8653 (libc_feupdateenv): Use libc_feupdateenv_test.
8654 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8655 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8657 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8658 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8659 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8660 (libc_feresetround_noex): New.
8661 (libc_feresetround_noexf): New.
8662 (libc_feresetround_noexl): New.
8663 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8664 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8665 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8666 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8668 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8669 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8671 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8672 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8673 SET_RESTORE_ROUND_NOEX.
8674 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8675 SET_RESTORE_ROUND_NOEXF.
8676 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8677 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8678 (libc_feholdsetroundf): New.
8679 (libc_feresetround, libc_feresetroundf): New.
8681 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8682 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8683 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8685 * sysdeps/generic/math_private.h: Include <fenv.h>.
8686 (default_libc_feholdexcept): New.
8687 (default_libc_feholdexcept_setround): New.
8688 (default_libc_fesetenv, default_libc_feupdateenv): New.
8689 (libc_feholdexcept): Only define if undefined.
8690 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8691 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8692 (libc_feholdexcept_setroundl): Likewise.
8693 (libc_feholdexcept_setround_53bit): Likewise.
8694 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8695 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8696 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8697 (libc_feupdateenv_53bit): Likewise.
8698 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8699 (libc_feholdexcept): Convert from macro to inline function.
8700 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8701 (libc_fesetenv, libc_feupdateenv): Likewise.
8703 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8704 not previously defined.
8705 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8706 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8707 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8708 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8709 * sysdeps/ieee754/flt-32/math_private.h: New file.
8710 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8711 math_private.h below SET_FLOAT_WORD.
8712 (__isnan, __isinf_ns, __finite): Remove.
8713 (__isnanf, __isinf_nsf, __finitef): Remove.
8715 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8719 2012-03-17 David S. Miller <davem@davemloft.net>
8722 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8725 2012-03-16 David S. Miller <davem@davemloft.net>
8727 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8731 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8733 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8734 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8735 sysdep_routines when subdir is sysvipc.
8736 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8739 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8741 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8743 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8746 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8748 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8749 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8750 (__lround): Renamed to ...
8751 (__llround): This. Replace long int with long long int.
8752 Define lround functions as aliases of llround functions.
8753 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8755 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8757 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8758 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8759 adresses to uintptr_t. Replace "long int" and "unsigned long
8760 int" with "greg_t" on va_arg.
8762 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8764 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8765 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8767 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8768 Move e_machine check before EI_CLASS check. Handle x32
8769 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8770 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8771 SKIP_EM_IA_64 and include
8772 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8774 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8775 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8776 (add_system_dir): New macro.
8778 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8779 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8781 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8792 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8794 * math/w_j0f.c (j0f): Likewise.
8796 * math/w_j0l.c (__j0l): Likewise.
8798 * math/w_j1.c (j1): Likewise.
8800 * math/w_j1f.c (j1f): Likewise.
8802 * math/w_j1l.c (__j1l): Likewise.
8804 * math/w_jn.c (jn): Likewise.
8806 * math/w_jnf.c (jnf): Likewise.
8808 * math/w_jnl.c (__jnl): Likewise.
8810 * math/libm-test.inc (j0_test): Add more tests.
8811 (j1_test): Likewise.
8812 (jn_test): Likewise. Add trailing semicolon to existing test.
8813 (y0_test): Likewise.
8814 (y1_test): Likewise.
8815 * sysdeps/i386/fpu/libm-test-ulps: Update.
8816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8820 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8821 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8822 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8823 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8824 (__tanl): Set errno for infinite argument.
8825 * sysdeps/i386/fpu/mptan.c: Remove.
8826 * sysdeps/i386/fpu/s_tan.S: Likewise.
8827 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8828 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8829 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8830 * math/libm-test.inc (tan_test): Add more tests and enable more
8831 tests for double and long double.
8832 * sysdeps/i386/fpu/libm-test-ulps: Update.
8833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8835 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8837 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8838 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8840 2012-03-16 Roland McGrath <roland@hack.frob.com>
8842 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8843 * configure.in: Use it for both main tree and add-ons.
8844 * configure: Regenerated.
8846 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8848 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8850 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8852 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8856 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8857 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8858 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8859 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8860 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8862 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8863 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8865 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8866 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8867 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8868 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8869 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8870 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8871 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8872 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8873 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8874 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8875 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8876 * math/libm-test.inc (cos_test): Add more tests and enable more
8877 tests for long double.
8878 (sin_test): Likewise.
8879 (sincos_test): Likewise.
8880 * sysdeps/i386/fpu/libm-test-ulps: Update.
8881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8883 2012-03-16 David S. Miller <davem@davemloft.net>
8885 * sysdeps/sparc/fpu/math_private.h: New file.
8887 2012-03-15 David S. Miller <davem@davemloft.net>
8889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8897 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8898 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8899 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8903 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8904 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8906 * sysdeps/sparc/sparc-ifunc.h: New file.
8907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8931 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8933 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8934 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8936 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8939 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8943 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8944 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8945 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8946 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8947 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8948 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8949 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8950 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8952 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8954 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8958 2012-03-15 Andreas Jaeger <aj@suse.de>
8961 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8962 ieee754/flt-32 implementation for sin, cos and sincos.
8963 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8964 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8965 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8966 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8967 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8968 ieee754/flt-32 implementation for tan.
8970 * math/libm-test.inc (cos_test): Enable some large input tests for
8972 (sin_test): Likewise.
8973 (sincos_test): Likewise.
8974 (tan_test): Add tests for large input.
8976 * sysdeps/i386/fpu/libm-test-ulps: Update.
8978 2012-03-15 Andreas Jaeger <aj@suse.de>
8981 * math/libm-test.inc (cos_test): Add more test cases.
8982 (sin_test): Likewise.
8983 (sincos_test): Likewise.
8985 2012-03-15 Andreas Jaeger <aj@suse.de>
8988 * math/libm-test.inc (cos_test): Add a test case for large input
8990 (sin_test): Likewise.
8991 (sincos_test): Likewise.
8993 2012-03-15 Andreas Jaeger <aj@suse.de>,
8994 Joseph Myers <joseph@codesourcery.com>
8997 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
8998 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8999 * sysdeps/i386/fpu/branred.c: Likewise.
9000 * sysdeps/i386/fpu/dosincos.c: Likewise.
9001 * sysdeps/i386/fpu/mpa.c: Likewise.
9002 * sysdeps/i386/fpu/s_cos.S: Likewise.
9003 * sysdeps/i386/fpu/s_sin.S: Likewise.
9004 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9005 * sysdeps/i386/fpu/sincos32.c: Likewise.
9007 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9009 (libc_feupdateenv_53bit): Define.
9010 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9012 (libc_feupdateenv_53bit): Define.
9014 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9015 53 bit (without extend i386 double precision).
9017 * math/libm-test.inc (sincos_test): Add tests for large input.
9021 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9023 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9027 2012-03-15 David S. Miller <davem@davemloft.net>
9029 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9030 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9031 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9032 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9056 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9057 fmin/fmax sysdep routines.
9058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9060 2012-03-14 David S. Miller <davem@davemloft.net>
9062 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9063 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9064 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9065 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9066 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9067 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9068 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9069 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9071 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9072 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9073 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9078 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9079 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9080 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9081 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9082 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9083 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9084 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9085 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9086 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9087 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9088 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9089 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9090 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9134 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9139 * sysdeps/sparc/configure.in: New file.
9140 * sysdeps/sparc/configure: Generate.
9141 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9142 * configure: Regenerate.
9143 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9144 * config.make.in (have-as-vis3): New.
9145 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9146 available use -Av9d instead of -Av9a.
9147 * sysdeps/sparc/sparc64/Makefile: Likewise.
9148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9157 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9158 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9159 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9160 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9161 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9163 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9164 fzeros/fnegs to load 0x80000000 into a float register instead of
9166 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9168 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9170 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9172 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9173 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9174 ($(inst_includedir)/bits/syscall.h): Remove rule.
9175 ($(objpfx)bits/syscall.d): Include instead of
9176 $(objpfx)syscall-list.d.
9177 (generated): Change syscall-list.h and syscall-list.d to
9178 bits/syscall.h and bits/syscall.d.
9180 2012-03-14 Roland McGrath <roland@hack.frob.com>
9183 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9185 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9188 * math/s_csqrt.c: Include <float.h>.
9189 (__csqrt): Scale large or subnormal inputs.
9190 * math/s_csqrtf.c: Likewise.
9191 * math/s_csqrtl.c: Likewise.
9192 * math/libm-test.inc (csqrt_test): Add more tests.
9193 * sysdeps/i386/fpu/libm-test-ulps: Update.
9194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9197 * math/libm-test.inc (hypot_test): Add more tests.
9199 2012-03-13 David S. Miller <davem@davemloft.net>
9202 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9203 double-precision for the calculation instead of scaling.
9205 2012-03-13 Joseph Myers <joseph@codesourcery.com>
9207 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9208 manipulate bits before adding and subtracting TWO52[sx].
9209 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9210 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9212 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9214 2012-03-13 David S. Miller <davem@davemloft.net>
9216 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9217 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9218 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9219 rtld-global-offsets.h
9220 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9222 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9225 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9227 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9228 'err' in the ifdef scope in which it is actually used.
9230 * nss/nss_db/db-init.c: Include string.h
9232 2012-03-12 David S. Miller <davem@davemloft.net>
9234 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9235 masking out of the most significant byte of random value used.
9236 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9237 Fix coding style in previous change.
9239 * sysdeps/unix/sysv/linux/kernel-features.h
9240 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9241 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9243 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9246 2012-03-11 David S. Miller <davem@davemloft.net>
9248 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9249 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9250 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9251 for 'resultvar' otherwise things get truncated on 64-bit.
9253 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9254 Fix masking out of the most significant byte of random value used.
9256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9258 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9262 2012-03-09 David S. Miller <davem@davemloft.net>
9264 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9265 variables with appropriate CPP guards.
9266 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9267 frame pointer, not the stack pointer. Correct layout comments. Fix test
9268 on resulting framesize and the management of the outregs buffer for pltexit.
9269 Preserve floating point return values across _dl_call_pltexit call.
9270 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9271 framesize and the management of the outregs buffer for pltexit.
9272 Preserve floating point return values across _dl_call_pltexit
9274 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9275 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9276 (print_exit): Fix format string for return register value.
9278 2012-03-10 Joseph Myers <joseph@codesourcery.com>
9280 * sunrpc/Makefile (others): Add rpcgen.
9281 ($(objpfx)rpcgen): Remove special build rule and dependency on
9283 * sunrpc/rpcgen.c: New file.
9285 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9288 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9289 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9290 * sysdeps/i386/crti.S: Likewise.
9291 * sysdeps/i386/crtn.S: Likewise.
9292 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9293 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9294 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9295 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9296 * sysdeps/sh/crti.S: Likewise.
9297 * sysdeps/sh/crtn.S: Likewise.
9298 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9301 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9303 * locale/programs/locfile-kw.gperf: Likewise.
9304 * locale/programs/charmap-kw.h: Regenerated.
9305 * locale/programs/locfile-kw.h: Likewise.
9308 * intl/plural.y: Replace FSF snail mail address with URL.
9309 * intl/plural.c: Regenerated.
9311 2012-03-09 Richard Henderson <rth@twiddle.net>
9313 * include/math_private.h: Remove file.
9314 * math/math_private.h: Move file ...
9315 * sysdeps/generic/math_private.h: ... here.
9317 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9318 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9319 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9321 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9322 and <math_private.h>.
9323 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9324 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9325 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9326 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9327 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9328 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9329 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9330 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9331 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9332 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9333 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9334 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9335 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9336 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9337 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9338 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9339 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9340 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9341 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9342 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9344 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9345 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9346 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9347 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9348 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9349 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9350 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9351 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9352 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9353 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9354 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9355 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9356 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9357 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9358 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9359 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9360 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9361 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9362 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9363 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9364 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9365 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9366 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9367 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9368 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9369 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9370 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9371 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9372 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9373 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9374 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9375 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9376 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9377 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9378 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9379 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9380 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9381 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9382 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9383 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9384 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9385 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9386 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9387 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9388 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9389 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9390 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9391 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9392 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9393 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9394 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9395 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9396 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9397 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9398 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9399 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9400 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9401 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9402 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9403 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9404 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9405 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9406 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9407 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9408 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9409 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9410 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9411 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9412 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9413 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9414 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9415 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9416 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9417 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9418 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9419 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9420 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9421 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9422 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9423 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9424 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9425 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9426 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9427 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9428 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9429 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9430 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9431 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9432 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9433 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9434 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9435 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9436 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9437 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9438 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9439 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9440 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9441 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9442 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9443 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9444 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9445 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9446 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9447 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9448 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9449 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9450 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9451 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9452 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9453 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9454 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9455 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9456 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9457 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9458 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9459 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9460 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9461 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9462 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9463 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9464 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9465 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9466 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9467 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9468 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9469 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9470 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9471 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9472 * sysdeps/ieee754/k_standard.c: Likewise.
9473 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9474 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9475 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9476 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9477 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9478 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9479 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9480 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9481 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9482 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9483 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9484 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9485 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9486 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9487 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9488 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9489 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9490 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9491 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9492 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9493 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9494 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9495 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9496 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9497 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9498 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9499 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9500 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9501 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9502 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9503 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9504 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9505 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9506 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9507 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9508 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9509 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9510 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9511 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9512 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9513 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9514 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9515 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9516 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9517 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9518 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9519 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9520 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9521 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9522 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9523 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9524 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9525 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9526 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9527 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9528 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9529 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9530 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9531 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9532 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9533 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9534 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9535 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9536 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9537 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9538 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9539 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9540 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9541 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9542 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9543 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9546 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9547 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9549 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9550 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9551 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9552 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9553 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9554 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9555 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9556 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9557 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9558 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9559 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9560 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9561 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9562 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9563 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9564 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9565 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9566 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9567 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9568 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9569 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9570 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9571 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9572 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9573 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9574 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9575 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9576 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9577 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9578 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9579 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9580 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9581 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9582 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9583 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9584 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9585 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9586 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9587 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9588 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9589 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9590 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9591 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9592 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9593 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9594 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9595 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9596 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9597 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9598 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9599 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9600 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9601 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9602 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9603 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9604 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9605 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9606 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9607 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9608 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9609 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9610 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9611 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9612 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9613 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9614 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9615 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9616 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9617 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9618 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9619 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9620 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9621 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9622 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9623 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9624 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9625 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9626 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9627 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9628 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9629 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9630 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9631 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9632 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9633 * sysdeps/ieee754/s_lib_version.c: Likewise.
9634 * sysdeps/ieee754/s_matherr.c: Likewise.
9635 * sysdeps/ieee754/s_signgam.c: Likewise.
9636 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9637 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9638 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9639 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9640 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9641 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9642 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9643 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9644 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9645 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9646 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9647 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9648 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9649 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9650 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9651 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9652 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9653 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9654 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9655 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9656 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9658 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9660 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9661 * sunrpc/rpc_main.c: Likewise.
9662 * sunrpc/rpc_svcout.c: Likewise.
9664 2012-03-09 David S. Miller <davem@davemloft.net>
9666 * include/math_private.h: New file.
9668 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9670 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9671 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9672 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9673 from <bits/socket_type.h>.
9674 (enum __socket_type): Don't define here.
9675 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9676 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9680 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9683 * Makerules ($(inst_includedir)/%.h): New rule.
9684 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9685 (install-others): Remove variable setting.
9686 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9688 2012-03-08 Richard Henderson <rth@twiddle.net>
9690 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9691 from macro to inline function; merge with the
9692 !__LIBC_INTERNAL_MATH_INLINES version.
9693 (__ieee754_sqrtf): Likewise.
9695 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9697 (__rintf, __floor, __floorf): Likewise.
9699 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9700 macro to inline function.
9701 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9703 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9704 not <math/math_private.h>.
9706 2012-03-08 David S. Miller <davem@davemloft.net>
9708 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9710 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9712 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9714 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9716 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9717 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9719 2012-03-08 Ulrich Drepper <drepper@gmail.com>
9721 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9722 be defined individually, they must be defined as a block. Define
9723 S for printing a string instead of hidint the different by using a
9724 macro for adding the 'l'.
9725 * stdio-common/tst-fphex-wide.c: Adjust.
9727 2012-03-07 Marek Polacek <polacek@redhat.com>
9729 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9731 2012-03-08 Marek Polacek <polacek@redhat.com>
9734 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9735 * stdio-common/tst-fphex.c: Define a few macros to make the
9736 test reusable. Use them.
9737 * stdio-common/tst-fphex-wide.c: New file.
9739 2012-03-08 Joseph Myers <joseph@codesourcery.com>
9742 * manual/macros.texi (gnusystems): New macro.
9743 (nongnusystems): Likewise.
9744 (gnulinuxhurdsystems): Likewise.
9745 (gnuhurdsystems): Likewise..
9746 (gnulinuxsystems): Likewise.
9747 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9748 variants of the GNU system, not "GNU system".
9749 * manual/conf.texi: Likewise.
9750 * manual/errno.texi: Likewise. Update example of errno macro
9752 * manual/filesys.texi: Likewise.
9753 (getumask): Document as specific to GNU/Hurd.
9754 * manual/install.texi: Likewise. Reword some references to
9756 * manual/intro.texi: Likewise.
9757 * manual/io.texi: Likewise.
9758 (File Name Portability): Detail which constraints are inapplicable
9759 to all GNU systems and which are only inapplicable to GNU/Hurd.
9760 * manual/job.texi: Likewise.
9761 * manual/llio.texi: Likewise.
9762 (O_NOCTTY): Document as present on GNU/Linux.
9763 * manual/maint.texi: Likewise.
9764 * manual/memory.texi: Likewise.
9765 * manual/pattern.texi: Likewise.
9766 * manual/pipe.texi: Likewise.
9767 * manual/process.texi: Likewise.
9768 * manual/resource.texi: Likewise.
9769 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9771 * manual/setjmp.texi: Likewise.
9772 * manual/signal.texi: Likewise.
9773 * manual/startup.texi: Likewise.
9774 * manual/stdio.texi: Likewise.
9775 * manual/terminal.texi: Likewise.
9776 (ONLCR): Document as POSIX.
9777 (OXTABS): Document availability on GNU/Linux as XTABS.
9778 (ONOEOT): Document availability separately from other bits.
9779 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9780 * manual/time.texi: Likewise.
9781 * manual/users.texi: Likewise.
9782 * INSTALL: Regenerated.
9783 * sysdeps/gnu/errlist.c: Regenerated.
9785 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9786 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9787 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9789 * configure: Regenerated.
9791 2012-03-07 Joseph Myers <joseph@codesourcery.com>
9793 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9794 default includes instead of AC_HEADER_CHECK.
9795 * sysdeps/i386/configure: Regenerated.
9798 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9799 * math/s_cacoshf.c (__cacoshf): Likewise.
9800 * math/s_cacoshl.c (__cacoshl): Likewise.
9801 * math/s_casinh.c (__casinh): Set signs of result from argument.
9802 * math/s_casinhf.c (__casinhf): Likewise.
9803 * math/s_casinhl.c (__casinhl): Likewise.
9804 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9805 (casinh_test): Add more tests.
9806 * sysdeps/i386/fpu/libm-test-ulps: Update.
9807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9809 2012-03-07 Ulrich Drepper <drepper@gmail.com>
9811 * po/zh_TW.po: Update from translation team.
9813 * login/Makefile (distribute): Remove variable.
9814 * catgets/Makefile: Likewise.
9815 * mach/Makefile: Likewise.
9816 * malloc/Makefile: Likewise.
9817 * misc/Makefile: Likewise.
9818 * iconv/Makefile: Likewise.
9819 * nscd/Makefile: Likewise.
9820 * hurd/Makefile: Likewise.
9821 * manual/Makefile: Likewise.
9822 * locale/Makefile: Likewise.
9823 * intl/Makefile: Likewise.
9824 * conform/Makefile: Likewise.
9825 * nss/Makefile: Likewise.
9826 * time/Makefile: Likewise.
9827 * soft-fp/Makefile: Likewise.
9828 * dirent/Makefile: Likewise.
9829 * gmon/Makefile: Likewise.
9830 * po/Makefile: Likewise.
9831 * rt/Makefile: Likewise.
9832 * socket/Makefile: Likewise.
9833 * math/Makefile: Likewise.
9834 * signal/Makefile: Likewise.
9835 * debug/Makefile: Likewise.
9836 * elf/Makefile: Likewise.
9837 * timezone/Makefile: Likewise.
9838 * stdlib/Makefile: Likewise.
9839 * iconvdata/Makefile: Likewise.
9840 * sunrpc/Makefile: Likewise.
9841 * io/Makefile: Likewise.
9842 * argp/Makefile: Likewise.
9843 * inet/Makefile: Likewise.
9844 * hesiod/Makefile: Likewise.
9845 * grp/Makefile: Likewise.
9846 * csu/Makefile: Likewise.
9847 * wctype/Makefile: Likewise.
9848 * crypt/Makefile: Likewise.
9849 * libio/Makefile: Likewise.
9850 * string/Makefile: Likewise.
9851 * nis/Makefile: Likewise.
9852 * resolv/Makefile: Likewise.
9853 * stdio-common/Makefile: Likewise.
9854 * wcsmbs/Makefile: Likewise.
9855 * dlfcn/Makefile: Likewise.
9856 * posix/Makefile: Likewise.
9859 * timezone/Makefile: Don't install timezone files, just the programs
9862 2012-03-06 Ulrich Drepper <drepper@gmail.com>
9864 * nss/databases.def: Add missing gshadow entry.
9866 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9868 2012-03-06 Marek Polacek <polacek@redhat.com>
9871 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9872 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9873 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9874 * stdio-common/tst-long-dbl-fphex.c: New file.
9876 2012-03-06 David S. Miller <davem@davemloft.net>
9878 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9879 (set_obp_int): New function.
9880 (get_obp_int): New function.
9881 (__get_clockfreq_via_dev_openprom): Likewise.
9882 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9883 Avoid unused variable warnings on 'val' and use builtin_expect.
9884 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9886 (INLINE_CLONE_SYSCALL): Likewise.
9888 2012-03-05 David S. Miller <davem@davemloft.net>
9890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9892 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9896 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9898 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9900 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
9902 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9903 Replace gettimeofday with __vdso_gettimeofday.
9905 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9906 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9907 __vdso_clock_gettime and __vdso_getcpu.
9909 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9910 time with __vdso_time.
9912 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9914 * manual/lang.texi (size_t): Note types to which size_t may be
9915 equivalent with the GNU C Library, but do not describe when
9916 differences between them are significant.
9918 2012-03-05 Andreas Jaeger <aj@suse.de>
9920 * sysdeps/i386/fpu/libm-test-ulps: Update.
9922 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9925 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9926 (__ieee754_pow): Save and restore rounding mode and use
9927 round-to-nearest for main computations.
9928 * math/libm-test.inc (pow_test_tonearest): New function.
9929 (pow_test_towardzero): Likewise.
9930 (pow_test_downward): Likewise.
9931 (pow_test_upward): Likewise.
9932 (main): Call the new functions.
9933 * sysdeps/i386/fpu/libm-test-ulps: Update.
9934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9937 * math/libm-test.inc (cosh_test_tonearest): New function.
9938 (cosh_test_towardzero): Likewise.
9939 (cosh_test_downward): Likewise.
9940 (cosh_test_upward): Likewise.
9941 (sinh_test_tonearest): Likewise.
9942 (sinh_test_towardzero): Likewise.
9943 (sinh_test_downward): Likewise.
9944 (sinh_test_upward): Likewise.
9945 (main): Call the new functions.
9946 * sysdeps/i386/fpu/libm-test-ulps: Update.
9947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9949 2012-03-05 Tom de Vries <tom@codesourcery.com>
9951 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9952 default stack guard is set in last bytes.
9953 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9955 2012-03-05 Kees Cook <keescook@chromium.org>
9957 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9960 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9961 possibly allocate from heap instead of stack.
9962 * stdio-common/bug-vfprintf-nargs.c: New file.
9963 * stdio-common/Makefile (tests): Add nargs overflow test.
9965 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9969 2012-03-03 Marek Polacek <polacek@redhat.com>
9971 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9972 * math/math_private.h: Likewise.
9973 * stdlib/tst-strtod.c: Likewise.
9974 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9975 * sysdeps/x86_64/bits/atomic.h: Likewise.
9977 2012-03-02 David S. Miller <davem@davemloft.net>
9979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9983 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9984 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9985 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9986 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9988 2012-03-02 Roland McGrath <roland@hack.frob.com>
9991 * manual/examples/README: New file, says the example source files
9992 can be used under GPL>=2.
9993 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9994 line containing just "*/".
9995 * manual/examples/add.c: Add copyright header (GPL>=2).
9996 * manual/examples/argp-ex1.c: Likewise.
9997 * manual/examples/argp-ex2.c: Likewise.
9998 * manual/examples/argp-ex3.c: Likewise.
9999 * manual/examples/argp-ex4.c: Likewise.
10000 * manual/examples/atexit.c: Likewise.
10001 * manual/examples/db.c: Likewise.
10002 * manual/examples/dir.c: Likewise.
10003 * manual/examples/dir2.c: Likewise.
10004 * manual/examples/execinfo.c: Likewise.
10005 * manual/examples/filecli.c: Likewise.
10006 * manual/examples/filesrv.c: Likewise.
10007 * manual/examples/fmtmsgexpl.c: Likewise.
10008 * manual/examples/genpass.c: Likewise.
10009 * manual/examples/inetcli.c: Likewise.
10010 * manual/examples/inetsrv.c: Likewise.
10011 * manual/examples/isockad.c: Likewise.
10012 * manual/examples/longopt.c: Likewise.
10013 * manual/examples/memopen.c: Likewise.
10014 * manual/examples/memstrm.c: Likewise.
10015 * manual/examples/mkfsock.c: Likewise.
10016 * manual/examples/mkisock.c: Likewise.
10017 * manual/examples/mygetpass.c: Likewise.
10018 * manual/examples/pipe.c: Likewise.
10019 * manual/examples/popen.c: Likewise.
10020 * manual/examples/rprintf.c: Likewise.
10021 * manual/examples/search.c: Likewise.
10022 * manual/examples/select.c: Likewise.
10023 * manual/examples/setjmp.c: Likewise.
10024 * manual/examples/sigh1.c: Likewise.
10025 * manual/examples/sigusr.c: Likewise.
10026 * manual/examples/stpcpy.c: Likewise.
10027 * manual/examples/strdupa.c: Likewise.
10028 * manual/examples/strftim.c: Likewise.
10029 * manual/examples/strncat.c: Likewise.
10030 * manual/examples/subopt.c: Likewise.
10031 * manual/examples/swapcontext.c: Likewise.
10032 * manual/examples/termios.c: Likewise.
10033 * manual/examples/testopt.c: Likewise.
10034 * manual/examples/testpass.c: Likewise.
10035 * manual/examples/timeval_subtract.c: Likewise.
10038 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10040 * manual/timeval_subtract.c.texi: ... here, new file.
10042 2012-03-02 David S. Miller <davem@davemloft.net>
10044 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10046 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10049 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10050 (__sin): Save and restore rounding mode and use round-to-nearest
10051 for all computations.
10052 (__cos): Save and restore rounding mode and use round-to-nearest
10053 for all computations.
10054 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10056 (tan): Save and restore rounding mode and use round-to-nearest for
10058 * math/libm-test.inc (cos_test_tonearest): New function.
10059 (cos_test_towardzero): Likewise.
10060 (cos_test_downward): Likewise.
10061 (cos_test_upward): Likewise.
10062 (sin_test_tonearest): Likewise.
10063 (sin_test_towardzero): Likewise.
10064 (sin_test_downward): Likewise.
10065 (sin_test_upward): Likewise.
10066 (tan_test_tonearest): Likewise.
10067 (tan_test_towardzero): Likewise.
10068 (tan_test_downward): Likewise.
10069 (tan_test_upward): Likewise.
10070 (main): Call the new functions.
10071 * sysdeps/i386/fpu/libm-test-ulps: Update.
10072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10075 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10076 small n, then large n, before computing and testing k+n.
10077 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10078 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10080 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10082 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10083 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10084 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10085 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10086 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10087 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10088 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10089 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10090 * math/libm-test.inc (scalbn_test): Add more tests.
10091 (scalbln_test): Likewise.
10093 * manual/filesys.texi (mode_t): Describe constraints on size and
10094 signedness, not exact equivalence to a particular type.
10096 (ino64_t): Likewise.
10098 (nlink_t): Likewise.
10099 (blkcnt_t): Likewise.
10100 (blkcnt64_t): Likewise.
10101 * manual/llio.texi (off_t): Likewise.
10104 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10105 (__ieee754_exp): Save and restore rounding mode and use
10106 round-to-nearest for all computations.
10107 * math/libm-test.inc (exp_test_tonearest): New function.
10108 (exp_test_towardzero): Likewise.
10109 (exp_test_downward): Likewise.
10110 (exp_test_upward): Likewise.
10111 (main): Call the new functions.
10112 * sysdeps/i386/fpu/libm-test-ulps: Update.
10113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10115 2012-03-01 Chris Demetriou <cgd@google.com>
10117 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10118 have predictable order.
10120 2012-03-01 David S. Miller <davem@davemloft.net>
10122 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10124 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10125 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10126 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10127 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10129 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10130 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10131 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10133 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10134 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10135 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10136 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10137 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10141 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10142 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10143 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10145 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10146 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10147 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10148 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10149 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10150 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10151 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10152 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10153 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10154 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10155 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10156 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10158 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10159 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10160 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10161 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10162 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10163 * sysdeps/sparc/elf/configure: Regenerated.
10165 2012-03-01 Joseph Myers <joseph@codesourcery.com>
10167 * configure.in (AS, LD): Require binutils 2.20 or later.
10168 * configure: Regenerated.
10169 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10170 as required minimum version.
10171 * INSTALL: Regenerated.
10175 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10176 before squaring exponent.
10177 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10178 bottom long double and 27 bits of top long double before squaring
10180 * math/libm-test.inc (erfc_test): Add more tests.
10181 * sysdeps/i386/fpu/libm-test-ulps: Update.
10182 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10185 2012-03-01 Kai Tietz <ktietz@redhat.com>
10187 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10188 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10189 containing bit-fields.
10190 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10191 * soft-fp/single.h (_FP_UNION_S): Likewise.
10192 * soft-fp/double.h (_FP_UNION_D): Likewise.
10194 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10197 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10198 not include ../strcmp.S.
10199 [USE_AS_STRNCASECMP_L]: Likewise.
10200 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10201 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10202 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10203 (__strncasecmp_l_ia32): Define as alias to
10204 __strncasecmp_l_nonascii.
10207 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10208 * sysdeps/i386/fpu/libm-test-ulps: Update.
10209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10211 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10214 2012-02-29 Jeff Law <law@redhat.com>
10216 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10217 out of bounds read.
10219 2012-02-29 Marek Polacek <polacek@redhat.com>
10222 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10223 * elf/Makefile: Add rules to run tst-unused-dep.out.
10225 2012-02-28 David S. Miller <davem@davemloft.net>
10227 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10228 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10229 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10230 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10231 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10232 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10234 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10236 * math/libm-test.inc (llround_test): Move one test from
10237 lround_test. Use TEST_f_L in moved test.
10238 (lround_test): Move misplaced test to llround_test. Add testcase
10241 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10243 * sysdeps/x86_64/fpu/e_expf.S: New file.
10244 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10246 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10249 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10250 of remain_len that may cause incomplete multi-byte character and
10252 * posix/bug-regex33.c: New file.
10253 * posix/Makefile (tests): Add bug-regex33.
10255 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10257 * manual/macros.texi: New file.
10258 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10259 * manual/libc.texinfo: Include macros.texi.
10260 * manual/creatute.texi: Likewise.
10261 * manual/install.texi: Likewise.
10262 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10263 @glibcadj{} in references to the GNU C Library.
10264 * manual/charset.texi: Likewise.
10265 * manual/conf.texi: Likewise.
10266 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10267 when not using those macros.
10268 * manual/creature.texi: Likewise.
10269 * manual/crypt.texi: Likewise.
10270 * manual/errno.texi: Likewise.
10271 * manual/filesys.texi: Likewise.
10272 * manual/header.texi: Likewise.
10273 * manual/install.texi: Likewise.
10274 * manual/intro.texi: Likewise.
10275 * manual/io.texi: Likewise.
10276 * manual/job.texi: Likewise.
10277 * manual/lang.texi: Likewise.
10278 * manual/libc.texiinfo: Likewise.
10279 * manual/llio.texi: Likewise.
10280 * manual/locale.texi: Likewise.
10281 * manual/maint.texi: Likewise.
10282 * manual/math.texi: Likewise.
10283 * manual/memory.texi: Likewise.
10284 * manual/message.texi: Likewise.
10285 * manual/nss.texi: Likewise.
10286 * manual/pattern.texi: Likewise.
10287 * manual/process.texi: Likewise.
10288 * manual/resource.texi: Likewise.
10289 * manual/search.texi: Likewise.
10290 * manual/setjmp.texi: Likewise.
10291 * manual/signal.texi: Likewise.
10292 * manual/socket.texi: Likewise.
10293 * manual/startup.texi: Likewise.
10294 * manual/stdio.texi: Likewise.
10295 * manual/string.texi: Likewise.
10296 * manual/sysinfo.texi: Likewise.
10297 * manual/syslog.texi: Likewise.
10298 * manual/terminal.texi: Likewise.
10299 * manual/time.texi: Likewise.
10300 * manual/users.texi: Likewise.
10301 * INSTALL: Regenerated.
10302 * NOTES: Regenerated.
10303 * sysdeps/gnu/errlist.c: Regenerated.
10305 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10307 * include/dirent.h: Include <dirstream.h> before
10310 2012-02-28 David S. Miller <davem@davemloft.net>
10312 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10313 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10314 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10315 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10317 2012-02-27 David S. Miller <davem@davemloft.net>
10319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10321 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10322 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10325 frame pointer instead of stack pointer relative arg slot.
10326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10327 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10328 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10330 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10333 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10335 2012-02-27 David S. Miller <davem@davemloft.net>
10337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10341 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10342 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10343 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10344 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10346 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10348 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10349 later. Allow versions 5-9.
10350 * configure: Regenerated.
10351 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10352 required minimum version and 4.6 as recommended version. Do not
10353 mention bugs in GCC 2.7 and 2.8.
10354 * INSTALL: Regenerated.
10356 2012-02-27 David S. Miller <davem@davemloft.net>
10358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10362 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10363 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10364 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10365 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10367 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10368 manipulate bits before adding and subtracting TWO112[sx].
10369 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10371 2012-02-27 Roland McGrath <roland@hack.frob.com>
10374 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10375 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10376 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10377 being in POSIX, because they are in 1003.1-2008.
10379 * rt/tst-aio.c: Include <fcntl.h>.
10380 * rt/tst-aio7.c: Likewise.
10381 * rt/tst-aio64.c: Likewise.
10383 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10385 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10387 * manual/install.texi (--with-headers): Describe headers as
10388 interface headers, not private headers.
10389 (Specific advice for GNU/Linux systems): Describe use of headers
10390 from "make headers_install", not private headers from older
10392 * INSTALL: Regenerated.
10393 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10395 * sysdeps/unix/sysv/linux/configure: Regenerated.
10397 * manual/llio.texi (fclean): Remove documentation.
10399 * manual/Makefile (libc-texi-generated): New variable. Include
10401 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10402 $(libc-texi-generated), not duplicated list of files.
10403 (version.texi, stamp-version): New rules.
10404 (realclean): Remove $(libc-texi-generated), not individual files
10405 from that list. Do not remove dir-add.texinfo.
10406 * manual/libc.texinfo: Comment out uses of edition numbers and
10407 references to printed manual. Remove last-updated dates.
10408 (EDITION): Comment out.
10410 (VERSION, UPDATED): Remove.
10411 (version.texi): Include.
10413 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10415 * sysdeps/posix/spawni.c: Include <signal.h>.
10416 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10417 * sysdeps/pthread/aio_fsync.c: Likewise.
10419 2012-02-26 Ulrich Drepper <drepper@gmail.com>
10421 * conform/Makefile (tests): Run only when not cross-compiling and
10422 when fast-check is not defined.
10424 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10425 * conform/data/limits.h-data: Fixes for POSIX2008.
10426 * conform/run-conformtest.sh: Run all tests.
10427 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10429 * include/bits/dlfcn.h: Likewise.
10430 * include/langinfo.h: Likewise.
10431 * include/monetary.h: Likewise.
10432 * include/sys/poll.h: Likewise.
10434 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10436 * posix/spawn.h: Define __need_sigset_t.
10437 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10438 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10439 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10440 to get sigevent_t only.
10441 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10442 only for __USE_GNU.
10443 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10444 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10445 process_vm_writev only for __USE_GNU.
10446 * termios/termios.h: Declare tcgetsid also for POSIX2008.
10448 * conform/Makefile: For now ignore errors from run-conformtest.
10449 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10450 POSIX to avoid namespace pollution. Don't prepend headers.
10451 * conform/data/aio.h-data: Fixes for POSIX testing.
10452 * conform/data/fcntl.h-data: Likewise.
10453 * conform/data/glob.h-data: Likewise.
10454 * conform/data/grp.h-data: Likewise.
10455 * conform/data/pthread.h-data: Likewise.
10456 * conform/data/pwd.h-data: Likewise.
10457 * conform/data/signal.h-data: Likewise.
10458 * conform/data/spawn.h-data: Likewise.
10459 * conform/data/stdio.h-data: Likewise.
10460 * conform/data/stdlib.h-data: Likewise.
10461 * conform/data/stropts.h-data: Likewise.
10462 * conform/data/sys/mman.h-data: Likewise.
10463 * conform/data/sys/stat.h-data: Likewise.
10464 * conform/data/sys/types.h-data: Likewise.
10465 * conform/data/sys/wait.h-data: Likewise.
10466 * conform/data/time.h-data: Likewise.
10467 * conform/data/unistd.h-data: Likewise.
10468 * conform/data/utime.h-data: Likewise.
10470 * io/sys/stat.h: fchmod was always in POSIX.
10471 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10472 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10473 * rt/aio.h: Define __need_timespec before including <time.h>.
10474 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10475 struct. Add forward declaration of pthread_attr_t and use it in
10477 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10478 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10479 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10480 always remove CLK_TCK definition.
10482 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10484 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10486 2012-02-25 Ulrich Drepper <drepper@gmail.com>
10488 * conform/run-conformtest.sh: New file.
10489 * conform/Makefile: Run run-conformtest for tests.
10490 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10493 * conform/data/uchar.h-data: New file.
10494 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10495 * conform/data/arpa/inet.h-data: Likewise.
10496 * conform/data/assert.h-data: Likewise.
10497 * conform/data/complex.h-data: Likewise.
10498 * conform/data/cpio.h-data: Likewise.
10499 * conform/data/ctype.h-data: Likewise.
10500 * conform/data/dirent.h-data: Likewise.
10501 * conform/data/dlfcn.h-data: Likewise.
10502 * conform/data/errno.h-data: Likewise.
10503 * conform/data/fcntl.h-data: Likewise.
10504 * conform/data/float.h-data: Likewise.
10505 * conform/data/fmtmsg.h-data: Likewise.
10506 * conform/data/fnmatch.h-data: Likewise.
10507 * conform/data/ftw.h-data: Likewise.
10508 * conform/data/glob.h-data: Likewise.
10509 * conform/data/grp.h-data: Likewise.
10510 * conform/data/iconv.h-data: Likewise.
10511 * conform/data/inttypes.h-data: Likewise.
10512 * conform/data/langinfo.h-data: Likewise.
10513 * conform/data/libgen.h-data: Likewise.
10514 * conform/data/limits.h-data: Likewise.
10515 * conform/data/locale.h-data: Likewise.
10516 * conform/data/math.h-data: Likewise.
10517 * conform/data/monetary.h-data: Likewise.
10518 * conform/data/mqueue.h-data: Likewise.
10519 * conform/data/ndbm.h-data: Likewise.
10520 * conform/data/net/if.h-data: Likewise.
10521 * conform/data/netdb.h-data: Likewise.
10522 * conform/data/netinet/in.h-data: Likewise.
10523 * conform/data/nl_types.h-data: Likewise.
10524 * conform/data/poll.h-data: Likewise.
10525 * conform/data/pthread.h-data: Likewise.
10526 * conform/data/pwd.h-data: Likewise.
10527 * conform/data/regex.h-data: Likewise.
10528 * conform/data/sched.h-data: Likewise.
10529 * conform/data/search.h-data: Likewise.
10530 * conform/data/semaphore.h-data: Likewise.
10531 * conform/data/setjmp.h-data: Likewise.
10532 * conform/data/signal.h-data: Likewise.
10533 * conform/data/spawn.h-data: Likewise.
10534 * conform/data/stdarg.h-data: Likewise.
10535 * conform/data/stdio.h-data: Likewise.
10536 * conform/data/stdlib.h-data: Likewise.
10537 * conform/data/string.h-data: Likewise.
10538 * conform/data/strings.h-data: Likewise.
10539 * conform/data/stropts.h-data: Likewise.
10540 * conform/data/sys/ipc.h-data: Likewise.
10541 * conform/data/sys/mman.h-data: Likewise.
10542 * conform/data/sys/msg.h-data: Likewise.
10543 * conform/data/sys/resource.h-data: Likewise.
10544 * conform/data/sys/select.h-data: Likewise.
10545 * conform/data/sys/sem.h-data: Likewise.
10546 * conform/data/sys/shm.h-data: Likewise.
10547 * conform/data/sys/socket.h-data: Likewise.
10548 * conform/data/sys/stat.h-data: Likewise.
10549 * conform/data/sys/statvfs.h-data: Likewise.
10550 * conform/data/sys/time.h-data: Likewise.
10551 * conform/data/sys/timeb.h-data: Likewise.
10552 * conform/data/sys/times.h-data: Likewise.
10553 * conform/data/sys/types.h-data: Likewise.
10554 * conform/data/sys/uio.h-data: Likewise.
10555 * conform/data/sys/un.h-data: Likewise.
10556 * conform/data/sys/utsname.h-data: Likewise.
10557 * conform/data/sys/wait.h-data: Likewise.
10558 * conform/data/syslog.h-data: Likewise.
10559 * conform/data/tar.h-data: Likewise.
10560 * conform/data/termios.h-data: Likewise.
10561 * conform/data/utime.h-data: Likewise.
10562 * conform/data/utmpx.h-data: Likewise.
10563 * conform/data/varargs.h-data: Likewise.
10564 * conform/data/wchar.h-data: Likewise.
10565 * conform/data/wctype.h-data: Likewise.
10566 * conform/data/wordexp.h-data: Likewise.
10568 * include/stropts.h: New file.
10569 * include/uchar.h: New file.
10570 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10571 * include/assert.h: Likewise.
10572 * include/ctype.h: Likewise.
10573 * include/dirent.h: Likewise.
10574 * include/dlfcn.h: Likewise.
10575 * include/fcntl.h: Likewise.
10576 * include/fnmatch.h: Likewise.
10577 * include/glob.h: Likewise.
10578 * include/grp.h: Likewise.
10579 * include/libio.h: Likewise.
10580 * include/locale.h: Likewise.
10581 * include/math.h: Likewise.
10582 * include/net/if.h: Likewise.
10583 * include/netdb.h: Likewise.
10584 * include/netinet/in.h: Likewise.
10585 * include/pthread.h: Likewise.
10586 * include/pwd.h: Likewise.
10587 * include/regex.h: Likewise.
10588 * include/sched.h: Likewise.
10589 * include/search.h: Likewise.
10590 * include/setjmp.h: Likewise.
10591 * include/signal.h: Likewise.
10592 * include/stdio.h: Likewise.
10593 * include/stdlib.h: Likewise.
10594 * include/string.h: Likewise.
10595 * include/sys/cdefs.h: Likewise.
10596 * include/sys/mman.h: Likewise.
10597 * include/sys/msg.h: Likewise.
10598 * include/sys/resource.h: Likewise.
10599 * include/sys/select.h: Likewise.
10600 * include/sys/socket.h: Likewise.
10601 * include/sys/stat.h: Likewise.
10602 * include/sys/statvfs.h: Likewise.
10603 * include/sys/time.h: Likewise.
10604 * include/sys/times.h: Likewise.
10605 * include/sys/uio.h: Likewise.
10606 * include/sys/utsname.h: Likewise.
10607 * include/sys/wait.h: Likewise.
10608 * include/termios.h: Likewise.
10609 * include/time.h: Likewise.
10610 * include/ulimit.h: Likewise.
10611 * include/unistd.h: Likewise.
10612 * include/utime.h: Likewise.
10613 * include/wchar.h: Likewise.
10614 * include/wctype.h: Likewise.
10615 * include/wordexp.h: Likewise.
10617 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10619 * time/time.h: TIME_UTC must be a macro.
10620 Make timespec_get available for ISO C11 only as well.
10622 2012-02-24 Ulrich Drepper <drepper@gmail.com>
10624 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10625 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10627 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10629 * configure.in: Use -o not -a in test for unsupported multi-arch.
10631 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10633 * manual/texinfo.tex: Update to version 2012-01-19.16.
10635 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10637 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10639 2012-02-24 Roland McGrath <roland@hack.frob.com>
10642 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10643 * manual/fdl-1.3.texi: New file.
10644 * manual/fdl-1.1.texi: File removed.
10647 * manual/libc.texinfo (FDL_VERSION): New @set.
10648 Use it for mention of FDL in cover text.
10649 (Documentation License): Use it in @include file name.
10651 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10652 Roland McGrath <roland@hack.frob.com>
10655 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10656 not LONG_LONG_MAX and LONG_LONG_MIN.
10657 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10658 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10660 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10662 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10666 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10667 manipulate bits before adding and subtracting TWO23[sx].
10668 * math/libm-test.inc (nearbyint_test): Add more tests.
10670 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10673 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10674 bits before adding and subtracting TWO23[sx].
10675 * math/libm-test.inc (rint_test): Add more tests.
10676 (rint_test_tonearest): Likewise.
10677 (rint_test_towardzero): Likewise.
10678 (rint_test_downward): Likewise.
10679 (rint_test_upward: Likewise.
10681 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10684 * include/stdc-predef.h: New file. Extracted from features.h.
10685 * include/features.h: Include stdc-predef.h.
10686 * Makefile (headers): Add stdc-predef.h.
10687 * CONFORMANCE (Compiler limitations): Update.
10689 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10691 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10693 2012-02-21 David S. Miller <davem@davemloft.net>
10695 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10696 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10698 2012-02-20 David S. Miller <davem@davemloft.net>
10700 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10701 using a normal save/restore sequence, rather than allocating a
10702 dummy stack frame just to store a frame pointer and restore.
10703 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10705 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10707 * manual/install.texi: Fix stray word in line-wrapped comment.
10709 2012-02-20 David S. Miller <davem@davemloft.net>
10711 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10712 both binutils and gcc support GOTDATA.
10714 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10715 "rd %pc" in the PIC register setup sequences.
10717 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10718 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10719 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10720 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10721 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10722 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10723 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10724 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10725 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10726 (SYSCALL_ERROR_HANDLER): Likewise.
10727 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10728 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10729 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10730 (SYSCALL_ERROR_HANDLER): Likewise.
10732 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10733 (HAVE_GCC_GOTDATA): New.
10734 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10735 relocation support in both binutils and gcc.
10736 * sysdeps/sparc/elf/configure: Regenerate.
10738 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10739 * sysdeps/sparc/sparc32/elf/configure: Delete.
10740 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10741 * sysdeps/sparc/sparc64/elf/configure: Delete.
10742 * sysdeps/sparc/elf/configure.in: New file.
10743 * sysdeps/sparc/elf/configure: Generate.
10745 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10746 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10747 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10748 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10749 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10751 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10753 * manual/install.texi: Do not mention specific glibc version
10755 * manual/libc.texinfo (VERSION, UPDATED): Update.
10756 (@copying): Use @copyright{} and range of years.
10758 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10761 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10762 [crti.S not in sysdirs] (generated): Do not append.
10763 [crti.S not in sysdirs] (omit-deps): Likewise.
10764 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10765 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10766 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10767 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10768 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10770 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10771 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10772 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10773 * csu/defs.awk: Remove file.
10774 * sysdeps/generic/initfini.c: Likewise.
10775 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10777 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10780 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10782 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10783 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10784 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10785 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10786 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10787 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10789 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10790 (__EPOLL_PACKED): Define to empty if not defined by
10792 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10796 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10798 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10799 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10800 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10801 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10803 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10804 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10807 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10809 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10811 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10812 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10813 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10816 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10818 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10819 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10821 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10823 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10824 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10826 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10828 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10831 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10833 * math/w_acos.c: Use non-signaling floating-point comparisons.
10834 * math/w_acosf.c: Likewise.
10835 * math/w_acosh.c: Likewise.
10836 * math/w_acoshf.c: Likewise.
10837 * math/w_acoshl.c: Likewise.
10838 * math/w_acosl.c: Likewise.
10839 * math/w_asin.c: Likewise.
10840 * math/w_asinf.c: Likewise.
10841 * math/w_asinl.c: Likewise.
10842 * math/w_atanh.c: Likewise.
10843 * math/w_atanhf.c: Likewise.
10844 * math/w_atanhl.c: Likewise.
10845 * math/w_exp2.c: Likewise.
10846 * math/w_exp2f.c: Likewise.
10847 * math/w_exp2l.c: Likewise.
10848 * math/w_j0.c: Likewise.
10849 * math/w_j0f.c: Likewise.
10850 * math/w_j0l.c: Likewise.
10851 * math/w_j1.c: Likewise.
10852 * math/w_j1f.c: Likewise.
10853 * math/w_j1l.c: Likewise.
10854 * math/w_jn.c: Likewise.
10855 * math/w_jnf.c: Likewise.
10856 * math/w_log.c: Likewise.
10857 * math/w_log10.c: Likewise.
10858 * math/w_log10f.c: Likewise.
10859 * math/w_log10l.c: Likewise.
10860 * math/w_log2.c: Likewise.
10861 * math/w_log2f.c: Likewise.
10862 * math/w_log2l.c: Likewise.
10863 * math/w_logf.c: Likewise.
10864 * math/w_logl.c: Likewise.
10865 * math/w_sqrt.c: Likewise.
10866 * math/w_sqrtf.c: Likewise.
10867 * math/w_sqrtl.c: Likewise.
10868 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10869 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10870 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10871 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10872 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10874 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10877 * manual/string.texi (strnlen): Use correct parameter name in
10878 equivalent expression.
10880 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10883 * manual/users.texi (seteuid): Consistently use neweuid for
10886 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10889 * manual/nss.texi (Services in the NSS configuration): Correct
10890 list of services in example configuration file.
10892 2012-02-19 Nick Bowler <nbowler@draconx.ca>
10895 * manual/arith.texi: Remove statements about negative zero
10896 behaving identically to zero.
10898 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10901 * manual/install.texi: Do not document upgrading from libc5.
10903 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10906 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10908 2012-02-18 David S. Miller <davem@davemloft.net>
10910 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10911 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10912 %o7 across the call.
10913 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10915 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10916 SETUP_PIC_REG_LEAF.
10917 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10918 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10919 * sysdeps/sparc/crtn.S: Likewise.
10921 2012-02-17 Ulrich Drepper <drepper@gmail.com>
10923 * aout/Makefile: Remove.
10925 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10928 * manual/examples/argp-ex1.c (main): Format definition in GNU
10930 * manual/examples/argp-ex2.c (main): Likewise.
10931 * manual/examples/argp-ex3.c (main): Likewise.
10932 * manual/examples/argp-ex4.c (main): Likewise.
10933 * manual/examples/longopt.c (main): Use new-style prototype
10935 * manual/examples/strncat.c (main): Specify return type and use
10936 (void) for arguments.
10937 * manual/examples/subopt.c (main): Use char **argv argument.
10939 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10942 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10945 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10948 * manual/string.texi (strchr): Change when strchrnul is
10951 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10954 * manual/locale.texi (setlocale): Document LOCPATH.
10956 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10959 * manual/process.texi (execle): Move @dots{} before last argument.
10961 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
10964 * manual/charset.texi (Generic Charset Conversion): Fix typo
10965 (LC_TYPE -> LC_CTYPE).
10967 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10970 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10971 (scalbnf): Likewise.
10972 (scalbnl): Likewise.
10973 (scalbln): Likewise.
10974 (scalblnf): Likewise.
10975 (scalblnl): Likewise.
10976 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10977 (vwarnx): Likewise.
10980 * manual/filesys.texi (telldir): Use braces around return type.
10981 * manual/llio.texi (mmap): Add space after comma.
10982 (mmap64): Likewise.
10983 * manual/math.texi (jn): Use @var{} on parameter names.
10989 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10991 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10993 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10994 (sched_get_priority_max): Likewise.
10995 * manual/signal.texi (sigvec): Add space after comma.
10996 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10998 (if_indextoname): Likewise.
10999 (if_freenameindex): Likewise.
11000 (sendto): Use ',' instead of '.' in prototype.
11001 * manual/startup.texi (syscall): Use @dots{} instead of literal
11003 * manual/stdio.texi (__fpending): Separate initial words of
11004 paragraph from @deftypefun line.
11005 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11007 (vsyslog): Use @var{} on parameter names.
11008 * manual/terminal.texi (stty): Use @var{} on parameter names.
11009 * manual/users.texi (getutmp): Use @var{} on parameter names.
11010 (getutmpx): Likewise.
11012 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11015 * manual/stdio.texi (fopen): Fix typos in description of
11018 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11021 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11022 get clock_id definition.
11024 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11027 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11028 (madvise): Cast every argument to void on its own.
11030 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11033 * manual/startup.texi (Exit Status): Fix typo.
11035 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11038 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11039 * manual/examples/argp-ex2.c: Likewise.
11040 * manual/examples/argp-ex3.c: Likewise.
11042 2012-02-16 Richard Henderson <rth@redhat.com>
11044 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11045 * sysdeps/s390/s390-32/initfini.c: Remove.
11046 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11047 * sysdeps/s390/s390-64/initfini.c: Remove.
11049 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11051 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11052 compiler output for sysdeps/generic/initfini.c.
11053 * sysdeps/sh/elf/initfini.c: Remove file.
11055 2012-02-16 David S. Miller <davem@davemloft.net>
11058 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11060 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11061 * sysdeps/sparc/crti.S: New file.
11062 * sysdeps/sparc/crtn.S: New file.
11063 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11064 * sysdeps/sparc/sparc64/Makefile: Likewise.
11066 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11069 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11071 2012-02-15 Roland McGrath <roland@hack.frob.com>
11074 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11076 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11077 (write, read, close): Likewise.
11078 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11080 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11082 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11083 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11084 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11085 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11087 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11091 2012-02-14 Marek Polacek <polacek@redhat.com>
11093 * sysdeps/x86_64/crti.S: New file.
11094 * sysdeps/x86_64/crtn.S: New file.
11095 * sysdeps/x86_64/elf/initfini.c: Remove file.
11097 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11099 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11100 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11101 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11102 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11104 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11108 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11110 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11111 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11112 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11113 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11115 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11116 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11119 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11121 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11122 __feraiseexcept instead of feraiseexcept.
11124 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11125 nanosleep invocations.
11126 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11127 strings, and add error checking for a nanosleep invocations.
11129 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11131 Replace FSF snail mail address with URLs, as per GNU coding standards.
11132 Most of the snail mail addresses were wrong anyway, and omitting
11133 them makes the source code easier to maintain. Almost all of the
11134 changes are to license notices and to locale LC_IDENTIFICATION
11135 addresses, except for this one:
11136 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11137 not its snail mail address.
11139 2012-02-09 Richard Henderson <rth@twiddle.net>
11141 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11142 of kernel-features.h.
11144 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11146 2012-02-08 Marek Polacek <polacek@redhat.com>
11148 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11149 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11150 * sysdeps/gnu/_G_config.h: Likewise.
11151 * sysdeps/generic/_G_config.h: Likewise.
11153 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11155 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11159 * sysdeps/powerpc/powerpc32/crti.S: New file.
11160 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11161 * sysdeps/powerpc/powerpc64/crti.S: New file.
11162 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11164 * Makeconfig (have-initfini): Don't set.
11165 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11166 * configure.in (nopic_initfini): Don't substitute.
11167 * config.h.in (HAVE_INITFINI): Don't #undef.
11168 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11169 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11171 2012-02-08 Joseph Myers <joseph@codesourcery.com>
11173 Support crti.S and crtn.S provided directly by architectures.
11174 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11175 [crti.S in sysdirs] (omit-deps): Likewise.
11176 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11177 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11178 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11179 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11180 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11181 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11182 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11183 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11184 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11185 compiler output for sysdeps/generic/initfini.c.
11186 * sysdeps/i386/elf/Makefile: Remove file.
11187 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11189 2012-02-07 Marek Polacek <polacek@redhat.com>
11191 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11192 * sysdeps/gnu/_G_config.h: Likewise.
11193 * sysdeps/mach/hurd/_G_config.h: Likewise.
11195 2012-02-07 Marek Polacek <polacek@redhat.com>
11197 * math/Makefile (tests): Add tst-CMPLX2.
11198 * math/tst-CMPLX2.c: New file.
11200 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11202 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11204 * math/libm-test.inc (jn_test): Add missing L suffix.
11206 2012-02-06 Marek Polacek <polacek@redhat.com>
11208 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11209 * sysdeps/i386/fpu/e_powf.S: Likewise.
11210 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11211 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11212 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11213 * sysdeps/i386/fpu/e_pow.S: Likewise.
11214 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11215 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11216 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11217 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11218 * sysdeps/i386/fpu/e_log2.S: Likewise.
11219 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11220 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11221 * sysdeps/i386/fpu/e_powl.S: Likewise.
11222 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11223 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11224 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11225 * sysdeps/i386/fpu/e_logl.S: Likewise.
11226 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11227 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11228 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11229 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11230 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11231 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11232 * sysdeps/i386/fpu/e_log.S: Likewise.
11233 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11234 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11235 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11236 * sysdeps/i386/fpu/e_logf.S: Likewise.
11237 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11238 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11239 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11240 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11241 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11242 * sysdeps/i386/fpu/e_log10.S: Likewise.
11243 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11244 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11245 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11246 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11247 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11248 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11249 * sysdeps/i386/asm-syntax.h: Likewise.
11250 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11251 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11252 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11253 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11254 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11255 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11256 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11257 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11258 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11259 * sysdeps/powerpc/sysdep.h: Likewise.
11260 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11261 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11263 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11266 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11268 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11270 * sysdeps/i386/sysdep.h: Include <features.h>.
11271 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11274 2012-02-05 Joseph Myers <joseph@codesourcery.com>
11276 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11278 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11281 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11283 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11284 (SETUP_PIC_REG): Use GET_PC_THUNK.
11285 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11288 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11290 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11291 for non-PIC compilation.
11292 (SETUP_PIC_REG): Add .p2align directive.
11293 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11294 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11295 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11296 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11297 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11298 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11299 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11300 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11301 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11302 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11303 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11304 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11305 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11306 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11307 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11308 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11309 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11310 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11311 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11312 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11313 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11314 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11315 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11316 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11317 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11318 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11319 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11320 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11321 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11322 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11323 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11324 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11325 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11326 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11327 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11328 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11329 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11330 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11331 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11332 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11333 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11335 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11337 * math/tst-CMPLX.c: Include <stdio.h>.
11339 2012-01-31 Joseph Myers <joseph@codesourcery.com>
11341 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11343 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11344 * sysdeps/sparc/bits/mathdef.h: Likewise.
11346 2012-01-31 Marek Polacek <polacek@redhat.com>
11348 * libio/libio.h: Don't define _PARAMS.
11349 * locale/programs/config.h: Don't define PARAMS.
11350 * stdlib/strtol_l.c: Likewise.
11351 (__strtol_l): Remove PARAMS from the prototype.
11353 2012-01-31 Ulrich Drepper <drepper@gmail.com>
11355 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11356 names. Just use the correct names. Remove unnecessary wrapper
11358 * malloc/arena.c: Likewise.
11359 * malloc/hooks.c: Likewise.
11361 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11362 ARENA_TEST says not to. Simplify test for creation of a new arena.
11363 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11365 2012-01-30 Ulrich Drepper <drepper@gmail.com>
11367 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11369 (update_get_addr): New function.
11370 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11371 GET_ADDR_MODULE parameter.
11373 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11375 * crypt/cert.c: Remove __STDC__ conditionals.
11376 * crypt/crypt-entry.c: Likewise.
11377 * crypt/crypt_util.c: Likewise.
11378 * libio/filedoalloc.c: Likewise.
11379 * libio/fileops.c: Likewise.
11380 * libio/genops.c: Likewise.
11381 * libio/iofclose.c: Likewise.
11382 * libio/iofdopen.c: Likewise.
11383 * libio/iofopen.c: Likewise.
11384 * libio/iofopen64.c: Likewise.
11385 * libio/iogetdelim.c: Likewise.
11386 * libio/iopopen.c: Likewise.
11387 * libio/obprintf.c: Likewise.
11388 * libio/oldfileops.c: Likewise.
11389 * libio/oldiofclose.c: Likewise.
11390 * libio/oldiofdopen.c: Likewise.
11391 * libio/oldiofopen.c: Likewise.
11392 * libio/oldiopopen.c: Likewise.
11393 * libio/wfiledoalloc.c: Likewise.
11394 * libio/wgenops.c: Likewise.
11395 * locale/programs/xmalloc.c: Likewise.
11396 * misc/syslog.c: Likewise.
11397 * stdio-common/xbug.c: Likewise.
11398 * string/memchr.c: Likewise.
11399 * string/memcmp.c: Likewise.
11400 * string/memrchr.c: Likewise.
11401 * string/rawmemchr.c: Likewise.
11402 * sysdeps/posix/getcwd.c: Likewise.
11403 * time/strftime_l.c: Likewise.
11405 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11407 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11408 * config.make.in (config-cflags-sse2avx): Define.
11409 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11412 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11414 * scripts/config.guess: Update from upstream config git repository.
11415 * scripts/config.sub: Likewise.
11417 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11419 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11421 (R_TILEPRO_*, R_TILEGX_*): New macros.
11423 * scripts/firstversions.awk: Fix bug in version range handling.
11425 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11427 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11429 * include/sys/epoll.h: New file.
11430 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11433 2012-01-28 Ulrich Drepper <drepper@gmail.com>
11435 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11436 Avoid unnecessary __WORDSIZE == 64 test.
11437 (fmaxf): Use VEX format if possible.
11442 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11443 * math/math_private.h: Remove libc_fegetround* and
11445 * sysdeps/i386/configure.in: Check for -msse2avx.
11446 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11447 also if SSE2AVX is defined.
11448 Remove libc_fegetround* and libc_fesetround*.
11449 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11450 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11451 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11453 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11454 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11455 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11456 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11457 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11459 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11461 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11463 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11465 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11467 2012-01-27 Ulrich Drepper <drepper@gmail.com>
11470 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11472 * Makeconfig (libm): Define.
11473 * elf/Makefile: Add rules to build and run tst-relsort1.
11474 * elf/tst-relsort1.c: New file.
11475 * elf/tst-relsort1mod1.c: New file.
11476 * elf/tst-relsort1mod2.c: New file.
11478 2012-01-27 Joseph Myers <joseph@codesourcery.com>
11480 * math/s_ldexp.c: Remove __STDC__ conditionals.
11481 * math/s_ldexpf.c: Likewise.
11482 * math/s_ldexpl.c: Likewise.
11483 * math/s_nextafter.c: Likewise.
11484 * math/s_nexttowardf.c: Likewise.
11485 * math/s_significand.c: Likewise.
11486 * math/s_significandf.c: Likewise.
11487 * math/s_significandl.c: Likewise.
11488 * math/w_jnl.c: Likewise.
11489 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11490 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11491 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11492 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11493 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11494 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11495 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11496 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11497 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11498 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11499 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11500 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11501 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11502 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11503 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11504 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11505 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11506 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11507 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11508 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11509 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11510 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11511 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11512 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11513 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11514 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11515 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11516 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11517 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11518 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11519 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11520 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11521 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11522 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11523 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11524 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11525 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11526 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11527 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11528 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11529 * sysdeps/ieee754/k_standard.c: Likewise.
11530 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11531 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11532 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11533 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11534 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11537 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11538 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11539 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11540 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11541 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11542 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11543 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11544 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11545 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11546 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11547 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11548 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11549 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11550 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11551 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11552 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11553 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11554 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11555 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11556 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11557 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11558 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11559 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11560 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11561 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11562 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11563 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11564 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11565 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11566 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11567 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11568 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11569 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11570 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11573 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11574 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11575 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11577 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11578 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11579 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11580 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11581 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11582 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11583 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11584 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11585 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11586 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11587 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11588 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11589 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11590 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11591 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11592 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11593 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11594 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11595 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11596 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11597 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11598 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11599 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11600 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11601 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11602 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11603 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11604 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11605 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11606 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11607 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11608 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11609 * sysdeps/ieee754/s_matherr.c: Likewise.
11610 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11611 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11612 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11613 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11615 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11617 * crypt/md5.h: Remove __STDC__ conditionals.
11618 * libio/libioP.h: Likewise.
11619 * locale/programs/config.h: Likewise.
11620 * sysdeps/generic/sysdep.h: Likewise.
11621 * sysdeps/i386/asm-syntax.h: Likewise.
11622 * sysdeps/s390/asm-syntax.h: Likewise.
11623 * sysdeps/unix/sysdep.h: Likewise.
11624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11627 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11629 * libio/libio.h: Remove __STDC__ conditionals.
11630 * malloc/obstack.h: Likewise.
11631 * math/complex.h: Likewise.
11632 * math/math.h: Likewise.
11633 * sysdeps/generic/_G_config.h: Likewise.
11634 * sysdeps/gnu/_G_config.h: Likewise.
11635 * sysdeps/mach/hurd/_G_config.h: Likewise.
11636 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11637 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11638 * sysdeps/sparc/bits/mathdef.h: Likewise.
11640 2012-01-26 Ulrich Drepper <drepper@gmail.com>
11643 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11644 Clean up HAS_* macros.
11645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11646 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11648 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11650 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11651 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11652 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11653 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11654 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11656 2012-01-25 Joseph Myers <joseph@codesourcery.com>
11658 * elf/tst-unique3.cc (gets): Remove declaration.
11659 * elf/tst-unique3lib.cc (gets): Likewise.
11660 * elf/tst-unique3lib2.cc (gets): Likewise.
11661 * elf/tst-unique4.cc (gets): Likewise.
11663 2012-01-24 Ulrich Drepper <drepper@gmail.com>
11665 * include/stdio.h: Add C++ protection. Add gets declarations and
11667 * debug/tst-chk1.c: Don't declare gets here.
11668 * stdio-common/tst-gets.c: Likewise.
11670 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11672 * posix/glob: Remove directory.
11674 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11676 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11678 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11680 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11681 of the non-standard EPFNOSUPPORT.
11683 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11685 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11686 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11687 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11689 2012-01-21 Ulrich Drepper <drepper@gmail.com>
11691 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11693 2012-01-20 Ulrich Drepper <drepper@gmail.com>
11695 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11697 * nscd/grpcache.c (cache_addgr): Likewise.
11698 * nscd/hstcache.c (cache_addhst): Likewise.
11699 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11700 * nscd/pwdcache.c (cache_addpw): Likewise.
11701 * nscd/servicescache.c (cache_addserv): Likewise.
11703 2012-01-16 Ulrich Drepper <drepper@gmail.com>
11705 * malloc/malloc.c: Various cleanups.
11706 * malloc/hooks.c: Likewise.
11708 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11709 * stdlib/bug-fmtmsg1.c: New file.
11711 * stdlib/fmtmsg.c (init): Add missing unlock.
11712 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11714 2012-01-12 Marek Polacek <polacek@redhat.com>
11716 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11719 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11721 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11722 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11723 macro to ensure uniqueness of label name.
11724 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11725 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11727 2012-01-11 Ulrich Drepper <drepper@gmail.com>
11729 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11731 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11732 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11733 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11734 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11736 2012-01-10 Ulrich Drepper <drepper@gmail.com>
11738 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11740 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11741 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11742 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11744 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11746 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11747 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11748 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11749 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11751 * math/bits/math-finite.h: Add ldexp support.
11753 2012-01-10 Marek Polacek <polacek@redhat.com>
11755 * locale/programs/localedef.h (show_archive_content): Add noreturn
11758 2012-01-09 Ulrich Drepper <drepper@gmail.com>
11760 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11762 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11764 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11766 * io/Makefile (headers): Add bits/poll2.h.
11768 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11771 typo #include statement.
11773 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11775 * include/sys/cdefs.h: Define __attribute_alloc_size.
11776 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11777 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11778 * elf/pldd.c: Likewise.
11779 * iconv/iconv_charmap.c: Likewise.
11780 * iconv/iconvconfig.c: Likewise.
11781 * iconv/strtab.c: Likewise.
11782 * locale/programs/locale.c: Likewise.
11783 * locale/programs/localedef.h: Likewise.
11784 * locale/programs/simple-hash.c: Likewise.
11785 * nscd/nscd.h: Likewise.
11786 * nss/makedb.c: Likewise.
11787 * sysdeps/generic/ldconfig.h: Likewise.
11788 * locale/programs/localedef.c: Remove xmalloc prototype.
11789 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11791 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11793 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11796 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11798 * math/Makefile (tests): Add tst-CMPLX.
11799 * math/tst-CMPLX.c: New file.
11801 * math/complex.h (CMPLXL): Fix typo.
11803 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11804 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11806 * debug/tst-chk1.c: Add poll and ppoll tests.
11807 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11808 * include/sys/poll.h: Add hidden proto for ppoll.
11809 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11810 * sysdeps/mach/hurd/ppoll.c: Likewise.
11811 * io/ppoll.c: Likewise.
11812 * debug/poll_chk.c: New file.
11813 * debug/ppoll_chk.c: New file.
11814 * include/bits/poll2.h: New file.
11815 * io/bits/poll2.h: New file.
11818 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11820 * configure.in: static is always set to yes. Remove.
11821 * config.make.in: Don't set build-static.
11822 * Makeconfig: Remove use of build-static.
11823 * dlfcn/Makefile: Likewise.
11824 * elf/Makefile: Likewise.
11825 * math/Makefile: Likewise.
11826 * misc/Makefile: Likewise.
11827 * nptl/Makefile: Likewise.
11828 * sysdeps/mach/hurd/Makefile: Likewise.
11830 * configure.in: PWD_P is not used anymore.
11831 * config.make.in: Remove PWD_P entry.
11833 * configure.in: Remove last remnants of RANLIB.
11834 No need to check for signed size_t anymore.
11835 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11837 Remove __builtin_expect test because we require at least gcc 3.4.
11838 * aclocal.m4: Likewise.
11840 * wcsmbs/mbrtoc16.c: Implement using towc function.
11841 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11842 * wcsmbs/wcsmbsload.c: Likewise.
11843 * iconv/gconv_simple.c: Likewise.
11844 * iconv/gconv_int.h: Likewise.
11845 * iconv/gconv_builtin.h: Likewise.
11846 * iconv/iconv_prog.c: Remove CHAR16 handling.
11848 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11850 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11852 * configure.in: Remove --with-elf and --enable-bounded options.
11853 Dont set base_machine for ia64. More non-ELF conditions removed.
11854 Remove testing and setting of leading underscore information.
11855 * config.make.in (build-bounded): Set to no.
11856 * config.h.in: Remove NO_UNDERSCORES entry.
11857 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11859 * csu/start.c: Remove !NO_UNDERSCORE code.
11860 * locale/localeinfo.h: Likewise.
11861 * sysdeps/generic/machine-gmon.h: Likewise.
11862 * sysdeps/generic/sysdep.h: Likewise.
11863 * sysdeps/i386/sysdep.h: Likewise.
11864 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11865 * sysdeps/mach/sysdep.h: Likewise.
11866 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11867 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11868 * sysdeps/sh/sysdep.h: Likewise.
11869 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11870 * sysdeps/unix/i386/sysdep.S: Likewise.
11871 * sysdeps/unix/sparc/start.c: Likewise.
11872 * sysdeps/unix/sparc/sysdep.S: Likewise.
11873 * sysdeps/unix/sparc/sysdep.h: Likewise.
11874 * sysdeps/unix/start.c: Likewise.
11875 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11876 * sysdeps/x86_64/sysdep.h: Likewise.
11878 2012-01-07 Ulrich Drepper <drepper@gmail.com>
11881 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11883 * argp/argp-fmtstream.h: Use const instead __const.
11884 * argp/argp.h: Likewise.
11885 * assert/assert.h: Likewise.
11886 * bits/fenv.h: Likewise.
11887 * bits/sched.h: Likewise.
11888 * bits/sigset.h: Likewise.
11889 * bits/sigthread.h: Likewise.
11890 * catgets/nl_types.h: Likewise.
11891 * conform/data/pthread.h-data: Likewise.
11892 * crypt/crypt-private.h: Likewise.
11893 * crypt/crypt.h: Likewise.
11894 * crypt/crypt_util.c: Likewise.
11895 * ctype/ctype.h: Likewise.
11896 * debug/execinfo.h: Likewise.
11897 * debug/mbsnrtowcs_chk.c: Likewise.
11898 * debug/mbsrtowcs_chk.c: Likewise.
11899 * debug/wcsnrtombs_chk.c: Likewise.
11900 * debug/wcsrtombs_chk.c: Likewise.
11901 * debug/wcstombs_chk.c: Likewise.
11902 * dirent/dirent.h: Likewise.
11903 * dlfcn/dlfcn.h: Likewise.
11904 * elf/neededtest4.c: Likewise.
11905 * grp/grp.h: Likewise.
11906 * gshadow/gshadow.h: Likewise.
11907 * iconv/gconv.h: Likewise.
11908 * iconv/gconv_int.h: Likewise.
11909 * iconv/gconv_simple.c: Likewise.
11910 * iconv/iconv.h: Likewise.
11911 * iconv/loop.c: Likewise.
11912 * iconv/skeleton.c: Likewise.
11913 * include/aio.h: Likewise.
11914 * include/aliases.h: Likewise.
11915 * include/argz.h: Likewise.
11916 * include/arpa/inet.h: Likewise.
11917 * include/assert.h: Likewise.
11918 * include/dirent.h: Likewise.
11919 * include/dlfcn.h: Likewise.
11920 * include/execinfo.h: Likewise.
11921 * include/fcntl.h: Likewise.
11922 * include/fenv.h: Likewise.
11923 * include/glob.h: Likewise.
11924 * include/grp.h: Likewise.
11925 * include/libintl.h: Likewise.
11926 * include/mntent.h: Likewise.
11927 * include/netdb.h: Likewise.
11928 * include/pwd.h: Likewise.
11929 * include/rpc/netdb.h: Likewise.
11930 * include/sched.h: Likewise.
11931 * include/search.h: Likewise.
11932 * include/shadow.h: Likewise.
11933 * include/signal.h: Likewise.
11934 * include/stdio.h: Likewise.
11935 * include/stdlib.h: Likewise.
11936 * include/string.h: Likewise.
11937 * include/sys/socket.h: Likewise.
11938 * include/sys/stat.h: Likewise.
11939 * include/sys/statfs.h: Likewise.
11940 * include/sys/statvfs.h: Likewise.
11941 * include/sys/syslog.h: Likewise.
11942 * include/sys/time.h: Likewise.
11943 * include/sys/uio.h: Likewise.
11944 * include/time.h: Likewise.
11945 * include/unistd.h: Likewise.
11946 * include/utmp.h: Likewise.
11947 * include/wchar.h: Likewise.
11948 * include/wctype.h: Likewise.
11949 * inet/aliases.h: Likewise.
11950 * inet/arpa/inet.h: Likewise.
11951 * inet/netinet/ether.h: Likewise.
11952 * inet/netinet/in.h: Likewise.
11953 * intl/libintl.h: Likewise.
11954 * io/bits/fcntl2.h: Likewise.
11955 * io/fcntl.h: Likewise.
11956 * io/ftw.h: Likewise.
11957 * io/sys/poll.h: Likewise.
11958 * io/sys/stat.h: Likewise.
11959 * io/sys/statfs.h: Likewise.
11960 * io/sys/statvfs.h: Likewise.
11961 * io/utime.h: Likewise.
11962 * libio/bits/stdio.h: Likewise.
11963 * libio/bits/stdio2.h: Likewise.
11964 * libio/libio.h: Likewise.
11965 * libio/libioP.h: Likewise.
11966 * libio/stdio.h: Likewise.
11967 * locale/lc-ctype.c: Likewise.
11968 * locale/locale.h: Likewise.
11969 * login/utmp.h: Likewise.
11970 * malloc/arena.c: Likewise.
11971 * malloc/malloc.c: Likewise.
11972 * malloc/malloc.h: Likewise.
11973 * malloc/mcheck.c: Likewise.
11974 * malloc/mtrace.c: Likewise.
11975 * math/bits/mathcalls.h: Likewise.
11976 * math/fenv.h: Likewise.
11977 * math/math_private.h: Likewise.
11978 * misc/bits/error.h: Likewise.
11979 * misc/bits/syslog.h: Likewise.
11980 * misc/err.h: Likewise.
11981 * misc/error.h: Likewise.
11982 * misc/fstab.h: Likewise.
11983 * misc/mntent.h: Likewise.
11984 * misc/regexp.h: Likewise.
11985 * misc/search.h: Likewise.
11986 * misc/sgtty.h: Likewise.
11987 * misc/sys/mman.h: Likewise.
11988 * misc/sys/syslog.h: Likewise.
11989 * misc/sys/uio.h: Likewise.
11990 * misc/sys/xattr.h: Likewise.
11991 * misc/ttyent.h: Likewise.
11992 * nis/rpcsvc/ypclnt.h: Likewise.
11993 * nss/nss.h: Likewise.
11994 * posix/bits/unistd.h: Likewise.
11995 * posix/fnmatch.h: Likewise.
11996 * posix/glob.h: Likewise.
11997 * posix/sched.h: Likewise.
11998 * posix/spawn.h: Likewise.
11999 * posix/sys/wait.h: Likewise.
12000 * posix/unistd.h: Likewise.
12001 * posix/wordexp.h: Likewise.
12002 * pwd/pwd.h: Likewise.
12003 * resolv/netdb.h: Likewise.
12004 * resource/sys/resource.h: Likewise.
12005 * rt/aio.h: Likewise.
12006 * rt/bits/mqueue2.h: Likewise.
12007 * rt/mqueue.h: Likewise.
12008 * shadow/shadow.h: Likewise.
12009 * signal/signal.h: Likewise.
12010 * socket/send.c: Likewise.
12011 * socket/sendto.c: Likewise.
12012 * socket/sys/socket.h: Likewise.
12013 * stdio-common/printf.h: Likewise.
12014 * stdlib/bits/stdlib.h: Likewise.
12015 * stdlib/fmtmsg.h: Likewise.
12016 * stdlib/monetary.h: Likewise.
12017 * stdlib/stdlib.h: Likewise.
12018 * stdlib/ucontext.h: Likewise.
12019 * streams/stropts.h: Likewise.
12020 * string/argz.h: Likewise.
12021 * string/bits/string2.h: Likewise.
12022 * string/string.h: Likewise.
12023 * string/strings.h: Likewise.
12024 * sunrpc/rpc/auth.h: Likewise.
12025 * sunrpc/rpc/auth_des.h: Likewise.
12026 * sunrpc/rpc/clnt.h: Likewise.
12027 * sunrpc/rpc/netdb.h: Likewise.
12028 * sunrpc/rpc/pmap_clnt.h: Likewise.
12029 * sunrpc/rpc/xdr.h: Likewise.
12030 * sysdeps/generic/inttypes.h: Likewise.
12031 * sysdeps/generic/net/if.h: Likewise.
12032 * sysdeps/generic/sys/swap.h: Likewise.
12033 * sysdeps/gnu/net/if.h: Likewise.
12034 * sysdeps/gnu/utmpx.h: Likewise.
12035 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12036 * sysdeps/i386/i486/bits/string.h: Likewise.
12037 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12038 * sysdeps/s390/bits/string.h: Likewise.
12039 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12040 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12041 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12042 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12043 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12044 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12045 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12046 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12047 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12048 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12049 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12050 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12051 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12052 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12053 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12054 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12055 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12056 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12057 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12058 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12059 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12060 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12061 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12062 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12063 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12064 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12065 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12066 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12067 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12068 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12069 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12070 * sysvipc/sys/ipc.h: Likewise.
12071 * sysvipc/sys/msg.h: Likewise.
12072 * sysvipc/sys/sem.h: Likewise.
12073 * sysvipc/sys/shm.h: Likewise.
12074 * termios/termios.h: Likewise.
12075 * time/sys/time.h: Likewise.
12076 * time/time.h: Likewise.
12077 * wcsmbs/bits/wchar2.h: Likewise.
12078 * wcsmbs/uchar.h: Likewise.
12079 * wcsmbs/wchar.h: Likewise.
12080 * wctype/wctype.h: Likewise.
12083 * Makeconfig: Remove all but ELF support including AIX support.
12084 * Makerules: Likewise.
12085 * config.h.in: Likewise.
12086 * config.make.in: Likewise.
12087 * configure: Likewise.
12088 * configure.in: Likewise.
12089 * csu/Makefile: Likewise.
12090 * csu/version.c: Likewise.
12091 * debug/Makefile: Likewise.
12092 * dlfcn/Makefile: Likewise.
12093 * elf/Makefile: Likewise.
12094 * extra-lib.mk: Likewise.
12095 * iconv/Makefile: Likewise.
12096 * include/libc-symbols.h: Likewise.
12097 * include/shlib-compat.h: Likewise.
12098 * resolv/Makefile: Likewise.
12099 * resolv/res_libc.c: Likewise.
12100 * rt/Makefile: Likewise.
12101 * sysdeps/i386/asm-syntax.h: Likewise.
12102 * sysdeps/i386/sysdep.h: Likewise.
12103 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12104 * sysdeps/mach/sysdep.h: Likewise.
12105 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12106 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12107 * sysdeps/s390/asm-syntax.h: Likewise.
12108 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12109 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12110 * sysdeps/sh/sysdep.h: Likewise.
12111 * sysdeps/unix/sparc/sysdep.h: Likewise.
12112 * sysdeps/wordsize-32/divdi3.c: Likewise.
12113 * sysdeps/x86_64/sysdep.h: Likewise.
12115 * argp/Versions: Remove _argp_unlock_xxx.
12118 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12119 * abilist/libBrokenLocale.abilist: Likewise.
12120 * abilist/libanl.abilist: Likewise.
12121 * abilist/libc.abilist: Likewise.
12122 * abilist/libcrypt.abilist: Likewise.
12123 * abilist/libdl.abilist: Likewise.
12124 * abilist/libm.abilist: Likewise.
12125 * abilist/libnsl.abilist: Likewise.
12126 * abilist/libpthread.abilist: Likewise.
12127 * abilist/libresolv.abilist: Likewise.
12128 * abilist/librt.abilist: Likewise.
12129 * abilist/libthread_db.abilist: Likewise.
12130 * abilist/libutil.abilist: Likewise.
12131 * abilist/libnss_db.abilist: New file.
12133 * scripts/abilist.awk: Add support for indirect functions.
12135 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12137 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12139 * shlib-versions: Remove entries for ports architectures.
12141 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12143 * elf/stackguard-macros.h: Remove support for IA-64.
12144 * elf/tst-auditmod1.c: Likewise.
12145 * sysdeps/generic/ldsodefs.h: Likewise.
12147 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12148 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12152 * configure.in: Remove --enable-omitfp support.
12154 * config.make.in: Likewise.
12155 * Makeconfig: Likewise.
12156 * manual/install.texi: Likewise.
12158 In case anyone cares, the IA-64 architecture could move to ports.
12159 * sysdeps/ia64/*: Removed.
12160 * sysdeps/unix/sysv/linux/ia64/*: Removed.
12161 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12164 * configure.in: Remove entries for unsupported architectures.
12167 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12168 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12170 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12171 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12172 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12173 fall back to using wcrtomb.
12174 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12175 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12177 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12178 * wcsmbs/tst-c16c32-1.c: New file.
12180 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12183 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12185 * elf/tst-unique3.cc: Add explicit declaration of gets.
12186 * elf/tst-unique3lib.cc: Likewise.
12187 * elf/tst-unique3lib2.cc: Likewise.
12188 * elf/tst-unique4.cc: Likewise.
12190 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12192 2012-01-06 Joseph Myers <joseph@codesourcery.com>
12195 * assert/assert.h (static_assert): Don't define for C++.
12196 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12197 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12199 2012-01-03 Ulrich Drepper <drepper@gmail.com>
12201 * iconv/loop.c (single loop): Fix assertion in storing of
12204 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12206 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12208 * posix/getconf.c: Update copyright year.
12209 * nss/getent.c: Likewise.
12210 * nss/makedb.c: Likewise.
12211 * iconv/iconvconfig.c: Likewise.
12212 * iconv/iconv_prog.c: Likewise.
12213 * elf/ldconfig.c: Likewise.
12214 * elf/pldd.c: Likewise.
12215 * elf/sotruss.ksh: Likewise.
12216 * catgets/gencat.c: Likewise.
12217 * csu/version.c: Likewise.
12218 * elf/ldd.bash.in: Likewise.
12219 * elf/sprof.c (print_version): Likewise.
12220 * locale/programs/locale.c: Likewise.
12221 * locale/programs/localedef.c: Likewise.
12222 * login/programs/pt_chown.c: Likewise.
12223 * nscd/nscd.c (print_version): Likewise.
12224 * debug/xtrace.sh: Likewise.
12225 * malloc/memusage.sh: Likewise.
12226 * malloc/mtrace.pl: Likewise.
12227 * debug/catchsegv.sh: Likewise.
12229 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12231 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12234 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12237 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12238 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12240 * iconv/gconv_int.h: Likewise.
12241 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12242 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12243 from libc for GLIBC_2.16.
12244 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12245 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12246 * wcsmbs/uchar.h: Really define mbstate_t.
12247 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12248 * wcsmbs/c16rtomb.c: New file.
12249 * wcsmbs/mbrtoc16.c: New file.
12250 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12251 for C/POSIX locale.
12252 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12253 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12255 * wcsmbs/wchar.h: Add missing __restrict.
12257 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12260 * time/Makefile (routines): Add timespec_get.
12261 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12262 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12263 timespec for ISO C11.
12264 * time/timespec_get.c: New file.
12265 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12266 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12269 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12270 * stdlib/stdlib.h: Declare aligned_alloc.
12271 * Versions.def: Add GLIBC_2.16 for libc.
12272 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12275 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12278 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12282 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12285 * assert/assert.h (static_assert): Define.
12287 * version.h: Update for 2.16 development version.
12290 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12293 * version.h (RELEASE): Bump for 2.15 release.
12294 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12296 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12297 Patch by Marek Polacek <mpolacek@redhat.com>.
12299 * bits/byteswap.h: Protect long long constants with __extension__.
12300 * sysdeps/i386/bits/byteswap.h: Likewise.
12301 * sysdeps/ia64/bits/byteswap.h: Likewise.
12302 * sysdeps/s390/bits/byteswap.h: Likewise.
12303 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12305 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12308 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12309 destination buffer.
12310 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12312 2011-12-23 Marek Polacek <polacek@redhat.com>
12314 * elf/dl-addr.c (determine_info): Add inline keyword.
12315 * elf/tst-auditmod4b.c (check_avx): Likewise.
12316 * elf/tst-auditmod6b.c (check_avx): Likewise.
12317 * elf/tst-auditmod6c.c (check_avx): Likewise.
12318 * elf/tst-auditmod7b.c (check_avx): Likewise.
12320 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12322 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12325 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12328 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12329 processing for last bytes.
12331 2011-08-06 Bruno Haible <bruno@clisp.org>
12334 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12335 U+0385, not to U+1FEE.
12338 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12339 entry for U+00A5 U+0301.
12341 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12344 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12345 buffer for the output is too small.
12347 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12351 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12352 SSE flags if possible.
12354 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12357 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12358 processing for last bytes.
12360 2011-12-22 Joseph Myers <joseph@codesourcery.com>
12362 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12363 (syscall-list-default-options, syscall-list-default-condition)
12364 (syscall-list-includes): Define.
12365 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12366 list of ABIs and options and #if conditions for each ABI. Do not
12367 handle common syscalls between ABIs specially.
12368 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12370 (syscall-list-variants, syscall-list-32bit-options)
12371 (syscall-list-32bit-condition, syscall-list-64bit-options)
12372 (syscall-list-64bit-condition): Define.
12373 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12374 (syscall-list-variants, syscall-list-32bit-options)
12375 (syscall-list-32bit-condition, syscall-list-64bit-options)
12376 (syscall-list-64bit-condition): Define.
12377 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12379 (syscall-list-variants, syscall-list-32bit-options)
12380 (syscall-list-32bit-condition, syscall-list-64bit-options)
12381 (syscall-list-64bit-condition): Define.
12382 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12384 (syscall-list-variants, syscall-list-32bit-options)
12385 (syscall-list-32bit-condition, syscall-list-64bit-options)
12386 (syscall-list-64bit-condition): Define.
12388 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12390 * locale/iso-639.def: Add brx entry.
12393 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12394 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12396 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12397 __feraiseexcept_renamed.
12399 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12402 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12403 EPOLLET with unsigned values.
12404 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12405 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12407 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12408 to large cancellation.
12409 * math/s_cacoshf.c: Likewise.
12410 * math/s_cacoshl.c: Likewise.
12412 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12416 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12417 * math/s_cacoshf.c: Likewise.
12418 * math/s_cacoshl.c: Likewise.
12420 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12423 * iconv/gconv.h: Define __GCONV_SWAP.
12424 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12425 * iconvdata/utf-16.c: Likewise.
12426 * iconvdata/utf-32.c: Likewise.
12428 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12431 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12432 numerator after shifting it by one limb.
12434 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12436 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12437 under [__USE_EXTERN_INLINES].
12439 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12442 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12444 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12446 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12447 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12449 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12450 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12451 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12452 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12453 for strncasecmp/strncasecmp_l compilation.
12454 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12455 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12457 2011-12-08 Marek Polacek <mpolacek@redhat.com>
12460 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12463 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12466 * time/tzfile.c (__tzfile_read): Check values from file header.
12468 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12470 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12471 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12472 * powerpc/powerpc32/dl-start.S: Likewise.
12473 * powerpc/powerpc32/elf/start.S: Likewise.
12474 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12475 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12476 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12477 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12478 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12479 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12480 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12481 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12482 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12483 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12484 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12485 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12486 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12487 * powerpc/powerpc32/memset.S: Likewise.
12488 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12489 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12490 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12491 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12492 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12493 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12494 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12495 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12496 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12497 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12498 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12499 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12500 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12502 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12504 * math/libm-test.inc: Added more nearbyint tests.
12505 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12506 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12507 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12508 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12510 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12512 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12515 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12517 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12518 Add wcscpy-ssse3 wcscpy-c.
12519 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12520 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12521 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12522 * sysdeps/x86_64/wcschr.S: New file.
12523 * sysdeps/x86_64/wcsrchr.S: New file.
12524 * string/test-strcmp.c: Remove checking of wcscmp function for
12526 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12527 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12528 wcsrchr-sse2 wcsrchr-c.
12529 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12530 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12531 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12532 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12533 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12534 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12535 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12536 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12537 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12538 * wcsmbc/wcschr.c (WCSCHR): New macro.
12540 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12542 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12543 * wcsmbs/test-wcsrchr.c: New file.
12544 * string/test-strrchr.c: Add wcsrchr support.
12546 * wcsmbs/test-wcscpy.c: New file.
12547 * string/test-strcpy.c: Add wcscpy support.
12550 2011-12-10 Ulrich Drepper <drepper@gmail.com>
12552 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12555 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12558 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12560 2011-12-04 Ulrich Drepper <drepper@gmail.com>
12562 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12563 Minor optimizations.
12565 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12566 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12567 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12569 2011-12-03 Ulrich Drepper <drepper@gmail.com>
12571 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12572 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12573 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12574 for gcc to avoid warnings.
12575 * inet/Makefile (tests): Add tst-checks.
12576 * inet/tst-checks.c: New file.
12578 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12581 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12584 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12585 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12587 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12589 2011-12-02 Ulrich Drepper <drepper@gmail.com>
12591 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12594 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12596 2011-11-29 Joseph Myers <joseph@codesourcery.com>
12598 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12599 conditional on GCC version.
12600 (__arch_compare_and_exchange_val_8_acq)
12601 (__arch_compare_and_exchange_val_16_acq)
12602 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12603 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12604 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12606 2011-12-02 Joseph Myers <joseph@codesourcery.com>
12608 * sysdeps/sh/backtrace.c: New file.
12610 2011-12-02 Andreas Schwab <schwab@redhat.com>
12612 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12615 2011-12-01 Andreas Schwab <schwab@redhat.com>
12617 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12618 falling back to utime.
12620 2011-11-30 Andreas Schwab <schwab@redhat.com>
12622 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12623 expectations for float.
12625 2011-11-29 Andreas Schwab <schwab@redhat.com>
12627 * locale/weight.h (findidx): Add parameter len.
12628 * locale/weightwc.h (findidx): Likewise.
12629 * posix/fnmatch_loop.c (FCT): Adjust caller.
12630 * posix/regcomp.c (build_equiv_class): Likewise.
12631 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12632 * posix/regexec.c (check_node_accept_bytes): Likewise.
12633 * string/strcoll_l.c (STRCOLL): Likewise.
12634 * string/strxfrm_l.c (STRXFRM): Likewise.
12636 2011-11-17 Ulrich Drepper <drepper@gmail.com>
12638 * Makefile.in: Remove CVSOPT handling.
12639 * configure.in: Remove use of AC_REVISION.
12640 * iconvdata/Makefile (distribute): No need to filter out CVS.
12641 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12644 2011-11-16 Andreas Schwab <schwab@redhat.com>
12646 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12647 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12648 [USE_AS_STRNCASECMP_L]: Likewise.
12649 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12650 NO_TLS_DIRECT_SEG_REFS.
12651 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12652 Fix argument offsets for non-PIC.
12653 [USE_AS_STRNCASECMP_L]: Likewise.
12654 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12655 NO_TLS_DIRECT_SEG_REFS.
12657 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12659 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12661 * locale/loadlocale.c (_nl_load_locale): Likewise.
12663 2011-11-15 Andreas Schwab <schwab@redhat.com>
12665 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12666 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12667 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12668 (SYSCALL_GETTIME): Set errno on error.
12670 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12671 count references to noai6ai_cached.
12673 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12675 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12677 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12678 FD_CLOEXEC for /proc/self/maps.
12680 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12681 FD_CLOEXEC for /proc/meminfo.
12683 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12686 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12687 FD_CLOEXEC for given file.
12689 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12691 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12692 FD_CLOEXEC for /etc/hosts.
12693 (_gethtent): Likewise.
12695 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12697 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12698 cancellation and set FD_CLOEXEC for /etc/netgroup.
12700 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12701 reading /etc/publickey.
12703 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12704 allow cancellation when reading /etc/group.
12706 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12708 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12710 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12711 when using data file.
12713 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12715 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12716 (write_nis_obj): Use "c" and "e" in fopen.
12718 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12720 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12722 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12724 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12726 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12729 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12731 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12733 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12735 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12736 file parsing and set FD_CLOEXEC.
12738 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12740 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12742 2011-11-14 Andreas Schwab <schwab@redhat.com>
12744 * malloc/arena.c (arena_get2): Don't call reused_arena when
12745 _int_new_arena failed.
12747 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12749 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12750 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12751 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12752 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12753 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12754 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12755 to compile strcasecmp and strncasecmp.
12756 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12757 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12759 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12761 2011-11-13 Ulrich Drepper <drepper@gmail.com>
12763 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12764 locale-defines.sym to gen-as-const-headers.
12765 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12766 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12767 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12768 to compile strcasecmp and strncasecmp.
12769 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12770 strcasecmp_l and strncasecmp_l.
12771 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12772 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12773 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12774 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12775 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12776 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12777 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12778 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12779 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12780 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12781 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12783 2011-11-12 Ulrich Drepper <drepper@gmail.com>
12785 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12786 result of SYSDEP_GETTIME_CPU to retval.
12787 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12788 parameter list to macro. Remove trailing semicolon. Adjust users.
12790 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12793 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12795 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12797 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12798 from unused variable.
12800 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12802 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12805 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12808 * sunrpc/rpc_prot.c (rejected): Fix case value.
12810 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12811 unsigned long long int to avoid warnings in shift.
12813 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12815 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12818 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12819 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12820 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12822 * nis/nis_table.c (nis_list): Use variable of correct type for
12823 result of __follow_path call.
12825 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12827 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12828 of math functions ceil, trunc, floor, round, and sqrt, when
12829 avaliable on the platform.
12830 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12832 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12833 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12834 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12836 2011-10-30 Marek Polacek <mpolacek@redhat.com>
12838 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12839 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12841 2011-11-11 Roland McGrath <roland@hack.frob.com>
12843 * include/unistd.h: Fix __readlink return type.
12844 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12846 2011-11-11 Ulrich Drepper <drepper@gmail.com>
12848 * stdlib/ucontext.h: Undo last change for makecontext.
12850 2011-11-11 Andreas Schwab <schwab@redhat.com>
12852 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12854 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12855 * setjmp/setjmp.h: Mark functions as non-leaf.
12856 * setjmp/bits/setjmp2.h: Likewise.
12857 * stdlib/ucontext.h: Likewise.
12859 2011-11-10 Andreas Schwab <schwab@redhat.com>
12861 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12862 (reused_arena): Don't check arena limit.
12863 (arena_get2): Atomically check arena limit.
12865 2011-11-08 Ulrich Drepper <drepper@gmail.com>
12867 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12868 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12870 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12873 2011-11-07 Andreas Schwab <schwab@redhat.com>
12875 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12876 handler when locking.
12878 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12879 Fix size of allocated buffer.
12881 2011-11-04 Andreas Schwab <schwab@redhat.com>
12884 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12885 declarations for long double functions.
12886 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12888 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12890 2011-11-03 Andreas Schwab <schwab@redhat.com>
12892 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12895 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12898 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12900 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12902 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12904 * include/alloca.h (stackinfo_alloca_round): Define.
12905 (extend_alloca): Use it.
12906 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12907 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12910 * scripts/check-local-headers.sh: Ignore libaudit.h.
12912 * nscd/Makefile (extra-objs): Make recursively expanded.
12914 2011-11-01 Ulrich Drepper <drepper@gmail.com>
12916 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12917 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12919 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12920 * posix/tst-rfc3484-2.c: Likewise.
12921 * posix/tst-rfc3484-3.c: Likewise.
12923 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12925 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12927 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12928 process_vm_writev from libc using GLIBC_2.15 version.
12930 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12932 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12934 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12937 2011-10-31 Ulrich Drepper <drepper@gmail.com>
12940 * nss/getent.c (initgroups_keys): Show error message in case no group
12943 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12944 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12945 __bump_nl_timestamp.
12946 * nscd/connections (nscd_init): When host database is served open
12947 netlink socket and request notification about configuration changes.
12948 (main_loop_poll): Track netlink file descriptor and bump timestamp
12949 in case data becomes available.
12950 (main_loop_epoll): Likewise.
12951 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12952 (database_pers_head): Add extra_data fileds.
12953 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12954 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12955 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12957 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12958 in6ai data, call __free_in6ai.
12959 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12960 Add -DHAVE_NETLINK.
12961 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12962 interface information. Reuse previous data if netlink timestamp
12964 (__bump_nl_timestamp): New function.
12965 (__free_in6ai): New function.
12967 2011-10-30 Ulrich Drepper <drepper@gmail.com>
12969 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12970 close_not_cancel_no_status here.
12971 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12973 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12976 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12979 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12980 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12981 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12983 2011-07-03 Andreas Jaeger <aj@suse.de>
12986 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12987 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12988 * math/libm-test.inc (sin_test): Add test case.
12990 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12993 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12994 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12996 * elf/chroot_canon.c (chroot_canon): Cleanups.
12998 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13001 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13002 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13004 * string/test-strchr.c: Make usable for strchrnul testing.
13005 * string/test-strchrnul.c: New file.
13006 * string/Makefile (strop-tests): Add strchrnul.
13008 * po/it.po: Update from translation team.
13009 * po/es.po: Likewise.
13011 2011-10-28 Ulrich Drepper <drepper@gmail.com>
13013 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13014 the three constants needed as parameters. Drop the others.
13015 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13016 __m128i_strloadu_tolower.
13017 Create and initialize variable zero and use it in all the places
13018 where _mm_setzero_si128 was used.
13020 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13021 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13022 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13023 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13025 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13026 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13027 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13028 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13029 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13030 __mpranred, __mptan.
13031 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13032 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13033 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13034 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13035 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13036 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13037 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13038 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13039 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13041 2011-10-28 Andreas Schwab <schwab@redhat.com>
13043 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13044 redefine if SHARED.
13045 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13047 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13048 wide char related routines to wcsmbs subdir.
13050 2011-10-27 Andreas Schwab <schwab@redhat.com>
13053 * misc/sys/cdefs.h (__THROWNL): Define.
13054 * posix/unistd.h: Use __THREADNL instead of __THREAD
13055 for memory synchronization functions.
13057 2011-10-26 Roland McGrath <roland@hack.frob.com>
13060 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13062 * manual/stdio.texi (Obstack Streams): Node removed.
13064 2011-10-26 Andreas Schwab <schwab@redhat.com>
13066 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13067 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13068 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13070 * math/math_private.h (math_force_eval): Allow non-addressable
13072 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13074 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13076 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13077 file is not needed.
13079 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13080 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13081 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13082 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13083 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13084 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13085 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13086 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13088 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13089 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13090 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13091 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13092 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13093 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13094 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13095 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13096 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13097 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13098 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13099 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13100 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13101 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13102 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13103 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13104 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13105 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13106 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13108 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13109 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13111 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13112 place. Use VEX encoding when compiling for AVX.
13114 2011-10-25 Andreas Schwab <schwab@redhat.com>
13116 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13117 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13119 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13121 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13123 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13124 useless if() expression.
13125 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13126 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13127 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13128 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13129 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13130 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13131 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13132 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13133 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13134 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13135 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13136 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13137 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13138 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13139 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13140 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13141 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13142 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13143 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13145 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13147 2011-10-25 Andreas Schwab <schwab@redhat.com>
13149 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13151 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13153 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13155 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13156 .text section. Avoid duplicate constants.
13157 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13158 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13159 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13161 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13162 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13163 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13164 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13165 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13166 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13167 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13168 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13169 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13170 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13171 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13172 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13173 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13174 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13175 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13176 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13177 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13178 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13179 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13180 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13181 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13182 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13183 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13184 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13185 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13186 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13187 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13188 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13189 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13190 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13191 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13192 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13193 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13194 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13195 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13196 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13197 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13198 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13199 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13200 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13201 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13203 2011-10-24 Ulrich Drepper <drepper@gmail.com>
13205 * sysdeps/x86_64/dla.h: Move to ...
13206 * sysdeps/x86_64/fpu/dla.h: ...here.
13207 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13208 situations. Use __builtin_fma only for gcc 4.6 and up.
13210 * config.make.in: Add have-mfma4 entry.
13211 * configure.in: Substitute libc_cv_cc_fma4.
13212 * math/Makefile (dbl-only-routines): Add sincostab.
13213 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13214 Use __sincostab not sincos.
13215 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13217 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13218 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13219 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13220 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13222 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13223 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13224 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13225 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13227 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13228 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13230 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13231 define aliases when function name is a macro.
13232 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13233 sysdeps/ieee754/dbl-64/sincos.tbl.
13234 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13235 fma4-enabled routines.
13236 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13237 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13238 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13239 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13240 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13241 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13242 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13243 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13244 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13245 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13246 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13247 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13248 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13249 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13250 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13251 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13252 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13253 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13254 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13255 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13256 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13257 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13258 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13259 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13260 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13261 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13262 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13263 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13264 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13265 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13267 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13269 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13270 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13271 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13272 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13273 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13274 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13275 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13276 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13278 2011-10-24 Andreas Schwab <schwab@redhat.com>
13280 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13282 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13284 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13286 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13288 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13290 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13291 Remove unused variable magic_bits.
13292 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13294 * string/strnlen.c: Define and use STRNLEN macro.
13295 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13296 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13297 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13298 * wcsmbs/wcslen.c: Define and use WCSLEN.
13299 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13300 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13301 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13302 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13303 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13304 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13305 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13307 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13310 strnlen-sse2-no-bsf.
13311 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13312 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13313 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13314 Add strnlen support.
13315 (USE_AS_STRNLEN): New macro.
13316 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13317 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13318 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13319 * sysdeps/x86_64/wcslen.S: New file.
13321 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13323 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13324 XMM-moves are used for copying on small sizes.
13326 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13328 * wcsmbs/Makefile (strop-tests): Add wcschr.
13329 * wcsmbs/test-wcschr.c: New file.
13330 * string/test-strchr.c: Update.
13331 Add wcschr support.
13334 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13336 * wcsmbs/Makefile (strop-tests): Add wcslen.
13337 * wcsmbs/test-wcslen.c: New file.
13338 * string/test-strlen.c: Update.
13339 Add wcslen support.
13342 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13344 * po/it.po: Update from translation team.
13346 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13348 * sysdeps/x86_64/wcscmp.S: Update.
13349 Fix wrong comparison semantics.
13350 wcscmp shall use signed comparison not unsigned.
13351 Don't use substraction to avoid overflow bug.
13352 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13353 * wcsmbc/wcscmp.c: Likewise.
13354 * string/test-strcmp.c: Likewise.
13355 Add new tests to check cases with negative values.
13357 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13359 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13360 * sysdeps/x86_64/dla.h: ...here. New file.
13361 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13362 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13363 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13364 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13365 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13366 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13367 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13368 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13369 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13371 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13373 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13374 __ynl_finite aliases.
13376 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13380 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13382 [DLA_FMA] (EMULV): Use DLA_FMA.
13383 [DLA_FMA] (MUL12): Use EMULV.
13384 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13385 that are not needed.
13386 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13387 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13389 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13390 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13391 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13392 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13394 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13396 * math/s_nan.c: Undef __nan.
13397 * math/s_nanf.c: Undef __nanf.
13398 * math/s_nanl.c: Undef __nanl.
13399 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13402 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13404 * math/s_catan.c: Add branch predictions.
13405 * math/s_catanf.c: Likewise.
13406 * math/s_catanh.c: Likewise.
13407 * math/s_catanhf.c: Likewise.
13408 * math/s_catanhl.c: Likewise.
13409 * math/s_catanl.c: Likewise.
13410 * math/s_cexp.c: Likewise.
13411 * math/s_cexpf.c: Likewise.
13412 * math/s_cexpl.c: Likewise.
13413 * math/s_clog.c: Likewise.
13414 * math/s_clog10.c: Likewise.
13415 * math/s_clog10f.c: Likewise.
13416 * math/s_clog10l.c: Likewise.
13417 * math/s_clogf.c: Likewise.
13418 * math/s_clogl.c: Likewise.
13419 * math/s_csqrt.c: Likewise.
13420 * math/s_csqrtf.c: Likewise.
13421 * math/s_csqrtl.c: Likewise.
13422 * math/s_ctanf.c: Likewise.
13423 * math/s_ctanh.c: Likewise.
13424 * math/s_ctanhf.c: Likewise.
13425 * math/s_ctanhl.c: Likewise.
13426 * math/s_ctanl.c: Likewise.
13428 * math/math_private.h: Define __nan, __nanf, __nanl.
13429 * math/s_cacosh.c: Include <math_private.h>.
13430 * math/s_cacoshl.c: Likewise.
13431 * math/s_casinh.c: Likewise.
13432 * math/s_casinhf.c: Likewise.
13433 * math/s_casinhl.c: Likewise.
13434 * math/s_ccos.c: Rely entire on ccosh.
13435 * math/s_ccosf.c: Rely entire on ccoshf.
13436 * math/s_ccosl.c: Rely entirely on ccoshl.
13437 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13438 Remove tests for FE_INVALID.
13439 * math/s_ccoshf.c: Likewise.
13440 * math/s_ccoshl.c: Likewise.
13441 * math/s_csin.c: Likewise.
13442 * math/s_csinf.c: Likewise.
13443 * math/s_csinh.c Likewise.
13444 * math/s_csinhf.c: Likewise.
13445 * math/s_csinhl.c: Likewise.
13446 * math/s_csinl.c: Likewise.
13447 * math/s_ctan.c: Likewise.
13448 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13449 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13450 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13452 2011-10-21 Ulrich Drepper <drepper@gmail.com>
13454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13455 compilation problems.
13457 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13460 2011-10-20 Ulrich Drepper <drepper@gmail.com>
13462 * sysdeps/i386/configure.in: Test for -mfma4 option.
13463 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13464 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13465 COMMON_CPUID_INDEX_80000001.
13466 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13467 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13468 use it if FMA3 is not supported.
13469 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13471 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13472 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13474 2011-10-20 Andreas Schwab <schwab@redhat.com>
13477 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13478 it would create a cycle with a link time dependency.
13480 2011-10-19 Ulrich Drepper <drepper@gmail.com>
13482 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13484 * string/Makefile (strop-tests): Add rawmemchr.
13485 * string/test-rawmemchr.c: New file.
13487 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13488 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13489 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13490 when compiling str{,n}casecmp and when AVX is available. Hook up
13491 new optimized code in initializers.
13493 2011-10-19 Andreas Schwab <schwab@redhat.com>
13495 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13496 __feraiseexcept instead of feraiseexcept.
13498 2011-10-18 Ulrich Drepper <drepper@gmail.com>
13500 * math/math_private.h: Define defaults for libc_fetestexcept and
13502 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13503 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13504 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13505 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13506 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13507 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13508 libc_fetestexcept and libc_feupdateenv.
13510 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13511 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13512 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13513 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13514 libc_feholdexcept_setround.
13516 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13517 Add s_nearbyint-c and s_nearbyintf-c.
13518 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13519 nearbyintf inlines.
13520 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13521 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13522 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13523 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13525 * math/math_private.h: Define defaults for libc_fegetround,
13526 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13527 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13528 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13529 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13530 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13531 standard functions.
13532 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13533 Remove comments and hacks for old compiler versions.
13534 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13535 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13536 libc_feholdexceptl.
13538 2011-10-18 Andreas Schwab <schwab@redhat.com>
13540 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13541 (__feraiseexcept_renamed): Add __NTH.
13542 (feraiseexcept): Add __NTH. Rename local variables to fix
13543 namespace violations.
13545 2011-10-17 Ulrich Drepper <drepper@gmail.com>
13547 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13549 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13551 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13552 recently added interfaces.
13553 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13555 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13556 about macro parameter expansion.
13558 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13559 __NO_MATH_INLINES is defined. Cleanups.
13561 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13562 and __floorf is target has SSE4.1.
13563 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13564 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13565 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13566 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13568 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13570 (floorf): Likewise.
13572 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13574 2011-10-17 Andreas Schwab <schwab@redhat.com>
13576 * misc/sys/cdefs.h: Fix last change.
13578 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13581 2011-10-16 Ulrich Drepper <drepper@gmail.com>
13583 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13585 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13586 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13587 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13588 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13589 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13590 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13591 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13592 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13593 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13594 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13595 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13596 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13597 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13598 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13599 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13600 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13601 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13602 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13603 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13604 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13605 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13606 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13608 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13609 ceil, ceilf, floor, floorf.
13611 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13612 Perform IRELATIVE relocations last.
13614 * elf/do-rel.h: Add another parameter nrelative, replacing the
13615 local variable with the same name. Change name of the function
13616 to end in Rel or Rela (uppercase).
13617 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13618 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13619 elf_dynamic_do_##reloc function.
13621 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13623 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13624 is sufficient, at least on modern CPUs.
13626 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13628 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13629 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13631 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13633 * math/bits/math-finite.h: Add entries for exp.
13634 * math/e_expl.c: Add __*_finite alias.
13635 * sysdeps/i386/fpu/e_exp.S: Likewise.
13636 * sysdeps/i386/fpu/e_expf.S: Likewise.
13637 * sysdeps/i386/fpu/e_expl.c: Likewise.
13638 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13639 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13640 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13641 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13642 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13643 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13644 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13646 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13647 is sufficient, at least on modern CPUs.
13649 * ctype/ctype-info.c (__ctype_init): Define.
13650 * include/ctype.h (__ctype_init): Declare.
13651 (__ctype_b_loc): The variable is always initialized.
13652 (__ctype_toupper_loc): Likewise.
13653 (__ctype_tolower_loc): Likewise.
13654 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13655 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13657 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13659 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13661 * configure.in: Also look in $cxxmachine/include for C++ system
13664 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13666 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13667 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13668 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13669 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13670 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13671 (USE_AS_WMEMCMP): New macro.
13673 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13674 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13675 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13676 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13677 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13678 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13679 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13680 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13681 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13682 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13683 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13684 (USE_AS_WMEMCMP): New macro.
13685 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13686 * sysdeps/string/test-memcmp.c: Update.
13687 Fix simple_wmemcmp.
13689 * wcsmbs/wmemcmp.c: Update.
13690 (WMEMCMP): New macro.
13693 2011-10-12 Andreas Jaeger <aj@suse.de>
13696 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13698 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13700 * libio/iofwide.c (do_length): Avoid warning.
13702 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13704 2011-10-14 Ulrich Drepper <drepper@gmail.com>
13706 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13708 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13709 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13710 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13711 * sysdeps/i386/i686/fpu/e_log.S: New file.
13712 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13713 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13715 * ctype/ctype.h: Add support for inlined isXXX functions when
13716 compiling C++ code.
13718 2011-10-14 Andreas Schwab <schwab@redhat.com>
13720 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13722 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13724 2011-10-13 Roland McGrath <roland@hack.frob.com>
13727 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13729 2011-10-13 Andreas Schwab <schwab@redhat.com>
13731 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13732 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13735 * sysdeps/x86_64/memrchr.S: Check for zero size.
13737 * string/stratcliff.c: Add memrchr tests.
13739 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13741 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13742 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13743 rawmemchr-sse2 rawmemchr-sse2-bsf.
13744 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13745 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13746 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13747 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13748 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13749 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13750 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13751 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13752 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13753 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13754 * string/memrchr.c (MEMRCHR): New macro.
13756 2011-10-12 Ulrich Drepper <drepper@gmail.com>
13758 Add integration with gcc's -ffinite-math-only and optimize wrapper
13760 * Versions.def: Define GLIBC_2.15 version for libm.
13761 * math/Makefile (headers): Add bits/math-finite.h.
13762 * math/bits/math-finite.h: New file.
13763 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13764 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13765 * math/e_acoshl.c: Add __*_finite alias.
13766 * math/e_acosl.c: Likewise.
13767 * math/e_asinl.c: Likewise.
13768 * math/e_atan2l.c: Likewise.
13769 * math/e_atanhl.c: Likewise.
13770 * math/e_coshl.c: Likewise.
13771 * math/e_exp10.c: Likewise.
13772 * math/e_exp10f.c: Likewise.
13773 * math/e_exp10l.c: Likewise.
13774 * math/e_exp2l.c: Likewise.
13775 * math/e_fmodl.c: Likewise.
13776 * math/e_gammal_r.c: Likewise.
13777 * math/e_hypotl.c: Likewise.
13778 * math/e_j0l.c: Likewise.
13779 * math/e_j1l.c: Likewise.
13780 * math/e_jnl.c: Likewise.
13781 * math/e_lgammal_r.c: Likewise.
13782 * math/e_log10l.c: Likewise.
13783 * math/e_log2l.c: Likewise.
13784 * math/e_logl.c: Likewise.
13785 * math/e_powl.c: Likewise.
13786 * math/e_sinhl.c: Likewise.
13787 * math/e_sqrtl.c: Likewise.
13788 * math/e_scalb.c: Completely rewritten and optimized.
13789 * math/e_scalbf.c: Likewise.
13790 * math/e_scalbl.c: Likewise.
13791 * math/w_acos.c: Likewise.
13792 * math/w_acosf.c: Likewise.
13793 * math/w_acosl.c: Likewise.
13794 * math/w_acosh.c: Likewise.
13795 * math/w_acoshf.c: Likewise.
13796 * math/w_acoshl.c: Likewise.
13797 * math/w_asin.c: Likewise.
13798 * math/w_asinf.c: Likewise.
13799 * math/w_asinl.c: Likewise.
13800 * math/w_atan2.c: Likewise.
13801 * math/w_atan2f.c: Likewise.
13802 * math/w_atan2l.c: Likewise.
13803 * math/w_atanh.c: Likewise.
13804 * math/w_atanhf.c: Likewise.
13805 * math/w_atanhl.c: Likewise.
13806 * math/w_exp10.c: Likewise.
13807 * math/w_exp10f.c: Likewise.
13808 * math/w_exp10l.c: Likewise.
13809 * math/w_fmod.c: Likewise.
13810 * math/w_fmodf.c: Likewise.
13811 * math/w_fmodl.c: Likewise.
13812 * math/w_j0.c: Likewise.
13813 * math/w_j0f.c: Likewise.
13814 * math/w_j0l.c: Likewise.
13815 * math/w_j1.c: Likewise.
13816 * math/w_j1f.c: Likewise.
13817 * math/w_j1l.c: Likewise.
13818 * math/w_jn.c: Likewise.
13819 * math/w_jnf.c: Likewise.
13820 * math/w_log.c: Likewise.
13821 * math/w_logf.c: Likewise.
13822 * math/w_logl.c: Likewise.
13823 * math/w_log10.c: Likewise.
13824 * math/w_log10f.c: Likewise.
13825 * math/w_log10l.c: Likewise.
13826 * math/w_log2.c: Likewise.
13827 * math/w_log2f.c: Likewise.
13828 * math/w_log2l.c: Likewise.
13829 * math/w_pow.c: Likewise.
13830 * math/w_powf.c: Likewise.
13831 * math/w_powl.c: Likewise.
13832 * math/w_remainder.c: Likewise.
13833 * math/w_remainderf.c: Likewise.
13834 * math/w_remainderl.c: Likewise.
13835 * math/w_scalb.c: Likewise.
13836 * math/w_scalbf.c: Likewise.
13837 * math/w_scalbl.c: Likewise.
13838 * math/w_sqrt.c: Likewise.
13839 * math/w_sqrtf.c: Likewise.
13840 * math/w_sqrtl.c: Likewise.
13841 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13842 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13844 * math/math_private.h: Declare __kernel_standard_f.
13845 * math/w_cosh.c: Remove cruft and optimize a bit.
13846 * math/w_coshf.c: Likewise.
13847 * math/w_coshl.c: Likewise.
13848 * math/w_exp2.c: Likewise.
13849 * math/w_exp2f.c: Likewise.
13850 * math/w_exp2l.c: Likewise.
13851 * math/w_hypot.c: Likewise.
13852 * math/w_hypotf.c: Likewise.
13853 * math/w_hypotl.c: Likewise.
13854 * math/w_lgamma.c: Likewise.
13855 * math/w_lgamma_r.c: Likewise.
13856 * math/w_lgammaf.c: Likewise.
13857 * math/w_lgammaf_r.c: Likewise.
13858 * math/w_lgammal.c: Likewise.
13859 * math/w_lgammal_r.c: Likewise.
13860 * math/w_sinh.c: Likewise.
13861 * math/w_sinhf.c: Likewise.
13862 * math/w_sinhl.c: Likewise.
13863 * math/w_tgamma.c: Likewise.
13864 * math/w_tgammaf.c: Likewise.
13865 * math/w_tgammal.c: Likewise.
13866 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13867 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13868 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13869 Minor optimizations. Pretty printing. Remove cruft.
13870 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13871 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13872 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13873 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13874 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13875 * sysdeps/i386/fpu/e_asin.S: Likewise.
13876 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13877 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13878 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13879 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13880 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13881 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13882 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13883 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13884 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13885 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13886 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13887 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13888 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13889 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13890 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13891 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13892 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13893 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13894 * sysdeps/i386/fpu/e_log.S: Likewise.
13895 * sysdeps/i386/fpu/e_log10.S: Likewise.
13896 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13897 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13898 * sysdeps/i386/fpu/e_log2.S: Likewise.
13899 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13900 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13901 * sysdeps/i386/fpu/e_logf.S: Likewise.
13902 * sysdeps/i386/fpu/e_logl.S: Likewise.
13903 * sysdeps/i386/fpu/e_pow.S: Likewise.
13904 * sysdeps/i386/fpu/e_powf.S: Likewise.
13905 * sysdeps/i386/fpu/e_powl.S: Likewise.
13906 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13907 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13908 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13909 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13910 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13911 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13912 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13913 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13914 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13915 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13916 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13917 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13918 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13919 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13920 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13921 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13922 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13923 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13924 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13925 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13926 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13927 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13928 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13929 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13930 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13931 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13932 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13933 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13934 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13935 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13936 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13937 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13938 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13939 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13940 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13941 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13942 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13943 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13944 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13945 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13946 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13947 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13948 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13949 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13950 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13951 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13952 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13953 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13954 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13955 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13956 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13957 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13958 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13959 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13960 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13961 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13962 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13963 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13964 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13965 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13966 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13967 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13968 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13969 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13970 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13971 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13972 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13973 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13974 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13975 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13976 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13977 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13978 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13979 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13980 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13981 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13982 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13983 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13984 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13985 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13986 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13987 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13988 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13989 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13990 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13991 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13992 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13993 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13994 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13995 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13996 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13997 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13998 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13999 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14000 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14001 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14002 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14003 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14004 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14005 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14006 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14007 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14008 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14009 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14010 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14011 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14012 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14013 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14014 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14015 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14016 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14017 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14018 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14019 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14020 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14021 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14022 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14023 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14024 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14025 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14026 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14027 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14028 (__isnanf): Likewise.
14029 (__isinf_ns): Likewise.
14030 (__isinf_nsf): Likewise.
14031 (__finite): Likewise.
14032 (__finitef): Likewise.
14033 (__ieee754_sqrt): Define as macro.
14034 (__ieee754_sqrtf): Define as macro.
14035 (__ieee754_sqrtl): Define as macro.
14036 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14038 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14039 __FINITE_MATH_ONLY__ consistent.
14040 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14042 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14044 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14047 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14049 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14051 * po/ja.po: Update from translation team.
14053 2011-10-08 Roland McGrath <roland@hack.frob.com>
14055 * locale/programs/locarchive.c (prepare_address_space): New function.
14056 (create_archive, enlarge_archive, open_archive): Use it.
14058 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14059 inside [SHARED], where it is used.
14061 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14063 * nss/getent.c (netgroup_keys): Remove unused variable.
14064 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14066 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14068 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14069 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14070 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14071 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14072 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14073 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14074 * math/Makefile (libm-calls): Add s_isinf_ns.
14075 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14076 * math/multc3.c: Likewise.
14077 * math/s_casin.c: Likewise.
14078 * math/s_casinf.c: Likewise.
14079 * math/s_casinl.c: Likewise.
14080 * math/s_ccos.c: Likewise.
14081 * math/s_ccosf.c: Likewise.
14082 * math/s_ccosl.c: Likewise.
14083 * math/s_ctan.c: Likewise.
14084 * math/s_ctanf.c: Likewise.
14085 * math/s_ctanh.c: Likewise.
14086 * math/s_ctanhf.c: Likewise.
14087 * math/s_ctanhl.c: Likewise.
14088 * math/s_ctanl.c: Likewise.
14089 * math/w_fmod.c: Likewise.
14090 * math/w_fmodf.c: Likewise.
14091 * math/w_fmodl.c: Likewise.
14092 * math/w_remainder.c: Likewise.
14093 * math/w_remainderf.c: Likewise.
14094 * math/w_remainderl.c: Likewise.
14095 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14096 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14097 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14098 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14099 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14100 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14101 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14102 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14104 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14106 * stdio-common/printf_fphex.c: Likewise.
14107 * stdio-common/printf_size.c: Likewise.
14109 * math/e_exp10.c: Include math_private.h using <...> not "...".
14110 * math/e_exp10f.c: Likewise.
14111 * math/e_exp10l.c: Likewise.
14112 * math/e_exp2l.c: Likewise.
14113 * math/e_j0l.c: Likewise.
14114 * math/e_j1l.c: Likewise.
14115 * math/e_jnl.c: Likewise.
14116 * math/e_lgammal_r.c: Likewise.
14117 * math/e_rem_pio2l.c: Likewise.
14118 * math/e_scalb.c: Likewise.
14119 * math/e_scalbf.c: Likewise.
14120 * math/e_scalbl.c: Likewise.
14121 * math/k_cosl.c: Likewise.
14122 * math/k_sinl.c: Likewise.
14123 * math/k_tanl.c: Likewise.
14124 * math/s_cacoshf.c: Likewise.
14125 * math/s_catan.c: Likewise.
14126 * math/s_catanf.c: Likewise.
14127 * math/s_catanh.c: Likewise.
14128 * math/s_catanhf.c: Likewise.
14129 * math/s_catanhl.c: Likewise.
14130 * math/s_catanl.c: Likewise.
14131 * math/s_ccosh.c: Likewise.
14132 * math/s_ccoshf.c: Likewise.
14133 * math/s_ccoshl.c: Likewise.
14134 * math/s_cexp.c: Likewise.
14135 * math/s_cexpf.c: Likewise.
14136 * math/s_cexpl.c: Likewise.
14137 * math/s_clog.c: Likewise.
14138 * math/s_clog10.c: Likewise.
14139 * math/s_clog10f.c: Likewise.
14140 * math/s_clog10l.c: Likewise.
14141 * math/s_clogf.c: Likewise.
14142 * math/s_clogl.c: Likewise.
14143 * math/s_csin.c: Likewise.
14144 * math/s_csinf.c: Likewise.
14145 * math/s_csinh.c: Likewise.
14146 * math/s_csinhf.c: Likewise.
14147 * math/s_csinhl.c: Likewise.
14148 * math/s_csinl.c: Likewise.
14149 * math/s_csqrt.c: Likewise.
14150 * math/s_csqrtf.c: Likewise.
14151 * math/s_csqrtl.c: Likewise.
14152 * math/s_ctan.c: Likewise.
14153 * math/s_ctanf.c: Likewise.
14154 * math/s_ctanh.c: Likewise.
14155 * math/s_ctanhf.c: Likewise.
14156 * math/s_ctanhl.c: Likewise.
14157 * math/s_ctanl.c: Likewise.
14158 * math/s_ldexp.c: Likewise.
14159 * math/s_ldexpf.c: Likewise.
14160 * math/s_ldexpl.c: Likewise.
14161 * math/s_significand.c: Likewise.
14162 * math/s_significandf.c: Likewise.
14163 * math/s_significandl.c: Likewise.
14164 * math/w_acos.c: Likewise.
14165 * math/w_acosf.c: Likewise.
14166 * math/w_acosh.c: Likewise.
14167 * math/w_acoshf.c: Likewise.
14168 * math/w_acoshl.c: Likewise.
14169 * math/w_acosl.c: Likewise.
14170 * math/w_asin.c: Likewise.
14171 * math/w_asinf.c: Likewise.
14172 * math/w_asinl.c: Likewise.
14173 * math/w_atan2.c: Likewise.
14174 * math/w_atan2f.c: Likewise.
14175 * math/w_atan2l.c: Likewise.
14176 * math/w_atanh.c: Likewise.
14177 * math/w_atanhf.c: Likewise.
14178 * math/w_atanhl.c: Likewise.
14179 * math/w_cosh.c: Likewise.
14180 * math/w_coshf.c: Likewise.
14181 * math/w_coshl.c: Likewise.
14182 * math/w_dremf.c: Likewise.
14183 * math/w_exp10.c: Likewise.
14184 * math/w_exp10f.c: Likewise.
14185 * math/w_exp10l.c: Likewise.
14186 * math/w_exp2.c: Likewise.
14187 * math/w_exp2f.c: Likewise.
14188 * math/w_fmod.c: Likewise.
14189 * math/w_fmodf.c: Likewise.
14190 * math/w_fmodl.c: Likewise.
14191 * math/w_hypot.c: Likewise.
14192 * math/w_hypotf.c: Likewise.
14193 * math/w_hypotl.c: Likewise.
14194 * math/w_j0.c: Likewise.
14195 * math/w_j0f.c: Likewise.
14196 * math/w_j0l.c: Likewise.
14197 * math/w_j1.c: Likewise.
14198 * math/w_j1f.c: Likewise.
14199 * math/w_j1l.c: Likewise.
14200 * math/w_jn.c: Likewise.
14201 * math/w_jnf.c: Likewise.
14202 * math/w_jnl.c: Likewise.
14203 * math/w_lgamma.c: Likewise.
14204 * math/w_lgamma_r.c: Likewise.
14205 * math/w_lgammaf.c: Likewise.
14206 * math/w_lgammaf_r.c: Likewise.
14207 * math/w_lgammal.c: Likewise.
14208 * math/w_lgammal_r.c: Likewise.
14209 * math/w_log.c: Likewise.
14210 * math/w_log10.c: Likewise.
14211 * math/w_log10f.c: Likewise.
14212 * math/w_log10l.c: Likewise.
14213 * math/w_log2.c: Likewise.
14214 * math/w_log2f.c: Likewise.
14215 * math/w_log2l.c: Likewise.
14216 * math/w_logf.c: Likewise.
14217 * math/w_logl.c: Likewise.
14218 * math/w_pow.c: Likewise.
14219 * math/w_powf.c: Likewise.
14220 * math/w_powl.c: Likewise.
14221 * math/w_remainder.c: Likewise.
14222 * math/w_remainderf.c: Likewise.
14223 * math/w_remainderl.c: Likewise.
14224 * math/w_scalb.c: Likewise.
14225 * math/w_scalbf.c: Likewise.
14226 * math/w_scalbl.c: Likewise.
14227 * math/w_sinh.c: Likewise.
14228 * math/w_sinhf.c: Likewise.
14229 * math/w_sinhl.c: Likewise.
14230 * math/w_sqrt.c: Likewise.
14231 * math/w_sqrtf.c: Likewise.
14232 * math/w_sqrtl.c: Likewise.
14233 * math/w_tgamma.c: Likewise.
14234 * math/w_tgammaf.c: Likewise.
14235 * math/w_tgammal.c: Likewise.
14237 * po/ja.po: Update from translation team.
14239 2011-09-29 Andreas Jaeger <aj@suse.de>
14242 * sunrpc/netname.c (netname2host): Fix logic.
14246 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14248 * math/w_remainder.c (__remainder): Likewise.
14249 * math/w_remainderf.c (__remainderf): Likewise.
14250 * math/libm-test.inc (remainder_test): Add test cases.
14252 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14254 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14257 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14259 * string/test-memcmp.c: Avoid unncessary #defines.
14260 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14262 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14264 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14265 Use new sse2 version for core i3 - i7 as it's faster
14266 than sse42 version.
14267 (bit_Prefer_PMINUB_for_stringop): New.
14268 * sysdeps/x86_64/rawmemchr.S: Update.
14269 Replace with faster SSE2 version.
14270 * sysdeps/x86_64/memrchr.S: New file.
14271 * sysdeps/x86_64/memchr.S: Update.
14272 Replace with faster SSE2 version.
14274 2011-09-12 Marek Polacek <mpolacek@redhat.com>
14276 * elf/dl-load.c (lose): Add cast to avoid warning.
14278 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14280 * po/ca.po: Update from translation team.
14282 * inet/getnetgrent_r.c: Hook up nscd.
14283 * nscd/Makefile (routines): Add nscd_netgroup.
14284 (nscd-modules): Add netgroupcache.
14285 (CFLAGS-netgroupcache.c): Define.
14286 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14287 (cache_search): Add const to second parameter.
14288 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14290 (dbs): Add netgrdb entry.
14291 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14292 (verify_persistent_db): Handle netgrdb.
14293 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14294 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14296 (netgroup_response_header): Define.
14297 (innetgroup_response_header): Define.
14298 (datahead): Add netgroup_response_header and innetgroup_response_header
14300 * nscd/nscd.conf: Add entries for netgroup cache.
14301 * nscd/nscd.h (dbtype): Add netgrdb.
14302 (_PATH_NSCD_NETGROUP_DB): Define.
14303 (netgroup_iov_disabled): Declare.
14304 (xmalloc, xcalloc, xrealloc): Move declarations here.
14305 (cache_search): Adjust prototype.
14306 Add netgroup-related prototypes.
14307 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14308 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14309 (__nscd_innetgr): Declare.
14310 * nscd/selinux.c (perms): Use access_vector_t as element type and
14311 add netgroup-related initializers.
14312 * nscd/netgroupcache.c: New file.
14313 * nscd/nscd_netgroup.c: New file.
14314 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14315 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14316 For four parameters use innetgr.
14317 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14318 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14319 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14320 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14322 * nscd/connections.c (register_traced_file): Don't register file
14323 for disabled databases.
14325 2011-10-06 Ulrich Drepper <drepper@gmail.com>
14327 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14329 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14330 from tree and freeing node.
14332 2011-09-25 Jiri Olsa <jolsa@redhat.com>
14334 * nss/nsswitch.c (__nss_database_lookup): Handle
14335 nss_parse_service_list out of memory case.
14337 2011-09-15 Jiri Olsa <jolsa@redhat.com>
14339 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14340 out of memory case.
14342 2011-10-04 Andreas Schwab <schwab@redhat.com>
14344 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14345 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14347 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14348 elf_machine_rela, elf_machine_lazy_rel.
14349 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14350 (ELF_DYNAMIC_DO_REL): Likewise.
14351 (ELF_DYNAMIC_DO_RELA): Likewise.
14352 (ELF_DYNAMIC_RELOCATE): Likewise.
14353 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14354 to ELF_DYNAMIC_DO_REL.
14355 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14356 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14357 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14359 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14360 skip_ifunc, don't call ifunc function if non-zero.
14361 (elf_machine_rela): Likewise.
14362 (elf_machine_lazy_rel): Likewise.
14363 (elf_machine_lazy_rela): Likewise.
14364 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14365 (elf_machine_lazy_rel): Likewise.
14366 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14368 (elf_machine_lazy_rel): Likewise.
14369 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14371 (elf_machine_lazy_rel): Likewise.
14372 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14373 (elf_machine_lazy_rel): Likewise.
14374 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14375 (elf_machine_lazy_rel): Likewise.
14376 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14377 (elf_machine_lazy_rel): Likewise.
14378 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14379 (elf_machine_lazy_rel): Likewise.
14380 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14381 (elf_machine_lazy_rel): Likewise.
14382 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14383 (elf_machine_lazy_rel): Likewise.
14385 2011-09-28 Ulrich Drepper <drepper@gmail.com>
14387 * nss/nss_files/files-init.c (_nss_files_init): Use static
14388 initialization for all the *_traced_file variables.
14390 2011-09-28 Andreas Schwab <schwab@redhat.com>
14392 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14394 2011-09-27 Roland McGrath <roland@hack.frob.com>
14397 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14399 2011-09-27 Andreas Schwab <schwab@redhat.com>
14401 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14402 Reread the line before reparsing it.
14404 2011-09-26 Andreas Schwab <schwab@redhat.com>
14406 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14408 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14409 Maxim Kuvyrkov <maxim@codesourcery.com>
14410 Joseph Myers <joseph@codesourcery.com>
14412 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14413 if needed for __stack_chk_guard.
14415 2011-09-19 Roland McGrath <roland@hack.frob.com>
14417 * sysdeps/posix/spawni.c (script_execute): Always define it.
14418 It will be optimized away if unused.
14419 (maybe_script_execute): New function.
14420 (__spawni): Call it.
14422 * Makerules: Don't include tls.make.
14423 (config-tls): Always set to thread.
14424 * tls.make.c: File removed.
14426 2011-09-19 Mike Frysinger <vapier@gentoo.org>
14428 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14429 * config.make.in (CPPFLAGS-config): New substituted variable.
14431 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14433 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14436 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14437 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14439 2011-09-15 Roland McGrath <roland@hack.frob.com>
14441 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14442 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14443 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14444 (CALL_FAIL): Likewise.
14445 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14446 (CALL_FAIL): Macro removed.
14447 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14449 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14451 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14452 for __FINITE_MATH_ONLY__ == 1.
14454 2011-09-15 Andreas Schwab <schwab@redhat.com>
14456 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14457 __ieee754_sqrt instead of sqrt.
14458 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14459 __ieee754_sqrtf instead of sqrtf.
14460 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14461 __floorf instead of floorf.
14462 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14463 __floorf, __truncf instead of floorf, truncf.
14465 2011-09-14 Ulrich Drepper <drepper@gmail.com>
14467 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14469 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14470 __extern_always_inline.
14471 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14474 2011-09-14 Andreas Schwab <schwab@redhat.com>
14476 * elf/rtld.c (dl_main): Also relocate in dependency order when
14477 doing symbol dependency testing.
14479 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14481 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14482 Always define `refsym'.
14484 2011-09-13 Andreas Schwab <schwab@redhat.com>
14486 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14487 (__FD_ELT): Renamed from __FDELT.
14488 * misc/bits/select2.h (__FD_ELT): Likewise.
14489 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14490 __FD_MASK instead of __FDELT, __FDMASK.
14491 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14493 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14496 * elf/Makefile (gen-ldd): Fix pattern.
14498 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14499 (init_tls): Likewise.
14501 2011-09-12 Ulrich Drepper <drepper@gmail.com>
14503 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14505 2011-09-12 Andreas Schwab <schwab@redhat.com>
14507 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14508 `struct cmsghdr *' instead of `void *'.
14509 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14512 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14514 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14516 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14517 ldd_rewrite_script.
14519 2011-09-11 Ulrich Drepper <drepper@gmail.com>
14521 * configure.in: Remove --with-tls option.
14522 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14523 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14524 out in case it is missing.
14525 * sysdeps/ia64/elf/configure.in: Likewise.
14526 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14527 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14528 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14529 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14530 * sysdeps/sh/elf/configure.in: Likewise.
14531 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14532 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14533 * sysdeps/x86_64/elf/configure.in: Likewise.
14534 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14535 * sysdeps/mach/hurd/tls.h: Likewise.
14538 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14541 * configure.in: Fix use of AC_INIT.
14543 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14545 2011-09-10 Ulrich Drepper <drepper@gmail.com>
14547 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14549 * malloc/hooks.c: Likewise.
14552 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14553 variables statically.
14554 (narenas): Initialize.
14555 (list_lock): Initialize.
14556 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14557 initializtion of main_arena and list_lock. Small cleanups.
14558 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14559 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14560 Add initializers to main_arena and mp_.
14561 (malloc_state): Remove pagesize member. Change all users to use
14564 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14565 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14566 is always initialized.
14568 * malloc/malloc.c: Removed unused configurations and dead code.
14569 * malloc/arena.c: Likewise.
14570 * malloc/hooks.c: Likewise.
14571 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14573 * include/tls.h: Removed. USE___THREAD must always be defined.
14574 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14575 * elf/dl-libc.c: Likewise.
14576 * elf/dl-tsd.c: Likewise.
14577 * include/errno.h: Likewise.
14578 * include/netdb.h: Likewise.
14579 * include/resolv.h: Likewise.
14580 * inet/herrno-loc.c: Likewise.
14581 * inet/herrno.c: Likewise.
14582 * malloc/arena.c: Likewise.
14583 * malloc/hooks.c: Likewise.
14584 * malloc/malloc.c: Likewise.
14585 * resolv/res-state.c: Likewise.
14586 * resolv/res_libc.c: Likewise.
14587 * sysdeps/i386/dl-machine.h: Likewise.
14588 * sysdeps/ia64/dl-machine.h: Likewise.
14589 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14590 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14591 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14592 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14593 * sysdeps/sh/dl-machine.h: Likewise.
14594 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14595 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14596 * sysdeps/unix/i386/sysdep.S: Likewise.
14597 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14598 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14599 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14600 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14601 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14602 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14603 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14604 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14605 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14606 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14607 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14608 * sysdeps/x86_64/dl-machine.h: Likewise.
14609 * tls.make.c: Likewise.
14611 * configure.in: Remove --with-__thread option. Make tests for
14612 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14613 tls_model attribute fail if no support is available. Remove
14615 * Makeconfig: Adjust for dropped configure option. All features are
14617 * Makerules: Likewise.
14618 * Versions.def: Likewise.
14619 * argp/argp-fmtstream.c: Likewise.
14620 * argp/argp-fmtstream.h: Likewise.
14621 * argp/argp-help.c: Likewise.
14622 * assert/assert.c: Likewise.
14623 * config.h.in: Likewise.
14624 * config.make.in: Likewise.
14625 * configure: Likewise.
14626 * configure.in: Likewise.
14627 * csu/Versions: Likewise.
14628 * csu/init.c: Likewise.
14629 * elf/tst-audit2.c: Likewise.
14630 * elf/tst-tls10.c: Likewise.
14631 * elf/tst-tls10.h: Likewise.
14632 * elf/tst-tls11.c: Likewise.
14633 * elf/tst-tls12.c: Likewise.
14634 * elf/tst-tls14.c: Likewise.
14635 * elf/tst-tlsmod11.c: Likewise.
14636 * elf/tst-tlsmod12.c: Likewise.
14637 * elf/tst-tlsmod13.c: Likewise.
14638 * elf/tst-tlsmod13a.c: Likewise.
14639 * elf/tst-tlsmod14a.c: Likewise.
14640 * elf/tst-tlsmod15b.c: Likewise.
14641 * elf/tst-tlsmod16a.c: Likewise.
14642 * elf/tst-tlsmod16b.c: Likewise.
14643 * elf/tst-tlsmod7.c: Likewise.
14644 * elf/tst-tlsmod8.c: Likewise.
14645 * elf/tst-tlsmod9.c: Likewise.
14646 * gmon/gmon.c: Likewise.
14647 * grp/fgetgrent_r.c: Likewise.
14648 * grp/putgrent.c: Likewise.
14649 * hurd/fopenport.c: Likewise.
14650 * include/libc-symbols.h: Likewise.
14651 * include/tls.h: Likewise.
14652 * intl/gettextP.h: Likewise.
14653 * intl/loadinfo.h: Likewise.
14654 * locale/global-locale.c: Likewise.
14655 * locale/localeinfo.h: Likewise.
14656 * mach/devstream.c: Likewise.
14657 * malloc/arena.c: Likewise.
14658 * malloc/set-freeres.c: Likewise.
14659 * misc/err.c: Likewise.
14660 * misc/getttyent.c: Likewise.
14661 * misc/mntent_r.c: Likewise.
14662 * posix/getopt.c: Likewise.
14663 * posix/wordexp.c: Likewise.
14664 * pwd/fgetpwent_r.c: Likewise.
14665 * resolv/Versions: Likewise.
14666 * resolv/res_hconf.c: Likewise.
14667 * shadow/fgetspent_r.c: Likewise.
14668 * shadow/putspent.c: Likewise.
14669 * stdio-common/printf_fphex.c: Likewise.
14670 * stdio-common/tmpfile.c: Likewise.
14671 * stdlib/abort.c: Likewise.
14672 * stdlib/fmtmsg.c: Likewise.
14673 * sunrpc/auth_unix.c: Likewise.
14674 * sunrpc/clnt_perr.c: Likewise.
14675 * sunrpc/clnt_tcp.c: Likewise.
14676 * sunrpc/clnt_udp.c: Likewise.
14677 * sunrpc/clnt_unix.c: Likewise.
14678 * sunrpc/openchild.c: Likewise.
14679 * sunrpc/svc_simple.c: Likewise.
14680 * sunrpc/svc_tcp.c: Likewise.
14681 * sunrpc/svc_udp.c: Likewise.
14682 * sunrpc/svc_unix.c: Likewise.
14683 * sunrpc/xdr.c: Likewise.
14684 * sunrpc/xdr_array.c: Likewise.
14685 * sunrpc/xdr_rec.c: Likewise.
14686 * sunrpc/xdr_ref.c: Likewise.
14687 * sunrpc/xdr_stdio.c: Likewise.
14689 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14691 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14693 2011-07-03 Andreas Jaeger <aj@suse.de>
14695 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14696 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14697 regenerate with gen-libm-tests.pl.
14699 2010-05-12 Petr Baudis <pasky@suse.cz>
14702 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14703 around j0() zero points by switching to j1().
14704 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14705 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14706 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14707 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14709 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14711 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14713 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14715 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14716 Patch in part by Pavel Roskin <proski@gnu.org>.
14719 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14721 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14722 Free memory block if necessary.
14725 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14726 be NULL. Don't lock in this case.
14728 2011-09-09 Roland McGrath <roland@hack.frob.com>
14730 * elf/elf.h (ELFOSABI_GNU): New macro.
14731 (ELFOSABI_LINUX): Define to that.
14733 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14735 * string/strncat.c (strncat): Undef the symbol in case it has been
14736 defined in bits/string.h.
14738 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14740 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14742 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14745 2011-08-17 Andreas Jaeger <aj@suse.de>
14747 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14749 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14750 Ian Lance Taylor <iant@google.com>
14752 * math/libm-test.inc (lround_test): New testcase.
14753 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14755 2011-09-08 Ulrich Drepper <drepper@gmail.com>
14757 * Makefile: Remove support for automatic cvs check-ins.
14758 * Makerules: Likewise.
14759 * config.make.in: Likewise.
14760 * configure.in: Likewise.
14761 * intl/Makefile: Likewise.
14762 * locale/Makefile: Likewise.
14763 * po/Makefile: Likewise.
14764 * posix/Makefile: Likewise.
14765 * sysdeps/gnu/Makefile: Likewise.
14766 * sysdeps/mach/hurd/Makefile: Likewise.
14767 * sysdeps/sparc/sparc32/Makefile: Likewise.
14770 * posix/Makefile (bug-regex32-ENV): Define.
14771 Patch by John Stanley <jpsinthemix@verizon.net>.
14773 * misc/Makefile (headers): Add bits/select2.h.
14774 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14775 * misc/bits/select2.h: New file.
14776 * include/bits/select2.h: New file.
14777 * debug/Makefile (routines): Add fdelt_chk.
14778 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14779 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14781 * debug/fdelt_chk.c: New file.
14783 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14784 * wcsmbs/test-wmemcmp.c: Likewise.
14785 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14786 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14788 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14790 * string/Makefile (strop-tests): Add memcmp.
14791 * string/test-wmemcmp.c: New file.
14792 * string/test-memcmp.c: Add wmemcmp support.
14794 2011-09-08 Roland McGrath <roland@hack.frob.com>
14797 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14800 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14801 garbage value in a __mach_port_mod_refs call in the cases of the
14802 task-self and thread-self ports.
14804 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14806 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14808 2011-09-08 Andreas Schwab <schwab@redhat.com>
14810 * elf/dl-load.c (lose): Check for non-null L.
14812 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14814 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14816 * elf/dl-libc.c (dlerror_run): Pass back error code from
14820 * elf/dl-load.c (lose): Free l_origin if it is valid.
14822 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14824 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14825 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14826 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14827 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14828 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14829 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14831 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14833 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14834 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14835 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14836 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14837 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14838 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14839 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14840 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14841 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14842 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14844 2011-08-15 Alan Modra <amodra@gmail.com>
14847 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14848 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14849 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14850 ppc_mcount to static-only-routines.
14851 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14853 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14854 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14856 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14858 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14859 for finite and infinity parameters.
14861 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14863 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14864 and add nop instructions for throughput optimization.
14865 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14867 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14869 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14870 aligned copy for power7 with vector-scalar instructions.
14871 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14873 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14875 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14878 2011-09-07 Andreas Schwab <schwab@redhat.com>
14881 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14884 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14886 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14887 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14888 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14889 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14892 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14894 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14895 Forgot to demangle the pointer.
14897 * sysdeps/i386/sysdep.h: Define atom_text_section.
14898 * sysdeps/x86_64/sysdep.h: Likewise.
14899 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14900 section with atom_text_section.
14901 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14902 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14903 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14904 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14905 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14907 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14908 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14909 already be defined. Change to take two parameters and don't assign
14910 result to variable. Adjust all users.
14911 Define INTERNAL_GETTIME if not already defined.
14912 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14914 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14915 HAVE_CLOCK_GETTIME_VSYSCALL.
14916 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14918 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14919 gettimeofday vsyscall, just use time.
14921 2011-09-06 Andreas Schwab <schwab@redhat.com>
14923 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14926 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14928 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14930 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14932 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14933 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14934 syscall if possible.
14936 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14938 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14939 e_ident. Don't pass to find_mapsXX.
14940 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14942 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14945 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14946 * sysdeps/x86_64/multiarch/strchr.S: Update.
14947 Check bit_slow_BSF bit.
14948 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14949 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14950 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14952 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14955 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14957 (tryshell): Define.
14958 (__spawni): Change last parameter to be flag. Test
14959 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14960 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14961 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14962 * posix/spawni.c: Likewise.
14963 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14964 * posix/spawnp.c: Likewise. Change normal version to use
14965 SPAWN_XFLAGS_USE_PATH.
14966 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14967 SPAWN_XFLAGS_TRY_SHELL.
14970 * posix/glob.h: Remove gcc 1.x support.
14973 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14975 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14978 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14980 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14981 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14982 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14983 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14984 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14985 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14987 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14989 * sysdeps/x86_64/wcscmp.S: New file.
14991 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14992 wcscmp-c wcscmp-sse2
14993 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14994 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14995 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14996 * wcsmbs/wcscmp.c: Allow renaming.
14998 2011-09-05 David S. Miller <davem@davemloft.net>
15000 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15001 stack slot, rather than the struct return pointer slot.
15002 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15003 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15005 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15007 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15009 * po/ja.po: Update from translation team.
15012 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15013 kernel in 64-bit binaries.
15015 2011-09-01 David S. Miller <davem@davemloft.net>
15017 * elf/elf.h (HWCAP_SPARC_*): Move to..
15018 * sysdeps/sparc/sysdep.h: this new file and add new values.
15019 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15020 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15021 _DL_HWCAP_COUNT to 24.
15022 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15024 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15025 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15026 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15027 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15028 instead of magic constants.
15029 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15031 2011-08-31 David S. Miller <davem@davemloft.net>
15033 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15034 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15035 Reimplement to do errno handling inline.
15036 (SYSCALL_ERROR_HANDLER): New macro.
15037 (__SYSCALL_STRING): Do not do errno handling in asm.
15038 (__CLONE_SYSCALL_STRING): Delete.
15039 (__INTERNAL_SYSCALL_STRING): Delete.
15040 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15041 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15042 (PSEUDO): Reimplement to do errno handling inline.
15043 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15044 (SYSCALL_ERROR_HANDLER): New macro.
15045 (__SYSCALL_STRING): Do not do errno handling in asm.
15046 (__CLONE_SYSCALL_STRING): Delete.
15047 (__INTERNAL_SYSCALL_STRING): Delete.
15048 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15049 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15051 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15052 (inline_syscall*): Add 'err' argument.
15053 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15054 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15055 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15056 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15058 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15059 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15061 2011-08-30 Andreas Schwab <schwab@redhat.com>
15063 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15065 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15067 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15070 2011-08-24 David S. Miller <davem@davemloft.net>
15072 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15074 2011-08-24 Andreas Schwab <schwab@redhat.com>
15076 * elf/Makefile: Add rules to build and run unload8 test.
15077 * elf/unload8.c: New file.
15078 * elf/unload8mod1.c: New file.
15079 * elf/unload8mod1x.c: New file.
15080 * elf/unload8mod2.c: New file.
15081 * elf/unload8mod3.c: New file.
15083 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15086 2011-08-23 David S. Miller <davem@davemloft.net>
15088 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15089 subtract stack bias.
15090 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15091 %sp not %fp in calculations.
15092 (_JMPBUF_UNWINDS_ADJ): Likewise.
15094 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15095 (aio_suspend): Call it to force an exception region around the
15096 AIO_MISC_WAIT() invocation.
15098 2011-08-23 Andreas Schwab <schwab@redhat.com>
15100 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15103 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15105 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15107 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15108 and <dl-machine.h>.
15109 (Elf64_FuncDesc): Remove.
15111 2011-08-22 David S. Miller <davem@davemloft.net>
15113 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15114 sigaltstack check, add missing cfi directives.
15115 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15116 missing cfi directives, and sigaltstack handling.
15118 2011-08-16 Andreas Schwab <schwab@redhat.com>
15121 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15122 object is seen twice.
15123 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15125 * elf/Makefile (distribute): Add tst-initorder2.c.
15126 (tests): Add tst-initorder2.
15127 (modules-names): Add tst-initorder2a tst-initorder2b
15128 tst-initorder2c tst-initorder2d. Add rules to build them.
15129 ($(objpfx)tst-initorder2.out): New rule.
15130 * elf/tst-initorder2.c: New file.
15131 * elf/tst-initorder2.exp: New file.
15133 2011-08-22 Andreas Schwab <schwab@redhat.com>
15135 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15137 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15138 dependencies back to end of function.
15140 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15141 $(elfobjdir)/ld.so.
15143 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15145 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15146 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15147 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15148 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15149 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15150 of __vdso_gettimeofday.
15151 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15152 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15154 (_libc_vdso_platform_setup): Remove initialization of
15155 __vdso_gettimeofday and __vdso_time.
15157 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15159 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15160 and fgetc_unlocked.
15161 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15164 * elf/dl-open.c (add_to_global): Report additions to the global scope
15165 for LD_DEBUG=scopes.
15166 (dl_open_worker): Also print scope of newly loaded dependencies.
15167 (_dl_show_scope): Indicate if there is no scope.
15170 * stdio-common/Makefile (tests): Add bug24.
15171 * stdio-common/bug24.c: New file.
15173 2011-08-19 Andreas Jaeger <aj@suse.de>
15176 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15177 non-existant file when using close-on-exec mode.
15179 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15181 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15182 the very first instruction.
15184 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15185 the CFI state in the end.
15186 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15187 inclusion of dl-trampoline.h.
15188 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15190 2011-08-19 Andreas Schwab <schwab@redhat.com>
15192 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15193 expectations for long double.
15195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15196 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15198 2011-08-14 David S. Miller <davem@davemloft.net>
15200 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15201 artificual limit depends upon the system page size.
15203 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15205 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15206 * resolv/Makefile: Define CFLAGS-libresolv.
15208 2011-08-17 Andreas Schwab <schwab@redhat.com>
15210 * nss/makedb.c (compute_tables): Make variables used in nested
15213 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15215 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15216 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15217 if buffer was too small.
15219 * elf/pldd.c (main): Attach to all threads in the process.
15220 Rewrite /proc handling to use *at functions.
15222 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15224 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15225 specifies first scope to show.
15226 (dl_open_worker): Update callers. Move printing scope of new
15227 object to before the relocation.
15228 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15229 * sysdeps/generic/ldsodefs.h: Update declaration.
15231 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15232 string for the scope number.
15234 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15236 * nscd/servicescache.c (cache_addserv): Make sure written is always
15239 2011-08-14 Roland McGrath <roland@hack.frob.com>
15241 * sysdeps/i386/i486/bits/atomic.h
15242 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15243 statement expression, so as to suppress "set but not used" warning.
15244 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15246 * string/strncat.c (STRNCAT): Use prototype definition.
15248 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15249 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15251 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15252 (localedef-modules): Add localedef.
15253 (locale-modules): Add locale.
15255 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15256 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15257 to avoid a warning.
15259 2011-08-14 David S. Miller <davem@davemloft.net>
15261 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15262 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15264 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15266 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15267 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15268 * elf/rtld.c (dl_main): Set l_name of vDSO.
15269 Call _dl_show_scope when DL_DEBUG_SCOPES.
15270 (process_dl_debug): Recognize scopes flag and also set it for all.
15271 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15272 Declare _dl_show_scope.
15274 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15275 (do_dlopen): Pass caller_dlopen to dl_open.
15276 (__libc_dlopen_mode): Initialize caller_dlopen.
15278 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15279 of libc. Make tolower call locale-independent. Optimize a bit by
15280 using isdigit instead of isalnum.
15281 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15283 2011-08-12 Ulrich Drepper <drepper@gmail.com>
15285 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15286 was a dependency or dynamically loaded.
15288 2011-08-11 Ulrich Drepper <drepper@gmail.com>
15290 * intl/l10nflist.c: Allow architecture-specific pop function.
15291 * sysdeps/x86_64/l10nflist.c: New file.
15293 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15296 2011-08-10 Andreas Schwab <schwab@redhat.com>
15298 * include/dirent.h: Add libc_hidden_proto for scandirat and
15299 scandirat64. Don't declare __scandirat64.
15300 * dirent/scandirat.c: Add libc_hidden_def.
15301 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15302 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15304 2011-08-10 David S. Miller <davem@davemloft.net>
15306 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15308 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15309 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15310 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15312 2011-08-09 Ulrich Drepper <drepper@gmail.com>
15314 * Versions.def [libc]: Add GLIBC_2.15.
15315 * dirent/Makefile (routines): Add scandirat and scandirat64.
15316 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15318 * dirent/dirent.h: Declare scandirat and scandirat64.
15319 * dirent/scandirat.c: New file.
15320 * dirent/scandirat64.c: New file.
15321 * sysdeps/wordsize-64/scandirat.c: New file.
15322 * sysdeps/wordsize-64/scandirat64.c: New file.
15323 * dirent/opendir.c: Define opendirat.
15324 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15326 * dirent/scandir64.c: Adjust for scandir.c change.
15327 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15328 __scandirat64, and __scandir_cancel_handler.
15329 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15330 additional parameter and use openat instead of open (outside of ld.so).
15331 Add new __opendir as wrapper around __opendirat.
15332 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15333 here without requiring old scandirat implementation.
15335 2011-08-08 Ulrich Drepper <drepper@gmail.com>
15337 * dirent/scandir.c (cancel_handler): Renamed to
15338 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15339 defined. Adjust users.
15340 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15341 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15343 2011-08-04 Ulrich Drepper <drepper@gmail.com>
15345 * string/test-string.h (IMPL): Use __STRING to expand name and then
15348 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15351 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15353 * string/Makefile: Update.
15354 (strop-tests): Append strncat.
15355 * string/test-wcscmp.c: New file.
15356 New comprehensive test for wcscmp.
15357 * string/test-strcmp.c: Update.
15358 (WIDE): New define.
15360 2011-07-22 Andreas Schwab <schwab@redhat.com>
15362 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15365 2011-07-26 Andreas Schwab <schwab@redhat.com>
15367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15368 encoding to ACE if AI_IDN.
15370 2011-08-01 Jakub Jelinek <jakub@redhat.com>
15372 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15373 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15375 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15377 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15378 Fix overflow bug in strncat.
15379 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15381 * string/test-strncat.c: Update.
15382 Add new tests for checking overflow bugs.
15384 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15386 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15387 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15388 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15389 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15390 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15391 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15392 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15393 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15394 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15396 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15397 (USE_AS_STRCAT): Define.
15398 Add strcat and strncat support.
15399 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15401 2011-07-25 Andreas Schwab <schwab@redhat.com>
15403 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15404 __n bigger than INT_MAX+1.
15405 (__strncmp_g): Likewise.
15407 2011-07-23 Ulrich Drepper <drepper@gmail.com>
15409 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15410 * libio/stido.h: Likewise.
15412 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15414 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15417 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15418 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15419 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15420 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15421 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15424 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15427 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15429 (_dl_x86_64_save_sse): Likewise.
15431 2011-07-22 Ulrich Drepper <drepper@gmail.com>
15433 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15435 (_dl_x86_64_save_sse): Likewise.
15437 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15439 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15441 2011-07-21 Andreas Schwab <schwab@redhat.com>
15443 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15445 (_dl_x86_64_save_sse): Use correct AVX check.
15447 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15449 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15450 bug in strncpy/strncat.
15451 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15453 2011-07-21 Ulrich Drepper <drepper@gmail.com>
15455 * string/tester.c (test_strcat): Add tests for different alignments
15456 of source and destination.
15457 (test_strncat): Likewise.
15459 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15462 * posix/glob.c (glob): Check passed in values before using them in
15463 expressions to avoid some overflows.
15464 (glob_in_dir): Likewise.
15467 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15468 check for AVX enablement so that we don't crash with old kernels and
15470 * elf/tst-audit4.c: Add same checks here.
15471 * elf/tst-audit6.c: Likewise.
15473 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15475 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15477 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15479 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15481 * po/cs.po: Update from translation team.
15482 * po/bg.po: Likewise.
15484 2011-07-12 Marek Polacek <mpolacek@redhat.com>
15486 * misc/sys/cdefs.h: Add support for const attribute.
15487 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15488 to gnu_dev_{major,minor,makedev} functions.
15490 2011-07-20 Marek Polacek <mpolacek@redhat.com>
15492 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15494 2011-07-20 Andreas Schwab <schwab@redhat.com>
15496 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15499 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15501 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15502 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15503 register in order to avoid conflicts with the soft frame pointer
15504 being held in r11 when necessary.
15505 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15506 (INTERNAL_VSYSCALL_NCS): Likewise.
15508 2011-07-14 Marek Polacek <mpolacek@redhat.com>
15510 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15511 * elf/dl-fini.c (_dl_fini): Adjust caller.
15512 * elf/dl-close.c (_dl_close_worker): Likewise.
15513 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15515 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15517 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15518 "aux_cache->nlibs < 0".
15520 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15521 in the reload-count case.
15523 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15526 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15527 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15528 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15529 * sysdeps/x86_64/multiarch/strcat.S: New file.
15530 * sysdeps/x86_64/multiarch/strncat.S: New file.
15531 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15532 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15533 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15534 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15535 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15536 (USE_AS_STRCAT): Define.
15537 Add strcat and strncat support.
15538 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15539 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15540 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15541 * string/strncat.c: Update.
15542 (USE_AS_STRNCAT): Define.
15543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15544 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15546 * sysdeps/x86_64/multiarch/init-arch.h
15547 (bit_Prefer_PMINUB_for_stringop): New.
15548 (index_Prefer_PMINUB_for_stringop): Likewise.
15549 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15550 bit_Prefer_PMINUB_for_stringop.
15552 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15554 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15556 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15557 of casting of buffer.
15558 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15559 buffer32 and buffer64.
15560 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15561 writes instead of casting of buffer.
15562 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15564 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15567 2011-07-19 Andreas Schwab <schwab@redhat.com>
15569 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15571 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15573 * nscd/nscd.c (termination_handler): Don't do anything for a database
15574 if it has not yet been initialized.
15576 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15578 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15580 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15582 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15584 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15586 * po/nl.po: Update from translation team.
15587 * po/sv.po: Likewise.
15589 2011-07-16 Roland McGrath <roland@hack.frob.com>
15591 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15592 now disallowed by GCC.
15594 * configure.in (use-default-link): Default to yes if a test -shared
15595 link meets our qualifications.
15596 * configure: Regenerated.
15598 * config.make.in (output-format): New variable.
15599 * configure.in: Check for ld --print-output-format support.
15600 * configure: Regenerated.
15601 * Makerules ($(common-objpfx)format.lds)
15602 [$(output-format) != unknown]: Just use $(output-format),
15603 instead of the linker-script munging.
15605 2011-07-14 Roland McGrath <roland@hack.frob.com>
15607 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15608 of $(common-objpfx)shlib.lds.
15609 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15611 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15612 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15614 * configure.in (-z relro check): Adjust test code to add a large
15615 writable data section after it.
15616 * configure: Regenerated.
15618 2011-07-11 Roland McGrath <roland@hack.frob.com>
15620 * configure.in (-z relro check): Fix test code to make the variable
15622 * configure: Regenerated.
15624 2011-07-11 Ulrich Drepper <drepper@gmail.com>
15626 * nscd/nscd.h (struct traced_file): Define.
15627 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15628 elements. Add traced_files.
15629 (inotify_fd): Declare.
15630 (register_traced_file): Declare.
15631 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15632 (inotify_fd): Export.
15633 (resolv_conf_descr): Remove.
15634 (nscd_init): Move inotify descriptor creation to main.
15635 Don't register files for notification here.
15636 (register_traced_file): New function.
15637 (invalidate_cache): Don't use reset_res to determine whether to call
15638 res_init, go through the list of registered files.
15639 (main_loop_poll): The inotify descriptors are now stored in the
15640 structures for the traced files.
15641 (main_loop_epoll): Likewise
15642 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15643 to __nss_disable_nscd.
15644 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15645 for a database anymore. Check the records for all the registered
15647 * nss/Makefile (libnss_files-routines): Add files-init.
15648 (libnss_db-routines): Add db-init.
15649 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15650 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15651 * nss/nss_db/db-init.c: New file.
15652 * nss/nss_files/files-init.c: New file.
15653 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15654 __nss_lookup_function.
15655 (__nss_lookup_function): Call nss_load_library.
15656 (nss_load_all_libraries): New function.
15657 (__nss_disable_nscd): Take parameter with callback function for files
15658 to register. Set is_nscd. Load all the DSOs for the NSS modules
15659 used for the cached services.
15660 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15661 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15662 options for features to all the files in nscd.
15664 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15666 2011-07-10 Roland McGrath <roland@hack.frob.com>
15668 * csu/elf-init.c (__libc_csu_init): Comment typo.
15670 2011-07-09 Ulrich Drepper <drepper@gmail.com>
15672 * po/pl.po: Update from translation team.
15673 * po/ja.po: Likewise.
15674 * po/ru.po: Likewise.
15675 * po/ko.po: Likewise.
15676 * po/fr.po: Likewise.
15678 2011-07-09 Roland McGrath <roland@hack.frob.com>
15680 * configure.in (.ctors/.dtors header and trailer check):
15681 Use an empirical test on a built program.
15682 * configure: Regenerated.
15684 * configure.in (-z relro check): Use an empirical test on a built DSO.
15685 Detect, but do not require, on ia64.
15686 * configure: Regenerated.
15688 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15689 Update tests that use readelf to use $READELF instead.
15690 * configure: Regenerated.
15692 2011-07-08 Ulrich Drepper <drepper@gmail.com>
15694 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15695 if the result is not used.
15697 2011-07-05 Andreas Jaeger <aj@suse.de>
15700 * stdlib/tst-strtod.c: Add testcase.
15702 2011-07-07 Ulrich Drepper <drepper@gmail.com>
15704 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15705 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15706 The latter has a higher limit. Take additional parameter to pass to
15708 (__pathconf): Pass file to __statfs_link_max.
15709 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15711 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15715 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15716 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15718 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15719 (__statfs_filesize_max): Likewise.
15720 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15722 2011-07-05 Andreas Jaeger <aj@suse.de>
15724 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15726 2011-07-06 Marek Polacek <mpolacek@redhat.com>
15728 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15730 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15733 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15735 * Makefile (strop-tests): Add strncat.
15736 * string/test-strncat.c: New file.
15738 2011-06-30 Marek Polacek <mpolacek@redhat.com>
15740 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15742 2011-06-21 Andreas Jaeger <aj@suse.de>
15744 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15745 Copy rule from iconvdata/Makefile.
15747 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15750 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15751 but no long options are defined, just return 'W'.
15753 2011-06-22 Marek Polacek <mpolacek@redhat.com>
15756 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15758 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15760 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15762 (innetgr): Likewise.
15764 2011-07-05 Roland McGrath <roland@hack.frob.com>
15766 * config.make.in (install_root): Default to $(DESTDIR).
15768 2011-07-05 Ulrich Drepper <drepper@gmail.com>
15770 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15772 2011-07-02 Roland McGrath <roland@hack.frob.com>
15774 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15776 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15777 containing directory rather than embedding absolute directory names.
15779 * scripts/check-local-headers.sh: Rewritten using awk.
15780 Match by word, not by line. Print error messages for matches.
15781 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15783 * Makerules [shlib-lds-flags empty]:
15784 ($(common-objpfx)libc_pic.opts): New target.
15785 ($(common-objpfx)libc_pic.os.clean): New target.
15786 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15788 * config.make.in (OBJCOPY): New variable.
15789 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15790 * configure: Regenerated.
15792 * config.make.in (use-default-link): New variable.
15793 * configure.in (use_default_link): Grok --with-default-link to set it.
15794 * configure: Regenerated.
15795 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15796 (shlib-lds, shlib-lds-flags): Define to empty.
15798 * Makerules (shlib-lds): New variable.
15799 (shlib-lds-flags): New variable.
15800 (build-shlib, build-moduile, build-module-asneeded): Use it.
15801 ($(common-objpfx)libc.so): Use $(shlib-lds).
15802 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15803 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15805 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15806 DT_FLAGS/DT_FLAGS_1 with zero flags.
15808 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15809 linker script munging.
15811 2011-07-02 Ulrich Drepper <drepper@gmail.com>
15813 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15815 * crypt/sha512.c (sha512_process_block): Perform total addition using
15816 128-bit if possible.
15817 (__sha512_finish_ctx): Likewise.
15818 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15820 * crypt/sha256.c (SWAP64): Define.
15821 (sha256_process_block): Perform total addition using 64-bit if
15823 (__sha256_finish_ctx): Likewise.
15825 2011-07-01 Ulrich Drepper <drepper@gmail.com>
15827 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15828 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15829 * nscd/hstcache.c (cache_addhst): Likewise.
15830 * nscd/grpcache.c (cache_addgr): Likewise.
15831 * nscd/aicache.c (addhstaiX): Likewise
15832 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15834 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
15836 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15837 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15838 * nscd/hstcache.c (cache_addhst): Likewise.
15839 * nscd/grpcache.c (cache_addgr): Likewise.
15840 * nscd/aicache.c (addhstaiX): Likewise
15842 2011-07-01 Andreas Schwab <schwab@redhat.com>
15844 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15845 domain only when needed.
15847 2011-06-30 Andreas Schwab <schwab@redhat.com>
15849 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15850 is always restored.
15852 2011-06-29 Ulrich Drepper <drepper@gmail.com>
15854 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15855 are re-adding the entry.
15856 * nscd/servicescache.c (cache_addserv): Likewise.
15858 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15860 * sysdeps/generic/dl-irel.h: fix protection against multiple
15862 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15864 2011-06-28 Ulrich Drepper <drepper@gmail.com>
15867 * malloc/memusage.sh: Fix quoting in message.
15868 * debug/xtrace.sh: Likewise.
15870 * configure.in: Remove support for --experimental-malloc option, make
15872 * config.make.in: Likewise.
15873 * malloc/Makefile: Likewise.
15875 2011-06-27 Andreas Schwab <schwab@redhat.com>
15877 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15878 two-byte characters.
15880 2011-06-27 Roland McGrath <roland@hack.frob.com>
15882 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15883 AC_CACHE_CHECK invocation.
15884 * configure: Regenerated.
15886 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15888 2011-06-27 Ulrich Drepper <drepper@gmail.com>
15891 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15892 bit from old_res_options.
15894 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15896 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15897 value type for setfct.
15899 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15901 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15902 __gettimeofday instead of gettimeofday.
15904 2011-06-26 Ulrich Drepper <drepper@gmail.com>
15906 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15908 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15910 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15912 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15915 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15918 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15919 strcpy-sse2-unaligned strncpy-sse2-unaligned
15920 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15921 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15922 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15923 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15924 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15925 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15926 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15927 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15928 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15929 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15930 (STRCPY): Support SSE2 and SSSE3 versions.
15932 2011-06-24 Ulrich Drepper <drepper@gmail.com>
15935 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15936 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15937 kernels which artificially limit size of requests.
15939 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15941 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15942 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15943 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15944 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15945 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15946 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15947 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15948 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15949 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15950 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15951 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15952 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15953 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15954 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15955 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15957 Enable unaligned load optimization for Intel Core i3, i5 and i7
15959 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15961 (index_Fast_Unaligned_Load): Define.
15962 (HAS_FAST_UNALIGNED_LOAD): Define.
15964 2011-06-23 Marek Polacek <mpolacek@redhat.com>
15966 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15968 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15971 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15972 until it is clear that the information is realy needed.
15973 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15975 2011-06-22 Andreas Schwab <schwab@redhat.com>
15977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15979 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15981 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15982 /sys/devices/system/cpu/online if it is usable.
15984 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15985 reading the information from the /proc filesystem to once a second.
15987 2011-06-21 Andreas Jaeger <aj@suse.de>
15989 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15990 NULL after inclusion of kernel headers.
15992 2011-06-21 Ulrich Drepper <drepper@gmail.com>
15994 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15995 calls to internal_setent.
15998 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15999 addresses using gethostbyname4_r ignore IPv4 addresses.
16001 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16002 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16004 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16006 2011-06-20 David S. Miller <davem@davemloft.net>
16008 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16010 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16012 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16013 (elf_irel): Use it.
16014 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16015 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16016 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16017 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16018 * sysdeps/x86_64/dl-irel.h: Likewise.
16020 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16021 * elf/dl-sym.c: Likewise.
16023 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16025 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16026 need to dereference resplen2.
16028 2011-06-14 Andreas Schwab <schwab@redhat.com>
16030 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16032 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16034 * Makeconfig: Define vardbdir and inst_vardbdir.
16035 * nss/Makefile: Add rules to install db-Makefile.
16037 * nss/nss_db/db-XXX.c: Cleanup.
16039 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16040 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16042 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16043 * nss/makedb.c: Implement -g option to specify that value strings
16044 are generated and should not be added to table iterated over for
16046 * nss/nss_db/db-initgroups.c: New file.
16048 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16051 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16052 (internal_getgrouplist): Adjust to name change.
16053 Update use_initgroups_entry if this is not the first call.
16054 * nss/databases.def: Add initgroups entry.
16056 * nss/makedb.c (compute_tables): Check result of multiple hash table
16057 sizes to minimize maximum chain length.
16059 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16061 * Versions.def: Add entry for libnss_db.
16062 * shlib-versions: Likewise.
16063 * nss/Makefile: Add rules to build libnss_db.
16064 * nss/Versions: Add libnss_db information. Organize libnss_files
16066 * nss/db-Makefile: Add gshadow support. Change rules for the new
16067 makedb progra. Some minor improvements to generate smaller files.
16068 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16070 * nss/makedb.c: ...here.
16071 Improve database format to be smaller and require less memory at
16073 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16075 * nss/nss_db/db-netgrp.c: Likewise.
16076 * nss/nss_db/db-open.c: Likewise.
16077 * nss/nss_files/flies-XXX.x: Adjust comments.
16078 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16079 * nss/nss_files/files-grp.c: Likewise.
16080 * nss/nss_files/files-hosts.c: Likewise.
16081 * nss/nss_files/files-network.c: Likewise.
16082 * nss/nss_files/files-proto.c: Likewise.
16083 * nss/nss_files/files-pwd.c: Likewise.
16084 * nss/nss_files/files-rpc.c: Likewise.
16085 * nss/nss_files/files-service.c: Likewise.
16086 * nss/nss_files/files-sgrp.c: Likewise.
16087 * nss/nss_files/files-spwd.c: Likewise.
16088 * nss/nss_db/db-alias.c: Removed.
16089 * nss/nss_db/dummy-db.h: Removed.
16091 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16093 * nss/makedb.c: Rewritten to not use database library.
16094 * nss/Makefile: Update to build new makedb program.
16096 2011-06-14 Andreas Jaeger <aj@suse.de>
16098 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16099 memset declaration.
16101 2011-06-10 Andreas Schwab <schwab@redhat.com>
16103 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16106 2011-06-10 Roland McGrath <roland@hack.frob.com>
16108 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16109 * elf/Makefile ($(objpfx)ld.so): Likewise.
16111 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16112 Don't list ld.so twice in dependencies.
16114 * posix/bug-regex31.c: Include <stdlib.h>.
16116 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16118 * nis/nss_compat/compat-spwd.c
16119 (getspent_next_nss_netgr): Remove unused variable.
16120 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16122 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16123 nonmembers" output to use the right array.
16125 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16127 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16129 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16130 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16131 * catgets/gencat.c (read_input_file): Likewise.
16132 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16134 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16135 variable definition inside #if's controlling its use.
16137 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16139 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16141 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16143 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16146 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16148 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16149 * configure: Regenerated.
16151 * Makerules: Revert last change.
16152 * elf/Makefile: Likewise.
16154 2011-06-09 Roland McGrath <roland@hack.frob.com>
16156 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16157 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16158 (reloc-link): Likewise.
16160 2011-06-09 Ulrich Drepper <drepper@gmail.com>
16162 * elf/Makefile: Add rules to build pldd.
16163 * elf/pldd.c: New file.
16164 * elf/pldd-xx.c: New file.
16166 2011-06-07 Ulrich Drepper <drepper@gmail.com>
16168 * version.h: Update for 2.15 development version.
16170 2011-06-07 David S. Miller <davem@davemloft.net>
16172 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16174 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16175 elf_machine_lazy_rel): Likewise.
16176 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16177 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16178 elf_machine_lazy_rel): Likewise.
16179 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16180 dl_hwcap via passed in argument.
16181 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16184 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16186 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16188 2011-06-06 Roland McGrath <roland@hack.frob.com>
16191 * manual/fdl-1.1.texi: New file, verbatim from:
16192 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16193 * manual/lgpl-2.1.texi: New file, verbatim from:
16194 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16195 * manual/Makefile (licenses): New variable, list those new file names.
16197 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16199 * manual/fdl.texi: File removed.
16200 * manual/lesser.texi: File removed.
16201 * manual/libc.texinfo (Copying, Documentation License):
16202 Use new @include file names, put @appendix directive before @include.
16204 2011-06-04 Jakub Jelinek <jakub@redhat.com>
16207 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16208 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16209 (mq_open): Add __NTH.
16211 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16214 Assume Intel Core i3/i5/i7 processor if AVX is available.
16216 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16218 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16221 2011-05-31 Andreas Schwab <schwab@redhat.com>
16223 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16224 memory. Use alloca_account. Fix memory leak when retrying.
16226 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16228 * version.h (RELEASE): Bump for 2.14 release.
16229 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16231 * config.make.in (RANLIB): Remove entry.
16233 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16235 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16236 (libc.pot): Work around missing support for .ksh extension in xgettext.
16239 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16240 if both request failed.
16241 (send_dg): In case of server errors clear resplen or *resplen2.
16244 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16245 when there are multiple maps.
16246 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16247 (_dl_fini): Remove test here.
16249 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16251 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16254 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16255 bit from old_res_options.
16256 (gaih_inet): Likewise.
16259 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16262 * resolv/res_init.c (res_setoptions): Make the code more compact.
16265 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16269 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16271 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16274 * malloc/malloc.h: Declare malloc hook variables as volatile.
16276 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16280 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16281 raise in the comment.
16282 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16283 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16284 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16286 2011-05-28 Ulrich Drepper <drepper@gmail.com>
16289 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16290 grow the buffers more if it already has to be sufficient.
16291 (build_wcs_upper_buffer): Likewise.
16292 * posix/regexec.c (check_matching): Likewise.
16293 (clean_state_log_if_needed): Likewise.
16294 (extend_buffers): Don't enlarge buffers beyond size of the input
16296 Patches mostly by Emil Wojak <emil@wojak.eu>.
16297 * posix/bug-regex32.c: New file.
16298 * posix/Makefile (tests): Add bug-regex32.
16300 * locale/findlocale.c (_nl_find_locale): Return right away if
16301 _nl_explode_name failed.
16302 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16304 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16306 * debug/xtrace.sh: Unify messages.
16307 * malloc/memusage.sh: Likewise.
16310 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16311 time symbol from vDSO. Substitute with vsyscall if not available.
16312 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16315 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16316 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16317 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16318 Add sendmmsg and internal_sendmmsg.
16319 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16320 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16321 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16323 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16324 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16325 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16327 2011-05-27 Ulrich Drepper <drepper@gmail.com>
16330 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16331 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16333 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16337 * iconvdata/Makefile (tests): Add bug-iconv9.
16338 * iconvdata/bug-iconv9.c: New file.
16340 2011-05-27 Andreas Schwab <schwab@redhat.com>
16343 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16345 2011-05-25 Jakub Jelinek <jakub@redhat.com>
16347 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16348 (struct user_regs_struct): Change intcs field back to cs.
16350 2011-05-25 Ulrich Drepper <drepper@gmail.com>
16352 * po/ja.po: Update from translation team.
16354 2011-05-23 Ulrich Drepper <drepper@gmail.com>
16357 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16358 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16360 2011-05-20 Andreas Schwab <schwab@redhat.com>
16362 * stdlib/longlong.h: Update from GCC.
16364 2011-05-23 Andreas Schwab <schwab@redhat.com>
16366 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16368 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16369 Add parameter name.
16370 (__sysconf): Pass it down.
16372 2011-05-22 Ulrich Drepper <drepper@gmail.com>
16375 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16377 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16378 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16379 add in in __libc_use_alloca calls. Adjust callers.
16380 (glob): Use malloc in some situations.
16382 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16383 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16386 2011-05-21 Ulrich Drepper <drepper@gmail.com>
16388 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16389 and CLOCK_BOOTTIME_ALARM.
16392 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16395 * string/_strerror.c (__strerror_r): Print negative errors as signed
16399 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16400 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16401 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16403 * configure.in: Fix typo in redirection and correct removal of test
16404 files in two cases.
16407 * locale/setlocale.c (new_composite_name): Fix test to check for
16408 identical name of all categories.
16411 * libio/filedoalloc.c (local_isatty): New function.
16412 (_IO_file_doallocate): Use local_isatty.
16413 * stdio-common/perror.c (perror): In case a new stream is used
16414 forward the stream error.
16415 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16418 2011-05-20 Ulrich Drepper <drepper@gmail.com>
16421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16423 * include/alloca.h (extend_alloca_account): Define.
16426 * posix/regex.h: Fix comments with documentation of user-accessible
16427 fields after compilation and describe correct free'ing of pattern
16428 after re_compile_pattern.
16429 Patch by Reuben Thomas <rrt@sc3d.org>.
16431 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16433 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16434 and -mno-altivec to prevent the compiler from using Altivec and/or
16435 VSX instructions when the corresponding registers are not available.
16437 2011-05-19 Andreas Schwab <schwab@redhat.com>
16439 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16441 2011-05-19 Ulrich Drepper <drepper@gmail.com>
16443 * libio/freopen.c (freopen): Use __dup2, not dup2.
16444 * libio/freopen64.c (freopen64): Likewise.
16446 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16449 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16450 * math/Makefile (tests): Add test-powl.
16451 (CFLAGS-test-powl.c): Define.
16452 * math/test-powl.c: New file.
16454 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16456 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16458 2011-05-17 Ulrich Drepper <drepper@gmail.com>
16461 * iconvdata/gb18030.c: Update to GB18020-2005.
16463 2011-05-16 Ulrich Drepper <drepper@gmail.com>
16465 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16466 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16467 Patch by Aharon Robbins <arnold@skeeve.com>.
16470 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16474 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16475 through underflows.
16478 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16479 point to strings before performing equality test for error_one_per_line
16483 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16486 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16487 (struct user_fpregs_struct): Avoid __uint*_t types.
16490 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16491 symbol info. Use it instead of calling _dl_addr locally.
16492 (lock_and_info): New function.
16493 (tr_freehook): Call lock_and_info and pass symbol info as additional
16494 parameter to tr_where.
16495 (tr_mallochook): Likewise.
16496 (tr_reallochook): Likewise.
16497 (tr_memalignhook): Likewise.
16499 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16500 used and couldn't be at all thread-safe.
16502 2011-05-15 Ulrich Drepper <drepper@gmail.com>
16504 * libio/freopen.c (freopen): Don't close old file descriptor
16505 before the new one is opened. Instead dup the new file descriptor
16506 to the old one after the new stream is created.
16507 * libio/freopen64.c (freopen64): Likewise.
16508 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16509 * libio/fileops.c (_IO_new_file_close_it): Handle new
16510 _IO_FLAGS2_NOCLOSE flag.
16511 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16512 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16513 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16514 _IO_FLAGS2_NOCLOSE flag.
16515 * include/unistd.h: Add hidden_proto for dup3.
16516 Define __have_dup3.
16517 * io/dup3.c: Define hidden symbol.
16518 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16521 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16522 when an incomplete long option is used.
16523 * posix/tst-getopt_long1.c: New file.
16524 * posix/Makefile (tests): Add tst-getopt_long1.
16527 * scripts/config.guess: Update from autoconf-2.68.
16528 * scripts/config.sub: Likewise.
16531 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16533 (has_cpuclock): ...this. New function.
16534 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16535 macro here based on has_cpuclock code.
16538 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16539 First byte (not low byte) is now always NUL.
16540 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16542 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16543 Use non-cancelable interfaces.
16546 * locale/iso-639.def: Add entry for Sorani.
16549 * include/stdlib.h: Move include protection to the right place.
16550 Define abort_msg_s. Declare __abort_msg with it.
16551 * stdlib/abort.c (__abort_msg): Adjust type.
16552 * assert/assert.c (__assert_fail_base): New function. Majority
16553 of code from __assert_fail. Allocate memory for __abort_msg with
16555 (__assert_fail): Now call __assert_fail_base.
16556 * assert/assert-perr.c: Remove bulk of implementation. Use
16557 __assert_fail_base.
16558 * include/assert.hL Declare __assert_fail_base.
16559 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16561 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16563 2011-05-14 Ulrich Drepper <drepper@gmail.com>
16567 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16568 until all modules are registered in the DTV.
16569 * elf/Makefile: Add rules to build and run tst-tls19.
16570 * elf/tst-tls19.c: New file.
16571 * elf/tst-tls19mod1.c: New file.
16572 * elf/tst-tls19mod2.c: New file.
16573 * elf/tst-tls19mod3.c: New file.
16574 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16577 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16581 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16582 two-byte sequence errors.
16583 * iconvdata/Makefile (tests): Add bug-iconv8.
16584 * iconvdata/bug-iconv8.c: New file.
16587 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16590 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16593 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16594 (dummy_getcfa): New function.
16595 (init): Get _Unwind_GetCFA address, use dummy if not found.
16596 (backtrace_helper): In recursion check, also check whether CFA changes.
16597 (__backtrace): Completely initialize arg.
16599 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16600 storing incomplete byte sequence in state object. Avoid testing for
16601 guaranteed too small input if we know there is enough data available.
16603 2011-05-11 Andreas Schwab <schwab@redhat.com>
16605 * Makeconfig (+link-pie): Indent.
16606 * Rules (binaries-pie): Define if $(have-fpie) and
16608 (binaries-shared): Also filter out $(binaries-pie).
16609 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16610 * nscd/Makefile (others-pie): Add nscd.
16611 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16612 ($(objpfx)nscd): Remove command override.
16613 * login/Makefile (others-pie): Add pt_chown.
16614 ($(objpfx)pt_chown): Remove command override.
16615 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16616 remove command overrides.
16618 2011-05-13 Ulrich Drepper <drepper@gmail.com>
16620 * libio/tst_putwc.c: Fix error messages.
16623 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16624 currently writing and seek to current position when not.
16625 * libio/Makefile (tests): Add bug-fclose1.
16626 * libio/bug-fclose1.c: New file.
16628 2011-05-12 Ulrich Drepper <drepper@gmail.com>
16631 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16632 don't set DF_1_NODELETE here.
16633 (do_lookup_x): When entering new entry test for copy relocation
16634 and if necessary set DF_1_NODELETE flag.
16635 * elf/tst-unique4.cc: New file.
16636 * elf/tst-unique4.h: New file.
16637 * elf/tst-unique4lib.cc: New file.
16638 * elf/Makefile: Add rules to build and run tst-unique4.
16639 Patch by Piotr Bury <pbury@goahead.com>.
16641 2011-05-11 Ulrich Drepper <drepper@gmail.com>
16644 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16647 * misc/mntent_r.c (addmntent): Flush the stream after the output
16650 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16651 (is_trusted_path_normalize): Skip initial colon. Append slash
16652 to empty buffer. Duplicate is_trusted_path code but allow
16653 constructed patch to be prefix.
16654 (is_dst): Allow $ORIGIN followed by /.
16655 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16656 Correct testing of result of is_trusted_path_normalize
16657 (decompose_rpath): Fix warning.
16659 2011-05-10 Ulrich Drepper <drepper@gmail.com>
16662 * grp/initgroups.c (internal_getgrouplist): When we found the service
16663 list through the initgroups entry in nsswitch.conf do not always
16664 continue on a successful lookup. Don't always use the
16665 __nss_group_database value if it is set.
16666 * nss/nsswitch.conf (initgroups): Change action for successful db
16667 lookup to continue for compatibility.
16669 2011-05-09 Ulrich Drepper <drepper@gmail.com>
16672 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16674 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16676 * iconvdata/tst-tables.sh: Likewise.
16677 * iconvdata/cp770.c: New file.
16678 * iconvdata/cp771.c: New file.
16679 * iconvdata/cp772.c: New file.
16680 * iconvdata/cp773.c: New file.
16681 * iconvdata/cp774.c: New file.
16682 * iconvdata/testdata/CP770: New file.
16683 * iconvdata/testdata/CP770..UTF8: New file.
16684 * iconvdata/testdata/CP771: New file.
16685 * iconvdata/testdata/CP771..UTF8: New file.
16686 * iconvdata/testdata/CP772: New file.
16687 * iconvdata/testdata/CP772..UTF8: New file.
16688 * iconvdata/testdata/CP773: New file.
16689 * iconvdata/testdata/CP773..UTF8: New file.
16690 * iconvdata/testdata/CP774: New file.
16691 * iconvdata/testdata/CP774..UTF8: New file.
16693 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16695 * iconvdata/gen-8bit-gap.sh: Likewise.
16696 * iconvdata/gen-8bit.sh: Likewise.
16698 * locale/iso-639.def: Add ary entry.
16701 * locale/C-translit.h.in: Add U20A1 transliteration.
16704 * locale/iso-639.def: Add wae entry.
16705 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16708 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16712 * locale/C-translit.h.in: Add entry for U20B9.
16713 Patch by pravin.d.s@gmail.com.
16715 2011-05-08 Ulrich Drepper <drepper@gmail.com>
16718 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16719 ENAMETOOLONG use generic getcwd.
16720 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16721 in rtld. Use *stat64.
16722 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16723 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16724 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16725 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16726 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16727 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16728 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16729 __fstatat64 macros.
16730 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16731 * dirent/rewinddir.c: Add libc_hidden_def.
16732 * sysdeps/mach/hurd/rewinddir.c: Likewise.
16733 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
16735 * include/dirent.h (__alloc_dir): Add flags parameter.
16736 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16737 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16739 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16740 from fdopendir if O_CLOEXEC is already set.
16742 2011-03-15 Alan Modra <amodra@gmail.com>
16744 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16745 l_tls_firstbyte_offset non-zero. Save padding offset in
16746 l_tls_firstbyte_offset for later use.
16747 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16748 freeing static tls block.
16750 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16752 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16753 where #ifdef was intended. The intent is to prevent ARG_MAX from
16754 being defined by the kernel headers.
16756 2011-05-07 Ulrich Drepper <drepper@gmail.com>
16759 * resolv/resolv.h: Define RES_NOTLDQUERY.
16760 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16761 no-tld-query and set RES_NOTLDQUERY.
16762 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16763 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16764 modern BIND to search name as TLD unless forbidden.
16766 2011-05-07 Petr Baudis <pasky@suse.cz>
16767 Ulrich Drepper <drepper@gmail.com>
16770 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16771 (is_trusted_path): ...to here.
16772 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16773 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16774 using is_trusted_path_normalize() in setuid scripts.
16776 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16778 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16779 __BEGIN/__END_DECLS.
16781 2011-05-06 Ulrich Drepper <drepper@gmail.com>
16783 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16784 NSS_STATUS_NOTFOUND if no record was found.
16786 2011-05-05 Andreas Schwab <schwab@redhat.com>
16788 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16789 (headers-not-in-tirpc): Remove rpc/netdb.h
16790 * resolv/netdb.h: Revert last change.
16792 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16794 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16795 circular dependency between libgcc.a and libc.a.
16797 2011-05-05 Andreas Schwab <schwab@redhat.com>
16799 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16800 * nis/Makefile: Don't install rpcsvc/*.
16801 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16802 instead of <rpc/types.h>.
16803 (MAXHOSTNAMELEN): Define.
16805 2011-05-03 Andreas Schwab <schwab@redhat.com>
16807 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16809 2011-04-28 Maciej Babinski <mbabinski@google.com>
16812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16813 gethostbyname4_r when IPv6 results are possible.
16815 2011-05-02 Ulrich Drepper <drepper@gmail.com>
16818 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16819 _PC_PIPE_BUF handling.
16821 2011-04-30 Bruno Haible <bruno@clisp.org>
16824 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16825 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16827 * inet/getnameinfo.c (getnameinfo): Likewise.
16829 2011-04-29 Ulrich Drepper <drepper@gmail.com>
16831 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16832 to groups setting in database lookup.
16833 * nss/nsswitch.conf: Add initgroups entry.
16835 2011-04-22 Ulrich Drepper <drepper@gmail.com>
16838 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16840 Patch by Eric Blake <eblake@redhat.com>.
16842 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16844 * sunrpc/Makefile (need-export-routines): Add svc_run.
16845 (routines): Remove svc_run.
16846 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16847 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16848 * sunrpc/svc_run.c (svc_run): Likewise.
16849 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16851 2011-04-21 Ulrich Drepper <drepper@gmail.com>
16853 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16854 problem in reallocation in last patch.
16856 2011-04-20 Ulrich Drepper <drepper@gmail.com>
16858 * sunrpc/Makefile: Move inclusion of Rules.
16860 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16862 * nss/nss_files/files-initgroups.c: New file.
16863 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16864 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16865 _nss_files_initgroups_dyn.
16867 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16869 * elf/elf.h (R_ARM_IRELATIVE): Define.
16871 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16873 * po/ru.po: Update from translation team.
16875 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16877 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16880 2011-02-06 Mike Frysinger <vapier@gentoo.org>
16883 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16884 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16885 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16886 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16887 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16889 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16891 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16893 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16894 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16895 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16897 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16900 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16902 * stdlib/bug-getcontext.c: New file.
16903 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16905 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16907 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16908 instructions into .machine "z9-109".
16909 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16910 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16912 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16914 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16915 between environment variables and auxiliary vector.
16917 2011-04-16 Ulrich Drepper <drepper@gmail.com>
16919 * Makefile: Add rules to build linkobj/libc.so.
16920 * include/libc-symbols.h: Define libc_hidden_nolink.
16921 * include/rpc/auth.h: Mark functions which are to be hidden.
16922 * include/rpc/auth_des.h: Likewise.
16923 * include/rpc/auth_unix.h: Likewise.
16924 * include/rpc/clnt.h: Likewise.
16925 * include/rpc/des_crypt.h: Likewise.
16926 * include/rpc/key_prot.h: Likewise.
16927 * include/rpc/pmap_clnt.h: Likewise.
16928 * include/rpc/pmap_prot.h: Likewise.
16929 * include/rpc/pmap_rmt.h: Likewise.
16930 * include/rpc/rpc_msg.h: Likewise.
16931 * include/rpc/svc.h: Likewise.
16932 * include/rpc/svc_auth.h: Likewise.
16933 * include/rpc/xdr.h: Likewise.
16934 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16935 * nss/Makefile: Likewise.
16936 * sunrpc/Makefile: Don't install headers. Build library with normal
16937 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16938 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16939 for the compat linking library. Remove use of INTDEF/INTUSE.
16940 * sunrpc/auth_none.c: Likewise.
16941 * sunrpc/auth_unix.c: Likewise.
16942 * sunrpc/authdes_prot.c: Likewise.
16943 * sunrpc/authuxprot.c: Likewise.
16944 * sunrpc/clnt_gen.c: Likewise.
16945 * sunrpc/clnt_perr.c: Likewise.
16946 * sunrpc/clnt_raw.c: Likewise.
16947 * sunrpc/clnt_simp.c: Likewise.
16948 * sunrpc/clnt_tcp.c: Likewise.
16949 * sunrpc/clnt_udp.c: Likewise.
16950 * sunrpc/clnt_unix.c: Likewise.
16951 * sunrpc/des_crypt.c: Likewise.
16952 * sunrpc/des_soft.c: Likewise.
16953 * sunrpc/get_myaddr.c: Likewise.
16954 * sunrpc/key_call.c: Likewise.
16955 * sunrpc/key_prot.c: Likewise.
16956 * sunrpc/netname.c: Likewise.
16957 * sunrpc/pm_getmaps.c: Likewise.
16958 * sunrpc/pm_getport.c: Likewise.
16959 * sunrpc/pmap_clnt.c: Likewise.
16960 * sunrpc/pmap_prot.c: Likewise.
16961 * sunrpc/pmap_prot2.c: Likewise.
16962 * sunrpc/pmap_rmt.c: Likewise.
16963 * sunrpc/publickey.c: Likewise.
16964 * sunrpc/rpc_cmsg.c: Likewise.
16965 * sunrpc/rpc_common.c: Likewise.
16966 * sunrpc/rpc_dtable.c: Likewise.
16967 * sunrpc/rpc_prot.c: Likewise.
16968 * sunrpc/rpc_thread.c: Likewise.
16969 * sunrpc/rtime.c: Likewise.
16970 * sunrpc/svc.c: Likewise.
16971 * sunrpc/svc_auth.c: Likewise.
16972 * sunrpc/svc_authux.c: Likewise.
16973 * sunrpc/svc_raw.c: Likewise.
16974 * sunrpc/svc_run.c: Likewise.
16975 * sunrpc/svc_simple.c: Likewise.
16976 * sunrpc/svc_tcp.c: Likewise.
16977 * sunrpc/svc_udp.c: Likewise.
16978 * sunrpc/svc_unix.c: Likewise.
16979 * sunrpc/svcauth_des.c: Likewise.
16980 * sunrpc/xcrypt.c: Likewise.
16981 * sunrpc/xdr.c: Likewise.
16982 * sunrpc/xdr_array.c: Likewise.
16983 * sunrpc/xdr_float.c: Likewise.
16984 * sunrpc/xdr_intXX_t.c: Likewise.
16985 * sunrpc/xdr_mem.c: Likewise.
16986 * sunrpc/xdr_rec.c: Likewise.
16987 * sunrpc/xdr_ref.c: Likewise.
16988 * sunrpc/xdr_sizeof.c: Likewise.
16989 * sunrpc/xdr_stdio.c: Likewise.
16991 2011-04-10 Ulrich Drepper <drepper@gmail.com>
16994 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16995 * sysdeps/ia64/dl-tls.h: Likewise.
16996 * sysdeps/powerpc/dl-tls.h: Likewise.
16997 * sysdeps/s390/dl-tls.h: Likewise.
16998 * sysdeps/sh/dl-tls.h: Likewise.
16999 * sysdeps/sparc/dl-tls.h: Likewise.
17000 * sysdeps/x86_64/dl-tls.h: Likewise.
17001 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17003 2011-03-14 Andreas Schwab <schwab@redhat.com>
17005 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17006 rpath element also skip the following colon.
17007 (expand_dynamic_string_token): Add is_path parameter and pass
17008 down to DL_DST_REQUIRED and _dl_dst_substitute.
17009 (decompose_rpath): Call expand_dynamic_string_token with
17010 non-zero is_path. Ignore empty rpaths.
17011 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17014 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17019 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17022 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17023 Patch by Filipe David Manana <fdmanana@apache.org>.
17025 2011-04-07 Andreas Schwab <schwab@redhat.com>
17027 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17028 Maintain aligned stack.
17029 (CHECK_RSP): Remove unused macro.
17031 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17033 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17034 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17036 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17038 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17040 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17042 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17045 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17046 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17047 * sysdeps/x86_64/memmove.c: New file.
17048 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17049 (memcpy): Renamed to ...
17050 (__new_memcpy): This.
17051 (memcpy): Provide GLIBC_2_14 memcpy.
17052 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17053 (memcpy): Provide GLIBC_2_2_5 memcpy.
17055 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17058 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17060 2011-03-30 Andreas Schwab <schwab@redhat.com>
17062 * misc/syncfs.c: New file.
17063 * misc/Makefile (routines): Add syncfs.
17064 * posix/unistd.h: Declare syncfs.
17065 * sysdeps/unix/syscalls.list: Add syncfs.
17067 2011-04-01 Andreas Schwab <schwab@redhat.com>
17069 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17071 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17072 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17073 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17074 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17075 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17076 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17077 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17079 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17081 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17082 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17083 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17085 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17087 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17089 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17090 sync_file_range.c with -fexceptions.
17091 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17092 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17093 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17094 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17095 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17096 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17097 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17098 sync_file_range as cancellation point
17099 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17100 now a wrapper around __call_sync_file_range with cancellation handling.
17101 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17102 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17103 function name to __call_sync_file_range.
17104 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17105 Add call_sync_file_range.
17107 2011-04-01 Andreas Schwab <schwab@redhat.com>
17109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17112 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17114 * iconv/iconv.h: Fix typo in comment.
17115 * io/fcntl.h: Likewise.
17116 * libio/stdio.h: Likewise.
17117 * posix/spawn.h: Likewise.
17118 * posix/unistd.h: Likewise.
17119 * stdlib/stdlib.h: Likewise.
17120 * time/time.h: Likewise.
17121 * wcsmbs/wchar.h: Likewise.
17123 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17124 open_by_handle): Add.
17125 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17126 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17127 Augment a few comments.
17128 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17129 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17130 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17131 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17132 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17133 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17136 * io/fcntl.h (AT_EMPTY_PATH): Define.
17138 2011-03-30 Ulrich Drepper <drepper@gmail.com>
17140 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17141 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17142 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17144 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17145 * Versions.def: Add GLIBC_2.14.
17146 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17149 2011-03-22 Ulrich Drepper <drepper@gmail.com>
17151 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17153 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17155 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17158 * string/test-strncmp.c (do_page_test): New function.
17159 (check2): Likewise.
17160 (test_main): Call check2.
17161 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17163 2011-03-20 Ulrich Drepper <drepper@gmail.com>
17166 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17167 Handle cache information in CPU leaf 4.
17168 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17170 2011-03-18 Ulrich Drepper <drepper@gmail.com>
17173 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17174 character representation.
17175 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17177 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17179 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17180 END(__isnan) to END(__isnanf) to match function entry point/label
17181 EALIGN(__isnanf,...).
17183 2011-03-10 Jakub Jelinek <jakub@redhat.com>
17185 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17187 2011-03-10 Ulrich Drepper <drepper@gmail.com>
17190 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17191 copy from the symbol referenced in the relocation to initialize the
17193 Patch by Piotr Bury <pbury@goahead.com>.
17194 * elf/Makefile: Add rules to build and tst-unique3.
17195 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17196 * elf/tst-unique3.cc: New file.
17197 * elf/tst-unique3.h: New file.
17198 * elf/tst-unique3lib.cc: New file.
17199 * elf/tst-unique3lib2.cc: New file.
17201 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17203 2011-03-10 Mike Frysinger <vapier@gentoo.org>
17205 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17206 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17209 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17211 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17212 to-be-loaded object along a path to loader is ld.so.
17214 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17215 Ulrich Drepper <drepper@gmail.com>
17217 * sysdeps/x86_64/memset.S: After aligning destination, code
17218 branches to different locations depending on the value of
17219 misalignment, when multiarch is enabled. Fix this.
17221 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17223 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17224 Set _x86_64_preferred_memory_instruction for AMD processsors.
17225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17226 Set bit_Prefer_SSE_for_memop for AMD processors.
17228 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17230 * libio/fmemopen.c (fmemopen): Optimize a bit.
17232 2011-03-03 Andreas Schwab <schwab@redhat.com>
17234 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17236 2011-03-03 Roland McGrath <roland@redhat.com>
17238 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17240 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17242 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17243 __bzero_ultra1 instead of __memset_ultra1.
17245 2011-02-23 Andreas Schwab <schwab@redhat.com>
17246 Ulrich Drepper <drepper@gmail.com>
17249 * include/link.h (struct link_map): Add l_orig_initfini.
17250 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17251 returning unsuccessfully.
17252 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17253 close of a file loaded at startup, restore the original l_initfini
17255 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17256 list, store the pointer.
17257 * elf/Makefile ($(objpfx)noload-mem): New rule.
17258 (noload-ENV): Define.
17259 (tests): Add $(objpfx)noload-mem.
17260 * elf/noload.c: Include <memcheck.h>.
17261 (main): Call mtrace. Close all opened handles.
17263 2011-02-17 Andreas Schwab <schwab@redhat.com>
17266 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17267 dependencies are missing.
17269 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17271 Fix __if_freereq crash: Unlike the generic version which uses free,
17273 * sysdeps/mach/hurd/ifreq.h: New file.
17275 2011-01-27 Petr Baudis <pasky@suse.cz>
17276 Ulrich Drepper <drepper@gmail.com>
17279 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17280 to extend_alloca().
17281 * stdio-common/bug23.c: New file.
17282 * stdio-common/Makefile (tests): Add bug23.
17284 2010-09-28 Andreas Schwab <schwab@redhat.com>
17285 Ulrich Drepper <drepper@gmail.com>
17288 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17289 before performing relro protection. At old place add assertion
17290 to make sure nothing changed.
17292 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17293 Glauber de Oliveira Costa <glommer@gmail.com>
17295 * elf/elf.h: Add new ARM TLS relocs.
17297 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17300 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17302 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17304 * sysdeps/wordsize-64/tst-writev.c: New file.
17306 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17308 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17309 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17310 insns in _dl_start to prevent a TOC reference before relocs are
17313 2011-02-15 Ulrich Drepper <drepper@gmail.com>
17316 * Makeconfig: Remove RANLIB definition.
17317 * Makerules: Don't use RANLIB.
17318 * aclocal.m4: Remove ranlib test.
17319 * configure.in: No need to check for ranlib.
17320 * elf/rtld-Rules: Don't use RANLIB.
17322 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17324 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17326 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17327 inclusion protection macro.
17329 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17330 SIGRTMIN and SIGRTMAX and print information in that case only when
17331 SIGRTMIN is defined.
17333 2011-02-11 Jakub Jelinek <jakub@redhat.com>
17335 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17336 arginfo fn returning -1.
17338 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17339 and thousands string is zero terminated.
17341 2011-02-03 Andreas Schwab <schwab@redhat.com>
17343 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17344 sysdeps/unix/sysv/linux/bits/socket.h.
17346 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17348 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17349 (__CPU_COUNT): Remove old macros.
17350 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17351 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17352 (__CPU_ALLOC, __CPU_FREE): Add macros.
17353 (__sched_cpualloc, __sched_cpufree): Add declarations.
17355 2011-02-05 Ulrich Drepper <drepper@gmail.com>
17357 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17358 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17359 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17360 (readdhstai): Return value of addhstaiX call.
17361 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17362 (addgrbyX): Return value returned by cache_addgr.
17363 (readdgrbyname): Return value returned by addgrbyX.
17364 (readdgrbygid): Likewise.
17365 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17366 (addpwbyX): Return value returned by cache_addpw.
17367 (readdpwbyname): Return value returned by addhstbyX.
17368 (readdpwbyuid): Likewise.
17369 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17370 (addservbyX): Return value returned by cache_addserv.
17371 (readdservbyname): Return value returned by addservbyX:
17372 (readdservbyport): Likewise.
17373 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17374 (addhstbyX): Return value returned by cache_addhst.
17375 (readdhstbyname): Return value returned by addhstbyX.
17376 (readdhstbyaddr): Likewise.
17377 (readdhstbynamev6): Likewise.
17378 (readdhstbyaddrv6): Likewise.
17379 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17380 (readdinitgroups): Return value returned by addinitgroupsX.
17381 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17382 (prune_cache): Keep track of timeout value of re-added entries.
17383 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17384 * nscd/nscd.h: Adjust prototypes of readd* functions.
17386 2011-02-04 Roland McGrath <roland@redhat.com>
17388 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17389 (nis_stats): Likewise.
17390 * nis/nis_modify.c (nis_modify): Likewise.
17391 * nis/nis_remove.c (nis_remove): Likewise.
17392 * nis/nis_add.c (nis_add): Likewise.
17394 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17396 * posix/fnmatch_loop.c: Add some consts.
17398 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17400 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17403 * config.make.in (config-cflags-novzeroupper): Define.
17404 * configure.in: Substitute libc_cv_cc_novzeroupper.
17405 * elf/Makefile (AVX-CFLAGS): Define.
17406 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17407 (CFLAGS-tst-auditmod4a.c): Likewise.
17408 (CFLAGS-tst-auditmod4b.c): Likewise.
17409 (CFLAGS-tst-auditmod6b.c): Likewise.
17410 (CFLAGS-tst-auditmod6c.c): Likewise.
17411 (CFLAGS-tst-auditmod7b.c): Likewise.
17412 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17414 2011-02-02 Ulrich Drepper <drepper@gmail.com>
17416 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17417 function to the callback.
17418 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17420 2011-02-02 Andreas Schwab <schwab@redhat.com>
17422 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17425 2011-01-19 Ulrich Drepper <drepper@gmail.com>
17428 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17430 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17432 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17435 * elf/Makefile: Add rules to build and run new test.
17436 * elf/tst-initorder.c: New file.
17437 * elf/tst-initorder.exp: New file.
17438 * elf/tst-initordera1.c: New file.
17439 * elf/tst-initordera2.c: New file.
17440 * elf/tst-initordera3.c: New file.
17441 * elf/tst-initordera4.c: New file.
17442 * elf/tst-initorderb1.c: New file.
17443 * elf/tst-initorderb2.c: New file.
17444 * elf/tst-order-a1.c: New file.
17445 * elf/tst-order-a2.c: New file.
17446 * elf/tst-order-a3.c: New file.
17447 * elf/tst-order-a4.c: New file.
17448 * elf/tst-order-b1.c: New file.
17449 * elf/tst-order-b2.c: New file.
17450 * elf/tst-order-main.c: New file.
17451 New test case by George Gensure <werkt0@gmail.com>.
17453 2010-10-01 Andreas Schwab <schwab@redhat.com>
17455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17456 decoding ACE if AI_CANONIDN.
17458 2011-01-18 Ulrich Drepper <drepper@gmail.com>
17460 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17462 2011-01-17 Ulrich Drepper <drepper@gmail.com>
17464 * version.h (RELEASE): Bump for 2.13 release.
17465 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17467 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17469 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17471 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17472 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17473 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17474 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17475 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17476 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17478 * posix/getconf.c: Update copyright year.
17479 * catgets/gencat.c: Likewise.
17480 * csu/version.c: Likewise.
17481 * debug/catchsegv.sh: Likewise.
17482 * debug/xtrace.sh: Likewise.
17483 * elf/ldconfig.c: Likewise.
17484 * elf/ldd.bash.in: Likewise.
17485 * elf/sprof.c (print_version): Likewise.
17486 * iconv/iconv_prog.c: Likewise.
17487 * iconv/iconvconfig.c: Likewise.
17488 * locale/programs/locale.c: Likewise.
17489 * locale/programs/localedef.c: Likewise.
17490 * malloc/memusage.sh: Likewise.
17491 * malloc/mtrace.pl: Likewise.
17492 * nscd/nscd.c (print_version): Likewise.
17493 * nss/getent.c: Likewise.
17495 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17496 PF_CAIF, and PF_ALG.
17497 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17499 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17501 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17502 (modules-names): Use them.
17503 (ifunc-test-modules, ifunc-pie-tests): Define.
17504 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17505 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17506 (test-extras): Likewise.
17507 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17508 $(compile-command.c).
17509 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17510 (all-built-dso): Define.
17511 (check-textrel.out, check-execstack.out): Depend on it.
17513 * configure.in: Don't override --enable-multi-arch.
17515 2011-01-15 Ulrich Drepper <drepper@gmail.com>
17518 * nscd/hstcache.c (tryagain): Define.
17519 (cache_addhst): Return tryagain not notfound for temporary errors.
17520 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17523 2011-01-14 Ulrich Drepper <drepper@gmail.com>
17526 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17527 to make the syscall.
17528 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17531 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17532 and fall back to matching as normal character if the string ends before
17533 the matching ']' is found. This is what POSIX requires.
17534 * posix/testfnm.c: Adjust test result.
17535 * posix/globtest.sh: Adjust test result. Add new test.
17536 * posix/tst-fnmatch.input: Likewise.
17537 * posix/tst-fnmatch2.c: Add new test.
17539 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17541 * elf/Makefile (check-execstack): Revert last change. Depend on
17543 (check-execstack.h): New target.
17544 (generated): Add check-execstack.h.
17545 * elf/check-execstack.c: Include "check-execstack.h".
17546 (main): Revert last change.
17547 (handle_file): Return zero if GNU_STACK is absent and
17548 DEFAULT_STACK_PERMS doesn't include PF_X.
17550 2011-01-13 Ulrich Drepper <drepper@gmail.com>
17552 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17553 in child fails because the descriptor is already closed.
17554 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17555 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17556 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17559 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17563 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17564 temporary buffer used to handle multi lookups locally.
17565 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17567 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17569 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17572 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17574 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17575 alignment for SSE2.
17577 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17580 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17581 characters. When rounding increased number of integer digits recompute
17583 * stdio-common/tst-grouping.c: New file.
17584 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17586 2011-01-09 Ulrich Drepper <drepper@gmail.com>
17588 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17589 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17591 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17593 * bits/select.h: Likewise.
17595 2011-01-08 Ulrich Drepper <drepper@gmail.com>
17597 * po/ja.po: Update from translation team.
17599 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
17602 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17603 implementation just like for lxstat, fxstatat, et al.
17605 2010-12-27 Jim Meyering <meyering@redhat.com>
17608 * posix/regexec.c (build_trtable): Return failure indication upon
17609 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17611 2010-12-25 Ulrich Drepper <drepper@gmail.com>
17614 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17615 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17616 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17617 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17620 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17623 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17624 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17626 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17628 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17629 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17630 script has SORT_BY_INIT_PRIORITY.
17631 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17632 NO_CTORS_DTORS_SECTIONS is defined.
17633 * elf/soinit.c: Likewise.
17634 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17635 NO_CTORS_DTORS_SECTIONS is defined.
17636 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17637 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17638 * sysdeps/sh/init-first.c: Likewise.
17639 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17641 2010-12-24 Ulrich Drepper <drepper@gmail.com>
17643 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17644 always use the slow path.
17646 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17648 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17649 similar rule which adds the sysdep directories to the header search in
17650 order to pick up the correct platform stackinfo.h.
17651 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17652 perform test if it is, otherwise return successfully without testing.
17653 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17654 DEFAULT_STACK_PERMS define in stackinfo.h.
17655 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17656 defined in stackinfo.h.
17657 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17658 DEFAULT_STACK_PERMS defined in stackinfo.h.
17659 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17660 * sysdeps/ia64/stackinfo.h: Likewise.
17661 * sysdeps/s390/stackinfo.h: Likewise.
17662 * sysdeps/sh/stackinfo.h: Likewise.
17663 * sysdeps/sparc/stackinfo.h: Likewise.
17664 * sysdeps/x86_64/stackinfo.h: Likewise.
17665 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17666 PF_X for powerpc64. Retain PF_X for powerpc32.
17668 2010-12-19 Ulrich Drepper <drepper@gmail.com>
17670 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17672 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17673 GETDENTS_64BIT_ALIGNED.
17675 2010-12-14 Ulrich Drepper <dreper@gmail.com>
17677 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17679 2010-12-10 Andreas Schwab <schwab@redhat.com>
17681 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17684 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17685 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17687 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17688 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17690 2010-12-09 Ulrich Drepper <drepper@gmail.com>
17693 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17696 2010-12-09 Jakub Jelinek <jakub@redhat.com>
17698 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17700 2010-12-03 Ulrich Drepper <drepper@gmail.com>
17702 * po/it.po: Update from translation team.
17704 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17706 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17709 2010-11-30 Ulrich Drepper <drepper@gmail.com>
17711 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17713 2010-11-24 Andreas Schwab <schwab@redhat.com>
17715 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17717 (gaih_getanswer_slice): Likewise.
17719 2010-10-20 Jakub Jelinek <jakub@redhat.com>
17721 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17723 2010-05-31 Petr Baudis <pasky@suse.cz>
17726 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17727 silently even in the chroot mode.
17729 2010-11-22 Ulrich Drepper <drepper@gmail.com>
17731 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17732 last patch a bit. Pretty printing
17734 2010-05-31 Petr Baudis <pasky@suse.cz>
17737 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17738 initialization of skip_initgroups_dyn.
17740 2010-11-19 Ulrich Drepper <drepper@gmail.com>
17742 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17743 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17745 2010-11-16 Ulrich Drepper <drepper@gmail.com>
17747 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17749 2010-11-11 Andreas Schwab <schwab@redhat.com>
17751 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17752 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17753 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17754 ($(objpfx)tst-fnmatch-mem): New rule.
17755 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17756 * posix/tst-fnmatch.c (main): Call mtrace.
17758 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17761 Support Intel processor model 6 and model 0x2c.
17763 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
17765 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17768 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17771 * string/test-strncasecmp.c (check_result): New function.
17772 (do_one_test): Use it.
17773 (check1): New function.
17774 (test_main): Use it.
17775 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17776 Support strcasecmp and strncasecmp.
17778 2010-11-08 Ulrich Drepper <drepper@gmail.com>
17781 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17782 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17784 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17786 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17790 * sysdeps/x86_64/multiarch/bzero.S: New file.
17791 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17792 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17793 * sysdeps/x86_64/multiarch/memset.S: New file.
17794 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17796 Set bit_Prefer_SSE_for_memop for Intel processors.
17797 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17799 (index_Prefer_SSE_for_memop): Define.
17800 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17802 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
17804 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17805 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17807 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17810 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17811 (__x86_64_raw_data_cache_size_half): Likewise.
17812 (__x86_64_raw_shared_cache_size): Likewise.
17813 (__x86_64_raw_shared_cache_size_half): Likewise.
17815 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17816 (__x86_64_raw_data_cache_size_half): Likewise.
17817 (__x86_64_raw_shared_cache_size): Likewise.
17818 (__x86_64_raw_shared_cache_size_half): Likewise.
17819 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17820 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17821 and __x86_64_raw_shared_cache_size_half. Round
17822 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17823 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17824 to multiple of 256 bytes.
17826 2010-11-03 Ulrich Drepper <drepper@gmail.com>
17829 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17830 of inacessible symlinks. Verify result of symlink before returning it.
17831 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17832 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17834 2010-10-28 Erich Ritz <erichritz@gmail.com>
17836 * math/math.h (isinf): Fix typo in comment.
17838 2010-11-01 Ulrich Drepper <drepper@gmail.com>
17840 * po/da.po: Update from translation team.
17842 2010-10-26 Ulrich Drepper <drepper@gmail.com>
17844 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17845 is added to the list.
17847 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17848 Ulrich Drepper <drepper@gmail.com>
17850 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17851 the global list here. Move code to...
17852 (_dl_add_to_namespace_list): ...here. New function.
17853 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17854 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17855 * elf/dl-load.c (lose): Don't remove the element from the list.
17856 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17857 (_dl_map_object): Likewise.
17859 2010-10-25 Ulrich Drepper <drepper@gmail.com>
17862 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17863 into all bytes of SSE register.
17864 Patch by Richard Li <richardpku@gmail.com>.
17866 2010-10-24 Ulrich Drepper <drepper@gmail.com>
17869 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17872 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17874 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17875 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17876 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17877 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17882 2010-10-22 Andreas Schwab <schwab@redhat.com>
17884 * include/dlfcn.h (__RTLD_SECURE): Define.
17885 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17886 mode & __RTLD_SECURE instead.
17887 (open_path): Rename preloaded parameter to secure.
17888 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17889 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17890 * elf/dl-deps.c (openaux): Likewise.
17891 * elf/rtld.c (struct map_args): Remove is_preloaded.
17892 (map_doit): Don't use it.
17893 (dl_main): Likewise.
17894 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17895 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17897 2010-09-09 Andreas Schwab <schwab@redhat.com>
17899 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17900 (sysd-rules-targets): Remove duplicates.
17901 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17902 rtld-%.$o dependency.
17904 2010-10-18 Andreas Schwab <schwab@redhat.com>
17906 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17907 _dl_map_object do it.
17909 2010-10-19 Ulrich Drepper <drepper@gmail.com>
17911 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17912 fast fma builtins, define the macros in the C99 standard.
17913 (FP_FAST_FMAF): Likewise.
17914 (FP_FAST_FMAL): Likewise.
17915 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17917 * bits/mathdef.h: Update copyright year.
17918 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17920 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17922 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17923 builtins, define the macros in the C99 standard.
17924 (FP_FAST_FMAF): Likewise.
17925 (FP_FAST_FMAL): Likewise.
17926 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17928 (FP_FAST_FMAF): Likewise.
17930 2010-10-15 Jakub Jelinek <jakub@redhat.com>
17933 * math/libm-test.inc (fma_test): Some new testcases.
17934 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17935 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17936 y and infinite z. Do multiplication by C already in long double.
17937 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17938 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17939 y and infinite z. Do bitwise or of inexact bit into u.d.
17940 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17941 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17942 * sysdeps/i386/fpu/s_fma.S: Removed.
17943 * sysdeps/i386/fpu/s_fmal.S: Removed.
17945 2010-10-16 Jakub Jelinek <jakub@redhat.com>
17948 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17949 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17950 computation is not scheduled after fetestexcept. Fix value
17951 of minimum denormal long double.
17953 2010-10-14 Jakub Jelinek <jakub@redhat.com>
17956 * math/libm-test.inc (fma_test): Add some more tests.
17957 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17960 2010-10-15 Andreas Schwab <schwab@redhat.com>
17962 * scripts/data/localplt-s390-linux-gnu.data: New file.
17963 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17965 2010-10-13 Jakub Jelinek <jakub@redhat.com>
17968 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17969 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17971 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17973 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17974 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17975 if one of x and y is very large and the other is subnormal.
17976 * sysdeps/s390/fpu/s_fmaf.c: New file.
17977 * sysdeps/s390/fpu/s_fma.c: New file.
17978 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17979 * sysdeps/powerpc/fpu/s_fma.S: New file.
17980 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17981 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17982 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17984 2010-10-12 Jakub Jelinek <jakub@redhat.com>
17987 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17989 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17990 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17991 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17992 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17993 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17994 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17995 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17997 2010-10-12 Ulrich Drepper <drepper@redhat.com>
18000 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18001 * posix/bug-regex31.input: Add test case.
18003 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18005 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18006 * posix/bug-regex31.input: New file.
18009 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18010 (parse_sub_exp): Fix last change, use postorder.
18012 * posix/bug-regex31.c: New file.
18013 * posix/Makefile: Add rules to build and run bug-regex31.
18015 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18018 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18021 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18022 to have entries in sys_siglist.
18025 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18028 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18031 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18032 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18033 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18034 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18035 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18036 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18037 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18038 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18039 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18040 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18041 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18042 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18043 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18044 * math/ftestexcept.c (fetestexcept): Likewise.
18045 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18046 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18047 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18048 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18049 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18050 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18051 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18053 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18056 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18059 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18061 * string/bug-strstr1.c: New file.
18062 * string/Makefile: Add rules to build and run bug-strstr1.
18064 2010-10-05 Eric Blake <eblake@redhat.com>
18067 * string/str-two-way.h (two_way_long_needle): Always clear memory
18068 when skipping input due to the shift table.
18070 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18073 * malloc/mcheck.c: Handle large requests.
18076 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18077 for strncmp and strncasecmp.
18078 * string/stratcliff.c: Add tests for strcmp and strncmp.
18079 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18081 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18083 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18086 2010-09-30 Andreas Jaeger <aj@suse.de>
18088 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18089 (CGROUP_SUPER_MAGIC): Define.
18090 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18091 Handle btrfs and cgroup file systems.
18092 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18095 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18097 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18098 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18100 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18103 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18104 trying to locate the ELF header.
18106 2010-09-27 Andreas Schwab <schwab@redhat.com>
18109 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18110 Mask out sign-bit copies when constructing f_fsid.
18112 2010-09-24 Petr Baudis <pasky@suse.cz>
18114 * debug/stack_chk_fail_local.c: Add missing licence exception.
18115 * debug/warning-nop.c: Likewise.
18117 2010-09-15 Joseph Myers <joseph@codesourcery.com>
18119 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18120 implementing getdents64 using getdents syscall, set d_type if
18121 __ASSUME_GETDENTS32_D_TYPE.
18123 2010-09-16 Andreas Schwab <schwab@redhat.com>
18125 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18126 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18128 2010-09-21 Ulrich Drepper <drepper@redhat.com>
18131 * posix/unistd.h: Undo change of feature selection for ftruncate from
18134 2010-09-20 Ulrich Drepper <drepper@redhat.com>
18136 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18139 2010-09-20 Andreas Schwab <schwab@redhat.com>
18141 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18143 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18145 2010-09-14 Andreas Schwab <schwab@redhat.com>
18147 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18148 variables after CHECK_SP call.
18149 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18151 2010-09-13 Andreas Schwab <schwab@redhat.com>
18152 Ulrich Drepper <drepper@redhat.com>
18154 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18155 re-relocationg ld.so.
18156 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18157 _dl_init_paths call.
18158 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18161 2010-09-14 Ulrich Drepper <drepper@redhat.com>
18163 * resolv/res_init.c (__res_vinit): Count the default server we added.
18165 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18166 Ulrich Drepper <drepper@redhat.com>
18169 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18170 (____longjmp_chk): Use %ebx for saving value across system call.
18173 2010-09-06 Andreas Schwab <schwab@redhat.com>
18175 * manual/Makefile: Don't mix pattern rules with normal rules.
18177 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18179 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18181 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18182 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18183 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18184 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18185 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18188 2010-09-04 Ulrich Drepper <drepper@redhat.com>
18191 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18192 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18194 2010-09-02 Ulrich Drepper <drepper@redhat.com>
18196 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18197 * sysdeps/x86_64/addmul_1.S: Likewise.
18198 * sysdeps/x86_64/lshift.S: Likewise.
18199 * sysdeps/x86_64/mul_1.S: Likewise.
18200 * sysdeps/x86_64/rshift.S: Likewise.
18201 * sysdeps/x86_64/sub_n.S: Likewise.
18202 * sysdeps/x86_64/submul_1.S: Likewise.
18204 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18206 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18207 Define __sched_param instead of SCHED_* and sched_param when
18208 <bits/sched.h> is included with __need_schedparam defined.
18209 * bits/sched.h [__need_schedparam]
18210 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18211 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18212 (__defined_schedparam): Define to 1.
18213 (__sched_param): New structure, identical to sched_param.
18214 (__need_schedparam): Undefine.
18216 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18218 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18219 (epoll_create1): Declare.
18221 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18223 2010-08-31 Andreas Schwab <schwab@redhat.com>
18226 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18227 shifting retval into place.
18229 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18231 * nis/rpcsvc/nis.h: Update copyright notice.
18232 * nis/rpcsvc/nis.x: Likewise.
18233 * nis/rpcsvc/nis_callback.h: Likewise.
18234 * nis/rpcsvc/nis_callback.x: Likewise.
18235 * nis/rpcsvc/nis_object.x: Likewise.
18236 * nis/rpcsvc/nis_tags.h: Likewise.
18237 * nis/rpcsvc/yp.h: Likewise.
18238 * nis/rpcsvc/yp.x: Likewise.
18239 * nis/rpcsvc/ypupd.h: Likewise.
18240 * nis/yp_xdr.c: Likewise.
18241 * nis/ypupdate_xdr.c: Likewise.
18243 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18244 mainly the body of pmap_getport. Add parameters to specify timeouts.
18245 (pmap_getport): Use __libc_rpc_getport.
18246 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18247 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18248 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18250 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18255 2010-08-27 Roland McGrath <roland@redhat.com>
18257 * sysdeps/i386/i686/multiarch/Makefile
18258 (CFLAGS-varshift.c): New variable.
18260 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18262 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18263 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18265 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18267 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18269 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18271 * sysdeps/x86_64/strlen.S: Unroll the loop.
18272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18273 strlen-sse2 strlen-sse2-bsf.
18274 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18275 __strlen_no_bsf if bit_Slow_BSF is set.
18276 (__strlen_sse42): Removed.
18277 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18278 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18280 2010-08-25 Roland McGrath <roland@redhat.com>
18282 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18283 * sysdeps/x86_64/multiarch/varshift.c: New file.
18284 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18285 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18286 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18287 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18289 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18291 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18292 strlen-sse2 strlen-sse2-bsf.
18293 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18294 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18295 (__strlen_sse2): Removed.
18296 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18297 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18299 bit_Slow_BSF for Atom.
18300 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18301 (index_Slow_BSF): Define.
18302 (HAS_SLOW_BSF): Define.
18304 2010-08-25 Ulrich Drepper <drepper@redhat.com>
18307 * resolv/res_init.c (__res_vinit): When no server address at all
18308 is given default to loopback.
18310 2010-08-24 Roland McGrath <roland@redhat.com>
18312 * configure.in: Remove config-name.h generation.
18313 * configure: Regenerated.
18314 * config-name.in: File removed.
18315 * scripts/config-uname.sh: New file.
18316 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18317 ($(objdir)config-name.h): New target.
18319 * sunrpc/rpc_parse.h: Avoid nested comment.
18321 2010-08-24 Richard Henderson <rth@redhat.com>
18322 Ulrich Drepper <drepper@redhat.com>
18323 H.J. Lu <hongjiu.lu@intel.com>
18325 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18326 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18327 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18328 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18329 _mm_alignr_epi8 with _mm_loadu_si128.
18330 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18331 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18332 (__m128i_shift_right): Removed.
18333 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18334 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18335 * sysdeps/x86_64/multiarch/varshift.h: New file.
18336 * sysdeps/x86_64/multiarch/varshift.S: New file.
18338 2010-08-21 Mike Frysinger <vapier@gentoo.org>
18340 * configure.in: Move assembler checks to before sysdep dir checking.
18342 2010-08-20 Petr Baudis <pasky@suse.cz>
18344 * LICENSES: Sync the sunrpc license.
18346 2010-08-19 Ulrich Drepper <drepper@redhat.com>
18348 * sunrpc/auth_des.c: Update copyright notice once again.
18349 * sunrpc/auth_none.c: Likewise.
18350 * sunrpc/auth_unix.c: Likewise.
18351 * sunrpc/authdes_prot.c: Likewise.
18352 * sunrpc/authuxprot.c: Likewise.
18353 * sunrpc/bindrsvprt.c: Likewise.
18354 * sunrpc/clnt_gen.c: Likewise.
18355 * sunrpc/clnt_perr.c: Likewise.
18356 * sunrpc/clnt_raw.c: Likewise.
18357 * sunrpc/clnt_simp.c: Likewise.
18358 * sunrpc/clnt_tcp.c: Likewise.
18359 * sunrpc/clnt_udp.c: Likewise.
18360 * sunrpc/clnt_unix.c: Likewise.
18361 * sunrpc/des_crypt.c: Likewise.
18362 * sunrpc/des_soft.c: Likewise.
18363 * sunrpc/get_myaddr.c: Likewise.
18364 * sunrpc/getrpcport.c: Likewise.
18365 * sunrpc/key_call.c: Likewise.
18366 * sunrpc/key_prot.c: Likewise.
18367 * sunrpc/openchild.c: Likewise.
18368 * sunrpc/pm_getmaps.c: Likewise.
18369 * sunrpc/pm_getport.c: Likewise.
18370 * sunrpc/pmap_clnt.c: Likewise.
18371 * sunrpc/pmap_prot.c: Likewise.
18372 * sunrpc/pmap_prot2.c: Likewise.
18373 * sunrpc/pmap_rmt.c: Likewise.
18374 * sunrpc/rpc/auth.h: Likewise.
18375 * sunrpc/rpc/auth_unix.h: Likewise.
18376 * sunrpc/rpc/clnt.h: Likewise.
18377 * sunrpc/rpc/des_crypt.h: Likewise.
18378 * sunrpc/rpc/key_prot.h: Likewise.
18379 * sunrpc/rpc/netdb.h: Likewise.
18380 * sunrpc/rpc/pmap_clnt.h: Likewise.
18381 * sunrpc/rpc/pmap_prot.h: Likewise.
18382 * sunrpc/rpc/pmap_rmt.h: Likewise.
18383 * sunrpc/rpc/rpc.h: Likewise.
18384 * sunrpc/rpc/rpc_des.h: Likewise.
18385 * sunrpc/rpc/rpc_msg.h: Likewise.
18386 * sunrpc/rpc/svc.h: Likewise.
18387 * sunrpc/rpc/svc_auth.h: Likewise.
18388 * sunrpc/rpc/types.h: Likewise.
18389 * sunrpc/rpc/xdr.h: Likewise.
18390 * sunrpc/rpc_clntout.c: Likewise.
18391 * sunrpc/rpc_cmsg.c: Likewise.
18392 * sunrpc/rpc_common.c: Likewise.
18393 * sunrpc/rpc_cout.c: Likewise.
18394 * sunrpc/rpc_dtable.c: Likewise.
18395 * sunrpc/rpc_hout.c: Likewise.
18396 * sunrpc/rpc_main.c: Likewise.
18397 * sunrpc/rpc_parse.c: Likewise.
18398 * sunrpc/rpc_parse.h: Likewise.
18399 * sunrpc/rpc_prot.c: Likewise.
18400 * sunrpc/rpc_sample.c: Likewise.
18401 * sunrpc/rpc_scan.c: Likewise.
18402 * sunrpc/rpc_scan.h: Likewise.
18403 * sunrpc/rpc_svcout.c: Likewise.
18404 * sunrpc/rpc_tblout.c: Likewise.
18405 * sunrpc/rpc_util.c: Likewise.
18406 * sunrpc/rpc_util.h: Likewise.
18407 * sunrpc/rpcinfo.c: Likewise.
18408 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18409 * sunrpc/rpcsvc/key_prot.x: Likewise.
18410 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18411 * sunrpc/rpcsvc/mount.x: Likewise.
18412 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18413 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18414 * sunrpc/rpcsvc/rex.x: Likewise.
18415 * sunrpc/rpcsvc/rstat.x: Likewise.
18416 * sunrpc/rpcsvc/rusers.x: Likewise.
18417 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18418 * sunrpc/rpcsvc/spray.x: Likewise.
18419 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18420 * sunrpc/rtime.c: Likewise.
18421 * sunrpc/svc.c: Likewise.
18422 * sunrpc/svc_auth.c: Likewise.
18423 * sunrpc/svc_authux.c: Likewise.
18424 * sunrpc/svc_raw.c: Likewise.
18425 * sunrpc/svc_run.c: Likewise.
18426 * sunrpc/svc_simple.c: Likewise.
18427 * sunrpc/svc_tcp.c: Likewise.
18428 * sunrpc/svc_udp.c: Likewise.
18429 * sunrpc/svc_unix.c: Likewise.
18430 * sunrpc/svcauth_des.c: Likewise.
18431 * sunrpc/xcrypt.c: Likewise.
18432 * sunrpc/xdr.c: Likewise.
18433 * sunrpc/xdr_array.c: Likewise.
18434 * sunrpc/xdr_float.c: Likewise.
18435 * sunrpc/xdr_mem.c: Likewise.
18436 * sunrpc/xdr_rec.c: Likewise.
18437 * sunrpc/xdr_ref.c: Likewise.
18438 * sunrpc/xdr_sizeof.c: Likewise.
18439 * sunrpc/xdr_stdio.c: Likewise.
18441 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18444 2010-08-19 Andreas Schwab <schwab@redhat.com>
18446 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18448 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
18450 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18451 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18452 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18453 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18454 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18455 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18456 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18457 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18458 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18459 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18460 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18461 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18462 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18463 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18465 2010-07-26 Anton Blanchard <anton@samba.org>
18467 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18468 * malloc/arena.c (heap_trim): Likewise.
18470 2010-08-16 Ulrich Drepper <drepper@redhat.com>
18472 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18474 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18475 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18477 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18479 * sysdeps/i386/elf/Makefile: New file.
18481 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18483 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18484 from fanotify_init.
18485 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18486 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18488 2010-08-15 Ulrich Drepper <drepper@redhat.com>
18490 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18492 * sysdeps/multiarch/strcmp.S: Likewise.
18494 2010-08-14 Ulrich Drepper <drepper@redhat.com>
18496 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18497 strncase_l-nonascii.
18498 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18499 Add strncase_l-ssse3.
18500 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18501 * sysdeps/x86_64/strcmp.S: Likewise.
18502 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18503 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18504 * sysdeps/x86_64/strncase.S: New file.
18505 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18506 * sysdeps/x86_64/strncase_l.S: New file.
18507 * string/Makefile (strop-tests): Add strncasecmp.
18508 * string/test-strncasecmp.c: New file.
18510 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18513 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18514 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18516 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18518 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18520 2010-08-12 Ulrich Drepper <drepper@redhat.com>
18522 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18523 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18524 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18526 2010-05-01 Alan Modra <amodra@gmail.com>
18528 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18529 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18530 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18531 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18532 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18533 tidying. Don't tail-call __sigjmp_save for static lib.
18534 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18536 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18537 (CALL_MCOUNT): Add eh info, and nop after bl.
18538 (TAIL_CALL_SYSCALL_ERROR): New macro.
18539 (PSEUDO_RET): Use it.
18540 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18541 Correct save location of integer regs and cr.
18542 (_dl_profile_resolve): Correct cr save location. Delete nops
18543 after bl when SHARED. Reduce cfi size a little by better
18544 placement of cfi directives.
18545 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18546 make a stack frame. Instead use parm save area as a temp.
18547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18548 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18550 Don't make a stack frame for parent, use parm save area.
18551 Increase child stack frame to 112 bytes. Don't save unused reg,
18552 and adjust reg usage. Set up cfi on error recovery and
18553 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18555 (__makecontext): Add dummy nop after jump to exit.
18556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18557 Use correct parm save area and cr save, reduce stack frame.
18558 Correct cfi for possible PSEUDO_RET frame setup.
18559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18560 Branch to local label emitted by PSEUDO_RET rather than
18563 2010-08-12 Andreas Schwab <schwab@redhat.com>
18566 * locale/programs/locale.c (print_assignment): New function.
18567 (show_locale_vars): Use it.
18569 2010-08-11 Ulrich Drepper <drepper@redhat.com>
18571 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18573 (struct statfs64): Likewise.
18574 (_STATFS_F_FLAGS): Define.
18575 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18576 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18577 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18578 (ST_VALID): Define locally.
18579 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18580 __statvfs_getflags, use the provided value.
18581 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18582 __ASSUME_STATFS_F_FLAGS.
18584 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18586 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18587 Add sys/fanotify.h.
18588 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18589 fanotify_mask for GLIBC_2.13.
18590 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18591 fanotify_init and fanotify_mark.
18592 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18593 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18595 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18597 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18598 prlimit64 for GLIBC_2.13.
18599 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18601 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18604 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18605 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18606 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18607 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18609 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18612 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18613 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18615 * nss/Makefile: Add rules to build and run tst-nss-test1.
18616 * shlib-versions: Add entry for libnss_test1.
18617 * nss/nss_test1.c: New file.
18618 * nss/tst-nss-test1.c: New file.
18620 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18621 (__nss_configure_lookup): Set appropriate entry in
18622 __nss_configure_lookup to true.
18623 * nss/nsswitch.h: Define enum with indeces of databases in
18624 databases and __nss_database_custom arrays. Declare
18625 __nss_database_custom.
18626 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18627 to avoid using nscd when custom rules are installed.
18628 * nss/getXXbyYY_r.c: Likewise.
18629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18631 * nss/nss_files/files-parse.c: Whitespace fixes.
18633 2010-08-09 Ulrich Drepper <drepper@redhat.com>
18636 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18637 * posix/fnmatch_loop.c: Likewise.
18639 2010-07-17 Andi Kleen <ak@linux.intel.com>
18641 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18642 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18643 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18644 * Versions.def [GLIBC_2.13]: Add.
18646 2010-08-06 Ulrich Drepper <drepper@redhat.com>
18648 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18649 Also fail if tpwd after pwuid call is NULL.
18651 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18653 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18654 when converting to ms.
18656 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18658 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18659 EOPNOTSUPP errors with ENOTTY.
18660 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18661 EOPNOTSUPP errors with ENOTTY.
18663 2010-07-31 Ulrich Drepper <drepper@redhat.com>
18665 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18666 Add strcasecmp_l-ssse3.
18667 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18669 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18670 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18671 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18673 2010-07-30 Ulrich Drepper <drepper@redhat.com>
18675 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18677 * string/Makefile (strop-tests): Add strcasecmp.
18678 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18679 strcasecmp_l-nonascii.
18680 (gen-as-const-headers): Add locale-defines.sym.
18681 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18682 * sysdeps/x86_64/strcasecmp.S: New file.
18683 * sysdeps/x86_64/strcasecmp_l.S: New file.
18684 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18685 * sysdeps/x86_64/locale-defines.sym: New file.
18686 * string/test-strcasecmp.c: New file.
18688 * string/test-strcasestr.c: Test both ends of the range of characters.
18689 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18691 2010-07-29 Roland McGrath <roland@redhat.com>
18694 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18696 2010-07-27 Ulrich Drepper <drepper@redhat.com>
18698 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18701 2010-07-27 Andreas Schwab <schwab@redhat.com>
18703 * manual/memory.texi (Malloc Tunable Parameters): Document
18706 2010-07-26 Roland McGrath <roland@redhat.com>
18709 * configure.in (-fgnu89-inline check): Set and substitute
18710 gnu89_inline, not libc_cv_gnu89_inline.
18711 * configure: Regenerated.
18712 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18714 2010-07-26 Ulrich Drepper <drepper@redhat.com>
18716 * string/test-strnlen.c: New file.
18717 * string/Makefile (strop-tests): Add strnlen.
18718 * string/tester.c (test_strnlen): Add a few more test cases.
18719 * string/tst-strlen.c: Better error reporting.
18721 * sysdeps/x86_64/strnlen.S: New file.
18723 2010-07-24 Ulrich Drepper <drepper@redhat.com>
18725 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18726 lower-latency instructions.
18728 2010-07-23 Ulrich Drepper <drepper@redhat.com>
18730 * string/test-strcasestr.c: New file.
18731 * string/test-strstr.c: New file.
18732 * string/Makefile (strop-tests): Add strstr and strcasestr.
18733 * string/str-two-way.h: Don't undefine MAX.
18734 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18736 2010-07-21 Andreas Schwab <schwab@redhat.com>
18738 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18739 strcasestr-nonascii.
18740 (CFLAGS-strcasestr-nonascii.c): Define.
18741 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18742 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18743 Remove unused attribute.
18745 2010-07-20 Roland McGrath <roland@redhat.com>
18747 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18748 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18749 ld.so.cache was broken. With it, there is no way to disable dsocaps
18750 like LD_HWCAP_MASK can disable hwcaps.
18752 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18754 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18756 2010-07-16 Ulrich Drepper <drepper@redhat.com>
18758 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18759 call in strcasestr.
18760 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18761 __strcasestr_sse42_nonascii.
18762 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18763 strcasestr-nonascii.c.
18764 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18766 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
18768 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18769 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18770 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18771 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18773 2010-07-09 Ulrich Drepper <drepper@redhat.com>
18775 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18778 2010-07-06 Andreas Schwab <schwab@redhat.com>
18781 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18784 2010-07-06 Ulrich Drepper <drepper@redhat.com>
18786 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18787 _PC_PIPE_BUF using F_GETPIPE_SZ.
18789 2010-07-05 Roland McGrath <roland@redhat.com>
18791 * manual/arith.texi (Rounding Functions): Fix rint description
18792 implicit in round description.
18794 2010-07-02 Ulrich Drepper <drepper@redhat.com>
18796 * elf/Makefile: Fix linking for a few tests to make recent linker
18799 2010-06-30 Andreas Schwab <schwab@redhat.com>
18801 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18802 $(common-objpfx)libc_nonshared.a.
18804 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
18806 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18807 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18808 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18809 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18810 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18811 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18812 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18813 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18828 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18829 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18830 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18831 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18832 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18833 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18834 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18835 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18836 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18837 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18838 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18839 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18855 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18857 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18858 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18859 * string/memmove.c (memmove): Renamed to ...
18860 (MEMMOVE): ...this. Default to memmove.
18861 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18862 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18865 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18866 mempcpy-ssse3-back memmove-ssse3-back.
18867 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18868 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18869 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18870 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18871 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18872 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18873 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18874 * sysdeps/x86_64/multiarch/memmove.c: New file.
18875 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18876 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18877 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18878 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18879 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18880 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18882 (index_Fast_Copy_Backward): Define.
18883 (HAS_ARCH_FEATURE): Define.
18884 (HAS_FAST_REP_STRING): Define.
18885 (HAS_FAST_COPY_BACKWARD): Define.
18887 2010-06-21 Andreas Schwab <schwab@redhat.com>
18889 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18890 Restore proper fallback handling.
18892 2010-06-19 Ulrich Drepper <drepper@redhat.com>
18895 * posix/group_member.c (__group_member): Correct checking loop.
18897 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18898 OOM in getpwuid_r correctly. Return error number when the caller
18899 should return, otherwise -1.
18900 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18901 call returning > 0 value.
18902 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18904 2010-06-07 Andreas Schwab <schwab@redhat.com>
18906 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18907 libc_nonshared.a from targets in modules-names.
18909 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18911 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18914 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
18916 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18917 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18918 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18919 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18921 2010-06-02 Andreas Schwab <schwab@redhat.com>
18923 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18925 2010-06-14 Ulrich Drepper <drepper@redhat.com>
18927 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18929 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18930 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18931 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18932 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18933 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18934 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18936 2010-06-14 Roland McGrath <roland@redhat.com>
18938 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18940 2010-06-07 Jakub Jelinek <jakub@redhat.com>
18942 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18943 __REDIRECT followed by __THROW.
18944 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18945 * posix/getopt.h (getopt): Likewise.
18947 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18949 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18950 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18951 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18953 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18954 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18956 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
18958 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18960 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18964 Properly check family and model.
18966 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18968 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18970 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
18972 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18974 2010-05-21 Ulrich Drepper <drepper@redhat.com>
18976 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18979 2010-05-19 Andreas Schwab <schwab@redhat.com>
18981 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18984 2010-05-21 Andreas Schwab <schwab@redhat.com>
18986 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18987 and internal_recvmmsg.
18988 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18989 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18990 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18991 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18993 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18994 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18995 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18997 2010-05-20 Andreas Schwab <schwab@redhat.com>
18999 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19001 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
19003 POWER7 optimizations.
19004 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19005 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19007 2010-05-19 Ulrich Drepper <drepper@redhat.com>
19009 * version.h: Update for 2.13 development version.
19011 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
19013 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19014 exceptions. Return 0.
19016 2010-05-07 Roland McGrath <roland@redhat.com>
19018 * elf/ldconfig.c (main): Add a const.
19020 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19022 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19023 (args_options): Add no-idn option.
19024 (ahosts_keys_int): Add idn_flags to ai_flags.
19025 (parse_option): Handle 'i' option to clear idn_flags.
19027 * malloc/malloc.c (_int_free): Possible race in the most recently
19028 added check. Only act on the data if no current modification
19031 See ChangeLog.17 for earlier changes.