1 2012-09-05 David S. Miller <davem@davemloft.net>
3 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7 * malloc/arena.c: Fold copyright years.
8 * malloc/mcheck.c, malloc/memusage.c: Likewise.
10 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21 change internal state upon failure.
23 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26 * malloc/memusage.c (mmap): Likewise.
27 (mmap64, mremap): Likewise. Adjust name in comment.
29 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31 * libio/fileops.c: Fix typos in comments.
32 * libio/oldfileops.c: Likewise.
33 * libio/wfileops.c: Likewise.
35 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39 (tst-malloc-usable-ENV): Set environment for test case.
40 * malloc/hooks.c (malloc_check_get_size): New function to get
42 * malloc/malloc.c (musable): Use malloc_check_get_size.
43 * malloc/tst-malloc-usable.c: New test case.
45 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
49 2012-09-05 Allan McRae <allan@archlinux.org>
52 * configure.in (CXX_SYSINCLUDES): Use compiler output to
53 determine header location.
54 * configure: Regenerated.
56 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
58 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
60 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
65 2012-09-04 David S. Miller <davem@davemloft.net>
67 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
68 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
69 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
71 2012-09-04 Florian Weimer <fweimer@redhat.com>
73 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
76 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
78 2012-09-04 Joseph Myers <joseph@codesourcery.com>
81 * libio/iogetdelim.c: Include <limits.h>.
82 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
83 + len + 1 would overflow.
85 2012-09-03 Andreas Jaeger <aj@suse.de>
87 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
88 * sysdeps/i386/fpu/libm-test-ulps: Update.
90 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
93 Add s_sinf-sse2, s_conf-sse2.
95 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
96 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
97 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
98 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
100 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
101 for using routine as __sinf_ia32.
102 Use macro for function declaration and weak_alias.
103 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
104 for using routine as __cosf_ia32.
105 Use macro for function declaration and weak_alias.
107 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
108 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
110 * sysdeps/x86_64/fpu/s_sinf.S: New file.
111 * sysdeps/x86_64/fpu/s_cosf.S: New file.
112 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
114 * math/libm-test.inc (cos_test): Add more test cases.
115 (sin_test): Likewise.
116 (sincos_test): Likewise.
118 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
120 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
121 (IFUNC_RESOLVE): Make pointers to the specialized implementations
123 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
125 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
128 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
129 first element of the GOT.
130 (elf_machine_load_address): Return the difference between
131 the runtime address of _DYNAMIC and elf_machine_dynamic ().
133 2012-09-01 Allan McRae <allan@archlinux.org>
136 * configure.in (AWK): Require gawk version 3.0 or later.
137 * configure: Regenerated.
139 2012-09-01 Joseph Myers <joseph@codesourcery.com>
141 * sysdeps/unix/sysv/linux/kernel-features.h
142 (__ASSUME_POSIX_CPU_TIMERS): Remove.
143 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
144 [__NR_clock_getres]: Make code unconditional.
145 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
146 (clock_getcpuclockid): Remove code left unreachable by removal of
148 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
150 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
151 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
152 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
153 Make code unconditional.
154 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
155 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
156 * sysdeps/unix/sysv/linux/clock_settime.c
157 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
159 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
160 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
162 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
165 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
166 scripts/test-installation.pl.
168 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
169 and $ld_so_version if it is set.
171 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
174 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
175 failure if reading from procfs failed.
176 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
178 2012-08-27 Joseph Myers <joseph@codesourcery.com>
180 * sysdeps/unix/sysv/linux/kernel-features.h
181 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
182 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
183 Remove conditional code.
184 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
185 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
186 Remove conditional code.
187 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
188 * sysdeps/unix/sysv/linux/i386/fxstat.c
189 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
190 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
191 * sysdeps/unix/sysv/linux/i386/fxstatat.c
192 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
193 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
194 * sysdeps/unix/sysv/linux/i386/lxstat.c
195 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
196 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
197 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
198 Remove conditional code.
199 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
200 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
201 Remove conditional code.
202 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
203 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
205 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
207 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
208 Remove conditional code.
209 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
210 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
213 2012-08-27 Mike Frysinger <vapier@gentoo.org>
216 * NEWS: Add fixed bug number.
218 2012-08-27 Joseph Myers <joseph@codesourcery.com>
221 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
222 underflowing exponent in case of negative sign.
223 * stdlib/tst-strtod-round-data: Add more tests.
224 * stdlib/tst-strtod-round.c (tests): Regenerated.
227 * stdlib/strtod_l.c (NDIG): Remove.
229 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
230 smallest representable value.
231 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
232 lie within an exact representation of 1/2 ulp of the result.
233 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
235 (TENS_P9_IDX): Define unconditionally.
236 (TENS_P9_SIZE): Likewise.
237 (TENS_P10_IDX): Likewise.
238 (TENS_P10_SIZE): Likewise.
239 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
240 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
241 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
242 entries for 10^2^13 and 10^2^14.
243 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
244 (TENS_P13_IDX): Define.
245 (TENS_P13_SIZE): Likewise.
246 (TENS_P14_IDX): Likewise.
247 (TENS_P14_SIZE): Likewise.
248 (_fpioconst_pow10): Change array size to
249 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
251 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
252 1024]: Add entries for 10^2^13 and 10^2^14.
253 [LAST_POW10 > _LAST_POW10]: Remove #error.
254 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
255 (_fpioconst_pow10): Change array size to
256 FPIOCONST_POW10_ARRAY_SIZE.
257 * stdlib/gen-fpioconst.c: New file.
258 * stdlib/gen-tst-strtod-round.c: Likewise.
259 * stdlib/tst-strtod-round-data: Likewise.
260 * stdlib/tst-strtod-round.c: Likewise.
261 * stdlib/Makefile (tests): Add tst-strtod-round.
264 * stdlib/strtod_l.c: Include <stdint.h>.
265 (NDEBUG): Do not define.
266 (round_and_return): Change EXPONENT parameter to type intmax_t.
267 Rearrange calculations to avoid internal overflow possibilities.
268 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
269 Rearrange calculations to avoid internal overflow possibilities.
270 Assert that number fits inside MPNSIZE limbs.
271 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
272 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
273 calculations and add assertions to avoid internal overflow
274 possibilities. Add casts to avoid signed/unsigned operations.
275 * stdlib/tst-strtod-overflow.c: New file.
276 * stdlib/Makefile (tests): Add tst-strtod-overflow.
278 2012-08-25 Marek Polacek <polacek@redhat.com>
280 * time/time.h: Fix some typos in comments.
282 2012-08-23 Roland McGrath <roland@hack.frob.com>
284 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
285 * posix/tst-rfc3484-2.c: Likewise.
286 * posix/tst-rfc3484-3.c: Likewise.
288 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
290 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
291 (EF_ARM_ABI_FLOAT_HARD): Likewise.
293 2012-08-23 Joseph Myers <joseph@codesourcery.com>
295 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
296 #include of fxstatat64.c.
298 2012-08-22 Roland McGrath <roland@hack.frob.com>
300 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
301 * shadow/getspent_r.c: Likewise.
302 * shadow/getspnam.c: Likewise.
303 * shadow/getspnam_r.c: Likewise.
304 * gshadow/getsgent.c: Likewise.
305 * gshadow/getsgent_r.c: Likewise.
306 * gshadow/getsgnam.c: Likewise.
307 * gshadow/getsgnam_r.c: Likewise.
308 * inet/getnetbyad.c: Likewise.
309 * inet/getnetbyad_r.c: Likewise.
310 * inet/getnetbynm.c: Likewise.
311 * inet/getnetbynm_r.c: Likewise.
312 * inet/getnetent.c: Likewise.
313 * inet/getnetent_r.c: Likewise.
314 * inet/getproto.c: Likewise.
315 * inet/getproto_r.c: Likewise.
316 * inet/getprtent.c: Likewise.
317 * inet/getprtent_r.c: Likewise.
318 * inet/getprtname.c: Likewise.
319 * inet/getprtname_r.c: Likewise.
320 * inet/getrpcbyname.c: Likewise.
321 * inet/getrpcbyname_r.c: Likewise.
322 * inet/getrpcbynumber.c: Likewise.
323 * inet/getrpcbynumber_r.c: Likewise.
324 * inet/getrpcent.c: Likewise.
325 * inet/getrpcent_r.c: Likewise.
326 * inet/getaliasent.c: Likewise.
327 * inet/getaliasent_r.c: Likewise.
328 * inet/getaliasname.c: Likewise.
329 * inet/getaliasname_r.c: Likewise.
330 * nscd/getgrgid_r.c: Likewise.
331 * nscd/getgrnam_r.c: Likewise.
332 * nscd/gethstbyad_r.c: Likewise.
333 * nscd/gethstbynm3_r.c: Likewise.
334 * nscd/getpwnam_r.c: Likewise.
335 * nscd/getpwuid_r.c: Likewise.
336 * nscd/getsrvbynm_r.c: Likewise.
337 * nscd/getsrvbypt_r.c: Likewise.
338 * nscd/gai.c: Likewise.
340 * configure.in (build_nscd): New substituted variable, set
341 by --disable-build-nscd and defaults to $use_nscd.
342 * configure: Regenerated.
343 * config.make.in (build-nscd): New substituted variable.
344 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
345 Change conditional to require [$(build-nscd) = yes] as well.
346 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
349 * configure.in (use_nscd): New substituted variable, set by
350 --disable-nscd. If enabled, define USE_NSCD.
351 * configure: Regenerated.
352 * config.h.in: Add USE_NSCD.
353 * config.make.in (use-nscd): New substituted variable.
354 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
355 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
356 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
357 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
358 (CFLAGS-getgrnam_r.c): Likewise.
359 (CFLAGS-initgroups.c): Likewise.
360 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
361 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
363 * inet/getnetgrent_r.c
364 (nscd_setnetgrent): New function, broken out of ...
365 (setnetgrent): ... here. Call it.
366 (innetgr): Conditionalize nscd bits on [USE_NSCD].
367 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
368 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
369 * nscd/Makefile (routines, aux): Move definitions after include of
370 Makeconfig. Conditionalize on [$(use-nscd) != no].
371 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
372 Conditionalize on [USE_NSCD].
373 (is_nscd, nscd_init_cb): Likewise.
374 (nss_load_library): Conditionalize init callback on [USE_NSCD].
375 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
376 * nss/nss_db/db-init.c: Likewise.
377 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
379 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
380 (make_request): Use it.
381 (cache_valid_p): New function.
382 (__check_pf): Use it.
383 * NEWS: Add item for --disable-nscd.
385 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
387 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
388 to support sed >= 4.2.1-20-ga9bf076.
389 * configure: Regenerated.
391 2012-08-22 Roland McGrath <roland@hack.frob.com>
393 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
394 Conditionalize whole body on [IREL].
396 2012-08-22 Jeff Law <law@redhat.com>
399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
400 if the family is PF_UNSPEC.
402 2012-08-22 Mike Frysinger <vapier@gentoo.org>
404 * Makerules (lib-version): Rename from V.
405 (install-lib-nosubdir): Change V to lib-version.
407 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
410 * powerpc32/power6/wcschr.c: New file.
411 * powerpc32/power6/wcscpy.c: New file.
412 * powerpc32/power6/wcsrchr.c: New file.
413 * powerpc64/power6/wcschr.c: New file.
414 * powerpc64/power6/wcscpy.c: New file.
415 * powerpc64/power6/wcsrchr.c: New file.
417 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
419 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
420 (two_way_short_needle): Use it.
421 * string/strstr.c (AVAILABLE1_USES_J): Define.
422 * string/strcasestr.c: Likewise.
424 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
426 * string/strcasestr.c (TOLOWER): Make side-effect safe.
429 * NEWS: Add an entry.
430 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
431 define their defaults.
432 (two_way_short_needle): Detect end-of-string on-the-fly.
433 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
434 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
435 * string/bug-strcasestr1.c: New test.
436 * string/Makefile: Run it.
438 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
441 * string/str-two-way.h (two_way_short_needle): Optimize matching of
444 2012-08-21 Roland McGrath <roland@hack.frob.com>
446 * csu/elf-init.c (__libc_csu_irel): Function removed.
447 * csu/libc-start.c (apply_irel): New function.
448 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
450 2012-08-21 Joseph Myers <joseph@codesourcery.com>
452 * sysdeps/unix/sysv/linux/kernel-features.h
453 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
454 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
456 [__NR_fadvise64_64]: Make code unconditional.
457 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
458 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
459 !__NR_fadvise64_64)]: Likewise.
460 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
461 !__NR_fadvise64_64))]: Likewise.
462 [__NR_fadvise64]: Make code unconditional.
463 [!__NR_fadvise64]: Remove conditional code.
464 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
466 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
468 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
471 not include <kernel-features.h>.
472 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
474 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
476 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
477 include <kernel-features.h>.
478 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
480 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
483 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
485 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
486 slight instruction rearrangements per scrollpipe analysis.
487 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
489 2012-08-20 Roland McGrath <roland@hack.frob.com>
491 * manual/syslog.texi (syslog; vsyslog, closelog):
492 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
493 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
495 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
496 DSOCAPS to match condition on defining it.
498 2012-08-20 Joseph Myers <joseph@codesourcery.com>
500 * sysdeps/unix/sysv/linux/kernel-features.h
501 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
503 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
504 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
506 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
507 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
509 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
510 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
512 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
513 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
515 * sysdeps/unix/sysv/linux/kernel-features.h
516 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
517 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
519 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
520 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
521 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
522 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
523 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
524 Make code unconditional.
525 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
526 (__mmap64) [!__NR_mmap2]: Likewise.
527 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
528 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
529 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
530 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
531 [__NR_mmap2]: Make code unconditional.
532 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
533 (__mmap64) [!__NR_mmap2]: Likewise.
535 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
537 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
539 2012-08-18 Andreas Jaeger <aj@suse.de>
541 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
543 2012-08-18 Mike Frysinger <vapier@gentoo.org>
545 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
546 * include/unistd.h (__have_sock_cloexec): Likewise.
547 (__have_pipe2): Likewise.
548 (__have_dup3): Likewise.
550 2012-08-18 Mike Frysinger <vapier@gentoo.org>
553 * include/unistd.h (__have_pipe2): Change define into an extern int.
554 (__have_dup3): Likewise.
555 * socket/have_sock_cloexec.c: Include fcntl.h.
556 (__have_pipe2): New variable.
557 (__have_dup3): Likewise.
559 2012-08-17 Mike Frysinger <vapier@gentoo.org>
561 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
563 2012-08-17 Marek Polacek <polacek@redhat.com>
565 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
566 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
568 2012-08-17 Roland McGrath <roland@hack.frob.com>
570 * configure.in: Add AC_SUBST for sysheaders.
571 * configure: Regenerated.
572 * config.make.in (sysheaders): New substituted variable.
574 * sysdeps/unix/mkfifo.c: Moved ...
575 * sysdeps/posix/mkfifo.c: ... here.
576 * sysdeps/unix/mkfifoat.c: Moved ...
577 * sysdeps/posix/mkfifoat.c: ... here.
579 * sysdeps/unix/utime.c: Moved ...
580 * sysdeps/posix/utime.c: ... here.
582 * sysdeps/unix/time.c: Moved ...
583 * sysdeps/posix/time.c: ... here.
584 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
585 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
587 * sysdeps/unix/nice.c: Moved ...
588 * sysdeps/posix/nice.c: ... here.
590 * sysdeps/unix/alarm.c: Moved ...
591 * sysdeps/posix/alarm.c: ... here.
593 * intl/Makefile ($(codeset_mo)): Depend on the input file.
595 2012-08-17 Jeff Law <law@redhat.com>
597 * intl/Makefile (codeset_mo): New variable.
598 ($(codeset_mo)): New target.
599 (tst-codeset.out): Depend on that. Remove explicit rule.
600 (tst-gettext3.out, tst-gettext5.out): Likewise.
601 (LOCPATH-ENV, tst-codeset-ENV): New variables.
602 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
603 * intl/tst-codeset.sh: Remove.
604 * intl/tst-gettext3.sh: Likewise.
605 * intl/tst-gettext5.sh: Likewise.
607 2012-08-17 Roland McGrath <roland@hack.frob.com>
609 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
610 * sysdeps/unix/syscalls.list: ... here.
612 * sysdeps/posix/getaddrinfo.c
613 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
614 (gaiconf_init, gaiconf_reload): Use them.
616 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
617 Define using time_t rather than struct timespec.
619 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
620 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
622 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
624 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
625 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
628 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
629 __libc_cleanup_push argument.
631 * bits/param.h: New file.
632 * misc/sys/param.h: New file.
633 * include/sys/param.h: New file.
634 * misc/Makefile (headers): Add bits/param.h.
635 * sysdeps/generic/sys/param.h: File removed.
636 * sysdeps/unix/sysv/linux/bits/param.h: New file.
637 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
638 * sysdeps/mach/hurd/bits/param.h: New file.
639 * sysdeps/mach/hurd/sys/param.h: New file.
641 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
644 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
646 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
647 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
650 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
651 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
652 rather than -D_IO_MTSAFE_IO conditionally.
653 * stdio-common/Makefile (CPPFLAGS): Likewise.
654 * wcsmbs/Makefile (CPPFLAGS): Likewise.
655 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
657 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
659 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
660 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
661 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
662 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
663 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
664 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
665 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
666 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
667 (CFLAGS-fread_u_chk.c): Likewise.
668 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
669 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
670 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
671 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
672 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
673 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
674 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
675 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
676 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
678 * libio/Makefile: Test [$(libc-reentrant) = yes]
679 instead of [$(filter %REENTRANT, $(defines)) nonempty].
682 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
683 * sysdeps/pthread/configure: File removed.
684 * sysdeps/pthread/Makeconfig: New file.
685 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
686 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
688 2012-08-16 Gary Benson <gbenson@redhat.com>
690 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
691 unmapping the first object in a namespace.
693 2012-08-16 Roland McGrath <roland@hack.frob.com>
695 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
696 (__internal_setnetgrent): ... this. Add internal_function to
697 definition. Add libc_hidden_def.
698 (setnetgrent): Update caller.
699 (internal_endnetgrent): Renamed to ...
700 (__internal_endnetgrent): ... this. Add internal_function to
701 definition. Add libc_hidden_def.
702 (endnetgrent): Update caller.
703 (internal_getnetgrent_r): Renamed to ...
704 (__internal_getnetgrent_r): ... this. Add internal_function to
705 definition. Add libc_hidden_def.
706 (__getnetgrent_r): Update caller.
707 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
709 2012-08-16 Joseph Myers <joseph@codesourcery.com>
711 * stdlib/longlong.h: Update from GCC.
713 2012-08-16 Roland McGrath <roland@hack.frob.com>
715 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
716 on _QL, which is set by umul_ppmm but never used.
717 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
718 variables, which are set by GMP macros but never used.
719 * stdio-common/_itowa.c (_itowa): Likewise.
720 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
721 * stdlib/mod_1.c (mpn_mod_1): Likewise.
723 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
725 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
726 struct La_sh_regs is not constant.
727 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
728 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
729 and struct La_sparc64_regs are not constant.
731 2012-08-16 Joseph Myers <joseph@codesourcery.com>
733 * sysdeps/unix/sysv/linux/kernel-features.h
734 (__ASSUME_POSIX_TIMERS): Remove.
735 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
736 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
737 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
738 Make code unconditional.
739 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
740 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
741 Make code unconditional.
742 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
743 * sysdeps/unix/sysv/linux/clock_nanosleep.c
744 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
745 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
746 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
747 Make code unconditional.
748 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
749 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
750 (__libc_missing_posix_timers): Remove.
752 2012-08-15 Roland McGrath <roland@hack.frob.com>
754 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
755 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
757 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
759 * elf/dl-sym.c: Include <stdlib.h>.
761 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
762 constants, which avoids warnings in 32-bit builds.
764 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
765 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
767 * misc/lseek.c: File moved to ...
768 * io/lseek.c: ... here.
770 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
772 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
773 shifting LEN more than 31 bits at once.
775 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
778 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
779 segmentation fault for a case of two empty input strings.
780 * string/test-strncasecmp.c (check1): Renamed to...
782 (bz14195): Add new testcase for two empty input strings and N > 0.
783 (test_main): Call new testcase, adapt for renamed function.
785 2012-08-15 Andreas Jaeger <aj@suse.de>
788 * crypt/md5test2.c: New test, based on test supplied by Serge
789 Belyshev <belyshev@depni.sinp.msu.ru>.
790 * crypt/Makefile (xtests): Add md5test-giant..
791 * crypt/Makefile ($(objpfx)md5test-giant): Add.
793 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
796 * crypt/md5.c (md5_process_block): Don't assume the buffer
797 length is less than 2**32.
798 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
799 length is less than 2**64.
801 2012-08-15 Roland McGrath <roland@hack.frob.com>
803 * string/str-two-way.h: Include <sys/param.h>.
804 (MAX): Macro removed.
806 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
807 Move #define and #undef of memmove to just before and after
808 including <string.h>.
810 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
811 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
812 and after including <string.h>. Move declarations of
813 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
814 to before #include "string/memmove.c".
816 * include/dirent.h: Declare __getdirentries.
818 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
819 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
821 2012-08-14 Mike Frysinger <vapier@gentoo.org>
823 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
824 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
825 * sysdeps/i386/configure: Regenerated.
826 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
827 STABS_CURRENT_FILE, and STABS_FUN.
828 (END): Remove call to STABS_FUN_END.
829 (STABS_CURRENT_FILE1): Delete.
830 (STABS_CURRENT_FILE): Likewise.
831 (STABS_FUN): Likewise.
832 (STABS_FUN_END): Likewise.
833 (STABS_FUN2): Likewise.
834 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
835 * sysdeps/x86_64/configure: Regenerated.
837 2012-08-14 Roland McGrath <roland@hack.frob.com>
839 * elf/dl-open.c: Include <atomic.h>.
840 * elf/dl-lookup.c: Likewise.
842 2012-08-14 Joseph Myers <joseph@codesourcery.com>
844 * sysdeps/unix/sysv/linux/kernel-features.h
845 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
846 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
848 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
850 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
851 condition on __ASSUME_CLONE_THREAD_FLAGS.
853 2012-08-14 Andreas Jaeger <aj@suse.de>
855 * sysdeps/i386/fpu/libm-test-ulps: Update.
857 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
859 * include/atomic.h (atomic_exchange_and_add): Split into ...
860 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
863 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
865 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
867 2012-08-13 Jeff Law <law@redhat.com>
869 * manual/stdio.texi (snprintf): Clarify handling of the trailing
870 null byte in the output string.
872 2012-08-10 Joseph Myers <joseph@codesourcery.com>
874 * sysdeps/unix/sysv/linux/kernel-features.h
875 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
876 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
877 (__ASSUME_ARG_MAX_STACK_BASED): Define.
878 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
879 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
880 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
881 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
883 2012-08-09 Jeff Law <law@redhat.com>
886 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
887 When avoid_arena is set, don't retry in the that arena. Pick the
888 next one, whatever it might be.
889 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
890 (arena_lock): Pass in new parameter to arena_get2.
891 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
893 (__libc_malloc): Unify retrying after main arena failure with
894 __libc_memalign version.
895 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
897 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
900 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
901 to __redirect_strstr.
902 (__strstr_sse42): Use typeof __redirect_strstr.
903 (__strstr_ia32): Likewise.
904 (__libc_strstr): New prototype.
905 (strstr): Renamed to ...
906 (__libc_strstr): This.
907 (strstr): New strong alias of __libc_strstr.
908 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
909 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
912 (__libc_time): New prototype.
913 (time_ifunc): Replace time with __libc_time.
914 (time): New strong alias and hidden definition of __libc_time.
915 (__GI_time): Remove strong alias.
916 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
918 (memmove): Redefined to __redirect_memmove.
919 (__memmove_sse2): Use typeof __redirect_memmove.
920 (__memmove_ssse3): Likewise.
921 (__memmove_ssse3_back): Likewise.
922 (__libc_memmove): New prototype.
923 (memmove): Renamed to ...
924 (__libc_memmove): This.
925 (memmove): New strong alias of __libc_memmove.
927 2012-08-08 Mark Salter <msalter@redhat.com>
930 (R_MN10300_TLS_GD): Define.
931 (R_MN10300_TLS_LD): Likewise.
932 (R_MN10300_TLS_LDO): Likewise.
933 (R_MN10300_TLS_GOTIE): Likewise.
934 (R_MN10300_TLS_IE): Likewise.
935 (R_MN10300_TLS_LE): Likewise.
936 (R_MN10300_TLS_DTPMOD): Likewise.
937 (R_MN10300_TLS_DTPOFF): Likewise.
938 (R_MN10300_TLS_TPOFF): Likewise.
939 (R_MN10300_SYM_DIFF): Likewise.
940 (R_MN10300_ALIGN): Likewise.
941 (R_MN10300_NUM): Update.
943 2012-08-08 Joseph Myers <joseph@codesourcery.com>
945 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
948 2012-08-08 Roland McGrath <roland@hack.frob.com>
950 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
952 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
953 sysdeps/unix -> sysdeps/posix move.
954 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
956 2012-08-07 Allan McRae <allan@archlinux.org>
959 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
960 (SUNOS_CPP): Likewise.
961 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
963 (open_input): Call CPP using execvp.
965 2012-08-07 Joseph Myers <joseph@codesourcery.com>
967 * sysdeps/unix/sysv/linux/kernel-features.h
968 (__ASSUME_PROT_GROWSUPDOWN): Remove.
969 (__ASSUME_NO_CLONE_DETACHED): Likewise.
970 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
971 (__ASSUME_WAITID_SYSCALL): Likewise.
972 * sysdeps/unix/sysv/linux/dl-execstack.c
973 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
975 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
977 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
978 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
979 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
981 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
983 [__ASSUME_WAITID_SYSCALL]: Likewise.
984 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
986 2012-08-07 Roland McGrath <roland@hack.frob.com>
988 * sysdeps/unix/closedir.c: Renamed to ...
989 * sysdeps/posix/closedir.c: ... here.
990 * sysdeps/unix/dirfd.c: Renamed to ...
991 * sysdeps/posix/dirfd.c: ... here.
992 * sysdeps/unix/dirstream.h: Renamed to ...
993 * sysdeps/posix/dirstream.h: ... here.
994 * sysdeps/unix/fdopendir.c: Renamed to ...
995 * sysdeps/posix/fdopendir.c: ... here.
996 * sysdeps/unix/opendir.c: Renamed to ...
997 * sysdeps/posix/opendir.c: ... here.
998 * sysdeps/unix/readdir.c: Renamed to ...
999 * sysdeps/posix/readdir.c: ... here.
1000 * sysdeps/unix/readdir_r.c: Renamed to ...
1001 * sysdeps/posix/readdir_r.c: ... here.
1002 * sysdeps/unix/rewinddir.c: Renamed to ...
1003 * sysdeps/posix/rewinddir.c: ... here.
1004 * sysdeps/unix/seekdir.c: Renamed to ...
1005 * sysdeps/posix/seekdir.c: ... here.
1006 * sysdeps/unix/telldir.c: Renamed to ...
1007 * sysdeps/posix/telldir.c: ... here.
1008 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1009 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1010 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1011 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1013 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1014 * bits/fcntl.h: ... here.
1016 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1018 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1019 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1020 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1021 (struct flock): Move l_start, l_len to the beginning.
1022 Use __pid_t for l_pid.
1023 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1024 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1025 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1026 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1027 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1028 [__USE_LARGEFILE64] (struct flock64): New type.
1029 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1031 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1032 * bits/dirent.h: ... here.
1034 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1035 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1037 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1039 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1040 Change from 2.6.0 to 2.6.16.
1041 * sysdeps/unix/sysv/linux/configure: Regenerated.
1042 * sysdeps/unix/sysv/linux/kernel-features.h
1043 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1044 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1046 (__ASSUME_UTIMES): Likewise.
1047 (__ASSUME_CLONE_STOPPED): Remove.
1048 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1049 architectures, not kernel version.
1050 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1051 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1052 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1053 (__ASSUME_WAITID_SYSCALL): Likewise.
1054 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1055 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1056 * README: State 2.6.16 as minimum Linux kernel version. Do not
1057 refer to older versions.
1059 2012-08-06 Roland McGrath <roland@hack.frob.com>
1061 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1062 Define alphasort64 as an alias.
1063 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1064 Define versionsort64 as an alias.
1065 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1066 Define scandir64 as an alias.
1067 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1068 Define scandirat64 as an alias.
1069 * dirent/alphasort64.c (alphasort64):
1070 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1071 * dirent/versionsort64.c: Likewise.
1072 * dirent/scandir64.c: Likewise.
1073 * dirent/scandirat64.c: Likewise.
1074 * sysdeps/wordsize-64/alphasort.c: File removed.
1075 * sysdeps/wordsize-64/alphasort64.c: File removed.
1076 * sysdeps/wordsize-64/scandir.c: File removed.
1077 * sysdeps/wordsize-64/scandir64.c: File removed.
1078 * sysdeps/wordsize-64/scandirat.c: File removed.
1079 * sysdeps/wordsize-64/scandirat64.c: File removed.
1080 * sysdeps/wordsize-64/versionsort.c: File removed.
1081 * sysdeps/wordsize-64/versionsort64.c: File removed.
1082 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1083 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1084 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1085 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1086 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1087 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1088 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1089 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1091 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1092 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1093 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1094 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1095 [defined __arch64__ || defined __sparcv9]
1096 (__INO_T_MATCHES_INO64_T): New macro.
1097 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1098 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1099 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1100 * sysdeps/unix/sysv/linux/bits/dirent.h
1101 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1102 (_DIRENT_MATCHES_DIRENT64): New macro.
1104 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1105 Define lockf64 as an alias.
1106 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1107 Define fseeko64 as an alias.
1108 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1109 Define ftello64 as an alias.
1110 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1111 Define _IO_fgetpos64 and fgetpos64 as aliases.
1112 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1113 Define _IO_fsetpos64 and fsetpos64 as aliases.
1114 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1115 Conditionalize body on this.
1116 * libio/fseeko64.c: Likewise.
1117 * libio/ftello64.c: Likewise.
1118 * libio/iofgetpos64.c: Likewise.
1119 * libio/iofsetpos64.c: Likewise.
1120 * sysdeps/wordsize-64/lockf.c: File removed.
1121 * sysdeps/wordsize-64/lockf64.c: File removed.
1122 * sysdeps/wordsize-64/fseeko.c: File removed.
1123 * sysdeps/wordsize-64/fseeko64.c: File removed.
1124 * sysdeps/wordsize-64/ftello.c: File removed.
1125 * sysdeps/wordsize-64/ftello64.c: File removed.
1126 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1127 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1128 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1129 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1130 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1131 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1132 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1133 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1134 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1135 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1136 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1137 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1138 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1139 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1141 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1142 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1143 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1144 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1145 [defined __arch64__ || defined __sparcv9]
1146 (__OFF_T_MATCHES_OFF64_T): New macro.
1147 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1148 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1149 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1150 (__OFF_T_MATCHES_OFF64_T): New macro.
1152 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1154 * stdlib/secure-getenv.c (__secure_getenv): Replace
1155 GLIBC_2_16 with GLIBC_2_17.
1157 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1159 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1160 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1162 2012-08-03 David S. Miller <davem@davemloft.net>
1164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1166 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1168 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1170 (__ASSUME_CORRECT_SI_PID): Likewise.
1171 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1172 (__ASSUME_TMPFS_NAME): Likewise.
1173 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1174 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1175 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1176 (HAVE_AUX_SECURE): Make definition unconditional.
1177 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1178 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1180 2012-08-03 Roland McGrath <roland@hack.frob.com>
1182 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1183 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1184 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1185 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1186 __eloop_threshold instead of SYMLOOP_MAX.
1188 * sysdeps/generic/eloop-threshold.h: New file.
1189 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1191 * elf/chroot_canon.c (chroot_canon): Likewise.
1193 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1196 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1197 Change to 2.6.0 everywhere.
1198 * sysdeps/unix/sysv/linux/configure: Regenerated.
1199 * sysdeps/unix/sysv/linux/kernel-features.h
1200 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1201 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1203 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1204 (__ASSUME_FUTEX_REQUEUE): Remove.
1205 (__ASSUME_STATFS64): Define unconditionally.
1206 (__ASSUME_AT_SECURE): Likewise.
1207 (__ASSUME_CORRECT_SI_PID): Likewise.
1208 (__ASSUME_TGKILL): Define without depending on kernel version for
1210 (__ASSUME_UTIMES): Likewise.
1211 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1213 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1214 (__ASSUME_TMPFS_NAME): Likewise.
1215 * README: Update reference to Linux kernel versions.
1217 2012-08-02 Marek Polacek <polacek@redhat.com>
1220 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1221 libc_cv_asm_type_prefix with %.
1222 * configure: Regenerated.
1223 * include/libc-symbols.h: Remove comment about
1224 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1225 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1226 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1227 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1228 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1229 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1230 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1231 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1232 * elf/tst-unique2mod1.c: Likewise.
1233 * elf/tst-unique1mod2.c: Likewise.
1234 * elf/tst-unique1mod1.c: Likewise.
1235 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1236 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1237 Replace ASM_TYPE_DIRECTIVE with .type.
1238 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1239 * sysdeps/i386/sysdep.h: Likewise.
1240 * sysdeps/x86_64/sysdep.h: Likewise.
1241 * sysdeps/sh/sysdep.h: Likewise.
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1243 Do not define ASM_TYPE_DIRECTIVE.
1244 * sysdeps/powerpc/sysdep.h: Likewise.
1245 * sysdeps/powerpc/powerpc32/sysdep.h:
1246 Replace ASM_TYPE_DIRECTIVE with .type.
1247 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1248 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1249 * sysdeps/i386/fpu/e_powf.S: Likewise.
1250 * sysdeps/i386/fpu/e_expl.S: Likewise.
1251 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1252 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1253 * sysdeps/i386/fpu/e_pow.S: Likewise.
1254 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1255 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1256 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1257 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1258 * sysdeps/i386/fpu/e_log2.S: Likewise.
1259 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1260 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1261 * sysdeps/i386/fpu/e_powl.S: Likewise.
1262 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1263 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1264 * sysdeps/i386/fpu/e_logl.S: Likewise.
1265 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1266 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1267 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1268 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1269 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1270 * sysdeps/i386/fpu/e_log.S: Likewise.
1271 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1272 * sysdeps/i386/fpu/e_logf.S: Likewise.
1273 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1274 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1275 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1276 * sysdeps/i386/fpu/e_log10.S: Likewise.
1277 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1278 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1279 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1280 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1281 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1282 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1283 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1284 * sysdeps/i386/i686/strtok.S: Likewise.
1285 * sysdeps/i386/i386-mcount.S: Likewise.
1286 * sysdeps/i386/strtok.S: Likewise.
1287 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1288 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1289 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1290 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1291 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1292 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1293 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1294 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1295 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1296 * sysdeps/x86_64/_mcount.S: Likewise.
1297 * sysdeps/x86_64/strtok.S: Likewise.
1298 * sysdeps/sh/_mcount.S: Likewise.
1300 2012-08-01 Roland McGrath <roland@hack.frob.com>
1302 * libio/iofopen.c: Include <fcntl.h>.
1303 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1304 (_IO_fopen64, fopen64): Define as aliases.
1305 * libio/iofopen64.c: Include <fcntl.h>.
1306 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1307 Conditionalize body on this.
1308 * sysdeps/wordsize-64/iofopen.c: File removed.
1309 * sysdeps/wordsize-64/iofopen64.c: File removed.
1311 2012-08-01 Marek Polacek <polacek@redhat.com>
1313 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1314 Use dlfcn directly instead of a variable.
1315 (binfmt-subdir): Do not define.
1318 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1320 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1321 Remove all definitions.
1322 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1323 <kernel-features.h>.
1324 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1325 (miss_F_GETOWN_EX): Remove all definitions.
1326 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1328 [!__ASSUME_FCNTL64]: Remove conditional code.
1329 [__ASSUME_FCNTL64]: Make code unconditional.
1330 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1331 <kernel-features.h>.
1332 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1333 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1334 (lockf64) [__NR_fcntl64]: Make code unconditional.
1335 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1337 * sysdeps/unix/sysv/linux/kernel-features.h
1338 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1339 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1340 Make code unconditional.
1341 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1342 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1344 [__NR_vfork]: Make code unconditional.
1345 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1346 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1348 [__NR_vfork]: Make code unconditional.
1349 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1350 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1352 2012-08-01 Roland McGrath <roland@hack.frob.com>
1354 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1355 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1357 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1358 Define mkstemp64 as an alias.
1359 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1360 Define mkstemps64 as an alias.
1361 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1362 Define mkostemp64 as an alias.
1363 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1364 Define mkostemps64 as an alias.
1365 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1366 Conditionalize body on this.
1367 * misc/mkostemp64.c: Likewise.
1368 * misc/mkostemps64.c: Likewise.
1369 * misc/mkstemps64.c: Likewise.
1370 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1371 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1372 * sysdeps/wordsize-64/mkostemp.c: File removed.
1373 * sysdeps/wordsize-64/mkstemp.c: File removed.
1374 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1375 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1376 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1377 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1380 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1381 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1382 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1383 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1385 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1386 compat_symbol macros from <shlib-compat.h> rather than the underlying
1387 default_symbol_version and symbol_version macros, so that DEFAULT
1388 lines in shlib-versions are respected.
1389 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1391 2012-08-01 Florian Weimer <fweimer@redhat.com>
1393 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1394 Declare with warn_unused_result.
1395 (setgid, setregid, setegid, setresgid): Likewise.
1396 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1398 * WUR-REPORT: Remove set*id functions.
1400 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1402 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1404 2012-07-31 Roland McGrath <roland@hack.frob.com>
1406 * include/sys/socket.h (__libc_accept, __libc_accept4):
1407 Add attribute_hidden.
1408 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1410 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1412 * inet/getnetgrent_r.c (setup): Likewise.
1414 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1416 2012-07-31 David S. Miller <davem@davemloft.net>
1418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1420 2012-07-31 Joseph Myers <joseph@codesourcery.com>
1423 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1424 value between 1.0 and 2.0 and smaller part has absolute value less
1426 * math/s_clog10.c (__clog10): Likewise.
1427 * math/s_clog10f.c (__clog10f): Likewise.
1428 * math/s_clog10l.c (__clog10l): Likewise.
1429 * math/s_clogf.c (__clogf): Likewise.
1430 * math/s_clogl.c (__clogl): Likewise.
1431 * math/libm-test.inc (clog_test): Add more tests.
1432 (clog10_test): Likewise.
1433 * sysdeps/i386/fpu/libm-test-ulps: Update.
1434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1436 2012-07-31 Florian Weimer <fweimer@redhat.com>
1438 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1439 Exit with zero in case no suitable GID is found, and write a
1440 message to standard error.
1442 2012-07-30 Roland McGrath <roland@hack.frob.com>
1444 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1446 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1447 (MAXPATHLEN): Removed.
1448 (NOGROUP, NODEV): New macros.
1449 (setbit, clrbit, isset, isclr): New macros.
1450 (howmany, roundup, powerof2): New macros.
1451 (DEV_BSIZE): New macro.
1453 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1454 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1456 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1457 definition on [!__NO_LONG_DOUBLE_MATH].
1459 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1460 PTR_MANGLE and PTR_DEMANGLE.
1462 * socket/accept4.c (accept4): Rename to __libc_accept4.
1463 Define accept4 as a weak alias.
1465 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1466 on [_DIRENT_HAVE_D_TYPE].
1467 * io/ftw.c (ftw_dir): Likewise.
1469 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1471 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1473 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1474 Use the BSD numbers rather than the arbitrary ones we had.
1475 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1476 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1477 (SIGXCPU, SIGXFSZ): New macros.
1480 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1481 initializer on [_LIBC_REENTRANT].
1483 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1484 definitions inside [_POSIX_MAPPED_FILES].
1486 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1488 * dirent/opendir.c: Include <fcntl.h>.
1490 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1491 (__libc_getspecific): Likewise.
1492 (__libc_key_create): Likewise.
1494 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1495 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1496 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1497 (tmpfile64): Define as alias.
1498 * sysdeps/wordsize-64/tmpfile.c: File removed.
1499 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1500 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1501 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1503 * stdio-common/vfscanf.c: Include <stdbool.h>.
1504 * nss/makedb.c: Likewise.
1505 * stdio-common/_i18n_number.h: Likewise.
1506 * argp/argp-help.c: Likewise.
1507 * posix/wordexp.c: Likewise.
1508 * sysdeps/posix/spawni.c: Likewise.
1509 * nss/nss_files/files-initgroups.c: Likewise.
1510 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1511 * nss/nss_files/files-initgroups.c: Likewise.
1512 * nss/nss_db/db-netgrp.c: Likewise.
1513 * nss/nss_db/db-initgroups.c: Likewise.
1514 * io/fchmodat.c: Include <sys/stat.h>.
1516 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1517 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1519 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1522 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1523 Add multiple inclusion protection.
1525 2012-07-27 David S. Miller <davem@davemloft.net>
1527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1529 2012-07-27 Gary Benson <gbenson@redhat.com>
1532 * elf/rtld.c: Include <stap-probe.h>.
1533 (dl_main): Added static probes "init_start" and "init_complete".
1534 * elf/dl-load.c: Include <stap-probe.h>.
1535 (lose): Take new parameter "nsid".
1536 Added static probe "map_failed".
1537 (_dl_map_object_from_fd): Pass namespace id to lose.
1538 Added static probe "map_start".
1539 (open_verify): Pass namespace id to lose.
1540 * elf/dl-open.c: Include <stap-probe.h>.
1541 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1542 and "reloc_complete".
1543 * elf/dl-close.c: Include <stap-probe.h>.
1544 (_dl_close_worker): Added static probes "unmap_start" and
1546 * elf/rtld-debugger-interface.txt: New file documenting the above.
1548 2012-07-26 Roland McGrath <roland@hack.frob.com>
1550 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1551 rather than a string variable.
1552 * sunrpc/rpc_main.c (h_output): Likewise.
1553 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1555 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1557 * inet/check_native.c: New file.
1559 2012-07-26 Joseph Myers <joseph@codesourcery.com>
1562 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1563 if larger part has absolute value 1.0.
1564 * math/s_clog10.c (__clog10): Likewise.
1565 * math/s_clog10f.c (__clog10f): Likewise.
1566 * math/s_clog10l.c (__clog10l): Likewise.
1567 * math/s_clogf.c (__clogf): Likewise.
1568 * math/s_clogl.c (__clogl): Likewise.
1569 * math/libm-test.inc (clog_test): Add more tests.
1570 (clog10_test): Likewise.
1571 * sysdeps/i386/fpu/libm-test-ulps: Update.
1572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1574 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1575 (pltexit): Likewise.
1576 (La_regs): Likewise.
1577 (La_retval): Likewise.
1578 (int_retval): Likewise.
1579 Update #error for removed macros to refer only to definitions in
1581 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1583 (pltexit): Likewise.
1584 (La_regs): Likewise.
1585 (La_retval): Likewise.
1586 (int_retval): Likewise.
1587 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1589 (pltexit): Likewise.
1590 (La_regs): Likewise.
1591 (La_retval): Likewise.
1592 (int_retval): Likewise.
1593 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1595 (pltexit): Likewise.
1596 (La_regs): Likewise.
1597 (La_retval): Likewise.
1598 (int_retval): Likewise.
1599 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1601 (pltexit): Likewise.
1602 (La_regs): Likewise.
1603 (La_retval): Likewise.
1604 (int_retval): Likewise.
1605 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1607 (pltexit): Likewise.
1608 (La_regs): Likewise.
1609 (La_retval): Likewise.
1610 (int_retval): Likewise.
1611 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1613 (pltexit): Likewise.
1614 (La_regs): Likewise.
1615 (La_retval): Likewise.
1616 (int_retval): Likewise.
1617 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1618 macro definitions in tst-audit.h.
1619 * sysdeps/i386/tst-audit.h: New file.
1620 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1621 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1622 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1623 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1624 * sysdeps/sh/tst-audit.h: Likewise.
1625 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1626 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1627 * sysdeps/x86_64/tst-audit.h: Likewise.
1629 2012-07-26 Andreas Jaeger <aj@suse.de>
1631 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1634 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1635 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1636 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1638 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1639 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1640 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1642 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1645 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1647 (si_call_addr, si_syscall, si_arch): Define new macro.
1648 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1650 (si_call_addr, si_syscall, si_arch): Define new marcro.
1651 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1653 (si_call_addr, si_syscall, si_arch): Define new macro.
1654 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1656 (si_call_addr, si_syscall, si_arch): Define new macro.
1658 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1661 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1662 Change to 2.4.21 where previously 2.4.1.
1663 * sysdeps/unix/sysv/linux/configure: Regenerated.
1664 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1665 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1666 Linux kernel version.
1667 (__ASSUME_STD_AUXV): Remove.
1668 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1670 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1671 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1672 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1673 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1674 (__ASSUME_NETLINK_SUPPORT): Likewise.
1675 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1676 (__no_netlink_support): Remove conditional definition.
1677 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1679 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1680 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1681 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1682 (if_nameindex_ioctl): Remove.
1683 (if_nameindex_netlink): Do not handle __no_netlink_support.
1684 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1686 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1687 Remove conditional code.
1688 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1690 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1692 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1693 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1694 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1696 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1697 [!__ASSUME_STD_AUXV]: Remove conditional code.
1698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1699 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1700 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1702 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1703 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1705 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1707 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1708 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1710 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1712 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1715 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1718 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1720 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1722 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1724 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1727 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1729 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1732 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1734 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1736 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1738 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1741 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1743 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1745 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1747 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1750 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1752 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1753 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1754 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1755 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1756 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1757 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1758 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1759 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1760 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1761 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1762 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1763 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1764 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1765 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1766 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1767 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1768 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1769 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1770 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1771 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1772 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1773 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1774 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1776 2012-07-25 Florian Weimer <fweimer@redhat.com>
1778 * Versions.def: Add GLIBC_2.17.
1779 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1780 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1781 Introduce __libc_secure_getenv.
1782 * stdlib/Versions (2.17): Add secure_getenv
1783 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1784 * stdlib/secure-getenv.c: Rename __secure_getenv to
1785 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1786 symbol __secure_getenv for GLIBC_2.0.
1787 * stdlib/tst-secure-getenv.c: New.
1788 * stdlib/Makefile (tests): Add testcase.
1789 * manual/startup.texi (Environment Access): Document
1791 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1792 __libc_secure_getenv.
1793 * inet/ruserpass.c (ruserpass): Likewise.
1794 * malloc/mtrace.c (mtrace): Likewise.
1795 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1796 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1797 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1798 * sysdeps/posix/tempname.c: Likewise. Evaluate
1800 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1801 __secure_getenv to __libc_secure_getenv.
1802 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1809 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1815 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1817 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1818 (struct La_i86_retval): Likewise.
1819 (struct La_x86_64_regs): Likewise.
1820 (struct La_x86_64_retval): Likewise.
1821 (struct La_x32_regs): Likewise.
1822 (struct La_x32_retval): Likewise.
1823 (struct La_ppc32_regs): Likewise.
1824 (struct La_ppc32_retval): Likewise.
1825 (struct La_ppc64_regs): Likewise.
1826 (struct La_ppc64_retval): Likewise.
1827 (struct La_sh_regs): Likewise.
1828 (struct La_sh_retval): Likewise.
1829 (struct La_s390_32_regs): Likewise.
1830 (struct La_s390_32_retval): Likewise.
1831 (struct La_s390_64_regs): Likewise.
1832 (struct La_s390_64_retval): Likewise.
1833 (struct La_sparc32_regs): Likewise.
1834 (struct La_sparc32_retval): Likewise.
1835 (struct La_sparc64_regs): Likewise.
1836 (struct La_sparc64_retval): Likewise.
1837 (struct audit_ifaces): Remove architecture-specific pltenter and
1839 * sysdeps/i386/ldsodefs.h: New file.
1840 * sysdeps/powerpc/ldsodefs.h: Likewise.
1841 * sysdeps/s390/ldsodefs.h: Likewise.
1842 * sysdeps/sh/ldsodefs.h: Likewise.
1843 * sysdeps/sparc/ldsodefs.h: Likewise.
1844 * sysdeps/x86_64/ldsodefs.h: Likewise.
1846 2012-07-25 Marek Polacek <polacek@redhat.com>
1849 * math/libm-test.inc (yn_test): Add another test.
1850 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1851 to ERANGE when the result is +-Inf.
1852 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1853 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1854 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1855 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1857 2012-07-24 Joseph Myers <joseph@codesourcery.com>
1859 * conform/data/time.h-data (NULL): Use macro-constant. Require
1861 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1863 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1865 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1867 * configure.in <sysdeps resolving>: Correct printing
1869 * configure: Regenerate.
1871 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1873 * math/w_ilogb.c: Include <limits.h>.
1874 * math/w_ilogbl.c: Likewise.
1876 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1878 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1879 va_copy. Document allowing for unavailable va_copy only as
1880 pre-C99 compatibility.
1881 * manual/string.texi (Copying and Concatenation): Use va_copy
1882 instead of __va_copy in concat example.
1884 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1886 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1887 (__sendto): Use create_address_port. Initialize APORT and deallocate
1890 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1891 with O_NOLINK passed to __file_name_lookup.
1893 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1894 with O_NOLINK passed to __file_name_lookup.
1896 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1897 negative N or less than NGIDS.
1899 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1900 type to string_t. Set ERANGE as errno and return it if NAME is not big
1901 enough. Use memcpy instead of strncpy.
1903 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1905 * elf/Makefile (check-data): Remove.
1906 (localplt.data): New vpath directive.
1907 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1908 instead of $(check-data).
1909 * scripts/data/localplt-generic.data: Move to ...
1910 * sysdeps/generic/localplt.data: ... here.
1911 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1912 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1913 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1916 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1919 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1922 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1925 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1928 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1932 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1934 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1935 PPC32 and PPC64 files.
1936 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1937 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1939 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1941 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1942 __makecontext_ret to ...
1943 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1944 ... here and call exit if uc_link is NULL. New file.
1945 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1946 __makecontext_ret.S.
1947 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1948 __makecontext_ret to ...
1949 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1950 ... here and call exit if uc_link is NULL. New file.
1951 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1952 __makecontext_ret.S.
1954 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1956 * elf/elf.h (R_390_IRELATIVE): New definition.
1957 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1958 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1959 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1960 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1961 (elf_machine_lazy_rel): Likewise.
1962 * sysdeps/s390/dl-irel.h: New file.
1963 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1964 * sysdeps/s390/s390-64/memset.S: New asm code.
1965 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1966 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1967 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1968 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1969 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1970 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1971 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1972 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1973 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1974 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1975 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1976 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1977 * sysdeps/s390/s390-32/memset.S: New asm code.
1978 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1980 2012-07-17 Marek Polacek <polacek@redhat.com>
1983 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1984 * sysdeps/s390/s390-64/configure.in: Likewise.
1985 * sysdeps/sparc/configure.in: Likewise.
1986 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1987 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1988 * sysdeps/i386/configure.in: Likewise.
1989 * sysdeps/x86_64/configure.in: Likewise.
1990 * sysdeps/sh/configure.in: Likewise.
1991 * sysdeps/s390/s390-32/configure: Regenerated.
1992 * sysdeps/s390/s390-64/configure: Likewise.
1993 * sysdeps/x86_64/configure: Likewise.
1994 * sysdeps/sh/configure: Likewise.
1995 * sysdeps/powerpc/powerpc64/configure: Likewise.
1996 * sysdeps/powerpc/powerpc32/configure: Likewise.
1997 * sysdeps/sparc/configure: Likwise.
1998 * sysdeps/i386/configure: Likewise.
2000 * elf/dl-open.c: Comment fixes.
2002 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2004 * Makefile [CXX] (check-data): Remove.
2005 [CXX] (c++-types.data): New vpath directive.
2006 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2007 vpath. Do not allow for C++ type data being missing.
2008 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2009 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2010 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2011 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2012 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2013 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2014 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2017 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2020 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2023 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2026 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2029 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2032 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2035 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2038 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2039 definitions to architecture-specific files.
2043 * sysdeps/i386/tls-macros.h: New file.
2044 * sysdeps/powerpc/tls-macros.h: Likewise.
2045 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2046 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2047 * sysdeps/sh/tls-macros.h: Likewise.
2048 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2049 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2050 * sysdeps/x86_64/tls-macros.h: Likewise.
2052 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2054 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2055 zero value for regular exit case.
2057 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2058 (__start_context): Preserve zero value for regular exit case.
2060 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2061 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2063 * manual/setjmp.texi (setcontext): Clarify normal process
2064 termination when uc_link is the null pointer.
2065 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2068 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2070 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2071 preprocessor. Test for each exception mask separately.
2073 2012-07-16 Andreas Jaeger <aj@suse.de>
2075 * po/ru.po: Update from translation team.
2077 2012-07-15 Joseph Myers <joseph@codesourcery.com>
2079 * conform/data/string.h-data (NULL): Use macro-constant. Require
2081 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2082 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2083 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2084 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2085 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2087 2012-07-13 Andreas Jaeger <aj@suse.de>
2089 * po/fr.po: Update from translation team.
2091 2012-07-12 Marek Polacek <polacek@redhat.com>
2094 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2095 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2098 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2101 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2102 Change to 2.4.1 where previously 2.4.0.
2103 * sysdeps/unix/sysv/linux/configure: Regenerated.
2104 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2105 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2107 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2108 (__ASSUME_AT_CLKTCK): Remove.
2109 (__ASSUME_AT_PAGESIZE): Likewise.
2110 (__ASSUME_AT_XID): Likewise.
2111 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2112 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2113 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2115 (HAVE_AUX_PAGESIZE): Likewise.
2116 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2117 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2118 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2120 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2124 the temporary buffer used to invoke __gethostbyname2_r,
2125 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2126 host_data / struct gaih_addrtuple.
2127 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2128 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2129 header file nss/nsswitch.h.
2130 * nss/nsswitch.h (global scope): Add definition of implementation
2131 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2132 resolv/nss_dns/dns-host.c).
2134 2012-07-11 Andreas Jaeger <aj@suse.de>
2136 * po/fr.po: Update from translation team.
2138 * po/sv.po: Update from translation team
2139 * po/fr.po: Another update from translation team.
2141 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2143 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2144 for subnormals or multiply small sinh result by itself.
2145 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2148 2012-07-11 David S. Miller <davem@davemloft.net>
2150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2152 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2155 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2156 (INTERNAL_MARK): Shift it here.
2158 2012-07-10 Marek Polacek <polacek@redhat.com>
2161 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2162 libc_cv_asm_global_directive with .globl.
2163 * configure: Regenerated.
2164 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2166 * sysdeps/i386/configure: Regenerated.
2167 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2169 * sysdeps/x86_64/configure: Regenerated.
2170 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2171 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2172 * elf/tst-unique2mod2.c: Likewise.
2173 * elf/tst-unique2mod1.c: Likewise.
2174 * elf/tst-unique1mod2.c: Likewise.
2175 * elf/tst-unique1mod1.c: Likewise.
2176 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2177 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2178 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2179 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2180 * sysdeps/mach/sysdep.h: Likewise.
2181 * sysdeps/i386/sysdep.h: Likewise.
2182 * sysdeps/i386/i386-mcount.S: Likewise.
2183 * sysdeps/x86_64/_mcount.S: Likewise.
2184 * sysdeps/x86_64/sysdep.h: Likewise.
2185 * sysdeps/sh/_mcount.S: Likewise.
2186 * sysdeps/sh/sysdep.h: Likewise.
2187 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2188 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2189 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2190 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2191 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2192 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2193 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2194 * locale/localeinfo.h: Likewise.
2195 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2196 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2198 2012-07-09 Roland McGrath <roland@hack.frob.com>
2201 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2203 * manual/message.texi (The Uniforum approach): Likewise.
2204 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2205 (glibc iconv Implementation): Likewise.
2207 2012-07-09 Joseph Myers <joseph@codesourcery.com>
2210 * math/s_clog.c (__clog): Avoid scaling a value down where that
2211 could result in underflow.
2212 * math/s_clog10.c (__clog10): Likewise.
2213 * math/s_clog10f.c (__clog10f): Likewise.
2214 * math/s_clog10l.c (__clog10l): Likewise.
2215 * math/s_clogf.c (__clogf): Likewise.
2216 * math/s_clogl.c (__clogl): Likewise.
2217 * math/libm-test.inc (clog_test): Add more tests.
2218 (clog10_test): Likewise.
2219 * sysdeps/i386/fpu/libm-test-ulps: Update.
2220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2222 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2225 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2226 by 7 not 8 to examine high bit of fractional part.
2229 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2230 for call to __mcount_internal.
2231 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2232 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2233 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2235 2012-07-06 Joseph Myers <joseph@codesourcery.com>
2238 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2239 approximation for values within 0x1p-13f of an odd multiple of
2241 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2242 exception. Add more tests.
2243 * sysdeps/i386/fpu/libm-test-ulps: Update.
2246 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2247 inputs and return -1 for them. Do not check for +Inf in case not
2249 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2250 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2251 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2252 and return -1 for them. Do not check for +Inf in case not
2254 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2256 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2257 and return -1 for them. Do not check for +Inf in case not
2259 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2261 * sysdeps/i386/fpu/libm-test-ulps: Update.
2262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2264 2012-07-06 Mike Frysinger <vapier@gentoo.org>
2266 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2268 2012-07-05 Joseph Myers <joseph@codesourcery.com>
2272 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2273 could result in spurious underflow. Scale down values above
2274 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2275 * math/s_csqrtf.c (__csqrtf): Likewise.
2276 * math/s_csqrtl.c (__csqrtl): Likewise.
2277 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2279 * sysdeps/i386/fpu/libm-test-ulps: Update.
2280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2282 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2284 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2286 * catgets/xopen-msg.awk: New file.
2287 * catgets/xopen-msg.sed: Removed.
2289 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2291 * intl/po2test.awk: New file.
2292 * intl/po2test.sed: Removed.
2294 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2297 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2298 or multiply small sinh result by itself.
2299 * math/s_ctanf.c (__ctanf): Likewise.
2300 * math/s_ctanh.c (__ctanh): Likewise.
2301 * math/s_ctanhf.c (__ctanhf): Likewise.
2302 * math/s_ctanhl.c (__ctanhl): Likewise.
2303 * math/s_ctanl.c (__ctanl): Likewise.
2304 * math/libm-test.inc (ctan_test_tonearest): New function.
2305 (ctan_test_towardzero): Likewise.
2306 (ctan_test_downward): Likewise.
2307 (ctan_test_upward): Likewise.
2308 (ctanh_test_tonearest): Likewise.
2309 (ctanh_test_towardzero): Likewise.
2310 (ctanh_test_downward): Likewise.
2311 (ctanh_test_upward): Likewise.
2312 (main): Call these new functions.
2313 * sysdeps/i386/fpu/libm-test-ulps: Update.
2314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2316 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2318 * .gitignore: Delete /ports entry.
2320 2012-07-03 Andreas Jaeger <aj@suse.de>
2322 * po/bg.po: Update from translation team.
2323 * po/cs.po: Likewise.
2324 * po/de.po: Likewise.
2325 * po/hr.po: Likewise.
2326 * po/nl.pl: Likewise.
2327 * po/pl.po: Likewise.
2328 * po/vi.po: Likewise.
2330 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2332 * Makeconfig [!+link] (+link-before-libc): New variable.
2333 [!+link] (+link-after-libc): Likewise.
2334 [!+link] (+link-tests): Likewise.
2335 [!+link] (+link): Define in terms of $(+link-before-libc) and
2336 $(+link-after-libc).
2337 [!+link-static] (+link-static-before-libc): New variable.
2338 [!+link-static] (+link-static-after-libc): Likewise.
2339 [!+link-static] (+link-static-tests): Likewise.
2340 [!+link-static] (+link-static): Define in terms of
2341 $(+link-static-before-libc) and $(+link-static-after-libc).
2342 [build-shared] (link-libc-before-gnulib): New variable.
2343 [build-shared] (link-libc-tests): Likewise.
2344 [build-shared] (link-libc): Define in terms of
2345 $(link-libc-before-gnulib).
2346 [!build-shared] (link-libc-tests): New variable.
2347 (link-libc-static-tests): New variable.
2348 [!gnulib] (gnulib-arch): New variable.
2349 [!gnulib] (gnulib-tests): Likewise.
2350 [!gnulib] (static-gnulib-arch): Likewise.
2351 [!gnulib] (static-gnulib-tests): Likewise.
2352 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2353 Define with "=" instead of ":=".
2354 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2355 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2356 * Rules (binaries-all-notests): New variable.
2357 (binaries-all-tests): Likewise.
2358 (binaries-static-notests): Likewise.
2359 (binaries-static-tests): Likewise.
2360 (binaries-all): Define using $(binaries-all-notests) and
2361 $(binaries-all-tests).
2362 (binaries-static): Define using $(binaries-static-notests) and
2363 $(binaries-static-tests).
2364 (binaries-shared-tests): New variable.
2365 (binaries-shared-notests): Likewise.
2366 (binaries-shared): Remove variable.
2367 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2368 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2369 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2370 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2371 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2372 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2373 * elf/Makefile (sln-modules): New variable.
2374 (extra-objs): Add $(sln-modules:=.o).
2375 (ldconfig-modules): Add static-stubs.
2376 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2377 * elf/static-stubs.c: New file.
2380 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2381 by 7 not 8 to examine high bit of fractional part. Use volatile
2382 variables when splitting into final array of floats if
2383 __FLT_EVAL_METHOD__ != 0.
2384 * math/libm-test.inc (cos_test): Add another test.
2385 (sin_test): Likewise.
2386 * sysdeps/i386/fpu/libm-test-ulps: Update.
2389 * math/libm-test.inc (cosh_test): Add more tests.
2391 * version.h (RELEASE): Set to "development".
2392 (VERSION): Set to "2.16.90".
2394 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2396 * NEWS: Update copyright. Remove last-updated date.
2397 Mention math library bug fixes and timezone data changes.
2398 * README: Mention GNU/Hurd, x32, and HPPA support status.
2400 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2402 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2404 2012-06-27 Andreas Jaeger <aj@suse.de>
2406 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2408 2012-06-25 Andreas Jaeger <aj@suse.de>
2410 * sysdeps/s390/fpu/libm-test-ulps: Update.
2412 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2413 Thomas Schwinge <thomas@codesourcery.com>
2415 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2416 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2417 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2420 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2422 * sysdeps/mach/start.c: Remove file.
2423 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2424 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2425 * sysdeps/sh/init-first.c: Likewise.
2427 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2428 registers for frame unwinding purposes, add CFI directives.
2429 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2430 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2431 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2434 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2435 __fortify_fail returning.
2436 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2438 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2439 sysdeps/sh/____longjmp_chk.S.
2440 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2441 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2442 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2443 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2445 * sysdeps/sh/abort-instr.h: New file.
2446 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2447 process in case exit returns.
2449 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2450 initialize the GOT register before use.
2452 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2453 calculation of ARGC > 4.
2455 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2456 meaningful names to some local labels.
2458 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2459 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2461 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2462 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2463 (__arch_compare_and_exchange_val_16_acq): Likewise.
2464 (__arch_compare_and_exchange_val_32_acq): Likewise.
2465 (atomic_exchange_and_add): Fix gUSA sequence.
2466 (atomic_add): Likewise.
2467 (atomic_add_negative): Likewise.
2468 (atomic_add_zero): Likewise.
2469 (atomic_bit_test_set): Likewise.
2471 2012-06-22 Andreas Schwab <schwab@redhat.com>
2474 * include/link.h (struct link_map): Add l_free_initfini.
2475 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2477 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2478 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2479 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2482 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2484 * configure.in: Use AC_LANG_SOURCE.
2485 * configure: Regenerate.
2487 2012-06-22 Roland McGrath <roland@hack.frob.com>
2489 * configure.in (libc_cv_localstatedir): New substituted variable.
2490 * configure: Regenerated.
2491 * config.make.in (localstatedir): New variable, substituted from
2492 libc_cv_localstatedir.
2493 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2494 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2495 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2496 * sysdeps/gnu/configure: Regenerated.
2498 2012-06-21 Jeff Law <law@redhat.com>
2501 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2502 free. Simplify list management for _LIBC case.
2504 2012-06-21 Joseph Myers <joseph@codesourcery.com>
2507 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2508 Clear sign bit of 64-bit integer value before comparing against
2511 * sysdeps/mach/configure: Regenerated.
2513 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2516 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2518 2012-06-21 Jeff Law <law@redhat.com>
2521 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2522 uint16_t for elements in the "seen" array to avoid char overflows.
2523 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2524 * elf/dl-open.c (dl_open_worker): Likewise.
2526 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2528 * scripts/list-sources.sh: Scan PORTS for translations.
2529 * po/libc.pot: Regenerated.
2531 2012-06-21 Andreas Jaeger <aj@suse.de>
2534 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2536 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2537 * bits/byteswap-16.h (__bswap_16): Likewise.
2538 * bits/byteswap.h (__bswap_constant_16): Likewise.
2540 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2543 * sysdeps/i386/fpu_control.h: Removed.
2544 * sysdeps/x86_64/fpu_control.h: Moved to ...
2545 * sysdeps/x86/fpu_control.h: Here.
2547 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2548 (_FPU_SETCW): Likewise.
2550 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2553 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2554 * sysdeps/x86/fpu/bits/mathinline.h: This.
2555 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2559 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2560 functions if __x86_64__ is defined.
2562 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2564 * string/endian.h: Add !__ASSEMBLER__ condition for including
2565 conversion interfaces.
2567 2012-06-15 Joseph Myers <joseph@codesourcery.com>
2570 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2571 of ABS(x) in calculating zero to negative powers other than odd
2573 * math/libm-test.inc (pow_test): Add more tests.
2575 2012-06-15 Andreas Jaeger <aj@suse.de>
2577 * manual/contrib.texi (Contributors): Update entry of Liubov
2578 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2581 2012-06-15 Cyril Hrubis <metan@ucw.cz>
2583 * string/string.h: Add __wur to GNU version of strerror_r.
2585 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2588 * string/Makefile (tests): Add tst-strtok_r.
2589 * string/tst-strtok_r.c: New file.
2590 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2591 RAX_LP/RDX_LP on SAVE_PTR.
2593 2012-06-14 Roland McGrath <roland@hack.frob.com>
2595 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2597 2012-06-14 Joseph Myers <joseph@codesourcery.com>
2599 * libm_test.inc (csqrt_test): Allow more spurious underflow
2601 (j0_test): Likewise.
2602 (j1_test): Likewise.
2603 (y0_test): Likewise.
2604 (y1_test): Likewise.
2606 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2608 * po/Makefile (libc.pot): Use UTF-8 charset.
2610 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2613 Suppress sign-conversion warning from FD_SET.
2614 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2615 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2616 not unsigned long int.
2617 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2619 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2623 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2624 __extern_always_inline instead of __extern_inline.
2625 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2626 (__signbit): Likewise.
2627 (__signbitl): Support C++ namespace.
2628 (lrintf): New inline function.
2630 (llrintf): Likewise.
2642 (nearbyint): Likewise.
2643 (nearbyintf): Likewise.
2645 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2647 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2648 non-default versions.
2650 2012-06-11 Roland McGrath <roland@hack.frob.com>
2653 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2655 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2657 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2658 (FE_UPWARD, FE_DOWNWARD): Don't define.
2659 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2660 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2662 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2664 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2665 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2667 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2669 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2670 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2671 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2672 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2674 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2677 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2678 * sysdeps/i386/fpu/Implies: New file.
2679 * sysdeps/x86_64/fpu/Implies: Likewise.
2680 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2681 * sysdeps/x86/fpu/bits/fenv.h: This.
2683 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2686 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2689 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2690 character 0xffff that matches the last element of the
2693 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2695 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2698 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2700 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2701 values higher than 25.6283.
2703 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2705 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2706 subnormal exponent extraction and add some __builtin_expect.
2707 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2708 Fix for subnormal mantissa calculation.
2710 2012-06-04 Mike Frysinger <vapier@gentoo.org>
2712 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2713 cpu2 is -1 and errno is not ENOSYS.
2715 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2718 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2719 * sysdeps/x86/bits/string.h: This.
2720 * sysdeps/x86_64/bits/string.h: Removed.
2722 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2723 if not compiling for x86-64, but compiling for >= i486.
2725 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2726 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2728 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2729 New macro from Linux kernel 3.4.0.
2730 (FP_XSTATE_MAGIC2): Likewise.
2731 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2732 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2733 (struct _fpx_sw_bytes): New struct.
2734 (struct _xsave_hdr): Likewise.
2735 (struct _ymmh_state): Likewise.
2736 (struct _xstate): Likewise.
2738 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2739 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2740 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2741 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2742 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2743 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2745 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2746 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2747 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2748 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2749 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2750 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2752 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2755 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2756 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2757 (sysdep_headers): Include sys/platform/ppc.h.
2758 * sysdeps/powerpc/test-gettimebase.c: Test for
2759 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2760 * manual/Makefile (appendices): Include platform.texi.
2761 * manual/contrib.texi (Contributors): Update @node pointers.
2762 * manual/maint.texi (Maintenance): Likewise.
2763 (Platform): New node.
2764 * manual/platform.texi: New file. Document the new features.
2766 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2767 Jakub Jelinek <jakub@redhat.com>
2770 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2771 where __builtin_expect is unavailable.
2773 2012-06-03 David S. Miller <davem@davemloft.net>
2775 * stdlib/longlong.h: Updated from GCC.
2777 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2780 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2781 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2784 (GLIBC_2.16): Likewise.
2786 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2788 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2790 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2793 (default-abi): New variable.
2794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2795 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2797 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2799 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2801 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2804 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2805 definition. Document in comment.
2807 2012-06-01 David S. Miller <davem@davemloft.net>
2809 * stdlib/longlong.h: Updated from GCC.
2811 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2814 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2815 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2816 sys/debugreg.h sys/io.h here.
2817 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2818 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2820 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2821 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2822 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2823 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2824 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2825 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2827 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2828 Define only if __x86_64__ is defined.
2830 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2833 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2834 Use int64_t for variable i.
2835 * math/libm-test.inc (fmod_test): Add more tests.
2837 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2838 z computation is not scheduled after fetestexcept.
2839 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2840 Use math_force_eval instead of asm to ensure calculation scheduled
2841 before exception test.
2842 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2843 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2845 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2847 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2848 computation is not scheduled after fetestexcept.
2850 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2853 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2854 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2856 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2858 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2859 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2861 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2864 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2866 (__WCHAR_MIN): Support __WORDSIZE == 64.
2867 (__WCHAR_MAX): Likewise.
2869 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2870 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2873 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2874 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2877 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2878 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2880 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2881 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2883 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2884 Defined to 1 if __x86_64__ isn't defined.
2885 (_STAT_VER_LINUX_OLD): New.
2886 (st_atime): Remove duplicate.
2887 (st_mtime): Likewise.
2888 (st_ctime): Likewise.
2890 2012-05-31 David S. Miller <davem@davemloft.net>
2892 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2895 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2897 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2901 * elf/dl-reloc.c: Include <_itoa.h>.
2902 (_dl_reloc_bad_type): Remove use of INTUSE.
2903 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2904 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2905 * stdio-common/psiginfo.c (psiginfo): Likewise.
2906 * stdio-common/psignal.c (psignal): Likewise.
2907 * string/strsignal.c (strsignal): Likewise.
2908 * include/signal.h (_sys_siglist): Declare hidden proto.
2909 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2910 INTVARDEF with libc_hidden_data_def.
2911 * stdio-common/itoa-udigits.c: Likewise.
2912 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2913 (_itoa_lower_digits_internal): Remove declaration.
2914 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2915 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2916 (_sys_sigabbrev_internal): Remove aliases.
2917 (_sys_siglist): Define hidden alias.
2919 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2924 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2927 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2928 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2930 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2931 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2932 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2933 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2934 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2935 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2937 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2938 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2939 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2941 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2949 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2950 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2951 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2953 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2954 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2955 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2956 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2957 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2958 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2960 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2961 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2963 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2964 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2966 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2967 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2968 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2970 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2971 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2973 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2975 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2976 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2977 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2979 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2981 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2983 2012-05-31 Joseph Myers <joseph@codesourcery.com>
2985 * math/math.h (M_El): Use two more decimal places.
2986 (M_LOG2El): Likewise.
2987 (M_LOG10El): Likewise.
2989 (M_LN10l): Likewise.
2991 (M_PI_2l): Likewise.
2992 (M_PI_4l): Likewise.
2993 (M_1_PIl): Likewise.
2994 (M_2_PIl): Likewise.
2995 (M_2_SQRTPIl): Likewise.
2996 (M_SQRT2l): Likewise.
2997 (M_SQRT1_2l): Likewise.
2999 2012-05-31 David S. Miller <davem@davemloft.net>
3001 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3002 values between float registers.
3003 * sysdeps/sparc/sparc64/memset.S: Likewise.
3004 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3006 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3008 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3009 -D_FORTIFY_SOURCE=1.
3010 (CPPFLAGS-tst-longjmp_chk.c): Define.
3011 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3012 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3013 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3014 CFLAGS-tst-wchar-h.c.
3016 2012-05-31 Marek Polacek <polacek@redhat.com>
3019 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3020 __endmntent_internal): Remove declaration.
3021 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3022 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3023 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3025 2012-05-30 David S. Miller <davem@davemloft.net>
3027 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3028 (___Q_simulate_exceptions): Use real FP ops rather than writing
3030 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3033 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3036 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3037 * sysdeps/x86/bits/xtitypes.h: This.
3039 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3040 * sysdeps/x86/bits/wordsize.h: This.
3042 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3043 * sysdeps/x86/bits/huge_vall.h: This.
3045 * sysdeps/i386/bits/select.h: Removed.
3046 * sysdeps/x86_64/bits/select.h: Renamed to ...
3047 * sysdeps/x86/bits/select.h: This.
3049 * sysdeps/i386/bits/setjmp.h: Removed.
3050 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3051 * sysdeps/x86/bits/setjmp.h: This.
3053 * sysdeps/i386/bits/mathdef.h: Removed.
3054 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3055 * sysdeps/x86/bits/mathdef.h: This.
3057 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3060 * include/sys/socket.h (__connect_internal)
3061 (__libc_sa_len_internal): Remove declaration.
3062 (__connect, __libc_sa_len): Declare hidden_proto.
3063 (SA_LEN): Remove use of INTUSE.
3064 * socket/connect.c: Add libc_hidden_def.
3065 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3066 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3067 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3069 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3070 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3071 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3072 of adding _internal alias.
3074 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3077 * sysdeps/i386/bits/link.h: Removed.
3078 * sysdeps/i386/bits/linkmap.h: Likewise.
3079 * sysdeps/x86_64/bits/link.h: Renamed to ...
3080 * sysdeps/x86/bits/link.h: This.
3081 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3082 * sysdeps/x86/bits/linkmap.h: This.
3084 * sysdeps/i386/bits/endian.h: Removed.
3085 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3086 * sysdeps/x86/bits/endian.h: This.
3088 * sysdeps/i386/bits/byteswap.h: Removed.
3089 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3090 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3091 * sysdeps/x86/bits/byteswap.h: This.
3092 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3093 * sysdeps/x86/bits/byteswap-16.h: This.
3094 * sysdeps/i386/Implies: Add x86.
3095 * sysdeps/x86_64/Implies: Likewise.
3097 2012-05-30 David S. Miller <davem@davemloft.net>
3099 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3100 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3101 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3102 (FP_TRAPPING_EXCEPTIONS): Define.
3103 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3104 (FP_TRAPPING_EXCEPTIONS): Define.
3105 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3106 subnormals only when inexact has been signalled or underflow
3107 exceptions are enabled.
3108 (_FP_PACK_CANONICAL): Likewise.
3110 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3113 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3114 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3116 2012-05-30 Richard Henderson <rth@twiddle.net>
3118 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3119 with #ifndef NOT_IN_libc.
3121 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3122 marked to avoid plt entry.
3124 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3127 * Makeconfig (default-abi): New macro.
3128 (abi-includes): Likewise.
3129 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3130 $(abi-$(default-abi)-lib-soname) for soname if defined.
3131 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3133 * Makefile (installed-stubs): Likewise.
3134 * include/stubs-biarch.h: Removed.
3135 * scripts/lib-names.awk: Only handle one library at a time.
3136 * scripts/soversions.awk: Remove WORDSIZE support.
3137 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3139 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3141 (syscall-list-default-condition): Likewise.
3142 (syscall-list-default-condition): Likewise.
3143 (syscall-list-includes): Likewise.
3144 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3145 syscall-list-* with abi-*. Handle undefined abi-variants.
3146 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3147 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3148 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3149 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3150 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3151 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3153 (syscall-list-32-options): Likewise.
3154 (syscall-list-32-condition): Likewise.
3155 (syscall-list-64-options): Likewise.
3156 (syscall-list-64-condition): Likewise.
3157 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3159 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3162 (abi-64-ld-soname): New macro.
3163 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3164 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3167 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3168 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3170 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3172 * sysdeps/unix/sysv/linux/kernel-features.h
3173 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3174 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3175 include <kernel-features.h>.
3176 [!__NR_ftruncate64]: Remove conditional code.
3177 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3178 [__NR_ftruncate64]: Make code unconditional.
3179 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3180 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3181 include <kernel-features.h>.
3182 [!__NR_ftruncate64]: Remove conditional code.
3183 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3184 [__NR_ftruncate64]: Make code unconditional.
3185 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3187 include <kernel-features.h>.
3188 [!__NR_ftruncate64]: Remove conditional code.
3189 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3190 [__NR_ftruncate64]: Make code unconditional.
3191 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3193 include <kernel-features.h>.
3194 [!__NR_ftruncate64]: Remove conditional code.
3195 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3196 [__NR_ftruncate64]: Make code unconditional.
3197 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3199 * configure.in (libc_cv_fpie): Weaken to a compile test using
3201 * configure: Regenerated.
3203 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3218 2012-05-27 David S. Miller <davem@davemloft.net>
3220 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3222 (__Q_simulate_exceptions): Return void. Change to simulate
3223 exceptions by writing into the %fsr.
3224 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3225 (__Qp_handle_exceptions): Likewise.
3227 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3228 __Qp_handle_exceptions.
3229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3230 __Qp_handle_exceptions.
3231 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3232 as unused and give dummy FP_RND_NEAREST initializer.
3233 (FP_INHIBIT_RESULTS): Define.
3234 (___Q_simulate_exceptions): Update declaration.
3235 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3237 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3238 as unused and give dummy FP_RND_NEAREST initializer.
3239 (__Qp_handle_exceptions): Update declaration.
3240 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3243 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3245 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3246 the temporary FPU control word.
3247 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3248 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3249 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3250 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3251 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3252 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3253 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3254 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3255 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3256 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3257 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3259 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3261 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3264 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3266 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3267 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3268 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3269 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3271 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3272 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3275 2012-05-27 Ulrich Drepper <drepper@gmail.com>
3277 * po/h.po: Update from translation team.
3279 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3281 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3283 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3284 handling of denormals.
3285 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3286 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3287 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3288 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3289 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3290 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3291 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3294 2012-05-26 Marek Polacek <polacek@redhat.com>
3297 * math/libm-test.inc (fma_test): Don't always expect underflow
3300 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3303 * elf/tst-execstack.c: Include stackinfo.h.
3304 (do_test): Adjust test case to ensure that pthread_getattr_np
3305 behaviour remains the same after marking stack executable.
3307 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3309 * sysdeps/unix/sysv/linux/kernel-features.h
3310 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3311 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3313 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3314 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3315 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3317 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3318 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3320 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3322 * configure.in: Define the default includes to being none.
3323 * configure: Regenerated.
3325 2012-05-25 Roland McGrath <roland@hack.frob.com>
3327 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3328 * sysdeps/x86_64/setjmp.S: Likewise.
3329 * sysdeps/i386/bsd-setjmp.S: Likewise.
3330 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3331 * sysdeps/i386/setjmp.S: Likewise.
3332 * sysdeps/i386/__longjmp.S: Likewise.
3333 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3334 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3336 * include/stap-probe.h: New file.
3337 * configure.in: Handle --enable-systemtap.
3338 * configure: Regenerated.
3339 * config.h.in (USE_STAP_PROBE): New #undef.
3340 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3341 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3342 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3344 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3347 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3348 to 2.4.0 where earlier.
3349 * sysdeps/unix/sysv/linux/configure: Regenerated.
3350 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3351 <kernel-features.h>.
3352 [__ASSUME_32BITUIDS]: Make code unconditional.
3353 [!__ASSUME_32BITUIDS]: Remove conditional code.
3354 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3355 <kernel-features.h>.
3356 [__ASSUME_32BITUIDS]: Make code unconditional.
3357 [!__ASSUME_32BITUIDS]: Remove conditional code.
3358 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3359 [__ASSUME_32BITUIDS]: Make code unconditional.
3360 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3361 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/i386/getresuid.c: Do not include
3382 <kernel-features.h>.
3383 [__ASSUME_32BITUIDS]: Make code unconditional.
3384 [!__ASSUME_32BITUIDS]: Remove conditional code.
3385 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3386 <kernel-features.h>.
3387 [__ASSUME_32BITUIDS]: Make code unconditional.
3388 [!__ASSUME_32BITUIDS]: Remove conditional code.
3389 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3390 <kernel-features.h>.
3391 [__ASSUME_32BITUIDS]: Make code unconditional.
3392 [!__ASSUME_32BITUIDS]: Remove conditional code.
3393 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3394 <kernel-features.h>.
3395 [__ASSUME_32BITUIDS]: Make code unconditional.
3396 [!__ASSUME_32BITUIDS]: Remove conditional code.
3397 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3398 <kernel-features.h>.
3399 [__ASSUME_32BITUIDS]: Make code unconditional.
3400 [!__ASSUME_32BITUIDS]: Remove conditional code.
3401 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3402 <kernel-features.h>.
3403 [__NR_setresgid] (__setresgid): Do not declare.
3404 [__ASSUME_32BITUIDS]: Make code unconditional.
3405 [!__ASSUME_32BITUIDS]: Remove conditional code.
3406 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3407 <kernel-features.h>.
3408 [__NR_setresuid] (__setresuid): Do not declare.
3409 [__ASSUME_32BITUIDS]: Make code unconditional.
3410 [!__ASSUME_32BITUIDS]: Remove conditional code.
3411 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3412 <kernel-features.h>.
3413 [__ASSUME_32BITUIDS]: Make code unconditional.
3414 [!__ASSUME_32BITUIDS]: Remove conditional code.
3415 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3416 <kernel-features.h>.
3417 [__ASSUME_32BITUIDS]: Make code unconditional.
3418 [!__ASSUME_32BITUIDS]: Remove conditional code.
3419 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3420 <kernel-features.h>.
3421 [__ASSUME_32BITUIDS]: Make code unconditional.
3422 [!__ASSUME_32BITUIDS]: Remove conditional code.
3423 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3424 <kernel-features.h>.
3425 [__ASSUME_32BITUIDS]: Make code unconditional.
3426 [!__ASSUME_32BITUIDS]: Remove conditional code.
3427 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3428 <kernel-features.h>.
3429 [__ASSUME_32BITUIDS]: Make code unconditional.
3430 [!__ASSUME_32BITUIDS]: Remove conditional code.
3431 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3432 <kernel-features.h>.
3433 [__ASSUME_32BITUIDS]: Make code unconditional.
3434 [!__ASSUME_32BITUIDS]: Remove conditional code.
3435 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3436 <kernel-features.h>.
3437 [__ASSUME_32BITUIDS]: Make code unconditional.
3438 [!__ASSUME_32BITUIDS]: Remove conditional code.
3439 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3440 <kernel-features.h>.
3441 [__ASSUME_32BITUIDS]: Make code unconditional.
3442 [!__ASSUME_32BITUIDS]: Remove conditional code.
3443 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3444 <kernel-features.h>.
3445 [__ASSUME_32BITUIDS]: Make code unconditional.
3446 [!__ASSUME_32BITUIDS]: Remove conditional code.
3447 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3448 <kernel-features.h>.
3449 [__ASSUME_32BITUIDS]: Make code unconditional.
3450 [!__ASSUME_32BITUIDS]: Remove conditional code.
3451 * sysdeps/unix/sysv/linux/kernel-features.h
3452 (__ASSUME_SETRESUID_SYSCALL): Remove.
3453 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3454 (__ASSUME_32BITUIDS): Likewise.
3455 (__ASSUME_LDT_WORKS): Likewise.
3456 (__ASSUME_O_DIRECTORY): Likewise.
3457 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3458 architecture but not kernel version.
3459 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3460 (__ASSUME_MMAP2_SYSCALL): Likewise.
3461 (__ASSUME_STAT64_SYSCALL): Likewise.
3462 (__ASSUME_IPC64): Likewise.
3463 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3464 <kernel-features.h>.
3465 [__ASSUME_32BITUIDS]: Make code unconditional.
3466 [!__ASSUME_32BITUIDS]: Remove conditional code.
3467 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3468 <kernel-features.h>.
3469 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3470 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3471 132096]: Remove conditional code.
3472 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3473 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3474 <kernel-features.h>.
3475 [__ASSUME_32BITUIDS]: Make code unconditional.
3476 [!__ASSUME_32BITUIDS]: Remove conditional code.
3477 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3478 <kernel-features.h>.
3479 [__ASSUME_32BITUIDS]: Make code unconditional.
3480 [!__ASSUME_32BITUIDS]: Remove conditional code.
3481 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3482 <kernel-features.h>.
3483 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3485 (__setresgid): Do not declare.
3486 [__ASSUME_32BITUIDS]: Make code unconditional.
3487 [!__ASSUME_32BITUIDS]: Remove conditional code.
3488 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3489 <kernel-features.h>.
3490 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3492 (__setresuid): Do not declare.
3493 [__ASSUME_32BITUIDS]: Make code unconditional.
3494 [!__ASSUME_32BITUIDS]: Remove conditional code.
3495 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3496 <kernel-features.h>.
3497 [__ASSUME_32BITUIDS]: Make code unconditional.
3498 [!__ASSUME_32BITUIDS]: Remove conditional code.
3499 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3500 <kernel-features.h>.
3501 [__ASSUME_32BITUIDS]: Make code unconditional.
3502 [!__ASSUME_32BITUIDS]: Remove conditional code.
3504 2012-05-25 Richard Henderson <rth@twiddle.net>
3506 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3507 dl_hwcap to ifunc resolver.
3508 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3510 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3511 dl_hwcap to ifunc resolver.
3512 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3514 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3517 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3518 for |x| <= 2**-26, not 2**-57.
3519 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3522 2012-05-24 Jeff Law <law@redhat.com>
3524 * stdio-common/Makefile (tests): Add bug25.
3525 * stdio-common/bug25.c: New test.
3527 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3530 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3531 multiple of MALLOC_ALIGNMENT in size.
3532 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3534 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3536 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3538 (FILENAME_MAX): Use macro-int-constant.
3539 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3540 (_IOFBF): Use macro-int-constant.
3543 (SEEK_CUR): Likewise.
3544 (SEEK_END): Likewise.
3545 (SEEK_SET): Likewise.
3546 (TMP_MAX): Likewise.
3547 (EOF): Use macro-int-constant. Require < 0.
3548 (NULL): Use macro-constant. Require == 0.
3549 (stdin): Require type to be FILE *.
3552 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3554 (EXIT_SUCCESS): Likewise.
3555 (NULL): Use macro-constant. Require == 0.
3556 (RAND_MAX): Use macro-int-constant.
3557 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3558 [C99-based standards] (strtof): Require function.
3559 [C99-based standards] (strtold): Likewise.
3560 [C99-based standards] (strtoll): Likewise.
3561 [C99-based standards] (strtoull): Likewise.
3562 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3563 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3564 [ISO || ISO99 || ISO11] (math.h): Likewise.
3565 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3566 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3567 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3569 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3572 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3573 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3574 * intl/dgettext.c (DCGETTEXT): Likewise.
3575 * intl/gettext.c (DCGETTEXT): Likewise.
3576 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3577 * posix/regex_internal.h (gettext): Likewise.
3578 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3580 * include/argz.h (__argz_count_internal)
3581 (__argz_stringify_internal): Remove declaration.
3582 (__argz_count, __argz_stringify): Declare hidden proto.
3583 * intl/dcgettext.c: Remove use of INTDEF.
3584 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3585 * string/argz-stringify.c: Likewise.
3586 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3587 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3588 Declare hidden proto.
3589 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3590 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3591 Declare hidden proto.
3592 * include/stdio.h (__asprintf_internal): Don't declare.
3593 (__asprintf): Don't define as macro. Declare hidden proto.
3594 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3595 (__fsetlocking): Declare hidden proto.
3596 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3597 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3599 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3600 (_IO_setlinebuf): Remove use of INTUSE.
3601 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3602 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3603 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3605 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3606 (_IO_do_flush): Remove use of INTUSE.
3607 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3608 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3609 (_IO_adjust_column, _IO_least_wmarker)
3610 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3611 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3612 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3613 (_IO_default_doallocate, _IO_wdefault_doallocate)
3614 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3615 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3616 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3617 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3618 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3619 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3620 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3621 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3622 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3623 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3624 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3625 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3626 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3628 (_IO_flush_all_internal, _IO_adjust_column_internal)
3629 (_IO_default_uflow_internal, _IO_default_finish_internal)
3630 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3631 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3632 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3633 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3634 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3635 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3636 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3637 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3638 (_IO_file_close_internal, _IO_file_close_it_internal)
3639 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3640 (_IO_file_init_internal, _IO_file_attach_internal)
3641 (_IO_file_fopen_internal, _IO_file_read_internal)
3642 (_IO_file_sync_internal, _IO_file_seek_internal)
3643 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3644 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3645 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3646 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3647 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3648 (_IO_list_all_internal, _IO_link_in_internal)
3649 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3650 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3651 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3652 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3653 (_IO_do_write_internal, _IO_padn_internal)
3654 (_IO_getline_info_internal, _IO_getline_internal)
3655 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3656 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3657 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3658 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3659 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3660 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3661 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3662 with libc_hidden_ver, remove use of INTUSE.
3663 * libio/genops.c: Likewise.
3664 * libio/freopen.c: Likewise.
3665 * libio/freopen64.c: Likewise.
3666 * libio/iofclose.c: Likewise.
3667 * libio/iofdopen.c: Likewise.
3668 * libio/iofflush.c: Likewise.
3669 * libio/iofflush_u.c: Likewise.
3670 * libio/iofgets.c: Likewise.
3671 * libio/iofgets_u.c: Likewise.
3672 * libio/iofopen.c: Likewise.
3673 * libio/iofopncook.c: Likewise.
3674 * libio/iofread.c: Likewise.
3675 * libio/iofread_u.c: Likewise.
3676 * libio/ioftell.c: Likewise.
3677 * libio/iofwrite.c: Likewise.
3678 * libio/iogetline.c: Likewise.
3679 * libio/iogets.c: Likewise.
3680 * libio/iogetwline.c: Likewise.
3681 * libio/iopadn.c: Likewise.
3682 * libio/iopopen.c: Likewise.
3683 * libio/ioseekoff.c: Likewise.
3684 * libio/ioseekpos.c: Likewise.
3685 * libio/iosetbuffer.c: Likewise.
3686 * libio/iosetvbuf.c: Likewise.
3687 * libio/ioungetc.c: Likewise.
3688 * libio/ioungetwc.c: Likewise.
3689 * libio/iovdprintf.c: Likewise.
3690 * libio/iovsprintf.c: Likewise.
3691 * libio/iovsscanf.c: Likewise.
3692 * libio/memstream.c: Likewise.
3693 * libio/obprintf.c: Likewise.
3694 * libio/oldfileops.c: Likewise.
3695 * libio/oldiofclose.c: Likewise.
3696 * libio/oldiofdopen.c: Likewise.
3697 * libio/oldiofopen.c: Likewise.
3698 * libio/oldiopopen.c: Likewise.
3699 * libio/oldstdfiles.c: Likewise.
3700 * libio/putc.c: Likewise.
3701 * libio/setbuf.c: Likewise.
3702 * libio/setlinebuf.c: Likewise.
3703 * libio/stdfiles.c: Likewise.
3704 * libio/strops.c: Likewise.
3705 * libio/vasprintf.c: Likewise.
3706 * libio/vscanf.c: Likewise.
3707 * libio/vsnprintf.c: Likewise.
3708 * libio/vswprintf.c: Likewise.
3709 * libio/wfiledoalloc.c: Likewise.
3710 * libio/wfileops.c: Likewise.
3711 * libio/wgenops.c: Likewise.
3712 * libio/wmemstream.c: Likewise.
3713 * libio/wstrops.c: Likewise.
3714 * libio/__fpurge.c: Likewise.
3715 * libio/__fsetlocking.c: Likewise.
3716 * assert/assert.c: Likewise.
3717 * debug/fgets_chk.c: Likewise.
3718 * debug/fgets_u_chk.c: Likewise.
3719 * debug/fread_chk.c: Likewise.
3720 * debug/fread_u_chk.c: Likewise.
3721 * debug/gets_chk.c: Likewise.
3722 * debug/obprintf_chk.c: Likewise.
3723 * debug/vasprintf_chk.c: Likewise.
3724 * debug/vdprintf_chk.c: Likewise.
3725 * debug/vsnprintf_chk.c: Likewise.
3726 * debug/vsprintf_chk.c: Likewise.
3727 * malloc/mtrace.c: Likewise.
3728 * misc/error.c: Likewise.
3729 * misc/syslog.c: Likewise.
3730 * stdio-common/asprintf.c: Likewise.
3731 * stdio-common/fxprintf.c: Likewise.
3732 * stdio-common/getw.c: Likewise.
3733 * stdio-common/isoc99_fscanf.c: Likewise.
3734 * stdio-common/isoc99_scanf.c: Likewise.
3735 * stdio-common/isoc99_vfscanf.c: Likewise.
3736 * stdio-common/isoc99_vscanf.c: Likewise.
3737 * stdio-common/isoc99_vsscanf.c: Likewise.
3738 * stdio-common/printf-prs.c: Likewise.
3739 * stdio-common/printf_fp.c: Likewise.
3740 * stdio-common/printf_fphex.c: Likewise.
3741 * stdio-common/printf_size.c: Likewise.
3742 * stdio-common/putw.c: Likewise.
3743 * stdio-common/scanf.c: Likewise.
3744 * stdio-common/sprintf.c: Likewise.
3745 * stdio-common/tmpfile.c: Likewise.
3746 * stdio-common/vfprintf.c: Likewise.
3747 * stdio-common/vfscanf.c: Likewise.
3748 * stdlib/strfmon_l.c: Likewise.
3749 * sunrpc/openchild.c: Likewise.
3750 * sunrpc/xdr_stdio.c: Likewise.
3751 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3752 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3754 2012-05-24 Roland McGrath <roland@hack.frob.com>
3756 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3758 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3759 in the third column, to generate for the shared library an IFUNC
3760 that uses _dl_vdso_vsym.
3761 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3762 * Makeconfig (object-suffixes-noshared): New variable.
3764 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3765 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3766 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3767 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3770 * include/sys/time.h (__gettimeofday): Remove macro.
3771 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3772 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3774 (__gettimeofday): Add libc_hidden_def.
3775 (gettimeofday): Add libc_hidden_weak.
3776 * sysdeps/mach/gettimeofday.c: Likewise.
3777 * sysdeps/posix/gettimeofday.c: Likewise.
3778 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3779 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3780 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3781 (__gettimeofday_internal): Remove strong_alias.
3782 (__gettimeofday): Add libc_hidden_def.
3783 (gettimeofday): Add libc_hidden_weak.
3784 * sysdeps/unix/syscalls.list (gettimeofday):
3785 Remove __gettimeofday_internal alias.
3787 2012-05-24 Daniel Jacobowitz <drow@false.org>
3788 H.J. Lu <hongjiu.lu@intel.com>
3791 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3792 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3793 (largebin_index_32_big): New.
3794 (largebin_index): Use it for 16-byte alignment.
3795 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3796 correction with front_misalign.
3798 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3826 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3827 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3829 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3833 * math/libm-test.inc (exp_test): Add test from bug 14036.
3834 (pow_test): Add test from bug 10846.
3836 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3838 (special_function): Do not include flags in test name.
3839 (parse_args): Likewise.
3840 * sysdeps/i386/fpu/libm-test-ulps: Update.
3841 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3842 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3843 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3846 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3848 * math/libm-test.inc ("Philosophy"): Update comment about
3850 (UNDERFLOW_EXCEPTION): New macro.
3851 (UNDERFLOW_EXCEPTION_OK): Likewise.
3852 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3853 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3854 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3855 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3856 (INVALID_EXCEPTION_OK): Update value.
3857 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3858 (OVERFLOW_EXCEPTION_OK): Likewise.
3859 (IGNORE_ZERO_INF_SIGN): Likewise.
3860 (test_exceptions): Handle underflow exceptions.
3861 (acos_test): Update for underflow exception expectations.
3862 (cexp_test): Likewise.
3863 (clog_test): Likewise.
3864 (clog10_test): Likewise.
3865 (csqrt_test): Likewise.
3866 (ctan_test): Likewise.
3867 (ctanh_test): Likewise.
3868 (exp_test): Likewise.
3869 (exp10_test): Likewise.
3870 (exp2_test): Likewise.
3871 (expm1_test): Likewise.
3872 (fma_test): Likewise.
3873 (j0_test): Likewise.
3874 (jn_test): Likewise.
3875 (nexttoward_test): Likewise.
3876 (pow_test): Likewise.
3877 (scalbn_test): Likewise.
3878 (scalbln_test): Likewise.
3879 (tan_test): Likewise.
3880 (y1_test): Likewise.
3881 * sysdeps/i386/fpu/libm-test-ulps: Update.
3882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3884 2012-05-23 David S. Miller <davem@davemloft.net>
3886 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3887 (__libc_sigaction): Remove unused local variables.
3889 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3891 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3893 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3895 mktime: avoid signed integer overflow
3896 * time/mktime.c (__mktime_internal): Do not mishandle the case
3897 where diff == INT_MIN.
3899 mktime: simplify computation of average
3900 * time/mktime.c (ranged_convert): Use new time_t_avg function
3901 instead of rolling our own (probably-slower) code.
3903 mktime: do not assume signed right shift propagates sign bit
3904 * time/mktime.c (isdst_differ): New static function.
3905 (__mktime_internal): No need to normalize tm_isdst now.
3906 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3909 mktime: merge another wrapv change from gnulib
3910 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3911 from some compilers.
3913 mktime: remove incorrect attempt at unusual arithmetics
3914 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3915 The code didn't really work on such machines anyway.
3916 (TYPE_MINIMUM): Assume two's complement.
3917 (twos_complement_arithmetic): Verify that long_int and time_t
3918 are two's complement (or unsigned, in the latter case).
3920 mktime: check signed shifts on long_int and time_t, too
3921 * time/mktime.c (SHR): Check that shifts work as desired
3922 on the types long_int and time_t too, as SHR is used on
3925 mktime: do not assume 'long' is wide enough
3926 * time/mktime.c (verify): Move decl up.
3927 (long_int): New type.
3928 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3929 to remove assumption in the code that 'long' is wide enough to
3930 store year values. This assumption is not true on x32 and on
3931 some non-glibc platforms.
3933 mktime: merge wrapv change from gnulib
3934 * time/mktime.c (WRAPV): New macro.
3935 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3936 (guess_time_tm, __mktime_internal): Do not assume that signed
3937 integer overflow wraps around; modern compilers generate code
3938 where this assumption is no longer valid.
3940 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3942 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3943 Replace "jmp L(pseudo_end)" with "ret".
3944 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3947 2012-05-23 Andreas Jaeger <aj@suse.de>
3949 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3950 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3952 2012-05-23 Andreas Jaeger <aj@suse.de>
3953 Maximilian Attems <max@stro.at>
3955 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3958 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3960 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3961 code so that pseudo_end is just ret and the stack pointer is
3962 correct also for static library in error case.
3964 2012-05-23 Joseph Myers <joseph@codesourcery.com>
3966 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3967 move to syscalls.list.
3968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3973 * manual/install.texi (Running make install): Do not mention Linux
3974 kernel version for which pt_chown is not needed.
3975 (Linux): Do not mention problems with nscd with 2.0 kernels.
3976 * INSTALL: Regenerated.
3978 2012-05-23 Andreas Jaeger <aj@suse.de>
3980 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3981 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3983 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3984 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3985 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3986 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3987 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3988 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3989 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3990 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3991 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3992 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3993 * sysdeps/unix/sysv/linux/bits/in.h
3994 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3996 2012-05-22 Roland McGrath <roland@hack.frob.com>
3998 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3999 (PREPARE_VERSION): Just use assert instead, it will be elided
4000 under [NDEBUG] anyway.
4002 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4004 * sysdeps/unix/sysv/linux/Makefile: Include
4005 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4006 (sysdep_routines): Remove sysctl.
4007 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4008 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4009 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4010 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4011 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4013 2012-05-22 Andreas Jaeger <aj@suse.de>
4015 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4016 that pseudo_end is just ret and the stack pointer is correct also
4017 for static library in error case.
4019 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4022 * nss/nsswitch.c (defconfig_entries): New variable.
4023 (__nss_database_lookup): Don't leak defconfig entries.
4024 (nss_parse_service_list): Don't leak on error paths.
4025 (free_database_entries): New function.
4026 (free_defconfig): New function.
4027 (free_mem): Move common code to free_database_entries.
4029 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4031 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4033 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4035 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4036 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4037 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4039 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4040 (INTERNAL_SYSCALL_TYPES): Likewise.
4041 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4042 (LOAD_REGS_TYPES_[1-6]): Likewise.
4043 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4044 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4046 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4048 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4049 copysignl for GLIBC_2_0.
4050 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4051 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4052 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4053 logbl for GLIBC_2_0.
4054 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4055 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4057 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4059 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4060 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4062 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4065 * time/mktime.c: Update copyright years.
4067 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4069 mktime: merge comment-quoting-style change from gnulib
4070 * time/mktime.c: Quote 'like this' in comments.
4071 The GNU coding standards suggest that we no longer quote `like this',
4072 as "`" and "'" are typically rendered asymmetrically nowadays.
4073 The typical gnulib style is to quote 'like this' when quoting
4074 code, and "like this" when quoting English.
4076 * time/mktime.c (compile-command): Add "-I.".
4078 mktime: merge mktime-internal.h change from gnulib
4079 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4081 mktime: merge time_r change from gnulib
4082 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4084 mktime: merge DEBUG change from gnulib
4085 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4086 case system <time.h> has a #define.
4088 mktime: merge <sys/types.h> change from gnulib
4089 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4090 since <time.t> is now guaranteed to define time_t.
4092 mktime: merge HAVE_CONFIG_H change from gnulib
4093 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4095 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4097 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4100 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4102 (struct rusage): Use anonymous union to pad each field to
4105 2012-05-21 David S. Miller <davem@davemloft.net>
4107 * Makefules (o-iterator): Remove .s cases.
4108 (compile-command.s): Delete.
4109 (COMPILE.s): Delete.
4110 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4112 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4114 * configure.in (libc_cv_predef_stack_protector): Only consider
4115 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4116 * configure: Regenerated.
4118 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4121 New macro. Use R*LP on int and pointer.
4122 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4123 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4124 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4125 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4127 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4128 [__WORDSIZE_TIME64_COMPAT32] instead of
4129 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4130 (struct utmp): Likewise.
4131 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4132 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4134 (__WORDSIZE_TIME64_COMPAT32): This.
4135 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4136 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4137 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4138 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4139 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4140 (__WORDSIZE_TIME64_COMPAT32): New macro.
4142 2012-05-21 Andreas Jaeger <aj@suse.de>
4144 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4145 only if [SHARED]. Add prototype for __wcschr_ia32.
4147 2012-05-21 Roland McGrath <roland@hack.frob.com>
4149 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4150 of %rbp unmolested in the jmp_buf while mangling the low bits.
4151 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4152 unmolested high bits of %rbp while demangling the low bits.
4153 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4155 2012-05-21 Andreas Jaeger <aj@suse.de>
4157 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4158 * sunrpc/svc_simple.c: Use it for registerrpc.
4159 * sunrpc/xcrypt.c: Use it for passwd2des.
4161 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4163 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4165 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4166 Don't define if [__SYSCALL_WORDSIZE != 32].
4167 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4170 2012-05-21 Bruno Haible <bruno@clisp.org>
4171 Andreas Jaeger <aj@suse.de>
4173 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4174 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4175 inptr and inend for must_buffer_ch.
4176 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4177 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4178 * stdio-common/Makefile (tests): Remove bug15.
4179 (bug15-ENV): Remove macro.
4180 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4183 2012-05-19 Andreas Jaeger <aj@suse.de>
4184 Roland McGrath <roland@hack.frob.com>
4186 * manual/contrib.texi: Completely rewritten. It contains now an
4187 alphabetical list of contributors and their contributions.
4189 2012-05-21 Richard Henderson <rth@twiddle.net>
4191 * misc/getauxval.c (__getauxval): Use unsigned long int.
4192 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4193 (getauxval): Use unsigned long int.
4195 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4197 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4199 2012-05-21 Roland McGrath <roland@hack.frob.com>
4201 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4202 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4203 __alignof__ (long double).
4205 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4209 2012-05-20 Richard Henderson <rth@twiddle.net>
4211 * misc/getauxval.c: New file.
4212 * misc/sys/auxv.h: New file.
4213 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4214 (routines): Add getauxval.
4215 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4216 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4217 * elf/dl-sysdep.c (_dl_auxv): Remove.
4218 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4219 * elf/dl-support.c (_dl_auxv): New variable.
4220 (_dl_aux_init): Initialize it.
4221 * manual/startup.texi (Auxiliary Vector): New node.
4222 * sysdeps/generic/bits/hwcap.h: New file.
4223 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4224 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4225 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4226 * sysdeps/sparc/sysdep.h: ... here. Include it.
4227 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4228 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4234 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4240 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4244 2012-05-19 David S. Miller <davem@davemloft.net>
4246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4248 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4251 * math/s_ccosh.c: Include <float.h>
4252 (__ccosh): Avoid internal overflow calculating sinh and cosh
4253 values before multiplying by sin and cos values.
4254 * math/s_ccoshf.c: Likewise.
4255 * math/s_ccoshl.c: Likewise.
4256 * math/s_csin.c: Likewise.
4257 * math/s_csinf.c: Likewise.
4258 * math/s_csinl.c: Likewise.
4259 * math/s_csinh.c: Likewise.
4260 * math/s_csinhf.c: Likewise.
4261 * math/s_csinhl.c: Likewise.
4262 * math/libm-test.inc (ccos_test): Add more tests.
4263 (ccosh_test): Likewise.
4264 (csin_test): Likewise.
4265 (csinh_test): Likewise.
4266 * sysdeps/i386/fpu/libm-test-ulps: Update.
4267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4269 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4271 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4272 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4274 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4276 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4278 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4279 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4280 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4281 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4282 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4283 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4284 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4285 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4286 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4287 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4288 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4289 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4290 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4291 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4292 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4293 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4294 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4295 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4296 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4297 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4298 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4299 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4300 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4301 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4302 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4303 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4304 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4305 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4306 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4307 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4308 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4310 2012-05-18 Andreas Jaeger <aj@suse.de>
4312 * csu/.gitignore: Delete.
4314 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4316 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4317 (timex): Use __syscall_slong_t.
4319 2012-05-18 Andreas Jaeger <aj@suse.de>
4320 Carlos O'Donell <carlos_odonell@mentor.com>
4322 * manual/install.texi (Configuring and compiling): Update
4323 description about files modified in the source directory.
4324 * INSTALL: Regenerated.
4326 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4328 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4329 value. Use "or" to set return value to -1.
4330 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4331 negate return value.
4333 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4335 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4336 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4337 failure if the compiler has Graphite support disabled.
4338 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4340 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4341 CFLAGS-memmove.c): Likewise.
4342 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4345 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4347 * sysdeps/x86_64/x32/_itoa.h: New file.
4349 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4350 getdents system call only if kernel and user dirents have the
4351 same d_ino and d_off.
4353 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4354 LLONG_MAX != LONG_MAX.
4355 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4356 (_fitoa_word): Likewise.
4358 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4360 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4361 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4362 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4364 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4365 include <bits/wordsize.h>. Check __x86_64__ instead of
4367 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4368 if __x86_64__ is defined. Use anonymous union on fpstate.
4370 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4373 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4375 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4376 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4377 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4378 Refer to _rtld_local_ro instead of _rtld_global_ro.
4379 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4381 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4383 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4385 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4386 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4387 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4389 * sysdeps/powerpc/powerpc32/dl-machine.c
4390 (__elf_machine_runtime_setup) [PROF]: Don't reference
4393 2012-05-18 Andreas Jaeger <aj@suse.de>
4395 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4396 function only available for GCCs before 3.4 since GCC 3.4
4397 introduced a builtin.
4399 (llrintf): Likewise.
4407 (nearbyint): Likewise.
4408 (nearbyintf): Likewise.
4414 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4416 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4417 on both fields and cast pointer to __syscall_ulong_t.
4419 * bits/types.h (__fsword_t): New type.
4420 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4421 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4422 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4423 (__FSWORD_T_TYPE): Likewise.
4424 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4425 (__FSWORD_T_TYPE): Likewise.
4426 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4427 (__FSWORD_T_TYPE): Likewise.
4428 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4429 (__FSWORD_T_TYPE): Likewise.
4430 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4431 __SWORD_TYPE with __fsword_t.
4432 (statfs64): Likewise.
4434 2012-05-17 David S. Miller <davem@davemloft.net>
4436 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4438 2012-05-17 Andreas Jaeger <aj@suse.de>
4440 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4443 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4445 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4447 2012-05-17 Andreas Jaeger <aj@suse.de>
4449 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4452 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4454 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4456 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4458 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4459 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4461 2012-05-17 Andreas Jaeger <aj@suse.de>
4462 Carlos O'Donell <carlos_odonell@mentor.com>
4465 * sysdeps/x86_64/multiarch/init-arch.h
4466 (bit_YMM_Usable): Rename to...
4467 (bit_AVX_Usable): ... this.
4468 (bit_FMA4_Usable): New macro.
4469 (bit_XMM_state): New macro.
4470 (bit_YMM_state): New macro.
4471 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4472 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4473 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4474 (CPUID_OSXSAVE): New macro.
4475 (CPUID_AVX): New macro.
4476 (CPUID_FMA4): New macro.
4477 (index_YMM_Usable): Rename to...
4478 (index_AVX_Usable): ... this.
4479 (HAS_AVX): Use HAS_ARCH_FEATURE.
4480 (HAS_FMA4): Likewise.
4481 (HAS_YMM_USABLE): Remove.
4482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4483 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4485 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4486 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4487 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4488 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4489 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4491 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4493 * math/libm-test.c: Support platforms without multiple rounding modes.
4494 * math/bug-nextafter.c: Support platforms without FP exceptions.
4495 * math/bug-nexttoward.c: Likewise.
4496 * math/test-fenv.c: Likewise.
4497 * math/test-misc.c: Likewise.
4498 * stdlib/bug-getcontext.c: Likewise.
4500 2012-05-17 Andreas Jaeger <aj@suse.de>
4502 * manual/examples/search.c (critter_cmp): Change signature to
4504 * manual/string.texi (Collation Functions): Likewise.
4506 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4508 * bits/types.h: Fold copyright years.
4509 * bits/typesizes.h: Likewise.
4510 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4511 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4512 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4513 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4514 * time/time.h: Likewise.
4516 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4519 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4520 in instead of returning them. Return void.
4521 (__libc_mallinfo): Accumulate over all arenas.
4522 (__malloc_stats): Adjust for change in int_mallinfo interface.
4524 2012-05-16 Roland McGrath <roland@hack.frob.com>
4527 * configure.in (NM): Add AC_CHECK_TOOL for it.
4528 (libc_extra_cflags): New substituted variable.
4529 Check for -fstack-protector being used implicitly.
4530 * configure: Regenerated.
4531 * config.make.in (config-extra-cflags): New variable,
4532 gets @libc_extra_cflags@.
4533 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4536 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4537 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4538 * configure: Regenerated.
4539 * config.make.in (CPPUNDEFS): New substituted variable.
4540 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4541 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4542 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4544 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4546 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4547 (mq_attr): Use __syscall_slong_t.
4549 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4551 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4552 Check __x86_64__ instead of __WORDSIZE.
4553 (_STAT_VER_LINUX): Likewise.
4554 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4555 __syscall_ulong_t and __syscall_slong_t.
4558 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4560 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4562 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4564 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4566 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4568 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4571 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4572 include <bits/wordsize.h>. Check __x86_64__ instead of
4574 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4576 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4578 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4579 include <bits/wordsize.h>. Check __x86_64__ instead of
4581 (user_regs_struct): Use "__extension__ unsigned long long"
4582 instead of "unsigned long" if __x86_64__ is defined.
4583 (user): Likewise. Pad after pointer field if __ILP32__ is
4586 2012-05-16 Joseph Myers <joseph@codesourcery.com>
4588 * configure.in (makeinfo): Require version 4.5 or later. Allow
4590 * configure: Regenerated.
4591 * manual/install.texi (texinfo): Increase version requirement to
4593 * INSTALL: Regenerated.
4595 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4597 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4599 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4601 * sysdeps/x86_64/x32/ffs.c: New file.
4603 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4605 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4606 defined. Use __syscall_ulong_t.
4607 (shminfo): Use __syscall_ulong_t.
4608 (shm_info): Likewise.
4610 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4613 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4615 (msgqnum_t): Use __syscall_ulong_t.
4616 (msglen_t): Likewise.
4617 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4620 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4621 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4623 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4625 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4626 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4628 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4631 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4632 include <bits/wordsize.h>. Check __x86_64__ instead of
4635 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4636 "unsigned long long int" if __x86_64__ is defined.
4637 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4639 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4640 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4641 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4643 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4645 (GET_PC): Cast to uintptr_t first.
4646 (GET_FRAME): Likewise.
4647 (GET_STACK): Likewise.
4649 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4650 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4651 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4652 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4653 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4654 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4655 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4656 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4657 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4658 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4659 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4660 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4661 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4662 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4663 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4664 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4665 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4666 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4667 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4668 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4669 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4670 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4671 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4672 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4673 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4674 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4675 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4676 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4677 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4679 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4681 * Makerules (+depfiles): Also collect depfiles from .oS in
4683 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4684 .oS, $(libnldbl-routines)).
4686 * Makerules (native-compile-mkdep-flags): Define.
4687 * sunrpc/Makefile (extra-objs): Add $(addprefix
4688 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4689 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4690 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4691 calling $(make-target-directory).
4693 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4695 * bits/types.h (__snseconds_t): Removed.
4696 * time/time.h (struct timespec): Replace __snseconds_t with
4698 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4699 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4701 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4702 (__SNSECONDS_T_TYPE): Likewise.
4703 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4704 (__SNSECONDS_T_TYPE): Likewise.
4705 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4706 (__SNSECONDS_T_TYPE): Likewise.
4708 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4710 * sysdeps/mach/hurd/bits/typesizes.h
4711 (__SYSCALL_SLONG_TYPE): New macro.
4712 (__SYSCALL_ULONG_TYPE): Likewise.
4714 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4716 * bits/types.h (__syscall_slong_t): New type.
4717 (__syscall_ulong_t): Likewise.
4719 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4720 (__SYSCALL_ULONG_TYPE): Likewise.
4721 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4722 (__SYSCALL_SLONG_TYPE): Likewise.
4723 (__SYSCALL_ULONG_TYPE): Likewise.
4724 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4725 (__SYSCALL_SLONG_TYPE): Likewise.
4726 (__SYSCALL_ULONG_TYPE): Likewise.
4727 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4728 (__SYSCALL_SLONG_TYPE): Likewise.
4729 (__SYSCALL_ULONG_TYPE): Likewise.
4731 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4733 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4734 Add sigaltstack-offsets.sym.
4735 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4736 <sigaltstack-offsets.h>.
4737 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4738 longjmp_msg pointer.
4739 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4740 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4742 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4744 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4746 * elf/stackguard-macros.h: Remove file.
4747 * sysdeps/generic/stackguard-macros.h: New file.
4748 * sysdeps/i386/stackguard-macros.h: Likewise.
4749 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4750 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4751 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4752 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4753 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4754 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4755 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4756 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4757 <elf/stackguard-macros.h>.
4760 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4761 __aligned__ in attribute.
4762 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4763 (gregset_t): Likewise.
4765 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4767 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4768 * sysdeps/x86_64/64/Implies-after: Here. New file.
4769 * sysdeps/x86_64/x32/Implies-after: New file.
4771 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4773 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4774 and access return value for _dl_profile_fixup. Use R10_LP to
4777 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4779 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4781 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4783 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4784 * sysdeps/x86_64/x32/sysdep.h: New file.
4786 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4788 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4789 * sysdeps/x86_64/setjmp.S: Likewise.
4791 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4793 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4794 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4795 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4796 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4797 remove unused global constant.
4799 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4801 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4802 include of <not-cancel.h>.
4804 2012-05-15 Roland McGrath <roland@hack.frob.com>
4806 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4808 2012-05-15 Jeff Law <law@redhat.com>
4809 Andreas Jaeger <aj@suse.de>
4812 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4814 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4815 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4816 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4817 code changing __hst_map_handle.map.
4819 2012-05-15 Roland McGrath <roland@hack.frob.com>
4821 * configure.in (sysnames): Look for Implies-before and Implies-after
4823 * configure: Regenerated.
4825 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4827 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4828 8-byte data alignment with LP_SIZE alignment.
4830 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4832 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4835 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4837 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4839 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4841 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4842 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4843 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4845 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4847 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4849 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4850 (stackinfo_sub_sp): Likewise.
4852 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4854 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4857 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4859 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4862 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4864 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4869 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4873 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4874 into R11_LP and load __x86_64_shared_cache_size_half into
4877 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4879 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4882 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4884 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4886 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4890 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4891 powerpc32/power7/fpu/s_logb.c via #include.
4892 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4893 powerpc32/power7/fpu/s_logbf.c via #include.
4894 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4895 powerpc32/power7/fpu/s_logbl.c via #include.
4897 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4899 * README.libm: Remove file.
4901 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4903 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4904 count for x32. Use R*_LP and omit operand-size suffix.
4906 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4908 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4909 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4910 * sysdeps/x86_64/x32/shlib-versions: New file.
4912 2012-05-14 Roland McGrath <roland@hack.frob.com>
4914 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4915 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4916 Use _dl_fatal_printf instead.
4918 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4920 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4921 set if not set by the user. Do not allow for being unset.
4922 * sysdeps/unix/sysv/linux/configure: Regenerated.
4924 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4926 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4927 the `q' suffix from lea and replace .quad with ASM_ADDR.
4929 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4932 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4934 (PTR_DEMANGLE): Likewise.
4936 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4938 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4940 (ASM_ADDR): Likewise.
4958 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4960 * sysdeps/x86_64/x32/dl-machine.h: New file.
4962 2012-05-14 Andreas Jaeger <aj@suse.de>
4964 * manual/Makefile (subdir): Remove export of subdir.
4965 (all): Remove target.
4966 (.PHONY): Remove all from list.
4967 (mkinstalldirs): Remove.
4968 (.PHONY): Remove installdirs from list.
4969 ($(inst_infodir)/libc.info): Use make-target-directory.
4970 (installdirs): Remove.
4972 (glibc-targets): Remove.
4975 ($(objpfx)stubs ../po/manual.pot): Remove.
4976 ($(objpfx)stamp%): Remove.
4977 (make-target-directory): Remove.
4978 (subdir_install): Remove.
4986 * manual/.gitignore: Remove, it's not needed anymore.
4987 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4989 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4991 (texis): Renamed to $(objpfx)texis.
4992 (texis-path): New, contains path to generated files.
4993 (chapters.%): Use texis-path for complete path, add extra argument
4995 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4996 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4997 (summary,texi, stamp-summary): Use complete path of
4998 files. Generate files in build dir.
4999 (dir-add.texi): Build in build dir.
5000 (libm-err.texi,stamp-libm-err): Likewise.
5001 (version.texi, stamp-version): Likewise.
5002 (.%c.texi): Likewise.
5003 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5004 (mostlyclean): Remove target.
5005 (realclean): Remove target.
5006 (generated): Add new variable with contents from mostlyclean and
5007 realclean, remove entries duplicated in common-mostlyclean, add
5008 stamp-libm-err and stamp-version.
5009 (generated-dirs): Add libc directory.
5010 ($(inst_infodir)/libc.info): Install files from build dir.
5012 * manual/install.texi (Configuring and compiling): Adjust since
5013 the info files are not part of the tar ball anymore.
5015 2012-05-14 Andreas Jaeger <aj@suse.de>
5017 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5020 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5023 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5024 to 2.2.0 where earlier.
5025 * sysdeps/unix/sysv/linux/configure: Regenerated.
5026 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5027 Remove conditional code.
5028 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5029 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5030 Remove conditional code.
5031 [!__NR_lchown]: Likewise.
5032 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5033 [__NR_lchown]: Likewise.
5034 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5035 comment referencing __ASSUME_LCHOWN_SYSCALL.
5036 * sysdeps/unix/sysv/linux/i386/sigaction.c
5037 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5038 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5039 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5040 Remove conditional code.
5041 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5042 (__protocol_available): Remove #if 0 code.
5043 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5045 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5046 * sysdeps/unix/sysv/linux/kernel-features.h
5047 (__ASSUME_GETCWD_SYSCALL): Don't define.
5048 (__ASSUME_REALTIME_SIGNALS): Likewise.
5049 (__ASSUME_PREAD_SYSCALL): Likewise.
5050 (__ASSUME_PWRITE_SYSCALL): Likewise.
5051 (__ASSUME_POLL_SYSCALL): Likewise.
5052 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5053 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5055 (__ASSUME_SIOCGIFNAME): Don't define.
5056 (__ASSUME_MSG_NOSIGNAL): Likewise.
5057 (__ASSUME_SENDFILE): Define unconditionally.
5058 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5059 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5061 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5062 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5063 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5064 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5065 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5066 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5067 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5069 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5070 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5072 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5073 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5075 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5076 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5078 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5079 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5081 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5082 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5084 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5085 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5087 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5088 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5090 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5091 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5092 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5093 Remove conditional code.
5094 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5095 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5096 Remove conditional code.
5097 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5098 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5099 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5100 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5101 Remove conditional code.
5102 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5103 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5104 Remove conditional code.
5105 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5106 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5107 Remove conditional code.
5108 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5109 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5110 Remove conditional code.
5111 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5112 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5113 Remove conditional code.
5114 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5115 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5116 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5117 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5118 * sysdeps/unix/sysv/linux/sigaction.c
5119 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5120 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5121 * sysdeps/unix/sysv/linux/sigpending.c
5122 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5123 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5124 * sysdeps/unix/sysv/linux/sigprocmask.c
5125 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5126 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5127 * sysdeps/unix/sysv/linux/sigsuspend.c
5128 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5129 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5130 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5131 (__libc_missing_rt_sigs): Remove.
5132 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5133 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5134 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5135 Remove conditional code.
5136 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5137 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5139 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5140 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5141 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5142 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5144 2012-05-14 Andreas Jaeger <aj@suse.de>
5146 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5147 it's not used in glibc.
5148 (__coshm1): Likewise.
5149 (__acosh1p): Likewise.
5152 * manual/string.texi (Copying and Concatenation): Add missing
5153 variable in concat example.
5154 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5156 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5159 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5160 __builtin_clzl with __builtin_clzll.
5162 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5165 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5168 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5170 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5171 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5172 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5173 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5175 2012-05-14 Mike Frysinger <vapier@gentoo.org>
5177 * NEWS: Update ia64 info.
5179 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5181 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5184 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5186 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5187 * sysdeps/unix/syscalls.list (dup3): Likewise.
5188 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5189 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5191 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5193 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5194 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5196 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5198 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5200 (TLS_IE): Use mov/add instead of movq/addq to load thread
5202 (TLS_GD_PREFIX): New.
5205 2012-05-11 David S. Miller <davem@davemloft.net>
5207 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5208 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5209 (_FPU_SETCW): Likewise.
5211 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5213 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5216 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5219 * iconvdata/gb18030.c: Update tables.
5220 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5221 characters specially.
5222 (BODY for TO_LOOP): Add encoding of missing ranges.
5224 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5227 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5228 * sysdeps/mach/hurd/dup3.c: Likewise.
5229 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5230 * sysdeps/powerpc/memmove.c:: Likewise.
5232 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5234 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5235 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5237 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5239 * elf/elf.h (R_X86_64_RELATIVE64): New.
5240 (R_X86_64_NUM): Updated.
5241 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5242 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5243 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5244 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5245 tst-quad1pie tst-quad2pie
5246 (modules-names): Add tst-quadmod1 tst-quadmod2.
5247 ($(objpfx)tst-quad1): New dependency.
5248 ($(objpfx)tst-quad2): Likewise.
5249 ($(objpfx)tst-quad1pie): Likewise.
5250 ($(objpfx)tst-quad2pie): Likewise.
5251 * sysdeps/x86_64/tst-quad1.c: New file.
5252 * sysdeps/x86_64/tst-quad1pie.c: New file.
5253 * sysdeps/x86_64/tst-quad2.c: Likewise.
5254 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5255 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5256 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5257 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5258 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5260 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5262 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5263 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5264 * streams/stropts.h (t_scalar_t): Define type.
5266 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5267 (_PATH_PRESERVE): Set to "/var/lib".
5268 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5270 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5273 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5274 if __dir_mkfile succeeded.
5276 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5277 checking for _hurd_dtablesize. Unlock it right after having
5278 finished _hurd_dtable allocation.
5280 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5282 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5283 * sysdeps/mach/hurd/configure: Regenerated.
5284 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5285 special-casing to...
5286 * sysdeps/gnu/configure.in: ... this new file.
5287 * sysdeps/unix/sysv/linux/configure: Regenerated.
5288 * sysdeps/gnu/configure: New generated file.
5290 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5291 for Linux: use nsec instead of usec, as well as:
5292 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5293 members of type struct timespec.
5294 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5296 (struct stat64): Likewise.
5297 (_STATBUF_ST_NSEC): New macro.
5298 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5300 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5301 __strtoul_internal rather than strtoul.
5303 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5305 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5308 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5310 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5311 which preserves existing values.
5312 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5314 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5316 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5317 TIMEOUT values. Return EINVAL for NFDS values either negative or
5318 greater than FD_SETSIZE.
5320 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5322 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5323 allocated, call __vm_protect to finish enabling the existing space, and
5324 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5325 allocate the remainder.
5327 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5329 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5330 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5332 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5334 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5335 sysdeps/mach/hurd/readlink.c.
5337 * posix/tst-sysconf.c (posix_options): Only use
5338 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5339 _POSIX_SYNCHRONIZED_IO when they are defined
5340 * sysdeps/mach/hurd/bits/posix_opt.h:
5341 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5342 (_XOPEN_REALTIME): Undefine macro.
5343 (_XOPEN_REALTIME_THREADS): Undefine macro.
5344 (_XOPEN_SHM): Undefine macro.
5345 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5347 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5349 (_POSIX_ASYNC_IO): Undefine macro.
5350 (_POSIX_PRIORITIZED_IO): Undefine macro.
5351 (_POSIX_SPIN_LOCKS): Define macro to -1.
5353 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5354 SA_NODEFER, SA_RESETHAND.
5355 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5356 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5359 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5361 * elf/Makefile (pldd-modules): Define unconditionally.
5363 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5365 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5367 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5369 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5370 Return ENOENT when name is empty.
5371 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5373 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5375 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5377 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5379 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5381 Fix mlock in all cases except non-readable pages.
5382 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5383 instead of VM_PROT_ALL as parameter to __vm_wire function.
5385 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5386 (__mkdir): When path is `/', just fail with EEXIST.
5387 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5389 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5391 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5392 <sys/uio.h> (for writev).
5393 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5394 and <sys/param.h> (for MIN).
5396 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5398 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5399 REQUESTED_TIME. Properly set the remaining time and return EINTR
5402 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5404 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5405 Depend on against $(link-rpcuserlibs).
5407 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5409 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5410 (__libc_stack_end): Do not use attribute_relro.
5411 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5412 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5413 to libthread-provided value.
5414 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5417 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5420 * bits/libc-lock.h (__libc_once_get): New macro.
5421 * sysdeps/mach/bits/libc-lock.h: Likewise.
5422 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5423 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5424 instead of using implementation details.
5426 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5427 * libio/freopen.c: Likewise.
5428 * libio/freopen64.c: Likewise.
5429 * misc/syslog.c: Likewise.
5430 * nscd/connections.c: Likewise.
5431 * nscd/netgroupcache.c: Likewise.
5432 * sysdeps/posix/getcwd.c: Likewise.
5434 2012-05-10 Roland McGrath <roland@hack.frob.com>
5436 * math/w_ilogbf.c: Add #include <limits.h>.
5438 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5440 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5441 path instead of returning without unlocking.
5443 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5444 immediate-write ioctls.
5445 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5447 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5449 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5450 __builtin_frame_address instead of making assumptions about the
5451 location of the return address relative to DATA. Force early load of
5453 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5454 __builtin_frame_address.
5457 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5458 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5459 implement dup3 and do some further code clean-ups.
5460 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5461 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5463 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5465 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5467 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5468 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5469 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5470 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5471 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5474 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5475 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5476 when handler == SIG_ERR, not when handler != SIG_ERR.
5478 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5480 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5481 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5484 accept4 for GNU Hurd.
5485 * include/sys/socket.h (__libc_accept4): New prototype.
5486 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5487 to implement __libc_accept4.
5488 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5490 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5492 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5493 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5494 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5497 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5499 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5501 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5503 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5504 assertion on O_CLOEXEC flag.
5505 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5506 * hurd/intern-fd.c: Likewise.
5507 * hurd/port2fd.c: Likewise.
5509 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5512 * bits/in.h (IPV6_PKTINFO): Define new macro.
5513 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5515 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5520 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5521 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5522 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5523 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5524 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5525 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5526 * math/libm-test.inc (logb_test) : Additional logb tests.
5528 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5529 Andreas Jaeger <aj@suse.de>
5531 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5532 * configure: Regenerated.
5533 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5534 * config.make.in (link-obsolete-rpc): New substituted variable.
5535 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5536 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5537 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5538 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5539 so that libc.a contains the symbols.
5540 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5541 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5542 * sunrpc/auth_none.c: Likewise.
5543 * sunrpc/auth_unix.c: Likewise.
5544 * sunrpc/authdes_prot.c: Likewise.
5545 * sunrpc/authuxprot.c: Likewise.
5546 * sunrpc/clnt_gen.c: Likewise.
5547 * sunrpc/clnt_perr.c: Likewise.
5548 * sunrpc/clnt_raw.c: Likewise.
5549 * sunrpc/clnt_simp.c: Likewise.
5550 * sunrpc/clnt_tcp.c: Likewise.
5551 * sunrpc/clnt_udp.c: Likewise.
5552 * sunrpc/clnt_unix.c: Likewise.
5553 * sunrpc/des_crypt.c: Likewise.
5554 * sunrpc/des_soft.c: Likewise.
5555 * sunrpc/get_myaddr.c: Likewise.
5556 * sunrpc/key_call.c: Likewise.
5557 * sunrpc/key_prot.c: Likewise.
5558 * sunrpc/netname.c: Likewise.
5559 * sunrpc/pm_getmaps.c: Likewise.
5560 * sunrpc/pm_getport.c: Likewise.
5561 * sunrpc/pmap_clnt.c: Likewise.
5562 * sunrpc/pmap_prot.c: Likewise.
5563 * sunrpc/pmap_prot2.c: Likewise.
5564 * sunrpc/pmap_rmt.c: Likewise.
5565 * sunrpc/publickey.c: Likewise.
5566 * sunrpc/rpc_cmsg.c: Likewise.
5567 * sunrpc/rpc_common.c: Likewise.
5568 * sunrpc/rpc_dtable.c: Likewise.
5569 * sunrpc/rpc_prot.c: Likewise.
5570 * sunrpc/rpc_thread.c: Likewise.
5571 * sunrpc/rtime.c: Likewise.
5572 * sunrpc/svc.c: Likewise.
5573 * sunrpc/svc_auth.c: Likewise.
5574 * sunrpc/svc_raw.c: Likewise.
5575 * sunrpc/svc_run.c: Likewise.
5576 * sunrpc/svc_tcp.c: Likewise.
5577 * sunrpc/svc_udp.c: Likewise.
5578 * sunrpc/svc_unix.c: Likewise.
5579 * sunrpc/svcauth_des.c: Likewise.
5580 * sunrpc/xcrypt.c: Likewise.
5581 * sunrpc/xdr.c: Likewise.
5582 * sunrpc/xdr_array.c: Likewise.
5583 * sunrpc/xdr_float.c: Likewise.
5584 * sunrpc/xdr_intXX_t.c: Likewise.
5585 * sunrpc/xdr_mem.c: Likewise.
5586 * sunrpc/xdr_rec.c: Likewise.
5587 * sunrpc/xdr_ref.c: Likewise.
5588 * sunrpc/xdr_sizeof.c: Likewise.
5589 * sunrpc/xdr_stdio.c: Likewise.
5591 2012-05-10 Roland McGrath <roland@hack.frob.com>
5593 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5594 change. Update copyright years.
5596 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5598 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5600 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5601 Joseph Myers <joseph@codesourcery.com>
5602 Paul Pluzhnikov <ppluzhnikov@google.com>
5605 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5607 [cross-compiling] (extra-libs): Likewise.
5608 [cross-compiling] (extra-libs-others): Likewise.
5609 [cross-compiling] (librpcsvc-routines): Likewise.
5610 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5611 [cross-compiling] (omit-deps): Likewise.
5612 (sunrpc-CPPFLAGS): New variable.
5613 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5614 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5615 (cross-rpcgen-objs): New variable.
5616 (extra-objs): Append $(cross-rpcgen-objs).
5617 ($(cross-rpcgen-objs)): New rule.
5618 ($(objpfx)cross-rpcgen): Likewise.
5619 (rpcgen-cmd): Define to use $(built-program-file). Expand
5621 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5622 ($(objpfx)x%.stmp): Likewise.
5623 * sunrpc/proto.h [IS_IN_build] (_): Define.
5624 [IS_IN_build] (_libc_intl_domainname): Likewise.
5626 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5628 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5629 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5630 and R_X86_64_TPOFF64.
5632 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5634 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5635 sysdeps/unix/sysv/syscalls.list.
5638 * sysdeps/unix/sysv/syscalls.list: Remove file.
5640 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5643 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5644 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5645 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5646 (__LC_IDENTIFICATION): Make these macros useful in #if
5647 expressions, as required by C99.
5649 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5651 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5652 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5655 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5657 * stdlib/longlong.h: Updated from GCC.
5659 2012-05-09 Andreas Jaeger <aj@suse.de>
5661 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5662 default is first entry.
5663 (run_mode): Set type.
5664 (main): Remove informal message about syslog.
5665 (options): Fix typo.
5668 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5671 (llrintf): Likewise.
5675 (nearbyint): Likewise.
5676 (nearbyintf): Likewise.
5678 2012-05-09 Andreas Jaeger <aj@suse.de>
5679 Pedro Alves <palves@redhat.com>
5681 * nscd/nscd.c (run_mode): Use enum.
5682 (main): Cleanup coding style issue.
5684 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
5685 Andreas Jaeger <aj@suse.de>
5687 * nscd/nscd.c (go_background): Replaced with...
5688 (run_mode): ... this.
5689 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5690 (options): Add -F --foreground.
5691 (main): Implement it.
5692 (parse_opt): Parse it.
5694 2012-05-09 Andreas Jaeger <aj@suse.de>
5697 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5698 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5699 -Wconversion warning.
5700 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5703 2012-05-09 Joseph Myers <joseph@codesourcery.com>
5705 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5707 (LC_ALL): Use macro-int-constant.
5708 (LC_COLLATE): Likewise.
5709 (LC_CTYPE): Likewise.
5710 (LC_MESSAGES): Likewise.
5711 (LC_MONETARY): Likewise.
5712 (LC_NUMERIC): Likewise.
5713 (LC_TIME): Likewise.
5714 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5715 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5716 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5717 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5719 [C99-based standards] (float_t): Expect type.
5720 [C99-based standards] (double_t): Expect type.
5721 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5723 [C99-based standards] (HUGE_VALL): Likewise.
5724 [C99-based standards] (INFINITY): Likewise.
5725 [C99-based standards] (NAN): Likewise.
5726 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5727 [C99-based standards] (FP_NAN): Likewise.
5728 [C99-based standards] (FP_NORMAL): Likewise.
5729 [C99-based standards] (FP_SUBNORMAL): Likewise.
5730 [C99-based standards] (FP_ZERO): Likewise.
5731 [C99-based standards] (FP_FAST_FMA): Use
5732 optional-macro-int-constant. Specify type. Require == 1.
5733 [C99-based standards] (FP_FAST_FMAF): Likewise.
5734 [C99-based standards] (FP_FAST_FMAL): Likewise.
5735 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5736 [C99-based standards] (FP_ILOGBNAN): Likewise.
5737 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5739 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5740 [C99-based standards] (math_errhandling): Specify type.
5741 [ISO99 || ISO11] (signgam): Do not allow.
5742 [non-C99-based standards] (copysignf): Do not allow.
5743 [non-C99-based standards] (exp2f): Likewise.
5744 [non-C99-based standards] (log2f): Likewise.
5745 [non-C99-based standards] (modff): Allow.
5746 [non-C99-based standards] (erff): Do not allow.
5747 [non-C99-based standards] (erfcf): Likewise.
5748 [non-C99-based standards] (gammaf): Likewise.
5749 [non-C99-based standards] (hypotf): Likewise.
5750 [non-C99-based standards] (j0f): Likewise.
5751 [non-C99-based standards] (j1f): Likewise.
5752 [non-C99-based standards] (jnf): Likewise.
5753 [non-C99-based standards] (lgammaf): Likewise.
5754 [non-C99-based standards] (tgammaf): Likewise.
5755 [non-C99-based standards] (y0f): Likewise.
5756 [non-C99-based standards] (y1f): Likewise.
5757 [non-C99-based standards] (ynf): Likewise.
5758 [non-C99-based standards] (isnanf): Likewise.
5759 [non-C99-based standards] (acoshf): Likewise.
5760 [non-C99-based standards] (asinhf): Likewise.
5761 [non-C99-based standards] (atanhf): Likewise.
5762 [non-C99-based standards] (cbrtf): Likewise.
5763 [non-C99-based standards] (expm1f): Likewise.
5764 [non-C99-based standards] (ilogbf): Likewise.
5765 [non-C99-based standards] (log1pf): Likewise.
5766 [non-C99-based standards] (logbf): Likewise.
5767 [non-C99-based standards] (nextafterf): Likewise.
5768 [non-C99-based standards] (remainderf): Likewise.
5769 [non-C99-based standards] (rintf): Likewise.
5770 [non-C99-based standards] (scalbf): Likewise.
5771 [non-C99-based standards] (copysignl): Likewise.
5772 [non-C99-based standards] (exp2l): Likewise.
5773 [non-C99-based standards] (log2l): Likewise.
5774 [non-C99-based standards] (modfl): Allow.
5775 [non-C99-based standards] (erfl): Do not allow.
5776 [non-C99-based standards] (erfcl): Likewise.
5777 [non-C99-based standards] (gammal): Likewise.
5778 [non-C99-based standards] (hypotl): Likewise.
5779 [non-C99-based standards] (j0l): Likewise.
5780 [non-C99-based standards] (j1l): Likewise.
5781 [non-C99-based standards] (jnl): Likewise.
5782 [non-C99-based standards] (lgammal): Likewise.
5783 [non-C99-based standards] (tgammal): Likewise.
5784 [non-C99-based standards] (y0l): Likewise.
5785 [non-C99-based standards] (y1l): Likewise.
5786 [non-C99-based standards] (ynl): Likewise.
5787 [non-C99-based standards] (isnanl): Likewise.
5788 [non-C99-based standards] (acoshl): Likewise.
5789 [non-C99-based standards] (asinhl): Likewise.
5790 [non-C99-based standards] (atanhl): Likewise.
5791 [non-C99-based standards] (cbrtl): Likewise.
5792 [non-C99-based standards] (expm1l): Likewise.
5793 [non-C99-based standards] (ilogbl): Likewise.
5794 [non-C99-based standards] (log1pl): Likewise.
5795 [non-C99-based standards] (logbl): Likewise.
5796 [non-C99-based standards] (nextafterl): Likewise.
5797 [non-C99-based standards] (remainderl): Likewise.
5798 [non-C99-based standards] (rintl): Likewise.
5799 [non-C99-based standards] (scalbl): Likewise.
5800 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5801 [non-C99-based standards] (FP_*): Do not allow.
5802 [C99-based standards] (FP_*): Change to
5803 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5804 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5806 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5807 (SIG_ERR): Likewise.
5808 [X/Open-based standards] (SIG_HOLD): Likewise.
5809 (SIG_IGN): Likewise.
5810 (SIGABRT): Use macro-int-constant. Specify type. Require
5815 (SIGSEGV): Likewise.
5817 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5818 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5819 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5820 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5821 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5822 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5823 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5824 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5825 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5826 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5827 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5828 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5829 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5830 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5831 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5832 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5833 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5834 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5835 [X/Open-based standards] (SIGTRAP): Likewise.
5836 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5837 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5838 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5839 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5840 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5843 2012-05-08 Ian Wienand <ianw@vmware.com>
5846 * time/tzset.c (__tzset_parse_tz): Update default rules for
5847 daylight time changes in the Energy Policy Act of 2005.
5849 2012-05-09 Andreas Jaeger <aj@suse.de>
5852 * elf/ldconfig.c (parse_conf): Change string to make clear that
5853 ldconfig only issued a warning if ld.so.conf does not exist.
5855 2012-05-08 David S. Miller <davem@davemloft.net>
5857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5858 movxtod instead of popping the value on the stack.
5860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5862 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5864 * config.h.in: Add HAVE_ARM_PCS_VFP.
5866 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
5869 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5870 checking but the checks are disabled for any reason.
5872 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5874 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5875 and ELF64_R_TYPE with ELFW(R_TYPE).
5877 2012-05-08 Joseph Myers <joseph@codesourcery.com>
5879 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5882 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5883 (settimeofday): Likewise.
5885 2012-05-08 Mike Frysinger <vapier@gentoo.org>
5887 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5888 a struct th_u2 inside the union, and move tu_block/tu_code into
5889 a new th_u3 union of tu_block/tu_code inside of that. Move
5890 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5891 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5892 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5893 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5894 (th_stuff): Change to th_u1.tu_stuff.
5896 (th_msg): Change to th_u1.th_u2.tu_data.
5898 2012-05-07 David S. Miller <davem@davemloft.net>
5900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5903 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5904 (SETUP_PIC_REG): Use it.
5905 (SETUP_PIC_REG_LEAF): Use it.
5907 2012-05-07 Joseph Myers <joseph@codesourcery.com>
5911 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5913 (EXPL_FINITE): Likewise.
5915 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5916 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5918 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5920 (EXPL_FINITE): Likewise.
5922 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5923 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5925 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5926 test of -max_value argument for long double.
5927 * sysdeps/i386/fpu/libm-test-ulps: Update.
5928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5930 2012-05-06 David S. Miller <davem@davemloft.net>
5932 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5933 quad soft-float symbols whose references which are compiler
5935 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5937 2012-05-06 Joseph Myers <joseph@codesourcery.com>
5941 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5943 (EXPL_FINITE): Likewise.
5947 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5948 Adjust comments for base varying.
5949 (__expl_finite): Change alias to EXPL_FINITE.
5950 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5952 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5953 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5954 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5955 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5956 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5958 (EXPL_FINITE): Likewise.
5962 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5963 Adjust comments for base varying.
5964 (__expl_finite): Change alias to EXPL_FINITE.
5965 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5970 * math/libm-test.inc (check_float_internal): Correct ulp
5971 calculation for subnormal expected results.
5973 2012-05-06 Andreas Jaeger <aj@suse.de>
5975 * Makeconfig (+math-flags): New, set to -frounding-math.
5976 (+cflags): Add +math-flags so that all of glibc gets compiled with
5979 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5981 2012-05-05 Joseph Myers <joseph@codesourcery.com>
5983 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5989 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5990 (__ieee754_expl): Allow for and saturate large arguments.
5991 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5992 (u_threshold): Likewise.
5993 (__exp): Call __ieee754_exp before checking for overflow and
5995 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5996 (u_threshold): Likewise.
5997 (__expf): Call __ieee754_expf before checking for overflow and
5999 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6000 (u_threshold): Likewise.
6001 (__expl): Call __ieee754_expl before checking for overflow and
6003 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6004 (__ieee754_expl): Allow for and saturate large arguments.
6005 * math/libm-test.inc (exp_test): Add another test. Do not allow
6006 missing overflow exception on overflow.
6007 (expm1_test): Do not allow missing overflow exception on overflow.
6009 * sysdeps/i386/fpu/e_expl.c: Move to ...
6010 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6011 rather than using inline asm.
6012 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6013 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6014 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6016 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6023 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6025 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6026 sysdeps/unix/common/syscalls.list.
6029 (ftruncate): Likewise.
6030 (getrusage): Likewise.
6031 (gettimeofday): Likewise.
6032 (setpgid): Likewise.
6033 (setregid): Likewise.
6034 (setreuid): Likewise.
6035 (sigaction): Likewise.
6036 (truncate): Likewise.
6037 (vhangup): Likewise.
6038 * sysdeps/unix/common/syscalls.list: Remove file.
6039 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6040 * sysdeps/unix/sysv/linux/Implies: Likewise.
6042 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6044 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6046 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6050 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6052 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6053 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6056 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6059 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6062 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6065 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6068 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6072 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6076 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6079 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6083 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6087 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6089 * sysdeps/unix/common/bits/dirent.h: Remove file.
6090 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6092 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6093 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6094 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6095 * sysdeps/unix/bsd/isatty.c: Likewise.
6096 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6097 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6098 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6100 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6103 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6104 long double comparison inaccuracies.
6105 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6108 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6110 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6111 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6113 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6116 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6117 nonzero digits before rounding a hex value.
6118 * stdlib/tst-strtod.c (tests): Add another test.
6120 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6122 * sysdeps/s390/fpu/libm-test-ulps: Update.
6124 2012-05-03 Andreas Jaeger <aj@suse.de>
6126 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6127 does not get optimized out.
6128 (malloc_opt_barrier): New.
6130 2012-05-03 Andreas Jaeger <aj@suse.de>
6131 Roland McGrath <roland@hack.frob.com>
6133 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6134 intermediate file deletion.
6135 (generated): Add .symlist files.
6137 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6140 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6141 Redirect under this condition.
6142 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6143 [__USE_GNU] (__dprintf_chk): Not under this condition.
6144 [__USE_GNU] (__vdprintf_chk): Likewise.
6145 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6146 under this condition.
6147 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6148 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6149 [__USE_XOPEN2K8] (vdprintf): Likewise.
6150 [__USE_GNU] (__dprintf_chk): Not under this condition.
6151 [__USE_GNU] (__vdprintf_chk): Likewise.
6152 [__USE_GNU] (dprintf): Likewise.
6153 [__USE_GNU] (vdprintf): Likewise.
6155 2012-05-03 Roland McGrath <roland@hack.frob.com>
6157 * elf/Makefile (common-generated): Set this instead of generated for
6158 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6159 $(all-built-dso)-derived lists.
6161 2012-05-03 Andreas Jaeger <aj@suse.de>
6163 * sysdeps/i386/fpu/libm-test-ulps: Update.
6167 * scripts/gen-FAQ.pl: Likewise.
6168 * manual/install.texi (Installation): Point to online location of
6170 * Makefile (files-for-dist): Remove FAQ.
6173 2012-05-02 Allan McRae <allan@archlinux.org>
6175 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6176 (LDFLAGS-reldepmod5.so): Likewise.
6177 (LDFLAGS-reldep6mod1.so): Likewise.
6178 (LDFLAGS-reldep6mod4.so): Likewise.
6179 (LDFLAGS-reldep8mod3.so): Likewise.
6180 (LDFLAGS-unload4mod1.so): Likewise.
6181 (LDFLAGS-unload4mod2.so): Likewise.
6182 (LDFLAGS-tst-initorder): Likewise.
6183 (LDFLAGS-tst-initordera2.so): Likewise.
6184 (LDFLAGS-tst-initordera3.so): Likewise.
6185 (LDFLAGS-tst-initordera4.so): Likewise.
6186 (LDFLAGS-tst-initorderb2.so): Likewise.
6187 (LDFLAGS-noload): Likewise.
6188 (LDFLAGS-next): Likewise.
6189 (LDFLAGS-order2mod1.so): Likewise.
6190 (LDFLAGS-order2mod2.so): Likewise.
6191 (LDFLAGS-tst-initorder2): Likewise.
6192 (LDFLAGS-tst-initorder2a.so): Likewise.
6193 (LDFLAGS-tst-initorder2b.so): Likewise.
6194 (LDFLAGS-tst-initorder2c.so): Likewise.
6195 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6197 2012-05-02 David S. Miller <davem@davemloft.net>
6199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6201 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6204 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6206 2012-05-02 Andreas Jaeger <aj@suse.de>
6208 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6209 since we manipulate rounding mode.
6210 (CPPFLAGS-test-idouble.c): Likewise.
6211 (CPPFLAGS-test-ifloat.c): Likewise.
6212 (CFLAGS-test-ldouble.c): Likewise.
6213 (CFLAGS-test-double.c): Likewise.
6214 (CFLAGS-test-float.c): Likewise.
6215 (CFLAGS-test-misc.c): Likewise.
6216 (CFLAGS-test-test-fenv.c): Likewise.
6218 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6222 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6223 comparisons to determine direction to adjust input.
6225 2012-05-01 Roland McGrath <roland@hack.frob.com>
6227 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6228 output to the target.
6230 * scripts/localplt.awk: New file.
6231 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6232 (check-localplt-CFLAGS): Variable removed.
6233 ($(all-built-dso:=.jmprel)): New static pattern rule.
6234 (generated): Add those targets.
6235 (localplt-built-dso): New variable.
6236 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6238 * elf/check-localplt.c: File removed.
6240 * scripts/check-execstack.awk: New file.
6241 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6242 (check-execstack-CFLAGS): Variable removed.
6243 ($(objpfx)check-execstack.h): Target removed.
6244 ($(objpfx)execstack-default): New target.
6245 (generated): Add that instead of check-execstack.h.
6246 ($(all-built-dso:=.phdr)): New static pattern rule.
6247 (generated): Add those targets.
6248 * elf/check-execstack.c: File removed.
6250 * scripts/check-textrel.awk: New file.
6251 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6252 (check-textrel-CFLAGS): Variable removed.
6253 (all-built-dso): Use := to define.o
6254 ($(all-built-dso:=.dyn)): New static pattern rule.
6255 (generated): Add those targets.
6256 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6257 * config.make.in (READELF): New substituted variable.
6258 * elf/check-textrel.c: File removed.
6260 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6262 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6264 * conform/data/ctype.h-data [C99-based standards] (isblank):
6266 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6267 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6268 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6269 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6270 Specify type. Require positive value.
6273 [ISO || POSIX] (EILSEQ): Do not expect.
6274 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6275 Specify type. Require positive value.
6276 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6277 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6278 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6279 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6280 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6281 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6282 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6283 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6284 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6285 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6286 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6287 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6288 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6289 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6290 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6291 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6292 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6293 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6294 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6295 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6296 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6297 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6298 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6299 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6300 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6301 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6302 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6303 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6304 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6305 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6306 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6307 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6308 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6309 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6310 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6311 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6312 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6313 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6314 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6315 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6316 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6317 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6318 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6319 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6320 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6321 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6322 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6323 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6324 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6325 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6326 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6327 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6328 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6329 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6330 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6331 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6332 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6333 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6334 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6335 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6336 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6337 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6338 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6339 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6340 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6341 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6342 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6343 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6344 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6345 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6346 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6347 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6348 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6349 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6350 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6351 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6352 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6354 (FLT_ROUNDS): Expect as macro, not constant.
6355 (FLT_MANT_DIG): Use macro-int-constant.
6356 (DBL_MANT_DIG): Likewise.
6357 (LDBL_MANT_DIG): Likewise.
6358 (FLT_DIG): Likewise.
6359 (DBL_DIG): Likewise.
6360 (LDBL_DIG): Likewise.
6361 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6362 (DBL_MIN_EXP): Likewise.
6363 (LDBL_MIN_EXP): Likewise.
6364 (FLT_MAX_EXP): Use macro-int-constant.
6365 (DBL_MAX_EXP): Likewise.
6366 (LDBL_MAX_EXP): Likewise.
6367 (FLT_MAX_10_EXP): Likewise.
6368 (DBL_MAX_10_EXP): Likewise.
6369 (LDBL_MAX_10_EXP): Likewise.
6370 (FLT_MAX): Use macro-constant.
6371 (DBL_MAX): Likewise.
6372 (LDBL_MAX): Likewise.
6373 (FLT_EPSILON): Use macro-constant. Give upper bound.
6374 (DBL_EPSILON): Likewise.
6375 (LDBL_EPSILON): Likewise.
6376 (FLT_MIN): Likewise.
6377 (DBL_MIN): Likewise.
6378 (LDBL_MIN): Likewise.
6379 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6380 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6381 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6382 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6383 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6384 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6385 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6386 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6387 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6388 [ISO11] (FLT_TRUE_MIN): Likewise.
6389 [ISO11] (LDBL_TRUE_MIN): Likewise.
6390 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6391 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6392 (SCHAR_MIN): Use macro-int-constant. Specify type.
6393 (SCHAR_MAX): Likewise.
6394 (UCHAR_MAX): Likewise.
6395 (CHAR_MIN): Likewise.
6396 (CHAR_MAX): Likewise.
6397 (MB_LEN_MAX): Use macro-int-constant.
6398 (SHRT_MIN): Use macro-int-constant. Specify type.
6399 (SHRT_MAX): Likewise.
6400 (USHRT_MAX): Likewise.
6401 (INT_MAX): Likewise.
6402 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6404 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6406 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6408 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6409 bound negative. Suffix upper bound with "L".
6410 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6412 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6414 [C99-based standards] (LLONG_MAX): Likewise.
6415 [C99-based standards] (ULLONG_MAX): Likewise.
6416 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6418 [ISO11] (max_align_t): Require type.
6419 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6421 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6422 from $CFLAGS, without defining away __attribute__ calls.
6423 (checknamespace): Use $CFLAGS_namespace.
6425 * conform/conformtest.pl (@keywords): Only include C99 keywords
6426 for standards based on C99 or C11.
6428 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6430 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6433 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6434 usability of symbols in #if.
6436 * conform/conformtest.pl: If macro or constant types start
6437 "promoted:", expect the symbol to be of the following type
6438 promoted by the integer promotions.
6440 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6441 in one place. Also handle "macro-constant".
6443 * conform/conformtest.pl: Only accept expected macro values with
6444 "==". Parse all "macro" lines in one place.
6445 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6447 * conform/conformtest.pl: Handle braced types on "constant" lines
6448 instead of handling "typed-constant".
6449 * conform/data/signal.h-data: Use "constant" instead of
6452 * conform/conformtest.pl: Handle "optional-" at start of lines in
6453 one place rather than duplicating several cases. Handle each
6454 format of "macro" line with initial "optional-".
6456 * conform/conformtest.pl: Only accept expected constant or
6457 optional-constant values with "==". Parse all "constant" lines in
6458 one place. Parse all "optional-constant" lines in one place.
6459 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6460 * conform/data/fmtmsg.h-data: Likewise.
6461 * conform/data/netinet/in.h-data: Likewise.
6462 * conform/data/tar.h-data: Likewise.
6463 * conform/data/limits.h-data: Use "==" form on "constant" and
6464 "optional-constant" lines.
6466 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6467 Use -std=c99 for XOPEN2K.
6468 (@knownproblems): Remove.
6469 (newtoken): Don't check %isknown.
6471 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6472 Do not expect macro.
6473 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6474 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6475 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6476 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6477 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6478 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6479 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6480 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6481 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6482 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6483 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6484 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6485 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6486 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6487 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6488 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6489 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6490 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6491 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6492 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6493 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6494 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6495 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6496 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6497 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6498 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6499 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6500 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6501 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6502 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6503 [XPG3] (acosh): Likewise.
6504 [XPG3] (asinh): Likewise.
6505 [XPG3] (atanh): Likewise.
6506 [XPG3] (cbrt): Likewise.
6507 [XPG3] (expm1): Likewise.
6508 [XPG3] (ilogb): Likewise.
6509 [XPG3] (log1p): Likewise.
6510 [XPG3] (logb): Likewise.
6511 [XPG3] (nextafter): Likewise.
6512 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6513 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6514 [XPG3] (remainder): Likewise.
6515 [XPG3] (rint): Likewise.
6516 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6517 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6518 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6519 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6520 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6521 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6522 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6523 [UNIX98 || XOPEN2K] (scalb): Expect.
6524 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6525 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6526 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6527 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6528 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6529 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6530 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6531 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6532 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6533 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6534 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6535 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6536 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6537 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6538 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6539 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6540 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6541 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6542 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6543 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6544 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6545 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6546 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6547 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6548 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6549 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6550 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6551 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6552 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6553 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6554 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6555 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6556 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6557 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6558 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6559 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6560 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6561 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6562 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6563 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6564 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6565 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6566 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6567 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6568 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6569 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6570 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6571 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6572 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6573 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6574 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6575 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6576 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6577 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6578 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6579 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6580 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6581 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6582 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6583 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6584 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6585 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6586 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6587 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6588 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6589 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6590 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6591 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6592 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6593 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6594 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6595 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6596 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6597 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6598 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6599 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6600 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6601 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6602 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6603 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6604 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6605 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6606 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6607 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6608 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6609 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6610 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6611 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6612 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6613 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6614 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6615 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6616 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6617 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6618 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6619 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6620 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6621 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6622 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6623 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6624 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6625 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6626 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6627 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6628 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6629 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6630 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6631 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6632 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6633 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6634 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6635 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6636 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6637 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6638 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6639 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6640 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6641 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6642 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6643 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6644 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6645 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6646 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6647 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6648 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6649 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6650 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6651 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6652 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6653 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6654 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6655 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6656 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6657 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6658 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6659 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6660 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6662 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6663 _XOPEN_SOURCE_EXTENDED for XPG4.
6665 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6667 * Makeconfig (localtime): Remove variable.
6668 (inst_localtime-file): Likewise.
6670 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6691 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6695 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6696 comparisons to determine direction to adjust input.
6697 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6698 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6699 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6701 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6703 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6705 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6706 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6708 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6710 * math/libm-test.inc (nexttoward_test): Add more tests.
6712 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6715 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6716 in version GLIBC_2.1, not GLIBC_2.0.
6717 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6720 2012-04-30 Joseph Myers <joseph@codesourcery.com>
6723 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6725 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6726 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6727 * math/libm-test.inc (acos_test): Add more tests.
6728 (asin_test): Likewise.
6729 * sysdeps/i386/fpu/libm-test-ulps: Update.
6730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6733 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6735 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6736 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6737 * math/libm-test.inc (acos_test_tonearest): New function.
6738 (acos_test_towardzero): Likewise.
6739 (acos_test_downward): Likewise.
6740 (acos_test_upward): Likewise.
6741 (asin_test_tonearest): Likewise.
6742 (asin_test_towardzero): Likewise.
6743 (asin_test_downward): Likewise.
6744 (asin_test_upward): Likewise.
6745 (main): Call the new functions.
6746 * sysdeps/i386/fpu/libm-test-ulps: Update.
6747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6751 * math/e_exp10.c: Include <float.h>.
6752 (__ieee754_exp10): Handle underflow here rather than multiplying
6753 large negative argument by M_LN10.
6754 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6756 * math/e_exp10l.c: Include <float.h>.
6757 (__ieee754_exp10l): Handle underflow here rather than multiplying
6758 large negative argument by M_LN10l.
6759 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6760 spurious overflow exception on underflow.
6762 2012-04-29 Marek Polacek <polacek@redhat.com>
6764 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6765 (__fortify_function): New macro.
6766 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6767 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6768 __extern_always_inline.
6769 * libio/bits/stdio2.h: Likewise.
6770 * libio/bits/stdio.h: Likewise.
6771 * string/string.h: Likewise.
6772 * string/bits/string3.h: Likewise.
6773 * include/stdio.h: Likewise.
6774 * stdlib/bits/stdlib.h: Likewise.
6775 * stdlib/stdlib.h: Likewise.
6776 * rt/bits/mqueue2.h: Likewise.
6777 * rt/mqueue.h: Likewise.
6778 * posix/bits/unistd.h: Likewise.
6779 * posix/unistd.h: Likewise.
6780 * io/bits/poll2.h: Likewise.
6781 * io/bits/fcntl2.h: Likewise.
6782 * io/fcntl.h: Likewise.
6783 * io/sys/poll.h: Likewise.
6784 * misc/bits/syslog.h: Likewise.
6785 * misc/bits/syslog-ldbl.h: Likewise.
6786 * misc/sys/syslog.h: Likewise.
6787 * socket/bits/socket2.h: Likewise.
6788 * socket/sys/socket.h: Likewise.
6789 * debug/tst-chk1.c: Likewise.
6790 * wcsmbs/bits/wchar2.h: Likewise.
6791 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6792 * wcsmbs/wchar.h: Likewise.
6794 2012-04-29 Andreas Jaeger <aj@suse.de>
6796 * Makerules (tests): Remove enable-check-abi protection.
6797 (check-abi-warn): Remove.
6798 (check-abi-%): Remove check-abi-warn usage.
6800 * configure.in: Remove check-abi configure option.
6801 * configure: Regenerated.
6802 * config.make.in (enable-check-abi): Remove.
6804 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6807 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6808 double functions to double *_finite functions.
6811 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6812 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6814 * stdio-common/Makefile (tests): Add tst-sprintf3.
6815 * stdio-common/tst-sprintf3.c: New file.
6817 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6818 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6820 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6822 * conform/conformtest.pl: Remove duplicate typed-constant
6825 2012-04-28 David S. Miller <davem@davemloft.net>
6827 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6828 (check-abi-%): Remove AWK script prerequisite and explicit
6830 (check-abi): Rewrite to just diff the symlist with the abilist.
6831 (config-tls, config-abi-config): Delete, no longer used.
6832 (update-abi-%): Remove AWK script and explicit abilist directory.
6833 (update-abi): Rewrite to simply compare and conditionally copy the
6834 symlist and the sysdep abilist file. Remove update-abi-config
6836 * abilist/ld.abilist: Remove.
6837 * abilist/libBrokenLocale.abilist: Remove.
6838 * abilist/libanl.abilist: Remove.
6839 * abilist/libcrypt.abilist: Remove.
6840 * abilist/libdl.abilist: Remove.
6841 * abilist/librt.abilist: Remove.
6842 * abilist/libthread_db.abilist: Remove.
6843 * abilist/libutil.abilist: Remove.
6844 * scripts/extract-abilist.awk: Remove.
6845 * scripts/merge-abilist.awk: Remove.
6846 * sysdeps/generic/libcidn.abilist: New file.
6847 * sysdeps/generic/libnss_compat.abilist: New file.
6848 * sysdeps/generic/libnss_db.abilist: New file.
6849 * sysdeps/generic/libnss_dns.abilist: New file.
6850 * sysdeps/generic/libnss_files.abilist: New file.
6851 * sysdeps/generic/libnss_hesiod.abilist: New file.
6852 * sysdeps/generic/libnss_nis.abilist: New file.
6853 * sysdeps/generic/libnss_nisplus.abilist: New file.
6854 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6855 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6856 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6858 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6859 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6860 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6861 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6862 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6863 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6864 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6865 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6866 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6868 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6869 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6870 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6871 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6873 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6874 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6875 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6876 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6877 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6878 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6880 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6881 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6882 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6884 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6885 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6887 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6889 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6891 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6893 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6895 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6897 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6899 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6901 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6903 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6905 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6907 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6909 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6987 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6988 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6989 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6991 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6992 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6993 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6994 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6995 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6996 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6997 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6998 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6999 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7000 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7052 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7054 * conform/conformtest.pl: Fix typo in handling typed-constant from
7057 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7059 * README: Cut down references to pre-2.6 Linux kernels and
7060 Linuxthreads. Update lists of configurations in libc and ports
7061 and sort alphabetically. Say "or newer" with Linux kernel version
7064 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7066 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7069 * math/libm-test.inc (logb_test_downward): New test to expose
7070 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7073 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7076 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7078 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7079 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7081 2012-04-26 Joseph Myers <joseph@codesourcery.com>
7083 * sysdeps/unix/i386/brk.S: Remove file.
7084 * sysdeps/unix/i386/dl-brk.S: Likewise.
7085 * sysdeps/unix/i386/pipe.S: Likewise.
7086 * sysdeps/unix/i386/sigreturn.S: Likewise.
7087 * sysdeps/unix/i386/syscall.S: Likewise.
7088 * sysdeps/unix/i386/vfork.S: Likewise.
7089 * sysdeps/unix/i386/wait.S: Likewise.
7091 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7092 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7094 * configure.in (arm*-none*): Do not allow without
7095 --enable-hacker-mode.
7096 (netbsd*): Remove case setting base_os.
7097 (386bsd*): Likewise.
7098 (freebsd*): Likewise.
7102 (ultrix*): Likewise.
7103 (newsos*): Likewise.
7113 (solaris[2-9]*): Likewise.
7115 * configure: Regenerated.
7117 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7120 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7121 overflow or cancellation in calculating denominator.
7122 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7123 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7124 down expression to avoid unexpected rounding in newer GCCs.
7125 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7127 2012-04-26 David S. Miller <davem@davemloft.net>
7129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7130 long-double compat symbols.
7131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7145 2012-04-25 David S. Miller <davem@davemloft.net>
7147 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7148 HWCAP_* values only after the memory barriers have been defined.
7149 (atomic_full_barrier): Define.
7150 (atomic_read_barrier): Define.
7151 (atomic_write_barrier): Define.
7153 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7155 * shlib-versions: Add libgcc_s version information.
7156 * sysdeps/generic/libgcc_s.h: Remove.
7157 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7159 * sysdeps/gnu/unwind-resume.c: Likewise.
7160 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7162 2012-04-25 David S. Miller <davem@davemloft.net>
7164 * sysdeps/unix/sparc/brk.S: Delete.
7165 * sysdeps/unix/sparc/dl-brk.S: Delete.
7166 * sysdeps/unix/sparc/pipe.S: Delete.
7167 * sysdeps/unix/sparc/sysdep.S: Delete.
7168 * sysdeps/unix/sparc/sysdep.h: Delete.
7169 * sysdeps/unix/sparc/vfork.S: Delete.
7170 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7171 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7172 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7173 ret_ERRVAL, r0, r1, MOVE): Define.
7174 (JUMPTARGET): Remove.
7175 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7176 sysdeps/unix/sparc/sysdep.h
7177 (ENTRY, END): Remove.
7178 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7180 2012-04-25 Joseph Myers <joseph@codesourcery.com>
7182 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7183 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7186 * timezone/README: Update upstream location and email address for
7188 * timezone/zdump.c: Update from tzcode 2012b.
7189 * timezone/zic.c: Likewise.
7191 * configure.in (libc_cv_as_needed): Remove test.
7192 * configure: Regenerated.
7193 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7194 conditional definition.
7195 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7196 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7197 * config.make.in (have-as-needed): Remove variable.
7199 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7200 Paul Pluzhnikov <ppluzhnikov@google.com>
7202 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7205 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7207 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7208 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7209 * sysdeps/sh/strlen.S: Likewise.
7211 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7213 * sysdeps/unix/fork.S: Remove file.
7214 * sysdeps/unix/i386/fork.S: Likewise.
7215 * sysdeps/unix/sparc/fork.S: Likewise.
7217 * sysdeps/unix/system.c: Remove file.
7218 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7220 * sysdeps/unix/getegid.S: Remove file.
7221 * sysdeps/unix/geteuid.S: Likewise.
7223 2012-04-24 Roland McGrath <roland@hack.frob.com>
7225 * scripts/check-localplt.awk: New file.
7226 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7228 * scripts/data/localplt-generic.data: Add a comment.
7230 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7231 NODE when __dir_mkfile failed.
7232 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7233 Reported by Ludovic Courtès <ludo@gnu.org>.
7235 2012-04-24 Andreas Jaeger <aj@suse.de>
7237 * Makerules (common-clean): Also remove gen-as-const-headers
7240 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7242 * Makerules (native-compile): Do not change working directory for
7243 build. Use $(OUTPUT_OPTION) in command.
7244 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7246 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7249 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7250 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7251 * math/libm-test.inc (floor_test): Add more tests.
7252 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7254 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7256 * sysdeps/unix/getdents.c: Remove file.
7257 * sysdeps/unix/sysv/getdents.c: Likewise.
7258 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7260 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7261 sysdeps/unix/mman/syscalls.list.
7263 (mprotect): Likewise.
7266 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7267 * sysdeps/unix/mman/syscalls.list: Remove.
7268 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7270 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7271 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7272 * configure: Regenerated.
7273 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7275 * config.make.in (libgcc_s_suffix): Remove variable.
7277 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7279 * sysdeps/unix/sysv/gethostname.c: Move to ...
7280 * sysdeps/posix/gethostname.c: ... here.
7282 * sysdeps/unix/execve.S: Remove file.
7284 * sysdeps/unix/_exit.S: Remove file.
7286 2012-04-23 Andreas Jaeger <aj@suse.de>
7289 * manual/Makefile: Remove make dist support, there's no
7290 need for a stand-alone documentation tar ball.
7291 (TEXI2DVI): Define always, it's not in Makeconfig.
7295 (glibc-doc-$(edition).tar): Removed
7299 (ETAGS): Remove, it's in Makeconfig.
7300 (move-if-change): Remove, it's in Makeconfig.
7302 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7305 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7306 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7307 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7308 (strtod_l, strtof_l, strtold_l): Remove __wur.
7309 It is not necessarily an error to ignore strtol's return value.
7310 One can reliably look at the stored endptr to decide whether
7311 the number had valid syntax.
7313 2012-04-21 Andreas Jaeger <aj@suse.de>
7316 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7318 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7320 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7321 * sysdeps/unix/sysv/Versions: Remove file.
7323 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7328 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7331 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7332 version from __vm86.
7334 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7336 * sysdeps/unix/common/lxstat.c: Remove file.
7337 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7339 * sysdeps/unix/sysv/Makefile: Remove file.
7341 * sysdeps/unix/sysv/direct.h: Remove file.
7343 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7344 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7345 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7346 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7347 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7348 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7349 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7351 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7353 * sysdeps/unix/xmknod.c: Remove file.
7354 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7356 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7358 * sysdeps/unix/sysv/i386/time.S: Remove file.
7360 * sysdeps/unix/fxstat.c: Remove file.
7361 * sysdeps/unix/xstat.c: Likewise.
7362 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7364 * sysdeps/unix/sysv/sigaction.c: Remove file.
7366 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7367 (sysdep_headers): Remove variable.
7368 [termio.h not in sysdep_headers] (generated): Likewise.
7369 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7370 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7371 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7372 * sysdeps/unix/sysv/tcflow.c: Likewise.
7373 * sysdeps/unix/sysv/tcflush.c: Likewise.
7374 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7375 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7376 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7377 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7378 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7380 * sysdeps/unix/siglist.c: Remove file.
7382 * sysdeps/unix/getppid.S: Remove file.
7384 * sysdeps/unix/mkdir.c: Remove file.
7385 * sysdeps/unix/rmdir.c: Likewise.
7387 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7389 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7391 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7392 errlist-compat value.
7394 2012-04-18 David S. Miller <davem@davemloft.net>
7396 * sysdeps/generic/memcopy.h (reg_char): Delete.
7397 * debug/strcat_chk.c: Use char, not reg_char.
7398 * debug/strcpy_chk.c: Likewise.
7399 * debug/strncat_chk.c: Likewise.
7400 * debug/strncpy_chk.c: Likewise.
7401 * string/memchr.c: Likewise.
7402 * string/memrchr.c: Likewise.
7403 * string/rawmemchr.c: Likewise.
7404 * string/strcat.c: Likewise.
7405 * string/strchr.c: Likewise.
7406 * string/strchrnul.c: Likewise.
7407 * string/strcmp.c: Likewise.
7408 * string/strcpy.c: Likewise.
7409 * string/strncat.c: Likewise.
7410 * string/strncmp.c: Likewise.
7411 * string/strncpy.c: Likewise.
7413 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7415 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7416 __builtin_memcopy is called when src and dest ranges are known to not
7419 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7421 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7422 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7423 fwd_align_merge macro call.
7424 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7425 bwd_align_merge macro call.
7426 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7428 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7430 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7431 bwd_align_merge macros.
7432 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7433 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7434 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7436 2012-04-18 David S. Miller <davem@davemloft.net>
7438 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7440 2012-04-18 Andreas Jaeger <aj@suse.de>
7443 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7444 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7445 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7447 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7448 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7449 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7451 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7452 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7453 Adjust for changed ldbl-128 files.
7455 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7456 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7457 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7459 2012-04-17 David S. Miller <davem@davemloft.net>
7461 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7463 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7465 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7466 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7467 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7468 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7469 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7470 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7472 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7475 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7476 * math/libm-test.inc: Add ilogb errno and exception tests.
7477 * math/w_ilogb.c: New file: ilogb wrapper.
7478 * math/w_ilogbf.c: New file: ilogbf wrapper.
7479 * math/w_ilogbl.c: New file: ilogbl wrapper.
7480 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7481 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7482 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7483 exception being thrown with 0.0 as argument.
7484 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7485 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7486 exception being thrown with 0.0 as argument.
7487 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7488 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7489 exception being thrown with 0.0 as argument.
7490 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7491 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7492 exception being thrown with 0.0 as argument.
7493 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7494 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7495 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7496 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7497 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7498 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7499 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7500 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7501 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7503 2012-04-17 Petr Baudis <pasky@ucw.cz>
7505 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7508 2012-04-16 Marek Polacek <polacek@redhat.com>
7510 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7512 2012-04-16 Marek Polacek <polacek@redhat.com>
7514 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7515 operands of fdivp instruction.
7517 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7519 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7520 * elf/tst-auditmod3b.c: Likewise.
7521 * elf/tst-auditmod4b.c: Likewise.
7522 * elf/tst-auditmod5b.c: Likewise.
7523 * elf/tst-auditmod6b.c: Likewise.
7524 * elf/tst-auditmod6c.c: Likewise.
7525 * elf/tst-auditmod7b.c: Likewise.
7526 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7527 * sysdeps/x86_64/preconfigure.in: Likewise.
7528 * sysdeps/x86_64/preconfigure: Regenerated.
7530 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7532 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7535 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
7537 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7538 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7540 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7543 * locale/iso-639.def: Fix gl language name. Spotted by
7546 2012-04-12 Roland McGrath <roland@hack.frob.com>
7549 * libio/libio.h (__io_write_fn): Update comment.
7551 2012-04-12 Petr Baudis <pasky@ucw.cz>
7554 * stdio.texi (Hook Functions): The user provided writer function
7555 is not allowed to return -1.
7557 2012-04-11 David S. Miller <davem@davemloft.net>
7559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7561 2012-04-11 Mike Frysinger <vapier@gentoo.org>
7563 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7564 Add a leading slash to rtkaio.
7566 2012-04-11 Jim Meyering <meyering@redhat.com>
7569 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7570 It is not necessarily an error to ignore fwrite's return
7571 value. One can reliably use ferror to test for errors after
7574 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7576 * bits/types.h (__snseconds_t): New type.
7577 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7579 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7580 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7581 (__SNSECONDS_T_TYPE): Likewise.
7582 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7583 (__SNSECONDS_T_TYPE): Likewise.
7584 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7585 (__SNSECONDS_T_TYPE): Likewise.
7587 2012-04-10 Andreas Jaeger <aj@suse.de>
7590 * manual/time.texi (Processor Time): Return type of times is
7591 elapsed real time since an arbitrary point in the past.
7592 (CPU Time): Move CLK_TCK from here...
7593 (Processor Time): ...to here. Correct description.
7594 * manual/conf.texi (Constants for Sysconf): Correct description of
7597 2012-04-10 David S. Miller <davem@davemloft.net>
7600 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7601 where the is a gap between DT_REL(A) and DT_JMPREL.
7603 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7605 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7606 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7607 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7609 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7611 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7612 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7613 (dl_main): Handle --inhibit-cache.
7614 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7616 * elf/dl-load.c (_dl_map_object): Use it.
7617 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7619 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7622 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7623 (__ieee754_powl): Saturate large exponents rather than testing for
7624 overflow of y*log2(x).
7625 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7626 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7630 * math/s_ctan.c: Include <float.h>.
7631 (__ctan): Avoid internal overflow or cancellation in calculating
7633 * math/s_ctanf.c: Likewise.
7634 * math/s_ctanl.c: Likewise.
7635 * math/s_ctanh.c: Likewise.
7636 * math/s_ctanhf.c: Likewise.
7637 * math/s_ctanhl.c: Likewise.
7638 * math/libm-test.inc (ctan_test): Add more tests.
7639 (ctanh_test): Likewise.
7640 * sysdeps/i386/fpu/libm-test-ulps: Update.
7641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7643 2012-04-09 Andreas Jaeger <aj@suse.de>
7646 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7647 is an optional BSD extension.
7650 * manual/stdio.texi (Opening Streams): Document additional fopen
7653 2012-04-09 Roland McGrath <roland@hack.frob.com>
7655 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7656 %eax without telling the compiler.
7658 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7661 * manual/install.texi: Use sourceware.org.
7663 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7666 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7667 (__ieee754_pow): Generate overflow and underflow using huge*huge
7668 and tiny*tiny rather than just returning constant infinity or zero
7669 for large exponents.
7670 * math/libm-test.inc (pow_test): Require overflow exceptions for
7671 applicable cases of large exponents.
7674 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7675 (__ieee754_pow): Use iterative multiplication algorithm only for
7676 integer exponents with absolute value below 1024. Check for odd
7677 integer exponents when using algorithm for real exponents.
7678 * math/libm-test.inc (pow_test): Add more tests.
7679 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7681 2012-04-08 Joseph Myers <joseph@codesourcery.com>
7684 * math/libm-test.inc (exp_test): Do not allow overflow exception
7687 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7690 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7691 instead of __kernel_standard_f.
7693 2012-04-08 Mike Frysinger <vapier@gentoo.org>
7695 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7696 * sysdeps/x86_64/memset_chk.S: Likewise.
7698 2012-04-08 Andreas Jaeger <aj@suse.de>
7701 * manual/startup.texi (Environment Access): Describe return value
7702 for putenv and setenv.
7705 * manual/filesys.texi (Directory Entries): Add description for
7709 * manual/filesys.texi (Directory Entries): Clarify that it's file
7710 system not operating system in the description of DT_UNKNOWN.
7713 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7715 2012-04-08 Stephen Compall <s11@member.fsf.org>
7718 * manual/llio.texi (Opening and Closing Files): Add cross
7719 reference to explain mode argument.
7721 2012-04-07 Mike Frysinger <vapier@gentoo.org>
7723 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7724 * sysdeps/x86_64/memset_chk.S: Likewise.
7726 2012-04-07 David S. Miller <davem@davemloft.net>
7728 * elf/elf.h (R_SPARC_WDISP10): Define.
7729 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7731 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7732 R_SPARC_SIZE64 and R_SPARC_H34.
7734 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7736 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7737 conditions and remove no longer applicable assertion.
7739 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7741 * bits/byteswap.h: Include <features.h>.
7742 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7743 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7745 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7747 * bits/byteswap.h (__bswap_16): Removed.
7748 Include <bits/byteswap-16.h> to get __bswap_16.
7749 * sysdeps/i386/bits/byteswap.h: Likewise.
7750 * sysdeps/s390/bits/byteswap.h: Likewise.
7751 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7752 * bits/byteswap-16.h: New file.
7753 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7754 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7755 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7756 * string/Makefile (headers): Add bits/byteswap-16.h.
7758 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7761 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7763 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7764 * nss/tst-nss-static.c: New.
7766 2012-04-06 Robert Millan <rmh@gnu.org>
7769 * manual/llio.texi (File Position Primitive): lseek
7770 refers to WHENCE when it really means OFFSET.
7772 2012-04-06 Andreas Jaeger <aj@suse.de>
7774 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7775 strncmp declarations.
7777 * abilist/libc.abilist: Add __poll and __ppoll.
7779 2012-04-05 David S. Miller <davem@davemloft.net>
7781 * scripts/check-local-headers.sh: Accept a host triplet in the
7782 path matched by the exclude regexp.
7784 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7786 * sysdeps/powerpc/powerpc32/dl-machine.h
7787 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7788 * sysdeps/s390/s390-32/dl-machine.h
7789 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7790 * sysdeps/sparc/sparc32/dl-machine.h
7791 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7792 * sysdeps/sparc/sparc64/dl-machine.h
7793 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7795 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7797 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7798 undefined symbol errors.
7800 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7803 2012-04-05 Michael Matz <matz@suse.de>
7806 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7808 2012-04-05 Andreas Jaeger <aj@suse.de>
7811 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7814 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7816 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7817 which ROUND is no valid rounding mode.
7819 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7821 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7823 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7825 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7827 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7828 an exception using FPU order intentionally.
7830 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7832 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7833 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7834 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7835 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7837 2012-04-05 Simon Josefsson <simon@josefsson.org>
7840 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7841 EINVAL when BUFLEN is too smal.
7843 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7846 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7847 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7849 2012-04-03 Andreas Jaeger <aj@suse.de>
7852 * manual/setjmp.texi (System V contexts): Fix sentence.
7855 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7856 New macro for this case.
7857 [!__GNUC__] (__bswap_64): New inline function for this case.
7858 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7859 * bits/byteswap.h: Likewise.
7860 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7861 ull, guard with __GLIBC_HAVE_LONG_LONG.
7863 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7864 __GLIBC_HAVE_LONG_LONG.
7866 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7867 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7869 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7872 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7873 inptr and inend, rather than using last_ch.
7875 2012-04-02 David S. Miller <davem@davemloft.net>
7877 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7878 * stdio-common/printf-parse.h (read_int): Change return type to
7879 'int', return -1 on INT_MAX overflow.
7880 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7881 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7882 overflows INT_MAX. Check for overflow of in-format-string precision
7883 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7884 SIZE_MAX not INT_MAX for integer overflow test.
7885 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7886 skip the construct in the format string but do not record anything.
7887 * stdio-common/bug22.c: Adjust to test both width/prevision
7888 INT_MAX overflow as well as total length INT_MAX overflow. Check
7889 explicitly for proper errno values.
7891 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7893 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7895 * string/test-strcmp.c [! WIDE]: Likewise.
7896 * time/tst-mktime2.c: Likewise for INT_MAX.
7897 * string/test-string.h: #include <sys/param.h> for MIN.
7899 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7900 * sysdeps/i386/init-first.c (init): Likewise.
7901 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7902 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7903 * sysdeps/sh/init-first.c (init): Likewise.
7905 2012-04-01 Ulrich Drepper <drepper@gmail.com>
7907 * po/ru.po: Update from translation team.
7908 * po/vi.po: Likewise.
7910 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7912 * resolv/nss_dns/dns-host.c: Merge copyright years.
7914 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7916 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7917 Optimize memcpy with prefetch if
7918 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7919 src, dst pointers have unequal 16 byte alignments.
7921 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7924 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7925 from a CNAME entry and return the minimum ttl for the query.
7926 (gaih_getanswer_slice): Likewise.
7928 2012-03-30 Jeff Law <law@redhat.com>
7930 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7932 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7933 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7935 * resolv/nss_dns/dns-host.c: Update copyright year.
7937 2012-03-30 Ulrich Drepper <drepper@gmail.com>
7939 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7940 requests to save a system call. Fix check that all bytes are sent.
7942 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7943 comments for sendmmsg.
7945 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7948 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7949 with only 1 character between 0x0041 and 0x01b0.
7950 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7951 * wcsmbs/tst-mbsnrtowcs.c: New file.
7953 2012-03-29 David S. Miller <davem@davemloft.net>
7955 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7956 small copies by hand.
7958 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7961 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7962 _nss_compat_initgroups_dyn): Fall back to malloc/free
7963 for large group memberships.
7965 2012-03-28 David S. Miller <davem@davemloft.net>
7967 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7968 that branches into memcpy.
7969 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7970 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7971 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7972 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7973 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7975 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7977 * sysdeps/sparc/mempcpy.S: New file.
7979 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7980 the IFUNC routine in the libc case.
7981 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7983 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7984 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7985 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7986 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7987 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7988 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7989 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7990 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7992 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7993 loop to 256 bytes instead of 64 bytes and fix test signedness.
7995 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7996 * sysdeps/sparc/sparc32/Makefile: rather than here...
7997 * sysdeps/sparc/sparc64/Makefile: and here.
7999 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8001 * malloc/mallocbug.c: Avoid warnings about unused variables.
8003 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8006 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8007 in the right place. Discard and retry query if response is
8008 larger than input buffer size.
8010 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8015 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8016 x for large integer exponent.
8017 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8018 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8019 sign of result as needed afterwards.
8020 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8021 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8022 result for underflowing pow the same as for overflow.
8023 (__kernel_standard_l): Handle powl overflow and underflow here
8024 rather than calling __kernel_standard.
8025 * math/libm-test.inc (pow_test): Add more tests.
8040 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8041 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8042 (__kernel_standard_l): New function.
8043 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8045 * math/w_acosl.c (__acosl): Likewise.
8046 * math/w_asinl.c (__asinl): Likewise.
8047 * math/w_atan2l.c (__atan2l): Likewise.
8048 * math/w_atanhl.c (__atanhl): Likewise.
8049 * math/w_coshl.c (__coshl): Likewise.
8050 * math/w_exp10l.c (__exp10l): Likewise.
8051 * math/w_exp2l.c (__exp2l): Likewise.
8052 * math/w_fmodl.c (__fmodl): Likewise.
8053 * math/w_hypotl.c (__hypotl): Likewise.
8054 * math/w_j0l.c (__j0l, __y0l): Likewise.
8055 * math/w_j1l.c (__j1l, __y1l): Likewise.
8056 * math/w_jnl.c (__jnl, __ynl): Likewise.
8057 * math/w_lgammal.c (__lgammal): Likewise.
8058 * math/w_log10l.c (__log10l): Likewise.
8059 * math/w_log2l.c (__log2l): Likewise.
8060 * math/w_logl.c (__logl): Likewise.
8061 * math/w_powl.c (__powl): Likewise.
8062 * math/w_remainderl.c (__remainderl): Likewise.
8063 * math/w_scalbl.c (sysv_scalbl): Likewise.
8064 * math/w_sinhl.c (__sinhl): Likewise.
8065 * math/w_sqrtl.c (__sqrtl): Likewise.
8066 * math/w_tgammal.c (__tgammal): Likewise.
8067 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8068 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8069 * math/libm-test.inc (acos_test): Add more tests.
8070 (acosh_test): Likewise.
8071 (asin_test): Likewise.
8072 (atanh_test): Likewise.
8073 (exp_test): Likewise.
8074 (exp10_test): Likewise.
8075 (exp2_test): Likewise.
8076 (expm1_test): Likewise.
8077 (lgamma_test): Likewise.
8078 (log_test): Likewise.
8079 (log10_test): Likewise.
8080 (log1p_test): Likewise.
8081 (log2_test): Likewise.
8082 (pow_test): Do not allow some spurious overflow exceptions.
8083 (sqrt_test): Add more tests.
8084 (tgamma_test): Likewise.
8085 (y0_test): Likewise.
8086 (y1_test): Likewise.
8087 (yn_test): Likewise.
8089 2012-03-27 Anton Blanchard <anton@samba.org>
8091 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8093 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8094 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8095 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8097 2012-03-27 David S. Miller <davem@davemloft.net>
8099 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8101 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8104 2012-03-27 Andreas Jaeger <aj@suse.de>
8106 * sysdeps/x86_64/elf/configure.in: Moved to ...
8107 * sysdeps/x86_64/configure.in: ... here.
8108 * sysdeps/x86_64/elf/start.S: Moved to ...
8109 * sysdeps/x86_64/start.S: ... here.
8110 * sysdeps/x86_64/elf/configure: Delete.
8112 * sysdeps/x86_64/configure.in: Merge contents from
8113 sysdeps/i386/configure.in (without i686 check).
8115 * sysdeps/i386/elf/Versions: Merge into ...
8116 * sysdeps/i386/Versions: ... this.
8117 * sysdeps/i386/elf/Versions: Delete file.
8118 * sysdeps/i386/elf/start.S: Moved to ...
8119 * sysdeps/i386/start.S: ...here.
8120 * sysdeps/i386/elf/configure.in: Merge into...
8121 * sysdeps/i386/configure.in: ...here.
8122 * sysdeps/i386/elf/configure.in: Delete file.
8123 * sysdeps/i386/elf/configure: Delete file.
8125 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8126 * debug/backtracesyms.c: ... here.
8127 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8128 * debug/backtracesymsfd.c: ... here.
8129 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8130 * sysdeps/generic/ifunc-sel.h: ... here.
8132 * sysdeps/unix/i386/start.c: Delete file.
8133 * sysdeps/unix/sparc/start.c: Delete file.
8134 * sysdeps/unix/start.c: Delete file.
8136 * sysdeps/sh/elf/configure.in: Moved to ...
8137 * sysdeps/sh/configure.in: ... here.
8138 * sysdeps/sh/elf/start.S: Moved to ...
8139 * sysdeps/sh/start.S: ... here.
8140 * sysdeps/sh/elf/configure: Delete file.
8142 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8143 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8144 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8145 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8146 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8147 * sysdeps/powerpc/powerpc64/start.S: here.
8148 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8149 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8150 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8151 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8152 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8154 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8155 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8156 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8157 * sysdeps/powerpc/powerpc32/start.S: ... here.
8158 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8159 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8160 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8162 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8163 * sysdeps/powerpc/ifunc-sel.h: ... here.
8164 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8165 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8167 * sysdeps/sparc/elf/configure.in: Moved to ...
8168 * sysdeps/sparc/configure.in: ... here.
8169 * sysdeps/sparc/elf/configure: Delete file.
8170 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8171 * sysdeps/sparc/sparc32/start.S: ... here.
8172 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8173 * sysdeps/sparc/sparc64/start.S: ... here.
8174 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8175 * sysdeps/sparc/sparc32/Makefile: ... this.
8176 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8177 * sysdeps/sparc/sparc64/Makefile: ... this.
8179 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8180 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8181 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8182 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8183 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8184 * sysdeps/s390/s390-32/setjmp.S: ... here.
8185 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8186 * sysdeps/s390/s390-32/configure.in: ... here.
8187 * sysdeps/s390/s390-32/elf/configure: Delete file.
8188 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8189 * sysdeps/s390/s390-32/start.S: ... here.
8191 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8192 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8193 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8194 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8195 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8196 * sysdeps/s390/s390-64/setjmp.S: ... here.
8197 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8198 * sysdeps/s390/s390-64/configure.in: ... here
8199 * sysdeps/s390/s390-64/elf/configure: Delete file.
8200 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8201 * sysdeps/s390/s390-64/start.S: ... here.
8202 * sysdeps/s390/s390-64/elf/configure: Delete.
8204 * configure.in: Remove support for elf directories in sysdeps.
8206 * configure: Regenerated.
8207 * sysdeps/i386/configure: Regenerated.
8208 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8209 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8210 * sysdeps/s390/s390-32/configure: Regenerated.
8211 * sysdeps/s390/s390-64/configure: Regenerated.
8212 * sysdeps/sh/configure: Regenerated.
8213 * sysdeps/sparc/configure: Regenerated.
8214 * sysdeps/x86_64/configure: Regenerated.
8216 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8220 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8221 denormal result into account.
8223 2012-03-25 Roland McGrath <roland@hack.frob.com>
8225 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8226 Reported by Allan McRae <allan@archlinux.org>.
8228 2012-03-23 Jeff Law <law@redhat.com>
8230 * nss/getnssent.c (__nss_getent): Fix typo.
8232 2012-03-23 David S. Miller <davem@davemloft.net>
8234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8236 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8238 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8239 to pad to uint64_t for each field.
8240 (dl_tls_index): Replace unsigned long with uint64_t.
8242 2012-03-23 Daniel Jacobowitz <dmj@google.com>
8243 Paul Pluzhnikov <ppluzhnikov@google.com>
8246 * grp/Makefile (otherlibs): Don't set it.
8247 * inet/Makefile (otherlibs): Likewise.
8248 * login/Makefile (otherlibs): Likewise.
8249 * nscd/Makefile (otherlibs): Likewise.
8250 * posix/Makefile (otherlibs): Likewise.
8251 * pwd/Makefile (otherlibs): Likewise.
8252 * rt/Makefile (otherlibs): Likewise.
8253 * sunrpc/Makefile (otherlibs): Likewise.
8254 * nss/Makefile (otherlibs): Likewise.
8255 Add libnss_files to routines and static-only-routines.
8256 ($(objpfx)getent): Remove rule.
8257 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8258 static-only-routines.
8260 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8263 * math/s_cexp.c: Include <float.h>.
8264 (__cexp): Handle exp result overflowing not necessarily
8265 overflowing both real and imaginary parts of result.
8266 * math/s_cexpf.c: Likewise.
8267 * math/s_cexpl.c: Likewise.
8268 * math/libm-test.inc (cexp_test): Add more tests.
8269 * sysdeps/i386/fpu/libm-test-ulps: Update.
8270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8272 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8274 * include/link.h (ELFW): New macro.
8275 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8276 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8278 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8280 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8283 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8285 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8287 (struct La_x32_retval): Likewise.
8289 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8291 * sysdeps/x86_64/preconfigure.in: New file.
8292 * sysdeps/x86_64/preconfigure: New generated file.
8294 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8297 * math/e_exp2l.c: Include <float.h>.
8298 (__ieee754_exp2l): Handle overflow and underflow cases
8299 separately. Only pass fractional part of argument to
8301 * math/libm-test.inc (exp2_test): Add more tests.
8303 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8304 negating x to take absolute value.
8305 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8307 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8308 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8310 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8311 computing low part if x was negated.
8312 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8314 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8316 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8318 (pltexit): Cast int_retval to ptrdiff_t.
8319 * elf/tst-auditmod3b.c: Likewise.
8320 * elf/tst-auditmod4b.c: Likewise.
8321 * elf/tst-auditmod5b.c: Likewise.
8322 * elf/tst-auditmod6b.c: Likewise.
8323 * elf/tst-auditmod6c.c: Likewise.
8324 * elf/tst-auditmod7b.c: Likewise.
8326 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8327 and x32_gnu_pltexit.
8329 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8331 (La_x32_regs): New macro.
8332 (La_x32_retval): Likewise.
8333 (la_x32_gnu_pltenter): New function prototype.
8334 (la_x32_gnu_pltexit): Likewise.
8336 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8338 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8343 * configure.in (libc_cv_cc_nofma): Check for option to disable
8344 generation of FMA instructions.
8345 * configure: Regenerate.
8346 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8347 * sysdeps/ieee754/dbl-64/Makefile: New file.
8348 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8349 Remove brandred-fma4.
8350 (CFLAGS-brandred-fma4.c): Remove.
8351 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8352 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8354 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8357 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8359 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8360 LLONG_MAX != LONG_MAX.
8361 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8362 (_fitoa_word): Likewise.
8363 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8364 LLONG_MAX != LONG_MAX.
8365 * stdio-common/_itowa.h: Include <_itoa.h>.
8366 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8367 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8368 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8369 only if not defined.
8370 (_ITOA_WORD_TYPE): Likewise.
8371 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8372 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8374 2012-03-21 David S. Miller <davem@davemloft.net>
8376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8378 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8380 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8381 of x86_64 when setting libc_cv_slibdir, libdir and
8383 * sysdeps/unix/sysv/linux/configure: Regenerated.
8385 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8387 * manual/lang.texi (Old Varargs): Remove section.
8388 (How Variadic): Update menu.
8389 (va_start): Do not mention varargs.h.
8391 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8392 Joseph Myers <joseph@codesourcery.com>
8394 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8396 * configure: Regenerated.
8398 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8400 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8401 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8404 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8407 * Makefile (files-for-dist): Remove NOTES.
8408 (NOTES): Remove rule.
8409 * README: Don't refer to NOTES.
8410 * manual/creature.texi: Don't include macros.texi.
8411 * manual/intro.texi (creature.texi): Remove comment referring to
8414 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8415 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8416 * configure: Regenerated.
8417 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8419 (libc_cv_as_i686): Likewise.
8420 (libc_cv_cc_avx): Likewise.
8421 (libc_cv_cc_sse2avx): Likewise.
8422 (libc_cv_cc_fma4): Likewise.
8423 (libc_cv_cc_novzeroupper): Likewise.
8424 * sysdeps/i386/configure: Regenerated.
8427 * sysdeps/i386/fpu/s_cexp.S: Remove.
8428 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8429 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8430 * math/libm-test.inc (cexp_test): Add more tests.
8431 * sysdeps/i386/fpu/libm-test-ulps: Update.
8432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8434 2012-03-21 Allan McRae <allan@archlinux.org>
8436 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8438 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8441 * math/w_exp2.c: Do not include <float.h>.
8442 (o_threshold, u_threshold): Remove.
8443 (__exp2): Calculate result before checking finiteness and calling
8445 * math/w_exp2f.c: Likewise.
8446 * math/w_exp2l.c: Likewise.
8447 * math/libm-test.inc (exp2_test): Require overflow exception for
8451 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8452 range of signed 64-bit integers before using fistpll. Remove
8453 checks for whether integers fit in mantissa bits.
8454 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8455 the range of signed 32-bit integers before using fistpl. Remove
8456 checks for whether integers fit in mantissa bits.
8457 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8458 (__ieee754_powl): Test for y outside the range of signed 64-bit
8459 integers before using fistpll. Reduce 64-bit values to 63-bit
8461 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8462 divide-by-zero is raised for zero to large negative powers.
8463 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8464 (__ieee754_powl): Test for y outside the range of signed 64-bit
8465 integers before using fistpll. Reduce 64-bit values to 63-bit
8467 * math/libm-test.inc (pow_test): Add more tests.
8469 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8471 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8472 <stdio-common/_itoa.h>.
8473 * debug/segfault.c: Likewise.
8474 * elf/dl-cache.c: Likewise.
8475 * elf/dl-minimal.c: Likewise.
8476 * elf/dl-misc.c: Likewise.
8477 * elf/dl-sysdep.c: Likewise.
8478 * elf/dl-version.c: Likewise.
8479 * elf/rtld.c: Likewise.
8480 * hurd/hurdsock.c: Likewise.
8481 * hurd/lookup-retry.c: Likewise.
8482 * malloc/malloc.c: Likewise.
8483 * malloc/mtrace.c: Likewise.
8484 * nscd/nscd_getgr_r.c: Likewise.
8485 * nscd/nscd_getpw_r.c: Likewise.
8486 * nscd/nscd_getserv_r.c: Likewise.
8487 * posix/getopt_init.c: Likewise.
8488 * posix/wordexp.c: Likewise.
8489 * stdio-common/_itoa.c: Likewise.
8490 * stdio-common/printf_fphex.c: Likewise.
8491 * stdio-common/vfprintf.c: Likewise.
8492 * string/_strerror.c: Likewise.
8493 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8494 * sysdeps/i386/i686/hp-timing.h: Likewise.
8495 * sysdeps/mach/_strerror.c: Likewise.
8496 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8497 * sysdeps/mach/hurd/sethostid.c: Likewise.
8498 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8499 * sysdeps/mach/xpg-strerror.c: Likewise.
8500 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8501 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8502 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8503 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8504 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8505 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8506 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8507 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8508 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8509 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8510 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8511 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8512 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8513 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8514 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8515 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8516 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8517 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8518 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8519 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8520 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8522 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8524 * stdio-common/_itoa.h: Moved to ...
8525 * sysdeps/generic/_itoa.h: Here.
8527 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8529 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8530 instead of "_itoa.h" and "_itowa.h".
8531 * stdio-common/vfprintf.: Likewise.
8533 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8535 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8537 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8538 (__signbit): Likwise.
8542 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8544 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8547 2012-03-20 Joseph Myers <joseph@codesourcery.com>
8549 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8550 OVERFLOW_EXCEPTION_OK.
8551 * math/libm-test.inc ("Philosophy"): Update comment about
8553 (OVERFLOW_EXCEPTION): Define.
8554 (OVERFLOW_EXCEPTION_OK): Likewise.
8555 (INVALID_EXCEPTION_OK): Renumber.
8556 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8557 (IGNORE_ZERO_INF_SIGN): Likewise.
8558 (test_exceptions): Handle FE_OVERFLOW.
8559 (exp10_test): Expect overflow exceptions.
8560 (exp2_test): Likewise.
8561 (expm1_test): Likewise.
8562 (nextafter_test): Likewise.
8563 (pow_test): Likewise.
8564 (scalbn_test): Likewise.
8565 (scalbln_test): Likewise.
8567 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8569 * sysdeps/x86_64/bits/atomic.h
8570 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8572 (atomic_exchange_acq): Likewise.
8573 (__arch_exchange_and_add_body): Likewise.
8574 (__arch_add_body): Likewise.
8575 (atomic_add_negative): Likewise.
8576 (atomic_add_zero): Likewise.
8578 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8580 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8581 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8583 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8585 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8586 Check __x86_64__ instead of __WORDSIZE.
8588 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8590 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8592 2012-03-19 David S. Miller <davem@davemloft.net>
8594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8596 * sysdeps/sparc/fpu/fenv_private.h: New file.
8597 * sysdeps/sparc/fpu/math_private.h: Use it.
8598 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8600 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8601 (libc_feholdexcept_setroundl): Remove.
8602 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8604 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8605 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8607 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8609 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8610 int64_t instead of long int.
8611 (INSERT_WORDS64): Likwise.
8613 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8615 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8616 _Unwind_GetCFA return to _Unwind_Ptr first.
8618 2012-03-19 Joseph Myers <joseph@codesourcery.com>
8621 * math/s_clog.c: Include <float.h>.
8622 (__clog): Scale large or subnormal inputs.
8623 * math/s_clogf.c: Likewise.
8624 * math/s_clogl.c: Likewise.
8625 * math/s_clog10.c: Include <float.h>.
8626 (M_LOG10_2): Define.
8627 (__clog10): Scale large or subnormal inputs.
8628 * math/s_clog10f.c: Likewise.
8629 * math/s_clog10l.c: Likewise.
8630 * math/libm-test.inc (clog_test): Add more tests.
8631 (clog10_test): Likewise.
8632 * sysdeps/i386/fpu/libm-test-ulps: Update.
8633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8636 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8638 * math/libm-test.inc (atan2_test): Add another test.
8640 * Makerules (common-objdir-compile): Remove.
8641 * sysdeps/unix/Makefile (config-generated): Do not add
8642 $(unix-generated) to variable.
8643 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8644 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8646 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8648 [generic bits/local_lim.h] (before-compile): Do not append to
8650 [generic bits/local_lim.h] (common-generated): Likewise.
8651 [generic sys/param.h] (before-compile): Do not append to variable.
8652 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8653 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8654 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8655 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8657 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8658 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8659 [generic sys/param.h] ($(addprefix
8660 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8661 [generic sys/param.h] (common-generated): Do not append to
8663 [generic sys/param.h] (sysdep_headers): Likewise.
8664 [generic bits/errno.h] (before-compile): Do not append to
8666 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8668 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8669 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8670 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8671 [generic bits/errno.h] (common-generated): Do not append to
8673 [generic bits/ioctls.h] (before-compile): Do not append to
8675 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8677 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8678 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8679 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8681 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8682 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8683 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8684 [generic bits/ioctls.h] (common-generated): Do not append to
8686 [generic sys/syscall.h] (syscall.h): Remove variable.
8687 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8689 [generic sys/syscall.h] (before-compile): Do not append to
8691 [generic sys/syscall.h] (common-generated): Likewise.
8692 * sysdeps/unix/errnos-tmpl.c: Remove file.
8693 * sysdeps/unix/errnos.awk: Likewise.
8694 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8695 * sysdeps/unix/ioctls.awk: Likewise.
8696 * sysdeps/unix/mk-local_lim.c: Likewise.
8697 * sysdeps/unix/snarf-ioctls: Likewise.
8699 2012-03-19 Richard Henderson <rth@twiddle.net>
8701 * sysdeps/i386/fpu/fenv_private.h: New file.
8702 * sysdeps/i386/fpu/math_private.h: Use it.
8703 (math_opt_barrier, math_force_eval): Remove.
8704 (libc_feholdexcept_setround_53bit): Remove.
8705 (libc_feupdateenv_53bit): Remove.
8706 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8707 (math_opt_barrier, math_force_eval): Remove.
8708 (libc_feholdexcept): Remove.
8709 (libc_feholdexcept_setround): Remove.
8710 (libc_fetestexcept, libc_fesetenv): Remove.
8711 (libc_feupdateenv_test): Remove.
8712 (libc_feupdateenv, libc_feholdsetround): Remove.
8713 (libc_feresetround): Remove.
8715 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8716 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8718 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8719 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8720 (libc_feupdateenv_testl): New.
8721 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8722 (libc_feupdateenv_testf): New.
8723 (libc_feupdateenv): Use libc_feupdateenv_test.
8724 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8725 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8727 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8728 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8729 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8730 (libc_feresetround_noex): New.
8731 (libc_feresetround_noexf): New.
8732 (libc_feresetround_noexl): New.
8733 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8734 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8735 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8736 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8738 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8739 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8741 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8742 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8743 SET_RESTORE_ROUND_NOEX.
8744 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8745 SET_RESTORE_ROUND_NOEXF.
8746 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8747 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8748 (libc_feholdsetroundf): New.
8749 (libc_feresetround, libc_feresetroundf): New.
8751 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8752 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8753 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8755 * sysdeps/generic/math_private.h: Include <fenv.h>.
8756 (default_libc_feholdexcept): New.
8757 (default_libc_feholdexcept_setround): New.
8758 (default_libc_fesetenv, default_libc_feupdateenv): New.
8759 (libc_feholdexcept): Only define if undefined.
8760 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8761 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8762 (libc_feholdexcept_setroundl): Likewise.
8763 (libc_feholdexcept_setround_53bit): Likewise.
8764 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8765 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8766 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8767 (libc_feupdateenv_53bit): Likewise.
8768 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8769 (libc_feholdexcept): Convert from macro to inline function.
8770 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8771 (libc_fesetenv, libc_feupdateenv): Likewise.
8773 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8774 not previously defined.
8775 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8776 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8777 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8778 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8779 * sysdeps/ieee754/flt-32/math_private.h: New file.
8780 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8781 math_private.h below SET_FLOAT_WORD.
8782 (__isnan, __isinf_ns, __finite): Remove.
8783 (__isnanf, __isinf_nsf, __finitef): Remove.
8785 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8789 2012-03-17 David S. Miller <davem@davemloft.net>
8792 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8795 2012-03-16 David S. Miller <davem@davemloft.net>
8797 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8801 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8803 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8804 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8805 sysdep_routines when subdir is sysvipc.
8806 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8809 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8811 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8813 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8816 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8818 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8819 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8820 (__lround): Renamed to ...
8821 (__llround): This. Replace long int with long long int.
8822 Define lround functions as aliases of llround functions.
8823 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8825 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8827 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8828 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8829 adresses to uintptr_t. Replace "long int" and "unsigned long
8830 int" with "greg_t" on va_arg.
8832 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8834 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8835 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8837 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8838 Move e_machine check before EI_CLASS check. Handle x32
8839 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8840 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8841 SKIP_EM_IA_64 and include
8842 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8844 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8845 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8846 (add_system_dir): New macro.
8848 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8849 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8851 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8862 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8864 * math/w_j0f.c (j0f): Likewise.
8866 * math/w_j0l.c (__j0l): Likewise.
8868 * math/w_j1.c (j1): Likewise.
8870 * math/w_j1f.c (j1f): Likewise.
8872 * math/w_j1l.c (__j1l): Likewise.
8874 * math/w_jn.c (jn): Likewise.
8876 * math/w_jnf.c (jnf): Likewise.
8878 * math/w_jnl.c (__jnl): Likewise.
8880 * math/libm-test.inc (j0_test): Add more tests.
8881 (j1_test): Likewise.
8882 (jn_test): Likewise. Add trailing semicolon to existing test.
8883 (y0_test): Likewise.
8884 (y1_test): Likewise.
8885 * sysdeps/i386/fpu/libm-test-ulps: Update.
8886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8890 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8891 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8892 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8893 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8894 (__tanl): Set errno for infinite argument.
8895 * sysdeps/i386/fpu/mptan.c: Remove.
8896 * sysdeps/i386/fpu/s_tan.S: Likewise.
8897 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8898 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8899 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8900 * math/libm-test.inc (tan_test): Add more tests and enable more
8901 tests for double and long double.
8902 * sysdeps/i386/fpu/libm-test-ulps: Update.
8903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8905 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8907 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8908 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8910 2012-03-16 Roland McGrath <roland@hack.frob.com>
8912 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8913 * configure.in: Use it for both main tree and add-ons.
8914 * configure: Regenerated.
8916 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8918 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8920 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8922 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8926 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8927 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8928 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8929 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8930 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8932 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8933 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8935 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8936 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8937 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8938 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8939 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8940 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8941 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8942 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8943 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8944 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8945 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8946 * math/libm-test.inc (cos_test): Add more tests and enable more
8947 tests for long double.
8948 (sin_test): Likewise.
8949 (sincos_test): Likewise.
8950 * sysdeps/i386/fpu/libm-test-ulps: Update.
8951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8953 2012-03-16 David S. Miller <davem@davemloft.net>
8955 * sysdeps/sparc/fpu/math_private.h: New file.
8957 2012-03-15 David S. Miller <davem@davemloft.net>
8959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8969 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8973 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8974 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8976 * sysdeps/sparc/sparc-ifunc.h: New file.
8977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9002 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9003 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9004 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9006 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9011 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9012 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9013 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9014 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9015 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9016 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9017 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9018 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9019 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9020 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9022 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9024 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9028 2012-03-15 Andreas Jaeger <aj@suse.de>
9031 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9032 ieee754/flt-32 implementation for sin, cos and sincos.
9033 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9034 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9035 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9036 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9037 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9038 ieee754/flt-32 implementation for tan.
9040 * math/libm-test.inc (cos_test): Enable some large input tests for
9042 (sin_test): Likewise.
9043 (sincos_test): Likewise.
9044 (tan_test): Add tests for large input.
9046 * sysdeps/i386/fpu/libm-test-ulps: Update.
9048 2012-03-15 Andreas Jaeger <aj@suse.de>
9051 * math/libm-test.inc (cos_test): Add more test cases.
9052 (sin_test): Likewise.
9053 (sincos_test): Likewise.
9055 2012-03-15 Andreas Jaeger <aj@suse.de>
9058 * math/libm-test.inc (cos_test): Add a test case for large input
9060 (sin_test): Likewise.
9061 (sincos_test): Likewise.
9063 2012-03-15 Andreas Jaeger <aj@suse.de>,
9064 Joseph Myers <joseph@codesourcery.com>
9067 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9068 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9069 * sysdeps/i386/fpu/branred.c: Likewise.
9070 * sysdeps/i386/fpu/dosincos.c: Likewise.
9071 * sysdeps/i386/fpu/mpa.c: Likewise.
9072 * sysdeps/i386/fpu/s_cos.S: Likewise.
9073 * sysdeps/i386/fpu/s_sin.S: Likewise.
9074 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9075 * sysdeps/i386/fpu/sincos32.c: Likewise.
9077 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9079 (libc_feupdateenv_53bit): Define.
9080 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9082 (libc_feupdateenv_53bit): Define.
9084 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9085 53 bit (without extend i386 double precision).
9087 * math/libm-test.inc (sincos_test): Add tests for large input.
9091 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9093 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9097 2012-03-15 David S. Miller <davem@davemloft.net>
9099 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9100 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9101 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9102 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9126 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9127 fmin/fmax sysdep routines.
9128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9130 2012-03-14 David S. Miller <davem@davemloft.net>
9132 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9133 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9134 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9135 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9136 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9137 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9138 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9139 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9141 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9142 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9143 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9144 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9145 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9146 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9148 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9152 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9153 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9154 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9155 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9156 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9158 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9159 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9160 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9204 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9209 * sysdeps/sparc/configure.in: New file.
9210 * sysdeps/sparc/configure: Generate.
9211 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9212 * configure: Regenerate.
9213 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9214 * config.make.in (have-as-vis3): New.
9215 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9216 available use -Av9d instead of -Av9a.
9217 * sysdeps/sparc/sparc64/Makefile: Likewise.
9218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9227 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9228 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9229 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9230 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9231 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9233 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9234 fzeros/fnegs to load 0x80000000 into a float register instead of
9236 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9238 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9242 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9243 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9244 ($(inst_includedir)/bits/syscall.h): Remove rule.
9245 ($(objpfx)bits/syscall.d): Include instead of
9246 $(objpfx)syscall-list.d.
9247 (generated): Change syscall-list.h and syscall-list.d to
9248 bits/syscall.h and bits/syscall.d.
9250 2012-03-14 Roland McGrath <roland@hack.frob.com>
9253 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9255 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9258 * math/s_csqrt.c: Include <float.h>.
9259 (__csqrt): Scale large or subnormal inputs.
9260 * math/s_csqrtf.c: Likewise.
9261 * math/s_csqrtl.c: Likewise.
9262 * math/libm-test.inc (csqrt_test): Add more tests.
9263 * sysdeps/i386/fpu/libm-test-ulps: Update.
9264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9267 * math/libm-test.inc (hypot_test): Add more tests.
9269 2012-03-13 David S. Miller <davem@davemloft.net>
9272 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9273 double-precision for the calculation instead of scaling.
9275 2012-03-13 Joseph Myers <joseph@codesourcery.com>
9277 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9278 manipulate bits before adding and subtracting TWO52[sx].
9279 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9280 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9282 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9284 2012-03-13 David S. Miller <davem@davemloft.net>
9286 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9287 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9288 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9289 rtld-global-offsets.h
9290 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9292 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9295 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9297 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9298 'err' in the ifdef scope in which it is actually used.
9300 * nss/nss_db/db-init.c: Include string.h
9302 2012-03-12 David S. Miller <davem@davemloft.net>
9304 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9305 masking out of the most significant byte of random value used.
9306 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9307 Fix coding style in previous change.
9309 * sysdeps/unix/sysv/linux/kernel-features.h
9310 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9311 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9313 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9316 2012-03-11 David S. Miller <davem@davemloft.net>
9318 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9319 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9320 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9321 for 'resultvar' otherwise things get truncated on 64-bit.
9323 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9324 Fix masking out of the most significant byte of random value used.
9326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9328 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9332 2012-03-09 David S. Miller <davem@davemloft.net>
9334 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9335 variables with appropriate CPP guards.
9336 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9337 frame pointer, not the stack pointer. Correct layout comments. Fix test
9338 on resulting framesize and the management of the outregs buffer for pltexit.
9339 Preserve floating point return values across _dl_call_pltexit call.
9340 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9341 framesize and the management of the outregs buffer for pltexit.
9342 Preserve floating point return values across _dl_call_pltexit
9344 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9345 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9346 (print_exit): Fix format string for return register value.
9348 2012-03-10 Joseph Myers <joseph@codesourcery.com>
9350 * sunrpc/Makefile (others): Add rpcgen.
9351 ($(objpfx)rpcgen): Remove special build rule and dependency on
9353 * sunrpc/rpcgen.c: New file.
9355 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9358 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9359 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9360 * sysdeps/i386/crti.S: Likewise.
9361 * sysdeps/i386/crtn.S: Likewise.
9362 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9363 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9364 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9365 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9366 * sysdeps/sh/crti.S: Likewise.
9367 * sysdeps/sh/crtn.S: Likewise.
9368 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9371 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9373 * locale/programs/locfile-kw.gperf: Likewise.
9374 * locale/programs/charmap-kw.h: Regenerated.
9375 * locale/programs/locfile-kw.h: Likewise.
9378 * intl/plural.y: Replace FSF snail mail address with URL.
9379 * intl/plural.c: Regenerated.
9381 2012-03-09 Richard Henderson <rth@twiddle.net>
9383 * include/math_private.h: Remove file.
9384 * math/math_private.h: Move file ...
9385 * sysdeps/generic/math_private.h: ... here.
9387 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9388 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9389 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9391 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9392 and <math_private.h>.
9393 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9394 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9395 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9396 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9397 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9398 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9399 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9400 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9401 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9402 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9403 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9404 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9405 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9406 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9407 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9408 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9409 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9410 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9411 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9412 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9413 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9414 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9415 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9416 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9417 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9418 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9419 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9420 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9421 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9422 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9423 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9424 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9425 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9426 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9427 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9428 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9429 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9430 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9431 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9432 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9433 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9434 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9435 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9436 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9437 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9438 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9439 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9440 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9441 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9442 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9443 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9444 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9445 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9446 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9447 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9448 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9449 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9450 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9451 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9452 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9453 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9454 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9455 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9456 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9457 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9458 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9459 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9460 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9461 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9462 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9463 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9464 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9465 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9466 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9467 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9468 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9469 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9470 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9471 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9472 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9473 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9474 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9475 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9476 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9477 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9478 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9479 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9480 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9481 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9482 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9483 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9484 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9485 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9486 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9487 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9488 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9489 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9490 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9491 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9492 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9493 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9494 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9495 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9496 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9497 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9498 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9499 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9500 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9501 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9502 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9503 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9504 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9505 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9506 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9507 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9508 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9509 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9510 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9511 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9512 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9513 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9514 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9515 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9516 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9517 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9518 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9519 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9520 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9521 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9522 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9523 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9524 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9525 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9526 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9527 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9528 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9529 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9530 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9531 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9532 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9533 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9534 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9535 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9536 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9537 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9538 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9539 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9540 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9541 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9542 * sysdeps/ieee754/k_standard.c: Likewise.
9543 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9547 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9549 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9550 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9551 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9552 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9553 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9554 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9555 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9556 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9557 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9558 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9559 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9560 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9561 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9562 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9563 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9564 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9565 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9566 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9567 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9568 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9569 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9570 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9571 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9572 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9573 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9574 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9575 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9576 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9577 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9578 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9579 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9580 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9581 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9582 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9583 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9584 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9585 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9586 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9587 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9588 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9589 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9590 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9591 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9592 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9593 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9594 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9595 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9596 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9597 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9598 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9599 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9600 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9601 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9602 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9603 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9604 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9605 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9606 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9607 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9608 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9609 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9610 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9611 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9612 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9613 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9614 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9615 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9616 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9617 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9618 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9619 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9620 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9621 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9622 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9623 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9624 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9625 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9626 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9627 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9628 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9629 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9630 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9631 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9632 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9633 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9634 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9635 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9636 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9637 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9638 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9639 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9640 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9641 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9642 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9643 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9644 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9645 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9646 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9647 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9648 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9649 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9650 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9651 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9652 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9653 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9654 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9655 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9656 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9657 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9658 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9659 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9660 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9661 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9662 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9663 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9664 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9665 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9666 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9667 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9668 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9669 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9670 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9671 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9672 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9673 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9674 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9675 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9676 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9677 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9678 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9679 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9680 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9681 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9682 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9683 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9684 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9685 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9686 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9687 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9688 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9689 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9690 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9691 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9692 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9693 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9694 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9695 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9696 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9697 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9698 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9699 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9700 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9701 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9702 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9703 * sysdeps/ieee754/s_lib_version.c: Likewise.
9704 * sysdeps/ieee754/s_matherr.c: Likewise.
9705 * sysdeps/ieee754/s_signgam.c: Likewise.
9706 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9707 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9708 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9709 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9710 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9711 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9712 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9713 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9714 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9715 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9716 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9717 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9718 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9719 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9720 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9721 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9722 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9723 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9724 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9725 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9726 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9728 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9730 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9731 * sunrpc/rpc_main.c: Likewise.
9732 * sunrpc/rpc_svcout.c: Likewise.
9734 2012-03-09 David S. Miller <davem@davemloft.net>
9736 * include/math_private.h: New file.
9738 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9740 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9741 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9742 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9743 from <bits/socket_type.h>.
9744 (enum __socket_type): Don't define here.
9745 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9750 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9753 * Makerules ($(inst_includedir)/%.h): New rule.
9754 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9755 (install-others): Remove variable setting.
9756 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9758 2012-03-08 Richard Henderson <rth@twiddle.net>
9760 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9761 from macro to inline function; merge with the
9762 !__LIBC_INTERNAL_MATH_INLINES version.
9763 (__ieee754_sqrtf): Likewise.
9765 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9767 (__rintf, __floor, __floorf): Likewise.
9769 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9770 macro to inline function.
9771 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9773 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9774 not <math/math_private.h>.
9776 2012-03-08 David S. Miller <davem@davemloft.net>
9778 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9780 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9782 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9784 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9786 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9787 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9789 2012-03-08 Ulrich Drepper <drepper@gmail.com>
9791 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9792 be defined individually, they must be defined as a block. Define
9793 S for printing a string instead of hidint the different by using a
9794 macro for adding the 'l'.
9795 * stdio-common/tst-fphex-wide.c: Adjust.
9797 2012-03-07 Marek Polacek <polacek@redhat.com>
9799 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9801 2012-03-08 Marek Polacek <polacek@redhat.com>
9804 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9805 * stdio-common/tst-fphex.c: Define a few macros to make the
9806 test reusable. Use them.
9807 * stdio-common/tst-fphex-wide.c: New file.
9809 2012-03-08 Joseph Myers <joseph@codesourcery.com>
9812 * manual/macros.texi (gnusystems): New macro.
9813 (nongnusystems): Likewise.
9814 (gnulinuxhurdsystems): Likewise.
9815 (gnuhurdsystems): Likewise..
9816 (gnulinuxsystems): Likewise.
9817 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9818 variants of the GNU system, not "GNU system".
9819 * manual/conf.texi: Likewise.
9820 * manual/errno.texi: Likewise. Update example of errno macro
9822 * manual/filesys.texi: Likewise.
9823 (getumask): Document as specific to GNU/Hurd.
9824 * manual/install.texi: Likewise. Reword some references to
9826 * manual/intro.texi: Likewise.
9827 * manual/io.texi: Likewise.
9828 (File Name Portability): Detail which constraints are inapplicable
9829 to all GNU systems and which are only inapplicable to GNU/Hurd.
9830 * manual/job.texi: Likewise.
9831 * manual/llio.texi: Likewise.
9832 (O_NOCTTY): Document as present on GNU/Linux.
9833 * manual/maint.texi: Likewise.
9834 * manual/memory.texi: Likewise.
9835 * manual/pattern.texi: Likewise.
9836 * manual/pipe.texi: Likewise.
9837 * manual/process.texi: Likewise.
9838 * manual/resource.texi: Likewise.
9839 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9841 * manual/setjmp.texi: Likewise.
9842 * manual/signal.texi: Likewise.
9843 * manual/startup.texi: Likewise.
9844 * manual/stdio.texi: Likewise.
9845 * manual/terminal.texi: Likewise.
9846 (ONLCR): Document as POSIX.
9847 (OXTABS): Document availability on GNU/Linux as XTABS.
9848 (ONOEOT): Document availability separately from other bits.
9849 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9850 * manual/time.texi: Likewise.
9851 * manual/users.texi: Likewise.
9852 * INSTALL: Regenerated.
9853 * sysdeps/gnu/errlist.c: Regenerated.
9855 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9856 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9857 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9859 * configure: Regenerated.
9861 2012-03-07 Joseph Myers <joseph@codesourcery.com>
9863 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9864 default includes instead of AC_HEADER_CHECK.
9865 * sysdeps/i386/configure: Regenerated.
9868 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9869 * math/s_cacoshf.c (__cacoshf): Likewise.
9870 * math/s_cacoshl.c (__cacoshl): Likewise.
9871 * math/s_casinh.c (__casinh): Set signs of result from argument.
9872 * math/s_casinhf.c (__casinhf): Likewise.
9873 * math/s_casinhl.c (__casinhl): Likewise.
9874 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9875 (casinh_test): Add more tests.
9876 * sysdeps/i386/fpu/libm-test-ulps: Update.
9877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9879 2012-03-07 Ulrich Drepper <drepper@gmail.com>
9881 * po/zh_TW.po: Update from translation team.
9883 * login/Makefile (distribute): Remove variable.
9884 * catgets/Makefile: Likewise.
9885 * mach/Makefile: Likewise.
9886 * malloc/Makefile: Likewise.
9887 * misc/Makefile: Likewise.
9888 * iconv/Makefile: Likewise.
9889 * nscd/Makefile: Likewise.
9890 * hurd/Makefile: Likewise.
9891 * manual/Makefile: Likewise.
9892 * locale/Makefile: Likewise.
9893 * intl/Makefile: Likewise.
9894 * conform/Makefile: Likewise.
9895 * nss/Makefile: Likewise.
9896 * time/Makefile: Likewise.
9897 * soft-fp/Makefile: Likewise.
9898 * dirent/Makefile: Likewise.
9899 * gmon/Makefile: Likewise.
9900 * po/Makefile: Likewise.
9901 * rt/Makefile: Likewise.
9902 * socket/Makefile: Likewise.
9903 * math/Makefile: Likewise.
9904 * signal/Makefile: Likewise.
9905 * debug/Makefile: Likewise.
9906 * elf/Makefile: Likewise.
9907 * timezone/Makefile: Likewise.
9908 * stdlib/Makefile: Likewise.
9909 * iconvdata/Makefile: Likewise.
9910 * sunrpc/Makefile: Likewise.
9911 * io/Makefile: Likewise.
9912 * argp/Makefile: Likewise.
9913 * inet/Makefile: Likewise.
9914 * hesiod/Makefile: Likewise.
9915 * grp/Makefile: Likewise.
9916 * csu/Makefile: Likewise.
9917 * wctype/Makefile: Likewise.
9918 * crypt/Makefile: Likewise.
9919 * libio/Makefile: Likewise.
9920 * string/Makefile: Likewise.
9921 * nis/Makefile: Likewise.
9922 * resolv/Makefile: Likewise.
9923 * stdio-common/Makefile: Likewise.
9924 * wcsmbs/Makefile: Likewise.
9925 * dlfcn/Makefile: Likewise.
9926 * posix/Makefile: Likewise.
9929 * timezone/Makefile: Don't install timezone files, just the programs
9932 2012-03-06 Ulrich Drepper <drepper@gmail.com>
9934 * nss/databases.def: Add missing gshadow entry.
9936 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9938 2012-03-06 Marek Polacek <polacek@redhat.com>
9941 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9942 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9943 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9944 * stdio-common/tst-long-dbl-fphex.c: New file.
9946 2012-03-06 David S. Miller <davem@davemloft.net>
9948 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9949 (set_obp_int): New function.
9950 (get_obp_int): New function.
9951 (__get_clockfreq_via_dev_openprom): Likewise.
9952 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9953 Avoid unused variable warnings on 'val' and use builtin_expect.
9954 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9956 (INLINE_CLONE_SYSCALL): Likewise.
9958 2012-03-05 David S. Miller <davem@davemloft.net>
9960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9962 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9966 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9968 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9970 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
9972 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9973 Replace gettimeofday with __vdso_gettimeofday.
9975 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9976 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9977 __vdso_clock_gettime and __vdso_getcpu.
9979 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9980 time with __vdso_time.
9982 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9984 * manual/lang.texi (size_t): Note types to which size_t may be
9985 equivalent with the GNU C Library, but do not describe when
9986 differences between them are significant.
9988 2012-03-05 Andreas Jaeger <aj@suse.de>
9990 * sysdeps/i386/fpu/libm-test-ulps: Update.
9992 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9995 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9996 (__ieee754_pow): Save and restore rounding mode and use
9997 round-to-nearest for main computations.
9998 * math/libm-test.inc (pow_test_tonearest): New function.
9999 (pow_test_towardzero): Likewise.
10000 (pow_test_downward): Likewise.
10001 (pow_test_upward): Likewise.
10002 (main): Call the new functions.
10003 * sysdeps/i386/fpu/libm-test-ulps: Update.
10004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10007 * math/libm-test.inc (cosh_test_tonearest): New function.
10008 (cosh_test_towardzero): Likewise.
10009 (cosh_test_downward): Likewise.
10010 (cosh_test_upward): Likewise.
10011 (sinh_test_tonearest): Likewise.
10012 (sinh_test_towardzero): Likewise.
10013 (sinh_test_downward): Likewise.
10014 (sinh_test_upward): Likewise.
10015 (main): Call the new functions.
10016 * sysdeps/i386/fpu/libm-test-ulps: Update.
10017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10019 2012-03-05 Tom de Vries <tom@codesourcery.com>
10021 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10022 default stack guard is set in last bytes.
10023 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10025 2012-03-05 Kees Cook <keescook@chromium.org>
10027 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10030 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10031 possibly allocate from heap instead of stack.
10032 * stdio-common/bug-vfprintf-nargs.c: New file.
10033 * stdio-common/Makefile (tests): Add nargs overflow test.
10035 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10039 2012-03-03 Marek Polacek <polacek@redhat.com>
10041 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10042 * math/math_private.h: Likewise.
10043 * stdlib/tst-strtod.c: Likewise.
10044 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10045 * sysdeps/x86_64/bits/atomic.h: Likewise.
10047 2012-03-02 David S. Miller <davem@davemloft.net>
10049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10053 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10054 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10055 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10056 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10058 2012-03-02 Roland McGrath <roland@hack.frob.com>
10061 * manual/examples/README: New file, says the example source files
10062 can be used under GPL>=2.
10063 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10064 line containing just "*/".
10065 * manual/examples/add.c: Add copyright header (GPL>=2).
10066 * manual/examples/argp-ex1.c: Likewise.
10067 * manual/examples/argp-ex2.c: Likewise.
10068 * manual/examples/argp-ex3.c: Likewise.
10069 * manual/examples/argp-ex4.c: Likewise.
10070 * manual/examples/atexit.c: Likewise.
10071 * manual/examples/db.c: Likewise.
10072 * manual/examples/dir.c: Likewise.
10073 * manual/examples/dir2.c: Likewise.
10074 * manual/examples/execinfo.c: Likewise.
10075 * manual/examples/filecli.c: Likewise.
10076 * manual/examples/filesrv.c: Likewise.
10077 * manual/examples/fmtmsgexpl.c: Likewise.
10078 * manual/examples/genpass.c: Likewise.
10079 * manual/examples/inetcli.c: Likewise.
10080 * manual/examples/inetsrv.c: Likewise.
10081 * manual/examples/isockad.c: Likewise.
10082 * manual/examples/longopt.c: Likewise.
10083 * manual/examples/memopen.c: Likewise.
10084 * manual/examples/memstrm.c: Likewise.
10085 * manual/examples/mkfsock.c: Likewise.
10086 * manual/examples/mkisock.c: Likewise.
10087 * manual/examples/mygetpass.c: Likewise.
10088 * manual/examples/pipe.c: Likewise.
10089 * manual/examples/popen.c: Likewise.
10090 * manual/examples/rprintf.c: Likewise.
10091 * manual/examples/search.c: Likewise.
10092 * manual/examples/select.c: Likewise.
10093 * manual/examples/setjmp.c: Likewise.
10094 * manual/examples/sigh1.c: Likewise.
10095 * manual/examples/sigusr.c: Likewise.
10096 * manual/examples/stpcpy.c: Likewise.
10097 * manual/examples/strdupa.c: Likewise.
10098 * manual/examples/strftim.c: Likewise.
10099 * manual/examples/strncat.c: Likewise.
10100 * manual/examples/subopt.c: Likewise.
10101 * manual/examples/swapcontext.c: Likewise.
10102 * manual/examples/termios.c: Likewise.
10103 * manual/examples/testopt.c: Likewise.
10104 * manual/examples/testpass.c: Likewise.
10105 * manual/examples/timeval_subtract.c: Likewise.
10108 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10110 * manual/timeval_subtract.c.texi: ... here, new file.
10112 2012-03-02 David S. Miller <davem@davemloft.net>
10114 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10116 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10119 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10120 (__sin): Save and restore rounding mode and use round-to-nearest
10121 for all computations.
10122 (__cos): Save and restore rounding mode and use round-to-nearest
10123 for all computations.
10124 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10126 (tan): Save and restore rounding mode and use round-to-nearest for
10128 * math/libm-test.inc (cos_test_tonearest): New function.
10129 (cos_test_towardzero): Likewise.
10130 (cos_test_downward): Likewise.
10131 (cos_test_upward): Likewise.
10132 (sin_test_tonearest): Likewise.
10133 (sin_test_towardzero): Likewise.
10134 (sin_test_downward): Likewise.
10135 (sin_test_upward): Likewise.
10136 (tan_test_tonearest): Likewise.
10137 (tan_test_towardzero): Likewise.
10138 (tan_test_downward): Likewise.
10139 (tan_test_upward): Likewise.
10140 (main): Call the new functions.
10141 * sysdeps/i386/fpu/libm-test-ulps: Update.
10142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10145 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10146 small n, then large n, before computing and testing k+n.
10147 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10148 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10150 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10152 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10153 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10154 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10155 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10156 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10157 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10158 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10159 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10160 * math/libm-test.inc (scalbn_test): Add more tests.
10161 (scalbln_test): Likewise.
10163 * manual/filesys.texi (mode_t): Describe constraints on size and
10164 signedness, not exact equivalence to a particular type.
10166 (ino64_t): Likewise.
10168 (nlink_t): Likewise.
10169 (blkcnt_t): Likewise.
10170 (blkcnt64_t): Likewise.
10171 * manual/llio.texi (off_t): Likewise.
10174 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10175 (__ieee754_exp): Save and restore rounding mode and use
10176 round-to-nearest for all computations.
10177 * math/libm-test.inc (exp_test_tonearest): New function.
10178 (exp_test_towardzero): Likewise.
10179 (exp_test_downward): Likewise.
10180 (exp_test_upward): Likewise.
10181 (main): Call the new functions.
10182 * sysdeps/i386/fpu/libm-test-ulps: Update.
10183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10185 2012-03-01 Chris Demetriou <cgd@google.com>
10187 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10188 have predictable order.
10190 2012-03-01 David S. Miller <davem@davemloft.net>
10192 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10194 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10195 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10196 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10197 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10199 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10200 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10201 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10203 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10204 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10205 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10206 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10207 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10211 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10212 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10213 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10215 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10216 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10217 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10218 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10219 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10220 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10221 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10222 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10223 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10224 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10225 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10226 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10227 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10228 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10229 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10230 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10231 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10232 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10233 * sysdeps/sparc/elf/configure: Regenerated.
10235 2012-03-01 Joseph Myers <joseph@codesourcery.com>
10237 * configure.in (AS, LD): Require binutils 2.20 or later.
10238 * configure: Regenerated.
10239 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10240 as required minimum version.
10241 * INSTALL: Regenerated.
10245 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10246 before squaring exponent.
10247 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10248 bottom long double and 27 bits of top long double before squaring
10250 * math/libm-test.inc (erfc_test): Add more tests.
10251 * sysdeps/i386/fpu/libm-test-ulps: Update.
10252 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10255 2012-03-01 Kai Tietz <ktietz@redhat.com>
10257 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10258 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10259 containing bit-fields.
10260 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10261 * soft-fp/single.h (_FP_UNION_S): Likewise.
10262 * soft-fp/double.h (_FP_UNION_D): Likewise.
10264 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10267 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10268 not include ../strcmp.S.
10269 [USE_AS_STRNCASECMP_L]: Likewise.
10270 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10271 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10272 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10273 (__strncasecmp_l_ia32): Define as alias to
10274 __strncasecmp_l_nonascii.
10277 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10278 * sysdeps/i386/fpu/libm-test-ulps: Update.
10279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10281 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10284 2012-02-29 Jeff Law <law@redhat.com>
10286 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10287 out of bounds read.
10289 2012-02-29 Marek Polacek <polacek@redhat.com>
10292 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10293 * elf/Makefile: Add rules to run tst-unused-dep.out.
10295 2012-02-28 David S. Miller <davem@davemloft.net>
10297 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10298 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10299 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10300 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10301 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10302 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10304 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10306 * math/libm-test.inc (llround_test): Move one test from
10307 lround_test. Use TEST_f_L in moved test.
10308 (lround_test): Move misplaced test to llround_test. Add testcase
10311 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10313 * sysdeps/x86_64/fpu/e_expf.S: New file.
10314 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10316 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10319 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10320 of remain_len that may cause incomplete multi-byte character and
10322 * posix/bug-regex33.c: New file.
10323 * posix/Makefile (tests): Add bug-regex33.
10325 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10327 * manual/macros.texi: New file.
10328 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10329 * manual/libc.texinfo: Include macros.texi.
10330 * manual/creatute.texi: Likewise.
10331 * manual/install.texi: Likewise.
10332 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10333 @glibcadj{} in references to the GNU C Library.
10334 * manual/charset.texi: Likewise.
10335 * manual/conf.texi: Likewise.
10336 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10337 when not using those macros.
10338 * manual/creature.texi: Likewise.
10339 * manual/crypt.texi: Likewise.
10340 * manual/errno.texi: Likewise.
10341 * manual/filesys.texi: Likewise.
10342 * manual/header.texi: Likewise.
10343 * manual/install.texi: Likewise.
10344 * manual/intro.texi: Likewise.
10345 * manual/io.texi: Likewise.
10346 * manual/job.texi: Likewise.
10347 * manual/lang.texi: Likewise.
10348 * manual/libc.texiinfo: Likewise.
10349 * manual/llio.texi: Likewise.
10350 * manual/locale.texi: Likewise.
10351 * manual/maint.texi: Likewise.
10352 * manual/math.texi: Likewise.
10353 * manual/memory.texi: Likewise.
10354 * manual/message.texi: Likewise.
10355 * manual/nss.texi: Likewise.
10356 * manual/pattern.texi: Likewise.
10357 * manual/process.texi: Likewise.
10358 * manual/resource.texi: Likewise.
10359 * manual/search.texi: Likewise.
10360 * manual/setjmp.texi: Likewise.
10361 * manual/signal.texi: Likewise.
10362 * manual/socket.texi: Likewise.
10363 * manual/startup.texi: Likewise.
10364 * manual/stdio.texi: Likewise.
10365 * manual/string.texi: Likewise.
10366 * manual/sysinfo.texi: Likewise.
10367 * manual/syslog.texi: Likewise.
10368 * manual/terminal.texi: Likewise.
10369 * manual/time.texi: Likewise.
10370 * manual/users.texi: Likewise.
10371 * INSTALL: Regenerated.
10372 * NOTES: Regenerated.
10373 * sysdeps/gnu/errlist.c: Regenerated.
10375 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10377 * include/dirent.h: Include <dirstream.h> before
10380 2012-02-28 David S. Miller <davem@davemloft.net>
10382 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10383 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10384 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10385 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10387 2012-02-27 David S. Miller <davem@davemloft.net>
10389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10391 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10392 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10395 frame pointer instead of stack pointer relative arg slot.
10396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10397 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10398 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10400 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10403 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10405 2012-02-27 David S. Miller <davem@davemloft.net>
10407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10411 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10412 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10413 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10414 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10416 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10418 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10419 later. Allow versions 5-9.
10420 * configure: Regenerated.
10421 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10422 required minimum version and 4.6 as recommended version. Do not
10423 mention bugs in GCC 2.7 and 2.8.
10424 * INSTALL: Regenerated.
10426 2012-02-27 David S. Miller <davem@davemloft.net>
10428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10432 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10433 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10434 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10435 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10437 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10438 manipulate bits before adding and subtracting TWO112[sx].
10439 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10441 2012-02-27 Roland McGrath <roland@hack.frob.com>
10444 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10445 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10446 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10447 being in POSIX, because they are in 1003.1-2008.
10449 * rt/tst-aio.c: Include <fcntl.h>.
10450 * rt/tst-aio7.c: Likewise.
10451 * rt/tst-aio64.c: Likewise.
10453 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10455 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10457 * manual/install.texi (--with-headers): Describe headers as
10458 interface headers, not private headers.
10459 (Specific advice for GNU/Linux systems): Describe use of headers
10460 from "make headers_install", not private headers from older
10462 * INSTALL: Regenerated.
10463 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10465 * sysdeps/unix/sysv/linux/configure: Regenerated.
10467 * manual/llio.texi (fclean): Remove documentation.
10469 * manual/Makefile (libc-texi-generated): New variable. Include
10471 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10472 $(libc-texi-generated), not duplicated list of files.
10473 (version.texi, stamp-version): New rules.
10474 (realclean): Remove $(libc-texi-generated), not individual files
10475 from that list. Do not remove dir-add.texinfo.
10476 * manual/libc.texinfo: Comment out uses of edition numbers and
10477 references to printed manual. Remove last-updated dates.
10478 (EDITION): Comment out.
10480 (VERSION, UPDATED): Remove.
10481 (version.texi): Include.
10483 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10485 * sysdeps/posix/spawni.c: Include <signal.h>.
10486 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10487 * sysdeps/pthread/aio_fsync.c: Likewise.
10489 2012-02-26 Ulrich Drepper <drepper@gmail.com>
10491 * conform/Makefile (tests): Run only when not cross-compiling and
10492 when fast-check is not defined.
10494 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10495 * conform/data/limits.h-data: Fixes for POSIX2008.
10496 * conform/run-conformtest.sh: Run all tests.
10497 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10499 * include/bits/dlfcn.h: Likewise.
10500 * include/langinfo.h: Likewise.
10501 * include/monetary.h: Likewise.
10502 * include/sys/poll.h: Likewise.
10504 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10506 * posix/spawn.h: Define __need_sigset_t.
10507 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10508 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10509 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10510 to get sigevent_t only.
10511 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10512 only for __USE_GNU.
10513 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10514 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10515 process_vm_writev only for __USE_GNU.
10516 * termios/termios.h: Declare tcgetsid also for POSIX2008.
10518 * conform/Makefile: For now ignore errors from run-conformtest.
10519 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10520 POSIX to avoid namespace pollution. Don't prepend headers.
10521 * conform/data/aio.h-data: Fixes for POSIX testing.
10522 * conform/data/fcntl.h-data: Likewise.
10523 * conform/data/glob.h-data: Likewise.
10524 * conform/data/grp.h-data: Likewise.
10525 * conform/data/pthread.h-data: Likewise.
10526 * conform/data/pwd.h-data: Likewise.
10527 * conform/data/signal.h-data: Likewise.
10528 * conform/data/spawn.h-data: Likewise.
10529 * conform/data/stdio.h-data: Likewise.
10530 * conform/data/stdlib.h-data: Likewise.
10531 * conform/data/stropts.h-data: Likewise.
10532 * conform/data/sys/mman.h-data: Likewise.
10533 * conform/data/sys/stat.h-data: Likewise.
10534 * conform/data/sys/types.h-data: Likewise.
10535 * conform/data/sys/wait.h-data: Likewise.
10536 * conform/data/time.h-data: Likewise.
10537 * conform/data/unistd.h-data: Likewise.
10538 * conform/data/utime.h-data: Likewise.
10540 * io/sys/stat.h: fchmod was always in POSIX.
10541 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10542 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10543 * rt/aio.h: Define __need_timespec before including <time.h>.
10544 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10545 struct. Add forward declaration of pthread_attr_t and use it in
10547 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10548 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10549 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10550 always remove CLK_TCK definition.
10552 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10554 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10556 2012-02-25 Ulrich Drepper <drepper@gmail.com>
10558 * conform/run-conformtest.sh: New file.
10559 * conform/Makefile: Run run-conformtest for tests.
10560 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10563 * conform/data/uchar.h-data: New file.
10564 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10565 * conform/data/arpa/inet.h-data: Likewise.
10566 * conform/data/assert.h-data: Likewise.
10567 * conform/data/complex.h-data: Likewise.
10568 * conform/data/cpio.h-data: Likewise.
10569 * conform/data/ctype.h-data: Likewise.
10570 * conform/data/dirent.h-data: Likewise.
10571 * conform/data/dlfcn.h-data: Likewise.
10572 * conform/data/errno.h-data: Likewise.
10573 * conform/data/fcntl.h-data: Likewise.
10574 * conform/data/float.h-data: Likewise.
10575 * conform/data/fmtmsg.h-data: Likewise.
10576 * conform/data/fnmatch.h-data: Likewise.
10577 * conform/data/ftw.h-data: Likewise.
10578 * conform/data/glob.h-data: Likewise.
10579 * conform/data/grp.h-data: Likewise.
10580 * conform/data/iconv.h-data: Likewise.
10581 * conform/data/inttypes.h-data: Likewise.
10582 * conform/data/langinfo.h-data: Likewise.
10583 * conform/data/libgen.h-data: Likewise.
10584 * conform/data/limits.h-data: Likewise.
10585 * conform/data/locale.h-data: Likewise.
10586 * conform/data/math.h-data: Likewise.
10587 * conform/data/monetary.h-data: Likewise.
10588 * conform/data/mqueue.h-data: Likewise.
10589 * conform/data/ndbm.h-data: Likewise.
10590 * conform/data/net/if.h-data: Likewise.
10591 * conform/data/netdb.h-data: Likewise.
10592 * conform/data/netinet/in.h-data: Likewise.
10593 * conform/data/nl_types.h-data: Likewise.
10594 * conform/data/poll.h-data: Likewise.
10595 * conform/data/pthread.h-data: Likewise.
10596 * conform/data/pwd.h-data: Likewise.
10597 * conform/data/regex.h-data: Likewise.
10598 * conform/data/sched.h-data: Likewise.
10599 * conform/data/search.h-data: Likewise.
10600 * conform/data/semaphore.h-data: Likewise.
10601 * conform/data/setjmp.h-data: Likewise.
10602 * conform/data/signal.h-data: Likewise.
10603 * conform/data/spawn.h-data: Likewise.
10604 * conform/data/stdarg.h-data: Likewise.
10605 * conform/data/stdio.h-data: Likewise.
10606 * conform/data/stdlib.h-data: Likewise.
10607 * conform/data/string.h-data: Likewise.
10608 * conform/data/strings.h-data: Likewise.
10609 * conform/data/stropts.h-data: Likewise.
10610 * conform/data/sys/ipc.h-data: Likewise.
10611 * conform/data/sys/mman.h-data: Likewise.
10612 * conform/data/sys/msg.h-data: Likewise.
10613 * conform/data/sys/resource.h-data: Likewise.
10614 * conform/data/sys/select.h-data: Likewise.
10615 * conform/data/sys/sem.h-data: Likewise.
10616 * conform/data/sys/shm.h-data: Likewise.
10617 * conform/data/sys/socket.h-data: Likewise.
10618 * conform/data/sys/stat.h-data: Likewise.
10619 * conform/data/sys/statvfs.h-data: Likewise.
10620 * conform/data/sys/time.h-data: Likewise.
10621 * conform/data/sys/timeb.h-data: Likewise.
10622 * conform/data/sys/times.h-data: Likewise.
10623 * conform/data/sys/types.h-data: Likewise.
10624 * conform/data/sys/uio.h-data: Likewise.
10625 * conform/data/sys/un.h-data: Likewise.
10626 * conform/data/sys/utsname.h-data: Likewise.
10627 * conform/data/sys/wait.h-data: Likewise.
10628 * conform/data/syslog.h-data: Likewise.
10629 * conform/data/tar.h-data: Likewise.
10630 * conform/data/termios.h-data: Likewise.
10631 * conform/data/utime.h-data: Likewise.
10632 * conform/data/utmpx.h-data: Likewise.
10633 * conform/data/varargs.h-data: Likewise.
10634 * conform/data/wchar.h-data: Likewise.
10635 * conform/data/wctype.h-data: Likewise.
10636 * conform/data/wordexp.h-data: Likewise.
10638 * include/stropts.h: New file.
10639 * include/uchar.h: New file.
10640 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10641 * include/assert.h: Likewise.
10642 * include/ctype.h: Likewise.
10643 * include/dirent.h: Likewise.
10644 * include/dlfcn.h: Likewise.
10645 * include/fcntl.h: Likewise.
10646 * include/fnmatch.h: Likewise.
10647 * include/glob.h: Likewise.
10648 * include/grp.h: Likewise.
10649 * include/libio.h: Likewise.
10650 * include/locale.h: Likewise.
10651 * include/math.h: Likewise.
10652 * include/net/if.h: Likewise.
10653 * include/netdb.h: Likewise.
10654 * include/netinet/in.h: Likewise.
10655 * include/pthread.h: Likewise.
10656 * include/pwd.h: Likewise.
10657 * include/regex.h: Likewise.
10658 * include/sched.h: Likewise.
10659 * include/search.h: Likewise.
10660 * include/setjmp.h: Likewise.
10661 * include/signal.h: Likewise.
10662 * include/stdio.h: Likewise.
10663 * include/stdlib.h: Likewise.
10664 * include/string.h: Likewise.
10665 * include/sys/cdefs.h: Likewise.
10666 * include/sys/mman.h: Likewise.
10667 * include/sys/msg.h: Likewise.
10668 * include/sys/resource.h: Likewise.
10669 * include/sys/select.h: Likewise.
10670 * include/sys/socket.h: Likewise.
10671 * include/sys/stat.h: Likewise.
10672 * include/sys/statvfs.h: Likewise.
10673 * include/sys/time.h: Likewise.
10674 * include/sys/times.h: Likewise.
10675 * include/sys/uio.h: Likewise.
10676 * include/sys/utsname.h: Likewise.
10677 * include/sys/wait.h: Likewise.
10678 * include/termios.h: Likewise.
10679 * include/time.h: Likewise.
10680 * include/ulimit.h: Likewise.
10681 * include/unistd.h: Likewise.
10682 * include/utime.h: Likewise.
10683 * include/wchar.h: Likewise.
10684 * include/wctype.h: Likewise.
10685 * include/wordexp.h: Likewise.
10687 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10689 * time/time.h: TIME_UTC must be a macro.
10690 Make timespec_get available for ISO C11 only as well.
10692 2012-02-24 Ulrich Drepper <drepper@gmail.com>
10694 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10695 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10697 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10699 * configure.in: Use -o not -a in test for unsupported multi-arch.
10701 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10703 * manual/texinfo.tex: Update to version 2012-01-19.16.
10705 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10707 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10709 2012-02-24 Roland McGrath <roland@hack.frob.com>
10712 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10713 * manual/fdl-1.3.texi: New file.
10714 * manual/fdl-1.1.texi: File removed.
10717 * manual/libc.texinfo (FDL_VERSION): New @set.
10718 Use it for mention of FDL in cover text.
10719 (Documentation License): Use it in @include file name.
10721 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10722 Roland McGrath <roland@hack.frob.com>
10725 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10726 not LONG_LONG_MAX and LONG_LONG_MIN.
10727 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10728 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10730 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10732 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10736 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10737 manipulate bits before adding and subtracting TWO23[sx].
10738 * math/libm-test.inc (nearbyint_test): Add more tests.
10740 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10743 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10744 bits before adding and subtracting TWO23[sx].
10745 * math/libm-test.inc (rint_test): Add more tests.
10746 (rint_test_tonearest): Likewise.
10747 (rint_test_towardzero): Likewise.
10748 (rint_test_downward): Likewise.
10749 (rint_test_upward: Likewise.
10751 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10754 * include/stdc-predef.h: New file. Extracted from features.h.
10755 * include/features.h: Include stdc-predef.h.
10756 * Makefile (headers): Add stdc-predef.h.
10757 * CONFORMANCE (Compiler limitations): Update.
10759 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10761 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10763 2012-02-21 David S. Miller <davem@davemloft.net>
10765 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10766 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10768 2012-02-20 David S. Miller <davem@davemloft.net>
10770 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10771 using a normal save/restore sequence, rather than allocating a
10772 dummy stack frame just to store a frame pointer and restore.
10773 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10775 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10777 * manual/install.texi: Fix stray word in line-wrapped comment.
10779 2012-02-20 David S. Miller <davem@davemloft.net>
10781 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10782 both binutils and gcc support GOTDATA.
10784 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10785 "rd %pc" in the PIC register setup sequences.
10787 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10788 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10789 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10790 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10791 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10792 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10793 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10794 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10795 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10796 (SYSCALL_ERROR_HANDLER): Likewise.
10797 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10798 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10799 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10800 (SYSCALL_ERROR_HANDLER): Likewise.
10802 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10803 (HAVE_GCC_GOTDATA): New.
10804 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10805 relocation support in both binutils and gcc.
10806 * sysdeps/sparc/elf/configure: Regenerate.
10808 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10809 * sysdeps/sparc/sparc32/elf/configure: Delete.
10810 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10811 * sysdeps/sparc/sparc64/elf/configure: Delete.
10812 * sysdeps/sparc/elf/configure.in: New file.
10813 * sysdeps/sparc/elf/configure: Generate.
10815 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10816 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10817 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10818 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10819 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10821 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10823 * manual/install.texi: Do not mention specific glibc version
10825 * manual/libc.texinfo (VERSION, UPDATED): Update.
10826 (@copying): Use @copyright{} and range of years.
10828 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10831 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10832 [crti.S not in sysdirs] (generated): Do not append.
10833 [crti.S not in sysdirs] (omit-deps): Likewise.
10834 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10835 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10836 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10837 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10838 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10840 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10841 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10842 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10843 * csu/defs.awk: Remove file.
10844 * sysdeps/generic/initfini.c: Likewise.
10845 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10847 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10850 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10852 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10853 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10854 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10855 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10856 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10857 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10859 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10860 (__EPOLL_PACKED): Define to empty if not defined by
10862 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10863 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10866 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10868 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10869 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10870 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10871 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10873 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10874 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10877 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10879 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10881 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10882 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10883 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10886 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10888 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10889 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10891 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10893 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10894 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10896 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10898 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10901 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10903 * math/w_acos.c: Use non-signaling floating-point comparisons.
10904 * math/w_acosf.c: Likewise.
10905 * math/w_acosh.c: Likewise.
10906 * math/w_acoshf.c: Likewise.
10907 * math/w_acoshl.c: Likewise.
10908 * math/w_acosl.c: Likewise.
10909 * math/w_asin.c: Likewise.
10910 * math/w_asinf.c: Likewise.
10911 * math/w_asinl.c: Likewise.
10912 * math/w_atanh.c: Likewise.
10913 * math/w_atanhf.c: Likewise.
10914 * math/w_atanhl.c: Likewise.
10915 * math/w_exp2.c: Likewise.
10916 * math/w_exp2f.c: Likewise.
10917 * math/w_exp2l.c: Likewise.
10918 * math/w_j0.c: Likewise.
10919 * math/w_j0f.c: Likewise.
10920 * math/w_j0l.c: Likewise.
10921 * math/w_j1.c: Likewise.
10922 * math/w_j1f.c: Likewise.
10923 * math/w_j1l.c: Likewise.
10924 * math/w_jn.c: Likewise.
10925 * math/w_jnf.c: Likewise.
10926 * math/w_log.c: Likewise.
10927 * math/w_log10.c: Likewise.
10928 * math/w_log10f.c: Likewise.
10929 * math/w_log10l.c: Likewise.
10930 * math/w_log2.c: Likewise.
10931 * math/w_log2f.c: Likewise.
10932 * math/w_log2l.c: Likewise.
10933 * math/w_logf.c: Likewise.
10934 * math/w_logl.c: Likewise.
10935 * math/w_sqrt.c: Likewise.
10936 * math/w_sqrtf.c: Likewise.
10937 * math/w_sqrtl.c: Likewise.
10938 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10939 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10940 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10941 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10942 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10944 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10947 * manual/string.texi (strnlen): Use correct parameter name in
10948 equivalent expression.
10950 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10953 * manual/users.texi (seteuid): Consistently use neweuid for
10956 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10959 * manual/nss.texi (Services in the NSS configuration): Correct
10960 list of services in example configuration file.
10962 2012-02-19 Nick Bowler <nbowler@draconx.ca>
10965 * manual/arith.texi: Remove statements about negative zero
10966 behaving identically to zero.
10968 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10971 * manual/install.texi: Do not document upgrading from libc5.
10973 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10976 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10978 2012-02-18 David S. Miller <davem@davemloft.net>
10980 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10981 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10982 %o7 across the call.
10983 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10985 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10986 SETUP_PIC_REG_LEAF.
10987 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10988 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10989 * sysdeps/sparc/crtn.S: Likewise.
10991 2012-02-17 Ulrich Drepper <drepper@gmail.com>
10993 * aout/Makefile: Remove.
10995 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10998 * manual/examples/argp-ex1.c (main): Format definition in GNU
11000 * manual/examples/argp-ex2.c (main): Likewise.
11001 * manual/examples/argp-ex3.c (main): Likewise.
11002 * manual/examples/argp-ex4.c (main): Likewise.
11003 * manual/examples/longopt.c (main): Use new-style prototype
11005 * manual/examples/strncat.c (main): Specify return type and use
11006 (void) for arguments.
11007 * manual/examples/subopt.c (main): Use char **argv argument.
11009 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11012 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11015 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11018 * manual/string.texi (strchr): Change when strchrnul is
11021 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11024 * manual/locale.texi (setlocale): Document LOCPATH.
11026 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11029 * manual/process.texi (execle): Move @dots{} before last argument.
11031 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11034 * manual/charset.texi (Generic Charset Conversion): Fix typo
11035 (LC_TYPE -> LC_CTYPE).
11037 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11040 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11041 (scalbnf): Likewise.
11042 (scalbnl): Likewise.
11043 (scalbln): Likewise.
11044 (scalblnf): Likewise.
11045 (scalblnl): Likewise.
11046 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11047 (vwarnx): Likewise.
11050 * manual/filesys.texi (telldir): Use braces around return type.
11051 * manual/llio.texi (mmap): Add space after comma.
11052 (mmap64): Likewise.
11053 * manual/math.texi (jn): Use @var{} on parameter names.
11059 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11061 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11063 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11064 (sched_get_priority_max): Likewise.
11065 * manual/signal.texi (sigvec): Add space after comma.
11066 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11068 (if_indextoname): Likewise.
11069 (if_freenameindex): Likewise.
11070 (sendto): Use ',' instead of '.' in prototype.
11071 * manual/startup.texi (syscall): Use @dots{} instead of literal
11073 * manual/stdio.texi (__fpending): Separate initial words of
11074 paragraph from @deftypefun line.
11075 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11077 (vsyslog): Use @var{} on parameter names.
11078 * manual/terminal.texi (stty): Use @var{} on parameter names.
11079 * manual/users.texi (getutmp): Use @var{} on parameter names.
11080 (getutmpx): Likewise.
11082 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11085 * manual/stdio.texi (fopen): Fix typos in description of
11088 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11091 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11092 get clock_id definition.
11094 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11097 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11098 (madvise): Cast every argument to void on its own.
11100 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11103 * manual/startup.texi (Exit Status): Fix typo.
11105 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11108 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11109 * manual/examples/argp-ex2.c: Likewise.
11110 * manual/examples/argp-ex3.c: Likewise.
11112 2012-02-16 Richard Henderson <rth@redhat.com>
11114 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11115 * sysdeps/s390/s390-32/initfini.c: Remove.
11116 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11117 * sysdeps/s390/s390-64/initfini.c: Remove.
11119 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11121 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11122 compiler output for sysdeps/generic/initfini.c.
11123 * sysdeps/sh/elf/initfini.c: Remove file.
11125 2012-02-16 David S. Miller <davem@davemloft.net>
11128 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11130 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11131 * sysdeps/sparc/crti.S: New file.
11132 * sysdeps/sparc/crtn.S: New file.
11133 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11134 * sysdeps/sparc/sparc64/Makefile: Likewise.
11136 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11139 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11141 2012-02-15 Roland McGrath <roland@hack.frob.com>
11144 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11146 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11147 (write, read, close): Likewise.
11148 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11150 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11152 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11153 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11154 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11155 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11157 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11161 2012-02-14 Marek Polacek <polacek@redhat.com>
11163 * sysdeps/x86_64/crti.S: New file.
11164 * sysdeps/x86_64/crtn.S: New file.
11165 * sysdeps/x86_64/elf/initfini.c: Remove file.
11167 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11169 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11170 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11171 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11172 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11174 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11175 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11178 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11180 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11181 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11182 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11183 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11185 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11186 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11189 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11191 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11192 __feraiseexcept instead of feraiseexcept.
11194 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11195 nanosleep invocations.
11196 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11197 strings, and add error checking for a nanosleep invocations.
11199 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11201 Replace FSF snail mail address with URLs, as per GNU coding standards.
11202 Most of the snail mail addresses were wrong anyway, and omitting
11203 them makes the source code easier to maintain. Almost all of the
11204 changes are to license notices and to locale LC_IDENTIFICATION
11205 addresses, except for this one:
11206 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11207 not its snail mail address.
11209 2012-02-09 Richard Henderson <rth@twiddle.net>
11211 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11212 of kernel-features.h.
11214 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11216 2012-02-08 Marek Polacek <polacek@redhat.com>
11218 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11219 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11220 * sysdeps/gnu/_G_config.h: Likewise.
11221 * sysdeps/generic/_G_config.h: Likewise.
11223 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11225 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11229 * sysdeps/powerpc/powerpc32/crti.S: New file.
11230 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11231 * sysdeps/powerpc/powerpc64/crti.S: New file.
11232 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11234 * Makeconfig (have-initfini): Don't set.
11235 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11236 * configure.in (nopic_initfini): Don't substitute.
11237 * config.h.in (HAVE_INITFINI): Don't #undef.
11238 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11239 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11241 2012-02-08 Joseph Myers <joseph@codesourcery.com>
11243 Support crti.S and crtn.S provided directly by architectures.
11244 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11245 [crti.S in sysdirs] (omit-deps): Likewise.
11246 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11247 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11248 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11249 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11250 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11251 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11252 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11253 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11254 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11255 compiler output for sysdeps/generic/initfini.c.
11256 * sysdeps/i386/elf/Makefile: Remove file.
11257 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11259 2012-02-07 Marek Polacek <polacek@redhat.com>
11261 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11262 * sysdeps/gnu/_G_config.h: Likewise.
11263 * sysdeps/mach/hurd/_G_config.h: Likewise.
11265 2012-02-07 Marek Polacek <polacek@redhat.com>
11267 * math/Makefile (tests): Add tst-CMPLX2.
11268 * math/tst-CMPLX2.c: New file.
11270 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11272 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11274 * math/libm-test.inc (jn_test): Add missing L suffix.
11276 2012-02-06 Marek Polacek <polacek@redhat.com>
11278 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11279 * sysdeps/i386/fpu/e_powf.S: Likewise.
11280 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11281 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11282 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11283 * sysdeps/i386/fpu/e_pow.S: Likewise.
11284 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11285 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11286 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11287 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11288 * sysdeps/i386/fpu/e_log2.S: Likewise.
11289 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11290 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11291 * sysdeps/i386/fpu/e_powl.S: Likewise.
11292 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11293 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11294 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11295 * sysdeps/i386/fpu/e_logl.S: Likewise.
11296 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11297 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11298 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11299 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11300 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11301 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11302 * sysdeps/i386/fpu/e_log.S: Likewise.
11303 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11304 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11305 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11306 * sysdeps/i386/fpu/e_logf.S: Likewise.
11307 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11308 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11309 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11310 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11311 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11312 * sysdeps/i386/fpu/e_log10.S: Likewise.
11313 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11314 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11315 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11316 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11317 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11318 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11319 * sysdeps/i386/asm-syntax.h: Likewise.
11320 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11321 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11322 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11323 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11324 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11325 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11326 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11327 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11328 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11329 * sysdeps/powerpc/sysdep.h: Likewise.
11330 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11331 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11333 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11336 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11338 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11340 * sysdeps/i386/sysdep.h: Include <features.h>.
11341 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11344 2012-02-05 Joseph Myers <joseph@codesourcery.com>
11346 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11348 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11351 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11353 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11354 (SETUP_PIC_REG): Use GET_PC_THUNK.
11355 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11358 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11360 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11361 for non-PIC compilation.
11362 (SETUP_PIC_REG): Add .p2align directive.
11363 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11364 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11365 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11366 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11367 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11368 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11369 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11370 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11371 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11372 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11373 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11374 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11375 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11376 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11377 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11378 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11379 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11380 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11381 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11382 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11383 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11384 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11385 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11386 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11387 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11388 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11389 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11390 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11391 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11392 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11393 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11394 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11395 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11396 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11397 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11398 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11399 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11400 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11401 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11402 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11403 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11405 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11407 * math/tst-CMPLX.c: Include <stdio.h>.
11409 2012-01-31 Joseph Myers <joseph@codesourcery.com>
11411 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11413 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11414 * sysdeps/sparc/bits/mathdef.h: Likewise.
11416 2012-01-31 Marek Polacek <polacek@redhat.com>
11418 * libio/libio.h: Don't define _PARAMS.
11419 * locale/programs/config.h: Don't define PARAMS.
11420 * stdlib/strtol_l.c: Likewise.
11421 (__strtol_l): Remove PARAMS from the prototype.
11423 2012-01-31 Ulrich Drepper <drepper@gmail.com>
11425 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11426 names. Just use the correct names. Remove unnecessary wrapper
11428 * malloc/arena.c: Likewise.
11429 * malloc/hooks.c: Likewise.
11431 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11432 ARENA_TEST says not to. Simplify test for creation of a new arena.
11433 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11435 2012-01-30 Ulrich Drepper <drepper@gmail.com>
11437 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11439 (update_get_addr): New function.
11440 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11441 GET_ADDR_MODULE parameter.
11443 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11445 * crypt/cert.c: Remove __STDC__ conditionals.
11446 * crypt/crypt-entry.c: Likewise.
11447 * crypt/crypt_util.c: Likewise.
11448 * libio/filedoalloc.c: Likewise.
11449 * libio/fileops.c: Likewise.
11450 * libio/genops.c: Likewise.
11451 * libio/iofclose.c: Likewise.
11452 * libio/iofdopen.c: Likewise.
11453 * libio/iofopen.c: Likewise.
11454 * libio/iofopen64.c: Likewise.
11455 * libio/iogetdelim.c: Likewise.
11456 * libio/iopopen.c: Likewise.
11457 * libio/obprintf.c: Likewise.
11458 * libio/oldfileops.c: Likewise.
11459 * libio/oldiofclose.c: Likewise.
11460 * libio/oldiofdopen.c: Likewise.
11461 * libio/oldiofopen.c: Likewise.
11462 * libio/oldiopopen.c: Likewise.
11463 * libio/wfiledoalloc.c: Likewise.
11464 * libio/wgenops.c: Likewise.
11465 * locale/programs/xmalloc.c: Likewise.
11466 * misc/syslog.c: Likewise.
11467 * stdio-common/xbug.c: Likewise.
11468 * string/memchr.c: Likewise.
11469 * string/memcmp.c: Likewise.
11470 * string/memrchr.c: Likewise.
11471 * string/rawmemchr.c: Likewise.
11472 * sysdeps/posix/getcwd.c: Likewise.
11473 * time/strftime_l.c: Likewise.
11475 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11477 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11478 * config.make.in (config-cflags-sse2avx): Define.
11479 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11482 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11484 * scripts/config.guess: Update from upstream config git repository.
11485 * scripts/config.sub: Likewise.
11487 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11489 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11491 (R_TILEPRO_*, R_TILEGX_*): New macros.
11493 * scripts/firstversions.awk: Fix bug in version range handling.
11495 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11497 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11499 * include/sys/epoll.h: New file.
11500 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11503 2012-01-28 Ulrich Drepper <drepper@gmail.com>
11505 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11506 Avoid unnecessary __WORDSIZE == 64 test.
11507 (fmaxf): Use VEX format if possible.
11512 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11513 * math/math_private.h: Remove libc_fegetround* and
11515 * sysdeps/i386/configure.in: Check for -msse2avx.
11516 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11517 also if SSE2AVX is defined.
11518 Remove libc_fegetround* and libc_fesetround*.
11519 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11520 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11521 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11523 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11524 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11525 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11526 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11527 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11529 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11531 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11533 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11535 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11537 2012-01-27 Ulrich Drepper <drepper@gmail.com>
11540 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11542 * Makeconfig (libm): Define.
11543 * elf/Makefile: Add rules to build and run tst-relsort1.
11544 * elf/tst-relsort1.c: New file.
11545 * elf/tst-relsort1mod1.c: New file.
11546 * elf/tst-relsort1mod2.c: New file.
11548 2012-01-27 Joseph Myers <joseph@codesourcery.com>
11550 * math/s_ldexp.c: Remove __STDC__ conditionals.
11551 * math/s_ldexpf.c: Likewise.
11552 * math/s_ldexpl.c: Likewise.
11553 * math/s_nextafter.c: Likewise.
11554 * math/s_nexttowardf.c: Likewise.
11555 * math/s_significand.c: Likewise.
11556 * math/s_significandf.c: Likewise.
11557 * math/s_significandl.c: Likewise.
11558 * math/w_jnl.c: Likewise.
11559 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11560 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11561 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11562 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11563 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11564 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11565 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11566 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11567 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11568 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11569 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11570 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11571 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11572 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11573 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11574 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11575 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11576 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11577 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11578 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11579 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11580 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11581 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11582 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11583 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11584 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11585 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11586 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11587 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11588 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11589 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11590 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11591 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11592 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11593 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11594 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11595 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11596 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11597 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11598 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11599 * sysdeps/ieee754/k_standard.c: Likewise.
11600 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11601 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11602 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11603 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11604 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11605 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11606 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11607 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11608 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11609 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11610 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11611 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11612 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11613 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11614 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11615 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11616 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11617 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11618 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11619 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11620 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11621 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11622 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11623 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11624 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11625 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11626 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11627 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11628 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11629 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11630 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11631 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11632 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11633 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11634 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11635 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11636 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11637 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11638 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11639 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11640 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11641 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11642 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11643 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11645 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11646 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11647 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11648 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11649 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11650 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11651 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11652 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11653 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11654 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11655 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11656 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11657 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11658 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11659 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11660 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11661 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11662 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11663 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11664 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11665 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11666 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11667 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11668 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11669 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11670 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11671 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11672 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11673 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11674 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11675 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11676 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11677 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11678 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11679 * sysdeps/ieee754/s_matherr.c: Likewise.
11680 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11681 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11682 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11683 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11685 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11687 * crypt/md5.h: Remove __STDC__ conditionals.
11688 * libio/libioP.h: Likewise.
11689 * locale/programs/config.h: Likewise.
11690 * sysdeps/generic/sysdep.h: Likewise.
11691 * sysdeps/i386/asm-syntax.h: Likewise.
11692 * sysdeps/s390/asm-syntax.h: Likewise.
11693 * sysdeps/unix/sysdep.h: Likewise.
11694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11697 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11699 * libio/libio.h: Remove __STDC__ conditionals.
11700 * malloc/obstack.h: Likewise.
11701 * math/complex.h: Likewise.
11702 * math/math.h: Likewise.
11703 * sysdeps/generic/_G_config.h: Likewise.
11704 * sysdeps/gnu/_G_config.h: Likewise.
11705 * sysdeps/mach/hurd/_G_config.h: Likewise.
11706 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11707 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11708 * sysdeps/sparc/bits/mathdef.h: Likewise.
11710 2012-01-26 Ulrich Drepper <drepper@gmail.com>
11713 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11714 Clean up HAS_* macros.
11715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11716 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11718 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11720 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11721 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11722 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11723 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11724 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11726 2012-01-25 Joseph Myers <joseph@codesourcery.com>
11728 * elf/tst-unique3.cc (gets): Remove declaration.
11729 * elf/tst-unique3lib.cc (gets): Likewise.
11730 * elf/tst-unique3lib2.cc (gets): Likewise.
11731 * elf/tst-unique4.cc (gets): Likewise.
11733 2012-01-24 Ulrich Drepper <drepper@gmail.com>
11735 * include/stdio.h: Add C++ protection. Add gets declarations and
11737 * debug/tst-chk1.c: Don't declare gets here.
11738 * stdio-common/tst-gets.c: Likewise.
11740 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11742 * posix/glob: Remove directory.
11744 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11746 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11748 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11750 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11751 of the non-standard EPFNOSUPPORT.
11753 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11755 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11756 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11757 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11759 2012-01-21 Ulrich Drepper <drepper@gmail.com>
11761 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11763 2012-01-20 Ulrich Drepper <drepper@gmail.com>
11765 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11767 * nscd/grpcache.c (cache_addgr): Likewise.
11768 * nscd/hstcache.c (cache_addhst): Likewise.
11769 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11770 * nscd/pwdcache.c (cache_addpw): Likewise.
11771 * nscd/servicescache.c (cache_addserv): Likewise.
11773 2012-01-16 Ulrich Drepper <drepper@gmail.com>
11775 * malloc/malloc.c: Various cleanups.
11776 * malloc/hooks.c: Likewise.
11778 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11779 * stdlib/bug-fmtmsg1.c: New file.
11781 * stdlib/fmtmsg.c (init): Add missing unlock.
11782 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11784 2012-01-12 Marek Polacek <polacek@redhat.com>
11786 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11789 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11791 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11792 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11793 macro to ensure uniqueness of label name.
11794 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11795 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11797 2012-01-11 Ulrich Drepper <drepper@gmail.com>
11799 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11801 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11802 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11803 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11804 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11806 2012-01-10 Ulrich Drepper <drepper@gmail.com>
11808 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11810 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11811 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11812 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11814 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11816 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11817 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11818 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11819 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11821 * math/bits/math-finite.h: Add ldexp support.
11823 2012-01-10 Marek Polacek <polacek@redhat.com>
11825 * locale/programs/localedef.h (show_archive_content): Add noreturn
11828 2012-01-09 Ulrich Drepper <drepper@gmail.com>
11830 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11832 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11834 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11836 * io/Makefile (headers): Add bits/poll2.h.
11838 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11841 typo #include statement.
11843 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11845 * include/sys/cdefs.h: Define __attribute_alloc_size.
11846 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11847 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11848 * elf/pldd.c: Likewise.
11849 * iconv/iconv_charmap.c: Likewise.
11850 * iconv/iconvconfig.c: Likewise.
11851 * iconv/strtab.c: Likewise.
11852 * locale/programs/locale.c: Likewise.
11853 * locale/programs/localedef.h: Likewise.
11854 * locale/programs/simple-hash.c: Likewise.
11855 * nscd/nscd.h: Likewise.
11856 * nss/makedb.c: Likewise.
11857 * sysdeps/generic/ldconfig.h: Likewise.
11858 * locale/programs/localedef.c: Remove xmalloc prototype.
11859 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11861 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11863 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11866 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11868 * math/Makefile (tests): Add tst-CMPLX.
11869 * math/tst-CMPLX.c: New file.
11871 * math/complex.h (CMPLXL): Fix typo.
11873 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11874 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11876 * debug/tst-chk1.c: Add poll and ppoll tests.
11877 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11878 * include/sys/poll.h: Add hidden proto for ppoll.
11879 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11880 * sysdeps/mach/hurd/ppoll.c: Likewise.
11881 * io/ppoll.c: Likewise.
11882 * debug/poll_chk.c: New file.
11883 * debug/ppoll_chk.c: New file.
11884 * include/bits/poll2.h: New file.
11885 * io/bits/poll2.h: New file.
11888 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11890 * configure.in: static is always set to yes. Remove.
11891 * config.make.in: Don't set build-static.
11892 * Makeconfig: Remove use of build-static.
11893 * dlfcn/Makefile: Likewise.
11894 * elf/Makefile: Likewise.
11895 * math/Makefile: Likewise.
11896 * misc/Makefile: Likewise.
11897 * nptl/Makefile: Likewise.
11898 * sysdeps/mach/hurd/Makefile: Likewise.
11900 * configure.in: PWD_P is not used anymore.
11901 * config.make.in: Remove PWD_P entry.
11903 * configure.in: Remove last remnants of RANLIB.
11904 No need to check for signed size_t anymore.
11905 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11907 Remove __builtin_expect test because we require at least gcc 3.4.
11908 * aclocal.m4: Likewise.
11910 * wcsmbs/mbrtoc16.c: Implement using towc function.
11911 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11912 * wcsmbs/wcsmbsload.c: Likewise.
11913 * iconv/gconv_simple.c: Likewise.
11914 * iconv/gconv_int.h: Likewise.
11915 * iconv/gconv_builtin.h: Likewise.
11916 * iconv/iconv_prog.c: Remove CHAR16 handling.
11918 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11920 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11922 * configure.in: Remove --with-elf and --enable-bounded options.
11923 Dont set base_machine for ia64. More non-ELF conditions removed.
11924 Remove testing and setting of leading underscore information.
11925 * config.make.in (build-bounded): Set to no.
11926 * config.h.in: Remove NO_UNDERSCORES entry.
11927 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11929 * csu/start.c: Remove !NO_UNDERSCORE code.
11930 * locale/localeinfo.h: Likewise.
11931 * sysdeps/generic/machine-gmon.h: Likewise.
11932 * sysdeps/generic/sysdep.h: Likewise.
11933 * sysdeps/i386/sysdep.h: Likewise.
11934 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11935 * sysdeps/mach/sysdep.h: Likewise.
11936 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11937 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11938 * sysdeps/sh/sysdep.h: Likewise.
11939 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11940 * sysdeps/unix/i386/sysdep.S: Likewise.
11941 * sysdeps/unix/sparc/start.c: Likewise.
11942 * sysdeps/unix/sparc/sysdep.S: Likewise.
11943 * sysdeps/unix/sparc/sysdep.h: Likewise.
11944 * sysdeps/unix/start.c: Likewise.
11945 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11946 * sysdeps/x86_64/sysdep.h: Likewise.
11948 2012-01-07 Ulrich Drepper <drepper@gmail.com>
11951 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11953 * argp/argp-fmtstream.h: Use const instead __const.
11954 * argp/argp.h: Likewise.
11955 * assert/assert.h: Likewise.
11956 * bits/fenv.h: Likewise.
11957 * bits/sched.h: Likewise.
11958 * bits/sigset.h: Likewise.
11959 * bits/sigthread.h: Likewise.
11960 * catgets/nl_types.h: Likewise.
11961 * conform/data/pthread.h-data: Likewise.
11962 * crypt/crypt-private.h: Likewise.
11963 * crypt/crypt.h: Likewise.
11964 * crypt/crypt_util.c: Likewise.
11965 * ctype/ctype.h: Likewise.
11966 * debug/execinfo.h: Likewise.
11967 * debug/mbsnrtowcs_chk.c: Likewise.
11968 * debug/mbsrtowcs_chk.c: Likewise.
11969 * debug/wcsnrtombs_chk.c: Likewise.
11970 * debug/wcsrtombs_chk.c: Likewise.
11971 * debug/wcstombs_chk.c: Likewise.
11972 * dirent/dirent.h: Likewise.
11973 * dlfcn/dlfcn.h: Likewise.
11974 * elf/neededtest4.c: Likewise.
11975 * grp/grp.h: Likewise.
11976 * gshadow/gshadow.h: Likewise.
11977 * iconv/gconv.h: Likewise.
11978 * iconv/gconv_int.h: Likewise.
11979 * iconv/gconv_simple.c: Likewise.
11980 * iconv/iconv.h: Likewise.
11981 * iconv/loop.c: Likewise.
11982 * iconv/skeleton.c: Likewise.
11983 * include/aio.h: Likewise.
11984 * include/aliases.h: Likewise.
11985 * include/argz.h: Likewise.
11986 * include/arpa/inet.h: Likewise.
11987 * include/assert.h: Likewise.
11988 * include/dirent.h: Likewise.
11989 * include/dlfcn.h: Likewise.
11990 * include/execinfo.h: Likewise.
11991 * include/fcntl.h: Likewise.
11992 * include/fenv.h: Likewise.
11993 * include/glob.h: Likewise.
11994 * include/grp.h: Likewise.
11995 * include/libintl.h: Likewise.
11996 * include/mntent.h: Likewise.
11997 * include/netdb.h: Likewise.
11998 * include/pwd.h: Likewise.
11999 * include/rpc/netdb.h: Likewise.
12000 * include/sched.h: Likewise.
12001 * include/search.h: Likewise.
12002 * include/shadow.h: Likewise.
12003 * include/signal.h: Likewise.
12004 * include/stdio.h: Likewise.
12005 * include/stdlib.h: Likewise.
12006 * include/string.h: Likewise.
12007 * include/sys/socket.h: Likewise.
12008 * include/sys/stat.h: Likewise.
12009 * include/sys/statfs.h: Likewise.
12010 * include/sys/statvfs.h: Likewise.
12011 * include/sys/syslog.h: Likewise.
12012 * include/sys/time.h: Likewise.
12013 * include/sys/uio.h: Likewise.
12014 * include/time.h: Likewise.
12015 * include/unistd.h: Likewise.
12016 * include/utmp.h: Likewise.
12017 * include/wchar.h: Likewise.
12018 * include/wctype.h: Likewise.
12019 * inet/aliases.h: Likewise.
12020 * inet/arpa/inet.h: Likewise.
12021 * inet/netinet/ether.h: Likewise.
12022 * inet/netinet/in.h: Likewise.
12023 * intl/libintl.h: Likewise.
12024 * io/bits/fcntl2.h: Likewise.
12025 * io/fcntl.h: Likewise.
12026 * io/ftw.h: Likewise.
12027 * io/sys/poll.h: Likewise.
12028 * io/sys/stat.h: Likewise.
12029 * io/sys/statfs.h: Likewise.
12030 * io/sys/statvfs.h: Likewise.
12031 * io/utime.h: Likewise.
12032 * libio/bits/stdio.h: Likewise.
12033 * libio/bits/stdio2.h: Likewise.
12034 * libio/libio.h: Likewise.
12035 * libio/libioP.h: Likewise.
12036 * libio/stdio.h: Likewise.
12037 * locale/lc-ctype.c: Likewise.
12038 * locale/locale.h: Likewise.
12039 * login/utmp.h: Likewise.
12040 * malloc/arena.c: Likewise.
12041 * malloc/malloc.c: Likewise.
12042 * malloc/malloc.h: Likewise.
12043 * malloc/mcheck.c: Likewise.
12044 * malloc/mtrace.c: Likewise.
12045 * math/bits/mathcalls.h: Likewise.
12046 * math/fenv.h: Likewise.
12047 * math/math_private.h: Likewise.
12048 * misc/bits/error.h: Likewise.
12049 * misc/bits/syslog.h: Likewise.
12050 * misc/err.h: Likewise.
12051 * misc/error.h: Likewise.
12052 * misc/fstab.h: Likewise.
12053 * misc/mntent.h: Likewise.
12054 * misc/regexp.h: Likewise.
12055 * misc/search.h: Likewise.
12056 * misc/sgtty.h: Likewise.
12057 * misc/sys/mman.h: Likewise.
12058 * misc/sys/syslog.h: Likewise.
12059 * misc/sys/uio.h: Likewise.
12060 * misc/sys/xattr.h: Likewise.
12061 * misc/ttyent.h: Likewise.
12062 * nis/rpcsvc/ypclnt.h: Likewise.
12063 * nss/nss.h: Likewise.
12064 * posix/bits/unistd.h: Likewise.
12065 * posix/fnmatch.h: Likewise.
12066 * posix/glob.h: Likewise.
12067 * posix/sched.h: Likewise.
12068 * posix/spawn.h: Likewise.
12069 * posix/sys/wait.h: Likewise.
12070 * posix/unistd.h: Likewise.
12071 * posix/wordexp.h: Likewise.
12072 * pwd/pwd.h: Likewise.
12073 * resolv/netdb.h: Likewise.
12074 * resource/sys/resource.h: Likewise.
12075 * rt/aio.h: Likewise.
12076 * rt/bits/mqueue2.h: Likewise.
12077 * rt/mqueue.h: Likewise.
12078 * shadow/shadow.h: Likewise.
12079 * signal/signal.h: Likewise.
12080 * socket/send.c: Likewise.
12081 * socket/sendto.c: Likewise.
12082 * socket/sys/socket.h: Likewise.
12083 * stdio-common/printf.h: Likewise.
12084 * stdlib/bits/stdlib.h: Likewise.
12085 * stdlib/fmtmsg.h: Likewise.
12086 * stdlib/monetary.h: Likewise.
12087 * stdlib/stdlib.h: Likewise.
12088 * stdlib/ucontext.h: Likewise.
12089 * streams/stropts.h: Likewise.
12090 * string/argz.h: Likewise.
12091 * string/bits/string2.h: Likewise.
12092 * string/string.h: Likewise.
12093 * string/strings.h: Likewise.
12094 * sunrpc/rpc/auth.h: Likewise.
12095 * sunrpc/rpc/auth_des.h: Likewise.
12096 * sunrpc/rpc/clnt.h: Likewise.
12097 * sunrpc/rpc/netdb.h: Likewise.
12098 * sunrpc/rpc/pmap_clnt.h: Likewise.
12099 * sunrpc/rpc/xdr.h: Likewise.
12100 * sysdeps/generic/inttypes.h: Likewise.
12101 * sysdeps/generic/net/if.h: Likewise.
12102 * sysdeps/generic/sys/swap.h: Likewise.
12103 * sysdeps/gnu/net/if.h: Likewise.
12104 * sysdeps/gnu/utmpx.h: Likewise.
12105 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12106 * sysdeps/i386/i486/bits/string.h: Likewise.
12107 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12108 * sysdeps/s390/bits/string.h: Likewise.
12109 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12110 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12111 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12112 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12113 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12114 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12115 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12116 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12117 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12118 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12119 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12120 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12121 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12122 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12123 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12124 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12125 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12127 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12128 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12129 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12130 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12131 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12132 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12133 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12134 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12135 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12136 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12137 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12138 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12139 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12140 * sysvipc/sys/ipc.h: Likewise.
12141 * sysvipc/sys/msg.h: Likewise.
12142 * sysvipc/sys/sem.h: Likewise.
12143 * sysvipc/sys/shm.h: Likewise.
12144 * termios/termios.h: Likewise.
12145 * time/sys/time.h: Likewise.
12146 * time/time.h: Likewise.
12147 * wcsmbs/bits/wchar2.h: Likewise.
12148 * wcsmbs/uchar.h: Likewise.
12149 * wcsmbs/wchar.h: Likewise.
12150 * wctype/wctype.h: Likewise.
12153 * Makeconfig: Remove all but ELF support including AIX support.
12154 * Makerules: Likewise.
12155 * config.h.in: Likewise.
12156 * config.make.in: Likewise.
12157 * configure: Likewise.
12158 * configure.in: Likewise.
12159 * csu/Makefile: Likewise.
12160 * csu/version.c: Likewise.
12161 * debug/Makefile: Likewise.
12162 * dlfcn/Makefile: Likewise.
12163 * elf/Makefile: Likewise.
12164 * extra-lib.mk: Likewise.
12165 * iconv/Makefile: Likewise.
12166 * include/libc-symbols.h: Likewise.
12167 * include/shlib-compat.h: Likewise.
12168 * resolv/Makefile: Likewise.
12169 * resolv/res_libc.c: Likewise.
12170 * rt/Makefile: Likewise.
12171 * sysdeps/i386/asm-syntax.h: Likewise.
12172 * sysdeps/i386/sysdep.h: Likewise.
12173 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12174 * sysdeps/mach/sysdep.h: Likewise.
12175 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12176 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12177 * sysdeps/s390/asm-syntax.h: Likewise.
12178 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12179 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12180 * sysdeps/sh/sysdep.h: Likewise.
12181 * sysdeps/unix/sparc/sysdep.h: Likewise.
12182 * sysdeps/wordsize-32/divdi3.c: Likewise.
12183 * sysdeps/x86_64/sysdep.h: Likewise.
12185 * argp/Versions: Remove _argp_unlock_xxx.
12188 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12189 * abilist/libBrokenLocale.abilist: Likewise.
12190 * abilist/libanl.abilist: Likewise.
12191 * abilist/libc.abilist: Likewise.
12192 * abilist/libcrypt.abilist: Likewise.
12193 * abilist/libdl.abilist: Likewise.
12194 * abilist/libm.abilist: Likewise.
12195 * abilist/libnsl.abilist: Likewise.
12196 * abilist/libpthread.abilist: Likewise.
12197 * abilist/libresolv.abilist: Likewise.
12198 * abilist/librt.abilist: Likewise.
12199 * abilist/libthread_db.abilist: Likewise.
12200 * abilist/libutil.abilist: Likewise.
12201 * abilist/libnss_db.abilist: New file.
12203 * scripts/abilist.awk: Add support for indirect functions.
12205 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12207 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12209 * shlib-versions: Remove entries for ports architectures.
12211 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12213 * elf/stackguard-macros.h: Remove support for IA-64.
12214 * elf/tst-auditmod1.c: Likewise.
12215 * sysdeps/generic/ldsodefs.h: Likewise.
12217 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12218 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12222 * configure.in: Remove --enable-omitfp support.
12224 * config.make.in: Likewise.
12225 * Makeconfig: Likewise.
12226 * manual/install.texi: Likewise.
12228 In case anyone cares, the IA-64 architecture could move to ports.
12229 * sysdeps/ia64/*: Removed.
12230 * sysdeps/unix/sysv/linux/ia64/*: Removed.
12231 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12234 * configure.in: Remove entries for unsupported architectures.
12237 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12238 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12240 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12241 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12242 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12243 fall back to using wcrtomb.
12244 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12245 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12247 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12248 * wcsmbs/tst-c16c32-1.c: New file.
12250 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12253 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12255 * elf/tst-unique3.cc: Add explicit declaration of gets.
12256 * elf/tst-unique3lib.cc: Likewise.
12257 * elf/tst-unique3lib2.cc: Likewise.
12258 * elf/tst-unique4.cc: Likewise.
12260 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12262 2012-01-06 Joseph Myers <joseph@codesourcery.com>
12265 * assert/assert.h (static_assert): Don't define for C++.
12266 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12267 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12269 2012-01-03 Ulrich Drepper <drepper@gmail.com>
12271 * iconv/loop.c (single loop): Fix assertion in storing of
12274 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12276 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12278 * posix/getconf.c: Update copyright year.
12279 * nss/getent.c: Likewise.
12280 * nss/makedb.c: Likewise.
12281 * iconv/iconvconfig.c: Likewise.
12282 * iconv/iconv_prog.c: Likewise.
12283 * elf/ldconfig.c: Likewise.
12284 * elf/pldd.c: Likewise.
12285 * elf/sotruss.ksh: Likewise.
12286 * catgets/gencat.c: Likewise.
12287 * csu/version.c: Likewise.
12288 * elf/ldd.bash.in: Likewise.
12289 * elf/sprof.c (print_version): Likewise.
12290 * locale/programs/locale.c: Likewise.
12291 * locale/programs/localedef.c: Likewise.
12292 * login/programs/pt_chown.c: Likewise.
12293 * nscd/nscd.c (print_version): Likewise.
12294 * debug/xtrace.sh: Likewise.
12295 * malloc/memusage.sh: Likewise.
12296 * malloc/mtrace.pl: Likewise.
12297 * debug/catchsegv.sh: Likewise.
12299 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12301 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12304 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12307 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12308 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12310 * iconv/gconv_int.h: Likewise.
12311 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12312 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12313 from libc for GLIBC_2.16.
12314 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12315 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12316 * wcsmbs/uchar.h: Really define mbstate_t.
12317 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12318 * wcsmbs/c16rtomb.c: New file.
12319 * wcsmbs/mbrtoc16.c: New file.
12320 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12321 for C/POSIX locale.
12322 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12323 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12325 * wcsmbs/wchar.h: Add missing __restrict.
12327 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12330 * time/Makefile (routines): Add timespec_get.
12331 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12332 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12333 timespec for ISO C11.
12334 * time/timespec_get.c: New file.
12335 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12336 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12339 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12340 * stdlib/stdlib.h: Declare aligned_alloc.
12341 * Versions.def: Add GLIBC_2.16 for libc.
12342 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12345 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12348 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12352 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12355 * assert/assert.h (static_assert): Define.
12357 * version.h: Update for 2.16 development version.
12360 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12363 * version.h (RELEASE): Bump for 2.15 release.
12364 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12366 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12367 Patch by Marek Polacek <mpolacek@redhat.com>.
12369 * bits/byteswap.h: Protect long long constants with __extension__.
12370 * sysdeps/i386/bits/byteswap.h: Likewise.
12371 * sysdeps/ia64/bits/byteswap.h: Likewise.
12372 * sysdeps/s390/bits/byteswap.h: Likewise.
12373 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12375 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12378 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12379 destination buffer.
12380 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12382 2011-12-23 Marek Polacek <polacek@redhat.com>
12384 * elf/dl-addr.c (determine_info): Add inline keyword.
12385 * elf/tst-auditmod4b.c (check_avx): Likewise.
12386 * elf/tst-auditmod6b.c (check_avx): Likewise.
12387 * elf/tst-auditmod6c.c (check_avx): Likewise.
12388 * elf/tst-auditmod7b.c (check_avx): Likewise.
12390 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12392 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12395 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12398 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12399 processing for last bytes.
12401 2011-08-06 Bruno Haible <bruno@clisp.org>
12404 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12405 U+0385, not to U+1FEE.
12408 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12409 entry for U+00A5 U+0301.
12411 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12414 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12415 buffer for the output is too small.
12417 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12421 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12422 SSE flags if possible.
12424 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12427 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12428 processing for last bytes.
12430 2011-12-22 Joseph Myers <joseph@codesourcery.com>
12432 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12433 (syscall-list-default-options, syscall-list-default-condition)
12434 (syscall-list-includes): Define.
12435 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12436 list of ABIs and options and #if conditions for each ABI. Do not
12437 handle common syscalls between ABIs specially.
12438 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12440 (syscall-list-variants, syscall-list-32bit-options)
12441 (syscall-list-32bit-condition, syscall-list-64bit-options)
12442 (syscall-list-64bit-condition): Define.
12443 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12444 (syscall-list-variants, syscall-list-32bit-options)
12445 (syscall-list-32bit-condition, syscall-list-64bit-options)
12446 (syscall-list-64bit-condition): Define.
12447 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12449 (syscall-list-variants, syscall-list-32bit-options)
12450 (syscall-list-32bit-condition, syscall-list-64bit-options)
12451 (syscall-list-64bit-condition): Define.
12452 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12454 (syscall-list-variants, syscall-list-32bit-options)
12455 (syscall-list-32bit-condition, syscall-list-64bit-options)
12456 (syscall-list-64bit-condition): Define.
12458 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12460 * locale/iso-639.def: Add brx entry.
12463 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12464 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12466 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12467 __feraiseexcept_renamed.
12469 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12472 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12473 EPOLLET with unsigned values.
12474 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12475 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12477 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12478 to large cancellation.
12479 * math/s_cacoshf.c: Likewise.
12480 * math/s_cacoshl.c: Likewise.
12482 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12486 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12487 * math/s_cacoshf.c: Likewise.
12488 * math/s_cacoshl.c: Likewise.
12490 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12493 * iconv/gconv.h: Define __GCONV_SWAP.
12494 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12495 * iconvdata/utf-16.c: Likewise.
12496 * iconvdata/utf-32.c: Likewise.
12498 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12501 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12502 numerator after shifting it by one limb.
12504 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12506 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12507 under [__USE_EXTERN_INLINES].
12509 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12512 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12514 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12516 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12517 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12519 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12520 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12521 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12522 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12523 for strncasecmp/strncasecmp_l compilation.
12524 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12525 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12527 2011-12-08 Marek Polacek <mpolacek@redhat.com>
12530 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12533 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12536 * time/tzfile.c (__tzfile_read): Check values from file header.
12538 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12540 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12541 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12542 * powerpc/powerpc32/dl-start.S: Likewise.
12543 * powerpc/powerpc32/elf/start.S: Likewise.
12544 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12545 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12546 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12547 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12548 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12549 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12550 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12551 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12552 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12553 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12554 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12555 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12556 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12557 * powerpc/powerpc32/memset.S: Likewise.
12558 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12559 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12560 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12561 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12562 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12563 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12564 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12565 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12566 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12567 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12568 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12569 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12570 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12572 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12574 * math/libm-test.inc: Added more nearbyint tests.
12575 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12576 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12577 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12578 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12580 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12582 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12585 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12587 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12588 Add wcscpy-ssse3 wcscpy-c.
12589 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12590 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12591 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12592 * sysdeps/x86_64/wcschr.S: New file.
12593 * sysdeps/x86_64/wcsrchr.S: New file.
12594 * string/test-strcmp.c: Remove checking of wcscmp function for
12596 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12597 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12598 wcsrchr-sse2 wcsrchr-c.
12599 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12600 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12601 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12602 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12603 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12604 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12605 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12606 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12607 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12608 * wcsmbc/wcschr.c (WCSCHR): New macro.
12610 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12612 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12613 * wcsmbs/test-wcsrchr.c: New file.
12614 * string/test-strrchr.c: Add wcsrchr support.
12616 * wcsmbs/test-wcscpy.c: New file.
12617 * string/test-strcpy.c: Add wcscpy support.
12620 2011-12-10 Ulrich Drepper <drepper@gmail.com>
12622 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12625 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12628 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12630 2011-12-04 Ulrich Drepper <drepper@gmail.com>
12632 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12633 Minor optimizations.
12635 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12636 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12637 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12639 2011-12-03 Ulrich Drepper <drepper@gmail.com>
12641 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12642 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12643 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12644 for gcc to avoid warnings.
12645 * inet/Makefile (tests): Add tst-checks.
12646 * inet/tst-checks.c: New file.
12648 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12651 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12654 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12655 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12657 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12659 2011-12-02 Ulrich Drepper <drepper@gmail.com>
12661 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12664 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12666 2011-11-29 Joseph Myers <joseph@codesourcery.com>
12668 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12669 conditional on GCC version.
12670 (__arch_compare_and_exchange_val_8_acq)
12671 (__arch_compare_and_exchange_val_16_acq)
12672 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12673 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12674 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12676 2011-12-02 Joseph Myers <joseph@codesourcery.com>
12678 * sysdeps/sh/backtrace.c: New file.
12680 2011-12-02 Andreas Schwab <schwab@redhat.com>
12682 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12685 2011-12-01 Andreas Schwab <schwab@redhat.com>
12687 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12688 falling back to utime.
12690 2011-11-30 Andreas Schwab <schwab@redhat.com>
12692 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12693 expectations for float.
12695 2011-11-29 Andreas Schwab <schwab@redhat.com>
12697 * locale/weight.h (findidx): Add parameter len.
12698 * locale/weightwc.h (findidx): Likewise.
12699 * posix/fnmatch_loop.c (FCT): Adjust caller.
12700 * posix/regcomp.c (build_equiv_class): Likewise.
12701 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12702 * posix/regexec.c (check_node_accept_bytes): Likewise.
12703 * string/strcoll_l.c (STRCOLL): Likewise.
12704 * string/strxfrm_l.c (STRXFRM): Likewise.
12706 2011-11-17 Ulrich Drepper <drepper@gmail.com>
12708 * Makefile.in: Remove CVSOPT handling.
12709 * configure.in: Remove use of AC_REVISION.
12710 * iconvdata/Makefile (distribute): No need to filter out CVS.
12711 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12714 2011-11-16 Andreas Schwab <schwab@redhat.com>
12716 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12717 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12718 [USE_AS_STRNCASECMP_L]: Likewise.
12719 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12720 NO_TLS_DIRECT_SEG_REFS.
12721 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12722 Fix argument offsets for non-PIC.
12723 [USE_AS_STRNCASECMP_L]: Likewise.
12724 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12725 NO_TLS_DIRECT_SEG_REFS.
12727 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12729 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12731 * locale/loadlocale.c (_nl_load_locale): Likewise.
12733 2011-11-15 Andreas Schwab <schwab@redhat.com>
12735 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12736 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12737 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12738 (SYSCALL_GETTIME): Set errno on error.
12740 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12741 count references to noai6ai_cached.
12743 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12745 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12747 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12748 FD_CLOEXEC for /proc/self/maps.
12750 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12751 FD_CLOEXEC for /proc/meminfo.
12753 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12756 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12757 FD_CLOEXEC for given file.
12759 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12761 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12762 FD_CLOEXEC for /etc/hosts.
12763 (_gethtent): Likewise.
12765 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12767 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12768 cancellation and set FD_CLOEXEC for /etc/netgroup.
12770 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12771 reading /etc/publickey.
12773 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12774 allow cancellation when reading /etc/group.
12776 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12778 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12780 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12781 when using data file.
12783 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12785 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12786 (write_nis_obj): Use "c" and "e" in fopen.
12788 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12790 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12792 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12794 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12796 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12799 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12801 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12803 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12805 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12806 file parsing and set FD_CLOEXEC.
12808 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12810 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12812 2011-11-14 Andreas Schwab <schwab@redhat.com>
12814 * malloc/arena.c (arena_get2): Don't call reused_arena when
12815 _int_new_arena failed.
12817 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12819 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12820 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12821 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12822 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12823 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12824 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12825 to compile strcasecmp and strncasecmp.
12826 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12827 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12829 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12831 2011-11-13 Ulrich Drepper <drepper@gmail.com>
12833 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12834 locale-defines.sym to gen-as-const-headers.
12835 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12836 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12837 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12838 to compile strcasecmp and strncasecmp.
12839 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12840 strcasecmp_l and strncasecmp_l.
12841 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12842 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12843 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12844 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12845 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12846 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12847 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12848 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12849 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12850 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12851 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12853 2011-11-12 Ulrich Drepper <drepper@gmail.com>
12855 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12856 result of SYSDEP_GETTIME_CPU to retval.
12857 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12858 parameter list to macro. Remove trailing semicolon. Adjust users.
12860 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12863 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12865 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12867 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12868 from unused variable.
12870 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12872 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12875 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12878 * sunrpc/rpc_prot.c (rejected): Fix case value.
12880 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12881 unsigned long long int to avoid warnings in shift.
12883 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12885 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12888 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12889 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12890 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12892 * nis/nis_table.c (nis_list): Use variable of correct type for
12893 result of __follow_path call.
12895 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12897 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12898 of math functions ceil, trunc, floor, round, and sqrt, when
12899 avaliable on the platform.
12900 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12902 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12903 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12904 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12906 2011-10-30 Marek Polacek <mpolacek@redhat.com>
12908 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12909 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12911 2011-11-11 Roland McGrath <roland@hack.frob.com>
12913 * include/unistd.h: Fix __readlink return type.
12914 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12916 2011-11-11 Ulrich Drepper <drepper@gmail.com>
12918 * stdlib/ucontext.h: Undo last change for makecontext.
12920 2011-11-11 Andreas Schwab <schwab@redhat.com>
12922 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12924 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12925 * setjmp/setjmp.h: Mark functions as non-leaf.
12926 * setjmp/bits/setjmp2.h: Likewise.
12927 * stdlib/ucontext.h: Likewise.
12929 2011-11-10 Andreas Schwab <schwab@redhat.com>
12931 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12932 (reused_arena): Don't check arena limit.
12933 (arena_get2): Atomically check arena limit.
12935 2011-11-08 Ulrich Drepper <drepper@gmail.com>
12937 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12938 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12940 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12943 2011-11-07 Andreas Schwab <schwab@redhat.com>
12945 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12946 handler when locking.
12948 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12949 Fix size of allocated buffer.
12951 2011-11-04 Andreas Schwab <schwab@redhat.com>
12954 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12955 declarations for long double functions.
12956 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12958 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12960 2011-11-03 Andreas Schwab <schwab@redhat.com>
12962 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12965 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12968 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12970 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12972 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12974 * include/alloca.h (stackinfo_alloca_round): Define.
12975 (extend_alloca): Use it.
12976 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12977 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12980 * scripts/check-local-headers.sh: Ignore libaudit.h.
12982 * nscd/Makefile (extra-objs): Make recursively expanded.
12984 2011-11-01 Ulrich Drepper <drepper@gmail.com>
12986 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12987 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12989 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12990 * posix/tst-rfc3484-2.c: Likewise.
12991 * posix/tst-rfc3484-3.c: Likewise.
12993 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12995 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12997 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12998 process_vm_writev from libc using GLIBC_2.15 version.
13000 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13002 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13004 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13007 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13010 * nss/getent.c (initgroups_keys): Show error message in case no group
13013 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13014 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13015 __bump_nl_timestamp.
13016 * nscd/connections (nscd_init): When host database is served open
13017 netlink socket and request notification about configuration changes.
13018 (main_loop_poll): Track netlink file descriptor and bump timestamp
13019 in case data becomes available.
13020 (main_loop_epoll): Likewise.
13021 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13022 (database_pers_head): Add extra_data fileds.
13023 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13024 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13025 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13027 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13028 in6ai data, call __free_in6ai.
13029 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13030 Add -DHAVE_NETLINK.
13031 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13032 interface information. Reuse previous data if netlink timestamp
13034 (__bump_nl_timestamp): New function.
13035 (__free_in6ai): New function.
13037 2011-10-30 Ulrich Drepper <drepper@gmail.com>
13039 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13040 close_not_cancel_no_status here.
13041 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13043 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13046 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13049 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13050 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13051 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13053 2011-07-03 Andreas Jaeger <aj@suse.de>
13056 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13057 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13058 * math/libm-test.inc (sin_test): Add test case.
13060 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13063 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13064 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13066 * elf/chroot_canon.c (chroot_canon): Cleanups.
13068 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13071 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13072 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13074 * string/test-strchr.c: Make usable for strchrnul testing.
13075 * string/test-strchrnul.c: New file.
13076 * string/Makefile (strop-tests): Add strchrnul.
13078 * po/it.po: Update from translation team.
13079 * po/es.po: Likewise.
13081 2011-10-28 Ulrich Drepper <drepper@gmail.com>
13083 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13084 the three constants needed as parameters. Drop the others.
13085 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13086 __m128i_strloadu_tolower.
13087 Create and initialize variable zero and use it in all the places
13088 where _mm_setzero_si128 was used.
13090 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13091 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13092 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13093 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13095 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13096 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13097 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13098 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13099 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13100 __mpranred, __mptan.
13101 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13102 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13103 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13104 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13105 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13106 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13107 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13108 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13109 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13111 2011-10-28 Andreas Schwab <schwab@redhat.com>
13113 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13114 redefine if SHARED.
13115 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13118 wide char related routines to wcsmbs subdir.
13120 2011-10-27 Andreas Schwab <schwab@redhat.com>
13123 * misc/sys/cdefs.h (__THROWNL): Define.
13124 * posix/unistd.h: Use __THREADNL instead of __THREAD
13125 for memory synchronization functions.
13127 2011-10-26 Roland McGrath <roland@hack.frob.com>
13130 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13132 * manual/stdio.texi (Obstack Streams): Node removed.
13134 2011-10-26 Andreas Schwab <schwab@redhat.com>
13136 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13137 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13138 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13140 * math/math_private.h (math_force_eval): Allow non-addressable
13142 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13144 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13146 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13147 file is not needed.
13149 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13150 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13151 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13152 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13153 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13154 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13155 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13156 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13158 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13159 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13160 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13161 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13162 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13163 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13164 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13165 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13166 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13167 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13168 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13169 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13170 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13171 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13172 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13173 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13174 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13175 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13176 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13178 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13179 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13181 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13182 place. Use VEX encoding when compiling for AVX.
13184 2011-10-25 Andreas Schwab <schwab@redhat.com>
13186 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13187 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13189 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13191 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13193 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13194 useless if() expression.
13195 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13196 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13197 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13198 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13199 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13200 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13201 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13202 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13203 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13204 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13205 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13206 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13207 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13208 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13209 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13210 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13211 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13212 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13213 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13215 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13217 2011-10-25 Andreas Schwab <schwab@redhat.com>
13219 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13221 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13223 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13225 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13226 .text section. Avoid duplicate constants.
13227 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13228 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13229 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13230 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13231 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13232 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13233 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13234 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13235 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13236 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13237 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13238 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13239 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13240 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13241 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13242 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13243 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13244 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13245 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13246 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13247 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13248 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13249 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13250 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13251 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13252 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13253 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13254 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13255 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13256 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13257 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13258 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13259 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13260 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13261 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13262 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13263 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13264 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13265 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13266 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13267 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13268 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13269 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13270 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13271 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13273 2011-10-24 Ulrich Drepper <drepper@gmail.com>
13275 * sysdeps/x86_64/dla.h: Move to ...
13276 * sysdeps/x86_64/fpu/dla.h: ...here.
13277 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13278 situations. Use __builtin_fma only for gcc 4.6 and up.
13280 * config.make.in: Add have-mfma4 entry.
13281 * configure.in: Substitute libc_cv_cc_fma4.
13282 * math/Makefile (dbl-only-routines): Add sincostab.
13283 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13284 Use __sincostab not sincos.
13285 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13287 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13288 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13289 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13290 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13292 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13293 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13294 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13295 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13297 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13298 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13300 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13301 define aliases when function name is a macro.
13302 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13303 sysdeps/ieee754/dbl-64/sincos.tbl.
13304 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13305 fma4-enabled routines.
13306 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13307 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13308 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13309 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13310 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13311 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13312 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13313 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13314 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13315 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13316 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13317 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13318 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13319 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13320 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13321 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13322 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13323 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13324 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13325 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13326 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13327 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13328 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13329 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13330 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13331 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13332 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13333 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13334 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13335 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13337 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13339 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13340 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13341 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13342 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13343 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13344 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13345 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13346 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13348 2011-10-24 Andreas Schwab <schwab@redhat.com>
13350 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13352 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13354 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13356 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13358 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13360 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13361 Remove unused variable magic_bits.
13362 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13364 * string/strnlen.c: Define and use STRNLEN macro.
13365 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13366 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13367 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13368 * wcsmbs/wcslen.c: Define and use WCSLEN.
13369 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13370 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13371 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13372 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13373 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13374 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13375 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13377 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13380 strnlen-sse2-no-bsf.
13381 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13382 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13383 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13384 Add strnlen support.
13385 (USE_AS_STRNLEN): New macro.
13386 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13387 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13388 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13389 * sysdeps/x86_64/wcslen.S: New file.
13391 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13393 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13394 XMM-moves are used for copying on small sizes.
13396 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13398 * wcsmbs/Makefile (strop-tests): Add wcschr.
13399 * wcsmbs/test-wcschr.c: New file.
13400 * string/test-strchr.c: Update.
13401 Add wcschr support.
13404 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13406 * wcsmbs/Makefile (strop-tests): Add wcslen.
13407 * wcsmbs/test-wcslen.c: New file.
13408 * string/test-strlen.c: Update.
13409 Add wcslen support.
13412 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13414 * po/it.po: Update from translation team.
13416 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13418 * sysdeps/x86_64/wcscmp.S: Update.
13419 Fix wrong comparison semantics.
13420 wcscmp shall use signed comparison not unsigned.
13421 Don't use substraction to avoid overflow bug.
13422 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13423 * wcsmbc/wcscmp.c: Likewise.
13424 * string/test-strcmp.c: Likewise.
13425 Add new tests to check cases with negative values.
13427 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13429 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13430 * sysdeps/x86_64/dla.h: ...here. New file.
13431 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13432 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13433 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13434 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13435 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13436 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13437 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13438 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13439 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13441 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13443 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13444 __ynl_finite aliases.
13446 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13448 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13450 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13452 [DLA_FMA] (EMULV): Use DLA_FMA.
13453 [DLA_FMA] (MUL12): Use EMULV.
13454 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13455 that are not needed.
13456 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13457 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13458 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13459 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13460 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13461 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13462 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13464 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13466 * math/s_nan.c: Undef __nan.
13467 * math/s_nanf.c: Undef __nanf.
13468 * math/s_nanl.c: Undef __nanl.
13469 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13472 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13474 * math/s_catan.c: Add branch predictions.
13475 * math/s_catanf.c: Likewise.
13476 * math/s_catanh.c: Likewise.
13477 * math/s_catanhf.c: Likewise.
13478 * math/s_catanhl.c: Likewise.
13479 * math/s_catanl.c: Likewise.
13480 * math/s_cexp.c: Likewise.
13481 * math/s_cexpf.c: Likewise.
13482 * math/s_cexpl.c: Likewise.
13483 * math/s_clog.c: Likewise.
13484 * math/s_clog10.c: Likewise.
13485 * math/s_clog10f.c: Likewise.
13486 * math/s_clog10l.c: Likewise.
13487 * math/s_clogf.c: Likewise.
13488 * math/s_clogl.c: Likewise.
13489 * math/s_csqrt.c: Likewise.
13490 * math/s_csqrtf.c: Likewise.
13491 * math/s_csqrtl.c: Likewise.
13492 * math/s_ctanf.c: Likewise.
13493 * math/s_ctanh.c: Likewise.
13494 * math/s_ctanhf.c: Likewise.
13495 * math/s_ctanhl.c: Likewise.
13496 * math/s_ctanl.c: Likewise.
13498 * math/math_private.h: Define __nan, __nanf, __nanl.
13499 * math/s_cacosh.c: Include <math_private.h>.
13500 * math/s_cacoshl.c: Likewise.
13501 * math/s_casinh.c: Likewise.
13502 * math/s_casinhf.c: Likewise.
13503 * math/s_casinhl.c: Likewise.
13504 * math/s_ccos.c: Rely entire on ccosh.
13505 * math/s_ccosf.c: Rely entire on ccoshf.
13506 * math/s_ccosl.c: Rely entirely on ccoshl.
13507 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13508 Remove tests for FE_INVALID.
13509 * math/s_ccoshf.c: Likewise.
13510 * math/s_ccoshl.c: Likewise.
13511 * math/s_csin.c: Likewise.
13512 * math/s_csinf.c: Likewise.
13513 * math/s_csinh.c Likewise.
13514 * math/s_csinhf.c: Likewise.
13515 * math/s_csinhl.c: Likewise.
13516 * math/s_csinl.c: Likewise.
13517 * math/s_ctan.c: Likewise.
13518 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13519 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13520 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13522 2011-10-21 Ulrich Drepper <drepper@gmail.com>
13524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13525 compilation problems.
13527 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13530 2011-10-20 Ulrich Drepper <drepper@gmail.com>
13532 * sysdeps/i386/configure.in: Test for -mfma4 option.
13533 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13534 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13535 COMMON_CPUID_INDEX_80000001.
13536 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13537 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13538 use it if FMA3 is not supported.
13539 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13541 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13542 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13544 2011-10-20 Andreas Schwab <schwab@redhat.com>
13547 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13548 it would create a cycle with a link time dependency.
13550 2011-10-19 Ulrich Drepper <drepper@gmail.com>
13552 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13554 * string/Makefile (strop-tests): Add rawmemchr.
13555 * string/test-rawmemchr.c: New file.
13557 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13558 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13559 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13560 when compiling str{,n}casecmp and when AVX is available. Hook up
13561 new optimized code in initializers.
13563 2011-10-19 Andreas Schwab <schwab@redhat.com>
13565 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13566 __feraiseexcept instead of feraiseexcept.
13568 2011-10-18 Ulrich Drepper <drepper@gmail.com>
13570 * math/math_private.h: Define defaults for libc_fetestexcept and
13572 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13573 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13574 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13575 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13576 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13577 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13578 libc_fetestexcept and libc_feupdateenv.
13580 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13581 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13582 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13583 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13584 libc_feholdexcept_setround.
13586 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13587 Add s_nearbyint-c and s_nearbyintf-c.
13588 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13589 nearbyintf inlines.
13590 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13591 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13592 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13593 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13595 * math/math_private.h: Define defaults for libc_fegetround,
13596 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13597 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13598 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13599 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13600 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13601 standard functions.
13602 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13603 Remove comments and hacks for old compiler versions.
13604 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13605 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13606 libc_feholdexceptl.
13608 2011-10-18 Andreas Schwab <schwab@redhat.com>
13610 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13611 (__feraiseexcept_renamed): Add __NTH.
13612 (feraiseexcept): Add __NTH. Rename local variables to fix
13613 namespace violations.
13615 2011-10-17 Ulrich Drepper <drepper@gmail.com>
13617 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13619 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13621 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13622 recently added interfaces.
13623 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13625 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13626 about macro parameter expansion.
13628 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13629 __NO_MATH_INLINES is defined. Cleanups.
13631 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13632 and __floorf is target has SSE4.1.
13633 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13634 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13635 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13636 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13638 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13640 (floorf): Likewise.
13642 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13644 2011-10-17 Andreas Schwab <schwab@redhat.com>
13646 * misc/sys/cdefs.h: Fix last change.
13648 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13651 2011-10-16 Ulrich Drepper <drepper@gmail.com>
13653 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13655 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13656 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13657 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13658 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13659 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13660 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13661 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13662 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13663 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13664 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13665 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13666 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13667 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13668 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13669 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13670 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13671 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13672 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13673 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13674 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13675 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13676 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13678 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13679 ceil, ceilf, floor, floorf.
13681 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13682 Perform IRELATIVE relocations last.
13684 * elf/do-rel.h: Add another parameter nrelative, replacing the
13685 local variable with the same name. Change name of the function
13686 to end in Rel or Rela (uppercase).
13687 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13688 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13689 elf_dynamic_do_##reloc function.
13691 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13693 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13694 is sufficient, at least on modern CPUs.
13696 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13698 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13699 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13701 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13703 * math/bits/math-finite.h: Add entries for exp.
13704 * math/e_expl.c: Add __*_finite alias.
13705 * sysdeps/i386/fpu/e_exp.S: Likewise.
13706 * sysdeps/i386/fpu/e_expf.S: Likewise.
13707 * sysdeps/i386/fpu/e_expl.c: Likewise.
13708 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13709 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13710 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13711 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13712 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13713 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13714 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13716 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13717 is sufficient, at least on modern CPUs.
13719 * ctype/ctype-info.c (__ctype_init): Define.
13720 * include/ctype.h (__ctype_init): Declare.
13721 (__ctype_b_loc): The variable is always initialized.
13722 (__ctype_toupper_loc): Likewise.
13723 (__ctype_tolower_loc): Likewise.
13724 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13725 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13727 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13729 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13731 * configure.in: Also look in $cxxmachine/include for C++ system
13734 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13736 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13737 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13738 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13739 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13740 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13741 (USE_AS_WMEMCMP): New macro.
13743 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13744 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13745 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13746 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13747 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13748 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13749 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13750 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13751 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13752 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13753 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13754 (USE_AS_WMEMCMP): New macro.
13755 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13756 * sysdeps/string/test-memcmp.c: Update.
13757 Fix simple_wmemcmp.
13759 * wcsmbs/wmemcmp.c: Update.
13760 (WMEMCMP): New macro.
13763 2011-10-12 Andreas Jaeger <aj@suse.de>
13766 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13768 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13770 * libio/iofwide.c (do_length): Avoid warning.
13772 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13774 2011-10-14 Ulrich Drepper <drepper@gmail.com>
13776 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13778 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13779 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13780 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13781 * sysdeps/i386/i686/fpu/e_log.S: New file.
13782 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13783 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13785 * ctype/ctype.h: Add support for inlined isXXX functions when
13786 compiling C++ code.
13788 2011-10-14 Andreas Schwab <schwab@redhat.com>
13790 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13792 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13794 2011-10-13 Roland McGrath <roland@hack.frob.com>
13797 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13799 2011-10-13 Andreas Schwab <schwab@redhat.com>
13801 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13802 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13805 * sysdeps/x86_64/memrchr.S: Check for zero size.
13807 * string/stratcliff.c: Add memrchr tests.
13809 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13811 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13812 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13813 rawmemchr-sse2 rawmemchr-sse2-bsf.
13814 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13815 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13816 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13817 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13818 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13819 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13820 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13821 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13822 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13823 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13824 * string/memrchr.c (MEMRCHR): New macro.
13826 2011-10-12 Ulrich Drepper <drepper@gmail.com>
13828 Add integration with gcc's -ffinite-math-only and optimize wrapper
13830 * Versions.def: Define GLIBC_2.15 version for libm.
13831 * math/Makefile (headers): Add bits/math-finite.h.
13832 * math/bits/math-finite.h: New file.
13833 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13834 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13835 * math/e_acoshl.c: Add __*_finite alias.
13836 * math/e_acosl.c: Likewise.
13837 * math/e_asinl.c: Likewise.
13838 * math/e_atan2l.c: Likewise.
13839 * math/e_atanhl.c: Likewise.
13840 * math/e_coshl.c: Likewise.
13841 * math/e_exp10.c: Likewise.
13842 * math/e_exp10f.c: Likewise.
13843 * math/e_exp10l.c: Likewise.
13844 * math/e_exp2l.c: Likewise.
13845 * math/e_fmodl.c: Likewise.
13846 * math/e_gammal_r.c: Likewise.
13847 * math/e_hypotl.c: Likewise.
13848 * math/e_j0l.c: Likewise.
13849 * math/e_j1l.c: Likewise.
13850 * math/e_jnl.c: Likewise.
13851 * math/e_lgammal_r.c: Likewise.
13852 * math/e_log10l.c: Likewise.
13853 * math/e_log2l.c: Likewise.
13854 * math/e_logl.c: Likewise.
13855 * math/e_powl.c: Likewise.
13856 * math/e_sinhl.c: Likewise.
13857 * math/e_sqrtl.c: Likewise.
13858 * math/e_scalb.c: Completely rewritten and optimized.
13859 * math/e_scalbf.c: Likewise.
13860 * math/e_scalbl.c: Likewise.
13861 * math/w_acos.c: Likewise.
13862 * math/w_acosf.c: Likewise.
13863 * math/w_acosl.c: Likewise.
13864 * math/w_acosh.c: Likewise.
13865 * math/w_acoshf.c: Likewise.
13866 * math/w_acoshl.c: Likewise.
13867 * math/w_asin.c: Likewise.
13868 * math/w_asinf.c: Likewise.
13869 * math/w_asinl.c: Likewise.
13870 * math/w_atan2.c: Likewise.
13871 * math/w_atan2f.c: Likewise.
13872 * math/w_atan2l.c: Likewise.
13873 * math/w_atanh.c: Likewise.
13874 * math/w_atanhf.c: Likewise.
13875 * math/w_atanhl.c: Likewise.
13876 * math/w_exp10.c: Likewise.
13877 * math/w_exp10f.c: Likewise.
13878 * math/w_exp10l.c: Likewise.
13879 * math/w_fmod.c: Likewise.
13880 * math/w_fmodf.c: Likewise.
13881 * math/w_fmodl.c: Likewise.
13882 * math/w_j0.c: Likewise.
13883 * math/w_j0f.c: Likewise.
13884 * math/w_j0l.c: Likewise.
13885 * math/w_j1.c: Likewise.
13886 * math/w_j1f.c: Likewise.
13887 * math/w_j1l.c: Likewise.
13888 * math/w_jn.c: Likewise.
13889 * math/w_jnf.c: Likewise.
13890 * math/w_log.c: Likewise.
13891 * math/w_logf.c: Likewise.
13892 * math/w_logl.c: Likewise.
13893 * math/w_log10.c: Likewise.
13894 * math/w_log10f.c: Likewise.
13895 * math/w_log10l.c: Likewise.
13896 * math/w_log2.c: Likewise.
13897 * math/w_log2f.c: Likewise.
13898 * math/w_log2l.c: Likewise.
13899 * math/w_pow.c: Likewise.
13900 * math/w_powf.c: Likewise.
13901 * math/w_powl.c: Likewise.
13902 * math/w_remainder.c: Likewise.
13903 * math/w_remainderf.c: Likewise.
13904 * math/w_remainderl.c: Likewise.
13905 * math/w_scalb.c: Likewise.
13906 * math/w_scalbf.c: Likewise.
13907 * math/w_scalbl.c: Likewise.
13908 * math/w_sqrt.c: Likewise.
13909 * math/w_sqrtf.c: Likewise.
13910 * math/w_sqrtl.c: Likewise.
13911 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13912 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13914 * math/math_private.h: Declare __kernel_standard_f.
13915 * math/w_cosh.c: Remove cruft and optimize a bit.
13916 * math/w_coshf.c: Likewise.
13917 * math/w_coshl.c: Likewise.
13918 * math/w_exp2.c: Likewise.
13919 * math/w_exp2f.c: Likewise.
13920 * math/w_exp2l.c: Likewise.
13921 * math/w_hypot.c: Likewise.
13922 * math/w_hypotf.c: Likewise.
13923 * math/w_hypotl.c: Likewise.
13924 * math/w_lgamma.c: Likewise.
13925 * math/w_lgamma_r.c: Likewise.
13926 * math/w_lgammaf.c: Likewise.
13927 * math/w_lgammaf_r.c: Likewise.
13928 * math/w_lgammal.c: Likewise.
13929 * math/w_lgammal_r.c: Likewise.
13930 * math/w_sinh.c: Likewise.
13931 * math/w_sinhf.c: Likewise.
13932 * math/w_sinhl.c: Likewise.
13933 * math/w_tgamma.c: Likewise.
13934 * math/w_tgammaf.c: Likewise.
13935 * math/w_tgammal.c: Likewise.
13936 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13937 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13938 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13939 Minor optimizations. Pretty printing. Remove cruft.
13940 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13941 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13942 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13943 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13944 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13945 * sysdeps/i386/fpu/e_asin.S: Likewise.
13946 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13947 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13948 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13949 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13950 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13951 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13952 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13953 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13954 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13955 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13956 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13957 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13958 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13959 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13960 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13961 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13962 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13963 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13964 * sysdeps/i386/fpu/e_log.S: Likewise.
13965 * sysdeps/i386/fpu/e_log10.S: Likewise.
13966 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13967 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13968 * sysdeps/i386/fpu/e_log2.S: Likewise.
13969 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13970 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13971 * sysdeps/i386/fpu/e_logf.S: Likewise.
13972 * sysdeps/i386/fpu/e_logl.S: Likewise.
13973 * sysdeps/i386/fpu/e_pow.S: Likewise.
13974 * sysdeps/i386/fpu/e_powf.S: Likewise.
13975 * sysdeps/i386/fpu/e_powl.S: Likewise.
13976 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13977 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13978 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13979 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13980 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13981 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13982 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13983 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13984 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13985 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13986 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13987 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13988 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13989 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13990 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13991 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13992 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13993 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13994 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13995 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13996 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13997 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13998 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13999 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14000 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14001 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14002 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14003 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14004 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14005 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14006 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14007 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14008 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14009 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14010 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14011 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14012 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14013 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14014 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14015 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14016 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14017 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14018 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14019 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14020 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14021 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14022 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14023 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14024 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14025 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14026 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14027 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14028 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14029 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14030 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14031 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14032 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14033 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14034 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14035 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14036 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14037 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14038 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14039 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14040 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14041 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14042 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14043 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14044 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14045 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14046 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14047 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14048 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14049 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14050 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14051 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14052 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14053 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14054 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14055 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14056 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14057 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14058 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14059 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14060 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14061 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14062 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14063 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14064 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14065 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14066 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14067 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14068 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14069 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14070 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14071 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14072 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14073 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14074 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14075 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14076 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14077 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14078 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14079 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14080 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14081 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14082 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14083 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14084 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14085 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14086 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14087 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14088 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14089 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14090 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14091 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14092 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14093 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14094 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14095 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14096 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14097 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14098 (__isnanf): Likewise.
14099 (__isinf_ns): Likewise.
14100 (__isinf_nsf): Likewise.
14101 (__finite): Likewise.
14102 (__finitef): Likewise.
14103 (__ieee754_sqrt): Define as macro.
14104 (__ieee754_sqrtf): Define as macro.
14105 (__ieee754_sqrtl): Define as macro.
14106 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14108 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14109 __FINITE_MATH_ONLY__ consistent.
14110 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14112 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14114 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14117 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14119 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14121 * po/ja.po: Update from translation team.
14123 2011-10-08 Roland McGrath <roland@hack.frob.com>
14125 * locale/programs/locarchive.c (prepare_address_space): New function.
14126 (create_archive, enlarge_archive, open_archive): Use it.
14128 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14129 inside [SHARED], where it is used.
14131 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14133 * nss/getent.c (netgroup_keys): Remove unused variable.
14134 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14136 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14138 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14139 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14140 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14141 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14142 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14143 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14144 * math/Makefile (libm-calls): Add s_isinf_ns.
14145 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14146 * math/multc3.c: Likewise.
14147 * math/s_casin.c: Likewise.
14148 * math/s_casinf.c: Likewise.
14149 * math/s_casinl.c: Likewise.
14150 * math/s_ccos.c: Likewise.
14151 * math/s_ccosf.c: Likewise.
14152 * math/s_ccosl.c: Likewise.
14153 * math/s_ctan.c: Likewise.
14154 * math/s_ctanf.c: Likewise.
14155 * math/s_ctanh.c: Likewise.
14156 * math/s_ctanhf.c: Likewise.
14157 * math/s_ctanhl.c: Likewise.
14158 * math/s_ctanl.c: Likewise.
14159 * math/w_fmod.c: Likewise.
14160 * math/w_fmodf.c: Likewise.
14161 * math/w_fmodl.c: Likewise.
14162 * math/w_remainder.c: Likewise.
14163 * math/w_remainderf.c: Likewise.
14164 * math/w_remainderl.c: Likewise.
14165 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14166 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14167 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14168 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14169 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14170 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14171 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14172 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14174 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14176 * stdio-common/printf_fphex.c: Likewise.
14177 * stdio-common/printf_size.c: Likewise.
14179 * math/e_exp10.c: Include math_private.h using <...> not "...".
14180 * math/e_exp10f.c: Likewise.
14181 * math/e_exp10l.c: Likewise.
14182 * math/e_exp2l.c: Likewise.
14183 * math/e_j0l.c: Likewise.
14184 * math/e_j1l.c: Likewise.
14185 * math/e_jnl.c: Likewise.
14186 * math/e_lgammal_r.c: Likewise.
14187 * math/e_rem_pio2l.c: Likewise.
14188 * math/e_scalb.c: Likewise.
14189 * math/e_scalbf.c: Likewise.
14190 * math/e_scalbl.c: Likewise.
14191 * math/k_cosl.c: Likewise.
14192 * math/k_sinl.c: Likewise.
14193 * math/k_tanl.c: Likewise.
14194 * math/s_cacoshf.c: Likewise.
14195 * math/s_catan.c: Likewise.
14196 * math/s_catanf.c: Likewise.
14197 * math/s_catanh.c: Likewise.
14198 * math/s_catanhf.c: Likewise.
14199 * math/s_catanhl.c: Likewise.
14200 * math/s_catanl.c: Likewise.
14201 * math/s_ccosh.c: Likewise.
14202 * math/s_ccoshf.c: Likewise.
14203 * math/s_ccoshl.c: Likewise.
14204 * math/s_cexp.c: Likewise.
14205 * math/s_cexpf.c: Likewise.
14206 * math/s_cexpl.c: Likewise.
14207 * math/s_clog.c: Likewise.
14208 * math/s_clog10.c: Likewise.
14209 * math/s_clog10f.c: Likewise.
14210 * math/s_clog10l.c: Likewise.
14211 * math/s_clogf.c: Likewise.
14212 * math/s_clogl.c: Likewise.
14213 * math/s_csin.c: Likewise.
14214 * math/s_csinf.c: Likewise.
14215 * math/s_csinh.c: Likewise.
14216 * math/s_csinhf.c: Likewise.
14217 * math/s_csinhl.c: Likewise.
14218 * math/s_csinl.c: Likewise.
14219 * math/s_csqrt.c: Likewise.
14220 * math/s_csqrtf.c: Likewise.
14221 * math/s_csqrtl.c: Likewise.
14222 * math/s_ctan.c: Likewise.
14223 * math/s_ctanf.c: Likewise.
14224 * math/s_ctanh.c: Likewise.
14225 * math/s_ctanhf.c: Likewise.
14226 * math/s_ctanhl.c: Likewise.
14227 * math/s_ctanl.c: Likewise.
14228 * math/s_ldexp.c: Likewise.
14229 * math/s_ldexpf.c: Likewise.
14230 * math/s_ldexpl.c: Likewise.
14231 * math/s_significand.c: Likewise.
14232 * math/s_significandf.c: Likewise.
14233 * math/s_significandl.c: Likewise.
14234 * math/w_acos.c: Likewise.
14235 * math/w_acosf.c: Likewise.
14236 * math/w_acosh.c: Likewise.
14237 * math/w_acoshf.c: Likewise.
14238 * math/w_acoshl.c: Likewise.
14239 * math/w_acosl.c: Likewise.
14240 * math/w_asin.c: Likewise.
14241 * math/w_asinf.c: Likewise.
14242 * math/w_asinl.c: Likewise.
14243 * math/w_atan2.c: Likewise.
14244 * math/w_atan2f.c: Likewise.
14245 * math/w_atan2l.c: Likewise.
14246 * math/w_atanh.c: Likewise.
14247 * math/w_atanhf.c: Likewise.
14248 * math/w_atanhl.c: Likewise.
14249 * math/w_cosh.c: Likewise.
14250 * math/w_coshf.c: Likewise.
14251 * math/w_coshl.c: Likewise.
14252 * math/w_dremf.c: Likewise.
14253 * math/w_exp10.c: Likewise.
14254 * math/w_exp10f.c: Likewise.
14255 * math/w_exp10l.c: Likewise.
14256 * math/w_exp2.c: Likewise.
14257 * math/w_exp2f.c: Likewise.
14258 * math/w_fmod.c: Likewise.
14259 * math/w_fmodf.c: Likewise.
14260 * math/w_fmodl.c: Likewise.
14261 * math/w_hypot.c: Likewise.
14262 * math/w_hypotf.c: Likewise.
14263 * math/w_hypotl.c: Likewise.
14264 * math/w_j0.c: Likewise.
14265 * math/w_j0f.c: Likewise.
14266 * math/w_j0l.c: Likewise.
14267 * math/w_j1.c: Likewise.
14268 * math/w_j1f.c: Likewise.
14269 * math/w_j1l.c: Likewise.
14270 * math/w_jn.c: Likewise.
14271 * math/w_jnf.c: Likewise.
14272 * math/w_jnl.c: Likewise.
14273 * math/w_lgamma.c: Likewise.
14274 * math/w_lgamma_r.c: Likewise.
14275 * math/w_lgammaf.c: Likewise.
14276 * math/w_lgammaf_r.c: Likewise.
14277 * math/w_lgammal.c: Likewise.
14278 * math/w_lgammal_r.c: Likewise.
14279 * math/w_log.c: Likewise.
14280 * math/w_log10.c: Likewise.
14281 * math/w_log10f.c: Likewise.
14282 * math/w_log10l.c: Likewise.
14283 * math/w_log2.c: Likewise.
14284 * math/w_log2f.c: Likewise.
14285 * math/w_log2l.c: Likewise.
14286 * math/w_logf.c: Likewise.
14287 * math/w_logl.c: Likewise.
14288 * math/w_pow.c: Likewise.
14289 * math/w_powf.c: Likewise.
14290 * math/w_powl.c: Likewise.
14291 * math/w_remainder.c: Likewise.
14292 * math/w_remainderf.c: Likewise.
14293 * math/w_remainderl.c: Likewise.
14294 * math/w_scalb.c: Likewise.
14295 * math/w_scalbf.c: Likewise.
14296 * math/w_scalbl.c: Likewise.
14297 * math/w_sinh.c: Likewise.
14298 * math/w_sinhf.c: Likewise.
14299 * math/w_sinhl.c: Likewise.
14300 * math/w_sqrt.c: Likewise.
14301 * math/w_sqrtf.c: Likewise.
14302 * math/w_sqrtl.c: Likewise.
14303 * math/w_tgamma.c: Likewise.
14304 * math/w_tgammaf.c: Likewise.
14305 * math/w_tgammal.c: Likewise.
14307 * po/ja.po: Update from translation team.
14309 2011-09-29 Andreas Jaeger <aj@suse.de>
14312 * sunrpc/netname.c (netname2host): Fix logic.
14316 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14318 * math/w_remainder.c (__remainder): Likewise.
14319 * math/w_remainderf.c (__remainderf): Likewise.
14320 * math/libm-test.inc (remainder_test): Add test cases.
14322 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14324 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14327 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14329 * string/test-memcmp.c: Avoid unncessary #defines.
14330 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14332 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14334 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14335 Use new sse2 version for core i3 - i7 as it's faster
14336 than sse42 version.
14337 (bit_Prefer_PMINUB_for_stringop): New.
14338 * sysdeps/x86_64/rawmemchr.S: Update.
14339 Replace with faster SSE2 version.
14340 * sysdeps/x86_64/memrchr.S: New file.
14341 * sysdeps/x86_64/memchr.S: Update.
14342 Replace with faster SSE2 version.
14344 2011-09-12 Marek Polacek <mpolacek@redhat.com>
14346 * elf/dl-load.c (lose): Add cast to avoid warning.
14348 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14350 * po/ca.po: Update from translation team.
14352 * inet/getnetgrent_r.c: Hook up nscd.
14353 * nscd/Makefile (routines): Add nscd_netgroup.
14354 (nscd-modules): Add netgroupcache.
14355 (CFLAGS-netgroupcache.c): Define.
14356 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14357 (cache_search): Add const to second parameter.
14358 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14360 (dbs): Add netgrdb entry.
14361 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14362 (verify_persistent_db): Handle netgrdb.
14363 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14364 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14366 (netgroup_response_header): Define.
14367 (innetgroup_response_header): Define.
14368 (datahead): Add netgroup_response_header and innetgroup_response_header
14370 * nscd/nscd.conf: Add entries for netgroup cache.
14371 * nscd/nscd.h (dbtype): Add netgrdb.
14372 (_PATH_NSCD_NETGROUP_DB): Define.
14373 (netgroup_iov_disabled): Declare.
14374 (xmalloc, xcalloc, xrealloc): Move declarations here.
14375 (cache_search): Adjust prototype.
14376 Add netgroup-related prototypes.
14377 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14378 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14379 (__nscd_innetgr): Declare.
14380 * nscd/selinux.c (perms): Use access_vector_t as element type and
14381 add netgroup-related initializers.
14382 * nscd/netgroupcache.c: New file.
14383 * nscd/nscd_netgroup.c: New file.
14384 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14385 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14386 For four parameters use innetgr.
14387 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14388 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14389 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14390 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14392 * nscd/connections.c (register_traced_file): Don't register file
14393 for disabled databases.
14395 2011-10-06 Ulrich Drepper <drepper@gmail.com>
14397 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14399 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14400 from tree and freeing node.
14402 2011-09-25 Jiri Olsa <jolsa@redhat.com>
14404 * nss/nsswitch.c (__nss_database_lookup): Handle
14405 nss_parse_service_list out of memory case.
14407 2011-09-15 Jiri Olsa <jolsa@redhat.com>
14409 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14410 out of memory case.
14412 2011-10-04 Andreas Schwab <schwab@redhat.com>
14414 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14415 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14417 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14418 elf_machine_rela, elf_machine_lazy_rel.
14419 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14420 (ELF_DYNAMIC_DO_REL): Likewise.
14421 (ELF_DYNAMIC_DO_RELA): Likewise.
14422 (ELF_DYNAMIC_RELOCATE): Likewise.
14423 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14424 to ELF_DYNAMIC_DO_REL.
14425 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14426 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14427 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14429 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14430 skip_ifunc, don't call ifunc function if non-zero.
14431 (elf_machine_rela): Likewise.
14432 (elf_machine_lazy_rel): Likewise.
14433 (elf_machine_lazy_rela): Likewise.
14434 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14435 (elf_machine_lazy_rel): Likewise.
14436 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14438 (elf_machine_lazy_rel): Likewise.
14439 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14441 (elf_machine_lazy_rel): Likewise.
14442 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14443 (elf_machine_lazy_rel): Likewise.
14444 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14445 (elf_machine_lazy_rel): Likewise.
14446 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14447 (elf_machine_lazy_rel): Likewise.
14448 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14449 (elf_machine_lazy_rel): Likewise.
14450 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14451 (elf_machine_lazy_rel): Likewise.
14452 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14453 (elf_machine_lazy_rel): Likewise.
14455 2011-09-28 Ulrich Drepper <drepper@gmail.com>
14457 * nss/nss_files/files-init.c (_nss_files_init): Use static
14458 initialization for all the *_traced_file variables.
14460 2011-09-28 Andreas Schwab <schwab@redhat.com>
14462 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14464 2011-09-27 Roland McGrath <roland@hack.frob.com>
14467 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14469 2011-09-27 Andreas Schwab <schwab@redhat.com>
14471 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14472 Reread the line before reparsing it.
14474 2011-09-26 Andreas Schwab <schwab@redhat.com>
14476 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14478 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14479 Maxim Kuvyrkov <maxim@codesourcery.com>
14480 Joseph Myers <joseph@codesourcery.com>
14482 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14483 if needed for __stack_chk_guard.
14485 2011-09-19 Roland McGrath <roland@hack.frob.com>
14487 * sysdeps/posix/spawni.c (script_execute): Always define it.
14488 It will be optimized away if unused.
14489 (maybe_script_execute): New function.
14490 (__spawni): Call it.
14492 * Makerules: Don't include tls.make.
14493 (config-tls): Always set to thread.
14494 * tls.make.c: File removed.
14496 2011-09-19 Mike Frysinger <vapier@gentoo.org>
14498 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14499 * config.make.in (CPPFLAGS-config): New substituted variable.
14501 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14503 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14506 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14507 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14509 2011-09-15 Roland McGrath <roland@hack.frob.com>
14511 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14512 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14513 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14514 (CALL_FAIL): Likewise.
14515 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14516 (CALL_FAIL): Macro removed.
14517 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14519 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14521 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14522 for __FINITE_MATH_ONLY__ == 1.
14524 2011-09-15 Andreas Schwab <schwab@redhat.com>
14526 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14527 __ieee754_sqrt instead of sqrt.
14528 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14529 __ieee754_sqrtf instead of sqrtf.
14530 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14531 __floorf instead of floorf.
14532 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14533 __floorf, __truncf instead of floorf, truncf.
14535 2011-09-14 Ulrich Drepper <drepper@gmail.com>
14537 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14539 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14540 __extern_always_inline.
14541 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14544 2011-09-14 Andreas Schwab <schwab@redhat.com>
14546 * elf/rtld.c (dl_main): Also relocate in dependency order when
14547 doing symbol dependency testing.
14549 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14551 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14552 Always define `refsym'.
14554 2011-09-13 Andreas Schwab <schwab@redhat.com>
14556 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14557 (__FD_ELT): Renamed from __FDELT.
14558 * misc/bits/select2.h (__FD_ELT): Likewise.
14559 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14560 __FD_MASK instead of __FDELT, __FDMASK.
14561 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14563 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14566 * elf/Makefile (gen-ldd): Fix pattern.
14568 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14569 (init_tls): Likewise.
14571 2011-09-12 Ulrich Drepper <drepper@gmail.com>
14573 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14575 2011-09-12 Andreas Schwab <schwab@redhat.com>
14577 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14578 `struct cmsghdr *' instead of `void *'.
14579 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14582 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14584 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14586 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14587 ldd_rewrite_script.
14589 2011-09-11 Ulrich Drepper <drepper@gmail.com>
14591 * configure.in: Remove --with-tls option.
14592 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14593 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14594 out in case it is missing.
14595 * sysdeps/ia64/elf/configure.in: Likewise.
14596 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14597 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14598 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14599 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14600 * sysdeps/sh/elf/configure.in: Likewise.
14601 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14602 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14603 * sysdeps/x86_64/elf/configure.in: Likewise.
14604 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14605 * sysdeps/mach/hurd/tls.h: Likewise.
14608 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14611 * configure.in: Fix use of AC_INIT.
14613 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14615 2011-09-10 Ulrich Drepper <drepper@gmail.com>
14617 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14619 * malloc/hooks.c: Likewise.
14622 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14623 variables statically.
14624 (narenas): Initialize.
14625 (list_lock): Initialize.
14626 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14627 initializtion of main_arena and list_lock. Small cleanups.
14628 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14629 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14630 Add initializers to main_arena and mp_.
14631 (malloc_state): Remove pagesize member. Change all users to use
14634 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14635 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14636 is always initialized.
14638 * malloc/malloc.c: Removed unused configurations and dead code.
14639 * malloc/arena.c: Likewise.
14640 * malloc/hooks.c: Likewise.
14641 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14643 * include/tls.h: Removed. USE___THREAD must always be defined.
14644 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14645 * elf/dl-libc.c: Likewise.
14646 * elf/dl-tsd.c: Likewise.
14647 * include/errno.h: Likewise.
14648 * include/netdb.h: Likewise.
14649 * include/resolv.h: Likewise.
14650 * inet/herrno-loc.c: Likewise.
14651 * inet/herrno.c: Likewise.
14652 * malloc/arena.c: Likewise.
14653 * malloc/hooks.c: Likewise.
14654 * malloc/malloc.c: Likewise.
14655 * resolv/res-state.c: Likewise.
14656 * resolv/res_libc.c: Likewise.
14657 * sysdeps/i386/dl-machine.h: Likewise.
14658 * sysdeps/ia64/dl-machine.h: Likewise.
14659 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14660 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14661 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14662 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14663 * sysdeps/sh/dl-machine.h: Likewise.
14664 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14665 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14666 * sysdeps/unix/i386/sysdep.S: Likewise.
14667 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14668 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14669 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14670 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14671 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14672 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14673 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14674 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14675 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14676 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14677 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14678 * sysdeps/x86_64/dl-machine.h: Likewise.
14679 * tls.make.c: Likewise.
14681 * configure.in: Remove --with-__thread option. Make tests for
14682 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14683 tls_model attribute fail if no support is available. Remove
14685 * Makeconfig: Adjust for dropped configure option. All features are
14687 * Makerules: Likewise.
14688 * Versions.def: Likewise.
14689 * argp/argp-fmtstream.c: Likewise.
14690 * argp/argp-fmtstream.h: Likewise.
14691 * argp/argp-help.c: Likewise.
14692 * assert/assert.c: Likewise.
14693 * config.h.in: Likewise.
14694 * config.make.in: Likewise.
14695 * configure: Likewise.
14696 * configure.in: Likewise.
14697 * csu/Versions: Likewise.
14698 * csu/init.c: Likewise.
14699 * elf/tst-audit2.c: Likewise.
14700 * elf/tst-tls10.c: Likewise.
14701 * elf/tst-tls10.h: Likewise.
14702 * elf/tst-tls11.c: Likewise.
14703 * elf/tst-tls12.c: Likewise.
14704 * elf/tst-tls14.c: Likewise.
14705 * elf/tst-tlsmod11.c: Likewise.
14706 * elf/tst-tlsmod12.c: Likewise.
14707 * elf/tst-tlsmod13.c: Likewise.
14708 * elf/tst-tlsmod13a.c: Likewise.
14709 * elf/tst-tlsmod14a.c: Likewise.
14710 * elf/tst-tlsmod15b.c: Likewise.
14711 * elf/tst-tlsmod16a.c: Likewise.
14712 * elf/tst-tlsmod16b.c: Likewise.
14713 * elf/tst-tlsmod7.c: Likewise.
14714 * elf/tst-tlsmod8.c: Likewise.
14715 * elf/tst-tlsmod9.c: Likewise.
14716 * gmon/gmon.c: Likewise.
14717 * grp/fgetgrent_r.c: Likewise.
14718 * grp/putgrent.c: Likewise.
14719 * hurd/fopenport.c: Likewise.
14720 * include/libc-symbols.h: Likewise.
14721 * include/tls.h: Likewise.
14722 * intl/gettextP.h: Likewise.
14723 * intl/loadinfo.h: Likewise.
14724 * locale/global-locale.c: Likewise.
14725 * locale/localeinfo.h: Likewise.
14726 * mach/devstream.c: Likewise.
14727 * malloc/arena.c: Likewise.
14728 * malloc/set-freeres.c: Likewise.
14729 * misc/err.c: Likewise.
14730 * misc/getttyent.c: Likewise.
14731 * misc/mntent_r.c: Likewise.
14732 * posix/getopt.c: Likewise.
14733 * posix/wordexp.c: Likewise.
14734 * pwd/fgetpwent_r.c: Likewise.
14735 * resolv/Versions: Likewise.
14736 * resolv/res_hconf.c: Likewise.
14737 * shadow/fgetspent_r.c: Likewise.
14738 * shadow/putspent.c: Likewise.
14739 * stdio-common/printf_fphex.c: Likewise.
14740 * stdio-common/tmpfile.c: Likewise.
14741 * stdlib/abort.c: Likewise.
14742 * stdlib/fmtmsg.c: Likewise.
14743 * sunrpc/auth_unix.c: Likewise.
14744 * sunrpc/clnt_perr.c: Likewise.
14745 * sunrpc/clnt_tcp.c: Likewise.
14746 * sunrpc/clnt_udp.c: Likewise.
14747 * sunrpc/clnt_unix.c: Likewise.
14748 * sunrpc/openchild.c: Likewise.
14749 * sunrpc/svc_simple.c: Likewise.
14750 * sunrpc/svc_tcp.c: Likewise.
14751 * sunrpc/svc_udp.c: Likewise.
14752 * sunrpc/svc_unix.c: Likewise.
14753 * sunrpc/xdr.c: Likewise.
14754 * sunrpc/xdr_array.c: Likewise.
14755 * sunrpc/xdr_rec.c: Likewise.
14756 * sunrpc/xdr_ref.c: Likewise.
14757 * sunrpc/xdr_stdio.c: Likewise.
14759 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14761 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14763 2011-07-03 Andreas Jaeger <aj@suse.de>
14765 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14766 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14767 regenerate with gen-libm-tests.pl.
14769 2010-05-12 Petr Baudis <pasky@suse.cz>
14772 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14773 around j0() zero points by switching to j1().
14774 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14775 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14776 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14777 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14779 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14781 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14783 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14785 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14786 Patch in part by Pavel Roskin <proski@gnu.org>.
14789 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14791 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14792 Free memory block if necessary.
14795 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14796 be NULL. Don't lock in this case.
14798 2011-09-09 Roland McGrath <roland@hack.frob.com>
14800 * elf/elf.h (ELFOSABI_GNU): New macro.
14801 (ELFOSABI_LINUX): Define to that.
14803 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14805 * string/strncat.c (strncat): Undef the symbol in case it has been
14806 defined in bits/string.h.
14808 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14810 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14812 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14815 2011-08-17 Andreas Jaeger <aj@suse.de>
14817 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14819 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14820 Ian Lance Taylor <iant@google.com>
14822 * math/libm-test.inc (lround_test): New testcase.
14823 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14825 2011-09-08 Ulrich Drepper <drepper@gmail.com>
14827 * Makefile: Remove support for automatic cvs check-ins.
14828 * Makerules: Likewise.
14829 * config.make.in: Likewise.
14830 * configure.in: Likewise.
14831 * intl/Makefile: Likewise.
14832 * locale/Makefile: Likewise.
14833 * po/Makefile: Likewise.
14834 * posix/Makefile: Likewise.
14835 * sysdeps/gnu/Makefile: Likewise.
14836 * sysdeps/mach/hurd/Makefile: Likewise.
14837 * sysdeps/sparc/sparc32/Makefile: Likewise.
14840 * posix/Makefile (bug-regex32-ENV): Define.
14841 Patch by John Stanley <jpsinthemix@verizon.net>.
14843 * misc/Makefile (headers): Add bits/select2.h.
14844 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14845 * misc/bits/select2.h: New file.
14846 * include/bits/select2.h: New file.
14847 * debug/Makefile (routines): Add fdelt_chk.
14848 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14849 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14851 * debug/fdelt_chk.c: New file.
14853 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14854 * wcsmbs/test-wmemcmp.c: Likewise.
14855 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14856 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14858 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14860 * string/Makefile (strop-tests): Add memcmp.
14861 * string/test-wmemcmp.c: New file.
14862 * string/test-memcmp.c: Add wmemcmp support.
14864 2011-09-08 Roland McGrath <roland@hack.frob.com>
14867 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14870 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14871 garbage value in a __mach_port_mod_refs call in the cases of the
14872 task-self and thread-self ports.
14874 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14876 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14878 2011-09-08 Andreas Schwab <schwab@redhat.com>
14880 * elf/dl-load.c (lose): Check for non-null L.
14882 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14884 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14886 * elf/dl-libc.c (dlerror_run): Pass back error code from
14890 * elf/dl-load.c (lose): Free l_origin if it is valid.
14892 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14894 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14895 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14896 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14897 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14898 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14899 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14901 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14903 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14904 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14905 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14906 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14907 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14908 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14909 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14910 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14911 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14912 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14914 2011-08-15 Alan Modra <amodra@gmail.com>
14917 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14918 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14919 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14920 ppc_mcount to static-only-routines.
14921 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14923 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14924 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14926 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14928 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14929 for finite and infinity parameters.
14931 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14933 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14934 and add nop instructions for throughput optimization.
14935 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14937 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14939 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14940 aligned copy for power7 with vector-scalar instructions.
14941 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14943 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14945 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14948 2011-09-07 Andreas Schwab <schwab@redhat.com>
14951 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14954 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14956 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14957 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14958 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14959 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14962 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14964 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14965 Forgot to demangle the pointer.
14967 * sysdeps/i386/sysdep.h: Define atom_text_section.
14968 * sysdeps/x86_64/sysdep.h: Likewise.
14969 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14970 section with atom_text_section.
14971 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14972 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14973 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14974 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14975 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14977 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14978 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14979 already be defined. Change to take two parameters and don't assign
14980 result to variable. Adjust all users.
14981 Define INTERNAL_GETTIME if not already defined.
14982 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14984 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14985 HAVE_CLOCK_GETTIME_VSYSCALL.
14986 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14988 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14989 gettimeofday vsyscall, just use time.
14991 2011-09-06 Andreas Schwab <schwab@redhat.com>
14993 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14996 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14998 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15000 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15002 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15003 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15004 syscall if possible.
15006 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15008 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15009 e_ident. Don't pass to find_mapsXX.
15010 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15012 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15014 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15015 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15016 * sysdeps/x86_64/multiarch/strchr.S: Update.
15017 Check bit_slow_BSF bit.
15018 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15019 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15020 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15022 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15025 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15027 (tryshell): Define.
15028 (__spawni): Change last parameter to be flag. Test
15029 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15030 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15031 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15032 * posix/spawni.c: Likewise.
15033 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15034 * posix/spawnp.c: Likewise. Change normal version to use
15035 SPAWN_XFLAGS_USE_PATH.
15036 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15037 SPAWN_XFLAGS_TRY_SHELL.
15040 * posix/glob.h: Remove gcc 1.x support.
15043 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15045 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15047 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15048 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15050 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15051 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15052 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15053 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15054 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15055 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15057 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15059 * sysdeps/x86_64/wcscmp.S: New file.
15061 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15062 wcscmp-c wcscmp-sse2
15063 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15064 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15065 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15066 * wcsmbs/wcscmp.c: Allow renaming.
15068 2011-09-05 David S. Miller <davem@davemloft.net>
15070 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15071 stack slot, rather than the struct return pointer slot.
15072 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15073 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15075 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15077 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15079 * po/ja.po: Update from translation team.
15082 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15083 kernel in 64-bit binaries.
15085 2011-09-01 David S. Miller <davem@davemloft.net>
15087 * elf/elf.h (HWCAP_SPARC_*): Move to..
15088 * sysdeps/sparc/sysdep.h: this new file and add new values.
15089 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15090 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15091 _DL_HWCAP_COUNT to 24.
15092 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15094 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15095 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15096 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15097 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15098 instead of magic constants.
15099 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15101 2011-08-31 David S. Miller <davem@davemloft.net>
15103 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15105 Reimplement to do errno handling inline.
15106 (SYSCALL_ERROR_HANDLER): New macro.
15107 (__SYSCALL_STRING): Do not do errno handling in asm.
15108 (__CLONE_SYSCALL_STRING): Delete.
15109 (__INTERNAL_SYSCALL_STRING): Delete.
15110 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15111 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15112 (PSEUDO): Reimplement to do errno handling inline.
15113 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15114 (SYSCALL_ERROR_HANDLER): New macro.
15115 (__SYSCALL_STRING): Do not do errno handling in asm.
15116 (__CLONE_SYSCALL_STRING): Delete.
15117 (__INTERNAL_SYSCALL_STRING): Delete.
15118 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15119 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15121 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15122 (inline_syscall*): Add 'err' argument.
15123 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15124 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15125 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15126 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15128 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15129 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15131 2011-08-30 Andreas Schwab <schwab@redhat.com>
15133 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15135 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15137 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15140 2011-08-24 David S. Miller <davem@davemloft.net>
15142 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15144 2011-08-24 Andreas Schwab <schwab@redhat.com>
15146 * elf/Makefile: Add rules to build and run unload8 test.
15147 * elf/unload8.c: New file.
15148 * elf/unload8mod1.c: New file.
15149 * elf/unload8mod1x.c: New file.
15150 * elf/unload8mod2.c: New file.
15151 * elf/unload8mod3.c: New file.
15153 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15156 2011-08-23 David S. Miller <davem@davemloft.net>
15158 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15159 subtract stack bias.
15160 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15161 %sp not %fp in calculations.
15162 (_JMPBUF_UNWINDS_ADJ): Likewise.
15164 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15165 (aio_suspend): Call it to force an exception region around the
15166 AIO_MISC_WAIT() invocation.
15168 2011-08-23 Andreas Schwab <schwab@redhat.com>
15170 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15173 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15175 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15177 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15178 and <dl-machine.h>.
15179 (Elf64_FuncDesc): Remove.
15181 2011-08-22 David S. Miller <davem@davemloft.net>
15183 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15184 sigaltstack check, add missing cfi directives.
15185 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15186 missing cfi directives, and sigaltstack handling.
15188 2011-08-16 Andreas Schwab <schwab@redhat.com>
15191 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15192 object is seen twice.
15193 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15195 * elf/Makefile (distribute): Add tst-initorder2.c.
15196 (tests): Add tst-initorder2.
15197 (modules-names): Add tst-initorder2a tst-initorder2b
15198 tst-initorder2c tst-initorder2d. Add rules to build them.
15199 ($(objpfx)tst-initorder2.out): New rule.
15200 * elf/tst-initorder2.c: New file.
15201 * elf/tst-initorder2.exp: New file.
15203 2011-08-22 Andreas Schwab <schwab@redhat.com>
15205 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15207 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15208 dependencies back to end of function.
15210 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15211 $(elfobjdir)/ld.so.
15213 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15215 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15216 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15217 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15218 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15219 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15220 of __vdso_gettimeofday.
15221 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15222 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15224 (_libc_vdso_platform_setup): Remove initialization of
15225 __vdso_gettimeofday and __vdso_time.
15227 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15229 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15230 and fgetc_unlocked.
15231 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15234 * elf/dl-open.c (add_to_global): Report additions to the global scope
15235 for LD_DEBUG=scopes.
15236 (dl_open_worker): Also print scope of newly loaded dependencies.
15237 (_dl_show_scope): Indicate if there is no scope.
15240 * stdio-common/Makefile (tests): Add bug24.
15241 * stdio-common/bug24.c: New file.
15243 2011-08-19 Andreas Jaeger <aj@suse.de>
15246 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15247 non-existant file when using close-on-exec mode.
15249 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15251 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15252 the very first instruction.
15254 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15255 the CFI state in the end.
15256 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15257 inclusion of dl-trampoline.h.
15258 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15260 2011-08-19 Andreas Schwab <schwab@redhat.com>
15262 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15263 expectations for long double.
15265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15266 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15268 2011-08-14 David S. Miller <davem@davemloft.net>
15270 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15271 artificual limit depends upon the system page size.
15273 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15275 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15276 * resolv/Makefile: Define CFLAGS-libresolv.
15278 2011-08-17 Andreas Schwab <schwab@redhat.com>
15280 * nss/makedb.c (compute_tables): Make variables used in nested
15283 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15285 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15286 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15287 if buffer was too small.
15289 * elf/pldd.c (main): Attach to all threads in the process.
15290 Rewrite /proc handling to use *at functions.
15292 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15294 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15295 specifies first scope to show.
15296 (dl_open_worker): Update callers. Move printing scope of new
15297 object to before the relocation.
15298 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15299 * sysdeps/generic/ldsodefs.h: Update declaration.
15301 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15302 string for the scope number.
15304 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15306 * nscd/servicescache.c (cache_addserv): Make sure written is always
15309 2011-08-14 Roland McGrath <roland@hack.frob.com>
15311 * sysdeps/i386/i486/bits/atomic.h
15312 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15313 statement expression, so as to suppress "set but not used" warning.
15314 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15316 * string/strncat.c (STRNCAT): Use prototype definition.
15318 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15319 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15321 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15322 (localedef-modules): Add localedef.
15323 (locale-modules): Add locale.
15325 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15326 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15327 to avoid a warning.
15329 2011-08-14 David S. Miller <davem@davemloft.net>
15331 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15332 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15334 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15336 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15337 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15338 * elf/rtld.c (dl_main): Set l_name of vDSO.
15339 Call _dl_show_scope when DL_DEBUG_SCOPES.
15340 (process_dl_debug): Recognize scopes flag and also set it for all.
15341 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15342 Declare _dl_show_scope.
15344 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15345 (do_dlopen): Pass caller_dlopen to dl_open.
15346 (__libc_dlopen_mode): Initialize caller_dlopen.
15348 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15349 of libc. Make tolower call locale-independent. Optimize a bit by
15350 using isdigit instead of isalnum.
15351 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15353 2011-08-12 Ulrich Drepper <drepper@gmail.com>
15355 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15356 was a dependency or dynamically loaded.
15358 2011-08-11 Ulrich Drepper <drepper@gmail.com>
15360 * intl/l10nflist.c: Allow architecture-specific pop function.
15361 * sysdeps/x86_64/l10nflist.c: New file.
15363 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15366 2011-08-10 Andreas Schwab <schwab@redhat.com>
15368 * include/dirent.h: Add libc_hidden_proto for scandirat and
15369 scandirat64. Don't declare __scandirat64.
15370 * dirent/scandirat.c: Add libc_hidden_def.
15371 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15372 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15374 2011-08-10 David S. Miller <davem@davemloft.net>
15376 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15378 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15379 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15380 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15382 2011-08-09 Ulrich Drepper <drepper@gmail.com>
15384 * Versions.def [libc]: Add GLIBC_2.15.
15385 * dirent/Makefile (routines): Add scandirat and scandirat64.
15386 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15388 * dirent/dirent.h: Declare scandirat and scandirat64.
15389 * dirent/scandirat.c: New file.
15390 * dirent/scandirat64.c: New file.
15391 * sysdeps/wordsize-64/scandirat.c: New file.
15392 * sysdeps/wordsize-64/scandirat64.c: New file.
15393 * dirent/opendir.c: Define opendirat.
15394 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15396 * dirent/scandir64.c: Adjust for scandir.c change.
15397 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15398 __scandirat64, and __scandir_cancel_handler.
15399 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15400 additional parameter and use openat instead of open (outside of ld.so).
15401 Add new __opendir as wrapper around __opendirat.
15402 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15403 here without requiring old scandirat implementation.
15405 2011-08-08 Ulrich Drepper <drepper@gmail.com>
15407 * dirent/scandir.c (cancel_handler): Renamed to
15408 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15409 defined. Adjust users.
15410 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15411 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15413 2011-08-04 Ulrich Drepper <drepper@gmail.com>
15415 * string/test-string.h (IMPL): Use __STRING to expand name and then
15418 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15421 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15423 * string/Makefile: Update.
15424 (strop-tests): Append strncat.
15425 * string/test-wcscmp.c: New file.
15426 New comprehensive test for wcscmp.
15427 * string/test-strcmp.c: Update.
15428 (WIDE): New define.
15430 2011-07-22 Andreas Schwab <schwab@redhat.com>
15432 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15435 2011-07-26 Andreas Schwab <schwab@redhat.com>
15437 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15438 encoding to ACE if AI_IDN.
15440 2011-08-01 Jakub Jelinek <jakub@redhat.com>
15442 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15443 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15445 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15447 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15448 Fix overflow bug in strncat.
15449 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15451 * string/test-strncat.c: Update.
15452 Add new tests for checking overflow bugs.
15454 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15456 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15457 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15458 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15459 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15460 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15461 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15462 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15463 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15464 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15466 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15467 (USE_AS_STRCAT): Define.
15468 Add strcat and strncat support.
15469 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15471 2011-07-25 Andreas Schwab <schwab@redhat.com>
15473 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15474 __n bigger than INT_MAX+1.
15475 (__strncmp_g): Likewise.
15477 2011-07-23 Ulrich Drepper <drepper@gmail.com>
15479 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15480 * libio/stido.h: Likewise.
15482 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15484 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15487 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15488 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15489 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15490 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15491 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15494 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15497 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15499 (_dl_x86_64_save_sse): Likewise.
15501 2011-07-22 Ulrich Drepper <drepper@gmail.com>
15503 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15505 (_dl_x86_64_save_sse): Likewise.
15507 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15509 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15511 2011-07-21 Andreas Schwab <schwab@redhat.com>
15513 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15515 (_dl_x86_64_save_sse): Use correct AVX check.
15517 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15519 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15520 bug in strncpy/strncat.
15521 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15523 2011-07-21 Ulrich Drepper <drepper@gmail.com>
15525 * string/tester.c (test_strcat): Add tests for different alignments
15526 of source and destination.
15527 (test_strncat): Likewise.
15529 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15532 * posix/glob.c (glob): Check passed in values before using them in
15533 expressions to avoid some overflows.
15534 (glob_in_dir): Likewise.
15537 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15538 check for AVX enablement so that we don't crash with old kernels and
15540 * elf/tst-audit4.c: Add same checks here.
15541 * elf/tst-audit6.c: Likewise.
15543 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15545 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15547 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15549 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15551 * po/cs.po: Update from translation team.
15552 * po/bg.po: Likewise.
15554 2011-07-12 Marek Polacek <mpolacek@redhat.com>
15556 * misc/sys/cdefs.h: Add support for const attribute.
15557 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15558 to gnu_dev_{major,minor,makedev} functions.
15560 2011-07-20 Marek Polacek <mpolacek@redhat.com>
15562 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15564 2011-07-20 Andreas Schwab <schwab@redhat.com>
15566 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15569 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15571 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15572 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15573 register in order to avoid conflicts with the soft frame pointer
15574 being held in r11 when necessary.
15575 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15576 (INTERNAL_VSYSCALL_NCS): Likewise.
15578 2011-07-14 Marek Polacek <mpolacek@redhat.com>
15580 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15581 * elf/dl-fini.c (_dl_fini): Adjust caller.
15582 * elf/dl-close.c (_dl_close_worker): Likewise.
15583 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15585 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15587 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15588 "aux_cache->nlibs < 0".
15590 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15591 in the reload-count case.
15593 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15595 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15596 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15597 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15598 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15599 * sysdeps/x86_64/multiarch/strcat.S: New file.
15600 * sysdeps/x86_64/multiarch/strncat.S: New file.
15601 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15602 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15603 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15604 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15605 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15606 (USE_AS_STRCAT): Define.
15607 Add strcat and strncat support.
15608 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15609 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15610 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15611 * string/strncat.c: Update.
15612 (USE_AS_STRNCAT): Define.
15613 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15614 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15616 * sysdeps/x86_64/multiarch/init-arch.h
15617 (bit_Prefer_PMINUB_for_stringop): New.
15618 (index_Prefer_PMINUB_for_stringop): Likewise.
15619 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15620 bit_Prefer_PMINUB_for_stringop.
15622 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15624 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15626 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15627 of casting of buffer.
15628 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15629 buffer32 and buffer64.
15630 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15631 writes instead of casting of buffer.
15632 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15634 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15637 2011-07-19 Andreas Schwab <schwab@redhat.com>
15639 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15641 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15643 * nscd/nscd.c (termination_handler): Don't do anything for a database
15644 if it has not yet been initialized.
15646 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15648 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15650 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15652 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15654 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15656 * po/nl.po: Update from translation team.
15657 * po/sv.po: Likewise.
15659 2011-07-16 Roland McGrath <roland@hack.frob.com>
15661 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15662 now disallowed by GCC.
15664 * configure.in (use-default-link): Default to yes if a test -shared
15665 link meets our qualifications.
15666 * configure: Regenerated.
15668 * config.make.in (output-format): New variable.
15669 * configure.in: Check for ld --print-output-format support.
15670 * configure: Regenerated.
15671 * Makerules ($(common-objpfx)format.lds)
15672 [$(output-format) != unknown]: Just use $(output-format),
15673 instead of the linker-script munging.
15675 2011-07-14 Roland McGrath <roland@hack.frob.com>
15677 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15678 of $(common-objpfx)shlib.lds.
15679 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15681 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15682 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15684 * configure.in (-z relro check): Adjust test code to add a large
15685 writable data section after it.
15686 * configure: Regenerated.
15688 2011-07-11 Roland McGrath <roland@hack.frob.com>
15690 * configure.in (-z relro check): Fix test code to make the variable
15692 * configure: Regenerated.
15694 2011-07-11 Ulrich Drepper <drepper@gmail.com>
15696 * nscd/nscd.h (struct traced_file): Define.
15697 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15698 elements. Add traced_files.
15699 (inotify_fd): Declare.
15700 (register_traced_file): Declare.
15701 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15702 (inotify_fd): Export.
15703 (resolv_conf_descr): Remove.
15704 (nscd_init): Move inotify descriptor creation to main.
15705 Don't register files for notification here.
15706 (register_traced_file): New function.
15707 (invalidate_cache): Don't use reset_res to determine whether to call
15708 res_init, go through the list of registered files.
15709 (main_loop_poll): The inotify descriptors are now stored in the
15710 structures for the traced files.
15711 (main_loop_epoll): Likewise
15712 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15713 to __nss_disable_nscd.
15714 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15715 for a database anymore. Check the records for all the registered
15717 * nss/Makefile (libnss_files-routines): Add files-init.
15718 (libnss_db-routines): Add db-init.
15719 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15720 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15721 * nss/nss_db/db-init.c: New file.
15722 * nss/nss_files/files-init.c: New file.
15723 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15724 __nss_lookup_function.
15725 (__nss_lookup_function): Call nss_load_library.
15726 (nss_load_all_libraries): New function.
15727 (__nss_disable_nscd): Take parameter with callback function for files
15728 to register. Set is_nscd. Load all the DSOs for the NSS modules
15729 used for the cached services.
15730 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15731 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15732 options for features to all the files in nscd.
15734 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15736 2011-07-10 Roland McGrath <roland@hack.frob.com>
15738 * csu/elf-init.c (__libc_csu_init): Comment typo.
15740 2011-07-09 Ulrich Drepper <drepper@gmail.com>
15742 * po/pl.po: Update from translation team.
15743 * po/ja.po: Likewise.
15744 * po/ru.po: Likewise.
15745 * po/ko.po: Likewise.
15746 * po/fr.po: Likewise.
15748 2011-07-09 Roland McGrath <roland@hack.frob.com>
15750 * configure.in (.ctors/.dtors header and trailer check):
15751 Use an empirical test on a built program.
15752 * configure: Regenerated.
15754 * configure.in (-z relro check): Use an empirical test on a built DSO.
15755 Detect, but do not require, on ia64.
15756 * configure: Regenerated.
15758 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15759 Update tests that use readelf to use $READELF instead.
15760 * configure: Regenerated.
15762 2011-07-08 Ulrich Drepper <drepper@gmail.com>
15764 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15765 if the result is not used.
15767 2011-07-05 Andreas Jaeger <aj@suse.de>
15770 * stdlib/tst-strtod.c: Add testcase.
15772 2011-07-07 Ulrich Drepper <drepper@gmail.com>
15774 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15775 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15776 The latter has a higher limit. Take additional parameter to pass to
15778 (__pathconf): Pass file to __statfs_link_max.
15779 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15781 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15785 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15786 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15788 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15789 (__statfs_filesize_max): Likewise.
15790 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15792 2011-07-05 Andreas Jaeger <aj@suse.de>
15794 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15796 2011-07-06 Marek Polacek <mpolacek@redhat.com>
15798 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15800 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15803 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15805 * Makefile (strop-tests): Add strncat.
15806 * string/test-strncat.c: New file.
15808 2011-06-30 Marek Polacek <mpolacek@redhat.com>
15810 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15812 2011-06-21 Andreas Jaeger <aj@suse.de>
15814 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15815 Copy rule from iconvdata/Makefile.
15817 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15820 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15821 but no long options are defined, just return 'W'.
15823 2011-06-22 Marek Polacek <mpolacek@redhat.com>
15826 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15828 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15830 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15832 (innetgr): Likewise.
15834 2011-07-05 Roland McGrath <roland@hack.frob.com>
15836 * config.make.in (install_root): Default to $(DESTDIR).
15838 2011-07-05 Ulrich Drepper <drepper@gmail.com>
15840 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15842 2011-07-02 Roland McGrath <roland@hack.frob.com>
15844 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15846 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15847 containing directory rather than embedding absolute directory names.
15849 * scripts/check-local-headers.sh: Rewritten using awk.
15850 Match by word, not by line. Print error messages for matches.
15851 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15853 * Makerules [shlib-lds-flags empty]:
15854 ($(common-objpfx)libc_pic.opts): New target.
15855 ($(common-objpfx)libc_pic.os.clean): New target.
15856 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15858 * config.make.in (OBJCOPY): New variable.
15859 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15860 * configure: Regenerated.
15862 * config.make.in (use-default-link): New variable.
15863 * configure.in (use_default_link): Grok --with-default-link to set it.
15864 * configure: Regenerated.
15865 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15866 (shlib-lds, shlib-lds-flags): Define to empty.
15868 * Makerules (shlib-lds): New variable.
15869 (shlib-lds-flags): New variable.
15870 (build-shlib, build-moduile, build-module-asneeded): Use it.
15871 ($(common-objpfx)libc.so): Use $(shlib-lds).
15872 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15873 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15875 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15876 DT_FLAGS/DT_FLAGS_1 with zero flags.
15878 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15879 linker script munging.
15881 2011-07-02 Ulrich Drepper <drepper@gmail.com>
15883 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15885 * crypt/sha512.c (sha512_process_block): Perform total addition using
15886 128-bit if possible.
15887 (__sha512_finish_ctx): Likewise.
15888 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15890 * crypt/sha256.c (SWAP64): Define.
15891 (sha256_process_block): Perform total addition using 64-bit if
15893 (__sha256_finish_ctx): Likewise.
15895 2011-07-01 Ulrich Drepper <drepper@gmail.com>
15897 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15898 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15899 * nscd/hstcache.c (cache_addhst): Likewise.
15900 * nscd/grpcache.c (cache_addgr): Likewise.
15901 * nscd/aicache.c (addhstaiX): Likewise
15902 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15904 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
15906 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15907 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15908 * nscd/hstcache.c (cache_addhst): Likewise.
15909 * nscd/grpcache.c (cache_addgr): Likewise.
15910 * nscd/aicache.c (addhstaiX): Likewise
15912 2011-07-01 Andreas Schwab <schwab@redhat.com>
15914 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15915 domain only when needed.
15917 2011-06-30 Andreas Schwab <schwab@redhat.com>
15919 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15920 is always restored.
15922 2011-06-29 Ulrich Drepper <drepper@gmail.com>
15924 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15925 are re-adding the entry.
15926 * nscd/servicescache.c (cache_addserv): Likewise.
15928 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15930 * sysdeps/generic/dl-irel.h: fix protection against multiple
15932 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15934 2011-06-28 Ulrich Drepper <drepper@gmail.com>
15937 * malloc/memusage.sh: Fix quoting in message.
15938 * debug/xtrace.sh: Likewise.
15940 * configure.in: Remove support for --experimental-malloc option, make
15942 * config.make.in: Likewise.
15943 * malloc/Makefile: Likewise.
15945 2011-06-27 Andreas Schwab <schwab@redhat.com>
15947 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15948 two-byte characters.
15950 2011-06-27 Roland McGrath <roland@hack.frob.com>
15952 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15953 AC_CACHE_CHECK invocation.
15954 * configure: Regenerated.
15956 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15958 2011-06-27 Ulrich Drepper <drepper@gmail.com>
15961 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15962 bit from old_res_options.
15964 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15966 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15967 value type for setfct.
15969 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15971 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15972 __gettimeofday instead of gettimeofday.
15974 2011-06-26 Ulrich Drepper <drepper@gmail.com>
15976 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15978 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15980 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15982 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15985 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15988 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15989 strcpy-sse2-unaligned strncpy-sse2-unaligned
15990 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15991 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15992 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15993 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15994 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15995 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15996 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15997 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15998 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15999 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16000 (STRCPY): Support SSE2 and SSSE3 versions.
16002 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16005 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16006 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16007 kernels which artificially limit size of requests.
16009 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16011 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16012 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16013 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16014 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16015 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16016 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16017 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16018 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16019 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16020 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16021 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16022 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16023 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16024 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16025 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16027 Enable unaligned load optimization for Intel Core i3, i5 and i7
16029 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16031 (index_Fast_Unaligned_Load): Define.
16032 (HAS_FAST_UNALIGNED_LOAD): Define.
16034 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16036 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16038 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16041 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16042 until it is clear that the information is realy needed.
16043 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16045 2011-06-22 Andreas Schwab <schwab@redhat.com>
16047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16049 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16051 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16052 /sys/devices/system/cpu/online if it is usable.
16054 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16055 reading the information from the /proc filesystem to once a second.
16057 2011-06-21 Andreas Jaeger <aj@suse.de>
16059 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16060 NULL after inclusion of kernel headers.
16062 2011-06-21 Ulrich Drepper <drepper@gmail.com>
16064 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16065 calls to internal_setent.
16068 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16069 addresses using gethostbyname4_r ignore IPv4 addresses.
16071 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16072 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16074 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16076 2011-06-20 David S. Miller <davem@davemloft.net>
16078 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16080 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16082 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16083 (elf_irel): Use it.
16084 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16085 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16086 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16087 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16088 * sysdeps/x86_64/dl-irel.h: Likewise.
16090 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16091 * elf/dl-sym.c: Likewise.
16093 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16095 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16096 need to dereference resplen2.
16098 2011-06-14 Andreas Schwab <schwab@redhat.com>
16100 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16102 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16104 * Makeconfig: Define vardbdir and inst_vardbdir.
16105 * nss/Makefile: Add rules to install db-Makefile.
16107 * nss/nss_db/db-XXX.c: Cleanup.
16109 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16110 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16112 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16113 * nss/makedb.c: Implement -g option to specify that value strings
16114 are generated and should not be added to table iterated over for
16116 * nss/nss_db/db-initgroups.c: New file.
16118 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16121 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16122 (internal_getgrouplist): Adjust to name change.
16123 Update use_initgroups_entry if this is not the first call.
16124 * nss/databases.def: Add initgroups entry.
16126 * nss/makedb.c (compute_tables): Check result of multiple hash table
16127 sizes to minimize maximum chain length.
16129 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16131 * Versions.def: Add entry for libnss_db.
16132 * shlib-versions: Likewise.
16133 * nss/Makefile: Add rules to build libnss_db.
16134 * nss/Versions: Add libnss_db information. Organize libnss_files
16136 * nss/db-Makefile: Add gshadow support. Change rules for the new
16137 makedb progra. Some minor improvements to generate smaller files.
16138 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16140 * nss/makedb.c: ...here.
16141 Improve database format to be smaller and require less memory at
16143 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16145 * nss/nss_db/db-netgrp.c: Likewise.
16146 * nss/nss_db/db-open.c: Likewise.
16147 * nss/nss_files/flies-XXX.x: Adjust comments.
16148 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16149 * nss/nss_files/files-grp.c: Likewise.
16150 * nss/nss_files/files-hosts.c: Likewise.
16151 * nss/nss_files/files-network.c: Likewise.
16152 * nss/nss_files/files-proto.c: Likewise.
16153 * nss/nss_files/files-pwd.c: Likewise.
16154 * nss/nss_files/files-rpc.c: Likewise.
16155 * nss/nss_files/files-service.c: Likewise.
16156 * nss/nss_files/files-sgrp.c: Likewise.
16157 * nss/nss_files/files-spwd.c: Likewise.
16158 * nss/nss_db/db-alias.c: Removed.
16159 * nss/nss_db/dummy-db.h: Removed.
16161 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16163 * nss/makedb.c: Rewritten to not use database library.
16164 * nss/Makefile: Update to build new makedb program.
16166 2011-06-14 Andreas Jaeger <aj@suse.de>
16168 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16169 memset declaration.
16171 2011-06-10 Andreas Schwab <schwab@redhat.com>
16173 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16176 2011-06-10 Roland McGrath <roland@hack.frob.com>
16178 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16179 * elf/Makefile ($(objpfx)ld.so): Likewise.
16181 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16182 Don't list ld.so twice in dependencies.
16184 * posix/bug-regex31.c: Include <stdlib.h>.
16186 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16188 * nis/nss_compat/compat-spwd.c
16189 (getspent_next_nss_netgr): Remove unused variable.
16190 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16192 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16193 nonmembers" output to use the right array.
16195 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16197 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16199 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16200 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16201 * catgets/gencat.c (read_input_file): Likewise.
16202 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16204 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16205 variable definition inside #if's controlling its use.
16207 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16209 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16211 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16213 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16216 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16218 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16219 * configure: Regenerated.
16221 * Makerules: Revert last change.
16222 * elf/Makefile: Likewise.
16224 2011-06-09 Roland McGrath <roland@hack.frob.com>
16226 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16227 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16228 (reloc-link): Likewise.
16230 2011-06-09 Ulrich Drepper <drepper@gmail.com>
16232 * elf/Makefile: Add rules to build pldd.
16233 * elf/pldd.c: New file.
16234 * elf/pldd-xx.c: New file.
16236 2011-06-07 Ulrich Drepper <drepper@gmail.com>
16238 * version.h: Update for 2.15 development version.
16240 2011-06-07 David S. Miller <davem@davemloft.net>
16242 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16244 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16245 elf_machine_lazy_rel): Likewise.
16246 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16247 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16248 elf_machine_lazy_rel): Likewise.
16249 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16250 dl_hwcap via passed in argument.
16251 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16254 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16256 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16258 2011-06-06 Roland McGrath <roland@hack.frob.com>
16261 * manual/fdl-1.1.texi: New file, verbatim from:
16262 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16263 * manual/lgpl-2.1.texi: New file, verbatim from:
16264 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16265 * manual/Makefile (licenses): New variable, list those new file names.
16267 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16269 * manual/fdl.texi: File removed.
16270 * manual/lesser.texi: File removed.
16271 * manual/libc.texinfo (Copying, Documentation License):
16272 Use new @include file names, put @appendix directive before @include.
16274 2011-06-04 Jakub Jelinek <jakub@redhat.com>
16277 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16278 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16279 (mq_open): Add __NTH.
16281 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16284 Assume Intel Core i3/i5/i7 processor if AVX is available.
16286 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16288 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16291 2011-05-31 Andreas Schwab <schwab@redhat.com>
16293 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16294 memory. Use alloca_account. Fix memory leak when retrying.
16296 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16298 * version.h (RELEASE): Bump for 2.14 release.
16299 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16301 * config.make.in (RANLIB): Remove entry.
16303 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16305 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16306 (libc.pot): Work around missing support for .ksh extension in xgettext.
16309 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16310 if both request failed.
16311 (send_dg): In case of server errors clear resplen or *resplen2.
16314 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16315 when there are multiple maps.
16316 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16317 (_dl_fini): Remove test here.
16319 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16321 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16324 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16325 bit from old_res_options.
16326 (gaih_inet): Likewise.
16329 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16332 * resolv/res_init.c (res_setoptions): Make the code more compact.
16335 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16339 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16341 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16344 * malloc/malloc.h: Declare malloc hook variables as volatile.
16346 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16350 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16351 raise in the comment.
16352 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16353 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16354 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16356 2011-05-28 Ulrich Drepper <drepper@gmail.com>
16359 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16360 grow the buffers more if it already has to be sufficient.
16361 (build_wcs_upper_buffer): Likewise.
16362 * posix/regexec.c (check_matching): Likewise.
16363 (clean_state_log_if_needed): Likewise.
16364 (extend_buffers): Don't enlarge buffers beyond size of the input
16366 Patches mostly by Emil Wojak <emil@wojak.eu>.
16367 * posix/bug-regex32.c: New file.
16368 * posix/Makefile (tests): Add bug-regex32.
16370 * locale/findlocale.c (_nl_find_locale): Return right away if
16371 _nl_explode_name failed.
16372 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16374 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16376 * debug/xtrace.sh: Unify messages.
16377 * malloc/memusage.sh: Likewise.
16380 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16381 time symbol from vDSO. Substitute with vsyscall if not available.
16382 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16385 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16386 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16387 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16388 Add sendmmsg and internal_sendmmsg.
16389 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16390 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16391 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16393 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16394 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16395 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16397 2011-05-27 Ulrich Drepper <drepper@gmail.com>
16400 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16401 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16403 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16407 * iconvdata/Makefile (tests): Add bug-iconv9.
16408 * iconvdata/bug-iconv9.c: New file.
16410 2011-05-27 Andreas Schwab <schwab@redhat.com>
16413 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16415 2011-05-25 Jakub Jelinek <jakub@redhat.com>
16417 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16418 (struct user_regs_struct): Change intcs field back to cs.
16420 2011-05-25 Ulrich Drepper <drepper@gmail.com>
16422 * po/ja.po: Update from translation team.
16424 2011-05-23 Ulrich Drepper <drepper@gmail.com>
16427 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16428 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16430 2011-05-20 Andreas Schwab <schwab@redhat.com>
16432 * stdlib/longlong.h: Update from GCC.
16434 2011-05-23 Andreas Schwab <schwab@redhat.com>
16436 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16438 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16439 Add parameter name.
16440 (__sysconf): Pass it down.
16442 2011-05-22 Ulrich Drepper <drepper@gmail.com>
16445 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16447 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16448 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16449 add in in __libc_use_alloca calls. Adjust callers.
16450 (glob): Use malloc in some situations.
16452 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16453 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16456 2011-05-21 Ulrich Drepper <drepper@gmail.com>
16458 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16459 and CLOCK_BOOTTIME_ALARM.
16462 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16465 * string/_strerror.c (__strerror_r): Print negative errors as signed
16469 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16470 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16471 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16473 * configure.in: Fix typo in redirection and correct removal of test
16474 files in two cases.
16477 * locale/setlocale.c (new_composite_name): Fix test to check for
16478 identical name of all categories.
16481 * libio/filedoalloc.c (local_isatty): New function.
16482 (_IO_file_doallocate): Use local_isatty.
16483 * stdio-common/perror.c (perror): In case a new stream is used
16484 forward the stream error.
16485 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16488 2011-05-20 Ulrich Drepper <drepper@gmail.com>
16491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16493 * include/alloca.h (extend_alloca_account): Define.
16496 * posix/regex.h: Fix comments with documentation of user-accessible
16497 fields after compilation and describe correct free'ing of pattern
16498 after re_compile_pattern.
16499 Patch by Reuben Thomas <rrt@sc3d.org>.
16501 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16503 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16504 and -mno-altivec to prevent the compiler from using Altivec and/or
16505 VSX instructions when the corresponding registers are not available.
16507 2011-05-19 Andreas Schwab <schwab@redhat.com>
16509 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16511 2011-05-19 Ulrich Drepper <drepper@gmail.com>
16513 * libio/freopen.c (freopen): Use __dup2, not dup2.
16514 * libio/freopen64.c (freopen64): Likewise.
16516 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16519 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16520 * math/Makefile (tests): Add test-powl.
16521 (CFLAGS-test-powl.c): Define.
16522 * math/test-powl.c: New file.
16524 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16526 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16528 2011-05-17 Ulrich Drepper <drepper@gmail.com>
16531 * iconvdata/gb18030.c: Update to GB18020-2005.
16533 2011-05-16 Ulrich Drepper <drepper@gmail.com>
16535 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16536 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16537 Patch by Aharon Robbins <arnold@skeeve.com>.
16540 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16544 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16545 through underflows.
16548 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16549 point to strings before performing equality test for error_one_per_line
16553 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16556 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16557 (struct user_fpregs_struct): Avoid __uint*_t types.
16560 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16561 symbol info. Use it instead of calling _dl_addr locally.
16562 (lock_and_info): New function.
16563 (tr_freehook): Call lock_and_info and pass symbol info as additional
16564 parameter to tr_where.
16565 (tr_mallochook): Likewise.
16566 (tr_reallochook): Likewise.
16567 (tr_memalignhook): Likewise.
16569 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16570 used and couldn't be at all thread-safe.
16572 2011-05-15 Ulrich Drepper <drepper@gmail.com>
16574 * libio/freopen.c (freopen): Don't close old file descriptor
16575 before the new one is opened. Instead dup the new file descriptor
16576 to the old one after the new stream is created.
16577 * libio/freopen64.c (freopen64): Likewise.
16578 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16579 * libio/fileops.c (_IO_new_file_close_it): Handle new
16580 _IO_FLAGS2_NOCLOSE flag.
16581 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16582 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16583 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16584 _IO_FLAGS2_NOCLOSE flag.
16585 * include/unistd.h: Add hidden_proto for dup3.
16586 Define __have_dup3.
16587 * io/dup3.c: Define hidden symbol.
16588 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16591 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16592 when an incomplete long option is used.
16593 * posix/tst-getopt_long1.c: New file.
16594 * posix/Makefile (tests): Add tst-getopt_long1.
16597 * scripts/config.guess: Update from autoconf-2.68.
16598 * scripts/config.sub: Likewise.
16601 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16603 (has_cpuclock): ...this. New function.
16604 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16605 macro here based on has_cpuclock code.
16608 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16609 First byte (not low byte) is now always NUL.
16610 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16612 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16613 Use non-cancelable interfaces.
16616 * locale/iso-639.def: Add entry for Sorani.
16619 * include/stdlib.h: Move include protection to the right place.
16620 Define abort_msg_s. Declare __abort_msg with it.
16621 * stdlib/abort.c (__abort_msg): Adjust type.
16622 * assert/assert.c (__assert_fail_base): New function. Majority
16623 of code from __assert_fail. Allocate memory for __abort_msg with
16625 (__assert_fail): Now call __assert_fail_base.
16626 * assert/assert-perr.c: Remove bulk of implementation. Use
16627 __assert_fail_base.
16628 * include/assert.hL Declare __assert_fail_base.
16629 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16631 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16633 2011-05-14 Ulrich Drepper <drepper@gmail.com>
16637 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16638 until all modules are registered in the DTV.
16639 * elf/Makefile: Add rules to build and run tst-tls19.
16640 * elf/tst-tls19.c: New file.
16641 * elf/tst-tls19mod1.c: New file.
16642 * elf/tst-tls19mod2.c: New file.
16643 * elf/tst-tls19mod3.c: New file.
16644 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16647 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16651 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16652 two-byte sequence errors.
16653 * iconvdata/Makefile (tests): Add bug-iconv8.
16654 * iconvdata/bug-iconv8.c: New file.
16657 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16660 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16663 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16664 (dummy_getcfa): New function.
16665 (init): Get _Unwind_GetCFA address, use dummy if not found.
16666 (backtrace_helper): In recursion check, also check whether CFA changes.
16667 (__backtrace): Completely initialize arg.
16669 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16670 storing incomplete byte sequence in state object. Avoid testing for
16671 guaranteed too small input if we know there is enough data available.
16673 2011-05-11 Andreas Schwab <schwab@redhat.com>
16675 * Makeconfig (+link-pie): Indent.
16676 * Rules (binaries-pie): Define if $(have-fpie) and
16678 (binaries-shared): Also filter out $(binaries-pie).
16679 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16680 * nscd/Makefile (others-pie): Add nscd.
16681 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16682 ($(objpfx)nscd): Remove command override.
16683 * login/Makefile (others-pie): Add pt_chown.
16684 ($(objpfx)pt_chown): Remove command override.
16685 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16686 remove command overrides.
16688 2011-05-13 Ulrich Drepper <drepper@gmail.com>
16690 * libio/tst_putwc.c: Fix error messages.
16693 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16694 currently writing and seek to current position when not.
16695 * libio/Makefile (tests): Add bug-fclose1.
16696 * libio/bug-fclose1.c: New file.
16698 2011-05-12 Ulrich Drepper <drepper@gmail.com>
16701 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16702 don't set DF_1_NODELETE here.
16703 (do_lookup_x): When entering new entry test for copy relocation
16704 and if necessary set DF_1_NODELETE flag.
16705 * elf/tst-unique4.cc: New file.
16706 * elf/tst-unique4.h: New file.
16707 * elf/tst-unique4lib.cc: New file.
16708 * elf/Makefile: Add rules to build and run tst-unique4.
16709 Patch by Piotr Bury <pbury@goahead.com>.
16711 2011-05-11 Ulrich Drepper <drepper@gmail.com>
16714 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16717 * misc/mntent_r.c (addmntent): Flush the stream after the output
16720 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16721 (is_trusted_path_normalize): Skip initial colon. Append slash
16722 to empty buffer. Duplicate is_trusted_path code but allow
16723 constructed patch to be prefix.
16724 (is_dst): Allow $ORIGIN followed by /.
16725 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16726 Correct testing of result of is_trusted_path_normalize
16727 (decompose_rpath): Fix warning.
16729 2011-05-10 Ulrich Drepper <drepper@gmail.com>
16732 * grp/initgroups.c (internal_getgrouplist): When we found the service
16733 list through the initgroups entry in nsswitch.conf do not always
16734 continue on a successful lookup. Don't always use the
16735 __nss_group_database value if it is set.
16736 * nss/nsswitch.conf (initgroups): Change action for successful db
16737 lookup to continue for compatibility.
16739 2011-05-09 Ulrich Drepper <drepper@gmail.com>
16742 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16744 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16746 * iconvdata/tst-tables.sh: Likewise.
16747 * iconvdata/cp770.c: New file.
16748 * iconvdata/cp771.c: New file.
16749 * iconvdata/cp772.c: New file.
16750 * iconvdata/cp773.c: New file.
16751 * iconvdata/cp774.c: New file.
16752 * iconvdata/testdata/CP770: New file.
16753 * iconvdata/testdata/CP770..UTF8: New file.
16754 * iconvdata/testdata/CP771: New file.
16755 * iconvdata/testdata/CP771..UTF8: New file.
16756 * iconvdata/testdata/CP772: New file.
16757 * iconvdata/testdata/CP772..UTF8: New file.
16758 * iconvdata/testdata/CP773: New file.
16759 * iconvdata/testdata/CP773..UTF8: New file.
16760 * iconvdata/testdata/CP774: New file.
16761 * iconvdata/testdata/CP774..UTF8: New file.
16763 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16765 * iconvdata/gen-8bit-gap.sh: Likewise.
16766 * iconvdata/gen-8bit.sh: Likewise.
16768 * locale/iso-639.def: Add ary entry.
16771 * locale/C-translit.h.in: Add U20A1 transliteration.
16774 * locale/iso-639.def: Add wae entry.
16775 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16778 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16782 * locale/C-translit.h.in: Add entry for U20B9.
16783 Patch by pravin.d.s@gmail.com.
16785 2011-05-08 Ulrich Drepper <drepper@gmail.com>
16788 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16789 ENAMETOOLONG use generic getcwd.
16790 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16791 in rtld. Use *stat64.
16792 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16793 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16794 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16795 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16796 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16797 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16798 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16799 __fstatat64 macros.
16800 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16801 * dirent/rewinddir.c: Add libc_hidden_def.
16802 * sysdeps/mach/hurd/rewinddir.c: Likewise.
16803 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
16805 * include/dirent.h (__alloc_dir): Add flags parameter.
16806 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16807 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16809 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16810 from fdopendir if O_CLOEXEC is already set.
16812 2011-03-15 Alan Modra <amodra@gmail.com>
16814 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16815 l_tls_firstbyte_offset non-zero. Save padding offset in
16816 l_tls_firstbyte_offset for later use.
16817 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16818 freeing static tls block.
16820 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16822 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16823 where #ifdef was intended. The intent is to prevent ARG_MAX from
16824 being defined by the kernel headers.
16826 2011-05-07 Ulrich Drepper <drepper@gmail.com>
16829 * resolv/resolv.h: Define RES_NOTLDQUERY.
16830 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16831 no-tld-query and set RES_NOTLDQUERY.
16832 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16833 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16834 modern BIND to search name as TLD unless forbidden.
16836 2011-05-07 Petr Baudis <pasky@suse.cz>
16837 Ulrich Drepper <drepper@gmail.com>
16840 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16841 (is_trusted_path): ...to here.
16842 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16843 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16844 using is_trusted_path_normalize() in setuid scripts.
16846 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16848 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16849 __BEGIN/__END_DECLS.
16851 2011-05-06 Ulrich Drepper <drepper@gmail.com>
16853 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16854 NSS_STATUS_NOTFOUND if no record was found.
16856 2011-05-05 Andreas Schwab <schwab@redhat.com>
16858 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16859 (headers-not-in-tirpc): Remove rpc/netdb.h
16860 * resolv/netdb.h: Revert last change.
16862 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16864 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16865 circular dependency between libgcc.a and libc.a.
16867 2011-05-05 Andreas Schwab <schwab@redhat.com>
16869 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16870 * nis/Makefile: Don't install rpcsvc/*.
16871 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16872 instead of <rpc/types.h>.
16873 (MAXHOSTNAMELEN): Define.
16875 2011-05-03 Andreas Schwab <schwab@redhat.com>
16877 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16879 2011-04-28 Maciej Babinski <mbabinski@google.com>
16882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16883 gethostbyname4_r when IPv6 results are possible.
16885 2011-05-02 Ulrich Drepper <drepper@gmail.com>
16888 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16889 _PC_PIPE_BUF handling.
16891 2011-04-30 Bruno Haible <bruno@clisp.org>
16894 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16895 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16897 * inet/getnameinfo.c (getnameinfo): Likewise.
16899 2011-04-29 Ulrich Drepper <drepper@gmail.com>
16901 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16902 to groups setting in database lookup.
16903 * nss/nsswitch.conf: Add initgroups entry.
16905 2011-04-22 Ulrich Drepper <drepper@gmail.com>
16908 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16910 Patch by Eric Blake <eblake@redhat.com>.
16912 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16914 * sunrpc/Makefile (need-export-routines): Add svc_run.
16915 (routines): Remove svc_run.
16916 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16917 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16918 * sunrpc/svc_run.c (svc_run): Likewise.
16919 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16921 2011-04-21 Ulrich Drepper <drepper@gmail.com>
16923 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16924 problem in reallocation in last patch.
16926 2011-04-20 Ulrich Drepper <drepper@gmail.com>
16928 * sunrpc/Makefile: Move inclusion of Rules.
16930 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16932 * nss/nss_files/files-initgroups.c: New file.
16933 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16934 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16935 _nss_files_initgroups_dyn.
16937 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16939 * elf/elf.h (R_ARM_IRELATIVE): Define.
16941 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16943 * po/ru.po: Update from translation team.
16945 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16947 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16950 2011-02-06 Mike Frysinger <vapier@gentoo.org>
16953 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16954 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16955 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16956 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16957 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16959 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16961 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16963 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16964 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16965 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16967 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16970 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16972 * stdlib/bug-getcontext.c: New file.
16973 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16975 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16977 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16978 instructions into .machine "z9-109".
16979 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16980 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16982 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16984 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16985 between environment variables and auxiliary vector.
16987 2011-04-16 Ulrich Drepper <drepper@gmail.com>
16989 * Makefile: Add rules to build linkobj/libc.so.
16990 * include/libc-symbols.h: Define libc_hidden_nolink.
16991 * include/rpc/auth.h: Mark functions which are to be hidden.
16992 * include/rpc/auth_des.h: Likewise.
16993 * include/rpc/auth_unix.h: Likewise.
16994 * include/rpc/clnt.h: Likewise.
16995 * include/rpc/des_crypt.h: Likewise.
16996 * include/rpc/key_prot.h: Likewise.
16997 * include/rpc/pmap_clnt.h: Likewise.
16998 * include/rpc/pmap_prot.h: Likewise.
16999 * include/rpc/pmap_rmt.h: Likewise.
17000 * include/rpc/rpc_msg.h: Likewise.
17001 * include/rpc/svc.h: Likewise.
17002 * include/rpc/svc_auth.h: Likewise.
17003 * include/rpc/xdr.h: Likewise.
17004 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17005 * nss/Makefile: Likewise.
17006 * sunrpc/Makefile: Don't install headers. Build library with normal
17007 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17008 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17009 for the compat linking library. Remove use of INTDEF/INTUSE.
17010 * sunrpc/auth_none.c: Likewise.
17011 * sunrpc/auth_unix.c: Likewise.
17012 * sunrpc/authdes_prot.c: Likewise.
17013 * sunrpc/authuxprot.c: Likewise.
17014 * sunrpc/clnt_gen.c: Likewise.
17015 * sunrpc/clnt_perr.c: Likewise.
17016 * sunrpc/clnt_raw.c: Likewise.
17017 * sunrpc/clnt_simp.c: Likewise.
17018 * sunrpc/clnt_tcp.c: Likewise.
17019 * sunrpc/clnt_udp.c: Likewise.
17020 * sunrpc/clnt_unix.c: Likewise.
17021 * sunrpc/des_crypt.c: Likewise.
17022 * sunrpc/des_soft.c: Likewise.
17023 * sunrpc/get_myaddr.c: Likewise.
17024 * sunrpc/key_call.c: Likewise.
17025 * sunrpc/key_prot.c: Likewise.
17026 * sunrpc/netname.c: Likewise.
17027 * sunrpc/pm_getmaps.c: Likewise.
17028 * sunrpc/pm_getport.c: Likewise.
17029 * sunrpc/pmap_clnt.c: Likewise.
17030 * sunrpc/pmap_prot.c: Likewise.
17031 * sunrpc/pmap_prot2.c: Likewise.
17032 * sunrpc/pmap_rmt.c: Likewise.
17033 * sunrpc/publickey.c: Likewise.
17034 * sunrpc/rpc_cmsg.c: Likewise.
17035 * sunrpc/rpc_common.c: Likewise.
17036 * sunrpc/rpc_dtable.c: Likewise.
17037 * sunrpc/rpc_prot.c: Likewise.
17038 * sunrpc/rpc_thread.c: Likewise.
17039 * sunrpc/rtime.c: Likewise.
17040 * sunrpc/svc.c: Likewise.
17041 * sunrpc/svc_auth.c: Likewise.
17042 * sunrpc/svc_authux.c: Likewise.
17043 * sunrpc/svc_raw.c: Likewise.
17044 * sunrpc/svc_run.c: Likewise.
17045 * sunrpc/svc_simple.c: Likewise.
17046 * sunrpc/svc_tcp.c: Likewise.
17047 * sunrpc/svc_udp.c: Likewise.
17048 * sunrpc/svc_unix.c: Likewise.
17049 * sunrpc/svcauth_des.c: Likewise.
17050 * sunrpc/xcrypt.c: Likewise.
17051 * sunrpc/xdr.c: Likewise.
17052 * sunrpc/xdr_array.c: Likewise.
17053 * sunrpc/xdr_float.c: Likewise.
17054 * sunrpc/xdr_intXX_t.c: Likewise.
17055 * sunrpc/xdr_mem.c: Likewise.
17056 * sunrpc/xdr_rec.c: Likewise.
17057 * sunrpc/xdr_ref.c: Likewise.
17058 * sunrpc/xdr_sizeof.c: Likewise.
17059 * sunrpc/xdr_stdio.c: Likewise.
17061 2011-04-10 Ulrich Drepper <drepper@gmail.com>
17064 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17065 * sysdeps/ia64/dl-tls.h: Likewise.
17066 * sysdeps/powerpc/dl-tls.h: Likewise.
17067 * sysdeps/s390/dl-tls.h: Likewise.
17068 * sysdeps/sh/dl-tls.h: Likewise.
17069 * sysdeps/sparc/dl-tls.h: Likewise.
17070 * sysdeps/x86_64/dl-tls.h: Likewise.
17071 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17073 2011-03-14 Andreas Schwab <schwab@redhat.com>
17075 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17076 rpath element also skip the following colon.
17077 (expand_dynamic_string_token): Add is_path parameter and pass
17078 down to DL_DST_REQUIRED and _dl_dst_substitute.
17079 (decompose_rpath): Call expand_dynamic_string_token with
17080 non-zero is_path. Ignore empty rpaths.
17081 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17084 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17089 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17092 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17093 Patch by Filipe David Manana <fdmanana@apache.org>.
17095 2011-04-07 Andreas Schwab <schwab@redhat.com>
17097 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17098 Maintain aligned stack.
17099 (CHECK_RSP): Remove unused macro.
17101 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17103 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17104 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17106 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17108 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17110 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17112 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17115 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17116 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17117 * sysdeps/x86_64/memmove.c: New file.
17118 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17119 (memcpy): Renamed to ...
17120 (__new_memcpy): This.
17121 (memcpy): Provide GLIBC_2_14 memcpy.
17122 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17123 (memcpy): Provide GLIBC_2_2_5 memcpy.
17125 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17128 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17130 2011-03-30 Andreas Schwab <schwab@redhat.com>
17132 * misc/syncfs.c: New file.
17133 * misc/Makefile (routines): Add syncfs.
17134 * posix/unistd.h: Declare syncfs.
17135 * sysdeps/unix/syscalls.list: Add syncfs.
17137 2011-04-01 Andreas Schwab <schwab@redhat.com>
17139 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17141 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17142 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17143 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17144 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17145 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17146 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17147 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17149 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17151 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17152 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17153 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17154 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17155 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17156 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17157 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17159 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17160 sync_file_range.c with -fexceptions.
17161 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17162 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17163 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17164 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17165 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17166 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17167 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17168 sync_file_range as cancellation point
17169 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17170 now a wrapper around __call_sync_file_range with cancellation handling.
17171 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17172 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17173 function name to __call_sync_file_range.
17174 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17175 Add call_sync_file_range.
17177 2011-04-01 Andreas Schwab <schwab@redhat.com>
17179 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17182 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17184 * iconv/iconv.h: Fix typo in comment.
17185 * io/fcntl.h: Likewise.
17186 * libio/stdio.h: Likewise.
17187 * posix/spawn.h: Likewise.
17188 * posix/unistd.h: Likewise.
17189 * stdlib/stdlib.h: Likewise.
17190 * time/time.h: Likewise.
17191 * wcsmbs/wchar.h: Likewise.
17193 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17194 open_by_handle): Add.
17195 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17196 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17197 Augment a few comments.
17198 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17199 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17200 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17201 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17202 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17203 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17206 * io/fcntl.h (AT_EMPTY_PATH): Define.
17208 2011-03-30 Ulrich Drepper <drepper@gmail.com>
17210 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17211 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17212 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17214 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17215 * Versions.def: Add GLIBC_2.14.
17216 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17219 2011-03-22 Ulrich Drepper <drepper@gmail.com>
17221 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17223 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17225 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17228 * string/test-strncmp.c (do_page_test): New function.
17229 (check2): Likewise.
17230 (test_main): Call check2.
17231 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17233 2011-03-20 Ulrich Drepper <drepper@gmail.com>
17236 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17237 Handle cache information in CPU leaf 4.
17238 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17240 2011-03-18 Ulrich Drepper <drepper@gmail.com>
17243 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17244 character representation.
17245 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17247 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17249 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17250 END(__isnan) to END(__isnanf) to match function entry point/label
17251 EALIGN(__isnanf,...).
17253 2011-03-10 Jakub Jelinek <jakub@redhat.com>
17255 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17257 2011-03-10 Ulrich Drepper <drepper@gmail.com>
17260 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17261 copy from the symbol referenced in the relocation to initialize the
17263 Patch by Piotr Bury <pbury@goahead.com>.
17264 * elf/Makefile: Add rules to build and tst-unique3.
17265 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17266 * elf/tst-unique3.cc: New file.
17267 * elf/tst-unique3.h: New file.
17268 * elf/tst-unique3lib.cc: New file.
17269 * elf/tst-unique3lib2.cc: New file.
17271 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17273 2011-03-10 Mike Frysinger <vapier@gentoo.org>
17275 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17276 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17279 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17281 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17282 to-be-loaded object along a path to loader is ld.so.
17284 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17285 Ulrich Drepper <drepper@gmail.com>
17287 * sysdeps/x86_64/memset.S: After aligning destination, code
17288 branches to different locations depending on the value of
17289 misalignment, when multiarch is enabled. Fix this.
17291 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17293 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17294 Set _x86_64_preferred_memory_instruction for AMD processsors.
17295 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17296 Set bit_Prefer_SSE_for_memop for AMD processors.
17298 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17300 * libio/fmemopen.c (fmemopen): Optimize a bit.
17302 2011-03-03 Andreas Schwab <schwab@redhat.com>
17304 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17306 2011-03-03 Roland McGrath <roland@redhat.com>
17308 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17310 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17312 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17313 __bzero_ultra1 instead of __memset_ultra1.
17315 2011-02-23 Andreas Schwab <schwab@redhat.com>
17316 Ulrich Drepper <drepper@gmail.com>
17319 * include/link.h (struct link_map): Add l_orig_initfini.
17320 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17321 returning unsuccessfully.
17322 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17323 close of a file loaded at startup, restore the original l_initfini
17325 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17326 list, store the pointer.
17327 * elf/Makefile ($(objpfx)noload-mem): New rule.
17328 (noload-ENV): Define.
17329 (tests): Add $(objpfx)noload-mem.
17330 * elf/noload.c: Include <memcheck.h>.
17331 (main): Call mtrace. Close all opened handles.
17333 2011-02-17 Andreas Schwab <schwab@redhat.com>
17336 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17337 dependencies are missing.
17339 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17341 Fix __if_freereq crash: Unlike the generic version which uses free,
17343 * sysdeps/mach/hurd/ifreq.h: New file.
17345 2011-01-27 Petr Baudis <pasky@suse.cz>
17346 Ulrich Drepper <drepper@gmail.com>
17349 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17350 to extend_alloca().
17351 * stdio-common/bug23.c: New file.
17352 * stdio-common/Makefile (tests): Add bug23.
17354 2010-09-28 Andreas Schwab <schwab@redhat.com>
17355 Ulrich Drepper <drepper@gmail.com>
17358 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17359 before performing relro protection. At old place add assertion
17360 to make sure nothing changed.
17362 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17363 Glauber de Oliveira Costa <glommer@gmail.com>
17365 * elf/elf.h: Add new ARM TLS relocs.
17367 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17370 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17372 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17374 * sysdeps/wordsize-64/tst-writev.c: New file.
17376 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17378 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17379 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17380 insns in _dl_start to prevent a TOC reference before relocs are
17383 2011-02-15 Ulrich Drepper <drepper@gmail.com>
17386 * Makeconfig: Remove RANLIB definition.
17387 * Makerules: Don't use RANLIB.
17388 * aclocal.m4: Remove ranlib test.
17389 * configure.in: No need to check for ranlib.
17390 * elf/rtld-Rules: Don't use RANLIB.
17392 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17394 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17396 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17397 inclusion protection macro.
17399 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17400 SIGRTMIN and SIGRTMAX and print information in that case only when
17401 SIGRTMIN is defined.
17403 2011-02-11 Jakub Jelinek <jakub@redhat.com>
17405 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17406 arginfo fn returning -1.
17408 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17409 and thousands string is zero terminated.
17411 2011-02-03 Andreas Schwab <schwab@redhat.com>
17413 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17414 sysdeps/unix/sysv/linux/bits/socket.h.
17416 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17418 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17419 (__CPU_COUNT): Remove old macros.
17420 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17421 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17422 (__CPU_ALLOC, __CPU_FREE): Add macros.
17423 (__sched_cpualloc, __sched_cpufree): Add declarations.
17425 2011-02-05 Ulrich Drepper <drepper@gmail.com>
17427 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17428 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17429 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17430 (readdhstai): Return value of addhstaiX call.
17431 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17432 (addgrbyX): Return value returned by cache_addgr.
17433 (readdgrbyname): Return value returned by addgrbyX.
17434 (readdgrbygid): Likewise.
17435 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17436 (addpwbyX): Return value returned by cache_addpw.
17437 (readdpwbyname): Return value returned by addhstbyX.
17438 (readdpwbyuid): Likewise.
17439 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17440 (addservbyX): Return value returned by cache_addserv.
17441 (readdservbyname): Return value returned by addservbyX:
17442 (readdservbyport): Likewise.
17443 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17444 (addhstbyX): Return value returned by cache_addhst.
17445 (readdhstbyname): Return value returned by addhstbyX.
17446 (readdhstbyaddr): Likewise.
17447 (readdhstbynamev6): Likewise.
17448 (readdhstbyaddrv6): Likewise.
17449 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17450 (readdinitgroups): Return value returned by addinitgroupsX.
17451 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17452 (prune_cache): Keep track of timeout value of re-added entries.
17453 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17454 * nscd/nscd.h: Adjust prototypes of readd* functions.
17456 2011-02-04 Roland McGrath <roland@redhat.com>
17458 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17459 (nis_stats): Likewise.
17460 * nis/nis_modify.c (nis_modify): Likewise.
17461 * nis/nis_remove.c (nis_remove): Likewise.
17462 * nis/nis_add.c (nis_add): Likewise.
17464 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17466 * posix/fnmatch_loop.c: Add some consts.
17468 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17470 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17473 * config.make.in (config-cflags-novzeroupper): Define.
17474 * configure.in: Substitute libc_cv_cc_novzeroupper.
17475 * elf/Makefile (AVX-CFLAGS): Define.
17476 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17477 (CFLAGS-tst-auditmod4a.c): Likewise.
17478 (CFLAGS-tst-auditmod4b.c): Likewise.
17479 (CFLAGS-tst-auditmod6b.c): Likewise.
17480 (CFLAGS-tst-auditmod6c.c): Likewise.
17481 (CFLAGS-tst-auditmod7b.c): Likewise.
17482 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17484 2011-02-02 Ulrich Drepper <drepper@gmail.com>
17486 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17487 function to the callback.
17488 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17490 2011-02-02 Andreas Schwab <schwab@redhat.com>
17492 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17495 2011-01-19 Ulrich Drepper <drepper@gmail.com>
17498 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17500 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17502 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17505 * elf/Makefile: Add rules to build and run new test.
17506 * elf/tst-initorder.c: New file.
17507 * elf/tst-initorder.exp: New file.
17508 * elf/tst-initordera1.c: New file.
17509 * elf/tst-initordera2.c: New file.
17510 * elf/tst-initordera3.c: New file.
17511 * elf/tst-initordera4.c: New file.
17512 * elf/tst-initorderb1.c: New file.
17513 * elf/tst-initorderb2.c: New file.
17514 * elf/tst-order-a1.c: New file.
17515 * elf/tst-order-a2.c: New file.
17516 * elf/tst-order-a3.c: New file.
17517 * elf/tst-order-a4.c: New file.
17518 * elf/tst-order-b1.c: New file.
17519 * elf/tst-order-b2.c: New file.
17520 * elf/tst-order-main.c: New file.
17521 New test case by George Gensure <werkt0@gmail.com>.
17523 2010-10-01 Andreas Schwab <schwab@redhat.com>
17525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17526 decoding ACE if AI_CANONIDN.
17528 2011-01-18 Ulrich Drepper <drepper@gmail.com>
17530 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17532 2011-01-17 Ulrich Drepper <drepper@gmail.com>
17534 * version.h (RELEASE): Bump for 2.13 release.
17535 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17537 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17539 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17541 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17542 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17543 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17544 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17545 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17546 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17548 * posix/getconf.c: Update copyright year.
17549 * catgets/gencat.c: Likewise.
17550 * csu/version.c: Likewise.
17551 * debug/catchsegv.sh: Likewise.
17552 * debug/xtrace.sh: Likewise.
17553 * elf/ldconfig.c: Likewise.
17554 * elf/ldd.bash.in: Likewise.
17555 * elf/sprof.c (print_version): Likewise.
17556 * iconv/iconv_prog.c: Likewise.
17557 * iconv/iconvconfig.c: Likewise.
17558 * locale/programs/locale.c: Likewise.
17559 * locale/programs/localedef.c: Likewise.
17560 * malloc/memusage.sh: Likewise.
17561 * malloc/mtrace.pl: Likewise.
17562 * nscd/nscd.c (print_version): Likewise.
17563 * nss/getent.c: Likewise.
17565 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17566 PF_CAIF, and PF_ALG.
17567 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17569 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17571 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17572 (modules-names): Use them.
17573 (ifunc-test-modules, ifunc-pie-tests): Define.
17574 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17575 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17576 (test-extras): Likewise.
17577 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17578 $(compile-command.c).
17579 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17580 (all-built-dso): Define.
17581 (check-textrel.out, check-execstack.out): Depend on it.
17583 * configure.in: Don't override --enable-multi-arch.
17585 2011-01-15 Ulrich Drepper <drepper@gmail.com>
17588 * nscd/hstcache.c (tryagain): Define.
17589 (cache_addhst): Return tryagain not notfound for temporary errors.
17590 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17593 2011-01-14 Ulrich Drepper <drepper@gmail.com>
17596 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17597 to make the syscall.
17598 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17601 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17602 and fall back to matching as normal character if the string ends before
17603 the matching ']' is found. This is what POSIX requires.
17604 * posix/testfnm.c: Adjust test result.
17605 * posix/globtest.sh: Adjust test result. Add new test.
17606 * posix/tst-fnmatch.input: Likewise.
17607 * posix/tst-fnmatch2.c: Add new test.
17609 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17611 * elf/Makefile (check-execstack): Revert last change. Depend on
17613 (check-execstack.h): New target.
17614 (generated): Add check-execstack.h.
17615 * elf/check-execstack.c: Include "check-execstack.h".
17616 (main): Revert last change.
17617 (handle_file): Return zero if GNU_STACK is absent and
17618 DEFAULT_STACK_PERMS doesn't include PF_X.
17620 2011-01-13 Ulrich Drepper <drepper@gmail.com>
17622 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17623 in child fails because the descriptor is already closed.
17624 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17625 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17626 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17629 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17633 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17634 temporary buffer used to handle multi lookups locally.
17635 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17637 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17639 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17642 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17644 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17645 alignment for SSE2.
17647 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17650 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17651 characters. When rounding increased number of integer digits recompute
17653 * stdio-common/tst-grouping.c: New file.
17654 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17656 2011-01-09 Ulrich Drepper <drepper@gmail.com>
17658 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17659 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17661 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17663 * bits/select.h: Likewise.
17665 2011-01-08 Ulrich Drepper <drepper@gmail.com>
17667 * po/ja.po: Update from translation team.
17669 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
17672 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17673 implementation just like for lxstat, fxstatat, et al.
17675 2010-12-27 Jim Meyering <meyering@redhat.com>
17678 * posix/regexec.c (build_trtable): Return failure indication upon
17679 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17681 2010-12-25 Ulrich Drepper <drepper@gmail.com>
17684 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17685 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17686 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17687 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17690 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17693 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17694 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17696 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17698 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17699 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17700 script has SORT_BY_INIT_PRIORITY.
17701 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17702 NO_CTORS_DTORS_SECTIONS is defined.
17703 * elf/soinit.c: Likewise.
17704 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17705 NO_CTORS_DTORS_SECTIONS is defined.
17706 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17707 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17708 * sysdeps/sh/init-first.c: Likewise.
17709 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17711 2010-12-24 Ulrich Drepper <drepper@gmail.com>
17713 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17714 always use the slow path.
17716 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17718 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17719 similar rule which adds the sysdep directories to the header search in
17720 order to pick up the correct platform stackinfo.h.
17721 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17722 perform test if it is, otherwise return successfully without testing.
17723 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17724 DEFAULT_STACK_PERMS define in stackinfo.h.
17725 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17726 defined in stackinfo.h.
17727 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17728 DEFAULT_STACK_PERMS defined in stackinfo.h.
17729 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17730 * sysdeps/ia64/stackinfo.h: Likewise.
17731 * sysdeps/s390/stackinfo.h: Likewise.
17732 * sysdeps/sh/stackinfo.h: Likewise.
17733 * sysdeps/sparc/stackinfo.h: Likewise.
17734 * sysdeps/x86_64/stackinfo.h: Likewise.
17735 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17736 PF_X for powerpc64. Retain PF_X for powerpc32.
17738 2010-12-19 Ulrich Drepper <drepper@gmail.com>
17740 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17742 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17743 GETDENTS_64BIT_ALIGNED.
17745 2010-12-14 Ulrich Drepper <dreper@gmail.com>
17747 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17749 2010-12-10 Andreas Schwab <schwab@redhat.com>
17751 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17754 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17755 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17757 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17758 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17760 2010-12-09 Ulrich Drepper <drepper@gmail.com>
17763 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17766 2010-12-09 Jakub Jelinek <jakub@redhat.com>
17768 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17770 2010-12-03 Ulrich Drepper <drepper@gmail.com>
17772 * po/it.po: Update from translation team.
17774 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17776 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17779 2010-11-30 Ulrich Drepper <drepper@gmail.com>
17781 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17783 2010-11-24 Andreas Schwab <schwab@redhat.com>
17785 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17787 (gaih_getanswer_slice): Likewise.
17789 2010-10-20 Jakub Jelinek <jakub@redhat.com>
17791 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17793 2010-05-31 Petr Baudis <pasky@suse.cz>
17796 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17797 silently even in the chroot mode.
17799 2010-11-22 Ulrich Drepper <drepper@gmail.com>
17801 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17802 last patch a bit. Pretty printing
17804 2010-05-31 Petr Baudis <pasky@suse.cz>
17807 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17808 initialization of skip_initgroups_dyn.
17810 2010-11-19 Ulrich Drepper <drepper@gmail.com>
17812 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17813 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17815 2010-11-16 Ulrich Drepper <drepper@gmail.com>
17817 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17819 2010-11-11 Andreas Schwab <schwab@redhat.com>
17821 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17822 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17823 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17824 ($(objpfx)tst-fnmatch-mem): New rule.
17825 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17826 * posix/tst-fnmatch.c (main): Call mtrace.
17828 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17831 Support Intel processor model 6 and model 0x2c.
17833 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
17835 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17838 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17841 * string/test-strncasecmp.c (check_result): New function.
17842 (do_one_test): Use it.
17843 (check1): New function.
17844 (test_main): Use it.
17845 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17846 Support strcasecmp and strncasecmp.
17848 2010-11-08 Ulrich Drepper <drepper@gmail.com>
17851 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17852 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17854 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17856 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17860 * sysdeps/x86_64/multiarch/bzero.S: New file.
17861 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17862 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17863 * sysdeps/x86_64/multiarch/memset.S: New file.
17864 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17866 Set bit_Prefer_SSE_for_memop for Intel processors.
17867 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17869 (index_Prefer_SSE_for_memop): Define.
17870 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17872 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
17874 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17875 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17877 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17880 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17881 (__x86_64_raw_data_cache_size_half): Likewise.
17882 (__x86_64_raw_shared_cache_size): Likewise.
17883 (__x86_64_raw_shared_cache_size_half): Likewise.
17885 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17886 (__x86_64_raw_data_cache_size_half): Likewise.
17887 (__x86_64_raw_shared_cache_size): Likewise.
17888 (__x86_64_raw_shared_cache_size_half): Likewise.
17889 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17890 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17891 and __x86_64_raw_shared_cache_size_half. Round
17892 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17893 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17894 to multiple of 256 bytes.
17896 2010-11-03 Ulrich Drepper <drepper@gmail.com>
17899 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17900 of inacessible symlinks. Verify result of symlink before returning it.
17901 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17902 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17904 2010-10-28 Erich Ritz <erichritz@gmail.com>
17906 * math/math.h (isinf): Fix typo in comment.
17908 2010-11-01 Ulrich Drepper <drepper@gmail.com>
17910 * po/da.po: Update from translation team.
17912 2010-10-26 Ulrich Drepper <drepper@gmail.com>
17914 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17915 is added to the list.
17917 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17918 Ulrich Drepper <drepper@gmail.com>
17920 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17921 the global list here. Move code to...
17922 (_dl_add_to_namespace_list): ...here. New function.
17923 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17924 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17925 * elf/dl-load.c (lose): Don't remove the element from the list.
17926 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17927 (_dl_map_object): Likewise.
17929 2010-10-25 Ulrich Drepper <drepper@gmail.com>
17932 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17933 into all bytes of SSE register.
17934 Patch by Richard Li <richardpku@gmail.com>.
17936 2010-10-24 Ulrich Drepper <drepper@gmail.com>
17939 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17942 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17944 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17945 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17946 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17947 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17952 2010-10-22 Andreas Schwab <schwab@redhat.com>
17954 * include/dlfcn.h (__RTLD_SECURE): Define.
17955 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17956 mode & __RTLD_SECURE instead.
17957 (open_path): Rename preloaded parameter to secure.
17958 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17959 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17960 * elf/dl-deps.c (openaux): Likewise.
17961 * elf/rtld.c (struct map_args): Remove is_preloaded.
17962 (map_doit): Don't use it.
17963 (dl_main): Likewise.
17964 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17965 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17967 2010-09-09 Andreas Schwab <schwab@redhat.com>
17969 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17970 (sysd-rules-targets): Remove duplicates.
17971 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17972 rtld-%.$o dependency.
17974 2010-10-18 Andreas Schwab <schwab@redhat.com>
17976 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17977 _dl_map_object do it.
17979 2010-10-19 Ulrich Drepper <drepper@gmail.com>
17981 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17982 fast fma builtins, define the macros in the C99 standard.
17983 (FP_FAST_FMAF): Likewise.
17984 (FP_FAST_FMAL): Likewise.
17985 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17987 * bits/mathdef.h: Update copyright year.
17988 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17990 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17992 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17993 builtins, define the macros in the C99 standard.
17994 (FP_FAST_FMAF): Likewise.
17995 (FP_FAST_FMAL): Likewise.
17996 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17998 (FP_FAST_FMAF): Likewise.
18000 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18003 * math/libm-test.inc (fma_test): Some new testcases.
18004 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18005 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18006 y and infinite z. Do multiplication by C already in long double.
18007 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18008 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18009 y and infinite z. Do bitwise or of inexact bit into u.d.
18010 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18011 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18012 * sysdeps/i386/fpu/s_fma.S: Removed.
18013 * sysdeps/i386/fpu/s_fmal.S: Removed.
18015 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18018 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18019 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18020 computation is not scheduled after fetestexcept. Fix value
18021 of minimum denormal long double.
18023 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18026 * math/libm-test.inc (fma_test): Add some more tests.
18027 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18030 2010-10-15 Andreas Schwab <schwab@redhat.com>
18032 * scripts/data/localplt-s390-linux-gnu.data: New file.
18033 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18035 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18038 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18039 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18041 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18043 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18045 if one of x and y is very large and the other is subnormal.
18046 * sysdeps/s390/fpu/s_fmaf.c: New file.
18047 * sysdeps/s390/fpu/s_fma.c: New file.
18048 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18049 * sysdeps/powerpc/fpu/s_fma.S: New file.
18050 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18051 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18052 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18054 2010-10-12 Jakub Jelinek <jakub@redhat.com>
18057 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18059 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18060 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18061 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18062 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18063 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18064 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18065 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18067 2010-10-12 Ulrich Drepper <drepper@redhat.com>
18070 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18071 * posix/bug-regex31.input: Add test case.
18073 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18075 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18076 * posix/bug-regex31.input: New file.
18079 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18080 (parse_sub_exp): Fix last change, use postorder.
18082 * posix/bug-regex31.c: New file.
18083 * posix/Makefile: Add rules to build and run bug-regex31.
18085 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18088 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18091 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18092 to have entries in sys_siglist.
18095 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18098 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18101 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18102 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18103 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18104 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18105 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18106 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18107 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18108 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18109 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18110 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18111 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18112 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18113 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18114 * math/ftestexcept.c (fetestexcept): Likewise.
18115 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18116 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18117 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18118 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18119 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18120 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18121 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18123 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18126 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18129 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18131 * string/bug-strstr1.c: New file.
18132 * string/Makefile: Add rules to build and run bug-strstr1.
18134 2010-10-05 Eric Blake <eblake@redhat.com>
18137 * string/str-two-way.h (two_way_long_needle): Always clear memory
18138 when skipping input due to the shift table.
18140 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18143 * malloc/mcheck.c: Handle large requests.
18146 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18147 for strncmp and strncasecmp.
18148 * string/stratcliff.c: Add tests for strcmp and strncmp.
18149 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18151 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18153 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18156 2010-09-30 Andreas Jaeger <aj@suse.de>
18158 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18159 (CGROUP_SUPER_MAGIC): Define.
18160 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18161 Handle btrfs and cgroup file systems.
18162 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18165 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18167 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18168 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18170 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18173 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18174 trying to locate the ELF header.
18176 2010-09-27 Andreas Schwab <schwab@redhat.com>
18179 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18180 Mask out sign-bit copies when constructing f_fsid.
18182 2010-09-24 Petr Baudis <pasky@suse.cz>
18184 * debug/stack_chk_fail_local.c: Add missing licence exception.
18185 * debug/warning-nop.c: Likewise.
18187 2010-09-15 Joseph Myers <joseph@codesourcery.com>
18189 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18190 implementing getdents64 using getdents syscall, set d_type if
18191 __ASSUME_GETDENTS32_D_TYPE.
18193 2010-09-16 Andreas Schwab <schwab@redhat.com>
18195 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18196 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18198 2010-09-21 Ulrich Drepper <drepper@redhat.com>
18201 * posix/unistd.h: Undo change of feature selection for ftruncate from
18204 2010-09-20 Ulrich Drepper <drepper@redhat.com>
18206 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18209 2010-09-20 Andreas Schwab <schwab@redhat.com>
18211 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18213 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18215 2010-09-14 Andreas Schwab <schwab@redhat.com>
18217 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18218 variables after CHECK_SP call.
18219 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18221 2010-09-13 Andreas Schwab <schwab@redhat.com>
18222 Ulrich Drepper <drepper@redhat.com>
18224 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18225 re-relocationg ld.so.
18226 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18227 _dl_init_paths call.
18228 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18231 2010-09-14 Ulrich Drepper <drepper@redhat.com>
18233 * resolv/res_init.c (__res_vinit): Count the default server we added.
18235 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18236 Ulrich Drepper <drepper@redhat.com>
18239 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18240 (____longjmp_chk): Use %ebx for saving value across system call.
18243 2010-09-06 Andreas Schwab <schwab@redhat.com>
18245 * manual/Makefile: Don't mix pattern rules with normal rules.
18247 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18249 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18251 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18252 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18253 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18254 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18255 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18258 2010-09-04 Ulrich Drepper <drepper@redhat.com>
18261 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18262 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18264 2010-09-02 Ulrich Drepper <drepper@redhat.com>
18266 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18267 * sysdeps/x86_64/addmul_1.S: Likewise.
18268 * sysdeps/x86_64/lshift.S: Likewise.
18269 * sysdeps/x86_64/mul_1.S: Likewise.
18270 * sysdeps/x86_64/rshift.S: Likewise.
18271 * sysdeps/x86_64/sub_n.S: Likewise.
18272 * sysdeps/x86_64/submul_1.S: Likewise.
18274 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18276 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18277 Define __sched_param instead of SCHED_* and sched_param when
18278 <bits/sched.h> is included with __need_schedparam defined.
18279 * bits/sched.h [__need_schedparam]
18280 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18281 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18282 (__defined_schedparam): Define to 1.
18283 (__sched_param): New structure, identical to sched_param.
18284 (__need_schedparam): Undefine.
18286 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18288 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18289 (epoll_create1): Declare.
18291 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18293 2010-08-31 Andreas Schwab <schwab@redhat.com>
18296 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18297 shifting retval into place.
18299 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18301 * nis/rpcsvc/nis.h: Update copyright notice.
18302 * nis/rpcsvc/nis.x: Likewise.
18303 * nis/rpcsvc/nis_callback.h: Likewise.
18304 * nis/rpcsvc/nis_callback.x: Likewise.
18305 * nis/rpcsvc/nis_object.x: Likewise.
18306 * nis/rpcsvc/nis_tags.h: Likewise.
18307 * nis/rpcsvc/yp.h: Likewise.
18308 * nis/rpcsvc/yp.x: Likewise.
18309 * nis/rpcsvc/ypupd.h: Likewise.
18310 * nis/yp_xdr.c: Likewise.
18311 * nis/ypupdate_xdr.c: Likewise.
18313 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18314 mainly the body of pmap_getport. Add parameters to specify timeouts.
18315 (pmap_getport): Use __libc_rpc_getport.
18316 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18317 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18318 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18320 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18325 2010-08-27 Roland McGrath <roland@redhat.com>
18327 * sysdeps/i386/i686/multiarch/Makefile
18328 (CFLAGS-varshift.c): New variable.
18330 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18332 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18333 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18335 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18337 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18339 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18341 * sysdeps/x86_64/strlen.S: Unroll the loop.
18342 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18343 strlen-sse2 strlen-sse2-bsf.
18344 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18345 __strlen_no_bsf if bit_Slow_BSF is set.
18346 (__strlen_sse42): Removed.
18347 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18348 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18350 2010-08-25 Roland McGrath <roland@redhat.com>
18352 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18353 * sysdeps/x86_64/multiarch/varshift.c: New file.
18354 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18355 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18356 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18357 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18359 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18361 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18362 strlen-sse2 strlen-sse2-bsf.
18363 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18364 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18365 (__strlen_sse2): Removed.
18366 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18367 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18369 bit_Slow_BSF for Atom.
18370 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18371 (index_Slow_BSF): Define.
18372 (HAS_SLOW_BSF): Define.
18374 2010-08-25 Ulrich Drepper <drepper@redhat.com>
18377 * resolv/res_init.c (__res_vinit): When no server address at all
18378 is given default to loopback.
18380 2010-08-24 Roland McGrath <roland@redhat.com>
18382 * configure.in: Remove config-name.h generation.
18383 * configure: Regenerated.
18384 * config-name.in: File removed.
18385 * scripts/config-uname.sh: New file.
18386 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18387 ($(objdir)config-name.h): New target.
18389 * sunrpc/rpc_parse.h: Avoid nested comment.
18391 2010-08-24 Richard Henderson <rth@redhat.com>
18392 Ulrich Drepper <drepper@redhat.com>
18393 H.J. Lu <hongjiu.lu@intel.com>
18395 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18396 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18397 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18398 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18399 _mm_alignr_epi8 with _mm_loadu_si128.
18400 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18401 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18402 (__m128i_shift_right): Removed.
18403 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18404 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18405 * sysdeps/x86_64/multiarch/varshift.h: New file.
18406 * sysdeps/x86_64/multiarch/varshift.S: New file.
18408 2010-08-21 Mike Frysinger <vapier@gentoo.org>
18410 * configure.in: Move assembler checks to before sysdep dir checking.
18412 2010-08-20 Petr Baudis <pasky@suse.cz>
18414 * LICENSES: Sync the sunrpc license.
18416 2010-08-19 Ulrich Drepper <drepper@redhat.com>
18418 * sunrpc/auth_des.c: Update copyright notice once again.
18419 * sunrpc/auth_none.c: Likewise.
18420 * sunrpc/auth_unix.c: Likewise.
18421 * sunrpc/authdes_prot.c: Likewise.
18422 * sunrpc/authuxprot.c: Likewise.
18423 * sunrpc/bindrsvprt.c: Likewise.
18424 * sunrpc/clnt_gen.c: Likewise.
18425 * sunrpc/clnt_perr.c: Likewise.
18426 * sunrpc/clnt_raw.c: Likewise.
18427 * sunrpc/clnt_simp.c: Likewise.
18428 * sunrpc/clnt_tcp.c: Likewise.
18429 * sunrpc/clnt_udp.c: Likewise.
18430 * sunrpc/clnt_unix.c: Likewise.
18431 * sunrpc/des_crypt.c: Likewise.
18432 * sunrpc/des_soft.c: Likewise.
18433 * sunrpc/get_myaddr.c: Likewise.
18434 * sunrpc/getrpcport.c: Likewise.
18435 * sunrpc/key_call.c: Likewise.
18436 * sunrpc/key_prot.c: Likewise.
18437 * sunrpc/openchild.c: Likewise.
18438 * sunrpc/pm_getmaps.c: Likewise.
18439 * sunrpc/pm_getport.c: Likewise.
18440 * sunrpc/pmap_clnt.c: Likewise.
18441 * sunrpc/pmap_prot.c: Likewise.
18442 * sunrpc/pmap_prot2.c: Likewise.
18443 * sunrpc/pmap_rmt.c: Likewise.
18444 * sunrpc/rpc/auth.h: Likewise.
18445 * sunrpc/rpc/auth_unix.h: Likewise.
18446 * sunrpc/rpc/clnt.h: Likewise.
18447 * sunrpc/rpc/des_crypt.h: Likewise.
18448 * sunrpc/rpc/key_prot.h: Likewise.
18449 * sunrpc/rpc/netdb.h: Likewise.
18450 * sunrpc/rpc/pmap_clnt.h: Likewise.
18451 * sunrpc/rpc/pmap_prot.h: Likewise.
18452 * sunrpc/rpc/pmap_rmt.h: Likewise.
18453 * sunrpc/rpc/rpc.h: Likewise.
18454 * sunrpc/rpc/rpc_des.h: Likewise.
18455 * sunrpc/rpc/rpc_msg.h: Likewise.
18456 * sunrpc/rpc/svc.h: Likewise.
18457 * sunrpc/rpc/svc_auth.h: Likewise.
18458 * sunrpc/rpc/types.h: Likewise.
18459 * sunrpc/rpc/xdr.h: Likewise.
18460 * sunrpc/rpc_clntout.c: Likewise.
18461 * sunrpc/rpc_cmsg.c: Likewise.
18462 * sunrpc/rpc_common.c: Likewise.
18463 * sunrpc/rpc_cout.c: Likewise.
18464 * sunrpc/rpc_dtable.c: Likewise.
18465 * sunrpc/rpc_hout.c: Likewise.
18466 * sunrpc/rpc_main.c: Likewise.
18467 * sunrpc/rpc_parse.c: Likewise.
18468 * sunrpc/rpc_parse.h: Likewise.
18469 * sunrpc/rpc_prot.c: Likewise.
18470 * sunrpc/rpc_sample.c: Likewise.
18471 * sunrpc/rpc_scan.c: Likewise.
18472 * sunrpc/rpc_scan.h: Likewise.
18473 * sunrpc/rpc_svcout.c: Likewise.
18474 * sunrpc/rpc_tblout.c: Likewise.
18475 * sunrpc/rpc_util.c: Likewise.
18476 * sunrpc/rpc_util.h: Likewise.
18477 * sunrpc/rpcinfo.c: Likewise.
18478 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18479 * sunrpc/rpcsvc/key_prot.x: Likewise.
18480 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18481 * sunrpc/rpcsvc/mount.x: Likewise.
18482 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18483 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18484 * sunrpc/rpcsvc/rex.x: Likewise.
18485 * sunrpc/rpcsvc/rstat.x: Likewise.
18486 * sunrpc/rpcsvc/rusers.x: Likewise.
18487 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18488 * sunrpc/rpcsvc/spray.x: Likewise.
18489 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18490 * sunrpc/rtime.c: Likewise.
18491 * sunrpc/svc.c: Likewise.
18492 * sunrpc/svc_auth.c: Likewise.
18493 * sunrpc/svc_authux.c: Likewise.
18494 * sunrpc/svc_raw.c: Likewise.
18495 * sunrpc/svc_run.c: Likewise.
18496 * sunrpc/svc_simple.c: Likewise.
18497 * sunrpc/svc_tcp.c: Likewise.
18498 * sunrpc/svc_udp.c: Likewise.
18499 * sunrpc/svc_unix.c: Likewise.
18500 * sunrpc/svcauth_des.c: Likewise.
18501 * sunrpc/xcrypt.c: Likewise.
18502 * sunrpc/xdr.c: Likewise.
18503 * sunrpc/xdr_array.c: Likewise.
18504 * sunrpc/xdr_float.c: Likewise.
18505 * sunrpc/xdr_mem.c: Likewise.
18506 * sunrpc/xdr_rec.c: Likewise.
18507 * sunrpc/xdr_ref.c: Likewise.
18508 * sunrpc/xdr_sizeof.c: Likewise.
18509 * sunrpc/xdr_stdio.c: Likewise.
18511 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18514 2010-08-19 Andreas Schwab <schwab@redhat.com>
18516 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18518 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
18520 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18521 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18522 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18523 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18524 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18525 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18526 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18527 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18528 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18529 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18530 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18531 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18532 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18533 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18535 2010-07-26 Anton Blanchard <anton@samba.org>
18537 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18538 * malloc/arena.c (heap_trim): Likewise.
18540 2010-08-16 Ulrich Drepper <drepper@redhat.com>
18542 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18544 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18545 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18547 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18549 * sysdeps/i386/elf/Makefile: New file.
18551 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18553 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18554 from fanotify_init.
18555 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18556 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18558 2010-08-15 Ulrich Drepper <drepper@redhat.com>
18560 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18562 * sysdeps/multiarch/strcmp.S: Likewise.
18564 2010-08-14 Ulrich Drepper <drepper@redhat.com>
18566 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18567 strncase_l-nonascii.
18568 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18569 Add strncase_l-ssse3.
18570 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18571 * sysdeps/x86_64/strcmp.S: Likewise.
18572 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18573 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18574 * sysdeps/x86_64/strncase.S: New file.
18575 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18576 * sysdeps/x86_64/strncase_l.S: New file.
18577 * string/Makefile (strop-tests): Add strncasecmp.
18578 * string/test-strncasecmp.c: New file.
18580 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18583 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18584 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18586 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18588 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18590 2010-08-12 Ulrich Drepper <drepper@redhat.com>
18592 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18593 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18594 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18596 2010-05-01 Alan Modra <amodra@gmail.com>
18598 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18599 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18600 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18601 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18602 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18603 tidying. Don't tail-call __sigjmp_save for static lib.
18604 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18606 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18607 (CALL_MCOUNT): Add eh info, and nop after bl.
18608 (TAIL_CALL_SYSCALL_ERROR): New macro.
18609 (PSEUDO_RET): Use it.
18610 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18611 Correct save location of integer regs and cr.
18612 (_dl_profile_resolve): Correct cr save location. Delete nops
18613 after bl when SHARED. Reduce cfi size a little by better
18614 placement of cfi directives.
18615 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18616 make a stack frame. Instead use parm save area as a temp.
18617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18618 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18620 Don't make a stack frame for parent, use parm save area.
18621 Increase child stack frame to 112 bytes. Don't save unused reg,
18622 and adjust reg usage. Set up cfi on error recovery and
18623 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18625 (__makecontext): Add dummy nop after jump to exit.
18626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18627 Use correct parm save area and cr save, reduce stack frame.
18628 Correct cfi for possible PSEUDO_RET frame setup.
18629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18630 Branch to local label emitted by PSEUDO_RET rather than
18633 2010-08-12 Andreas Schwab <schwab@redhat.com>
18636 * locale/programs/locale.c (print_assignment): New function.
18637 (show_locale_vars): Use it.
18639 2010-08-11 Ulrich Drepper <drepper@redhat.com>
18641 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18643 (struct statfs64): Likewise.
18644 (_STATFS_F_FLAGS): Define.
18645 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18646 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18647 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18648 (ST_VALID): Define locally.
18649 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18650 __statvfs_getflags, use the provided value.
18651 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18652 __ASSUME_STATFS_F_FLAGS.
18654 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18656 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18657 Add sys/fanotify.h.
18658 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18659 fanotify_mask for GLIBC_2.13.
18660 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18661 fanotify_init and fanotify_mark.
18662 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18663 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18665 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18667 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18668 prlimit64 for GLIBC_2.13.
18669 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18671 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18674 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18675 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18676 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18677 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18679 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18682 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18683 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18685 * nss/Makefile: Add rules to build and run tst-nss-test1.
18686 * shlib-versions: Add entry for libnss_test1.
18687 * nss/nss_test1.c: New file.
18688 * nss/tst-nss-test1.c: New file.
18690 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18691 (__nss_configure_lookup): Set appropriate entry in
18692 __nss_configure_lookup to true.
18693 * nss/nsswitch.h: Define enum with indeces of databases in
18694 databases and __nss_database_custom arrays. Declare
18695 __nss_database_custom.
18696 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18697 to avoid using nscd when custom rules are installed.
18698 * nss/getXXbyYY_r.c: Likewise.
18699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18701 * nss/nss_files/files-parse.c: Whitespace fixes.
18703 2010-08-09 Ulrich Drepper <drepper@redhat.com>
18706 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18707 * posix/fnmatch_loop.c: Likewise.
18709 2010-07-17 Andi Kleen <ak@linux.intel.com>
18711 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18712 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18713 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18714 * Versions.def [GLIBC_2.13]: Add.
18716 2010-08-06 Ulrich Drepper <drepper@redhat.com>
18718 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18719 Also fail if tpwd after pwuid call is NULL.
18721 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18723 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18724 when converting to ms.
18726 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18728 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18729 EOPNOTSUPP errors with ENOTTY.
18730 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18731 EOPNOTSUPP errors with ENOTTY.
18733 2010-07-31 Ulrich Drepper <drepper@redhat.com>
18735 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18736 Add strcasecmp_l-ssse3.
18737 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18739 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18740 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18741 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18743 2010-07-30 Ulrich Drepper <drepper@redhat.com>
18745 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18747 * string/Makefile (strop-tests): Add strcasecmp.
18748 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18749 strcasecmp_l-nonascii.
18750 (gen-as-const-headers): Add locale-defines.sym.
18751 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18752 * sysdeps/x86_64/strcasecmp.S: New file.
18753 * sysdeps/x86_64/strcasecmp_l.S: New file.
18754 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18755 * sysdeps/x86_64/locale-defines.sym: New file.
18756 * string/test-strcasecmp.c: New file.
18758 * string/test-strcasestr.c: Test both ends of the range of characters.
18759 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18761 2010-07-29 Roland McGrath <roland@redhat.com>
18764 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18766 2010-07-27 Ulrich Drepper <drepper@redhat.com>
18768 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18771 2010-07-27 Andreas Schwab <schwab@redhat.com>
18773 * manual/memory.texi (Malloc Tunable Parameters): Document
18776 2010-07-26 Roland McGrath <roland@redhat.com>
18779 * configure.in (-fgnu89-inline check): Set and substitute
18780 gnu89_inline, not libc_cv_gnu89_inline.
18781 * configure: Regenerated.
18782 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18784 2010-07-26 Ulrich Drepper <drepper@redhat.com>
18786 * string/test-strnlen.c: New file.
18787 * string/Makefile (strop-tests): Add strnlen.
18788 * string/tester.c (test_strnlen): Add a few more test cases.
18789 * string/tst-strlen.c: Better error reporting.
18791 * sysdeps/x86_64/strnlen.S: New file.
18793 2010-07-24 Ulrich Drepper <drepper@redhat.com>
18795 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18796 lower-latency instructions.
18798 2010-07-23 Ulrich Drepper <drepper@redhat.com>
18800 * string/test-strcasestr.c: New file.
18801 * string/test-strstr.c: New file.
18802 * string/Makefile (strop-tests): Add strstr and strcasestr.
18803 * string/str-two-way.h: Don't undefine MAX.
18804 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18806 2010-07-21 Andreas Schwab <schwab@redhat.com>
18808 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18809 strcasestr-nonascii.
18810 (CFLAGS-strcasestr-nonascii.c): Define.
18811 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18812 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18813 Remove unused attribute.
18815 2010-07-20 Roland McGrath <roland@redhat.com>
18817 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18818 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18819 ld.so.cache was broken. With it, there is no way to disable dsocaps
18820 like LD_HWCAP_MASK can disable hwcaps.
18822 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18824 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18826 2010-07-16 Ulrich Drepper <drepper@redhat.com>
18828 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18829 call in strcasestr.
18830 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18831 __strcasestr_sse42_nonascii.
18832 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18833 strcasestr-nonascii.c.
18834 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18836 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
18838 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18839 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18840 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18841 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18843 2010-07-09 Ulrich Drepper <drepper@redhat.com>
18845 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18848 2010-07-06 Andreas Schwab <schwab@redhat.com>
18851 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18854 2010-07-06 Ulrich Drepper <drepper@redhat.com>
18856 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18857 _PC_PIPE_BUF using F_GETPIPE_SZ.
18859 2010-07-05 Roland McGrath <roland@redhat.com>
18861 * manual/arith.texi (Rounding Functions): Fix rint description
18862 implicit in round description.
18864 2010-07-02 Ulrich Drepper <drepper@redhat.com>
18866 * elf/Makefile: Fix linking for a few tests to make recent linker
18869 2010-06-30 Andreas Schwab <schwab@redhat.com>
18871 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18872 $(common-objpfx)libc_nonshared.a.
18874 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
18876 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18877 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18878 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18879 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18880 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18881 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18882 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18883 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18898 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18899 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18900 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18901 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18902 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18903 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18904 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18905 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18906 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18907 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18908 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18909 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18925 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18927 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18928 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18929 * string/memmove.c (memmove): Renamed to ...
18930 (MEMMOVE): ...this. Default to memmove.
18931 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18932 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18934 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18935 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18936 mempcpy-ssse3-back memmove-ssse3-back.
18937 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18938 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18939 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18940 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18941 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18942 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18943 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18944 * sysdeps/x86_64/multiarch/memmove.c: New file.
18945 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18946 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18947 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18948 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18949 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18950 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18952 (index_Fast_Copy_Backward): Define.
18953 (HAS_ARCH_FEATURE): Define.
18954 (HAS_FAST_REP_STRING): Define.
18955 (HAS_FAST_COPY_BACKWARD): Define.
18957 2010-06-21 Andreas Schwab <schwab@redhat.com>
18959 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18960 Restore proper fallback handling.
18962 2010-06-19 Ulrich Drepper <drepper@redhat.com>
18965 * posix/group_member.c (__group_member): Correct checking loop.
18967 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18968 OOM in getpwuid_r correctly. Return error number when the caller
18969 should return, otherwise -1.
18970 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18971 call returning > 0 value.
18972 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18974 2010-06-07 Andreas Schwab <schwab@redhat.com>
18976 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18977 libc_nonshared.a from targets in modules-names.
18979 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18981 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18984 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
18986 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18987 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18988 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18989 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18991 2010-06-02 Andreas Schwab <schwab@redhat.com>
18993 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18995 2010-06-14 Ulrich Drepper <drepper@redhat.com>
18997 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18999 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19000 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19001 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19002 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19003 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19004 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19006 2010-06-14 Roland McGrath <roland@redhat.com>
19008 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19010 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19012 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19013 __REDIRECT followed by __THROW.
19014 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19015 * posix/getopt.h (getopt): Likewise.
19017 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19019 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19020 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19021 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19023 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19024 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19026 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19028 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19030 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19033 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19034 Properly check family and model.
19036 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19038 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19040 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
19042 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19044 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19046 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19049 2010-05-19 Andreas Schwab <schwab@redhat.com>
19051 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19054 2010-05-21 Andreas Schwab <schwab@redhat.com>
19056 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19057 and internal_recvmmsg.
19058 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19059 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19060 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19061 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19063 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19064 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19065 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19067 2010-05-20 Andreas Schwab <schwab@redhat.com>
19069 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19071 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
19073 POWER7 optimizations.
19074 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19075 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19077 2010-05-19 Ulrich Drepper <drepper@redhat.com>
19079 * version.h: Update for 2.13 development version.
19081 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
19083 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19084 exceptions. Return 0.
19086 2010-05-07 Roland McGrath <roland@redhat.com>
19088 * elf/ldconfig.c (main): Add a const.
19090 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19092 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19093 (args_options): Add no-idn option.
19094 (ahosts_keys_int): Add idn_flags to ai_flags.
19095 (parse_option): Handle 'i' option to clear idn_flags.
19097 * malloc/malloc.c (_int_free): Possible race in the most recently
19098 added check. Only act on the data if no current modification
19101 See ChangeLog.17 for earlier changes.