1 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5 2012-09-05 Allan McRae <allan@archlinux.org>
8 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9 determine header location.
10 * configure: Regenerated.
12 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
17 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21 2012-09-04 David S. Miller <davem@davemloft.net>
23 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27 2012-09-04 Florian Weimer <fweimer@redhat.com>
29 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34 2012-09-04 Joseph Myers <joseph@codesourcery.com>
37 * libio/iogetdelim.c: Include <limits.h>.
38 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39 + len + 1 would overflow.
41 2012-09-03 Andreas Jaeger <aj@suse.de>
43 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44 * sysdeps/i386/fpu/libm-test-ulps: Update.
46 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
49 Add s_sinf-sse2, s_conf-sse2.
51 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
52 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
53 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
54 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
56 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
57 for using routine as __sinf_ia32.
58 Use macro for function declaration and weak_alias.
59 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
60 for using routine as __cosf_ia32.
61 Use macro for function declaration and weak_alias.
63 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
64 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
66 * sysdeps/x86_64/fpu/s_sinf.S: New file.
67 * sysdeps/x86_64/fpu/s_cosf.S: New file.
68 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70 * math/libm-test.inc (cos_test): Add more test cases.
72 (sincos_test): Likewise.
74 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77 (IFUNC_RESOLVE): Make pointers to the specialized implementations
79 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
81 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
84 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
85 first element of the GOT.
86 (elf_machine_load_address): Return the difference between
87 the runtime address of _DYNAMIC and elf_machine_dynamic ().
89 2012-09-01 Allan McRae <allan@archlinux.org>
92 * configure.in (AWK): Require gawk version 3.0 or later.
93 * configure: Regenerated.
95 2012-09-01 Joseph Myers <joseph@codesourcery.com>
97 * sysdeps/unix/sysv/linux/kernel-features.h
98 (__ASSUME_POSIX_CPU_TIMERS): Remove.
99 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
100 [__NR_clock_getres]: Make code unconditional.
101 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
102 (clock_getcpuclockid): Remove code left unreachable by removal of
104 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
106 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
107 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
108 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
109 Make code unconditional.
110 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
111 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
112 * sysdeps/unix/sysv/linux/clock_settime.c
113 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
115 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
116 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
118 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
121 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
122 scripts/test-installation.pl.
124 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
125 and $ld_so_version if it is set.
127 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
130 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
131 failure if reading from procfs failed.
132 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
134 2012-08-27 Joseph Myers <joseph@codesourcery.com>
136 * sysdeps/unix/sysv/linux/kernel-features.h
137 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
138 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
139 Remove conditional code.
140 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
141 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
142 Remove conditional code.
143 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
144 * sysdeps/unix/sysv/linux/i386/fxstat.c
145 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
146 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
147 * sysdeps/unix/sysv/linux/i386/fxstatat.c
148 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
149 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
150 * sysdeps/unix/sysv/linux/i386/lxstat.c
151 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
152 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
153 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
154 Remove conditional code.
155 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
156 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
157 Remove conditional code.
158 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
159 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
161 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
163 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
164 Remove conditional code.
165 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
166 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
169 2012-08-27 Mike Frysinger <vapier@gentoo.org>
172 * NEWS: Add fixed bug number.
174 2012-08-27 Joseph Myers <joseph@codesourcery.com>
177 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
178 underflowing exponent in case of negative sign.
179 * stdlib/tst-strtod-round-data: Add more tests.
180 * stdlib/tst-strtod-round.c (tests): Regenerated.
183 * stdlib/strtod_l.c (NDIG): Remove.
185 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
186 smallest representable value.
187 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
188 lie within an exact representation of 1/2 ulp of the result.
189 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
191 (TENS_P9_IDX): Define unconditionally.
192 (TENS_P9_SIZE): Likewise.
193 (TENS_P10_IDX): Likewise.
194 (TENS_P10_SIZE): Likewise.
195 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
196 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
197 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
198 entries for 10^2^13 and 10^2^14.
199 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
200 (TENS_P13_IDX): Define.
201 (TENS_P13_SIZE): Likewise.
202 (TENS_P14_IDX): Likewise.
203 (TENS_P14_SIZE): Likewise.
204 (_fpioconst_pow10): Change array size to
205 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
207 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
208 1024]: Add entries for 10^2^13 and 10^2^14.
209 [LAST_POW10 > _LAST_POW10]: Remove #error.
210 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
211 (_fpioconst_pow10): Change array size to
212 FPIOCONST_POW10_ARRAY_SIZE.
213 * stdlib/gen-fpioconst.c: New file.
214 * stdlib/gen-tst-strtod-round.c: Likewise.
215 * stdlib/tst-strtod-round-data: Likewise.
216 * stdlib/tst-strtod-round.c: Likewise.
217 * stdlib/Makefile (tests): Add tst-strtod-round.
220 * stdlib/strtod_l.c: Include <stdint.h>.
221 (NDEBUG): Do not define.
222 (round_and_return): Change EXPONENT parameter to type intmax_t.
223 Rearrange calculations to avoid internal overflow possibilities.
224 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
225 Rearrange calculations to avoid internal overflow possibilities.
226 Assert that number fits inside MPNSIZE limbs.
227 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
228 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
229 calculations and add assertions to avoid internal overflow
230 possibilities. Add casts to avoid signed/unsigned operations.
231 * stdlib/tst-strtod-overflow.c: New file.
232 * stdlib/Makefile (tests): Add tst-strtod-overflow.
234 2012-08-25 Marek Polacek <polacek@redhat.com>
236 * time/time.h: Fix some typos in comments.
238 2012-08-23 Roland McGrath <roland@hack.frob.com>
240 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
241 * posix/tst-rfc3484-2.c: Likewise.
242 * posix/tst-rfc3484-3.c: Likewise.
244 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
246 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
247 (EF_ARM_ABI_FLOAT_HARD): Likewise.
249 2012-08-23 Joseph Myers <joseph@codesourcery.com>
251 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
252 #include of fxstatat64.c.
254 2012-08-22 Roland McGrath <roland@hack.frob.com>
256 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
257 * shadow/getspent_r.c: Likewise.
258 * shadow/getspnam.c: Likewise.
259 * shadow/getspnam_r.c: Likewise.
260 * gshadow/getsgent.c: Likewise.
261 * gshadow/getsgent_r.c: Likewise.
262 * gshadow/getsgnam.c: Likewise.
263 * gshadow/getsgnam_r.c: Likewise.
264 * inet/getnetbyad.c: Likewise.
265 * inet/getnetbyad_r.c: Likewise.
266 * inet/getnetbynm.c: Likewise.
267 * inet/getnetbynm_r.c: Likewise.
268 * inet/getnetent.c: Likewise.
269 * inet/getnetent_r.c: Likewise.
270 * inet/getproto.c: Likewise.
271 * inet/getproto_r.c: Likewise.
272 * inet/getprtent.c: Likewise.
273 * inet/getprtent_r.c: Likewise.
274 * inet/getprtname.c: Likewise.
275 * inet/getprtname_r.c: Likewise.
276 * inet/getrpcbyname.c: Likewise.
277 * inet/getrpcbyname_r.c: Likewise.
278 * inet/getrpcbynumber.c: Likewise.
279 * inet/getrpcbynumber_r.c: Likewise.
280 * inet/getrpcent.c: Likewise.
281 * inet/getrpcent_r.c: Likewise.
282 * inet/getaliasent.c: Likewise.
283 * inet/getaliasent_r.c: Likewise.
284 * inet/getaliasname.c: Likewise.
285 * inet/getaliasname_r.c: Likewise.
286 * nscd/getgrgid_r.c: Likewise.
287 * nscd/getgrnam_r.c: Likewise.
288 * nscd/gethstbyad_r.c: Likewise.
289 * nscd/gethstbynm3_r.c: Likewise.
290 * nscd/getpwnam_r.c: Likewise.
291 * nscd/getpwuid_r.c: Likewise.
292 * nscd/getsrvbynm_r.c: Likewise.
293 * nscd/getsrvbypt_r.c: Likewise.
294 * nscd/gai.c: Likewise.
296 * configure.in (build_nscd): New substituted variable, set
297 by --disable-build-nscd and defaults to $use_nscd.
298 * configure: Regenerated.
299 * config.make.in (build-nscd): New substituted variable.
300 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
301 Change conditional to require [$(build-nscd) = yes] as well.
302 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
305 * configure.in (use_nscd): New substituted variable, set by
306 --disable-nscd. If enabled, define USE_NSCD.
307 * configure: Regenerated.
308 * config.h.in: Add USE_NSCD.
309 * config.make.in (use-nscd): New substituted variable.
310 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
311 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
312 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
313 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
314 (CFLAGS-getgrnam_r.c): Likewise.
315 (CFLAGS-initgroups.c): Likewise.
316 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
317 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
319 * inet/getnetgrent_r.c
320 (nscd_setnetgrent): New function, broken out of ...
321 (setnetgrent): ... here. Call it.
322 (innetgr): Conditionalize nscd bits on [USE_NSCD].
323 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
324 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
325 * nscd/Makefile (routines, aux): Move definitions after include of
326 Makeconfig. Conditionalize on [$(use-nscd) != no].
327 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
328 Conditionalize on [USE_NSCD].
329 (is_nscd, nscd_init_cb): Likewise.
330 (nss_load_library): Conditionalize init callback on [USE_NSCD].
331 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
332 * nss/nss_db/db-init.c: Likewise.
333 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
335 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
336 (make_request): Use it.
337 (cache_valid_p): New function.
338 (__check_pf): Use it.
339 * NEWS: Add item for --disable-nscd.
341 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
343 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
344 to support sed >= 4.2.1-20-ga9bf076.
345 * configure: Regenerated.
347 2012-08-22 Roland McGrath <roland@hack.frob.com>
349 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
350 Conditionalize whole body on [IREL].
352 2012-08-22 Jeff Law <law@redhat.com>
355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
356 if the family is PF_UNSPEC.
358 2012-08-22 Mike Frysinger <vapier@gentoo.org>
360 * Makerules (lib-version): Rename from V.
361 (install-lib-nosubdir): Change V to lib-version.
363 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
366 * powerpc32/power6/wcschr.c: New file.
367 * powerpc32/power6/wcscpy.c: New file.
368 * powerpc32/power6/wcsrchr.c: New file.
369 * powerpc64/power6/wcschr.c: New file.
370 * powerpc64/power6/wcscpy.c: New file.
371 * powerpc64/power6/wcsrchr.c: New file.
373 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
375 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
376 (two_way_short_needle): Use it.
377 * string/strstr.c (AVAILABLE1_USES_J): Define.
378 * string/strcasestr.c: Likewise.
380 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
382 * string/strcasestr.c (TOLOWER): Make side-effect safe.
385 * NEWS: Add an entry.
386 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
387 define their defaults.
388 (two_way_short_needle): Detect end-of-string on-the-fly.
389 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
390 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
391 * string/bug-strcasestr1.c: New test.
392 * string/Makefile: Run it.
394 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
397 * string/str-two-way.h (two_way_short_needle): Optimize matching of
400 2012-08-21 Roland McGrath <roland@hack.frob.com>
402 * csu/elf-init.c (__libc_csu_irel): Function removed.
403 * csu/libc-start.c (apply_irel): New function.
404 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
406 2012-08-21 Joseph Myers <joseph@codesourcery.com>
408 * sysdeps/unix/sysv/linux/kernel-features.h
409 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
410 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
412 [__NR_fadvise64_64]: Make code unconditional.
413 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
414 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
415 !__NR_fadvise64_64)]: Likewise.
416 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
417 !__NR_fadvise64_64))]: Likewise.
418 [__NR_fadvise64]: Make code unconditional.
419 [!__NR_fadvise64]: Remove conditional code.
420 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
422 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
424 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
427 not include <kernel-features.h>.
428 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
430 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
432 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
433 include <kernel-features.h>.
434 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
436 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
439 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
441 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
442 slight instruction rearrangements per scrollpipe analysis.
443 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
445 2012-08-20 Roland McGrath <roland@hack.frob.com>
447 * manual/syslog.texi (syslog; vsyslog, closelog):
448 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
449 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
451 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
452 DSOCAPS to match condition on defining it.
454 2012-08-20 Joseph Myers <joseph@codesourcery.com>
456 * sysdeps/unix/sysv/linux/kernel-features.h
457 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
459 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
460 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
462 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
463 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
465 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
466 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
468 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
469 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
471 * sysdeps/unix/sysv/linux/kernel-features.h
472 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
473 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
475 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
476 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
477 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
478 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
479 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
480 Make code unconditional.
481 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
482 (__mmap64) [!__NR_mmap2]: Likewise.
483 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
484 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
485 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
486 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
487 [__NR_mmap2]: Make code unconditional.
488 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
489 (__mmap64) [!__NR_mmap2]: Likewise.
491 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
493 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
495 2012-08-18 Andreas Jaeger <aj@suse.de>
497 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
499 2012-08-18 Mike Frysinger <vapier@gentoo.org>
501 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
502 * include/unistd.h (__have_sock_cloexec): Likewise.
503 (__have_pipe2): Likewise.
504 (__have_dup3): Likewise.
506 2012-08-18 Mike Frysinger <vapier@gentoo.org>
509 * include/unistd.h (__have_pipe2): Change define into an extern int.
510 (__have_dup3): Likewise.
511 * socket/have_sock_cloexec.c: Include fcntl.h.
512 (__have_pipe2): New variable.
513 (__have_dup3): Likewise.
515 2012-08-17 Mike Frysinger <vapier@gentoo.org>
517 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
519 2012-08-17 Marek Polacek <polacek@redhat.com>
521 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
522 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
524 2012-08-17 Roland McGrath <roland@hack.frob.com>
526 * configure.in: Add AC_SUBST for sysheaders.
527 * configure: Regenerated.
528 * config.make.in (sysheaders): New substituted variable.
530 * sysdeps/unix/mkfifo.c: Moved ...
531 * sysdeps/posix/mkfifo.c: ... here.
532 * sysdeps/unix/mkfifoat.c: Moved ...
533 * sysdeps/posix/mkfifoat.c: ... here.
535 * sysdeps/unix/utime.c: Moved ...
536 * sysdeps/posix/utime.c: ... here.
538 * sysdeps/unix/time.c: Moved ...
539 * sysdeps/posix/time.c: ... here.
540 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
541 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
543 * sysdeps/unix/nice.c: Moved ...
544 * sysdeps/posix/nice.c: ... here.
546 * sysdeps/unix/alarm.c: Moved ...
547 * sysdeps/posix/alarm.c: ... here.
549 * intl/Makefile ($(codeset_mo)): Depend on the input file.
551 2012-08-17 Jeff Law <law@redhat.com>
553 * intl/Makefile (codeset_mo): New variable.
554 ($(codeset_mo)): New target.
555 (tst-codeset.out): Depend on that. Remove explicit rule.
556 (tst-gettext3.out, tst-gettext5.out): Likewise.
557 (LOCPATH-ENV, tst-codeset-ENV): New variables.
558 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
559 * intl/tst-codeset.sh: Remove.
560 * intl/tst-gettext3.sh: Likewise.
561 * intl/tst-gettext5.sh: Likewise.
563 2012-08-17 Roland McGrath <roland@hack.frob.com>
565 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
566 * sysdeps/unix/syscalls.list: ... here.
568 * sysdeps/posix/getaddrinfo.c
569 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
570 (gaiconf_init, gaiconf_reload): Use them.
572 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
573 Define using time_t rather than struct timespec.
575 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
576 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
578 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
580 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
581 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
584 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
585 __libc_cleanup_push argument.
587 * bits/param.h: New file.
588 * misc/sys/param.h: New file.
589 * include/sys/param.h: New file.
590 * misc/Makefile (headers): Add bits/param.h.
591 * sysdeps/generic/sys/param.h: File removed.
592 * sysdeps/unix/sysv/linux/bits/param.h: New file.
593 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
594 * sysdeps/mach/hurd/bits/param.h: New file.
595 * sysdeps/mach/hurd/sys/param.h: New file.
597 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
600 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
602 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
603 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
606 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
607 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
608 rather than -D_IO_MTSAFE_IO conditionally.
609 * stdio-common/Makefile (CPPFLAGS): Likewise.
610 * wcsmbs/Makefile (CPPFLAGS): Likewise.
611 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
613 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
615 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
616 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
617 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
618 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
619 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
620 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
621 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
622 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
623 (CFLAGS-fread_u_chk.c): Likewise.
624 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
625 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
626 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
627 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
628 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
629 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
630 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
631 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
632 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
634 * libio/Makefile: Test [$(libc-reentrant) = yes]
635 instead of [$(filter %REENTRANT, $(defines)) nonempty].
638 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
639 * sysdeps/pthread/configure: File removed.
640 * sysdeps/pthread/Makeconfig: New file.
641 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
642 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
644 2012-08-16 Gary Benson <gbenson@redhat.com>
646 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
647 unmapping the first object in a namespace.
649 2012-08-16 Roland McGrath <roland@hack.frob.com>
651 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
652 (__internal_setnetgrent): ... this. Add internal_function to
653 definition. Add libc_hidden_def.
654 (setnetgrent): Update caller.
655 (internal_endnetgrent): Renamed to ...
656 (__internal_endnetgrent): ... this. Add internal_function to
657 definition. Add libc_hidden_def.
658 (endnetgrent): Update caller.
659 (internal_getnetgrent_r): Renamed to ...
660 (__internal_getnetgrent_r): ... this. Add internal_function to
661 definition. Add libc_hidden_def.
662 (__getnetgrent_r): Update caller.
663 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
665 2012-08-16 Joseph Myers <joseph@codesourcery.com>
667 * stdlib/longlong.h: Update from GCC.
669 2012-08-16 Roland McGrath <roland@hack.frob.com>
671 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
672 on _QL, which is set by umul_ppmm but never used.
673 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
674 variables, which are set by GMP macros but never used.
675 * stdio-common/_itowa.c (_itowa): Likewise.
676 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
677 * stdlib/mod_1.c (mpn_mod_1): Likewise.
679 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
681 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
682 struct La_sh_regs is not constant.
683 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
684 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
685 and struct La_sparc64_regs are not constant.
687 2012-08-16 Joseph Myers <joseph@codesourcery.com>
689 * sysdeps/unix/sysv/linux/kernel-features.h
690 (__ASSUME_POSIX_TIMERS): Remove.
691 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
692 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
693 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
694 Make code unconditional.
695 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
696 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
697 Make code unconditional.
698 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
699 * sysdeps/unix/sysv/linux/clock_nanosleep.c
700 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
701 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
702 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
703 Make code unconditional.
704 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
705 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
706 (__libc_missing_posix_timers): Remove.
708 2012-08-15 Roland McGrath <roland@hack.frob.com>
710 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
711 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
713 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
715 * elf/dl-sym.c: Include <stdlib.h>.
717 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
718 constants, which avoids warnings in 32-bit builds.
720 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
721 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
723 * misc/lseek.c: File moved to ...
724 * io/lseek.c: ... here.
726 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
728 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
729 shifting LEN more than 31 bits at once.
731 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
734 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
735 segmentation fault for a case of two empty input strings.
736 * string/test-strncasecmp.c (check1): Renamed to...
738 (bz14195): Add new testcase for two empty input strings and N > 0.
739 (test_main): Call new testcase, adapt for renamed function.
741 2012-08-15 Andreas Jaeger <aj@suse.de>
744 * crypt/md5test2.c: New test, based on test supplied by Serge
745 Belyshev <belyshev@depni.sinp.msu.ru>.
746 * crypt/Makefile (xtests): Add md5test-giant..
747 * crypt/Makefile ($(objpfx)md5test-giant): Add.
749 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
752 * crypt/md5.c (md5_process_block): Don't assume the buffer
753 length is less than 2**32.
754 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
755 length is less than 2**64.
757 2012-08-15 Roland McGrath <roland@hack.frob.com>
759 * string/str-two-way.h: Include <sys/param.h>.
760 (MAX): Macro removed.
762 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
763 Move #define and #undef of memmove to just before and after
764 including <string.h>.
766 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
767 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
768 and after including <string.h>. Move declarations of
769 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
770 to before #include "string/memmove.c".
772 * include/dirent.h: Declare __getdirentries.
774 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
775 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
777 2012-08-14 Mike Frysinger <vapier@gentoo.org>
779 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
780 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
781 * sysdeps/i386/configure: Regenerated.
782 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
783 STABS_CURRENT_FILE, and STABS_FUN.
784 (END): Remove call to STABS_FUN_END.
785 (STABS_CURRENT_FILE1): Delete.
786 (STABS_CURRENT_FILE): Likewise.
787 (STABS_FUN): Likewise.
788 (STABS_FUN_END): Likewise.
789 (STABS_FUN2): Likewise.
790 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
791 * sysdeps/x86_64/configure: Regenerated.
793 2012-08-14 Roland McGrath <roland@hack.frob.com>
795 * elf/dl-open.c: Include <atomic.h>.
796 * elf/dl-lookup.c: Likewise.
798 2012-08-14 Joseph Myers <joseph@codesourcery.com>
800 * sysdeps/unix/sysv/linux/kernel-features.h
801 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
802 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
804 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
806 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
807 condition on __ASSUME_CLONE_THREAD_FLAGS.
809 2012-08-14 Andreas Jaeger <aj@suse.de>
811 * sysdeps/i386/fpu/libm-test-ulps: Update.
813 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
815 * include/atomic.h (atomic_exchange_and_add): Split into ...
816 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
819 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
823 2012-08-13 Jeff Law <law@redhat.com>
825 * manual/stdio.texi (snprintf): Clarify handling of the trailing
826 null byte in the output string.
828 2012-08-10 Joseph Myers <joseph@codesourcery.com>
830 * sysdeps/unix/sysv/linux/kernel-features.h
831 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
832 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
833 (__ASSUME_ARG_MAX_STACK_BASED): Define.
834 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
835 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
836 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
837 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
839 2012-08-09 Jeff Law <law@redhat.com>
842 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
843 When avoid_arena is set, don't retry in the that arena. Pick the
844 next one, whatever it might be.
845 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
846 (arena_lock): Pass in new parameter to arena_get2.
847 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
849 (__libc_malloc): Unify retrying after main arena failure with
850 __libc_memalign version.
851 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
853 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
856 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
857 to __redirect_strstr.
858 (__strstr_sse42): Use typeof __redirect_strstr.
859 (__strstr_ia32): Likewise.
860 (__libc_strstr): New prototype.
861 (strstr): Renamed to ...
862 (__libc_strstr): This.
863 (strstr): New strong alias of __libc_strstr.
864 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
865 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
868 (__libc_time): New prototype.
869 (time_ifunc): Replace time with __libc_time.
870 (time): New strong alias and hidden definition of __libc_time.
871 (__GI_time): Remove strong alias.
872 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
874 (memmove): Redefined to __redirect_memmove.
875 (__memmove_sse2): Use typeof __redirect_memmove.
876 (__memmove_ssse3): Likewise.
877 (__memmove_ssse3_back): Likewise.
878 (__libc_memmove): New prototype.
879 (memmove): Renamed to ...
880 (__libc_memmove): This.
881 (memmove): New strong alias of __libc_memmove.
883 2012-08-08 Mark Salter <msalter@redhat.com>
886 (R_MN10300_TLS_GD): Define.
887 (R_MN10300_TLS_LD): Likewise.
888 (R_MN10300_TLS_LDO): Likewise.
889 (R_MN10300_TLS_GOTIE): Likewise.
890 (R_MN10300_TLS_IE): Likewise.
891 (R_MN10300_TLS_LE): Likewise.
892 (R_MN10300_TLS_DTPMOD): Likewise.
893 (R_MN10300_TLS_DTPOFF): Likewise.
894 (R_MN10300_TLS_TPOFF): Likewise.
895 (R_MN10300_SYM_DIFF): Likewise.
896 (R_MN10300_ALIGN): Likewise.
897 (R_MN10300_NUM): Update.
899 2012-08-08 Joseph Myers <joseph@codesourcery.com>
901 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
904 2012-08-08 Roland McGrath <roland@hack.frob.com>
906 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
908 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
909 sysdeps/unix -> sysdeps/posix move.
910 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
912 2012-08-07 Allan McRae <allan@archlinux.org>
915 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
916 (SUNOS_CPP): Likewise.
917 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
919 (open_input): Call CPP using execvp.
921 2012-08-07 Joseph Myers <joseph@codesourcery.com>
923 * sysdeps/unix/sysv/linux/kernel-features.h
924 (__ASSUME_PROT_GROWSUPDOWN): Remove.
925 (__ASSUME_NO_CLONE_DETACHED): Likewise.
926 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
927 (__ASSUME_WAITID_SYSCALL): Likewise.
928 * sysdeps/unix/sysv/linux/dl-execstack.c
929 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
931 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
933 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
934 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
935 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
937 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
939 [__ASSUME_WAITID_SYSCALL]: Likewise.
940 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
942 2012-08-07 Roland McGrath <roland@hack.frob.com>
944 * sysdeps/unix/closedir.c: Renamed to ...
945 * sysdeps/posix/closedir.c: ... here.
946 * sysdeps/unix/dirfd.c: Renamed to ...
947 * sysdeps/posix/dirfd.c: ... here.
948 * sysdeps/unix/dirstream.h: Renamed to ...
949 * sysdeps/posix/dirstream.h: ... here.
950 * sysdeps/unix/fdopendir.c: Renamed to ...
951 * sysdeps/posix/fdopendir.c: ... here.
952 * sysdeps/unix/opendir.c: Renamed to ...
953 * sysdeps/posix/opendir.c: ... here.
954 * sysdeps/unix/readdir.c: Renamed to ...
955 * sysdeps/posix/readdir.c: ... here.
956 * sysdeps/unix/readdir_r.c: Renamed to ...
957 * sysdeps/posix/readdir_r.c: ... here.
958 * sysdeps/unix/rewinddir.c: Renamed to ...
959 * sysdeps/posix/rewinddir.c: ... here.
960 * sysdeps/unix/seekdir.c: Renamed to ...
961 * sysdeps/posix/seekdir.c: ... here.
962 * sysdeps/unix/telldir.c: Renamed to ...
963 * sysdeps/posix/telldir.c: ... here.
964 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
965 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
966 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
967 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
969 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
970 * bits/fcntl.h: ... here.
972 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
974 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
975 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
976 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
977 (struct flock): Move l_start, l_len to the beginning.
978 Use __pid_t for l_pid.
979 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
980 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
981 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
982 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
983 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
984 [__USE_LARGEFILE64] (struct flock64): New type.
985 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
987 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
988 * bits/dirent.h: ... here.
990 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
991 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
993 2012-08-07 Joseph Myers <joseph@codesourcery.com>
995 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
996 Change from 2.6.0 to 2.6.16.
997 * sysdeps/unix/sysv/linux/configure: Regenerated.
998 * sysdeps/unix/sysv/linux/kernel-features.h
999 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1000 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1002 (__ASSUME_UTIMES): Likewise.
1003 (__ASSUME_CLONE_STOPPED): Remove.
1004 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1005 architectures, not kernel version.
1006 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1007 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1008 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1009 (__ASSUME_WAITID_SYSCALL): Likewise.
1010 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1011 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1012 * README: State 2.6.16 as minimum Linux kernel version. Do not
1013 refer to older versions.
1015 2012-08-06 Roland McGrath <roland@hack.frob.com>
1017 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1018 Define alphasort64 as an alias.
1019 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1020 Define versionsort64 as an alias.
1021 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1022 Define scandir64 as an alias.
1023 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1024 Define scandirat64 as an alias.
1025 * dirent/alphasort64.c (alphasort64):
1026 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1027 * dirent/versionsort64.c: Likewise.
1028 * dirent/scandir64.c: Likewise.
1029 * dirent/scandirat64.c: Likewise.
1030 * sysdeps/wordsize-64/alphasort.c: File removed.
1031 * sysdeps/wordsize-64/alphasort64.c: File removed.
1032 * sysdeps/wordsize-64/scandir.c: File removed.
1033 * sysdeps/wordsize-64/scandir64.c: File removed.
1034 * sysdeps/wordsize-64/scandirat.c: File removed.
1035 * sysdeps/wordsize-64/scandirat64.c: File removed.
1036 * sysdeps/wordsize-64/versionsort.c: File removed.
1037 * sysdeps/wordsize-64/versionsort64.c: File removed.
1038 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1039 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1040 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1041 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1042 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1043 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1044 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1045 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1047 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1048 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1049 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1050 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1051 [defined __arch64__ || defined __sparcv9]
1052 (__INO_T_MATCHES_INO64_T): New macro.
1053 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1054 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1055 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1056 * sysdeps/unix/sysv/linux/bits/dirent.h
1057 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1058 (_DIRENT_MATCHES_DIRENT64): New macro.
1060 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1061 Define lockf64 as an alias.
1062 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1063 Define fseeko64 as an alias.
1064 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1065 Define ftello64 as an alias.
1066 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1067 Define _IO_fgetpos64 and fgetpos64 as aliases.
1068 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1069 Define _IO_fsetpos64 and fsetpos64 as aliases.
1070 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1071 Conditionalize body on this.
1072 * libio/fseeko64.c: Likewise.
1073 * libio/ftello64.c: Likewise.
1074 * libio/iofgetpos64.c: Likewise.
1075 * libio/iofsetpos64.c: Likewise.
1076 * sysdeps/wordsize-64/lockf.c: File removed.
1077 * sysdeps/wordsize-64/lockf64.c: File removed.
1078 * sysdeps/wordsize-64/fseeko.c: File removed.
1079 * sysdeps/wordsize-64/fseeko64.c: File removed.
1080 * sysdeps/wordsize-64/ftello.c: File removed.
1081 * sysdeps/wordsize-64/ftello64.c: File removed.
1082 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1083 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1084 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1085 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1086 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1087 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1088 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1089 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1090 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1091 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1092 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1093 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1094 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1095 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1097 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1098 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1099 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1100 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1101 [defined __arch64__ || defined __sparcv9]
1102 (__OFF_T_MATCHES_OFF64_T): New macro.
1103 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1104 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1105 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1106 (__OFF_T_MATCHES_OFF64_T): New macro.
1108 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1110 * stdlib/secure-getenv.c (__secure_getenv): Replace
1111 GLIBC_2_16 with GLIBC_2_17.
1113 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1115 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1116 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1118 2012-08-03 David S. Miller <davem@davemloft.net>
1120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1122 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1124 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1126 (__ASSUME_CORRECT_SI_PID): Likewise.
1127 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1128 (__ASSUME_TMPFS_NAME): Likewise.
1129 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1130 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1131 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1132 (HAVE_AUX_SECURE): Make definition unconditional.
1133 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1134 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1136 2012-08-03 Roland McGrath <roland@hack.frob.com>
1138 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1139 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1140 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1141 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1142 __eloop_threshold instead of SYMLOOP_MAX.
1144 * sysdeps/generic/eloop-threshold.h: New file.
1145 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1147 * elf/chroot_canon.c (chroot_canon): Likewise.
1149 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1152 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1153 Change to 2.6.0 everywhere.
1154 * sysdeps/unix/sysv/linux/configure: Regenerated.
1155 * sysdeps/unix/sysv/linux/kernel-features.h
1156 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1157 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1159 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1160 (__ASSUME_FUTEX_REQUEUE): Remove.
1161 (__ASSUME_STATFS64): Define unconditionally.
1162 (__ASSUME_AT_SECURE): Likewise.
1163 (__ASSUME_CORRECT_SI_PID): Likewise.
1164 (__ASSUME_TGKILL): Define without depending on kernel version for
1166 (__ASSUME_UTIMES): Likewise.
1167 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1169 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1170 (__ASSUME_TMPFS_NAME): Likewise.
1171 * README: Update reference to Linux kernel versions.
1173 2012-08-02 Marek Polacek <polacek@redhat.com>
1176 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1177 libc_cv_asm_type_prefix with %.
1178 * configure: Regenerated.
1179 * include/libc-symbols.h: Remove comment about
1180 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1181 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1182 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1183 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1184 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1185 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1186 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1187 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1188 * elf/tst-unique2mod1.c: Likewise.
1189 * elf/tst-unique1mod2.c: Likewise.
1190 * elf/tst-unique1mod1.c: Likewise.
1191 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1192 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1193 Replace ASM_TYPE_DIRECTIVE with .type.
1194 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1195 * sysdeps/i386/sysdep.h: Likewise.
1196 * sysdeps/x86_64/sysdep.h: Likewise.
1197 * sysdeps/sh/sysdep.h: Likewise.
1198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1199 Do not define ASM_TYPE_DIRECTIVE.
1200 * sysdeps/powerpc/sysdep.h: Likewise.
1201 * sysdeps/powerpc/powerpc32/sysdep.h:
1202 Replace ASM_TYPE_DIRECTIVE with .type.
1203 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1204 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1205 * sysdeps/i386/fpu/e_powf.S: Likewise.
1206 * sysdeps/i386/fpu/e_expl.S: Likewise.
1207 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1208 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1209 * sysdeps/i386/fpu/e_pow.S: Likewise.
1210 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1211 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1212 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1213 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1214 * sysdeps/i386/fpu/e_log2.S: Likewise.
1215 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1216 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1217 * sysdeps/i386/fpu/e_powl.S: Likewise.
1218 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1219 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1220 * sysdeps/i386/fpu/e_logl.S: Likewise.
1221 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1222 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1223 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1224 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1225 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1226 * sysdeps/i386/fpu/e_log.S: Likewise.
1227 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1228 * sysdeps/i386/fpu/e_logf.S: Likewise.
1229 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1230 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1231 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1232 * sysdeps/i386/fpu/e_log10.S: Likewise.
1233 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1234 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1235 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1236 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1237 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1238 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1239 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1240 * sysdeps/i386/i686/strtok.S: Likewise.
1241 * sysdeps/i386/i386-mcount.S: Likewise.
1242 * sysdeps/i386/strtok.S: Likewise.
1243 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1244 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1245 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1246 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1247 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1248 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1249 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1250 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1251 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1252 * sysdeps/x86_64/_mcount.S: Likewise.
1253 * sysdeps/x86_64/strtok.S: Likewise.
1254 * sysdeps/sh/_mcount.S: Likewise.
1256 2012-08-01 Roland McGrath <roland@hack.frob.com>
1258 * libio/iofopen.c: Include <fcntl.h>.
1259 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1260 (_IO_fopen64, fopen64): Define as aliases.
1261 * libio/iofopen64.c: Include <fcntl.h>.
1262 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1263 Conditionalize body on this.
1264 * sysdeps/wordsize-64/iofopen.c: File removed.
1265 * sysdeps/wordsize-64/iofopen64.c: File removed.
1267 2012-08-01 Marek Polacek <polacek@redhat.com>
1269 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1270 Use dlfcn directly instead of a variable.
1271 (binfmt-subdir): Do not define.
1274 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1276 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1277 Remove all definitions.
1278 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1279 <kernel-features.h>.
1280 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1281 (miss_F_GETOWN_EX): Remove all definitions.
1282 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1284 [!__ASSUME_FCNTL64]: Remove conditional code.
1285 [__ASSUME_FCNTL64]: Make code unconditional.
1286 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1287 <kernel-features.h>.
1288 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1289 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1290 (lockf64) [__NR_fcntl64]: Make code unconditional.
1291 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1293 * sysdeps/unix/sysv/linux/kernel-features.h
1294 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1295 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1296 Make code unconditional.
1297 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1298 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1300 [__NR_vfork]: Make code unconditional.
1301 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1302 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1304 [__NR_vfork]: Make code unconditional.
1305 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1306 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1308 2012-08-01 Roland McGrath <roland@hack.frob.com>
1310 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1311 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1313 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1314 Define mkstemp64 as an alias.
1315 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1316 Define mkstemps64 as an alias.
1317 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1318 Define mkostemp64 as an alias.
1319 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1320 Define mkostemps64 as an alias.
1321 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1322 Conditionalize body on this.
1323 * misc/mkostemp64.c: Likewise.
1324 * misc/mkostemps64.c: Likewise.
1325 * misc/mkstemps64.c: Likewise.
1326 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1327 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1328 * sysdeps/wordsize-64/mkostemp.c: File removed.
1329 * sysdeps/wordsize-64/mkstemp.c: File removed.
1330 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1331 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1332 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1333 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1336 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1337 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1338 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1339 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1341 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1342 compat_symbol macros from <shlib-compat.h> rather than the underlying
1343 default_symbol_version and symbol_version macros, so that DEFAULT
1344 lines in shlib-versions are respected.
1345 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1347 2012-08-01 Florian Weimer <fweimer@redhat.com>
1349 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1350 Declare with warn_unused_result.
1351 (setgid, setregid, setegid, setresgid): Likewise.
1352 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1354 * WUR-REPORT: Remove set*id functions.
1356 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1358 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1360 2012-07-31 Roland McGrath <roland@hack.frob.com>
1362 * include/sys/socket.h (__libc_accept, __libc_accept4):
1363 Add attribute_hidden.
1364 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1366 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1368 * inet/getnetgrent_r.c (setup): Likewise.
1370 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1372 2012-07-31 David S. Miller <davem@davemloft.net>
1374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1376 2012-07-31 Joseph Myers <joseph@codesourcery.com>
1379 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1380 value between 1.0 and 2.0 and smaller part has absolute value less
1382 * math/s_clog10.c (__clog10): Likewise.
1383 * math/s_clog10f.c (__clog10f): Likewise.
1384 * math/s_clog10l.c (__clog10l): Likewise.
1385 * math/s_clogf.c (__clogf): Likewise.
1386 * math/s_clogl.c (__clogl): Likewise.
1387 * math/libm-test.inc (clog_test): Add more tests.
1388 (clog10_test): Likewise.
1389 * sysdeps/i386/fpu/libm-test-ulps: Update.
1390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1392 2012-07-31 Florian Weimer <fweimer@redhat.com>
1394 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1395 Exit with zero in case no suitable GID is found, and write a
1396 message to standard error.
1398 2012-07-30 Roland McGrath <roland@hack.frob.com>
1400 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1402 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1403 (MAXPATHLEN): Removed.
1404 (NOGROUP, NODEV): New macros.
1405 (setbit, clrbit, isset, isclr): New macros.
1406 (howmany, roundup, powerof2): New macros.
1407 (DEV_BSIZE): New macro.
1409 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1410 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1412 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1413 definition on [!__NO_LONG_DOUBLE_MATH].
1415 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1416 PTR_MANGLE and PTR_DEMANGLE.
1418 * socket/accept4.c (accept4): Rename to __libc_accept4.
1419 Define accept4 as a weak alias.
1421 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1422 on [_DIRENT_HAVE_D_TYPE].
1423 * io/ftw.c (ftw_dir): Likewise.
1425 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1427 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1429 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1430 Use the BSD numbers rather than the arbitrary ones we had.
1431 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1432 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1433 (SIGXCPU, SIGXFSZ): New macros.
1436 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1437 initializer on [_LIBC_REENTRANT].
1439 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1440 definitions inside [_POSIX_MAPPED_FILES].
1442 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1444 * dirent/opendir.c: Include <fcntl.h>.
1446 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1447 (__libc_getspecific): Likewise.
1448 (__libc_key_create): Likewise.
1450 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1451 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1452 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1453 (tmpfile64): Define as alias.
1454 * sysdeps/wordsize-64/tmpfile.c: File removed.
1455 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1456 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1457 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1459 * stdio-common/vfscanf.c: Include <stdbool.h>.
1460 * nss/makedb.c: Likewise.
1461 * stdio-common/_i18n_number.h: Likewise.
1462 * argp/argp-help.c: Likewise.
1463 * posix/wordexp.c: Likewise.
1464 * sysdeps/posix/spawni.c: Likewise.
1465 * nss/nss_files/files-initgroups.c: Likewise.
1466 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1467 * nss/nss_files/files-initgroups.c: Likewise.
1468 * nss/nss_db/db-netgrp.c: Likewise.
1469 * nss/nss_db/db-initgroups.c: Likewise.
1470 * io/fchmodat.c: Include <sys/stat.h>.
1472 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1473 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1475 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1478 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1479 Add multiple inclusion protection.
1481 2012-07-27 David S. Miller <davem@davemloft.net>
1483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1485 2012-07-27 Gary Benson <gbenson@redhat.com>
1488 * elf/rtld.c: Include <stap-probe.h>.
1489 (dl_main): Added static probes "init_start" and "init_complete".
1490 * elf/dl-load.c: Include <stap-probe.h>.
1491 (lose): Take new parameter "nsid".
1492 Added static probe "map_failed".
1493 (_dl_map_object_from_fd): Pass namespace id to lose.
1494 Added static probe "map_start".
1495 (open_verify): Pass namespace id to lose.
1496 * elf/dl-open.c: Include <stap-probe.h>.
1497 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1498 and "reloc_complete".
1499 * elf/dl-close.c: Include <stap-probe.h>.
1500 (_dl_close_worker): Added static probes "unmap_start" and
1502 * elf/rtld-debugger-interface.txt: New file documenting the above.
1504 2012-07-26 Roland McGrath <roland@hack.frob.com>
1506 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1507 rather than a string variable.
1508 * sunrpc/rpc_main.c (h_output): Likewise.
1509 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1511 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1513 * inet/check_native.c: New file.
1515 2012-07-26 Joseph Myers <joseph@codesourcery.com>
1518 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1519 if larger part has absolute value 1.0.
1520 * math/s_clog10.c (__clog10): Likewise.
1521 * math/s_clog10f.c (__clog10f): Likewise.
1522 * math/s_clog10l.c (__clog10l): Likewise.
1523 * math/s_clogf.c (__clogf): Likewise.
1524 * math/s_clogl.c (__clogl): Likewise.
1525 * math/libm-test.inc (clog_test): Add more tests.
1526 (clog10_test): Likewise.
1527 * sysdeps/i386/fpu/libm-test-ulps: Update.
1528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1530 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1531 (pltexit): Likewise.
1532 (La_regs): Likewise.
1533 (La_retval): Likewise.
1534 (int_retval): Likewise.
1535 Update #error for removed macros to refer only to definitions in
1537 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1539 (pltexit): Likewise.
1540 (La_regs): Likewise.
1541 (La_retval): Likewise.
1542 (int_retval): Likewise.
1543 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1545 (pltexit): Likewise.
1546 (La_regs): Likewise.
1547 (La_retval): Likewise.
1548 (int_retval): Likewise.
1549 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1551 (pltexit): Likewise.
1552 (La_regs): Likewise.
1553 (La_retval): Likewise.
1554 (int_retval): Likewise.
1555 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1557 (pltexit): Likewise.
1558 (La_regs): Likewise.
1559 (La_retval): Likewise.
1560 (int_retval): Likewise.
1561 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1563 (pltexit): Likewise.
1564 (La_regs): Likewise.
1565 (La_retval): Likewise.
1566 (int_retval): Likewise.
1567 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1569 (pltexit): Likewise.
1570 (La_regs): Likewise.
1571 (La_retval): Likewise.
1572 (int_retval): Likewise.
1573 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1574 macro definitions in tst-audit.h.
1575 * sysdeps/i386/tst-audit.h: New file.
1576 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1577 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1578 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1579 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1580 * sysdeps/sh/tst-audit.h: Likewise.
1581 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1582 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1583 * sysdeps/x86_64/tst-audit.h: Likewise.
1585 2012-07-26 Andreas Jaeger <aj@suse.de>
1587 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1590 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1591 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1592 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1594 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1595 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1596 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1598 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1601 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1603 (si_call_addr, si_syscall, si_arch): Define new macro.
1604 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1606 (si_call_addr, si_syscall, si_arch): Define new marcro.
1607 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1609 (si_call_addr, si_syscall, si_arch): Define new macro.
1610 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1612 (si_call_addr, si_syscall, si_arch): Define new macro.
1614 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1617 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1618 Change to 2.4.21 where previously 2.4.1.
1619 * sysdeps/unix/sysv/linux/configure: Regenerated.
1620 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1621 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1622 Linux kernel version.
1623 (__ASSUME_STD_AUXV): Remove.
1624 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1626 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1627 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1628 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1629 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1630 (__ASSUME_NETLINK_SUPPORT): Likewise.
1631 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1632 (__no_netlink_support): Remove conditional definition.
1633 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1635 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1636 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1637 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1638 (if_nameindex_ioctl): Remove.
1639 (if_nameindex_netlink): Do not handle __no_netlink_support.
1640 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1642 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1643 Remove conditional code.
1644 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1646 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1648 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1649 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1650 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1652 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1653 [!__ASSUME_STD_AUXV]: Remove conditional code.
1654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1655 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1656 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1658 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1659 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1661 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1663 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1664 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1666 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1668 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1671 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1674 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1676 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1678 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1680 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1683 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1685 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1688 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1690 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1692 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1694 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1697 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1699 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1701 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1703 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1706 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1708 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1709 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1710 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1711 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1712 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1713 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1714 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1715 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1716 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1717 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1718 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1719 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1720 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1721 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1722 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1723 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1724 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1725 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1726 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1727 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1728 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1729 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1730 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1732 2012-07-25 Florian Weimer <fweimer@redhat.com>
1734 * Versions.def: Add GLIBC_2.17.
1735 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1736 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1737 Introduce __libc_secure_getenv.
1738 * stdlib/Versions (2.17): Add secure_getenv
1739 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1740 * stdlib/secure-getenv.c: Rename __secure_getenv to
1741 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1742 symbol __secure_getenv for GLIBC_2.0.
1743 * stdlib/tst-secure-getenv.c: New.
1744 * stdlib/Makefile (tests): Add testcase.
1745 * manual/startup.texi (Environment Access): Document
1747 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1748 __libc_secure_getenv.
1749 * inet/ruserpass.c (ruserpass): Likewise.
1750 * malloc/mtrace.c (mtrace): Likewise.
1751 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1752 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1753 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1754 * sysdeps/posix/tempname.c: Likewise. Evaluate
1756 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1757 __secure_getenv to __libc_secure_getenv.
1758 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1765 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1771 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1773 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1774 (struct La_i86_retval): Likewise.
1775 (struct La_x86_64_regs): Likewise.
1776 (struct La_x86_64_retval): Likewise.
1777 (struct La_x32_regs): Likewise.
1778 (struct La_x32_retval): Likewise.
1779 (struct La_ppc32_regs): Likewise.
1780 (struct La_ppc32_retval): Likewise.
1781 (struct La_ppc64_regs): Likewise.
1782 (struct La_ppc64_retval): Likewise.
1783 (struct La_sh_regs): Likewise.
1784 (struct La_sh_retval): Likewise.
1785 (struct La_s390_32_regs): Likewise.
1786 (struct La_s390_32_retval): Likewise.
1787 (struct La_s390_64_regs): Likewise.
1788 (struct La_s390_64_retval): Likewise.
1789 (struct La_sparc32_regs): Likewise.
1790 (struct La_sparc32_retval): Likewise.
1791 (struct La_sparc64_regs): Likewise.
1792 (struct La_sparc64_retval): Likewise.
1793 (struct audit_ifaces): Remove architecture-specific pltenter and
1795 * sysdeps/i386/ldsodefs.h: New file.
1796 * sysdeps/powerpc/ldsodefs.h: Likewise.
1797 * sysdeps/s390/ldsodefs.h: Likewise.
1798 * sysdeps/sh/ldsodefs.h: Likewise.
1799 * sysdeps/sparc/ldsodefs.h: Likewise.
1800 * sysdeps/x86_64/ldsodefs.h: Likewise.
1802 2012-07-25 Marek Polacek <polacek@redhat.com>
1805 * math/libm-test.inc (yn_test): Add another test.
1806 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1807 to ERANGE when the result is +-Inf.
1808 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1809 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1810 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1811 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1813 2012-07-24 Joseph Myers <joseph@codesourcery.com>
1815 * conform/data/time.h-data (NULL): Use macro-constant. Require
1817 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1819 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1821 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1823 * configure.in <sysdeps resolving>: Correct printing
1825 * configure: Regenerate.
1827 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1829 * math/w_ilogb.c: Include <limits.h>.
1830 * math/w_ilogbl.c: Likewise.
1832 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1834 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1835 va_copy. Document allowing for unavailable va_copy only as
1836 pre-C99 compatibility.
1837 * manual/string.texi (Copying and Concatenation): Use va_copy
1838 instead of __va_copy in concat example.
1840 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1842 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1843 (__sendto): Use create_address_port. Initialize APORT and deallocate
1846 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1847 with O_NOLINK passed to __file_name_lookup.
1849 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1850 with O_NOLINK passed to __file_name_lookup.
1852 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1853 negative N or less than NGIDS.
1855 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1856 type to string_t. Set ERANGE as errno and return it if NAME is not big
1857 enough. Use memcpy instead of strncpy.
1859 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1861 * elf/Makefile (check-data): Remove.
1862 (localplt.data): New vpath directive.
1863 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1864 instead of $(check-data).
1865 * scripts/data/localplt-generic.data: Move to ...
1866 * sysdeps/generic/localplt.data: ... here.
1867 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1868 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1869 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1872 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1875 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1878 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1881 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1884 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1888 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1890 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1891 PPC32 and PPC64 files.
1892 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1893 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1895 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1897 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1898 __makecontext_ret to ...
1899 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1900 ... here and call exit if uc_link is NULL. New file.
1901 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1902 __makecontext_ret.S.
1903 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1904 __makecontext_ret to ...
1905 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1906 ... here and call exit if uc_link is NULL. New file.
1907 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1908 __makecontext_ret.S.
1910 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1912 * elf/elf.h (R_390_IRELATIVE): New definition.
1913 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1914 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1915 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1916 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1917 (elf_machine_lazy_rel): Likewise.
1918 * sysdeps/s390/dl-irel.h: New file.
1919 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1920 * sysdeps/s390/s390-64/memset.S: New asm code.
1921 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1922 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1923 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1924 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1925 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1926 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1927 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1928 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1929 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1930 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1931 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1932 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1933 * sysdeps/s390/s390-32/memset.S: New asm code.
1934 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1936 2012-07-17 Marek Polacek <polacek@redhat.com>
1939 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1940 * sysdeps/s390/s390-64/configure.in: Likewise.
1941 * sysdeps/sparc/configure.in: Likewise.
1942 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1943 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1944 * sysdeps/i386/configure.in: Likewise.
1945 * sysdeps/x86_64/configure.in: Likewise.
1946 * sysdeps/sh/configure.in: Likewise.
1947 * sysdeps/s390/s390-32/configure: Regenerated.
1948 * sysdeps/s390/s390-64/configure: Likewise.
1949 * sysdeps/x86_64/configure: Likewise.
1950 * sysdeps/sh/configure: Likewise.
1951 * sysdeps/powerpc/powerpc64/configure: Likewise.
1952 * sysdeps/powerpc/powerpc32/configure: Likewise.
1953 * sysdeps/sparc/configure: Likwise.
1954 * sysdeps/i386/configure: Likewise.
1956 * elf/dl-open.c: Comment fixes.
1958 2012-07-17 Joseph Myers <joseph@codesourcery.com>
1960 * Makefile [CXX] (check-data): Remove.
1961 [CXX] (c++-types.data): New vpath directive.
1962 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1963 vpath. Do not allow for C++ type data being missing.
1964 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1965 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1966 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1967 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1968 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1969 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1970 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1973 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1976 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1979 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1982 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1985 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1988 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1991 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1994 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1995 definitions to architecture-specific files.
1999 * sysdeps/i386/tls-macros.h: New file.
2000 * sysdeps/powerpc/tls-macros.h: Likewise.
2001 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2002 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2003 * sysdeps/sh/tls-macros.h: Likewise.
2004 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2005 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2006 * sysdeps/x86_64/tls-macros.h: Likewise.
2008 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2010 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2011 zero value for regular exit case.
2013 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2014 (__start_context): Preserve zero value for regular exit case.
2016 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2017 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2019 * manual/setjmp.texi (setcontext): Clarify normal process
2020 termination when uc_link is the null pointer.
2021 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2024 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2026 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2027 preprocessor. Test for each exception mask separately.
2029 2012-07-16 Andreas Jaeger <aj@suse.de>
2031 * po/ru.po: Update from translation team.
2033 2012-07-15 Joseph Myers <joseph@codesourcery.com>
2035 * conform/data/string.h-data (NULL): Use macro-constant. Require
2037 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2038 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2039 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2040 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2041 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2043 2012-07-13 Andreas Jaeger <aj@suse.de>
2045 * po/fr.po: Update from translation team.
2047 2012-07-12 Marek Polacek <polacek@redhat.com>
2050 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2051 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2054 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2057 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2058 Change to 2.4.1 where previously 2.4.0.
2059 * sysdeps/unix/sysv/linux/configure: Regenerated.
2060 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2061 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2063 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2064 (__ASSUME_AT_CLKTCK): Remove.
2065 (__ASSUME_AT_PAGESIZE): Likewise.
2066 (__ASSUME_AT_XID): Likewise.
2067 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2068 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2069 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2071 (HAVE_AUX_PAGESIZE): Likewise.
2072 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2073 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2074 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2076 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2080 the temporary buffer used to invoke __gethostbyname2_r,
2081 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2082 host_data / struct gaih_addrtuple.
2083 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2084 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2085 header file nss/nsswitch.h.
2086 * nss/nsswitch.h (global scope): Add definition of implementation
2087 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2088 resolv/nss_dns/dns-host.c).
2090 2012-07-11 Andreas Jaeger <aj@suse.de>
2092 * po/fr.po: Update from translation team.
2094 * po/sv.po: Update from translation team
2095 * po/fr.po: Another update from translation team.
2097 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2099 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2100 for subnormals or multiply small sinh result by itself.
2101 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2104 2012-07-11 David S. Miller <davem@davemloft.net>
2106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2108 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2111 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2112 (INTERNAL_MARK): Shift it here.
2114 2012-07-10 Marek Polacek <polacek@redhat.com>
2117 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2118 libc_cv_asm_global_directive with .globl.
2119 * configure: Regenerated.
2120 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2122 * sysdeps/i386/configure: Regenerated.
2123 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2125 * sysdeps/x86_64/configure: Regenerated.
2126 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2127 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2128 * elf/tst-unique2mod2.c: Likewise.
2129 * elf/tst-unique2mod1.c: Likewise.
2130 * elf/tst-unique1mod2.c: Likewise.
2131 * elf/tst-unique1mod1.c: Likewise.
2132 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2133 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2134 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2135 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2136 * sysdeps/mach/sysdep.h: Likewise.
2137 * sysdeps/i386/sysdep.h: Likewise.
2138 * sysdeps/i386/i386-mcount.S: Likewise.
2139 * sysdeps/x86_64/_mcount.S: Likewise.
2140 * sysdeps/x86_64/sysdep.h: Likewise.
2141 * sysdeps/sh/_mcount.S: Likewise.
2142 * sysdeps/sh/sysdep.h: Likewise.
2143 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2144 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2145 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2146 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2147 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2148 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2149 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2150 * locale/localeinfo.h: Likewise.
2151 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2152 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2154 2012-07-09 Roland McGrath <roland@hack.frob.com>
2157 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2159 * manual/message.texi (The Uniforum approach): Likewise.
2160 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2161 (glibc iconv Implementation): Likewise.
2163 2012-07-09 Joseph Myers <joseph@codesourcery.com>
2166 * math/s_clog.c (__clog): Avoid scaling a value down where that
2167 could result in underflow.
2168 * math/s_clog10.c (__clog10): Likewise.
2169 * math/s_clog10f.c (__clog10f): Likewise.
2170 * math/s_clog10l.c (__clog10l): Likewise.
2171 * math/s_clogf.c (__clogf): Likewise.
2172 * math/s_clogl.c (__clogl): Likewise.
2173 * math/libm-test.inc (clog_test): Add more tests.
2174 (clog10_test): Likewise.
2175 * sysdeps/i386/fpu/libm-test-ulps: Update.
2176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2178 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2181 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2182 by 7 not 8 to examine high bit of fractional part.
2185 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2186 for call to __mcount_internal.
2187 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2188 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2189 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2191 2012-07-06 Joseph Myers <joseph@codesourcery.com>
2194 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2195 approximation for values within 0x1p-13f of an odd multiple of
2197 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2198 exception. Add more tests.
2199 * sysdeps/i386/fpu/libm-test-ulps: Update.
2202 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2203 inputs and return -1 for them. Do not check for +Inf in case not
2205 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2206 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2207 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2208 and return -1 for them. Do not check for +Inf in case not
2210 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2212 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2213 and return -1 for them. Do not check for +Inf in case not
2215 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2217 * sysdeps/i386/fpu/libm-test-ulps: Update.
2218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2220 2012-07-06 Mike Frysinger <vapier@gentoo.org>
2222 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2224 2012-07-05 Joseph Myers <joseph@codesourcery.com>
2228 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2229 could result in spurious underflow. Scale down values above
2230 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2231 * math/s_csqrtf.c (__csqrtf): Likewise.
2232 * math/s_csqrtl.c (__csqrtl): Likewise.
2233 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2235 * sysdeps/i386/fpu/libm-test-ulps: Update.
2236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2238 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2240 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2242 * catgets/xopen-msg.awk: New file.
2243 * catgets/xopen-msg.sed: Removed.
2245 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2247 * intl/po2test.awk: New file.
2248 * intl/po2test.sed: Removed.
2250 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2253 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2254 or multiply small sinh result by itself.
2255 * math/s_ctanf.c (__ctanf): Likewise.
2256 * math/s_ctanh.c (__ctanh): Likewise.
2257 * math/s_ctanhf.c (__ctanhf): Likewise.
2258 * math/s_ctanhl.c (__ctanhl): Likewise.
2259 * math/s_ctanl.c (__ctanl): Likewise.
2260 * math/libm-test.inc (ctan_test_tonearest): New function.
2261 (ctan_test_towardzero): Likewise.
2262 (ctan_test_downward): Likewise.
2263 (ctan_test_upward): Likewise.
2264 (ctanh_test_tonearest): Likewise.
2265 (ctanh_test_towardzero): Likewise.
2266 (ctanh_test_downward): Likewise.
2267 (ctanh_test_upward): Likewise.
2268 (main): Call these new functions.
2269 * sysdeps/i386/fpu/libm-test-ulps: Update.
2270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2272 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2274 * .gitignore: Delete /ports entry.
2276 2012-07-03 Andreas Jaeger <aj@suse.de>
2278 * po/bg.po: Update from translation team.
2279 * po/cs.po: Likewise.
2280 * po/de.po: Likewise.
2281 * po/hr.po: Likewise.
2282 * po/nl.pl: Likewise.
2283 * po/pl.po: Likewise.
2284 * po/vi.po: Likewise.
2286 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2288 * Makeconfig [!+link] (+link-before-libc): New variable.
2289 [!+link] (+link-after-libc): Likewise.
2290 [!+link] (+link-tests): Likewise.
2291 [!+link] (+link): Define in terms of $(+link-before-libc) and
2292 $(+link-after-libc).
2293 [!+link-static] (+link-static-before-libc): New variable.
2294 [!+link-static] (+link-static-after-libc): Likewise.
2295 [!+link-static] (+link-static-tests): Likewise.
2296 [!+link-static] (+link-static): Define in terms of
2297 $(+link-static-before-libc) and $(+link-static-after-libc).
2298 [build-shared] (link-libc-before-gnulib): New variable.
2299 [build-shared] (link-libc-tests): Likewise.
2300 [build-shared] (link-libc): Define in terms of
2301 $(link-libc-before-gnulib).
2302 [!build-shared] (link-libc-tests): New variable.
2303 (link-libc-static-tests): New variable.
2304 [!gnulib] (gnulib-arch): New variable.
2305 [!gnulib] (gnulib-tests): Likewise.
2306 [!gnulib] (static-gnulib-arch): Likewise.
2307 [!gnulib] (static-gnulib-tests): Likewise.
2308 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2309 Define with "=" instead of ":=".
2310 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2311 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2312 * Rules (binaries-all-notests): New variable.
2313 (binaries-all-tests): Likewise.
2314 (binaries-static-notests): Likewise.
2315 (binaries-static-tests): Likewise.
2316 (binaries-all): Define using $(binaries-all-notests) and
2317 $(binaries-all-tests).
2318 (binaries-static): Define using $(binaries-static-notests) and
2319 $(binaries-static-tests).
2320 (binaries-shared-tests): New variable.
2321 (binaries-shared-notests): Likewise.
2322 (binaries-shared): Remove variable.
2323 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2324 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2325 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2326 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2327 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2328 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2329 * elf/Makefile (sln-modules): New variable.
2330 (extra-objs): Add $(sln-modules:=.o).
2331 (ldconfig-modules): Add static-stubs.
2332 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2333 * elf/static-stubs.c: New file.
2336 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2337 by 7 not 8 to examine high bit of fractional part. Use volatile
2338 variables when splitting into final array of floats if
2339 __FLT_EVAL_METHOD__ != 0.
2340 * math/libm-test.inc (cos_test): Add another test.
2341 (sin_test): Likewise.
2342 * sysdeps/i386/fpu/libm-test-ulps: Update.
2345 * math/libm-test.inc (cosh_test): Add more tests.
2347 * version.h (RELEASE): Set to "development".
2348 (VERSION): Set to "2.16.90".
2350 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2352 * NEWS: Update copyright. Remove last-updated date.
2353 Mention math library bug fixes and timezone data changes.
2354 * README: Mention GNU/Hurd, x32, and HPPA support status.
2356 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2358 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2360 2012-06-27 Andreas Jaeger <aj@suse.de>
2362 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2364 2012-06-25 Andreas Jaeger <aj@suse.de>
2366 * sysdeps/s390/fpu/libm-test-ulps: Update.
2368 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2369 Thomas Schwinge <thomas@codesourcery.com>
2371 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2372 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2373 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2376 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2378 * sysdeps/mach/start.c: Remove file.
2379 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2380 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2381 * sysdeps/sh/init-first.c: Likewise.
2383 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2384 registers for frame unwinding purposes, add CFI directives.
2385 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2386 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2387 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2390 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2391 __fortify_fail returning.
2392 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2394 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2395 sysdeps/sh/____longjmp_chk.S.
2396 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2397 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2398 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2399 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2401 * sysdeps/sh/abort-instr.h: New file.
2402 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2403 process in case exit returns.
2405 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2406 initialize the GOT register before use.
2408 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2409 calculation of ARGC > 4.
2411 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2412 meaningful names to some local labels.
2414 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2415 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2417 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2418 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2419 (__arch_compare_and_exchange_val_16_acq): Likewise.
2420 (__arch_compare_and_exchange_val_32_acq): Likewise.
2421 (atomic_exchange_and_add): Fix gUSA sequence.
2422 (atomic_add): Likewise.
2423 (atomic_add_negative): Likewise.
2424 (atomic_add_zero): Likewise.
2425 (atomic_bit_test_set): Likewise.
2427 2012-06-22 Andreas Schwab <schwab@redhat.com>
2430 * include/link.h (struct link_map): Add l_free_initfini.
2431 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2433 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2434 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2435 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2438 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2440 * configure.in: Use AC_LANG_SOURCE.
2441 * configure: Regenerate.
2443 2012-06-22 Roland McGrath <roland@hack.frob.com>
2445 * configure.in (libc_cv_localstatedir): New substituted variable.
2446 * configure: Regenerated.
2447 * config.make.in (localstatedir): New variable, substituted from
2448 libc_cv_localstatedir.
2449 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2450 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2451 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2452 * sysdeps/gnu/configure: Regenerated.
2454 2012-06-21 Jeff Law <law@redhat.com>
2457 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2458 free. Simplify list management for _LIBC case.
2460 2012-06-21 Joseph Myers <joseph@codesourcery.com>
2463 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2464 Clear sign bit of 64-bit integer value before comparing against
2467 * sysdeps/mach/configure: Regenerated.
2469 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2472 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2474 2012-06-21 Jeff Law <law@redhat.com>
2477 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2478 uint16_t for elements in the "seen" array to avoid char overflows.
2479 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2480 * elf/dl-open.c (dl_open_worker): Likewise.
2482 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2484 * scripts/list-sources.sh: Scan PORTS for translations.
2485 * po/libc.pot: Regenerated.
2487 2012-06-21 Andreas Jaeger <aj@suse.de>
2490 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2492 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2493 * bits/byteswap-16.h (__bswap_16): Likewise.
2494 * bits/byteswap.h (__bswap_constant_16): Likewise.
2496 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2499 * sysdeps/i386/fpu_control.h: Removed.
2500 * sysdeps/x86_64/fpu_control.h: Moved to ...
2501 * sysdeps/x86/fpu_control.h: Here.
2503 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2504 (_FPU_SETCW): Likewise.
2506 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2509 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2510 * sysdeps/x86/fpu/bits/mathinline.h: This.
2511 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2515 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2516 functions if __x86_64__ is defined.
2518 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2520 * string/endian.h: Add !__ASSEMBLER__ condition for including
2521 conversion interfaces.
2523 2012-06-15 Joseph Myers <joseph@codesourcery.com>
2526 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2527 of ABS(x) in calculating zero to negative powers other than odd
2529 * math/libm-test.inc (pow_test): Add more tests.
2531 2012-06-15 Andreas Jaeger <aj@suse.de>
2533 * manual/contrib.texi (Contributors): Update entry of Liubov
2534 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2537 2012-06-15 Cyril Hrubis <metan@ucw.cz>
2539 * string/string.h: Add __wur to GNU version of strerror_r.
2541 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2544 * string/Makefile (tests): Add tst-strtok_r.
2545 * string/tst-strtok_r.c: New file.
2546 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2547 RAX_LP/RDX_LP on SAVE_PTR.
2549 2012-06-14 Roland McGrath <roland@hack.frob.com>
2551 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2553 2012-06-14 Joseph Myers <joseph@codesourcery.com>
2555 * libm_test.inc (csqrt_test): Allow more spurious underflow
2557 (j0_test): Likewise.
2558 (j1_test): Likewise.
2559 (y0_test): Likewise.
2560 (y1_test): Likewise.
2562 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2564 * po/Makefile (libc.pot): Use UTF-8 charset.
2566 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2569 Suppress sign-conversion warning from FD_SET.
2570 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2571 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2572 not unsigned long int.
2573 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2575 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2579 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2580 __extern_always_inline instead of __extern_inline.
2581 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2582 (__signbit): Likewise.
2583 (__signbitl): Support C++ namespace.
2584 (lrintf): New inline function.
2586 (llrintf): Likewise.
2598 (nearbyint): Likewise.
2599 (nearbyintf): Likewise.
2601 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2603 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2604 non-default versions.
2606 2012-06-11 Roland McGrath <roland@hack.frob.com>
2609 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2611 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2613 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2614 (FE_UPWARD, FE_DOWNWARD): Don't define.
2615 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2616 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2618 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2620 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2621 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2623 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2625 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2626 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2627 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2628 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2630 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2633 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2634 * sysdeps/i386/fpu/Implies: New file.
2635 * sysdeps/x86_64/fpu/Implies: Likewise.
2636 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2637 * sysdeps/x86/fpu/bits/fenv.h: This.
2639 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2642 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2645 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2646 character 0xffff that matches the last element of the
2649 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2651 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2654 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2656 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2657 values higher than 25.6283.
2659 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2661 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2662 subnormal exponent extraction and add some __builtin_expect.
2663 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2664 Fix for subnormal mantissa calculation.
2666 2012-06-04 Mike Frysinger <vapier@gentoo.org>
2668 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2669 cpu2 is -1 and errno is not ENOSYS.
2671 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2674 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2675 * sysdeps/x86/bits/string.h: This.
2676 * sysdeps/x86_64/bits/string.h: Removed.
2678 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2679 if not compiling for x86-64, but compiling for >= i486.
2681 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2682 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2684 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2685 New macro from Linux kernel 3.4.0.
2686 (FP_XSTATE_MAGIC2): Likewise.
2687 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2688 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2689 (struct _fpx_sw_bytes): New struct.
2690 (struct _xsave_hdr): Likewise.
2691 (struct _ymmh_state): Likewise.
2692 (struct _xstate): Likewise.
2694 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2695 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2696 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2697 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2698 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2699 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2701 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2702 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2703 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2704 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2705 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2706 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2708 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2711 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2712 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2713 (sysdep_headers): Include sys/platform/ppc.h.
2714 * sysdeps/powerpc/test-gettimebase.c: Test for
2715 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2716 * manual/Makefile (appendices): Include platform.texi.
2717 * manual/contrib.texi (Contributors): Update @node pointers.
2718 * manual/maint.texi (Maintenance): Likewise.
2719 (Platform): New node.
2720 * manual/platform.texi: New file. Document the new features.
2722 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2723 Jakub Jelinek <jakub@redhat.com>
2726 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2727 where __builtin_expect is unavailable.
2729 2012-06-03 David S. Miller <davem@davemloft.net>
2731 * stdlib/longlong.h: Updated from GCC.
2733 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2736 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2737 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2740 (GLIBC_2.16): Likewise.
2742 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2744 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2746 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2749 (default-abi): New variable.
2750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2751 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2753 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2755 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2757 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2760 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2761 definition. Document in comment.
2763 2012-06-01 David S. Miller <davem@davemloft.net>
2765 * stdlib/longlong.h: Updated from GCC.
2767 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2770 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2771 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2772 sys/debugreg.h sys/io.h here.
2773 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2774 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2776 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2777 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2778 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2779 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2780 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2781 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2783 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2784 Define only if __x86_64__ is defined.
2786 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2789 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2790 Use int64_t for variable i.
2791 * math/libm-test.inc (fmod_test): Add more tests.
2793 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2794 z computation is not scheduled after fetestexcept.
2795 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2796 Use math_force_eval instead of asm to ensure calculation scheduled
2797 before exception test.
2798 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2799 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2801 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2803 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2804 computation is not scheduled after fetestexcept.
2806 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2809 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2810 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2812 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2814 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2815 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2817 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2820 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2822 (__WCHAR_MIN): Support __WORDSIZE == 64.
2823 (__WCHAR_MAX): Likewise.
2825 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2826 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2829 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2830 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2833 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2834 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2836 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2837 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2839 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2840 Defined to 1 if __x86_64__ isn't defined.
2841 (_STAT_VER_LINUX_OLD): New.
2842 (st_atime): Remove duplicate.
2843 (st_mtime): Likewise.
2844 (st_ctime): Likewise.
2846 2012-05-31 David S. Miller <davem@davemloft.net>
2848 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2851 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2853 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2857 * elf/dl-reloc.c: Include <_itoa.h>.
2858 (_dl_reloc_bad_type): Remove use of INTUSE.
2859 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2860 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2861 * stdio-common/psiginfo.c (psiginfo): Likewise.
2862 * stdio-common/psignal.c (psignal): Likewise.
2863 * string/strsignal.c (strsignal): Likewise.
2864 * include/signal.h (_sys_siglist): Declare hidden proto.
2865 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2866 INTVARDEF with libc_hidden_data_def.
2867 * stdio-common/itoa-udigits.c: Likewise.
2868 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2869 (_itoa_lower_digits_internal): Remove declaration.
2870 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2871 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2872 (_sys_sigabbrev_internal): Remove aliases.
2873 (_sys_siglist): Define hidden alias.
2875 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2880 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2883 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2884 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2886 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2887 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2888 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2889 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2890 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2891 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2893 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2894 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2895 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2897 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2905 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2906 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2907 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2909 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2910 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2911 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2912 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2913 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2914 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2916 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2917 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2919 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2920 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2922 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2923 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2924 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2926 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2927 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2929 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2931 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2932 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2933 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2935 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2937 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2939 2012-05-31 Joseph Myers <joseph@codesourcery.com>
2941 * math/math.h (M_El): Use two more decimal places.
2942 (M_LOG2El): Likewise.
2943 (M_LOG10El): Likewise.
2945 (M_LN10l): Likewise.
2947 (M_PI_2l): Likewise.
2948 (M_PI_4l): Likewise.
2949 (M_1_PIl): Likewise.
2950 (M_2_PIl): Likewise.
2951 (M_2_SQRTPIl): Likewise.
2952 (M_SQRT2l): Likewise.
2953 (M_SQRT1_2l): Likewise.
2955 2012-05-31 David S. Miller <davem@davemloft.net>
2957 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2958 values between float registers.
2959 * sysdeps/sparc/sparc64/memset.S: Likewise.
2960 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2962 2012-05-31 Mike Frysinger <vapier@gentoo.org>
2964 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2965 -D_FORTIFY_SOURCE=1.
2966 (CPPFLAGS-tst-longjmp_chk.c): Define.
2967 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2968 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2969 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2970 CFLAGS-tst-wchar-h.c.
2972 2012-05-31 Marek Polacek <polacek@redhat.com>
2975 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2976 __endmntent_internal): Remove declaration.
2977 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2978 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2979 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2981 2012-05-30 David S. Miller <davem@davemloft.net>
2983 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2984 (___Q_simulate_exceptions): Use real FP ops rather than writing
2986 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2989 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2992 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2993 * sysdeps/x86/bits/xtitypes.h: This.
2995 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2996 * sysdeps/x86/bits/wordsize.h: This.
2998 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2999 * sysdeps/x86/bits/huge_vall.h: This.
3001 * sysdeps/i386/bits/select.h: Removed.
3002 * sysdeps/x86_64/bits/select.h: Renamed to ...
3003 * sysdeps/x86/bits/select.h: This.
3005 * sysdeps/i386/bits/setjmp.h: Removed.
3006 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3007 * sysdeps/x86/bits/setjmp.h: This.
3009 * sysdeps/i386/bits/mathdef.h: Removed.
3010 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3011 * sysdeps/x86/bits/mathdef.h: This.
3013 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3016 * include/sys/socket.h (__connect_internal)
3017 (__libc_sa_len_internal): Remove declaration.
3018 (__connect, __libc_sa_len): Declare hidden_proto.
3019 (SA_LEN): Remove use of INTUSE.
3020 * socket/connect.c: Add libc_hidden_def.
3021 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3022 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3023 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3025 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3026 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3027 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3028 of adding _internal alias.
3030 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3033 * sysdeps/i386/bits/link.h: Removed.
3034 * sysdeps/i386/bits/linkmap.h: Likewise.
3035 * sysdeps/x86_64/bits/link.h: Renamed to ...
3036 * sysdeps/x86/bits/link.h: This.
3037 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3038 * sysdeps/x86/bits/linkmap.h: This.
3040 * sysdeps/i386/bits/endian.h: Removed.
3041 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3042 * sysdeps/x86/bits/endian.h: This.
3044 * sysdeps/i386/bits/byteswap.h: Removed.
3045 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3046 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3047 * sysdeps/x86/bits/byteswap.h: This.
3048 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3049 * sysdeps/x86/bits/byteswap-16.h: This.
3050 * sysdeps/i386/Implies: Add x86.
3051 * sysdeps/x86_64/Implies: Likewise.
3053 2012-05-30 David S. Miller <davem@davemloft.net>
3055 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3056 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3057 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3058 (FP_TRAPPING_EXCEPTIONS): Define.
3059 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3060 (FP_TRAPPING_EXCEPTIONS): Define.
3061 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3062 subnormals only when inexact has been signalled or underflow
3063 exceptions are enabled.
3064 (_FP_PACK_CANONICAL): Likewise.
3066 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3069 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3070 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3072 2012-05-30 Richard Henderson <rth@twiddle.net>
3074 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3075 with #ifndef NOT_IN_libc.
3077 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3078 marked to avoid plt entry.
3080 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3083 * Makeconfig (default-abi): New macro.
3084 (abi-includes): Likewise.
3085 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3086 $(abi-$(default-abi)-lib-soname) for soname if defined.
3087 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3089 * Makefile (installed-stubs): Likewise.
3090 * include/stubs-biarch.h: Removed.
3091 * scripts/lib-names.awk: Only handle one library at a time.
3092 * scripts/soversions.awk: Remove WORDSIZE support.
3093 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3095 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3097 (syscall-list-default-condition): Likewise.
3098 (syscall-list-default-condition): Likewise.
3099 (syscall-list-includes): Likewise.
3100 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3101 syscall-list-* with abi-*. Handle undefined abi-variants.
3102 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3103 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3104 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3105 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3106 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3107 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3109 (syscall-list-32-options): Likewise.
3110 (syscall-list-32-condition): Likewise.
3111 (syscall-list-64-options): Likewise.
3112 (syscall-list-64-condition): Likewise.
3113 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3115 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3118 (abi-64-ld-soname): New macro.
3119 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3120 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3123 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3124 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3126 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3128 * sysdeps/unix/sysv/linux/kernel-features.h
3129 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3130 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3131 include <kernel-features.h>.
3132 [!__NR_ftruncate64]: Remove conditional code.
3133 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3134 [__NR_ftruncate64]: Make code unconditional.
3135 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3136 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3137 include <kernel-features.h>.
3138 [!__NR_ftruncate64]: Remove conditional code.
3139 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3140 [__NR_ftruncate64]: Make code unconditional.
3141 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3143 include <kernel-features.h>.
3144 [!__NR_ftruncate64]: Remove conditional code.
3145 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3146 [__NR_ftruncate64]: Make code unconditional.
3147 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3149 include <kernel-features.h>.
3150 [!__NR_ftruncate64]: Remove conditional code.
3151 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3152 [__NR_ftruncate64]: Make code unconditional.
3153 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3155 * configure.in (libc_cv_fpie): Weaken to a compile test using
3157 * configure: Regenerated.
3159 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3174 2012-05-27 David S. Miller <davem@davemloft.net>
3176 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3178 (__Q_simulate_exceptions): Return void. Change to simulate
3179 exceptions by writing into the %fsr.
3180 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3181 (__Qp_handle_exceptions): Likewise.
3183 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3184 __Qp_handle_exceptions.
3185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3186 __Qp_handle_exceptions.
3187 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3188 as unused and give dummy FP_RND_NEAREST initializer.
3189 (FP_INHIBIT_RESULTS): Define.
3190 (___Q_simulate_exceptions): Update declaration.
3191 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3193 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3194 as unused and give dummy FP_RND_NEAREST initializer.
3195 (__Qp_handle_exceptions): Update declaration.
3196 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3199 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3201 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3202 the temporary FPU control word.
3203 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3204 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3205 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3206 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3207 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3208 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3209 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3210 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3211 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3212 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3213 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3215 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3217 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3220 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3222 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3223 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3224 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3225 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3227 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3228 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3231 2012-05-27 Ulrich Drepper <drepper@gmail.com>
3233 * po/h.po: Update from translation team.
3235 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3237 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3239 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3240 handling of denormals.
3241 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3242 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3243 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3244 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3245 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3246 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3247 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3250 2012-05-26 Marek Polacek <polacek@redhat.com>
3253 * math/libm-test.inc (fma_test): Don't always expect underflow
3256 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3259 * elf/tst-execstack.c: Include stackinfo.h.
3260 (do_test): Adjust test case to ensure that pthread_getattr_np
3261 behaviour remains the same after marking stack executable.
3263 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3265 * sysdeps/unix/sysv/linux/kernel-features.h
3266 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3267 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3269 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3270 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3271 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3273 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3274 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3276 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3278 * configure.in: Define the default includes to being none.
3279 * configure: Regenerated.
3281 2012-05-25 Roland McGrath <roland@hack.frob.com>
3283 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3284 * sysdeps/x86_64/setjmp.S: Likewise.
3285 * sysdeps/i386/bsd-setjmp.S: Likewise.
3286 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3287 * sysdeps/i386/setjmp.S: Likewise.
3288 * sysdeps/i386/__longjmp.S: Likewise.
3289 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3290 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3292 * include/stap-probe.h: New file.
3293 * configure.in: Handle --enable-systemtap.
3294 * configure: Regenerated.
3295 * config.h.in (USE_STAP_PROBE): New #undef.
3296 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3297 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3298 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3300 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3303 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3304 to 2.4.0 where earlier.
3305 * sysdeps/unix/sysv/linux/configure: Regenerated.
3306 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3307 <kernel-features.h>.
3308 [__ASSUME_32BITUIDS]: Make code unconditional.
3309 [!__ASSUME_32BITUIDS]: Remove conditional code.
3310 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3311 <kernel-features.h>.
3312 [__ASSUME_32BITUIDS]: Make code unconditional.
3313 [!__ASSUME_32BITUIDS]: Remove conditional code.
3314 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3315 [__ASSUME_32BITUIDS]: Make code unconditional.
3316 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3317 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3318 <kernel-features.h>.
3319 [__ASSUME_32BITUIDS]: Make code unconditional.
3320 [!__ASSUME_32BITUIDS]: Remove conditional code.
3321 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3322 <kernel-features.h>.
3323 [__ASSUME_32BITUIDS]: Make code unconditional.
3324 [!__ASSUME_32BITUIDS]: Remove conditional code.
3325 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3326 <kernel-features.h>.
3327 [__ASSUME_32BITUIDS]: Make code unconditional.
3328 [!__ASSUME_32BITUIDS]: Remove conditional code.
3329 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3330 <kernel-features.h>.
3331 [__ASSUME_32BITUIDS]: Make code unconditional.
3332 [!__ASSUME_32BITUIDS]: Remove conditional code.
3333 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3334 <kernel-features.h>.
3335 [__ASSUME_32BITUIDS]: Make code unconditional.
3336 [!__ASSUME_32BITUIDS]: Remove conditional code.
3337 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3338 <kernel-features.h>.
3339 [__ASSUME_32BITUIDS]: Make code unconditional.
3340 [!__ASSUME_32BITUIDS]: Remove conditional code.
3341 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3342 <kernel-features.h>.
3343 [__ASSUME_32BITUIDS]: Make code unconditional.
3344 [!__ASSUME_32BITUIDS]: Remove conditional code.
3345 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3346 <kernel-features.h>.
3347 [__ASSUME_32BITUIDS]: Make code unconditional.
3348 [!__ASSUME_32BITUIDS]: Remove conditional code.
3349 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3350 <kernel-features.h>.
3351 [__ASSUME_32BITUIDS]: Make code unconditional.
3352 [!__ASSUME_32BITUIDS]: Remove conditional code.
3353 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3354 <kernel-features.h>.
3355 [__ASSUME_32BITUIDS]: Make code unconditional.
3356 [!__ASSUME_32BITUIDS]: Remove conditional code.
3357 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3358 <kernel-features.h>.
3359 [__NR_setresgid] (__setresgid): Do not declare.
3360 [__ASSUME_32BITUIDS]: Make code unconditional.
3361 [!__ASSUME_32BITUIDS]: Remove conditional code.
3362 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3363 <kernel-features.h>.
3364 [__NR_setresuid] (__setresuid): Do not declare.
3365 [__ASSUME_32BITUIDS]: Make code unconditional.
3366 [!__ASSUME_32BITUIDS]: Remove conditional code.
3367 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3368 <kernel-features.h>.
3369 [__ASSUME_32BITUIDS]: Make code unconditional.
3370 [!__ASSUME_32BITUIDS]: Remove conditional code.
3371 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3372 <kernel-features.h>.
3373 [__ASSUME_32BITUIDS]: Make code unconditional.
3374 [!__ASSUME_32BITUIDS]: Remove conditional code.
3375 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3376 <kernel-features.h>.
3377 [__ASSUME_32BITUIDS]: Make code unconditional.
3378 [!__ASSUME_32BITUIDS]: Remove conditional code.
3379 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3380 <kernel-features.h>.
3381 [__ASSUME_32BITUIDS]: Make code unconditional.
3382 [!__ASSUME_32BITUIDS]: Remove conditional code.
3383 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3384 <kernel-features.h>.
3385 [__ASSUME_32BITUIDS]: Make code unconditional.
3386 [!__ASSUME_32BITUIDS]: Remove conditional code.
3387 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3388 <kernel-features.h>.
3389 [__ASSUME_32BITUIDS]: Make code unconditional.
3390 [!__ASSUME_32BITUIDS]: Remove conditional code.
3391 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3392 <kernel-features.h>.
3393 [__ASSUME_32BITUIDS]: Make code unconditional.
3394 [!__ASSUME_32BITUIDS]: Remove conditional code.
3395 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3396 <kernel-features.h>.
3397 [__ASSUME_32BITUIDS]: Make code unconditional.
3398 [!__ASSUME_32BITUIDS]: Remove conditional code.
3399 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3400 <kernel-features.h>.
3401 [__ASSUME_32BITUIDS]: Make code unconditional.
3402 [!__ASSUME_32BITUIDS]: Remove conditional code.
3403 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3404 <kernel-features.h>.
3405 [__ASSUME_32BITUIDS]: Make code unconditional.
3406 [!__ASSUME_32BITUIDS]: Remove conditional code.
3407 * sysdeps/unix/sysv/linux/kernel-features.h
3408 (__ASSUME_SETRESUID_SYSCALL): Remove.
3409 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3410 (__ASSUME_32BITUIDS): Likewise.
3411 (__ASSUME_LDT_WORKS): Likewise.
3412 (__ASSUME_O_DIRECTORY): Likewise.
3413 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3414 architecture but not kernel version.
3415 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3416 (__ASSUME_MMAP2_SYSCALL): Likewise.
3417 (__ASSUME_STAT64_SYSCALL): Likewise.
3418 (__ASSUME_IPC64): Likewise.
3419 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3420 <kernel-features.h>.
3421 [__ASSUME_32BITUIDS]: Make code unconditional.
3422 [!__ASSUME_32BITUIDS]: Remove conditional code.
3423 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3424 <kernel-features.h>.
3425 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3426 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3427 132096]: Remove conditional code.
3428 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3429 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3430 <kernel-features.h>.
3431 [__ASSUME_32BITUIDS]: Make code unconditional.
3432 [!__ASSUME_32BITUIDS]: Remove conditional code.
3433 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3434 <kernel-features.h>.
3435 [__ASSUME_32BITUIDS]: Make code unconditional.
3436 [!__ASSUME_32BITUIDS]: Remove conditional code.
3437 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3438 <kernel-features.h>.
3439 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3441 (__setresgid): Do not declare.
3442 [__ASSUME_32BITUIDS]: Make code unconditional.
3443 [!__ASSUME_32BITUIDS]: Remove conditional code.
3444 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3445 <kernel-features.h>.
3446 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3448 (__setresuid): Do not declare.
3449 [__ASSUME_32BITUIDS]: Make code unconditional.
3450 [!__ASSUME_32BITUIDS]: Remove conditional code.
3451 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3452 <kernel-features.h>.
3453 [__ASSUME_32BITUIDS]: Make code unconditional.
3454 [!__ASSUME_32BITUIDS]: Remove conditional code.
3455 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3456 <kernel-features.h>.
3457 [__ASSUME_32BITUIDS]: Make code unconditional.
3458 [!__ASSUME_32BITUIDS]: Remove conditional code.
3460 2012-05-25 Richard Henderson <rth@twiddle.net>
3462 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3463 dl_hwcap to ifunc resolver.
3464 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3466 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3467 dl_hwcap to ifunc resolver.
3468 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3470 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3473 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3474 for |x| <= 2**-26, not 2**-57.
3475 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3478 2012-05-24 Jeff Law <law@redhat.com>
3480 * stdio-common/Makefile (tests): Add bug25.
3481 * stdio-common/bug25.c: New test.
3483 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3486 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3487 multiple of MALLOC_ALIGNMENT in size.
3488 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3490 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3492 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3494 (FILENAME_MAX): Use macro-int-constant.
3495 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3496 (_IOFBF): Use macro-int-constant.
3499 (SEEK_CUR): Likewise.
3500 (SEEK_END): Likewise.
3501 (SEEK_SET): Likewise.
3502 (TMP_MAX): Likewise.
3503 (EOF): Use macro-int-constant. Require < 0.
3504 (NULL): Use macro-constant. Require == 0.
3505 (stdin): Require type to be FILE *.
3508 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3510 (EXIT_SUCCESS): Likewise.
3511 (NULL): Use macro-constant. Require == 0.
3512 (RAND_MAX): Use macro-int-constant.
3513 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3514 [C99-based standards] (strtof): Require function.
3515 [C99-based standards] (strtold): Likewise.
3516 [C99-based standards] (strtoll): Likewise.
3517 [C99-based standards] (strtoull): Likewise.
3518 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3519 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3520 [ISO || ISO99 || ISO11] (math.h): Likewise.
3521 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3522 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3523 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3525 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3528 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3529 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3530 * intl/dgettext.c (DCGETTEXT): Likewise.
3531 * intl/gettext.c (DCGETTEXT): Likewise.
3532 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3533 * posix/regex_internal.h (gettext): Likewise.
3534 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3536 * include/argz.h (__argz_count_internal)
3537 (__argz_stringify_internal): Remove declaration.
3538 (__argz_count, __argz_stringify): Declare hidden proto.
3539 * intl/dcgettext.c: Remove use of INTDEF.
3540 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3541 * string/argz-stringify.c: Likewise.
3542 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3543 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3544 Declare hidden proto.
3545 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3546 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3547 Declare hidden proto.
3548 * include/stdio.h (__asprintf_internal): Don't declare.
3549 (__asprintf): Don't define as macro. Declare hidden proto.
3550 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3551 (__fsetlocking): Declare hidden proto.
3552 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3553 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3555 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3556 (_IO_setlinebuf): Remove use of INTUSE.
3557 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3558 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3559 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3561 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3562 (_IO_do_flush): Remove use of INTUSE.
3563 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3564 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3565 (_IO_adjust_column, _IO_least_wmarker)
3566 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3567 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3568 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3569 (_IO_default_doallocate, _IO_wdefault_doallocate)
3570 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3571 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3572 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3573 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3574 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3575 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3576 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3577 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3578 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3579 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3580 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3581 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3582 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3584 (_IO_flush_all_internal, _IO_adjust_column_internal)
3585 (_IO_default_uflow_internal, _IO_default_finish_internal)
3586 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3587 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3588 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3589 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3590 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3591 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3592 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3593 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3594 (_IO_file_close_internal, _IO_file_close_it_internal)
3595 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3596 (_IO_file_init_internal, _IO_file_attach_internal)
3597 (_IO_file_fopen_internal, _IO_file_read_internal)
3598 (_IO_file_sync_internal, _IO_file_seek_internal)
3599 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3600 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3601 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3602 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3603 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3604 (_IO_list_all_internal, _IO_link_in_internal)
3605 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3606 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3607 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3608 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3609 (_IO_do_write_internal, _IO_padn_internal)
3610 (_IO_getline_info_internal, _IO_getline_internal)
3611 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3612 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3613 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3614 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3615 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3616 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3617 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3618 with libc_hidden_ver, remove use of INTUSE.
3619 * libio/genops.c: Likewise.
3620 * libio/freopen.c: Likewise.
3621 * libio/freopen64.c: Likewise.
3622 * libio/iofclose.c: Likewise.
3623 * libio/iofdopen.c: Likewise.
3624 * libio/iofflush.c: Likewise.
3625 * libio/iofflush_u.c: Likewise.
3626 * libio/iofgets.c: Likewise.
3627 * libio/iofgets_u.c: Likewise.
3628 * libio/iofopen.c: Likewise.
3629 * libio/iofopncook.c: Likewise.
3630 * libio/iofread.c: Likewise.
3631 * libio/iofread_u.c: Likewise.
3632 * libio/ioftell.c: Likewise.
3633 * libio/iofwrite.c: Likewise.
3634 * libio/iogetline.c: Likewise.
3635 * libio/iogets.c: Likewise.
3636 * libio/iogetwline.c: Likewise.
3637 * libio/iopadn.c: Likewise.
3638 * libio/iopopen.c: Likewise.
3639 * libio/ioseekoff.c: Likewise.
3640 * libio/ioseekpos.c: Likewise.
3641 * libio/iosetbuffer.c: Likewise.
3642 * libio/iosetvbuf.c: Likewise.
3643 * libio/ioungetc.c: Likewise.
3644 * libio/ioungetwc.c: Likewise.
3645 * libio/iovdprintf.c: Likewise.
3646 * libio/iovsprintf.c: Likewise.
3647 * libio/iovsscanf.c: Likewise.
3648 * libio/memstream.c: Likewise.
3649 * libio/obprintf.c: Likewise.
3650 * libio/oldfileops.c: Likewise.
3651 * libio/oldiofclose.c: Likewise.
3652 * libio/oldiofdopen.c: Likewise.
3653 * libio/oldiofopen.c: Likewise.
3654 * libio/oldiopopen.c: Likewise.
3655 * libio/oldstdfiles.c: Likewise.
3656 * libio/putc.c: Likewise.
3657 * libio/setbuf.c: Likewise.
3658 * libio/setlinebuf.c: Likewise.
3659 * libio/stdfiles.c: Likewise.
3660 * libio/strops.c: Likewise.
3661 * libio/vasprintf.c: Likewise.
3662 * libio/vscanf.c: Likewise.
3663 * libio/vsnprintf.c: Likewise.
3664 * libio/vswprintf.c: Likewise.
3665 * libio/wfiledoalloc.c: Likewise.
3666 * libio/wfileops.c: Likewise.
3667 * libio/wgenops.c: Likewise.
3668 * libio/wmemstream.c: Likewise.
3669 * libio/wstrops.c: Likewise.
3670 * libio/__fpurge.c: Likewise.
3671 * libio/__fsetlocking.c: Likewise.
3672 * assert/assert.c: Likewise.
3673 * debug/fgets_chk.c: Likewise.
3674 * debug/fgets_u_chk.c: Likewise.
3675 * debug/fread_chk.c: Likewise.
3676 * debug/fread_u_chk.c: Likewise.
3677 * debug/gets_chk.c: Likewise.
3678 * debug/obprintf_chk.c: Likewise.
3679 * debug/vasprintf_chk.c: Likewise.
3680 * debug/vdprintf_chk.c: Likewise.
3681 * debug/vsnprintf_chk.c: Likewise.
3682 * debug/vsprintf_chk.c: Likewise.
3683 * malloc/mtrace.c: Likewise.
3684 * misc/error.c: Likewise.
3685 * misc/syslog.c: Likewise.
3686 * stdio-common/asprintf.c: Likewise.
3687 * stdio-common/fxprintf.c: Likewise.
3688 * stdio-common/getw.c: Likewise.
3689 * stdio-common/isoc99_fscanf.c: Likewise.
3690 * stdio-common/isoc99_scanf.c: Likewise.
3691 * stdio-common/isoc99_vfscanf.c: Likewise.
3692 * stdio-common/isoc99_vscanf.c: Likewise.
3693 * stdio-common/isoc99_vsscanf.c: Likewise.
3694 * stdio-common/printf-prs.c: Likewise.
3695 * stdio-common/printf_fp.c: Likewise.
3696 * stdio-common/printf_fphex.c: Likewise.
3697 * stdio-common/printf_size.c: Likewise.
3698 * stdio-common/putw.c: Likewise.
3699 * stdio-common/scanf.c: Likewise.
3700 * stdio-common/sprintf.c: Likewise.
3701 * stdio-common/tmpfile.c: Likewise.
3702 * stdio-common/vfprintf.c: Likewise.
3703 * stdio-common/vfscanf.c: Likewise.
3704 * stdlib/strfmon_l.c: Likewise.
3705 * sunrpc/openchild.c: Likewise.
3706 * sunrpc/xdr_stdio.c: Likewise.
3707 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3708 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3710 2012-05-24 Roland McGrath <roland@hack.frob.com>
3712 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3714 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3715 in the third column, to generate for the shared library an IFUNC
3716 that uses _dl_vdso_vsym.
3717 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3718 * Makeconfig (object-suffixes-noshared): New variable.
3720 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3721 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3722 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3723 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3726 * include/sys/time.h (__gettimeofday): Remove macro.
3727 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3728 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3730 (__gettimeofday): Add libc_hidden_def.
3731 (gettimeofday): Add libc_hidden_weak.
3732 * sysdeps/mach/gettimeofday.c: Likewise.
3733 * sysdeps/posix/gettimeofday.c: Likewise.
3734 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3735 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3736 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3737 (__gettimeofday_internal): Remove strong_alias.
3738 (__gettimeofday): Add libc_hidden_def.
3739 (gettimeofday): Add libc_hidden_weak.
3740 * sysdeps/unix/syscalls.list (gettimeofday):
3741 Remove __gettimeofday_internal alias.
3743 2012-05-24 Daniel Jacobowitz <drow@false.org>
3744 H.J. Lu <hongjiu.lu@intel.com>
3747 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3748 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3749 (largebin_index_32_big): New.
3750 (largebin_index): Use it for 16-byte alignment.
3751 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3752 correction with front_misalign.
3754 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3782 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3783 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3785 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3789 * math/libm-test.inc (exp_test): Add test from bug 14036.
3790 (pow_test): Add test from bug 10846.
3792 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3794 (special_function): Do not include flags in test name.
3795 (parse_args): Likewise.
3796 * sysdeps/i386/fpu/libm-test-ulps: Update.
3797 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3798 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3799 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3802 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3804 * math/libm-test.inc ("Philosophy"): Update comment about
3806 (UNDERFLOW_EXCEPTION): New macro.
3807 (UNDERFLOW_EXCEPTION_OK): Likewise.
3808 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3809 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3810 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3811 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3812 (INVALID_EXCEPTION_OK): Update value.
3813 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3814 (OVERFLOW_EXCEPTION_OK): Likewise.
3815 (IGNORE_ZERO_INF_SIGN): Likewise.
3816 (test_exceptions): Handle underflow exceptions.
3817 (acos_test): Update for underflow exception expectations.
3818 (cexp_test): Likewise.
3819 (clog_test): Likewise.
3820 (clog10_test): Likewise.
3821 (csqrt_test): Likewise.
3822 (ctan_test): Likewise.
3823 (ctanh_test): Likewise.
3824 (exp_test): Likewise.
3825 (exp10_test): Likewise.
3826 (exp2_test): Likewise.
3827 (expm1_test): Likewise.
3828 (fma_test): Likewise.
3829 (j0_test): Likewise.
3830 (jn_test): Likewise.
3831 (nexttoward_test): Likewise.
3832 (pow_test): Likewise.
3833 (scalbn_test): Likewise.
3834 (scalbln_test): Likewise.
3835 (tan_test): Likewise.
3836 (y1_test): Likewise.
3837 * sysdeps/i386/fpu/libm-test-ulps: Update.
3838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3840 2012-05-23 David S. Miller <davem@davemloft.net>
3842 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3843 (__libc_sigaction): Remove unused local variables.
3845 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3847 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3849 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3851 mktime: avoid signed integer overflow
3852 * time/mktime.c (__mktime_internal): Do not mishandle the case
3853 where diff == INT_MIN.
3855 mktime: simplify computation of average
3856 * time/mktime.c (ranged_convert): Use new time_t_avg function
3857 instead of rolling our own (probably-slower) code.
3859 mktime: do not assume signed right shift propagates sign bit
3860 * time/mktime.c (isdst_differ): New static function.
3861 (__mktime_internal): No need to normalize tm_isdst now.
3862 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3865 mktime: merge another wrapv change from gnulib
3866 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3867 from some compilers.
3869 mktime: remove incorrect attempt at unusual arithmetics
3870 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3871 The code didn't really work on such machines anyway.
3872 (TYPE_MINIMUM): Assume two's complement.
3873 (twos_complement_arithmetic): Verify that long_int and time_t
3874 are two's complement (or unsigned, in the latter case).
3876 mktime: check signed shifts on long_int and time_t, too
3877 * time/mktime.c (SHR): Check that shifts work as desired
3878 on the types long_int and time_t too, as SHR is used on
3881 mktime: do not assume 'long' is wide enough
3882 * time/mktime.c (verify): Move decl up.
3883 (long_int): New type.
3884 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3885 to remove assumption in the code that 'long' is wide enough to
3886 store year values. This assumption is not true on x32 and on
3887 some non-glibc platforms.
3889 mktime: merge wrapv change from gnulib
3890 * time/mktime.c (WRAPV): New macro.
3891 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3892 (guess_time_tm, __mktime_internal): Do not assume that signed
3893 integer overflow wraps around; modern compilers generate code
3894 where this assumption is no longer valid.
3896 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3898 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3899 Replace "jmp L(pseudo_end)" with "ret".
3900 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3903 2012-05-23 Andreas Jaeger <aj@suse.de>
3905 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3906 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3908 2012-05-23 Andreas Jaeger <aj@suse.de>
3909 Maximilian Attems <max@stro.at>
3911 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3914 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3916 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3917 code so that pseudo_end is just ret and the stack pointer is
3918 correct also for static library in error case.
3920 2012-05-23 Joseph Myers <joseph@codesourcery.com>
3922 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3923 move to syscalls.list.
3924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3929 * manual/install.texi (Running make install): Do not mention Linux
3930 kernel version for which pt_chown is not needed.
3931 (Linux): Do not mention problems with nscd with 2.0 kernels.
3932 * INSTALL: Regenerated.
3934 2012-05-23 Andreas Jaeger <aj@suse.de>
3936 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3937 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3939 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3940 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3941 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3942 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3943 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3944 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3945 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3946 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3947 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3948 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3949 * sysdeps/unix/sysv/linux/bits/in.h
3950 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3952 2012-05-22 Roland McGrath <roland@hack.frob.com>
3954 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3955 (PREPARE_VERSION): Just use assert instead, it will be elided
3956 under [NDEBUG] anyway.
3958 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3960 * sysdeps/unix/sysv/linux/Makefile: Include
3961 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3962 (sysdep_routines): Remove sysctl.
3963 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3964 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3965 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3966 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3967 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3969 2012-05-22 Andreas Jaeger <aj@suse.de>
3971 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3972 that pseudo_end is just ret and the stack pointer is correct also
3973 for static library in error case.
3975 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3978 * nss/nsswitch.c (defconfig_entries): New variable.
3979 (__nss_database_lookup): Don't leak defconfig entries.
3980 (nss_parse_service_list): Don't leak on error paths.
3981 (free_database_entries): New function.
3982 (free_defconfig): New function.
3983 (free_mem): Move common code to free_database_entries.
3985 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3987 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3989 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3991 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3992 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3993 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3995 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3996 (INTERNAL_SYSCALL_TYPES): Likewise.
3997 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3998 (LOAD_REGS_TYPES_[1-6]): Likewise.
3999 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4000 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4002 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4004 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4005 copysignl for GLIBC_2_0.
4006 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4007 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4008 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4009 logbl for GLIBC_2_0.
4010 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4011 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4013 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4015 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4016 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4018 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4021 * time/mktime.c: Update copyright years.
4023 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4025 mktime: merge comment-quoting-style change from gnulib
4026 * time/mktime.c: Quote 'like this' in comments.
4027 The GNU coding standards suggest that we no longer quote `like this',
4028 as "`" and "'" are typically rendered asymmetrically nowadays.
4029 The typical gnulib style is to quote 'like this' when quoting
4030 code, and "like this" when quoting English.
4032 * time/mktime.c (compile-command): Add "-I.".
4034 mktime: merge mktime-internal.h change from gnulib
4035 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4037 mktime: merge time_r change from gnulib
4038 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4040 mktime: merge DEBUG change from gnulib
4041 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4042 case system <time.h> has a #define.
4044 mktime: merge <sys/types.h> change from gnulib
4045 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4046 since <time.t> is now guaranteed to define time_t.
4048 mktime: merge HAVE_CONFIG_H change from gnulib
4049 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4051 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4053 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4056 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4058 (struct rusage): Use anonymous union to pad each field to
4061 2012-05-21 David S. Miller <davem@davemloft.net>
4063 * Makefules (o-iterator): Remove .s cases.
4064 (compile-command.s): Delete.
4065 (COMPILE.s): Delete.
4066 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4068 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4070 * configure.in (libc_cv_predef_stack_protector): Only consider
4071 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4072 * configure: Regenerated.
4074 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4076 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4077 New macro. Use R*LP on int and pointer.
4078 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4079 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4080 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4081 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4083 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4084 [__WORDSIZE_TIME64_COMPAT32] instead of
4085 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4086 (struct utmp): Likewise.
4087 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4088 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4090 (__WORDSIZE_TIME64_COMPAT32): This.
4091 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4092 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4093 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4094 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4095 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4096 (__WORDSIZE_TIME64_COMPAT32): New macro.
4098 2012-05-21 Andreas Jaeger <aj@suse.de>
4100 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4101 only if [SHARED]. Add prototype for __wcschr_ia32.
4103 2012-05-21 Roland McGrath <roland@hack.frob.com>
4105 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4106 of %rbp unmolested in the jmp_buf while mangling the low bits.
4107 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4108 unmolested high bits of %rbp while demangling the low bits.
4109 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4111 2012-05-21 Andreas Jaeger <aj@suse.de>
4113 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4114 * sunrpc/svc_simple.c: Use it for registerrpc.
4115 * sunrpc/xcrypt.c: Use it for passwd2des.
4117 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4119 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4121 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4122 Don't define if [__SYSCALL_WORDSIZE != 32].
4123 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4126 2012-05-21 Bruno Haible <bruno@clisp.org>
4127 Andreas Jaeger <aj@suse.de>
4129 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4130 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4131 inptr and inend for must_buffer_ch.
4132 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4133 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4134 * stdio-common/Makefile (tests): Remove bug15.
4135 (bug15-ENV): Remove macro.
4136 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4139 2012-05-19 Andreas Jaeger <aj@suse.de>
4140 Roland McGrath <roland@hack.frob.com>
4142 * manual/contrib.texi: Completely rewritten. It contains now an
4143 alphabetical list of contributors and their contributions.
4145 2012-05-21 Richard Henderson <rth@twiddle.net>
4147 * misc/getauxval.c (__getauxval): Use unsigned long int.
4148 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4149 (getauxval): Use unsigned long int.
4151 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4153 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4155 2012-05-21 Roland McGrath <roland@hack.frob.com>
4157 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4158 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4159 __alignof__ (long double).
4161 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4165 2012-05-20 Richard Henderson <rth@twiddle.net>
4167 * misc/getauxval.c: New file.
4168 * misc/sys/auxv.h: New file.
4169 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4170 (routines): Add getauxval.
4171 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4172 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4173 * elf/dl-sysdep.c (_dl_auxv): Remove.
4174 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4175 * elf/dl-support.c (_dl_auxv): New variable.
4176 (_dl_aux_init): Initialize it.
4177 * manual/startup.texi (Auxiliary Vector): New node.
4178 * sysdeps/generic/bits/hwcap.h: New file.
4179 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4180 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4181 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4182 * sysdeps/sparc/sysdep.h: ... here. Include it.
4183 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4184 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4190 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4196 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4200 2012-05-19 David S. Miller <davem@davemloft.net>
4202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4204 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4207 * math/s_ccosh.c: Include <float.h>
4208 (__ccosh): Avoid internal overflow calculating sinh and cosh
4209 values before multiplying by sin and cos values.
4210 * math/s_ccoshf.c: Likewise.
4211 * math/s_ccoshl.c: Likewise.
4212 * math/s_csin.c: Likewise.
4213 * math/s_csinf.c: Likewise.
4214 * math/s_csinl.c: Likewise.
4215 * math/s_csinh.c: Likewise.
4216 * math/s_csinhf.c: Likewise.
4217 * math/s_csinhl.c: Likewise.
4218 * math/libm-test.inc (ccos_test): Add more tests.
4219 (ccosh_test): Likewise.
4220 (csin_test): Likewise.
4221 (csinh_test): Likewise.
4222 * sysdeps/i386/fpu/libm-test-ulps: Update.
4223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4225 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4227 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4228 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4230 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4232 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4234 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4235 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4236 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4237 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4238 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4239 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4240 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4241 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4242 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4243 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4244 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4245 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4246 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4247 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4248 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4249 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4250 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4251 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4252 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4253 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4254 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4255 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4256 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4257 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4258 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4259 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4260 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4261 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4262 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4263 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4264 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4266 2012-05-18 Andreas Jaeger <aj@suse.de>
4268 * csu/.gitignore: Delete.
4270 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4272 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4273 (timex): Use __syscall_slong_t.
4275 2012-05-18 Andreas Jaeger <aj@suse.de>
4276 Carlos O'Donell <carlos_odonell@mentor.com>
4278 * manual/install.texi (Configuring and compiling): Update
4279 description about files modified in the source directory.
4280 * INSTALL: Regenerated.
4282 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4284 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4285 value. Use "or" to set return value to -1.
4286 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4287 negate return value.
4289 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4291 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4292 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4293 failure if the compiler has Graphite support disabled.
4294 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4296 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4297 CFLAGS-memmove.c): Likewise.
4298 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4301 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4303 * sysdeps/x86_64/x32/_itoa.h: New file.
4305 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4306 getdents system call only if kernel and user dirents have the
4307 same d_ino and d_off.
4309 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4310 LLONG_MAX != LONG_MAX.
4311 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4312 (_fitoa_word): Likewise.
4314 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4316 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4317 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4318 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4320 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4321 include <bits/wordsize.h>. Check __x86_64__ instead of
4323 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4324 if __x86_64__ is defined. Use anonymous union on fpstate.
4326 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4329 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4331 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4332 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4333 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4334 Refer to _rtld_local_ro instead of _rtld_global_ro.
4335 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4337 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4339 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4341 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4342 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4343 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4345 * sysdeps/powerpc/powerpc32/dl-machine.c
4346 (__elf_machine_runtime_setup) [PROF]: Don't reference
4349 2012-05-18 Andreas Jaeger <aj@suse.de>
4351 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4352 function only available for GCCs before 3.4 since GCC 3.4
4353 introduced a builtin.
4355 (llrintf): Likewise.
4363 (nearbyint): Likewise.
4364 (nearbyintf): Likewise.
4370 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4372 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4373 on both fields and cast pointer to __syscall_ulong_t.
4375 * bits/types.h (__fsword_t): New type.
4376 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4377 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4378 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4379 (__FSWORD_T_TYPE): Likewise.
4380 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4381 (__FSWORD_T_TYPE): Likewise.
4382 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4383 (__FSWORD_T_TYPE): Likewise.
4384 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4385 (__FSWORD_T_TYPE): Likewise.
4386 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4387 __SWORD_TYPE with __fsword_t.
4388 (statfs64): Likewise.
4390 2012-05-17 David S. Miller <davem@davemloft.net>
4392 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4394 2012-05-17 Andreas Jaeger <aj@suse.de>
4396 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4399 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4401 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4403 2012-05-17 Andreas Jaeger <aj@suse.de>
4405 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4408 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4410 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4412 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4414 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4415 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4417 2012-05-17 Andreas Jaeger <aj@suse.de>
4418 Carlos O'Donell <carlos_odonell@mentor.com>
4421 * sysdeps/x86_64/multiarch/init-arch.h
4422 (bit_YMM_Usable): Rename to...
4423 (bit_AVX_Usable): ... this.
4424 (bit_FMA4_Usable): New macro.
4425 (bit_XMM_state): New macro.
4426 (bit_YMM_state): New macro.
4427 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4428 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4429 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4430 (CPUID_OSXSAVE): New macro.
4431 (CPUID_AVX): New macro.
4432 (CPUID_FMA4): New macro.
4433 (index_YMM_Usable): Rename to...
4434 (index_AVX_Usable): ... this.
4435 (HAS_AVX): Use HAS_ARCH_FEATURE.
4436 (HAS_FMA4): Likewise.
4437 (HAS_YMM_USABLE): Remove.
4438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4439 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4441 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4442 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4443 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4444 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4445 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4447 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4449 * math/libm-test.c: Support platforms without multiple rounding modes.
4450 * math/bug-nextafter.c: Support platforms without FP exceptions.
4451 * math/bug-nexttoward.c: Likewise.
4452 * math/test-fenv.c: Likewise.
4453 * math/test-misc.c: Likewise.
4454 * stdlib/bug-getcontext.c: Likewise.
4456 2012-05-17 Andreas Jaeger <aj@suse.de>
4458 * manual/examples/search.c (critter_cmp): Change signature to
4460 * manual/string.texi (Collation Functions): Likewise.
4462 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4464 * bits/types.h: Fold copyright years.
4465 * bits/typesizes.h: Likewise.
4466 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4467 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4468 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4469 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4470 * time/time.h: Likewise.
4472 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4475 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4476 in instead of returning them. Return void.
4477 (__libc_mallinfo): Accumulate over all arenas.
4478 (__malloc_stats): Adjust for change in int_mallinfo interface.
4480 2012-05-16 Roland McGrath <roland@hack.frob.com>
4483 * configure.in (NM): Add AC_CHECK_TOOL for it.
4484 (libc_extra_cflags): New substituted variable.
4485 Check for -fstack-protector being used implicitly.
4486 * configure: Regenerated.
4487 * config.make.in (config-extra-cflags): New variable,
4488 gets @libc_extra_cflags@.
4489 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4492 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4493 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4494 * configure: Regenerated.
4495 * config.make.in (CPPUNDEFS): New substituted variable.
4496 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4497 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4498 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4500 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4502 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4503 (mq_attr): Use __syscall_slong_t.
4505 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4507 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4508 Check __x86_64__ instead of __WORDSIZE.
4509 (_STAT_VER_LINUX): Likewise.
4510 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4511 __syscall_ulong_t and __syscall_slong_t.
4514 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4516 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4518 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4520 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4522 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4524 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4527 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4528 include <bits/wordsize.h>. Check __x86_64__ instead of
4530 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4532 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4534 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4535 include <bits/wordsize.h>. Check __x86_64__ instead of
4537 (user_regs_struct): Use "__extension__ unsigned long long"
4538 instead of "unsigned long" if __x86_64__ is defined.
4539 (user): Likewise. Pad after pointer field if __ILP32__ is
4542 2012-05-16 Joseph Myers <joseph@codesourcery.com>
4544 * configure.in (makeinfo): Require version 4.5 or later. Allow
4546 * configure: Regenerated.
4547 * manual/install.texi (texinfo): Increase version requirement to
4549 * INSTALL: Regenerated.
4551 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4553 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4555 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4557 * sysdeps/x86_64/x32/ffs.c: New file.
4559 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4561 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4562 defined. Use __syscall_ulong_t.
4563 (shminfo): Use __syscall_ulong_t.
4564 (shm_info): Likewise.
4566 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4569 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4571 (msgqnum_t): Use __syscall_ulong_t.
4572 (msglen_t): Likewise.
4573 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4576 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4577 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4579 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4581 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4582 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4584 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4587 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4588 include <bits/wordsize.h>. Check __x86_64__ instead of
4591 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4592 "unsigned long long int" if __x86_64__ is defined.
4593 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4595 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4596 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4597 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4599 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4601 (GET_PC): Cast to uintptr_t first.
4602 (GET_FRAME): Likewise.
4603 (GET_STACK): Likewise.
4605 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4606 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4607 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4608 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4609 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4610 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4611 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4612 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4613 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4614 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4615 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4616 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4617 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4618 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4619 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4620 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4621 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4622 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4623 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4624 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4625 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4626 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4627 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4628 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4629 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4630 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4631 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4632 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4633 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4635 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4637 * Makerules (+depfiles): Also collect depfiles from .oS in
4639 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4640 .oS, $(libnldbl-routines)).
4642 * Makerules (native-compile-mkdep-flags): Define.
4643 * sunrpc/Makefile (extra-objs): Add $(addprefix
4644 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4645 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4646 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4647 calling $(make-target-directory).
4649 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4651 * bits/types.h (__snseconds_t): Removed.
4652 * time/time.h (struct timespec): Replace __snseconds_t with
4654 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4655 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4657 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4658 (__SNSECONDS_T_TYPE): Likewise.
4659 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4660 (__SNSECONDS_T_TYPE): Likewise.
4661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4662 (__SNSECONDS_T_TYPE): Likewise.
4664 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4666 * sysdeps/mach/hurd/bits/typesizes.h
4667 (__SYSCALL_SLONG_TYPE): New macro.
4668 (__SYSCALL_ULONG_TYPE): Likewise.
4670 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4672 * bits/types.h (__syscall_slong_t): New type.
4673 (__syscall_ulong_t): Likewise.
4675 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4676 (__SYSCALL_ULONG_TYPE): Likewise.
4677 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4678 (__SYSCALL_SLONG_TYPE): Likewise.
4679 (__SYSCALL_ULONG_TYPE): Likewise.
4680 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4681 (__SYSCALL_SLONG_TYPE): Likewise.
4682 (__SYSCALL_ULONG_TYPE): Likewise.
4683 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4684 (__SYSCALL_SLONG_TYPE): Likewise.
4685 (__SYSCALL_ULONG_TYPE): Likewise.
4687 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4689 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4690 Add sigaltstack-offsets.sym.
4691 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4692 <sigaltstack-offsets.h>.
4693 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4694 longjmp_msg pointer.
4695 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4696 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4698 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4700 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4702 * elf/stackguard-macros.h: Remove file.
4703 * sysdeps/generic/stackguard-macros.h: New file.
4704 * sysdeps/i386/stackguard-macros.h: Likewise.
4705 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4706 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4707 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4708 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4709 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4710 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4711 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4712 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4713 <elf/stackguard-macros.h>.
4716 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4717 __aligned__ in attribute.
4718 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4719 (gregset_t): Likewise.
4721 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4723 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4724 * sysdeps/x86_64/64/Implies-after: Here. New file.
4725 * sysdeps/x86_64/x32/Implies-after: New file.
4727 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4729 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4730 and access return value for _dl_profile_fixup. Use R10_LP to
4733 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4735 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4737 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4739 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4740 * sysdeps/x86_64/x32/sysdep.h: New file.
4742 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4744 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4745 * sysdeps/x86_64/setjmp.S: Likewise.
4747 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4749 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4750 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4751 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4752 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4753 remove unused global constant.
4755 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4757 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4758 include of <not-cancel.h>.
4760 2012-05-15 Roland McGrath <roland@hack.frob.com>
4762 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4764 2012-05-15 Jeff Law <law@redhat.com>
4765 Andreas Jaeger <aj@suse.de>
4768 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4770 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4771 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4772 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4773 code changing __hst_map_handle.map.
4775 2012-05-15 Roland McGrath <roland@hack.frob.com>
4777 * configure.in (sysnames): Look for Implies-before and Implies-after
4779 * configure: Regenerated.
4781 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4783 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4784 8-byte data alignment with LP_SIZE alignment.
4786 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4788 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4791 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4793 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4797 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4798 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4799 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4801 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4803 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4805 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4806 (stackinfo_sub_sp): Likewise.
4808 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4810 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4813 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4815 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4818 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4820 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4823 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4825 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4827 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4829 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4830 into R11_LP and load __x86_64_shared_cache_size_half into
4833 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4835 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4838 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4840 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4842 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4844 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4846 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4847 powerpc32/power7/fpu/s_logb.c via #include.
4848 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4849 powerpc32/power7/fpu/s_logbf.c via #include.
4850 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4851 powerpc32/power7/fpu/s_logbl.c via #include.
4853 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4855 * README.libm: Remove file.
4857 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4859 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4860 count for x32. Use R*_LP and omit operand-size suffix.
4862 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4864 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4865 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4866 * sysdeps/x86_64/x32/shlib-versions: New file.
4868 2012-05-14 Roland McGrath <roland@hack.frob.com>
4870 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4871 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4872 Use _dl_fatal_printf instead.
4874 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4876 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4877 set if not set by the user. Do not allow for being unset.
4878 * sysdeps/unix/sysv/linux/configure: Regenerated.
4880 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4882 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4883 the `q' suffix from lea and replace .quad with ASM_ADDR.
4885 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4887 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4888 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4890 (PTR_DEMANGLE): Likewise.
4892 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4894 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4896 (ASM_ADDR): Likewise.
4914 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4916 * sysdeps/x86_64/x32/dl-machine.h: New file.
4918 2012-05-14 Andreas Jaeger <aj@suse.de>
4920 * manual/Makefile (subdir): Remove export of subdir.
4921 (all): Remove target.
4922 (.PHONY): Remove all from list.
4923 (mkinstalldirs): Remove.
4924 (.PHONY): Remove installdirs from list.
4925 ($(inst_infodir)/libc.info): Use make-target-directory.
4926 (installdirs): Remove.
4928 (glibc-targets): Remove.
4931 ($(objpfx)stubs ../po/manual.pot): Remove.
4932 ($(objpfx)stamp%): Remove.
4933 (make-target-directory): Remove.
4934 (subdir_install): Remove.
4942 * manual/.gitignore: Remove, it's not needed anymore.
4943 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4945 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4947 (texis): Renamed to $(objpfx)texis.
4948 (texis-path): New, contains path to generated files.
4949 (chapters.%): Use texis-path for complete path, add extra argument
4951 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4952 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4953 (summary,texi, stamp-summary): Use complete path of
4954 files. Generate files in build dir.
4955 (dir-add.texi): Build in build dir.
4956 (libm-err.texi,stamp-libm-err): Likewise.
4957 (version.texi, stamp-version): Likewise.
4958 (.%c.texi): Likewise.
4959 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4960 (mostlyclean): Remove target.
4961 (realclean): Remove target.
4962 (generated): Add new variable with contents from mostlyclean and
4963 realclean, remove entries duplicated in common-mostlyclean, add
4964 stamp-libm-err and stamp-version.
4965 (generated-dirs): Add libc directory.
4966 ($(inst_infodir)/libc.info): Install files from build dir.
4968 * manual/install.texi (Configuring and compiling): Adjust since
4969 the info files are not part of the tar ball anymore.
4971 2012-05-14 Andreas Jaeger <aj@suse.de>
4973 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4976 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4979 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4980 to 2.2.0 where earlier.
4981 * sysdeps/unix/sysv/linux/configure: Regenerated.
4982 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4983 Remove conditional code.
4984 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4985 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4986 Remove conditional code.
4987 [!__NR_lchown]: Likewise.
4988 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4989 [__NR_lchown]: Likewise.
4990 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4991 comment referencing __ASSUME_LCHOWN_SYSCALL.
4992 * sysdeps/unix/sysv/linux/i386/sigaction.c
4993 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4994 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4995 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4996 Remove conditional code.
4997 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4998 (__protocol_available): Remove #if 0 code.
4999 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5001 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5002 * sysdeps/unix/sysv/linux/kernel-features.h
5003 (__ASSUME_GETCWD_SYSCALL): Don't define.
5004 (__ASSUME_REALTIME_SIGNALS): Likewise.
5005 (__ASSUME_PREAD_SYSCALL): Likewise.
5006 (__ASSUME_PWRITE_SYSCALL): Likewise.
5007 (__ASSUME_POLL_SYSCALL): Likewise.
5008 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5009 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5011 (__ASSUME_SIOCGIFNAME): Don't define.
5012 (__ASSUME_MSG_NOSIGNAL): Likewise.
5013 (__ASSUME_SENDFILE): Define unconditionally.
5014 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5015 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5017 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5018 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5019 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5020 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5021 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5022 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5023 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5025 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5026 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5028 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5029 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5031 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5032 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5034 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5035 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5037 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5038 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5040 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5041 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5043 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5044 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5046 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5047 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5048 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5049 Remove conditional code.
5050 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5051 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5052 Remove conditional code.
5053 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5054 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5055 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5056 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5057 Remove conditional code.
5058 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5059 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5060 Remove conditional code.
5061 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5062 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5063 Remove conditional code.
5064 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5065 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5066 Remove conditional code.
5067 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5068 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5069 Remove conditional code.
5070 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5071 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5072 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5073 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5074 * sysdeps/unix/sysv/linux/sigaction.c
5075 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5076 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5077 * sysdeps/unix/sysv/linux/sigpending.c
5078 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5079 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5080 * sysdeps/unix/sysv/linux/sigprocmask.c
5081 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5082 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5083 * sysdeps/unix/sysv/linux/sigsuspend.c
5084 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5085 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5086 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5087 (__libc_missing_rt_sigs): Remove.
5088 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5089 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5090 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5091 Remove conditional code.
5092 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5093 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5095 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5096 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5097 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5098 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5100 2012-05-14 Andreas Jaeger <aj@suse.de>
5102 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5103 it's not used in glibc.
5104 (__coshm1): Likewise.
5105 (__acosh1p): Likewise.
5108 * manual/string.texi (Copying and Concatenation): Add missing
5109 variable in concat example.
5110 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5112 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5115 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5116 __builtin_clzl with __builtin_clzll.
5118 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5121 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5124 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5126 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5127 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5128 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5129 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5131 2012-05-14 Mike Frysinger <vapier@gentoo.org>
5133 * NEWS: Update ia64 info.
5135 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5137 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5140 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5142 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5143 * sysdeps/unix/syscalls.list (dup3): Likewise.
5144 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5145 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5147 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5149 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5150 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5152 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5154 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5156 (TLS_IE): Use mov/add instead of movq/addq to load thread
5158 (TLS_GD_PREFIX): New.
5161 2012-05-11 David S. Miller <davem@davemloft.net>
5163 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5164 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5165 (_FPU_SETCW): Likewise.
5167 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5169 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5172 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5175 * iconvdata/gb18030.c: Update tables.
5176 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5177 characters specially.
5178 (BODY for TO_LOOP): Add encoding of missing ranges.
5180 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5183 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5184 * sysdeps/mach/hurd/dup3.c: Likewise.
5185 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5186 * sysdeps/powerpc/memmove.c:: Likewise.
5188 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5190 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5191 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5193 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5195 * elf/elf.h (R_X86_64_RELATIVE64): New.
5196 (R_X86_64_NUM): Updated.
5197 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5198 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5199 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5200 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5201 tst-quad1pie tst-quad2pie
5202 (modules-names): Add tst-quadmod1 tst-quadmod2.
5203 ($(objpfx)tst-quad1): New dependency.
5204 ($(objpfx)tst-quad2): Likewise.
5205 ($(objpfx)tst-quad1pie): Likewise.
5206 ($(objpfx)tst-quad2pie): Likewise.
5207 * sysdeps/x86_64/tst-quad1.c: New file.
5208 * sysdeps/x86_64/tst-quad1pie.c: New file.
5209 * sysdeps/x86_64/tst-quad2.c: Likewise.
5210 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5211 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5212 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5213 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5214 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5216 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5218 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5219 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5220 * streams/stropts.h (t_scalar_t): Define type.
5222 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5223 (_PATH_PRESERVE): Set to "/var/lib".
5224 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5226 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5229 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5230 if __dir_mkfile succeeded.
5232 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5233 checking for _hurd_dtablesize. Unlock it right after having
5234 finished _hurd_dtable allocation.
5236 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5238 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5239 * sysdeps/mach/hurd/configure: Regenerated.
5240 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5241 special-casing to...
5242 * sysdeps/gnu/configure.in: ... this new file.
5243 * sysdeps/unix/sysv/linux/configure: Regenerated.
5244 * sysdeps/gnu/configure: New generated file.
5246 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5247 for Linux: use nsec instead of usec, as well as:
5248 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5249 members of type struct timespec.
5250 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5252 (struct stat64): Likewise.
5253 (_STATBUF_ST_NSEC): New macro.
5254 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5256 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5257 __strtoul_internal rather than strtoul.
5259 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5261 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5264 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5266 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5267 which preserves existing values.
5268 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5270 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5272 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5273 TIMEOUT values. Return EINVAL for NFDS values either negative or
5274 greater than FD_SETSIZE.
5276 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5278 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5279 allocated, call __vm_protect to finish enabling the existing space, and
5280 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5281 allocate the remainder.
5283 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5285 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5286 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5288 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5290 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5291 sysdeps/mach/hurd/readlink.c.
5293 * posix/tst-sysconf.c (posix_options): Only use
5294 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5295 _POSIX_SYNCHRONIZED_IO when they are defined
5296 * sysdeps/mach/hurd/bits/posix_opt.h:
5297 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5298 (_XOPEN_REALTIME): Undefine macro.
5299 (_XOPEN_REALTIME_THREADS): Undefine macro.
5300 (_XOPEN_SHM): Undefine macro.
5301 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5303 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5305 (_POSIX_ASYNC_IO): Undefine macro.
5306 (_POSIX_PRIORITIZED_IO): Undefine macro.
5307 (_POSIX_SPIN_LOCKS): Define macro to -1.
5309 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5310 SA_NODEFER, SA_RESETHAND.
5311 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5312 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5315 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5317 * elf/Makefile (pldd-modules): Define unconditionally.
5319 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5321 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5323 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5325 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5326 Return ENOENT when name is empty.
5327 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5329 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5331 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5333 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5335 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5337 Fix mlock in all cases except non-readable pages.
5338 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5339 instead of VM_PROT_ALL as parameter to __vm_wire function.
5341 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5342 (__mkdir): When path is `/', just fail with EEXIST.
5343 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5345 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5347 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5348 <sys/uio.h> (for writev).
5349 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5350 and <sys/param.h> (for MIN).
5352 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5354 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5355 REQUESTED_TIME. Properly set the remaining time and return EINTR
5358 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5360 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5361 Depend on against $(link-rpcuserlibs).
5363 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5365 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5366 (__libc_stack_end): Do not use attribute_relro.
5367 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5368 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5369 to libthread-provided value.
5370 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5373 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5376 * bits/libc-lock.h (__libc_once_get): New macro.
5377 * sysdeps/mach/bits/libc-lock.h: Likewise.
5378 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5379 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5380 instead of using implementation details.
5382 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5383 * libio/freopen.c: Likewise.
5384 * libio/freopen64.c: Likewise.
5385 * misc/syslog.c: Likewise.
5386 * nscd/connections.c: Likewise.
5387 * nscd/netgroupcache.c: Likewise.
5388 * sysdeps/posix/getcwd.c: Likewise.
5390 2012-05-10 Roland McGrath <roland@hack.frob.com>
5392 * math/w_ilogbf.c: Add #include <limits.h>.
5394 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5396 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5397 path instead of returning without unlocking.
5399 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5400 immediate-write ioctls.
5401 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5403 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5405 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5406 __builtin_frame_address instead of making assumptions about the
5407 location of the return address relative to DATA. Force early load of
5409 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5410 __builtin_frame_address.
5413 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5414 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5415 implement dup3 and do some further code clean-ups.
5416 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5417 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5419 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5421 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5423 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5424 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5425 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5426 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5427 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5430 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5431 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5432 when handler == SIG_ERR, not when handler != SIG_ERR.
5434 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5436 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5437 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5440 accept4 for GNU Hurd.
5441 * include/sys/socket.h (__libc_accept4): New prototype.
5442 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5443 to implement __libc_accept4.
5444 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5446 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5448 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5449 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5450 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5453 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5455 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5457 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5459 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5460 assertion on O_CLOEXEC flag.
5461 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5462 * hurd/intern-fd.c: Likewise.
5463 * hurd/port2fd.c: Likewise.
5465 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5468 * bits/in.h (IPV6_PKTINFO): Define new macro.
5469 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5471 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5476 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5477 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5478 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5479 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5480 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5481 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5482 * math/libm-test.inc (logb_test) : Additional logb tests.
5484 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5485 Andreas Jaeger <aj@suse.de>
5487 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5488 * configure: Regenerated.
5489 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5490 * config.make.in (link-obsolete-rpc): New substituted variable.
5491 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5492 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5493 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5494 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5495 so that libc.a contains the symbols.
5496 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5497 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5498 * sunrpc/auth_none.c: Likewise.
5499 * sunrpc/auth_unix.c: Likewise.
5500 * sunrpc/authdes_prot.c: Likewise.
5501 * sunrpc/authuxprot.c: Likewise.
5502 * sunrpc/clnt_gen.c: Likewise.
5503 * sunrpc/clnt_perr.c: Likewise.
5504 * sunrpc/clnt_raw.c: Likewise.
5505 * sunrpc/clnt_simp.c: Likewise.
5506 * sunrpc/clnt_tcp.c: Likewise.
5507 * sunrpc/clnt_udp.c: Likewise.
5508 * sunrpc/clnt_unix.c: Likewise.
5509 * sunrpc/des_crypt.c: Likewise.
5510 * sunrpc/des_soft.c: Likewise.
5511 * sunrpc/get_myaddr.c: Likewise.
5512 * sunrpc/key_call.c: Likewise.
5513 * sunrpc/key_prot.c: Likewise.
5514 * sunrpc/netname.c: Likewise.
5515 * sunrpc/pm_getmaps.c: Likewise.
5516 * sunrpc/pm_getport.c: Likewise.
5517 * sunrpc/pmap_clnt.c: Likewise.
5518 * sunrpc/pmap_prot.c: Likewise.
5519 * sunrpc/pmap_prot2.c: Likewise.
5520 * sunrpc/pmap_rmt.c: Likewise.
5521 * sunrpc/publickey.c: Likewise.
5522 * sunrpc/rpc_cmsg.c: Likewise.
5523 * sunrpc/rpc_common.c: Likewise.
5524 * sunrpc/rpc_dtable.c: Likewise.
5525 * sunrpc/rpc_prot.c: Likewise.
5526 * sunrpc/rpc_thread.c: Likewise.
5527 * sunrpc/rtime.c: Likewise.
5528 * sunrpc/svc.c: Likewise.
5529 * sunrpc/svc_auth.c: Likewise.
5530 * sunrpc/svc_raw.c: Likewise.
5531 * sunrpc/svc_run.c: Likewise.
5532 * sunrpc/svc_tcp.c: Likewise.
5533 * sunrpc/svc_udp.c: Likewise.
5534 * sunrpc/svc_unix.c: Likewise.
5535 * sunrpc/svcauth_des.c: Likewise.
5536 * sunrpc/xcrypt.c: Likewise.
5537 * sunrpc/xdr.c: Likewise.
5538 * sunrpc/xdr_array.c: Likewise.
5539 * sunrpc/xdr_float.c: Likewise.
5540 * sunrpc/xdr_intXX_t.c: Likewise.
5541 * sunrpc/xdr_mem.c: Likewise.
5542 * sunrpc/xdr_rec.c: Likewise.
5543 * sunrpc/xdr_ref.c: Likewise.
5544 * sunrpc/xdr_sizeof.c: Likewise.
5545 * sunrpc/xdr_stdio.c: Likewise.
5547 2012-05-10 Roland McGrath <roland@hack.frob.com>
5549 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5550 change. Update copyright years.
5552 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5554 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5556 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5557 Joseph Myers <joseph@codesourcery.com>
5558 Paul Pluzhnikov <ppluzhnikov@google.com>
5561 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5563 [cross-compiling] (extra-libs): Likewise.
5564 [cross-compiling] (extra-libs-others): Likewise.
5565 [cross-compiling] (librpcsvc-routines): Likewise.
5566 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5567 [cross-compiling] (omit-deps): Likewise.
5568 (sunrpc-CPPFLAGS): New variable.
5569 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5570 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5571 (cross-rpcgen-objs): New variable.
5572 (extra-objs): Append $(cross-rpcgen-objs).
5573 ($(cross-rpcgen-objs)): New rule.
5574 ($(objpfx)cross-rpcgen): Likewise.
5575 (rpcgen-cmd): Define to use $(built-program-file). Expand
5577 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5578 ($(objpfx)x%.stmp): Likewise.
5579 * sunrpc/proto.h [IS_IN_build] (_): Define.
5580 [IS_IN_build] (_libc_intl_domainname): Likewise.
5582 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5584 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5585 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5586 and R_X86_64_TPOFF64.
5588 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5590 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5591 sysdeps/unix/sysv/syscalls.list.
5594 * sysdeps/unix/sysv/syscalls.list: Remove file.
5596 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5599 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5600 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5601 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5602 (__LC_IDENTIFICATION): Make these macros useful in #if
5603 expressions, as required by C99.
5605 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5607 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5608 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5611 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5613 * stdlib/longlong.h: Updated from GCC.
5615 2012-05-09 Andreas Jaeger <aj@suse.de>
5617 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5618 default is first entry.
5619 (run_mode): Set type.
5620 (main): Remove informal message about syslog.
5621 (options): Fix typo.
5624 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5627 (llrintf): Likewise.
5631 (nearbyint): Likewise.
5632 (nearbyintf): Likewise.
5634 2012-05-09 Andreas Jaeger <aj@suse.de>
5635 Pedro Alves <palves@redhat.com>
5637 * nscd/nscd.c (run_mode): Use enum.
5638 (main): Cleanup coding style issue.
5640 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
5641 Andreas Jaeger <aj@suse.de>
5643 * nscd/nscd.c (go_background): Replaced with...
5644 (run_mode): ... this.
5645 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5646 (options): Add -F --foreground.
5647 (main): Implement it.
5648 (parse_opt): Parse it.
5650 2012-05-09 Andreas Jaeger <aj@suse.de>
5653 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5654 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5655 -Wconversion warning.
5656 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5659 2012-05-09 Joseph Myers <joseph@codesourcery.com>
5661 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5663 (LC_ALL): Use macro-int-constant.
5664 (LC_COLLATE): Likewise.
5665 (LC_CTYPE): Likewise.
5666 (LC_MESSAGES): Likewise.
5667 (LC_MONETARY): Likewise.
5668 (LC_NUMERIC): Likewise.
5669 (LC_TIME): Likewise.
5670 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5671 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5672 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5673 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5675 [C99-based standards] (float_t): Expect type.
5676 [C99-based standards] (double_t): Expect type.
5677 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5679 [C99-based standards] (HUGE_VALL): Likewise.
5680 [C99-based standards] (INFINITY): Likewise.
5681 [C99-based standards] (NAN): Likewise.
5682 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5683 [C99-based standards] (FP_NAN): Likewise.
5684 [C99-based standards] (FP_NORMAL): Likewise.
5685 [C99-based standards] (FP_SUBNORMAL): Likewise.
5686 [C99-based standards] (FP_ZERO): Likewise.
5687 [C99-based standards] (FP_FAST_FMA): Use
5688 optional-macro-int-constant. Specify type. Require == 1.
5689 [C99-based standards] (FP_FAST_FMAF): Likewise.
5690 [C99-based standards] (FP_FAST_FMAL): Likewise.
5691 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5692 [C99-based standards] (FP_ILOGBNAN): Likewise.
5693 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5695 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5696 [C99-based standards] (math_errhandling): Specify type.
5697 [ISO99 || ISO11] (signgam): Do not allow.
5698 [non-C99-based standards] (copysignf): Do not allow.
5699 [non-C99-based standards] (exp2f): Likewise.
5700 [non-C99-based standards] (log2f): Likewise.
5701 [non-C99-based standards] (modff): Allow.
5702 [non-C99-based standards] (erff): Do not allow.
5703 [non-C99-based standards] (erfcf): Likewise.
5704 [non-C99-based standards] (gammaf): Likewise.
5705 [non-C99-based standards] (hypotf): Likewise.
5706 [non-C99-based standards] (j0f): Likewise.
5707 [non-C99-based standards] (j1f): Likewise.
5708 [non-C99-based standards] (jnf): Likewise.
5709 [non-C99-based standards] (lgammaf): Likewise.
5710 [non-C99-based standards] (tgammaf): Likewise.
5711 [non-C99-based standards] (y0f): Likewise.
5712 [non-C99-based standards] (y1f): Likewise.
5713 [non-C99-based standards] (ynf): Likewise.
5714 [non-C99-based standards] (isnanf): Likewise.
5715 [non-C99-based standards] (acoshf): Likewise.
5716 [non-C99-based standards] (asinhf): Likewise.
5717 [non-C99-based standards] (atanhf): Likewise.
5718 [non-C99-based standards] (cbrtf): Likewise.
5719 [non-C99-based standards] (expm1f): Likewise.
5720 [non-C99-based standards] (ilogbf): Likewise.
5721 [non-C99-based standards] (log1pf): Likewise.
5722 [non-C99-based standards] (logbf): Likewise.
5723 [non-C99-based standards] (nextafterf): Likewise.
5724 [non-C99-based standards] (remainderf): Likewise.
5725 [non-C99-based standards] (rintf): Likewise.
5726 [non-C99-based standards] (scalbf): Likewise.
5727 [non-C99-based standards] (copysignl): Likewise.
5728 [non-C99-based standards] (exp2l): Likewise.
5729 [non-C99-based standards] (log2l): Likewise.
5730 [non-C99-based standards] (modfl): Allow.
5731 [non-C99-based standards] (erfl): Do not allow.
5732 [non-C99-based standards] (erfcl): Likewise.
5733 [non-C99-based standards] (gammal): Likewise.
5734 [non-C99-based standards] (hypotl): Likewise.
5735 [non-C99-based standards] (j0l): Likewise.
5736 [non-C99-based standards] (j1l): Likewise.
5737 [non-C99-based standards] (jnl): Likewise.
5738 [non-C99-based standards] (lgammal): Likewise.
5739 [non-C99-based standards] (tgammal): Likewise.
5740 [non-C99-based standards] (y0l): Likewise.
5741 [non-C99-based standards] (y1l): Likewise.
5742 [non-C99-based standards] (ynl): Likewise.
5743 [non-C99-based standards] (isnanl): Likewise.
5744 [non-C99-based standards] (acoshl): Likewise.
5745 [non-C99-based standards] (asinhl): Likewise.
5746 [non-C99-based standards] (atanhl): Likewise.
5747 [non-C99-based standards] (cbrtl): Likewise.
5748 [non-C99-based standards] (expm1l): Likewise.
5749 [non-C99-based standards] (ilogbl): Likewise.
5750 [non-C99-based standards] (log1pl): Likewise.
5751 [non-C99-based standards] (logbl): Likewise.
5752 [non-C99-based standards] (nextafterl): Likewise.
5753 [non-C99-based standards] (remainderl): Likewise.
5754 [non-C99-based standards] (rintl): Likewise.
5755 [non-C99-based standards] (scalbl): Likewise.
5756 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5757 [non-C99-based standards] (FP_*): Do not allow.
5758 [C99-based standards] (FP_*): Change to
5759 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5760 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5762 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5763 (SIG_ERR): Likewise.
5764 [X/Open-based standards] (SIG_HOLD): Likewise.
5765 (SIG_IGN): Likewise.
5766 (SIGABRT): Use macro-int-constant. Specify type. Require
5771 (SIGSEGV): Likewise.
5773 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5774 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5775 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5776 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5777 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5778 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5779 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5780 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5781 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5782 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5783 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5784 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5785 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5786 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5787 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5788 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5789 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5790 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5791 [X/Open-based standards] (SIGTRAP): Likewise.
5792 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5793 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5794 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5795 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5796 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5799 2012-05-08 Ian Wienand <ianw@vmware.com>
5802 * time/tzset.c (__tzset_parse_tz): Update default rules for
5803 daylight time changes in the Energy Policy Act of 2005.
5805 2012-05-09 Andreas Jaeger <aj@suse.de>
5808 * elf/ldconfig.c (parse_conf): Change string to make clear that
5809 ldconfig only issued a warning if ld.so.conf does not exist.
5811 2012-05-08 David S. Miller <davem@davemloft.net>
5813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5814 movxtod instead of popping the value on the stack.
5816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5818 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5820 * config.h.in: Add HAVE_ARM_PCS_VFP.
5822 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
5825 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5826 checking but the checks are disabled for any reason.
5828 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5830 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5831 and ELF64_R_TYPE with ELFW(R_TYPE).
5833 2012-05-08 Joseph Myers <joseph@codesourcery.com>
5835 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5838 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5839 (settimeofday): Likewise.
5841 2012-05-08 Mike Frysinger <vapier@gentoo.org>
5843 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5844 a struct th_u2 inside the union, and move tu_block/tu_code into
5845 a new th_u3 union of tu_block/tu_code inside of that. Move
5846 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5847 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5848 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5849 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5850 (th_stuff): Change to th_u1.tu_stuff.
5852 (th_msg): Change to th_u1.th_u2.tu_data.
5854 2012-05-07 David S. Miller <davem@davemloft.net>
5856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5859 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5860 (SETUP_PIC_REG): Use it.
5861 (SETUP_PIC_REG_LEAF): Use it.
5863 2012-05-07 Joseph Myers <joseph@codesourcery.com>
5867 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5869 (EXPL_FINITE): Likewise.
5871 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5872 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5874 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5876 (EXPL_FINITE): Likewise.
5878 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5879 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5881 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5882 test of -max_value argument for long double.
5883 * sysdeps/i386/fpu/libm-test-ulps: Update.
5884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5886 2012-05-06 David S. Miller <davem@davemloft.net>
5888 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5889 quad soft-float symbols whose references which are compiler
5891 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5893 2012-05-06 Joseph Myers <joseph@codesourcery.com>
5897 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5899 (EXPL_FINITE): Likewise.
5903 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5904 Adjust comments for base varying.
5905 (__expl_finite): Change alias to EXPL_FINITE.
5906 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5908 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5909 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5910 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5911 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5912 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5914 (EXPL_FINITE): Likewise.
5918 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5919 Adjust comments for base varying.
5920 (__expl_finite): Change alias to EXPL_FINITE.
5921 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5926 * math/libm-test.inc (check_float_internal): Correct ulp
5927 calculation for subnormal expected results.
5929 2012-05-06 Andreas Jaeger <aj@suse.de>
5931 * Makeconfig (+math-flags): New, set to -frounding-math.
5932 (+cflags): Add +math-flags so that all of glibc gets compiled with
5935 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5937 2012-05-05 Joseph Myers <joseph@codesourcery.com>
5939 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5945 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5946 (__ieee754_expl): Allow for and saturate large arguments.
5947 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5948 (u_threshold): Likewise.
5949 (__exp): Call __ieee754_exp before checking for overflow and
5951 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5952 (u_threshold): Likewise.
5953 (__expf): Call __ieee754_expf before checking for overflow and
5955 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5956 (u_threshold): Likewise.
5957 (__expl): Call __ieee754_expl before checking for overflow and
5959 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5960 (__ieee754_expl): Allow for and saturate large arguments.
5961 * math/libm-test.inc (exp_test): Add another test. Do not allow
5962 missing overflow exception on overflow.
5963 (expm1_test): Do not allow missing overflow exception on overflow.
5965 * sysdeps/i386/fpu/e_expl.c: Move to ...
5966 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5967 rather than using inline asm.
5968 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5969 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5970 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5972 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5979 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5981 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5982 sysdeps/unix/common/syscalls.list.
5985 (ftruncate): Likewise.
5986 (getrusage): Likewise.
5987 (gettimeofday): Likewise.
5988 (setpgid): Likewise.
5989 (setregid): Likewise.
5990 (setreuid): Likewise.
5991 (sigaction): Likewise.
5992 (truncate): Likewise.
5993 (vhangup): Likewise.
5994 * sysdeps/unix/common/syscalls.list: Remove file.
5995 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5996 * sysdeps/unix/sysv/linux/Implies: Likewise.
5998 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6000 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6002 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6006 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6009 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6012 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6015 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6018 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6021 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6024 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6028 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6032 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6035 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6039 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6043 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6045 * sysdeps/unix/common/bits/dirent.h: Remove file.
6046 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6048 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6049 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6050 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6051 * sysdeps/unix/bsd/isatty.c: Likewise.
6052 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6053 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6054 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6056 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6059 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6060 long double comparison inaccuracies.
6061 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6064 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6066 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6067 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6069 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6072 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6073 nonzero digits before rounding a hex value.
6074 * stdlib/tst-strtod.c (tests): Add another test.
6076 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6078 * sysdeps/s390/fpu/libm-test-ulps: Update.
6080 2012-05-03 Andreas Jaeger <aj@suse.de>
6082 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6083 does not get optimized out.
6084 (malloc_opt_barrier): New.
6086 2012-05-03 Andreas Jaeger <aj@suse.de>
6087 Roland McGrath <roland@hack.frob.com>
6089 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6090 intermediate file deletion.
6091 (generated): Add .symlist files.
6093 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6096 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6097 Redirect under this condition.
6098 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6099 [__USE_GNU] (__dprintf_chk): Not under this condition.
6100 [__USE_GNU] (__vdprintf_chk): Likewise.
6101 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6102 under this condition.
6103 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6104 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6105 [__USE_XOPEN2K8] (vdprintf): Likewise.
6106 [__USE_GNU] (__dprintf_chk): Not under this condition.
6107 [__USE_GNU] (__vdprintf_chk): Likewise.
6108 [__USE_GNU] (dprintf): Likewise.
6109 [__USE_GNU] (vdprintf): Likewise.
6111 2012-05-03 Roland McGrath <roland@hack.frob.com>
6113 * elf/Makefile (common-generated): Set this instead of generated for
6114 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6115 $(all-built-dso)-derived lists.
6117 2012-05-03 Andreas Jaeger <aj@suse.de>
6119 * sysdeps/i386/fpu/libm-test-ulps: Update.
6123 * scripts/gen-FAQ.pl: Likewise.
6124 * manual/install.texi (Installation): Point to online location of
6126 * Makefile (files-for-dist): Remove FAQ.
6129 2012-05-02 Allan McRae <allan@archlinux.org>
6131 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6132 (LDFLAGS-reldepmod5.so): Likewise.
6133 (LDFLAGS-reldep6mod1.so): Likewise.
6134 (LDFLAGS-reldep6mod4.so): Likewise.
6135 (LDFLAGS-reldep8mod3.so): Likewise.
6136 (LDFLAGS-unload4mod1.so): Likewise.
6137 (LDFLAGS-unload4mod2.so): Likewise.
6138 (LDFLAGS-tst-initorder): Likewise.
6139 (LDFLAGS-tst-initordera2.so): Likewise.
6140 (LDFLAGS-tst-initordera3.so): Likewise.
6141 (LDFLAGS-tst-initordera4.so): Likewise.
6142 (LDFLAGS-tst-initorderb2.so): Likewise.
6143 (LDFLAGS-noload): Likewise.
6144 (LDFLAGS-next): Likewise.
6145 (LDFLAGS-order2mod1.so): Likewise.
6146 (LDFLAGS-order2mod2.so): Likewise.
6147 (LDFLAGS-tst-initorder2): Likewise.
6148 (LDFLAGS-tst-initorder2a.so): Likewise.
6149 (LDFLAGS-tst-initorder2b.so): Likewise.
6150 (LDFLAGS-tst-initorder2c.so): Likewise.
6151 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6153 2012-05-02 David S. Miller <davem@davemloft.net>
6155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6157 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6160 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6162 2012-05-02 Andreas Jaeger <aj@suse.de>
6164 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6165 since we manipulate rounding mode.
6166 (CPPFLAGS-test-idouble.c): Likewise.
6167 (CPPFLAGS-test-ifloat.c): Likewise.
6168 (CFLAGS-test-ldouble.c): Likewise.
6169 (CFLAGS-test-double.c): Likewise.
6170 (CFLAGS-test-float.c): Likewise.
6171 (CFLAGS-test-misc.c): Likewise.
6172 (CFLAGS-test-test-fenv.c): Likewise.
6174 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6178 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6179 comparisons to determine direction to adjust input.
6181 2012-05-01 Roland McGrath <roland@hack.frob.com>
6183 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6184 output to the target.
6186 * scripts/localplt.awk: New file.
6187 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6188 (check-localplt-CFLAGS): Variable removed.
6189 ($(all-built-dso:=.jmprel)): New static pattern rule.
6190 (generated): Add those targets.
6191 (localplt-built-dso): New variable.
6192 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6194 * elf/check-localplt.c: File removed.
6196 * scripts/check-execstack.awk: New file.
6197 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6198 (check-execstack-CFLAGS): Variable removed.
6199 ($(objpfx)check-execstack.h): Target removed.
6200 ($(objpfx)execstack-default): New target.
6201 (generated): Add that instead of check-execstack.h.
6202 ($(all-built-dso:=.phdr)): New static pattern rule.
6203 (generated): Add those targets.
6204 * elf/check-execstack.c: File removed.
6206 * scripts/check-textrel.awk: New file.
6207 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6208 (check-textrel-CFLAGS): Variable removed.
6209 (all-built-dso): Use := to define.o
6210 ($(all-built-dso:=.dyn)): New static pattern rule.
6211 (generated): Add those targets.
6212 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6213 * config.make.in (READELF): New substituted variable.
6214 * elf/check-textrel.c: File removed.
6216 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6218 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6220 * conform/data/ctype.h-data [C99-based standards] (isblank):
6222 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6223 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6224 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6225 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6226 Specify type. Require positive value.
6229 [ISO || POSIX] (EILSEQ): Do not expect.
6230 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6231 Specify type. Require positive value.
6232 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6233 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6234 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6235 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6236 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6237 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6238 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6239 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6240 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6241 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6242 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6243 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6244 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6245 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6246 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6247 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6248 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6249 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6250 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6251 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6252 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6253 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6254 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6255 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6256 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6257 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6258 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6259 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6260 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6261 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6262 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6263 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6264 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6265 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6266 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6267 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6268 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6269 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6270 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6271 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6272 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6273 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6274 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6275 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6276 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6277 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6278 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6279 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6280 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6281 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6282 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6283 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6284 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6285 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6286 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6287 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6288 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6289 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6290 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6291 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6292 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6293 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6294 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6295 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6296 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6297 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6298 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6299 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6300 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6301 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6302 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6303 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6304 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6305 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6306 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6307 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6308 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6310 (FLT_ROUNDS): Expect as macro, not constant.
6311 (FLT_MANT_DIG): Use macro-int-constant.
6312 (DBL_MANT_DIG): Likewise.
6313 (LDBL_MANT_DIG): Likewise.
6314 (FLT_DIG): Likewise.
6315 (DBL_DIG): Likewise.
6316 (LDBL_DIG): Likewise.
6317 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6318 (DBL_MIN_EXP): Likewise.
6319 (LDBL_MIN_EXP): Likewise.
6320 (FLT_MAX_EXP): Use macro-int-constant.
6321 (DBL_MAX_EXP): Likewise.
6322 (LDBL_MAX_EXP): Likewise.
6323 (FLT_MAX_10_EXP): Likewise.
6324 (DBL_MAX_10_EXP): Likewise.
6325 (LDBL_MAX_10_EXP): Likewise.
6326 (FLT_MAX): Use macro-constant.
6327 (DBL_MAX): Likewise.
6328 (LDBL_MAX): Likewise.
6329 (FLT_EPSILON): Use macro-constant. Give upper bound.
6330 (DBL_EPSILON): Likewise.
6331 (LDBL_EPSILON): Likewise.
6332 (FLT_MIN): Likewise.
6333 (DBL_MIN): Likewise.
6334 (LDBL_MIN): Likewise.
6335 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6336 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6337 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6338 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6339 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6340 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6341 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6342 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6343 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6344 [ISO11] (FLT_TRUE_MIN): Likewise.
6345 [ISO11] (LDBL_TRUE_MIN): Likewise.
6346 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6347 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6348 (SCHAR_MIN): Use macro-int-constant. Specify type.
6349 (SCHAR_MAX): Likewise.
6350 (UCHAR_MAX): Likewise.
6351 (CHAR_MIN): Likewise.
6352 (CHAR_MAX): Likewise.
6353 (MB_LEN_MAX): Use macro-int-constant.
6354 (SHRT_MIN): Use macro-int-constant. Specify type.
6355 (SHRT_MAX): Likewise.
6356 (USHRT_MAX): Likewise.
6357 (INT_MAX): Likewise.
6358 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6360 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6362 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6364 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6365 bound negative. Suffix upper bound with "L".
6366 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6368 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6370 [C99-based standards] (LLONG_MAX): Likewise.
6371 [C99-based standards] (ULLONG_MAX): Likewise.
6372 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6374 [ISO11] (max_align_t): Require type.
6375 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6377 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6378 from $CFLAGS, without defining away __attribute__ calls.
6379 (checknamespace): Use $CFLAGS_namespace.
6381 * conform/conformtest.pl (@keywords): Only include C99 keywords
6382 for standards based on C99 or C11.
6384 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6386 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6389 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6390 usability of symbols in #if.
6392 * conform/conformtest.pl: If macro or constant types start
6393 "promoted:", expect the symbol to be of the following type
6394 promoted by the integer promotions.
6396 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6397 in one place. Also handle "macro-constant".
6399 * conform/conformtest.pl: Only accept expected macro values with
6400 "==". Parse all "macro" lines in one place.
6401 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6403 * conform/conformtest.pl: Handle braced types on "constant" lines
6404 instead of handling "typed-constant".
6405 * conform/data/signal.h-data: Use "constant" instead of
6408 * conform/conformtest.pl: Handle "optional-" at start of lines in
6409 one place rather than duplicating several cases. Handle each
6410 format of "macro" line with initial "optional-".
6412 * conform/conformtest.pl: Only accept expected constant or
6413 optional-constant values with "==". Parse all "constant" lines in
6414 one place. Parse all "optional-constant" lines in one place.
6415 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6416 * conform/data/fmtmsg.h-data: Likewise.
6417 * conform/data/netinet/in.h-data: Likewise.
6418 * conform/data/tar.h-data: Likewise.
6419 * conform/data/limits.h-data: Use "==" form on "constant" and
6420 "optional-constant" lines.
6422 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6423 Use -std=c99 for XOPEN2K.
6424 (@knownproblems): Remove.
6425 (newtoken): Don't check %isknown.
6427 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6428 Do not expect macro.
6429 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6430 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6431 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6432 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6433 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6434 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6435 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6436 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6437 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6438 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6439 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6440 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6441 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6442 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6443 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6444 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6445 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6446 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6447 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6448 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6449 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6450 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6451 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6452 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6453 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6454 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6455 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6456 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6457 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6458 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6459 [XPG3] (acosh): Likewise.
6460 [XPG3] (asinh): Likewise.
6461 [XPG3] (atanh): Likewise.
6462 [XPG3] (cbrt): Likewise.
6463 [XPG3] (expm1): Likewise.
6464 [XPG3] (ilogb): Likewise.
6465 [XPG3] (log1p): Likewise.
6466 [XPG3] (logb): Likewise.
6467 [XPG3] (nextafter): Likewise.
6468 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6469 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6470 [XPG3] (remainder): Likewise.
6471 [XPG3] (rint): Likewise.
6472 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6473 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6474 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6475 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6476 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6477 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6478 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6479 [UNIX98 || XOPEN2K] (scalb): Expect.
6480 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6481 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6482 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6483 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6484 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6485 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6486 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6487 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6488 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6489 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6490 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6491 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6492 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6493 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6494 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6495 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6496 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6497 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6498 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6499 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6500 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6501 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6502 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6503 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6504 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6505 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6506 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6507 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6508 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6509 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6510 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6511 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6512 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6513 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6514 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6515 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6516 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6517 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6518 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6519 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6520 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6521 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6522 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6523 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6524 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6525 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6526 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6527 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6528 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6529 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6530 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6531 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6532 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6533 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6534 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6535 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6536 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6537 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6538 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6539 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6540 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6541 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6542 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6543 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6544 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6545 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6546 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6547 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6548 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6549 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6550 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6551 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6552 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6553 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6554 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6555 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6556 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6557 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6558 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6559 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6560 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6561 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6562 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6563 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6564 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6565 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6566 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6567 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6568 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6569 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6570 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6571 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6572 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6573 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6574 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6575 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6576 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6577 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6578 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6579 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6580 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6581 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6582 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6583 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6584 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6585 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6586 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6587 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6588 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6589 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6590 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6591 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6592 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6593 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6594 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6595 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6596 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6597 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6598 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6599 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6600 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6601 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6602 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6603 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6604 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6605 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6606 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6607 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6608 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6609 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6610 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6611 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6612 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6613 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6614 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6615 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6616 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6618 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6619 _XOPEN_SOURCE_EXTENDED for XPG4.
6621 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6623 * Makeconfig (localtime): Remove variable.
6624 (inst_localtime-file): Likewise.
6626 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6647 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6651 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6652 comparisons to determine direction to adjust input.
6653 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6654 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6655 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6657 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6659 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6661 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6662 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6664 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6666 * math/libm-test.inc (nexttoward_test): Add more tests.
6668 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6671 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6672 in version GLIBC_2.1, not GLIBC_2.0.
6673 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6676 2012-04-30 Joseph Myers <joseph@codesourcery.com>
6679 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6681 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6682 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6683 * math/libm-test.inc (acos_test): Add more tests.
6684 (asin_test): Likewise.
6685 * sysdeps/i386/fpu/libm-test-ulps: Update.
6686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6689 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6691 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6692 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6693 * math/libm-test.inc (acos_test_tonearest): New function.
6694 (acos_test_towardzero): Likewise.
6695 (acos_test_downward): Likewise.
6696 (acos_test_upward): Likewise.
6697 (asin_test_tonearest): Likewise.
6698 (asin_test_towardzero): Likewise.
6699 (asin_test_downward): Likewise.
6700 (asin_test_upward): Likewise.
6701 (main): Call the new functions.
6702 * sysdeps/i386/fpu/libm-test-ulps: Update.
6703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6707 * math/e_exp10.c: Include <float.h>.
6708 (__ieee754_exp10): Handle underflow here rather than multiplying
6709 large negative argument by M_LN10.
6710 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6712 * math/e_exp10l.c: Include <float.h>.
6713 (__ieee754_exp10l): Handle underflow here rather than multiplying
6714 large negative argument by M_LN10l.
6715 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6716 spurious overflow exception on underflow.
6718 2012-04-29 Marek Polacek <polacek@redhat.com>
6720 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6721 (__fortify_function): New macro.
6722 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6723 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6724 __extern_always_inline.
6725 * libio/bits/stdio2.h: Likewise.
6726 * libio/bits/stdio.h: Likewise.
6727 * string/string.h: Likewise.
6728 * string/bits/string3.h: Likewise.
6729 * include/stdio.h: Likewise.
6730 * stdlib/bits/stdlib.h: Likewise.
6731 * stdlib/stdlib.h: Likewise.
6732 * rt/bits/mqueue2.h: Likewise.
6733 * rt/mqueue.h: Likewise.
6734 * posix/bits/unistd.h: Likewise.
6735 * posix/unistd.h: Likewise.
6736 * io/bits/poll2.h: Likewise.
6737 * io/bits/fcntl2.h: Likewise.
6738 * io/fcntl.h: Likewise.
6739 * io/sys/poll.h: Likewise.
6740 * misc/bits/syslog.h: Likewise.
6741 * misc/bits/syslog-ldbl.h: Likewise.
6742 * misc/sys/syslog.h: Likewise.
6743 * socket/bits/socket2.h: Likewise.
6744 * socket/sys/socket.h: Likewise.
6745 * debug/tst-chk1.c: Likewise.
6746 * wcsmbs/bits/wchar2.h: Likewise.
6747 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6748 * wcsmbs/wchar.h: Likewise.
6750 2012-04-29 Andreas Jaeger <aj@suse.de>
6752 * Makerules (tests): Remove enable-check-abi protection.
6753 (check-abi-warn): Remove.
6754 (check-abi-%): Remove check-abi-warn usage.
6756 * configure.in: Remove check-abi configure option.
6757 * configure: Regenerated.
6758 * config.make.in (enable-check-abi): Remove.
6760 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6763 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6764 double functions to double *_finite functions.
6767 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6768 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6770 * stdio-common/Makefile (tests): Add tst-sprintf3.
6771 * stdio-common/tst-sprintf3.c: New file.
6773 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6774 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6776 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6778 * conform/conformtest.pl: Remove duplicate typed-constant
6781 2012-04-28 David S. Miller <davem@davemloft.net>
6783 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6784 (check-abi-%): Remove AWK script prerequisite and explicit
6786 (check-abi): Rewrite to just diff the symlist with the abilist.
6787 (config-tls, config-abi-config): Delete, no longer used.
6788 (update-abi-%): Remove AWK script and explicit abilist directory.
6789 (update-abi): Rewrite to simply compare and conditionally copy the
6790 symlist and the sysdep abilist file. Remove update-abi-config
6792 * abilist/ld.abilist: Remove.
6793 * abilist/libBrokenLocale.abilist: Remove.
6794 * abilist/libanl.abilist: Remove.
6795 * abilist/libcrypt.abilist: Remove.
6796 * abilist/libdl.abilist: Remove.
6797 * abilist/librt.abilist: Remove.
6798 * abilist/libthread_db.abilist: Remove.
6799 * abilist/libutil.abilist: Remove.
6800 * scripts/extract-abilist.awk: Remove.
6801 * scripts/merge-abilist.awk: Remove.
6802 * sysdeps/generic/libcidn.abilist: New file.
6803 * sysdeps/generic/libnss_compat.abilist: New file.
6804 * sysdeps/generic/libnss_db.abilist: New file.
6805 * sysdeps/generic/libnss_dns.abilist: New file.
6806 * sysdeps/generic/libnss_files.abilist: New file.
6807 * sysdeps/generic/libnss_hesiod.abilist: New file.
6808 * sysdeps/generic/libnss_nis.abilist: New file.
6809 * sysdeps/generic/libnss_nisplus.abilist: New file.
6810 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6811 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6812 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6814 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6815 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6816 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6817 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6818 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6819 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6820 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6821 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6822 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6824 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6825 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6826 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6827 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6829 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6830 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6831 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6832 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6833 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6834 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6836 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6837 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6838 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6840 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6851 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6853 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6855 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6857 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6859 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6861 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6863 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6865 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6943 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6944 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6945 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6947 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6948 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6949 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6950 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6951 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6952 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6953 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6954 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6955 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6956 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7008 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7010 * conform/conformtest.pl: Fix typo in handling typed-constant from
7013 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7015 * README: Cut down references to pre-2.6 Linux kernels and
7016 Linuxthreads. Update lists of configurations in libc and ports
7017 and sort alphabetically. Say "or newer" with Linux kernel version
7020 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7022 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7025 * math/libm-test.inc (logb_test_downward): New test to expose
7026 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7029 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7032 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7034 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7035 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7037 2012-04-26 Joseph Myers <joseph@codesourcery.com>
7039 * sysdeps/unix/i386/brk.S: Remove file.
7040 * sysdeps/unix/i386/dl-brk.S: Likewise.
7041 * sysdeps/unix/i386/pipe.S: Likewise.
7042 * sysdeps/unix/i386/sigreturn.S: Likewise.
7043 * sysdeps/unix/i386/syscall.S: Likewise.
7044 * sysdeps/unix/i386/vfork.S: Likewise.
7045 * sysdeps/unix/i386/wait.S: Likewise.
7047 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7048 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7050 * configure.in (arm*-none*): Do not allow without
7051 --enable-hacker-mode.
7052 (netbsd*): Remove case setting base_os.
7053 (386bsd*): Likewise.
7054 (freebsd*): Likewise.
7058 (ultrix*): Likewise.
7059 (newsos*): Likewise.
7069 (solaris[2-9]*): Likewise.
7071 * configure: Regenerated.
7073 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7076 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7077 overflow or cancellation in calculating denominator.
7078 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7079 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7080 down expression to avoid unexpected rounding in newer GCCs.
7081 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7083 2012-04-26 David S. Miller <davem@davemloft.net>
7085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7086 long-double compat symbols.
7087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7101 2012-04-25 David S. Miller <davem@davemloft.net>
7103 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7104 HWCAP_* values only after the memory barriers have been defined.
7105 (atomic_full_barrier): Define.
7106 (atomic_read_barrier): Define.
7107 (atomic_write_barrier): Define.
7109 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7111 * shlib-versions: Add libgcc_s version information.
7112 * sysdeps/generic/libgcc_s.h: Remove.
7113 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7115 * sysdeps/gnu/unwind-resume.c: Likewise.
7116 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7118 2012-04-25 David S. Miller <davem@davemloft.net>
7120 * sysdeps/unix/sparc/brk.S: Delete.
7121 * sysdeps/unix/sparc/dl-brk.S: Delete.
7122 * sysdeps/unix/sparc/pipe.S: Delete.
7123 * sysdeps/unix/sparc/sysdep.S: Delete.
7124 * sysdeps/unix/sparc/sysdep.h: Delete.
7125 * sysdeps/unix/sparc/vfork.S: Delete.
7126 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7127 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7128 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7129 ret_ERRVAL, r0, r1, MOVE): Define.
7130 (JUMPTARGET): Remove.
7131 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7132 sysdeps/unix/sparc/sysdep.h
7133 (ENTRY, END): Remove.
7134 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7136 2012-04-25 Joseph Myers <joseph@codesourcery.com>
7138 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7139 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7142 * timezone/README: Update upstream location and email address for
7144 * timezone/zdump.c: Update from tzcode 2012b.
7145 * timezone/zic.c: Likewise.
7147 * configure.in (libc_cv_as_needed): Remove test.
7148 * configure: Regenerated.
7149 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7150 conditional definition.
7151 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7152 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7153 * config.make.in (have-as-needed): Remove variable.
7155 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7156 Paul Pluzhnikov <ppluzhnikov@google.com>
7158 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7161 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7163 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7164 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7165 * sysdeps/sh/strlen.S: Likewise.
7167 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7169 * sysdeps/unix/fork.S: Remove file.
7170 * sysdeps/unix/i386/fork.S: Likewise.
7171 * sysdeps/unix/sparc/fork.S: Likewise.
7173 * sysdeps/unix/system.c: Remove file.
7174 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7176 * sysdeps/unix/getegid.S: Remove file.
7177 * sysdeps/unix/geteuid.S: Likewise.
7179 2012-04-24 Roland McGrath <roland@hack.frob.com>
7181 * scripts/check-localplt.awk: New file.
7182 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7184 * scripts/data/localplt-generic.data: Add a comment.
7186 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7187 NODE when __dir_mkfile failed.
7188 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7189 Reported by Ludovic Courtès <ludo@gnu.org>.
7191 2012-04-24 Andreas Jaeger <aj@suse.de>
7193 * Makerules (common-clean): Also remove gen-as-const-headers
7196 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7198 * Makerules (native-compile): Do not change working directory for
7199 build. Use $(OUTPUT_OPTION) in command.
7200 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7202 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7205 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7206 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7207 * math/libm-test.inc (floor_test): Add more tests.
7208 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7210 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7212 * sysdeps/unix/getdents.c: Remove file.
7213 * sysdeps/unix/sysv/getdents.c: Likewise.
7214 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7216 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7217 sysdeps/unix/mman/syscalls.list.
7219 (mprotect): Likewise.
7222 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7223 * sysdeps/unix/mman/syscalls.list: Remove.
7224 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7226 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7227 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7228 * configure: Regenerated.
7229 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7231 * config.make.in (libgcc_s_suffix): Remove variable.
7233 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7235 * sysdeps/unix/sysv/gethostname.c: Move to ...
7236 * sysdeps/posix/gethostname.c: ... here.
7238 * sysdeps/unix/execve.S: Remove file.
7240 * sysdeps/unix/_exit.S: Remove file.
7242 2012-04-23 Andreas Jaeger <aj@suse.de>
7245 * manual/Makefile: Remove make dist support, there's no
7246 need for a stand-alone documentation tar ball.
7247 (TEXI2DVI): Define always, it's not in Makeconfig.
7251 (glibc-doc-$(edition).tar): Removed
7255 (ETAGS): Remove, it's in Makeconfig.
7256 (move-if-change): Remove, it's in Makeconfig.
7258 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7261 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7262 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7263 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7264 (strtod_l, strtof_l, strtold_l): Remove __wur.
7265 It is not necessarily an error to ignore strtol's return value.
7266 One can reliably look at the stored endptr to decide whether
7267 the number had valid syntax.
7269 2012-04-21 Andreas Jaeger <aj@suse.de>
7272 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7274 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7276 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7277 * sysdeps/unix/sysv/Versions: Remove file.
7279 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7284 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7287 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7288 version from __vm86.
7290 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7292 * sysdeps/unix/common/lxstat.c: Remove file.
7293 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7295 * sysdeps/unix/sysv/Makefile: Remove file.
7297 * sysdeps/unix/sysv/direct.h: Remove file.
7299 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7300 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7301 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7302 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7303 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7304 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7305 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7307 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7309 * sysdeps/unix/xmknod.c: Remove file.
7310 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7312 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7314 * sysdeps/unix/sysv/i386/time.S: Remove file.
7316 * sysdeps/unix/fxstat.c: Remove file.
7317 * sysdeps/unix/xstat.c: Likewise.
7318 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7320 * sysdeps/unix/sysv/sigaction.c: Remove file.
7322 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7323 (sysdep_headers): Remove variable.
7324 [termio.h not in sysdep_headers] (generated): Likewise.
7325 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7326 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7327 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7328 * sysdeps/unix/sysv/tcflow.c: Likewise.
7329 * sysdeps/unix/sysv/tcflush.c: Likewise.
7330 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7331 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7332 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7333 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7334 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7336 * sysdeps/unix/siglist.c: Remove file.
7338 * sysdeps/unix/getppid.S: Remove file.
7340 * sysdeps/unix/mkdir.c: Remove file.
7341 * sysdeps/unix/rmdir.c: Likewise.
7343 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7345 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7347 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7348 errlist-compat value.
7350 2012-04-18 David S. Miller <davem@davemloft.net>
7352 * sysdeps/generic/memcopy.h (reg_char): Delete.
7353 * debug/strcat_chk.c: Use char, not reg_char.
7354 * debug/strcpy_chk.c: Likewise.
7355 * debug/strncat_chk.c: Likewise.
7356 * debug/strncpy_chk.c: Likewise.
7357 * string/memchr.c: Likewise.
7358 * string/memrchr.c: Likewise.
7359 * string/rawmemchr.c: Likewise.
7360 * string/strcat.c: Likewise.
7361 * string/strchr.c: Likewise.
7362 * string/strchrnul.c: Likewise.
7363 * string/strcmp.c: Likewise.
7364 * string/strcpy.c: Likewise.
7365 * string/strncat.c: Likewise.
7366 * string/strncmp.c: Likewise.
7367 * string/strncpy.c: Likewise.
7369 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7371 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7372 __builtin_memcopy is called when src and dest ranges are known to not
7375 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7377 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7378 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7379 fwd_align_merge macro call.
7380 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7381 bwd_align_merge macro call.
7382 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7384 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7386 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7387 bwd_align_merge macros.
7388 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7389 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7390 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7392 2012-04-18 David S. Miller <davem@davemloft.net>
7394 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7396 2012-04-18 Andreas Jaeger <aj@suse.de>
7399 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7400 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7401 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7403 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7404 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7405 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7407 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7408 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7409 Adjust for changed ldbl-128 files.
7411 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7412 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7413 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7415 2012-04-17 David S. Miller <davem@davemloft.net>
7417 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7419 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7421 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7422 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7423 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7424 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7425 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7426 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7428 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7431 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7432 * math/libm-test.inc: Add ilogb errno and exception tests.
7433 * math/w_ilogb.c: New file: ilogb wrapper.
7434 * math/w_ilogbf.c: New file: ilogbf wrapper.
7435 * math/w_ilogbl.c: New file: ilogbl wrapper.
7436 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7437 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7438 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7439 exception being thrown with 0.0 as argument.
7440 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7441 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7442 exception being thrown with 0.0 as argument.
7443 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7444 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7445 exception being thrown with 0.0 as argument.
7446 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7447 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7448 exception being thrown with 0.0 as argument.
7449 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7450 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7451 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7452 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7453 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7454 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7455 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7456 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7457 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7459 2012-04-17 Petr Baudis <pasky@ucw.cz>
7461 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7464 2012-04-16 Marek Polacek <polacek@redhat.com>
7466 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7468 2012-04-16 Marek Polacek <polacek@redhat.com>
7470 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7471 operands of fdivp instruction.
7473 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7475 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7476 * elf/tst-auditmod3b.c: Likewise.
7477 * elf/tst-auditmod4b.c: Likewise.
7478 * elf/tst-auditmod5b.c: Likewise.
7479 * elf/tst-auditmod6b.c: Likewise.
7480 * elf/tst-auditmod6c.c: Likewise.
7481 * elf/tst-auditmod7b.c: Likewise.
7482 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7483 * sysdeps/x86_64/preconfigure.in: Likewise.
7484 * sysdeps/x86_64/preconfigure: Regenerated.
7486 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7488 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7491 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
7493 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7494 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7496 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7499 * locale/iso-639.def: Fix gl language name. Spotted by
7502 2012-04-12 Roland McGrath <roland@hack.frob.com>
7505 * libio/libio.h (__io_write_fn): Update comment.
7507 2012-04-12 Petr Baudis <pasky@ucw.cz>
7510 * stdio.texi (Hook Functions): The user provided writer function
7511 is not allowed to return -1.
7513 2012-04-11 David S. Miller <davem@davemloft.net>
7515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7517 2012-04-11 Mike Frysinger <vapier@gentoo.org>
7519 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7520 Add a leading slash to rtkaio.
7522 2012-04-11 Jim Meyering <meyering@redhat.com>
7525 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7526 It is not necessarily an error to ignore fwrite's return
7527 value. One can reliably use ferror to test for errors after
7530 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7532 * bits/types.h (__snseconds_t): New type.
7533 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7535 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7536 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7537 (__SNSECONDS_T_TYPE): Likewise.
7538 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7539 (__SNSECONDS_T_TYPE): Likewise.
7540 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7541 (__SNSECONDS_T_TYPE): Likewise.
7543 2012-04-10 Andreas Jaeger <aj@suse.de>
7546 * manual/time.texi (Processor Time): Return type of times is
7547 elapsed real time since an arbitrary point in the past.
7548 (CPU Time): Move CLK_TCK from here...
7549 (Processor Time): ...to here. Correct description.
7550 * manual/conf.texi (Constants for Sysconf): Correct description of
7553 2012-04-10 David S. Miller <davem@davemloft.net>
7556 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7557 where the is a gap between DT_REL(A) and DT_JMPREL.
7559 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7561 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7562 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7563 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7565 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7567 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7568 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7569 (dl_main): Handle --inhibit-cache.
7570 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7572 * elf/dl-load.c (_dl_map_object): Use it.
7573 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7575 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7578 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7579 (__ieee754_powl): Saturate large exponents rather than testing for
7580 overflow of y*log2(x).
7581 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7582 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7586 * math/s_ctan.c: Include <float.h>.
7587 (__ctan): Avoid internal overflow or cancellation in calculating
7589 * math/s_ctanf.c: Likewise.
7590 * math/s_ctanl.c: Likewise.
7591 * math/s_ctanh.c: Likewise.
7592 * math/s_ctanhf.c: Likewise.
7593 * math/s_ctanhl.c: Likewise.
7594 * math/libm-test.inc (ctan_test): Add more tests.
7595 (ctanh_test): Likewise.
7596 * sysdeps/i386/fpu/libm-test-ulps: Update.
7597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7599 2012-04-09 Andreas Jaeger <aj@suse.de>
7602 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7603 is an optional BSD extension.
7606 * manual/stdio.texi (Opening Streams): Document additional fopen
7609 2012-04-09 Roland McGrath <roland@hack.frob.com>
7611 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7612 %eax without telling the compiler.
7614 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7617 * manual/install.texi: Use sourceware.org.
7619 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7622 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7623 (__ieee754_pow): Generate overflow and underflow using huge*huge
7624 and tiny*tiny rather than just returning constant infinity or zero
7625 for large exponents.
7626 * math/libm-test.inc (pow_test): Require overflow exceptions for
7627 applicable cases of large exponents.
7630 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7631 (__ieee754_pow): Use iterative multiplication algorithm only for
7632 integer exponents with absolute value below 1024. Check for odd
7633 integer exponents when using algorithm for real exponents.
7634 * math/libm-test.inc (pow_test): Add more tests.
7635 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7637 2012-04-08 Joseph Myers <joseph@codesourcery.com>
7640 * math/libm-test.inc (exp_test): Do not allow overflow exception
7643 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7646 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7647 instead of __kernel_standard_f.
7649 2012-04-08 Mike Frysinger <vapier@gentoo.org>
7651 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7652 * sysdeps/x86_64/memset_chk.S: Likewise.
7654 2012-04-08 Andreas Jaeger <aj@suse.de>
7657 * manual/startup.texi (Environment Access): Describe return value
7658 for putenv and setenv.
7661 * manual/filesys.texi (Directory Entries): Add description for
7665 * manual/filesys.texi (Directory Entries): Clarify that it's file
7666 system not operating system in the description of DT_UNKNOWN.
7669 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7671 2012-04-08 Stephen Compall <s11@member.fsf.org>
7674 * manual/llio.texi (Opening and Closing Files): Add cross
7675 reference to explain mode argument.
7677 2012-04-07 Mike Frysinger <vapier@gentoo.org>
7679 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7680 * sysdeps/x86_64/memset_chk.S: Likewise.
7682 2012-04-07 David S. Miller <davem@davemloft.net>
7684 * elf/elf.h (R_SPARC_WDISP10): Define.
7685 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7687 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7688 R_SPARC_SIZE64 and R_SPARC_H34.
7690 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7692 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7693 conditions and remove no longer applicable assertion.
7695 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7697 * bits/byteswap.h: Include <features.h>.
7698 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7699 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7701 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7703 * bits/byteswap.h (__bswap_16): Removed.
7704 Include <bits/byteswap-16.h> to get __bswap_16.
7705 * sysdeps/i386/bits/byteswap.h: Likewise.
7706 * sysdeps/s390/bits/byteswap.h: Likewise.
7707 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7708 * bits/byteswap-16.h: New file.
7709 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7710 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7711 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7712 * string/Makefile (headers): Add bits/byteswap-16.h.
7714 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7717 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7719 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7720 * nss/tst-nss-static.c: New.
7722 2012-04-06 Robert Millan <rmh@gnu.org>
7725 * manual/llio.texi (File Position Primitive): lseek
7726 refers to WHENCE when it really means OFFSET.
7728 2012-04-06 Andreas Jaeger <aj@suse.de>
7730 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7731 strncmp declarations.
7733 * abilist/libc.abilist: Add __poll and __ppoll.
7735 2012-04-05 David S. Miller <davem@davemloft.net>
7737 * scripts/check-local-headers.sh: Accept a host triplet in the
7738 path matched by the exclude regexp.
7740 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7742 * sysdeps/powerpc/powerpc32/dl-machine.h
7743 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7744 * sysdeps/s390/s390-32/dl-machine.h
7745 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7746 * sysdeps/sparc/sparc32/dl-machine.h
7747 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7748 * sysdeps/sparc/sparc64/dl-machine.h
7749 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7751 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7753 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7754 undefined symbol errors.
7756 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7759 2012-04-05 Michael Matz <matz@suse.de>
7762 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7764 2012-04-05 Andreas Jaeger <aj@suse.de>
7767 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7770 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7772 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7773 which ROUND is no valid rounding mode.
7775 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7777 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7779 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7781 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7783 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7784 an exception using FPU order intentionally.
7786 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7788 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7789 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7790 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7791 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7793 2012-04-05 Simon Josefsson <simon@josefsson.org>
7796 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7797 EINVAL when BUFLEN is too smal.
7799 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7802 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7803 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7805 2012-04-03 Andreas Jaeger <aj@suse.de>
7808 * manual/setjmp.texi (System V contexts): Fix sentence.
7811 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7812 New macro for this case.
7813 [!__GNUC__] (__bswap_64): New inline function for this case.
7814 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7815 * bits/byteswap.h: Likewise.
7816 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7817 ull, guard with __GLIBC_HAVE_LONG_LONG.
7819 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7820 __GLIBC_HAVE_LONG_LONG.
7822 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7823 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7825 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7828 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7829 inptr and inend, rather than using last_ch.
7831 2012-04-02 David S. Miller <davem@davemloft.net>
7833 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7834 * stdio-common/printf-parse.h (read_int): Change return type to
7835 'int', return -1 on INT_MAX overflow.
7836 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7837 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7838 overflows INT_MAX. Check for overflow of in-format-string precision
7839 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7840 SIZE_MAX not INT_MAX for integer overflow test.
7841 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7842 skip the construct in the format string but do not record anything.
7843 * stdio-common/bug22.c: Adjust to test both width/prevision
7844 INT_MAX overflow as well as total length INT_MAX overflow. Check
7845 explicitly for proper errno values.
7847 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7849 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7851 * string/test-strcmp.c [! WIDE]: Likewise.
7852 * time/tst-mktime2.c: Likewise for INT_MAX.
7853 * string/test-string.h: #include <sys/param.h> for MIN.
7855 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7856 * sysdeps/i386/init-first.c (init): Likewise.
7857 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7858 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7859 * sysdeps/sh/init-first.c (init): Likewise.
7861 2012-04-01 Ulrich Drepper <drepper@gmail.com>
7863 * po/ru.po: Update from translation team.
7864 * po/vi.po: Likewise.
7866 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7868 * resolv/nss_dns/dns-host.c: Merge copyright years.
7870 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7872 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7873 Optimize memcpy with prefetch if
7874 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7875 src, dst pointers have unequal 16 byte alignments.
7877 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7880 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7881 from a CNAME entry and return the minimum ttl for the query.
7882 (gaih_getanswer_slice): Likewise.
7884 2012-03-30 Jeff Law <law@redhat.com>
7886 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7888 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7889 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7891 * resolv/nss_dns/dns-host.c: Update copyright year.
7893 2012-03-30 Ulrich Drepper <drepper@gmail.com>
7895 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7896 requests to save a system call. Fix check that all bytes are sent.
7898 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7899 comments for sendmmsg.
7901 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7904 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7905 with only 1 character between 0x0041 and 0x01b0.
7906 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7907 * wcsmbs/tst-mbsnrtowcs.c: New file.
7909 2012-03-29 David S. Miller <davem@davemloft.net>
7911 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7912 small copies by hand.
7914 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7917 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7918 _nss_compat_initgroups_dyn): Fall back to malloc/free
7919 for large group memberships.
7921 2012-03-28 David S. Miller <davem@davemloft.net>
7923 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7924 that branches into memcpy.
7925 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7926 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7927 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7928 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7929 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7931 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7933 * sysdeps/sparc/mempcpy.S: New file.
7935 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7936 the IFUNC routine in the libc case.
7937 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7939 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7940 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7941 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7942 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7943 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7944 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7945 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7946 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7948 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7949 loop to 256 bytes instead of 64 bytes and fix test signedness.
7951 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7952 * sysdeps/sparc/sparc32/Makefile: rather than here...
7953 * sysdeps/sparc/sparc64/Makefile: and here.
7955 2012-03-28 Ulrich Drepper <drepper@gmail.com>
7957 * malloc/mallocbug.c: Avoid warnings about unused variables.
7959 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7962 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7963 in the right place. Discard and retry query if response is
7964 larger than input buffer size.
7966 2012-03-28 Joseph Myers <joseph@codesourcery.com>
7971 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7972 x for large integer exponent.
7973 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7974 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7975 sign of result as needed afterwards.
7976 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7977 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7978 result for underflowing pow the same as for overflow.
7979 (__kernel_standard_l): Handle powl overflow and underflow here
7980 rather than calling __kernel_standard.
7981 * math/libm-test.inc (pow_test): Add more tests.
7996 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7997 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7998 (__kernel_standard_l): New function.
7999 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8001 * math/w_acosl.c (__acosl): Likewise.
8002 * math/w_asinl.c (__asinl): Likewise.
8003 * math/w_atan2l.c (__atan2l): Likewise.
8004 * math/w_atanhl.c (__atanhl): Likewise.
8005 * math/w_coshl.c (__coshl): Likewise.
8006 * math/w_exp10l.c (__exp10l): Likewise.
8007 * math/w_exp2l.c (__exp2l): Likewise.
8008 * math/w_fmodl.c (__fmodl): Likewise.
8009 * math/w_hypotl.c (__hypotl): Likewise.
8010 * math/w_j0l.c (__j0l, __y0l): Likewise.
8011 * math/w_j1l.c (__j1l, __y1l): Likewise.
8012 * math/w_jnl.c (__jnl, __ynl): Likewise.
8013 * math/w_lgammal.c (__lgammal): Likewise.
8014 * math/w_log10l.c (__log10l): Likewise.
8015 * math/w_log2l.c (__log2l): Likewise.
8016 * math/w_logl.c (__logl): Likewise.
8017 * math/w_powl.c (__powl): Likewise.
8018 * math/w_remainderl.c (__remainderl): Likewise.
8019 * math/w_scalbl.c (sysv_scalbl): Likewise.
8020 * math/w_sinhl.c (__sinhl): Likewise.
8021 * math/w_sqrtl.c (__sqrtl): Likewise.
8022 * math/w_tgammal.c (__tgammal): Likewise.
8023 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8024 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8025 * math/libm-test.inc (acos_test): Add more tests.
8026 (acosh_test): Likewise.
8027 (asin_test): Likewise.
8028 (atanh_test): Likewise.
8029 (exp_test): Likewise.
8030 (exp10_test): Likewise.
8031 (exp2_test): Likewise.
8032 (expm1_test): Likewise.
8033 (lgamma_test): Likewise.
8034 (log_test): Likewise.
8035 (log10_test): Likewise.
8036 (log1p_test): Likewise.
8037 (log2_test): Likewise.
8038 (pow_test): Do not allow some spurious overflow exceptions.
8039 (sqrt_test): Add more tests.
8040 (tgamma_test): Likewise.
8041 (y0_test): Likewise.
8042 (y1_test): Likewise.
8043 (yn_test): Likewise.
8045 2012-03-27 Anton Blanchard <anton@samba.org>
8047 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8049 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8050 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8051 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8053 2012-03-27 David S. Miller <davem@davemloft.net>
8055 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8057 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8060 2012-03-27 Andreas Jaeger <aj@suse.de>
8062 * sysdeps/x86_64/elf/configure.in: Moved to ...
8063 * sysdeps/x86_64/configure.in: ... here.
8064 * sysdeps/x86_64/elf/start.S: Moved to ...
8065 * sysdeps/x86_64/start.S: ... here.
8066 * sysdeps/x86_64/elf/configure: Delete.
8068 * sysdeps/x86_64/configure.in: Merge contents from
8069 sysdeps/i386/configure.in (without i686 check).
8071 * sysdeps/i386/elf/Versions: Merge into ...
8072 * sysdeps/i386/Versions: ... this.
8073 * sysdeps/i386/elf/Versions: Delete file.
8074 * sysdeps/i386/elf/start.S: Moved to ...
8075 * sysdeps/i386/start.S: ...here.
8076 * sysdeps/i386/elf/configure.in: Merge into...
8077 * sysdeps/i386/configure.in: ...here.
8078 * sysdeps/i386/elf/configure.in: Delete file.
8079 * sysdeps/i386/elf/configure: Delete file.
8081 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8082 * debug/backtracesyms.c: ... here.
8083 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8084 * debug/backtracesymsfd.c: ... here.
8085 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8086 * sysdeps/generic/ifunc-sel.h: ... here.
8088 * sysdeps/unix/i386/start.c: Delete file.
8089 * sysdeps/unix/sparc/start.c: Delete file.
8090 * sysdeps/unix/start.c: Delete file.
8092 * sysdeps/sh/elf/configure.in: Moved to ...
8093 * sysdeps/sh/configure.in: ... here.
8094 * sysdeps/sh/elf/start.S: Moved to ...
8095 * sysdeps/sh/start.S: ... here.
8096 * sysdeps/sh/elf/configure: Delete file.
8098 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8099 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8100 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8101 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8102 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8103 * sysdeps/powerpc/powerpc64/start.S: here.
8104 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8105 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8106 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8107 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8108 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8110 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8111 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8112 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8113 * sysdeps/powerpc/powerpc32/start.S: ... here.
8114 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8115 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8116 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8118 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8119 * sysdeps/powerpc/ifunc-sel.h: ... here.
8120 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8121 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8123 * sysdeps/sparc/elf/configure.in: Moved to ...
8124 * sysdeps/sparc/configure.in: ... here.
8125 * sysdeps/sparc/elf/configure: Delete file.
8126 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8127 * sysdeps/sparc/sparc32/start.S: ... here.
8128 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8129 * sysdeps/sparc/sparc64/start.S: ... here.
8130 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8131 * sysdeps/sparc/sparc32/Makefile: ... this.
8132 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8133 * sysdeps/sparc/sparc64/Makefile: ... this.
8135 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8136 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8137 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8138 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8139 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8140 * sysdeps/s390/s390-32/setjmp.S: ... here.
8141 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8142 * sysdeps/s390/s390-32/configure.in: ... here.
8143 * sysdeps/s390/s390-32/elf/configure: Delete file.
8144 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8145 * sysdeps/s390/s390-32/start.S: ... here.
8147 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8148 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8149 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8150 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8151 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8152 * sysdeps/s390/s390-64/setjmp.S: ... here.
8153 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8154 * sysdeps/s390/s390-64/configure.in: ... here
8155 * sysdeps/s390/s390-64/elf/configure: Delete file.
8156 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8157 * sysdeps/s390/s390-64/start.S: ... here.
8158 * sysdeps/s390/s390-64/elf/configure: Delete.
8160 * configure.in: Remove support for elf directories in sysdeps.
8162 * configure: Regenerated.
8163 * sysdeps/i386/configure: Regenerated.
8164 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8165 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8166 * sysdeps/s390/s390-32/configure: Regenerated.
8167 * sysdeps/s390/s390-64/configure: Regenerated.
8168 * sysdeps/sh/configure: Regenerated.
8169 * sysdeps/sparc/configure: Regenerated.
8170 * sysdeps/x86_64/configure: Regenerated.
8172 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8176 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8177 denormal result into account.
8179 2012-03-25 Roland McGrath <roland@hack.frob.com>
8181 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8182 Reported by Allan McRae <allan@archlinux.org>.
8184 2012-03-23 Jeff Law <law@redhat.com>
8186 * nss/getnssent.c (__nss_getent): Fix typo.
8188 2012-03-23 David S. Miller <davem@davemloft.net>
8190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8192 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8194 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8195 to pad to uint64_t for each field.
8196 (dl_tls_index): Replace unsigned long with uint64_t.
8198 2012-03-23 Daniel Jacobowitz <dmj@google.com>
8199 Paul Pluzhnikov <ppluzhnikov@google.com>
8202 * grp/Makefile (otherlibs): Don't set it.
8203 * inet/Makefile (otherlibs): Likewise.
8204 * login/Makefile (otherlibs): Likewise.
8205 * nscd/Makefile (otherlibs): Likewise.
8206 * posix/Makefile (otherlibs): Likewise.
8207 * pwd/Makefile (otherlibs): Likewise.
8208 * rt/Makefile (otherlibs): Likewise.
8209 * sunrpc/Makefile (otherlibs): Likewise.
8210 * nss/Makefile (otherlibs): Likewise.
8211 Add libnss_files to routines and static-only-routines.
8212 ($(objpfx)getent): Remove rule.
8213 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8214 static-only-routines.
8216 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8219 * math/s_cexp.c: Include <float.h>.
8220 (__cexp): Handle exp result overflowing not necessarily
8221 overflowing both real and imaginary parts of result.
8222 * math/s_cexpf.c: Likewise.
8223 * math/s_cexpl.c: Likewise.
8224 * math/libm-test.inc (cexp_test): Add more tests.
8225 * sysdeps/i386/fpu/libm-test-ulps: Update.
8226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8228 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8230 * include/link.h (ELFW): New macro.
8231 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8232 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8234 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8236 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8239 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8241 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8243 (struct La_x32_retval): Likewise.
8245 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8247 * sysdeps/x86_64/preconfigure.in: New file.
8248 * sysdeps/x86_64/preconfigure: New generated file.
8250 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8253 * math/e_exp2l.c: Include <float.h>.
8254 (__ieee754_exp2l): Handle overflow and underflow cases
8255 separately. Only pass fractional part of argument to
8257 * math/libm-test.inc (exp2_test): Add more tests.
8259 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8260 negating x to take absolute value.
8261 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8263 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8264 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8266 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8267 computing low part if x was negated.
8268 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8270 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8272 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8274 (pltexit): Cast int_retval to ptrdiff_t.
8275 * elf/tst-auditmod3b.c: Likewise.
8276 * elf/tst-auditmod4b.c: Likewise.
8277 * elf/tst-auditmod5b.c: Likewise.
8278 * elf/tst-auditmod6b.c: Likewise.
8279 * elf/tst-auditmod6c.c: Likewise.
8280 * elf/tst-auditmod7b.c: Likewise.
8282 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8283 and x32_gnu_pltexit.
8285 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8287 (La_x32_regs): New macro.
8288 (La_x32_retval): Likewise.
8289 (la_x32_gnu_pltenter): New function prototype.
8290 (la_x32_gnu_pltexit): Likewise.
8292 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8294 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8299 * configure.in (libc_cv_cc_nofma): Check for option to disable
8300 generation of FMA instructions.
8301 * configure: Regenerate.
8302 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8303 * sysdeps/ieee754/dbl-64/Makefile: New file.
8304 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8305 Remove brandred-fma4.
8306 (CFLAGS-brandred-fma4.c): Remove.
8307 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8308 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8310 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8313 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8315 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8316 LLONG_MAX != LONG_MAX.
8317 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8318 (_fitoa_word): Likewise.
8319 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8320 LLONG_MAX != LONG_MAX.
8321 * stdio-common/_itowa.h: Include <_itoa.h>.
8322 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8323 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8324 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8325 only if not defined.
8326 (_ITOA_WORD_TYPE): Likewise.
8327 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8328 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8330 2012-03-21 David S. Miller <davem@davemloft.net>
8332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8334 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8336 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8337 of x86_64 when setting libc_cv_slibdir, libdir and
8339 * sysdeps/unix/sysv/linux/configure: Regenerated.
8341 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8343 * manual/lang.texi (Old Varargs): Remove section.
8344 (How Variadic): Update menu.
8345 (va_start): Do not mention varargs.h.
8347 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8348 Joseph Myers <joseph@codesourcery.com>
8350 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8352 * configure: Regenerated.
8354 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8356 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8357 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8360 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8363 * Makefile (files-for-dist): Remove NOTES.
8364 (NOTES): Remove rule.
8365 * README: Don't refer to NOTES.
8366 * manual/creature.texi: Don't include macros.texi.
8367 * manual/intro.texi (creature.texi): Remove comment referring to
8370 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8371 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8372 * configure: Regenerated.
8373 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8375 (libc_cv_as_i686): Likewise.
8376 (libc_cv_cc_avx): Likewise.
8377 (libc_cv_cc_sse2avx): Likewise.
8378 (libc_cv_cc_fma4): Likewise.
8379 (libc_cv_cc_novzeroupper): Likewise.
8380 * sysdeps/i386/configure: Regenerated.
8383 * sysdeps/i386/fpu/s_cexp.S: Remove.
8384 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8385 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8386 * math/libm-test.inc (cexp_test): Add more tests.
8387 * sysdeps/i386/fpu/libm-test-ulps: Update.
8388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8390 2012-03-21 Allan McRae <allan@archlinux.org>
8392 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8394 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8397 * math/w_exp2.c: Do not include <float.h>.
8398 (o_threshold, u_threshold): Remove.
8399 (__exp2): Calculate result before checking finiteness and calling
8401 * math/w_exp2f.c: Likewise.
8402 * math/w_exp2l.c: Likewise.
8403 * math/libm-test.inc (exp2_test): Require overflow exception for
8407 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8408 range of signed 64-bit integers before using fistpll. Remove
8409 checks for whether integers fit in mantissa bits.
8410 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8411 the range of signed 32-bit integers before using fistpl. Remove
8412 checks for whether integers fit in mantissa bits.
8413 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8414 (__ieee754_powl): Test for y outside the range of signed 64-bit
8415 integers before using fistpll. Reduce 64-bit values to 63-bit
8417 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8418 divide-by-zero is raised for zero to large negative powers.
8419 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8420 (__ieee754_powl): Test for y outside the range of signed 64-bit
8421 integers before using fistpll. Reduce 64-bit values to 63-bit
8423 * math/libm-test.inc (pow_test): Add more tests.
8425 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8427 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8428 <stdio-common/_itoa.h>.
8429 * debug/segfault.c: Likewise.
8430 * elf/dl-cache.c: Likewise.
8431 * elf/dl-minimal.c: Likewise.
8432 * elf/dl-misc.c: Likewise.
8433 * elf/dl-sysdep.c: Likewise.
8434 * elf/dl-version.c: Likewise.
8435 * elf/rtld.c: Likewise.
8436 * hurd/hurdsock.c: Likewise.
8437 * hurd/lookup-retry.c: Likewise.
8438 * malloc/malloc.c: Likewise.
8439 * malloc/mtrace.c: Likewise.
8440 * nscd/nscd_getgr_r.c: Likewise.
8441 * nscd/nscd_getpw_r.c: Likewise.
8442 * nscd/nscd_getserv_r.c: Likewise.
8443 * posix/getopt_init.c: Likewise.
8444 * posix/wordexp.c: Likewise.
8445 * stdio-common/_itoa.c: Likewise.
8446 * stdio-common/printf_fphex.c: Likewise.
8447 * stdio-common/vfprintf.c: Likewise.
8448 * string/_strerror.c: Likewise.
8449 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8450 * sysdeps/i386/i686/hp-timing.h: Likewise.
8451 * sysdeps/mach/_strerror.c: Likewise.
8452 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8453 * sysdeps/mach/hurd/sethostid.c: Likewise.
8454 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8455 * sysdeps/mach/xpg-strerror.c: Likewise.
8456 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8457 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8458 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8459 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8460 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8461 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8462 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8463 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8464 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8465 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8466 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8467 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8468 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8469 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8470 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8471 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8472 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8473 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8474 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8475 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8476 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8478 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8480 * stdio-common/_itoa.h: Moved to ...
8481 * sysdeps/generic/_itoa.h: Here.
8483 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8485 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8486 instead of "_itoa.h" and "_itowa.h".
8487 * stdio-common/vfprintf.: Likewise.
8489 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8491 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8493 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8494 (__signbit): Likwise.
8498 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8500 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8503 2012-03-20 Joseph Myers <joseph@codesourcery.com>
8505 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8506 OVERFLOW_EXCEPTION_OK.
8507 * math/libm-test.inc ("Philosophy"): Update comment about
8509 (OVERFLOW_EXCEPTION): Define.
8510 (OVERFLOW_EXCEPTION_OK): Likewise.
8511 (INVALID_EXCEPTION_OK): Renumber.
8512 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8513 (IGNORE_ZERO_INF_SIGN): Likewise.
8514 (test_exceptions): Handle FE_OVERFLOW.
8515 (exp10_test): Expect overflow exceptions.
8516 (exp2_test): Likewise.
8517 (expm1_test): Likewise.
8518 (nextafter_test): Likewise.
8519 (pow_test): Likewise.
8520 (scalbn_test): Likewise.
8521 (scalbln_test): Likewise.
8523 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8525 * sysdeps/x86_64/bits/atomic.h
8526 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8528 (atomic_exchange_acq): Likewise.
8529 (__arch_exchange_and_add_body): Likewise.
8530 (__arch_add_body): Likewise.
8531 (atomic_add_negative): Likewise.
8532 (atomic_add_zero): Likewise.
8534 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8536 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8537 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8539 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8541 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8542 Check __x86_64__ instead of __WORDSIZE.
8544 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8546 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8548 2012-03-19 David S. Miller <davem@davemloft.net>
8550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8552 * sysdeps/sparc/fpu/fenv_private.h: New file.
8553 * sysdeps/sparc/fpu/math_private.h: Use it.
8554 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8556 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8557 (libc_feholdexcept_setroundl): Remove.
8558 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8560 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8561 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8563 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8565 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8566 int64_t instead of long int.
8567 (INSERT_WORDS64): Likwise.
8569 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8571 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8572 _Unwind_GetCFA return to _Unwind_Ptr first.
8574 2012-03-19 Joseph Myers <joseph@codesourcery.com>
8577 * math/s_clog.c: Include <float.h>.
8578 (__clog): Scale large or subnormal inputs.
8579 * math/s_clogf.c: Likewise.
8580 * math/s_clogl.c: Likewise.
8581 * math/s_clog10.c: Include <float.h>.
8582 (M_LOG10_2): Define.
8583 (__clog10): Scale large or subnormal inputs.
8584 * math/s_clog10f.c: Likewise.
8585 * math/s_clog10l.c: Likewise.
8586 * math/libm-test.inc (clog_test): Add more tests.
8587 (clog10_test): Likewise.
8588 * sysdeps/i386/fpu/libm-test-ulps: Update.
8589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8592 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8594 * math/libm-test.inc (atan2_test): Add another test.
8596 * Makerules (common-objdir-compile): Remove.
8597 * sysdeps/unix/Makefile (config-generated): Do not add
8598 $(unix-generated) to variable.
8599 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8600 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8602 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8604 [generic bits/local_lim.h] (before-compile): Do not append to
8606 [generic bits/local_lim.h] (common-generated): Likewise.
8607 [generic sys/param.h] (before-compile): Do not append to variable.
8608 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8609 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8610 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8611 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8613 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8614 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8615 [generic sys/param.h] ($(addprefix
8616 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8617 [generic sys/param.h] (common-generated): Do not append to
8619 [generic sys/param.h] (sysdep_headers): Likewise.
8620 [generic bits/errno.h] (before-compile): Do not append to
8622 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8624 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8625 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8626 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8627 [generic bits/errno.h] (common-generated): Do not append to
8629 [generic bits/ioctls.h] (before-compile): Do not append to
8631 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8633 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8634 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8635 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8637 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8638 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8639 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8640 [generic bits/ioctls.h] (common-generated): Do not append to
8642 [generic sys/syscall.h] (syscall.h): Remove variable.
8643 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8645 [generic sys/syscall.h] (before-compile): Do not append to
8647 [generic sys/syscall.h] (common-generated): Likewise.
8648 * sysdeps/unix/errnos-tmpl.c: Remove file.
8649 * sysdeps/unix/errnos.awk: Likewise.
8650 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8651 * sysdeps/unix/ioctls.awk: Likewise.
8652 * sysdeps/unix/mk-local_lim.c: Likewise.
8653 * sysdeps/unix/snarf-ioctls: Likewise.
8655 2012-03-19 Richard Henderson <rth@twiddle.net>
8657 * sysdeps/i386/fpu/fenv_private.h: New file.
8658 * sysdeps/i386/fpu/math_private.h: Use it.
8659 (math_opt_barrier, math_force_eval): Remove.
8660 (libc_feholdexcept_setround_53bit): Remove.
8661 (libc_feupdateenv_53bit): Remove.
8662 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8663 (math_opt_barrier, math_force_eval): Remove.
8664 (libc_feholdexcept): Remove.
8665 (libc_feholdexcept_setround): Remove.
8666 (libc_fetestexcept, libc_fesetenv): Remove.
8667 (libc_feupdateenv_test): Remove.
8668 (libc_feupdateenv, libc_feholdsetround): Remove.
8669 (libc_feresetround): Remove.
8671 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8672 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8674 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8675 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8676 (libc_feupdateenv_testl): New.
8677 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8678 (libc_feupdateenv_testf): New.
8679 (libc_feupdateenv): Use libc_feupdateenv_test.
8680 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8681 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8683 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8684 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8685 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8686 (libc_feresetround_noex): New.
8687 (libc_feresetround_noexf): New.
8688 (libc_feresetround_noexl): New.
8689 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8690 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8691 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8692 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8694 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8695 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8697 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8698 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8699 SET_RESTORE_ROUND_NOEX.
8700 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8701 SET_RESTORE_ROUND_NOEXF.
8702 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8703 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8704 (libc_feholdsetroundf): New.
8705 (libc_feresetround, libc_feresetroundf): New.
8707 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8708 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8709 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8711 * sysdeps/generic/math_private.h: Include <fenv.h>.
8712 (default_libc_feholdexcept): New.
8713 (default_libc_feholdexcept_setround): New.
8714 (default_libc_fesetenv, default_libc_feupdateenv): New.
8715 (libc_feholdexcept): Only define if undefined.
8716 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8717 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8718 (libc_feholdexcept_setroundl): Likewise.
8719 (libc_feholdexcept_setround_53bit): Likewise.
8720 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8721 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8722 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8723 (libc_feupdateenv_53bit): Likewise.
8724 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8725 (libc_feholdexcept): Convert from macro to inline function.
8726 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8727 (libc_fesetenv, libc_feupdateenv): Likewise.
8729 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8730 not previously defined.
8731 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8732 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8733 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8734 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8735 * sysdeps/ieee754/flt-32/math_private.h: New file.
8736 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8737 math_private.h below SET_FLOAT_WORD.
8738 (__isnan, __isinf_ns, __finite): Remove.
8739 (__isnanf, __isinf_nsf, __finitef): Remove.
8741 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8745 2012-03-17 David S. Miller <davem@davemloft.net>
8748 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8751 2012-03-16 David S. Miller <davem@davemloft.net>
8753 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8757 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8759 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8760 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8761 sysdep_routines when subdir is sysvipc.
8762 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8765 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8767 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8769 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8772 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8774 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8775 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8776 (__lround): Renamed to ...
8777 (__llround): This. Replace long int with long long int.
8778 Define lround functions as aliases of llround functions.
8779 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8781 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8783 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8784 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8785 adresses to uintptr_t. Replace "long int" and "unsigned long
8786 int" with "greg_t" on va_arg.
8788 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8790 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8791 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8793 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8794 Move e_machine check before EI_CLASS check. Handle x32
8795 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8796 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8797 SKIP_EM_IA_64 and include
8798 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8800 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8801 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8802 (add_system_dir): New macro.
8804 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8805 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8807 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8818 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8820 * math/w_j0f.c (j0f): Likewise.
8822 * math/w_j0l.c (__j0l): Likewise.
8824 * math/w_j1.c (j1): Likewise.
8826 * math/w_j1f.c (j1f): Likewise.
8828 * math/w_j1l.c (__j1l): Likewise.
8830 * math/w_jn.c (jn): Likewise.
8832 * math/w_jnf.c (jnf): Likewise.
8834 * math/w_jnl.c (__jnl): Likewise.
8836 * math/libm-test.inc (j0_test): Add more tests.
8837 (j1_test): Likewise.
8838 (jn_test): Likewise. Add trailing semicolon to existing test.
8839 (y0_test): Likewise.
8840 (y1_test): Likewise.
8841 * sysdeps/i386/fpu/libm-test-ulps: Update.
8842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8846 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8847 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8848 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8849 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8850 (__tanl): Set errno for infinite argument.
8851 * sysdeps/i386/fpu/mptan.c: Remove.
8852 * sysdeps/i386/fpu/s_tan.S: Likewise.
8853 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8854 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8855 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8856 * math/libm-test.inc (tan_test): Add more tests and enable more
8857 tests for double and long double.
8858 * sysdeps/i386/fpu/libm-test-ulps: Update.
8859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8861 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8863 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8864 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8866 2012-03-16 Roland McGrath <roland@hack.frob.com>
8868 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8869 * configure.in: Use it for both main tree and add-ons.
8870 * configure: Regenerated.
8872 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8874 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8876 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8878 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8882 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8883 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8884 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8885 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8886 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8888 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8889 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8891 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8892 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8893 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8894 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8895 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8896 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8897 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8898 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8899 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8900 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8901 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8902 * math/libm-test.inc (cos_test): Add more tests and enable more
8903 tests for long double.
8904 (sin_test): Likewise.
8905 (sincos_test): Likewise.
8906 * sysdeps/i386/fpu/libm-test-ulps: Update.
8907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8909 2012-03-16 David S. Miller <davem@davemloft.net>
8911 * sysdeps/sparc/fpu/math_private.h: New file.
8913 2012-03-15 David S. Miller <davem@davemloft.net>
8915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8921 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8925 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8929 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8930 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8932 * sysdeps/sparc/sparc-ifunc.h: New file.
8933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8957 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8959 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8960 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8961 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8971 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8972 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8973 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8974 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8975 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8976 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8978 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8980 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8984 2012-03-15 Andreas Jaeger <aj@suse.de>
8987 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8988 ieee754/flt-32 implementation for sin, cos and sincos.
8989 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8990 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8991 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8992 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8993 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8994 ieee754/flt-32 implementation for tan.
8996 * math/libm-test.inc (cos_test): Enable some large input tests for
8998 (sin_test): Likewise.
8999 (sincos_test): Likewise.
9000 (tan_test): Add tests for large input.
9002 * sysdeps/i386/fpu/libm-test-ulps: Update.
9004 2012-03-15 Andreas Jaeger <aj@suse.de>
9007 * math/libm-test.inc (cos_test): Add more test cases.
9008 (sin_test): Likewise.
9009 (sincos_test): Likewise.
9011 2012-03-15 Andreas Jaeger <aj@suse.de>
9014 * math/libm-test.inc (cos_test): Add a test case for large input
9016 (sin_test): Likewise.
9017 (sincos_test): Likewise.
9019 2012-03-15 Andreas Jaeger <aj@suse.de>,
9020 Joseph Myers <joseph@codesourcery.com>
9023 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9024 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9025 * sysdeps/i386/fpu/branred.c: Likewise.
9026 * sysdeps/i386/fpu/dosincos.c: Likewise.
9027 * sysdeps/i386/fpu/mpa.c: Likewise.
9028 * sysdeps/i386/fpu/s_cos.S: Likewise.
9029 * sysdeps/i386/fpu/s_sin.S: Likewise.
9030 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9031 * sysdeps/i386/fpu/sincos32.c: Likewise.
9033 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9035 (libc_feupdateenv_53bit): Define.
9036 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9038 (libc_feupdateenv_53bit): Define.
9040 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9041 53 bit (without extend i386 double precision).
9043 * math/libm-test.inc (sincos_test): Add tests for large input.
9047 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9049 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9053 2012-03-15 David S. Miller <davem@davemloft.net>
9055 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9056 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9057 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9058 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9082 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9083 fmin/fmax sysdep routines.
9084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9086 2012-03-14 David S. Miller <davem@davemloft.net>
9088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9089 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9090 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9092 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9093 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9094 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9095 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9097 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9100 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9101 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9102 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9108 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9109 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9110 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9111 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9112 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9113 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9114 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9115 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9116 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9160 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9165 * sysdeps/sparc/configure.in: New file.
9166 * sysdeps/sparc/configure: Generate.
9167 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9168 * configure: Regenerate.
9169 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9170 * config.make.in (have-as-vis3): New.
9171 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9172 available use -Av9d instead of -Av9a.
9173 * sysdeps/sparc/sparc64/Makefile: Likewise.
9174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9183 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9184 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9185 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9186 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9187 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9189 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9190 fzeros/fnegs to load 0x80000000 into a float register instead of
9192 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9194 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9196 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9198 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9199 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9200 ($(inst_includedir)/bits/syscall.h): Remove rule.
9201 ($(objpfx)bits/syscall.d): Include instead of
9202 $(objpfx)syscall-list.d.
9203 (generated): Change syscall-list.h and syscall-list.d to
9204 bits/syscall.h and bits/syscall.d.
9206 2012-03-14 Roland McGrath <roland@hack.frob.com>
9209 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9211 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9214 * math/s_csqrt.c: Include <float.h>.
9215 (__csqrt): Scale large or subnormal inputs.
9216 * math/s_csqrtf.c: Likewise.
9217 * math/s_csqrtl.c: Likewise.
9218 * math/libm-test.inc (csqrt_test): Add more tests.
9219 * sysdeps/i386/fpu/libm-test-ulps: Update.
9220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9223 * math/libm-test.inc (hypot_test): Add more tests.
9225 2012-03-13 David S. Miller <davem@davemloft.net>
9228 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9229 double-precision for the calculation instead of scaling.
9231 2012-03-13 Joseph Myers <joseph@codesourcery.com>
9233 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9234 manipulate bits before adding and subtracting TWO52[sx].
9235 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9236 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9238 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9240 2012-03-13 David S. Miller <davem@davemloft.net>
9242 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9243 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9244 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9245 rtld-global-offsets.h
9246 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9248 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9251 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9253 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9254 'err' in the ifdef scope in which it is actually used.
9256 * nss/nss_db/db-init.c: Include string.h
9258 2012-03-12 David S. Miller <davem@davemloft.net>
9260 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9261 masking out of the most significant byte of random value used.
9262 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9263 Fix coding style in previous change.
9265 * sysdeps/unix/sysv/linux/kernel-features.h
9266 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9267 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9269 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9272 2012-03-11 David S. Miller <davem@davemloft.net>
9274 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9275 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9276 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9277 for 'resultvar' otherwise things get truncated on 64-bit.
9279 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9280 Fix masking out of the most significant byte of random value used.
9282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9284 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9288 2012-03-09 David S. Miller <davem@davemloft.net>
9290 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9291 variables with appropriate CPP guards.
9292 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9293 frame pointer, not the stack pointer. Correct layout comments. Fix test
9294 on resulting framesize and the management of the outregs buffer for pltexit.
9295 Preserve floating point return values across _dl_call_pltexit call.
9296 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9297 framesize and the management of the outregs buffer for pltexit.
9298 Preserve floating point return values across _dl_call_pltexit
9300 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9301 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9302 (print_exit): Fix format string for return register value.
9304 2012-03-10 Joseph Myers <joseph@codesourcery.com>
9306 * sunrpc/Makefile (others): Add rpcgen.
9307 ($(objpfx)rpcgen): Remove special build rule and dependency on
9309 * sunrpc/rpcgen.c: New file.
9311 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9314 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9315 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9316 * sysdeps/i386/crti.S: Likewise.
9317 * sysdeps/i386/crtn.S: Likewise.
9318 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9319 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9320 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9321 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9322 * sysdeps/sh/crti.S: Likewise.
9323 * sysdeps/sh/crtn.S: Likewise.
9324 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9327 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9329 * locale/programs/locfile-kw.gperf: Likewise.
9330 * locale/programs/charmap-kw.h: Regenerated.
9331 * locale/programs/locfile-kw.h: Likewise.
9334 * intl/plural.y: Replace FSF snail mail address with URL.
9335 * intl/plural.c: Regenerated.
9337 2012-03-09 Richard Henderson <rth@twiddle.net>
9339 * include/math_private.h: Remove file.
9340 * math/math_private.h: Move file ...
9341 * sysdeps/generic/math_private.h: ... here.
9343 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9344 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9345 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9347 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9348 and <math_private.h>.
9349 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9350 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9351 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9352 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9353 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9354 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9355 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9356 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9357 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9358 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9359 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9360 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9361 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9362 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9363 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9364 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9365 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9366 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9367 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9368 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9369 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9370 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9371 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9372 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9373 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9374 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9375 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9376 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9377 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9378 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9379 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9380 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9381 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9382 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9383 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9384 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9385 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9386 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9387 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9388 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9389 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9390 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9391 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9392 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9393 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9394 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9395 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9396 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9397 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9398 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9399 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9400 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9401 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9402 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9403 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9404 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9405 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9406 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9407 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9408 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9409 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9410 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9411 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9412 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9413 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9414 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9415 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9416 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9417 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9418 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9419 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9420 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9421 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9422 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9423 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9424 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9425 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9426 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9427 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9428 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9429 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9430 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9431 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9432 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9433 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9434 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9435 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9436 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9437 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9438 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9439 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9440 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9441 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9442 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9443 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9444 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9445 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9446 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9447 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9448 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9449 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9450 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9451 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9452 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9453 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9454 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9455 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9456 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9457 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9458 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9459 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9460 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9461 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9462 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9463 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9464 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9465 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9466 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9467 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9468 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9469 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9470 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9471 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9472 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9473 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9474 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9475 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9476 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9477 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9478 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9479 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9480 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9481 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9482 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9483 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9484 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9485 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9486 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9487 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9488 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9489 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9490 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9491 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9492 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9493 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9494 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9495 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9496 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9497 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9498 * sysdeps/ieee754/k_standard.c: Likewise.
9499 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9500 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9501 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9502 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9503 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9504 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9505 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9506 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9507 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9508 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9509 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9510 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9511 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9512 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9513 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9514 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9515 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9516 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9517 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9518 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9519 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9520 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9521 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9522 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9523 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9524 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9525 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9526 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9527 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9528 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9529 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9530 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9531 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9532 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9533 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9534 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9535 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9536 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9537 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9538 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9539 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9540 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9541 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9542 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9543 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9547 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9549 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9550 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9551 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9552 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9553 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9554 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9555 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9556 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9557 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9558 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9559 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9560 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9561 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9562 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9563 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9564 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9565 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9566 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9567 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9568 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9569 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9570 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9571 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9572 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9573 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9574 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9575 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9576 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9577 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9578 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9579 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9580 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9581 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9582 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9583 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9584 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9585 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9586 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9587 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9588 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9589 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9590 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9591 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9592 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9593 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9594 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9595 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9596 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9597 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9598 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9599 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9600 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9601 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9602 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9603 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9604 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9605 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9606 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9607 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9608 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9609 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9610 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9611 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9612 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9613 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9614 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9615 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9616 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9617 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9618 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9619 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9620 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9621 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9622 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9623 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9624 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9625 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9626 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9627 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9628 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9629 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9630 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9631 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9632 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9633 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9634 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9635 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9636 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9637 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9638 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9639 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9640 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9641 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9642 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9643 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9644 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9645 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9646 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9647 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9648 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9649 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9650 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9651 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9652 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9653 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9654 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9655 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9656 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9657 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9658 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9659 * sysdeps/ieee754/s_lib_version.c: Likewise.
9660 * sysdeps/ieee754/s_matherr.c: Likewise.
9661 * sysdeps/ieee754/s_signgam.c: Likewise.
9662 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9663 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9664 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9665 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9666 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9667 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9668 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9669 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9670 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9671 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9672 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9673 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9674 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9675 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9676 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9677 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9678 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9679 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9680 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9681 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9682 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9684 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9686 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9687 * sunrpc/rpc_main.c: Likewise.
9688 * sunrpc/rpc_svcout.c: Likewise.
9690 2012-03-09 David S. Miller <davem@davemloft.net>
9692 * include/math_private.h: New file.
9694 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9696 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9697 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9698 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9699 from <bits/socket_type.h>.
9700 (enum __socket_type): Don't define here.
9701 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9702 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9706 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9709 * Makerules ($(inst_includedir)/%.h): New rule.
9710 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9711 (install-others): Remove variable setting.
9712 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9714 2012-03-08 Richard Henderson <rth@twiddle.net>
9716 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9717 from macro to inline function; merge with the
9718 !__LIBC_INTERNAL_MATH_INLINES version.
9719 (__ieee754_sqrtf): Likewise.
9721 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9723 (__rintf, __floor, __floorf): Likewise.
9725 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9726 macro to inline function.
9727 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9729 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9730 not <math/math_private.h>.
9732 2012-03-08 David S. Miller <davem@davemloft.net>
9734 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9736 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9738 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9740 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9742 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9743 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9745 2012-03-08 Ulrich Drepper <drepper@gmail.com>
9747 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9748 be defined individually, they must be defined as a block. Define
9749 S for printing a string instead of hidint the different by using a
9750 macro for adding the 'l'.
9751 * stdio-common/tst-fphex-wide.c: Adjust.
9753 2012-03-07 Marek Polacek <polacek@redhat.com>
9755 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9757 2012-03-08 Marek Polacek <polacek@redhat.com>
9760 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9761 * stdio-common/tst-fphex.c: Define a few macros to make the
9762 test reusable. Use them.
9763 * stdio-common/tst-fphex-wide.c: New file.
9765 2012-03-08 Joseph Myers <joseph@codesourcery.com>
9768 * manual/macros.texi (gnusystems): New macro.
9769 (nongnusystems): Likewise.
9770 (gnulinuxhurdsystems): Likewise.
9771 (gnuhurdsystems): Likewise..
9772 (gnulinuxsystems): Likewise.
9773 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9774 variants of the GNU system, not "GNU system".
9775 * manual/conf.texi: Likewise.
9776 * manual/errno.texi: Likewise. Update example of errno macro
9778 * manual/filesys.texi: Likewise.
9779 (getumask): Document as specific to GNU/Hurd.
9780 * manual/install.texi: Likewise. Reword some references to
9782 * manual/intro.texi: Likewise.
9783 * manual/io.texi: Likewise.
9784 (File Name Portability): Detail which constraints are inapplicable
9785 to all GNU systems and which are only inapplicable to GNU/Hurd.
9786 * manual/job.texi: Likewise.
9787 * manual/llio.texi: Likewise.
9788 (O_NOCTTY): Document as present on GNU/Linux.
9789 * manual/maint.texi: Likewise.
9790 * manual/memory.texi: Likewise.
9791 * manual/pattern.texi: Likewise.
9792 * manual/pipe.texi: Likewise.
9793 * manual/process.texi: Likewise.
9794 * manual/resource.texi: Likewise.
9795 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9797 * manual/setjmp.texi: Likewise.
9798 * manual/signal.texi: Likewise.
9799 * manual/startup.texi: Likewise.
9800 * manual/stdio.texi: Likewise.
9801 * manual/terminal.texi: Likewise.
9802 (ONLCR): Document as POSIX.
9803 (OXTABS): Document availability on GNU/Linux as XTABS.
9804 (ONOEOT): Document availability separately from other bits.
9805 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9806 * manual/time.texi: Likewise.
9807 * manual/users.texi: Likewise.
9808 * INSTALL: Regenerated.
9809 * sysdeps/gnu/errlist.c: Regenerated.
9811 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9812 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9813 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9815 * configure: Regenerated.
9817 2012-03-07 Joseph Myers <joseph@codesourcery.com>
9819 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9820 default includes instead of AC_HEADER_CHECK.
9821 * sysdeps/i386/configure: Regenerated.
9824 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9825 * math/s_cacoshf.c (__cacoshf): Likewise.
9826 * math/s_cacoshl.c (__cacoshl): Likewise.
9827 * math/s_casinh.c (__casinh): Set signs of result from argument.
9828 * math/s_casinhf.c (__casinhf): Likewise.
9829 * math/s_casinhl.c (__casinhl): Likewise.
9830 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9831 (casinh_test): Add more tests.
9832 * sysdeps/i386/fpu/libm-test-ulps: Update.
9833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9835 2012-03-07 Ulrich Drepper <drepper@gmail.com>
9837 * po/zh_TW.po: Update from translation team.
9839 * login/Makefile (distribute): Remove variable.
9840 * catgets/Makefile: Likewise.
9841 * mach/Makefile: Likewise.
9842 * malloc/Makefile: Likewise.
9843 * misc/Makefile: Likewise.
9844 * iconv/Makefile: Likewise.
9845 * nscd/Makefile: Likewise.
9846 * hurd/Makefile: Likewise.
9847 * manual/Makefile: Likewise.
9848 * locale/Makefile: Likewise.
9849 * intl/Makefile: Likewise.
9850 * conform/Makefile: Likewise.
9851 * nss/Makefile: Likewise.
9852 * time/Makefile: Likewise.
9853 * soft-fp/Makefile: Likewise.
9854 * dirent/Makefile: Likewise.
9855 * gmon/Makefile: Likewise.
9856 * po/Makefile: Likewise.
9857 * rt/Makefile: Likewise.
9858 * socket/Makefile: Likewise.
9859 * math/Makefile: Likewise.
9860 * signal/Makefile: Likewise.
9861 * debug/Makefile: Likewise.
9862 * elf/Makefile: Likewise.
9863 * timezone/Makefile: Likewise.
9864 * stdlib/Makefile: Likewise.
9865 * iconvdata/Makefile: Likewise.
9866 * sunrpc/Makefile: Likewise.
9867 * io/Makefile: Likewise.
9868 * argp/Makefile: Likewise.
9869 * inet/Makefile: Likewise.
9870 * hesiod/Makefile: Likewise.
9871 * grp/Makefile: Likewise.
9872 * csu/Makefile: Likewise.
9873 * wctype/Makefile: Likewise.
9874 * crypt/Makefile: Likewise.
9875 * libio/Makefile: Likewise.
9876 * string/Makefile: Likewise.
9877 * nis/Makefile: Likewise.
9878 * resolv/Makefile: Likewise.
9879 * stdio-common/Makefile: Likewise.
9880 * wcsmbs/Makefile: Likewise.
9881 * dlfcn/Makefile: Likewise.
9882 * posix/Makefile: Likewise.
9885 * timezone/Makefile: Don't install timezone files, just the programs
9888 2012-03-06 Ulrich Drepper <drepper@gmail.com>
9890 * nss/databases.def: Add missing gshadow entry.
9892 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9894 2012-03-06 Marek Polacek <polacek@redhat.com>
9897 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9898 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9899 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9900 * stdio-common/tst-long-dbl-fphex.c: New file.
9902 2012-03-06 David S. Miller <davem@davemloft.net>
9904 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9905 (set_obp_int): New function.
9906 (get_obp_int): New function.
9907 (__get_clockfreq_via_dev_openprom): Likewise.
9908 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9909 Avoid unused variable warnings on 'val' and use builtin_expect.
9910 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9912 (INLINE_CLONE_SYSCALL): Likewise.
9914 2012-03-05 David S. Miller <davem@davemloft.net>
9916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9918 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9922 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9924 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9926 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
9928 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9929 Replace gettimeofday with __vdso_gettimeofday.
9931 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9932 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9933 __vdso_clock_gettime and __vdso_getcpu.
9935 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9936 time with __vdso_time.
9938 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9940 * manual/lang.texi (size_t): Note types to which size_t may be
9941 equivalent with the GNU C Library, but do not describe when
9942 differences between them are significant.
9944 2012-03-05 Andreas Jaeger <aj@suse.de>
9946 * sysdeps/i386/fpu/libm-test-ulps: Update.
9948 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9951 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9952 (__ieee754_pow): Save and restore rounding mode and use
9953 round-to-nearest for main computations.
9954 * math/libm-test.inc (pow_test_tonearest): New function.
9955 (pow_test_towardzero): Likewise.
9956 (pow_test_downward): Likewise.
9957 (pow_test_upward): Likewise.
9958 (main): Call the new functions.
9959 * sysdeps/i386/fpu/libm-test-ulps: Update.
9960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9963 * math/libm-test.inc (cosh_test_tonearest): New function.
9964 (cosh_test_towardzero): Likewise.
9965 (cosh_test_downward): Likewise.
9966 (cosh_test_upward): Likewise.
9967 (sinh_test_tonearest): Likewise.
9968 (sinh_test_towardzero): Likewise.
9969 (sinh_test_downward): Likewise.
9970 (sinh_test_upward): Likewise.
9971 (main): Call the new functions.
9972 * sysdeps/i386/fpu/libm-test-ulps: Update.
9973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9975 2012-03-05 Tom de Vries <tom@codesourcery.com>
9977 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9978 default stack guard is set in last bytes.
9979 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9981 2012-03-05 Kees Cook <keescook@chromium.org>
9983 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9986 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9987 possibly allocate from heap instead of stack.
9988 * stdio-common/bug-vfprintf-nargs.c: New file.
9989 * stdio-common/Makefile (tests): Add nargs overflow test.
9991 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9995 2012-03-03 Marek Polacek <polacek@redhat.com>
9997 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9998 * math/math_private.h: Likewise.
9999 * stdlib/tst-strtod.c: Likewise.
10000 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10001 * sysdeps/x86_64/bits/atomic.h: Likewise.
10003 2012-03-02 David S. Miller <davem@davemloft.net>
10005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10009 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10010 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10011 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10012 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10014 2012-03-02 Roland McGrath <roland@hack.frob.com>
10017 * manual/examples/README: New file, says the example source files
10018 can be used under GPL>=2.
10019 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10020 line containing just "*/".
10021 * manual/examples/add.c: Add copyright header (GPL>=2).
10022 * manual/examples/argp-ex1.c: Likewise.
10023 * manual/examples/argp-ex2.c: Likewise.
10024 * manual/examples/argp-ex3.c: Likewise.
10025 * manual/examples/argp-ex4.c: Likewise.
10026 * manual/examples/atexit.c: Likewise.
10027 * manual/examples/db.c: Likewise.
10028 * manual/examples/dir.c: Likewise.
10029 * manual/examples/dir2.c: Likewise.
10030 * manual/examples/execinfo.c: Likewise.
10031 * manual/examples/filecli.c: Likewise.
10032 * manual/examples/filesrv.c: Likewise.
10033 * manual/examples/fmtmsgexpl.c: Likewise.
10034 * manual/examples/genpass.c: Likewise.
10035 * manual/examples/inetcli.c: Likewise.
10036 * manual/examples/inetsrv.c: Likewise.
10037 * manual/examples/isockad.c: Likewise.
10038 * manual/examples/longopt.c: Likewise.
10039 * manual/examples/memopen.c: Likewise.
10040 * manual/examples/memstrm.c: Likewise.
10041 * manual/examples/mkfsock.c: Likewise.
10042 * manual/examples/mkisock.c: Likewise.
10043 * manual/examples/mygetpass.c: Likewise.
10044 * manual/examples/pipe.c: Likewise.
10045 * manual/examples/popen.c: Likewise.
10046 * manual/examples/rprintf.c: Likewise.
10047 * manual/examples/search.c: Likewise.
10048 * manual/examples/select.c: Likewise.
10049 * manual/examples/setjmp.c: Likewise.
10050 * manual/examples/sigh1.c: Likewise.
10051 * manual/examples/sigusr.c: Likewise.
10052 * manual/examples/stpcpy.c: Likewise.
10053 * manual/examples/strdupa.c: Likewise.
10054 * manual/examples/strftim.c: Likewise.
10055 * manual/examples/strncat.c: Likewise.
10056 * manual/examples/subopt.c: Likewise.
10057 * manual/examples/swapcontext.c: Likewise.
10058 * manual/examples/termios.c: Likewise.
10059 * manual/examples/testopt.c: Likewise.
10060 * manual/examples/testpass.c: Likewise.
10061 * manual/examples/timeval_subtract.c: Likewise.
10064 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10066 * manual/timeval_subtract.c.texi: ... here, new file.
10068 2012-03-02 David S. Miller <davem@davemloft.net>
10070 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10072 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10075 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10076 (__sin): Save and restore rounding mode and use round-to-nearest
10077 for all computations.
10078 (__cos): Save and restore rounding mode and use round-to-nearest
10079 for all computations.
10080 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10082 (tan): Save and restore rounding mode and use round-to-nearest for
10084 * math/libm-test.inc (cos_test_tonearest): New function.
10085 (cos_test_towardzero): Likewise.
10086 (cos_test_downward): Likewise.
10087 (cos_test_upward): Likewise.
10088 (sin_test_tonearest): Likewise.
10089 (sin_test_towardzero): Likewise.
10090 (sin_test_downward): Likewise.
10091 (sin_test_upward): Likewise.
10092 (tan_test_tonearest): Likewise.
10093 (tan_test_towardzero): Likewise.
10094 (tan_test_downward): Likewise.
10095 (tan_test_upward): Likewise.
10096 (main): Call the new functions.
10097 * sysdeps/i386/fpu/libm-test-ulps: Update.
10098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10101 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10102 small n, then large n, before computing and testing k+n.
10103 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10104 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10106 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10108 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10109 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10110 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10111 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10112 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10113 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10114 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10115 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10116 * math/libm-test.inc (scalbn_test): Add more tests.
10117 (scalbln_test): Likewise.
10119 * manual/filesys.texi (mode_t): Describe constraints on size and
10120 signedness, not exact equivalence to a particular type.
10122 (ino64_t): Likewise.
10124 (nlink_t): Likewise.
10125 (blkcnt_t): Likewise.
10126 (blkcnt64_t): Likewise.
10127 * manual/llio.texi (off_t): Likewise.
10130 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10131 (__ieee754_exp): Save and restore rounding mode and use
10132 round-to-nearest for all computations.
10133 * math/libm-test.inc (exp_test_tonearest): New function.
10134 (exp_test_towardzero): Likewise.
10135 (exp_test_downward): Likewise.
10136 (exp_test_upward): Likewise.
10137 (main): Call the new functions.
10138 * sysdeps/i386/fpu/libm-test-ulps: Update.
10139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10141 2012-03-01 Chris Demetriou <cgd@google.com>
10143 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10144 have predictable order.
10146 2012-03-01 David S. Miller <davem@davemloft.net>
10148 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10150 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10151 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10152 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10153 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10155 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10156 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10157 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10159 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10160 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10161 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10162 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10163 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10167 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10168 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10169 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10171 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10172 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10173 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10174 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10175 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10176 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10177 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10178 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10179 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10180 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10181 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10182 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10183 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10184 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10185 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10186 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10187 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10188 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10189 * sysdeps/sparc/elf/configure: Regenerated.
10191 2012-03-01 Joseph Myers <joseph@codesourcery.com>
10193 * configure.in (AS, LD): Require binutils 2.20 or later.
10194 * configure: Regenerated.
10195 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10196 as required minimum version.
10197 * INSTALL: Regenerated.
10201 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10202 before squaring exponent.
10203 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10204 bottom long double and 27 bits of top long double before squaring
10206 * math/libm-test.inc (erfc_test): Add more tests.
10207 * sysdeps/i386/fpu/libm-test-ulps: Update.
10208 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10211 2012-03-01 Kai Tietz <ktietz@redhat.com>
10213 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10214 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10215 containing bit-fields.
10216 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10217 * soft-fp/single.h (_FP_UNION_S): Likewise.
10218 * soft-fp/double.h (_FP_UNION_D): Likewise.
10220 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10223 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10224 not include ../strcmp.S.
10225 [USE_AS_STRNCASECMP_L]: Likewise.
10226 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10227 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10228 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10229 (__strncasecmp_l_ia32): Define as alias to
10230 __strncasecmp_l_nonascii.
10233 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10234 * sysdeps/i386/fpu/libm-test-ulps: Update.
10235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10237 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10240 2012-02-29 Jeff Law <law@redhat.com>
10242 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10243 out of bounds read.
10245 2012-02-29 Marek Polacek <polacek@redhat.com>
10248 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10249 * elf/Makefile: Add rules to run tst-unused-dep.out.
10251 2012-02-28 David S. Miller <davem@davemloft.net>
10253 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10254 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10255 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10256 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10257 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10258 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10260 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10262 * math/libm-test.inc (llround_test): Move one test from
10263 lround_test. Use TEST_f_L in moved test.
10264 (lround_test): Move misplaced test to llround_test. Add testcase
10267 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10269 * sysdeps/x86_64/fpu/e_expf.S: New file.
10270 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10272 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10275 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10276 of remain_len that may cause incomplete multi-byte character and
10278 * posix/bug-regex33.c: New file.
10279 * posix/Makefile (tests): Add bug-regex33.
10281 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10283 * manual/macros.texi: New file.
10284 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10285 * manual/libc.texinfo: Include macros.texi.
10286 * manual/creatute.texi: Likewise.
10287 * manual/install.texi: Likewise.
10288 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10289 @glibcadj{} in references to the GNU C Library.
10290 * manual/charset.texi: Likewise.
10291 * manual/conf.texi: Likewise.
10292 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10293 when not using those macros.
10294 * manual/creature.texi: Likewise.
10295 * manual/crypt.texi: Likewise.
10296 * manual/errno.texi: Likewise.
10297 * manual/filesys.texi: Likewise.
10298 * manual/header.texi: Likewise.
10299 * manual/install.texi: Likewise.
10300 * manual/intro.texi: Likewise.
10301 * manual/io.texi: Likewise.
10302 * manual/job.texi: Likewise.
10303 * manual/lang.texi: Likewise.
10304 * manual/libc.texiinfo: Likewise.
10305 * manual/llio.texi: Likewise.
10306 * manual/locale.texi: Likewise.
10307 * manual/maint.texi: Likewise.
10308 * manual/math.texi: Likewise.
10309 * manual/memory.texi: Likewise.
10310 * manual/message.texi: Likewise.
10311 * manual/nss.texi: Likewise.
10312 * manual/pattern.texi: Likewise.
10313 * manual/process.texi: Likewise.
10314 * manual/resource.texi: Likewise.
10315 * manual/search.texi: Likewise.
10316 * manual/setjmp.texi: Likewise.
10317 * manual/signal.texi: Likewise.
10318 * manual/socket.texi: Likewise.
10319 * manual/startup.texi: Likewise.
10320 * manual/stdio.texi: Likewise.
10321 * manual/string.texi: Likewise.
10322 * manual/sysinfo.texi: Likewise.
10323 * manual/syslog.texi: Likewise.
10324 * manual/terminal.texi: Likewise.
10325 * manual/time.texi: Likewise.
10326 * manual/users.texi: Likewise.
10327 * INSTALL: Regenerated.
10328 * NOTES: Regenerated.
10329 * sysdeps/gnu/errlist.c: Regenerated.
10331 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10333 * include/dirent.h: Include <dirstream.h> before
10336 2012-02-28 David S. Miller <davem@davemloft.net>
10338 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10339 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10340 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10341 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10343 2012-02-27 David S. Miller <davem@davemloft.net>
10345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10347 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10348 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10351 frame pointer instead of stack pointer relative arg slot.
10352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10353 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10354 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10356 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10359 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10361 2012-02-27 David S. Miller <davem@davemloft.net>
10363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10367 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10368 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10369 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10370 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10372 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10374 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10375 later. Allow versions 5-9.
10376 * configure: Regenerated.
10377 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10378 required minimum version and 4.6 as recommended version. Do not
10379 mention bugs in GCC 2.7 and 2.8.
10380 * INSTALL: Regenerated.
10382 2012-02-27 David S. Miller <davem@davemloft.net>
10384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10388 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10389 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10390 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10391 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10393 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10394 manipulate bits before adding and subtracting TWO112[sx].
10395 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10397 2012-02-27 Roland McGrath <roland@hack.frob.com>
10400 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10401 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10402 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10403 being in POSIX, because they are in 1003.1-2008.
10405 * rt/tst-aio.c: Include <fcntl.h>.
10406 * rt/tst-aio7.c: Likewise.
10407 * rt/tst-aio64.c: Likewise.
10409 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10411 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10413 * manual/install.texi (--with-headers): Describe headers as
10414 interface headers, not private headers.
10415 (Specific advice for GNU/Linux systems): Describe use of headers
10416 from "make headers_install", not private headers from older
10418 * INSTALL: Regenerated.
10419 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10421 * sysdeps/unix/sysv/linux/configure: Regenerated.
10423 * manual/llio.texi (fclean): Remove documentation.
10425 * manual/Makefile (libc-texi-generated): New variable. Include
10427 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10428 $(libc-texi-generated), not duplicated list of files.
10429 (version.texi, stamp-version): New rules.
10430 (realclean): Remove $(libc-texi-generated), not individual files
10431 from that list. Do not remove dir-add.texinfo.
10432 * manual/libc.texinfo: Comment out uses of edition numbers and
10433 references to printed manual. Remove last-updated dates.
10434 (EDITION): Comment out.
10436 (VERSION, UPDATED): Remove.
10437 (version.texi): Include.
10439 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10441 * sysdeps/posix/spawni.c: Include <signal.h>.
10442 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10443 * sysdeps/pthread/aio_fsync.c: Likewise.
10445 2012-02-26 Ulrich Drepper <drepper@gmail.com>
10447 * conform/Makefile (tests): Run only when not cross-compiling and
10448 when fast-check is not defined.
10450 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10451 * conform/data/limits.h-data: Fixes for POSIX2008.
10452 * conform/run-conformtest.sh: Run all tests.
10453 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10455 * include/bits/dlfcn.h: Likewise.
10456 * include/langinfo.h: Likewise.
10457 * include/monetary.h: Likewise.
10458 * include/sys/poll.h: Likewise.
10460 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10462 * posix/spawn.h: Define __need_sigset_t.
10463 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10464 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10465 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10466 to get sigevent_t only.
10467 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10468 only for __USE_GNU.
10469 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10470 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10471 process_vm_writev only for __USE_GNU.
10472 * termios/termios.h: Declare tcgetsid also for POSIX2008.
10474 * conform/Makefile: For now ignore errors from run-conformtest.
10475 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10476 POSIX to avoid namespace pollution. Don't prepend headers.
10477 * conform/data/aio.h-data: Fixes for POSIX testing.
10478 * conform/data/fcntl.h-data: Likewise.
10479 * conform/data/glob.h-data: Likewise.
10480 * conform/data/grp.h-data: Likewise.
10481 * conform/data/pthread.h-data: Likewise.
10482 * conform/data/pwd.h-data: Likewise.
10483 * conform/data/signal.h-data: Likewise.
10484 * conform/data/spawn.h-data: Likewise.
10485 * conform/data/stdio.h-data: Likewise.
10486 * conform/data/stdlib.h-data: Likewise.
10487 * conform/data/stropts.h-data: Likewise.
10488 * conform/data/sys/mman.h-data: Likewise.
10489 * conform/data/sys/stat.h-data: Likewise.
10490 * conform/data/sys/types.h-data: Likewise.
10491 * conform/data/sys/wait.h-data: Likewise.
10492 * conform/data/time.h-data: Likewise.
10493 * conform/data/unistd.h-data: Likewise.
10494 * conform/data/utime.h-data: Likewise.
10496 * io/sys/stat.h: fchmod was always in POSIX.
10497 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10498 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10499 * rt/aio.h: Define __need_timespec before including <time.h>.
10500 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10501 struct. Add forward declaration of pthread_attr_t and use it in
10503 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10504 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10505 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10506 always remove CLK_TCK definition.
10508 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10510 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10512 2012-02-25 Ulrich Drepper <drepper@gmail.com>
10514 * conform/run-conformtest.sh: New file.
10515 * conform/Makefile: Run run-conformtest for tests.
10516 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10519 * conform/data/uchar.h-data: New file.
10520 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10521 * conform/data/arpa/inet.h-data: Likewise.
10522 * conform/data/assert.h-data: Likewise.
10523 * conform/data/complex.h-data: Likewise.
10524 * conform/data/cpio.h-data: Likewise.
10525 * conform/data/ctype.h-data: Likewise.
10526 * conform/data/dirent.h-data: Likewise.
10527 * conform/data/dlfcn.h-data: Likewise.
10528 * conform/data/errno.h-data: Likewise.
10529 * conform/data/fcntl.h-data: Likewise.
10530 * conform/data/float.h-data: Likewise.
10531 * conform/data/fmtmsg.h-data: Likewise.
10532 * conform/data/fnmatch.h-data: Likewise.
10533 * conform/data/ftw.h-data: Likewise.
10534 * conform/data/glob.h-data: Likewise.
10535 * conform/data/grp.h-data: Likewise.
10536 * conform/data/iconv.h-data: Likewise.
10537 * conform/data/inttypes.h-data: Likewise.
10538 * conform/data/langinfo.h-data: Likewise.
10539 * conform/data/libgen.h-data: Likewise.
10540 * conform/data/limits.h-data: Likewise.
10541 * conform/data/locale.h-data: Likewise.
10542 * conform/data/math.h-data: Likewise.
10543 * conform/data/monetary.h-data: Likewise.
10544 * conform/data/mqueue.h-data: Likewise.
10545 * conform/data/ndbm.h-data: Likewise.
10546 * conform/data/net/if.h-data: Likewise.
10547 * conform/data/netdb.h-data: Likewise.
10548 * conform/data/netinet/in.h-data: Likewise.
10549 * conform/data/nl_types.h-data: Likewise.
10550 * conform/data/poll.h-data: Likewise.
10551 * conform/data/pthread.h-data: Likewise.
10552 * conform/data/pwd.h-data: Likewise.
10553 * conform/data/regex.h-data: Likewise.
10554 * conform/data/sched.h-data: Likewise.
10555 * conform/data/search.h-data: Likewise.
10556 * conform/data/semaphore.h-data: Likewise.
10557 * conform/data/setjmp.h-data: Likewise.
10558 * conform/data/signal.h-data: Likewise.
10559 * conform/data/spawn.h-data: Likewise.
10560 * conform/data/stdarg.h-data: Likewise.
10561 * conform/data/stdio.h-data: Likewise.
10562 * conform/data/stdlib.h-data: Likewise.
10563 * conform/data/string.h-data: Likewise.
10564 * conform/data/strings.h-data: Likewise.
10565 * conform/data/stropts.h-data: Likewise.
10566 * conform/data/sys/ipc.h-data: Likewise.
10567 * conform/data/sys/mman.h-data: Likewise.
10568 * conform/data/sys/msg.h-data: Likewise.
10569 * conform/data/sys/resource.h-data: Likewise.
10570 * conform/data/sys/select.h-data: Likewise.
10571 * conform/data/sys/sem.h-data: Likewise.
10572 * conform/data/sys/shm.h-data: Likewise.
10573 * conform/data/sys/socket.h-data: Likewise.
10574 * conform/data/sys/stat.h-data: Likewise.
10575 * conform/data/sys/statvfs.h-data: Likewise.
10576 * conform/data/sys/time.h-data: Likewise.
10577 * conform/data/sys/timeb.h-data: Likewise.
10578 * conform/data/sys/times.h-data: Likewise.
10579 * conform/data/sys/types.h-data: Likewise.
10580 * conform/data/sys/uio.h-data: Likewise.
10581 * conform/data/sys/un.h-data: Likewise.
10582 * conform/data/sys/utsname.h-data: Likewise.
10583 * conform/data/sys/wait.h-data: Likewise.
10584 * conform/data/syslog.h-data: Likewise.
10585 * conform/data/tar.h-data: Likewise.
10586 * conform/data/termios.h-data: Likewise.
10587 * conform/data/utime.h-data: Likewise.
10588 * conform/data/utmpx.h-data: Likewise.
10589 * conform/data/varargs.h-data: Likewise.
10590 * conform/data/wchar.h-data: Likewise.
10591 * conform/data/wctype.h-data: Likewise.
10592 * conform/data/wordexp.h-data: Likewise.
10594 * include/stropts.h: New file.
10595 * include/uchar.h: New file.
10596 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10597 * include/assert.h: Likewise.
10598 * include/ctype.h: Likewise.
10599 * include/dirent.h: Likewise.
10600 * include/dlfcn.h: Likewise.
10601 * include/fcntl.h: Likewise.
10602 * include/fnmatch.h: Likewise.
10603 * include/glob.h: Likewise.
10604 * include/grp.h: Likewise.
10605 * include/libio.h: Likewise.
10606 * include/locale.h: Likewise.
10607 * include/math.h: Likewise.
10608 * include/net/if.h: Likewise.
10609 * include/netdb.h: Likewise.
10610 * include/netinet/in.h: Likewise.
10611 * include/pthread.h: Likewise.
10612 * include/pwd.h: Likewise.
10613 * include/regex.h: Likewise.
10614 * include/sched.h: Likewise.
10615 * include/search.h: Likewise.
10616 * include/setjmp.h: Likewise.
10617 * include/signal.h: Likewise.
10618 * include/stdio.h: Likewise.
10619 * include/stdlib.h: Likewise.
10620 * include/string.h: Likewise.
10621 * include/sys/cdefs.h: Likewise.
10622 * include/sys/mman.h: Likewise.
10623 * include/sys/msg.h: Likewise.
10624 * include/sys/resource.h: Likewise.
10625 * include/sys/select.h: Likewise.
10626 * include/sys/socket.h: Likewise.
10627 * include/sys/stat.h: Likewise.
10628 * include/sys/statvfs.h: Likewise.
10629 * include/sys/time.h: Likewise.
10630 * include/sys/times.h: Likewise.
10631 * include/sys/uio.h: Likewise.
10632 * include/sys/utsname.h: Likewise.
10633 * include/sys/wait.h: Likewise.
10634 * include/termios.h: Likewise.
10635 * include/time.h: Likewise.
10636 * include/ulimit.h: Likewise.
10637 * include/unistd.h: Likewise.
10638 * include/utime.h: Likewise.
10639 * include/wchar.h: Likewise.
10640 * include/wctype.h: Likewise.
10641 * include/wordexp.h: Likewise.
10643 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10645 * time/time.h: TIME_UTC must be a macro.
10646 Make timespec_get available for ISO C11 only as well.
10648 2012-02-24 Ulrich Drepper <drepper@gmail.com>
10650 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10651 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10653 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10655 * configure.in: Use -o not -a in test for unsupported multi-arch.
10657 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10659 * manual/texinfo.tex: Update to version 2012-01-19.16.
10661 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10663 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10665 2012-02-24 Roland McGrath <roland@hack.frob.com>
10668 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10669 * manual/fdl-1.3.texi: New file.
10670 * manual/fdl-1.1.texi: File removed.
10673 * manual/libc.texinfo (FDL_VERSION): New @set.
10674 Use it for mention of FDL in cover text.
10675 (Documentation License): Use it in @include file name.
10677 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10678 Roland McGrath <roland@hack.frob.com>
10681 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10682 not LONG_LONG_MAX and LONG_LONG_MIN.
10683 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10684 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10686 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10688 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10692 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10693 manipulate bits before adding and subtracting TWO23[sx].
10694 * math/libm-test.inc (nearbyint_test): Add more tests.
10696 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10699 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10700 bits before adding and subtracting TWO23[sx].
10701 * math/libm-test.inc (rint_test): Add more tests.
10702 (rint_test_tonearest): Likewise.
10703 (rint_test_towardzero): Likewise.
10704 (rint_test_downward): Likewise.
10705 (rint_test_upward: Likewise.
10707 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10710 * include/stdc-predef.h: New file. Extracted from features.h.
10711 * include/features.h: Include stdc-predef.h.
10712 * Makefile (headers): Add stdc-predef.h.
10713 * CONFORMANCE (Compiler limitations): Update.
10715 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10717 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10719 2012-02-21 David S. Miller <davem@davemloft.net>
10721 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10722 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10724 2012-02-20 David S. Miller <davem@davemloft.net>
10726 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10727 using a normal save/restore sequence, rather than allocating a
10728 dummy stack frame just to store a frame pointer and restore.
10729 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10731 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10733 * manual/install.texi: Fix stray word in line-wrapped comment.
10735 2012-02-20 David S. Miller <davem@davemloft.net>
10737 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10738 both binutils and gcc support GOTDATA.
10740 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10741 "rd %pc" in the PIC register setup sequences.
10743 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10744 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10745 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10746 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10747 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10748 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10749 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10750 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10751 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10752 (SYSCALL_ERROR_HANDLER): Likewise.
10753 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10754 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10755 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10756 (SYSCALL_ERROR_HANDLER): Likewise.
10758 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10759 (HAVE_GCC_GOTDATA): New.
10760 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10761 relocation support in both binutils and gcc.
10762 * sysdeps/sparc/elf/configure: Regenerate.
10764 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10765 * sysdeps/sparc/sparc32/elf/configure: Delete.
10766 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10767 * sysdeps/sparc/sparc64/elf/configure: Delete.
10768 * sysdeps/sparc/elf/configure.in: New file.
10769 * sysdeps/sparc/elf/configure: Generate.
10771 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10772 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10773 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10774 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10775 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10777 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10779 * manual/install.texi: Do not mention specific glibc version
10781 * manual/libc.texinfo (VERSION, UPDATED): Update.
10782 (@copying): Use @copyright{} and range of years.
10784 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10787 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10788 [crti.S not in sysdirs] (generated): Do not append.
10789 [crti.S not in sysdirs] (omit-deps): Likewise.
10790 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10791 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10792 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10793 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10794 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10796 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10797 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10798 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10799 * csu/defs.awk: Remove file.
10800 * sysdeps/generic/initfini.c: Likewise.
10801 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10803 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10806 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10808 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10809 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10810 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10811 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10812 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10813 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10815 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10816 (__EPOLL_PACKED): Define to empty if not defined by
10818 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10819 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10822 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10824 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10825 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10826 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10827 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10829 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10830 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10833 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10835 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10837 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10838 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10839 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10842 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10844 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10845 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10847 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10849 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10850 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10852 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10854 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10857 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10859 * math/w_acos.c: Use non-signaling floating-point comparisons.
10860 * math/w_acosf.c: Likewise.
10861 * math/w_acosh.c: Likewise.
10862 * math/w_acoshf.c: Likewise.
10863 * math/w_acoshl.c: Likewise.
10864 * math/w_acosl.c: Likewise.
10865 * math/w_asin.c: Likewise.
10866 * math/w_asinf.c: Likewise.
10867 * math/w_asinl.c: Likewise.
10868 * math/w_atanh.c: Likewise.
10869 * math/w_atanhf.c: Likewise.
10870 * math/w_atanhl.c: Likewise.
10871 * math/w_exp2.c: Likewise.
10872 * math/w_exp2f.c: Likewise.
10873 * math/w_exp2l.c: Likewise.
10874 * math/w_j0.c: Likewise.
10875 * math/w_j0f.c: Likewise.
10876 * math/w_j0l.c: Likewise.
10877 * math/w_j1.c: Likewise.
10878 * math/w_j1f.c: Likewise.
10879 * math/w_j1l.c: Likewise.
10880 * math/w_jn.c: Likewise.
10881 * math/w_jnf.c: Likewise.
10882 * math/w_log.c: Likewise.
10883 * math/w_log10.c: Likewise.
10884 * math/w_log10f.c: Likewise.
10885 * math/w_log10l.c: Likewise.
10886 * math/w_log2.c: Likewise.
10887 * math/w_log2f.c: Likewise.
10888 * math/w_log2l.c: Likewise.
10889 * math/w_logf.c: Likewise.
10890 * math/w_logl.c: Likewise.
10891 * math/w_sqrt.c: Likewise.
10892 * math/w_sqrtf.c: Likewise.
10893 * math/w_sqrtl.c: Likewise.
10894 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10895 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10896 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10897 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10898 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10900 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10903 * manual/string.texi (strnlen): Use correct parameter name in
10904 equivalent expression.
10906 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10909 * manual/users.texi (seteuid): Consistently use neweuid for
10912 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10915 * manual/nss.texi (Services in the NSS configuration): Correct
10916 list of services in example configuration file.
10918 2012-02-19 Nick Bowler <nbowler@draconx.ca>
10921 * manual/arith.texi: Remove statements about negative zero
10922 behaving identically to zero.
10924 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10927 * manual/install.texi: Do not document upgrading from libc5.
10929 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10932 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10934 2012-02-18 David S. Miller <davem@davemloft.net>
10936 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10937 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10938 %o7 across the call.
10939 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10941 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10942 SETUP_PIC_REG_LEAF.
10943 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10944 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10945 * sysdeps/sparc/crtn.S: Likewise.
10947 2012-02-17 Ulrich Drepper <drepper@gmail.com>
10949 * aout/Makefile: Remove.
10951 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10954 * manual/examples/argp-ex1.c (main): Format definition in GNU
10956 * manual/examples/argp-ex2.c (main): Likewise.
10957 * manual/examples/argp-ex3.c (main): Likewise.
10958 * manual/examples/argp-ex4.c (main): Likewise.
10959 * manual/examples/longopt.c (main): Use new-style prototype
10961 * manual/examples/strncat.c (main): Specify return type and use
10962 (void) for arguments.
10963 * manual/examples/subopt.c (main): Use char **argv argument.
10965 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10968 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10971 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10974 * manual/string.texi (strchr): Change when strchrnul is
10977 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10980 * manual/locale.texi (setlocale): Document LOCPATH.
10982 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10985 * manual/process.texi (execle): Move @dots{} before last argument.
10987 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
10990 * manual/charset.texi (Generic Charset Conversion): Fix typo
10991 (LC_TYPE -> LC_CTYPE).
10993 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10996 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10997 (scalbnf): Likewise.
10998 (scalbnl): Likewise.
10999 (scalbln): Likewise.
11000 (scalblnf): Likewise.
11001 (scalblnl): Likewise.
11002 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11003 (vwarnx): Likewise.
11006 * manual/filesys.texi (telldir): Use braces around return type.
11007 * manual/llio.texi (mmap): Add space after comma.
11008 (mmap64): Likewise.
11009 * manual/math.texi (jn): Use @var{} on parameter names.
11015 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11017 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11019 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11020 (sched_get_priority_max): Likewise.
11021 * manual/signal.texi (sigvec): Add space after comma.
11022 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11024 (if_indextoname): Likewise.
11025 (if_freenameindex): Likewise.
11026 (sendto): Use ',' instead of '.' in prototype.
11027 * manual/startup.texi (syscall): Use @dots{} instead of literal
11029 * manual/stdio.texi (__fpending): Separate initial words of
11030 paragraph from @deftypefun line.
11031 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11033 (vsyslog): Use @var{} on parameter names.
11034 * manual/terminal.texi (stty): Use @var{} on parameter names.
11035 * manual/users.texi (getutmp): Use @var{} on parameter names.
11036 (getutmpx): Likewise.
11038 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11041 * manual/stdio.texi (fopen): Fix typos in description of
11044 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11047 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11048 get clock_id definition.
11050 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11053 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11054 (madvise): Cast every argument to void on its own.
11056 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11059 * manual/startup.texi (Exit Status): Fix typo.
11061 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11064 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11065 * manual/examples/argp-ex2.c: Likewise.
11066 * manual/examples/argp-ex3.c: Likewise.
11068 2012-02-16 Richard Henderson <rth@redhat.com>
11070 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11071 * sysdeps/s390/s390-32/initfini.c: Remove.
11072 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11073 * sysdeps/s390/s390-64/initfini.c: Remove.
11075 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11077 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11078 compiler output for sysdeps/generic/initfini.c.
11079 * sysdeps/sh/elf/initfini.c: Remove file.
11081 2012-02-16 David S. Miller <davem@davemloft.net>
11084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11086 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11087 * sysdeps/sparc/crti.S: New file.
11088 * sysdeps/sparc/crtn.S: New file.
11089 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11090 * sysdeps/sparc/sparc64/Makefile: Likewise.
11092 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11095 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11097 2012-02-15 Roland McGrath <roland@hack.frob.com>
11100 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11102 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11103 (write, read, close): Likewise.
11104 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11106 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11108 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11109 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11110 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11111 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11113 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11117 2012-02-14 Marek Polacek <polacek@redhat.com>
11119 * sysdeps/x86_64/crti.S: New file.
11120 * sysdeps/x86_64/crtn.S: New file.
11121 * sysdeps/x86_64/elf/initfini.c: Remove file.
11123 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11125 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11126 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11127 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11128 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11130 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11131 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11134 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11136 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11137 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11138 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11139 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11141 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11142 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11145 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11147 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11148 __feraiseexcept instead of feraiseexcept.
11150 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11151 nanosleep invocations.
11152 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11153 strings, and add error checking for a nanosleep invocations.
11155 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11157 Replace FSF snail mail address with URLs, as per GNU coding standards.
11158 Most of the snail mail addresses were wrong anyway, and omitting
11159 them makes the source code easier to maintain. Almost all of the
11160 changes are to license notices and to locale LC_IDENTIFICATION
11161 addresses, except for this one:
11162 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11163 not its snail mail address.
11165 2012-02-09 Richard Henderson <rth@twiddle.net>
11167 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11168 of kernel-features.h.
11170 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11172 2012-02-08 Marek Polacek <polacek@redhat.com>
11174 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11175 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11176 * sysdeps/gnu/_G_config.h: Likewise.
11177 * sysdeps/generic/_G_config.h: Likewise.
11179 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11181 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11185 * sysdeps/powerpc/powerpc32/crti.S: New file.
11186 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11187 * sysdeps/powerpc/powerpc64/crti.S: New file.
11188 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11190 * Makeconfig (have-initfini): Don't set.
11191 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11192 * configure.in (nopic_initfini): Don't substitute.
11193 * config.h.in (HAVE_INITFINI): Don't #undef.
11194 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11195 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11197 2012-02-08 Joseph Myers <joseph@codesourcery.com>
11199 Support crti.S and crtn.S provided directly by architectures.
11200 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11201 [crti.S in sysdirs] (omit-deps): Likewise.
11202 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11203 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11204 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11205 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11206 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11207 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11208 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11209 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11210 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11211 compiler output for sysdeps/generic/initfini.c.
11212 * sysdeps/i386/elf/Makefile: Remove file.
11213 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11215 2012-02-07 Marek Polacek <polacek@redhat.com>
11217 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11218 * sysdeps/gnu/_G_config.h: Likewise.
11219 * sysdeps/mach/hurd/_G_config.h: Likewise.
11221 2012-02-07 Marek Polacek <polacek@redhat.com>
11223 * math/Makefile (tests): Add tst-CMPLX2.
11224 * math/tst-CMPLX2.c: New file.
11226 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11228 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11230 * math/libm-test.inc (jn_test): Add missing L suffix.
11232 2012-02-06 Marek Polacek <polacek@redhat.com>
11234 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11235 * sysdeps/i386/fpu/e_powf.S: Likewise.
11236 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11237 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11238 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11239 * sysdeps/i386/fpu/e_pow.S: Likewise.
11240 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11241 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11242 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11243 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11244 * sysdeps/i386/fpu/e_log2.S: Likewise.
11245 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11246 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11247 * sysdeps/i386/fpu/e_powl.S: Likewise.
11248 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11249 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11250 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11251 * sysdeps/i386/fpu/e_logl.S: Likewise.
11252 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11253 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11254 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11255 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11256 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11257 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11258 * sysdeps/i386/fpu/e_log.S: Likewise.
11259 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11260 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11261 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11262 * sysdeps/i386/fpu/e_logf.S: Likewise.
11263 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11264 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11265 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11266 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11267 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11268 * sysdeps/i386/fpu/e_log10.S: Likewise.
11269 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11270 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11271 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11272 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11273 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11274 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11275 * sysdeps/i386/asm-syntax.h: Likewise.
11276 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11277 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11278 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11279 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11280 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11281 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11282 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11283 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11284 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11285 * sysdeps/powerpc/sysdep.h: Likewise.
11286 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11287 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11289 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11292 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11294 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11296 * sysdeps/i386/sysdep.h: Include <features.h>.
11297 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11300 2012-02-05 Joseph Myers <joseph@codesourcery.com>
11302 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11304 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11307 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11309 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11310 (SETUP_PIC_REG): Use GET_PC_THUNK.
11311 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11314 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11316 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11317 for non-PIC compilation.
11318 (SETUP_PIC_REG): Add .p2align directive.
11319 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11320 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11321 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11322 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11323 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11324 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11325 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11326 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11327 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11328 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11329 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11330 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11331 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11332 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11333 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11334 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11335 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11336 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11337 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11338 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11339 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11340 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11341 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11342 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11343 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11344 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11345 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11346 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11347 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11348 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11349 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11350 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11351 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11352 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11353 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11354 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11355 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11356 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11357 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11358 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11359 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11361 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11363 * math/tst-CMPLX.c: Include <stdio.h>.
11365 2012-01-31 Joseph Myers <joseph@codesourcery.com>
11367 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11369 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11370 * sysdeps/sparc/bits/mathdef.h: Likewise.
11372 2012-01-31 Marek Polacek <polacek@redhat.com>
11374 * libio/libio.h: Don't define _PARAMS.
11375 * locale/programs/config.h: Don't define PARAMS.
11376 * stdlib/strtol_l.c: Likewise.
11377 (__strtol_l): Remove PARAMS from the prototype.
11379 2012-01-31 Ulrich Drepper <drepper@gmail.com>
11381 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11382 names. Just use the correct names. Remove unnecessary wrapper
11384 * malloc/arena.c: Likewise.
11385 * malloc/hooks.c: Likewise.
11387 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11388 ARENA_TEST says not to. Simplify test for creation of a new arena.
11389 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11391 2012-01-30 Ulrich Drepper <drepper@gmail.com>
11393 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11395 (update_get_addr): New function.
11396 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11397 GET_ADDR_MODULE parameter.
11399 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11401 * crypt/cert.c: Remove __STDC__ conditionals.
11402 * crypt/crypt-entry.c: Likewise.
11403 * crypt/crypt_util.c: Likewise.
11404 * libio/filedoalloc.c: Likewise.
11405 * libio/fileops.c: Likewise.
11406 * libio/genops.c: Likewise.
11407 * libio/iofclose.c: Likewise.
11408 * libio/iofdopen.c: Likewise.
11409 * libio/iofopen.c: Likewise.
11410 * libio/iofopen64.c: Likewise.
11411 * libio/iogetdelim.c: Likewise.
11412 * libio/iopopen.c: Likewise.
11413 * libio/obprintf.c: Likewise.
11414 * libio/oldfileops.c: Likewise.
11415 * libio/oldiofclose.c: Likewise.
11416 * libio/oldiofdopen.c: Likewise.
11417 * libio/oldiofopen.c: Likewise.
11418 * libio/oldiopopen.c: Likewise.
11419 * libio/wfiledoalloc.c: Likewise.
11420 * libio/wgenops.c: Likewise.
11421 * locale/programs/xmalloc.c: Likewise.
11422 * misc/syslog.c: Likewise.
11423 * stdio-common/xbug.c: Likewise.
11424 * string/memchr.c: Likewise.
11425 * string/memcmp.c: Likewise.
11426 * string/memrchr.c: Likewise.
11427 * string/rawmemchr.c: Likewise.
11428 * sysdeps/posix/getcwd.c: Likewise.
11429 * time/strftime_l.c: Likewise.
11431 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11433 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11434 * config.make.in (config-cflags-sse2avx): Define.
11435 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11438 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11440 * scripts/config.guess: Update from upstream config git repository.
11441 * scripts/config.sub: Likewise.
11443 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11445 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11447 (R_TILEPRO_*, R_TILEGX_*): New macros.
11449 * scripts/firstversions.awk: Fix bug in version range handling.
11451 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11453 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11455 * include/sys/epoll.h: New file.
11456 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11459 2012-01-28 Ulrich Drepper <drepper@gmail.com>
11461 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11462 Avoid unnecessary __WORDSIZE == 64 test.
11463 (fmaxf): Use VEX format if possible.
11468 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11469 * math/math_private.h: Remove libc_fegetround* and
11471 * sysdeps/i386/configure.in: Check for -msse2avx.
11472 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11473 also if SSE2AVX is defined.
11474 Remove libc_fegetround* and libc_fesetround*.
11475 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11476 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11477 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11479 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11480 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11481 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11482 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11483 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11485 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11487 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11489 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11491 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11493 2012-01-27 Ulrich Drepper <drepper@gmail.com>
11496 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11498 * Makeconfig (libm): Define.
11499 * elf/Makefile: Add rules to build and run tst-relsort1.
11500 * elf/tst-relsort1.c: New file.
11501 * elf/tst-relsort1mod1.c: New file.
11502 * elf/tst-relsort1mod2.c: New file.
11504 2012-01-27 Joseph Myers <joseph@codesourcery.com>
11506 * math/s_ldexp.c: Remove __STDC__ conditionals.
11507 * math/s_ldexpf.c: Likewise.
11508 * math/s_ldexpl.c: Likewise.
11509 * math/s_nextafter.c: Likewise.
11510 * math/s_nexttowardf.c: Likewise.
11511 * math/s_significand.c: Likewise.
11512 * math/s_significandf.c: Likewise.
11513 * math/s_significandl.c: Likewise.
11514 * math/w_jnl.c: Likewise.
11515 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11516 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11517 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11518 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11519 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11520 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11521 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11522 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11523 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11524 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11525 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11526 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11527 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11528 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11529 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11530 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11531 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11532 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11533 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11534 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11535 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11536 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11537 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11538 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11539 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11540 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11541 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11542 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11543 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11544 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11545 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11546 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11547 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11548 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11549 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11550 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11551 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11552 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11553 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11554 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11555 * sysdeps/ieee754/k_standard.c: Likewise.
11556 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11557 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11558 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11559 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11560 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11561 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11562 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11563 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11564 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11565 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11566 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11567 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11568 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11569 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11570 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11573 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11574 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11575 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11577 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11578 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11579 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11580 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11581 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11582 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11583 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11584 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11585 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11586 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11587 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11588 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11589 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11590 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11591 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11592 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11593 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11594 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11595 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11596 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11597 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11598 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11599 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11600 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11601 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11602 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11603 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11604 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11605 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11606 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11607 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11608 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11609 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11610 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11611 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11612 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11613 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11614 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11615 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11616 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11617 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11618 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11619 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11620 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11621 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11622 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11623 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11624 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11625 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11626 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11627 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11628 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11629 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11630 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11631 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11632 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11633 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11634 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11635 * sysdeps/ieee754/s_matherr.c: Likewise.
11636 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11637 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11638 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11639 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11641 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11643 * crypt/md5.h: Remove __STDC__ conditionals.
11644 * libio/libioP.h: Likewise.
11645 * locale/programs/config.h: Likewise.
11646 * sysdeps/generic/sysdep.h: Likewise.
11647 * sysdeps/i386/asm-syntax.h: Likewise.
11648 * sysdeps/s390/asm-syntax.h: Likewise.
11649 * sysdeps/unix/sysdep.h: Likewise.
11650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11653 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11655 * libio/libio.h: Remove __STDC__ conditionals.
11656 * malloc/obstack.h: Likewise.
11657 * math/complex.h: Likewise.
11658 * math/math.h: Likewise.
11659 * sysdeps/generic/_G_config.h: Likewise.
11660 * sysdeps/gnu/_G_config.h: Likewise.
11661 * sysdeps/mach/hurd/_G_config.h: Likewise.
11662 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11663 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11664 * sysdeps/sparc/bits/mathdef.h: Likewise.
11666 2012-01-26 Ulrich Drepper <drepper@gmail.com>
11669 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11670 Clean up HAS_* macros.
11671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11672 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11674 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11676 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11677 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11678 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11679 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11680 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11682 2012-01-25 Joseph Myers <joseph@codesourcery.com>
11684 * elf/tst-unique3.cc (gets): Remove declaration.
11685 * elf/tst-unique3lib.cc (gets): Likewise.
11686 * elf/tst-unique3lib2.cc (gets): Likewise.
11687 * elf/tst-unique4.cc (gets): Likewise.
11689 2012-01-24 Ulrich Drepper <drepper@gmail.com>
11691 * include/stdio.h: Add C++ protection. Add gets declarations and
11693 * debug/tst-chk1.c: Don't declare gets here.
11694 * stdio-common/tst-gets.c: Likewise.
11696 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11698 * posix/glob: Remove directory.
11700 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11702 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11704 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11706 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11707 of the non-standard EPFNOSUPPORT.
11709 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11711 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11712 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11713 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11715 2012-01-21 Ulrich Drepper <drepper@gmail.com>
11717 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11719 2012-01-20 Ulrich Drepper <drepper@gmail.com>
11721 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11723 * nscd/grpcache.c (cache_addgr): Likewise.
11724 * nscd/hstcache.c (cache_addhst): Likewise.
11725 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11726 * nscd/pwdcache.c (cache_addpw): Likewise.
11727 * nscd/servicescache.c (cache_addserv): Likewise.
11729 2012-01-16 Ulrich Drepper <drepper@gmail.com>
11731 * malloc/malloc.c: Various cleanups.
11732 * malloc/hooks.c: Likewise.
11734 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11735 * stdlib/bug-fmtmsg1.c: New file.
11737 * stdlib/fmtmsg.c (init): Add missing unlock.
11738 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11740 2012-01-12 Marek Polacek <polacek@redhat.com>
11742 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11745 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11747 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11748 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11749 macro to ensure uniqueness of label name.
11750 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11751 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11753 2012-01-11 Ulrich Drepper <drepper@gmail.com>
11755 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11757 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11758 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11759 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11760 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11762 2012-01-10 Ulrich Drepper <drepper@gmail.com>
11764 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11766 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11767 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11768 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11770 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11772 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11773 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11774 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11775 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11777 * math/bits/math-finite.h: Add ldexp support.
11779 2012-01-10 Marek Polacek <polacek@redhat.com>
11781 * locale/programs/localedef.h (show_archive_content): Add noreturn
11784 2012-01-09 Ulrich Drepper <drepper@gmail.com>
11786 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11788 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11790 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11792 * io/Makefile (headers): Add bits/poll2.h.
11794 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11797 typo #include statement.
11799 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11801 * include/sys/cdefs.h: Define __attribute_alloc_size.
11802 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11803 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11804 * elf/pldd.c: Likewise.
11805 * iconv/iconv_charmap.c: Likewise.
11806 * iconv/iconvconfig.c: Likewise.
11807 * iconv/strtab.c: Likewise.
11808 * locale/programs/locale.c: Likewise.
11809 * locale/programs/localedef.h: Likewise.
11810 * locale/programs/simple-hash.c: Likewise.
11811 * nscd/nscd.h: Likewise.
11812 * nss/makedb.c: Likewise.
11813 * sysdeps/generic/ldconfig.h: Likewise.
11814 * locale/programs/localedef.c: Remove xmalloc prototype.
11815 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11817 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11819 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11822 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11824 * math/Makefile (tests): Add tst-CMPLX.
11825 * math/tst-CMPLX.c: New file.
11827 * math/complex.h (CMPLXL): Fix typo.
11829 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11830 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11832 * debug/tst-chk1.c: Add poll and ppoll tests.
11833 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11834 * include/sys/poll.h: Add hidden proto for ppoll.
11835 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11836 * sysdeps/mach/hurd/ppoll.c: Likewise.
11837 * io/ppoll.c: Likewise.
11838 * debug/poll_chk.c: New file.
11839 * debug/ppoll_chk.c: New file.
11840 * include/bits/poll2.h: New file.
11841 * io/bits/poll2.h: New file.
11844 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11846 * configure.in: static is always set to yes. Remove.
11847 * config.make.in: Don't set build-static.
11848 * Makeconfig: Remove use of build-static.
11849 * dlfcn/Makefile: Likewise.
11850 * elf/Makefile: Likewise.
11851 * math/Makefile: Likewise.
11852 * misc/Makefile: Likewise.
11853 * nptl/Makefile: Likewise.
11854 * sysdeps/mach/hurd/Makefile: Likewise.
11856 * configure.in: PWD_P is not used anymore.
11857 * config.make.in: Remove PWD_P entry.
11859 * configure.in: Remove last remnants of RANLIB.
11860 No need to check for signed size_t anymore.
11861 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11863 Remove __builtin_expect test because we require at least gcc 3.4.
11864 * aclocal.m4: Likewise.
11866 * wcsmbs/mbrtoc16.c: Implement using towc function.
11867 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11868 * wcsmbs/wcsmbsload.c: Likewise.
11869 * iconv/gconv_simple.c: Likewise.
11870 * iconv/gconv_int.h: Likewise.
11871 * iconv/gconv_builtin.h: Likewise.
11872 * iconv/iconv_prog.c: Remove CHAR16 handling.
11874 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11876 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11878 * configure.in: Remove --with-elf and --enable-bounded options.
11879 Dont set base_machine for ia64. More non-ELF conditions removed.
11880 Remove testing and setting of leading underscore information.
11881 * config.make.in (build-bounded): Set to no.
11882 * config.h.in: Remove NO_UNDERSCORES entry.
11883 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11885 * csu/start.c: Remove !NO_UNDERSCORE code.
11886 * locale/localeinfo.h: Likewise.
11887 * sysdeps/generic/machine-gmon.h: Likewise.
11888 * sysdeps/generic/sysdep.h: Likewise.
11889 * sysdeps/i386/sysdep.h: Likewise.
11890 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11891 * sysdeps/mach/sysdep.h: Likewise.
11892 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11893 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11894 * sysdeps/sh/sysdep.h: Likewise.
11895 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11896 * sysdeps/unix/i386/sysdep.S: Likewise.
11897 * sysdeps/unix/sparc/start.c: Likewise.
11898 * sysdeps/unix/sparc/sysdep.S: Likewise.
11899 * sysdeps/unix/sparc/sysdep.h: Likewise.
11900 * sysdeps/unix/start.c: Likewise.
11901 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11902 * sysdeps/x86_64/sysdep.h: Likewise.
11904 2012-01-07 Ulrich Drepper <drepper@gmail.com>
11907 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11909 * argp/argp-fmtstream.h: Use const instead __const.
11910 * argp/argp.h: Likewise.
11911 * assert/assert.h: Likewise.
11912 * bits/fenv.h: Likewise.
11913 * bits/sched.h: Likewise.
11914 * bits/sigset.h: Likewise.
11915 * bits/sigthread.h: Likewise.
11916 * catgets/nl_types.h: Likewise.
11917 * conform/data/pthread.h-data: Likewise.
11918 * crypt/crypt-private.h: Likewise.
11919 * crypt/crypt.h: Likewise.
11920 * crypt/crypt_util.c: Likewise.
11921 * ctype/ctype.h: Likewise.
11922 * debug/execinfo.h: Likewise.
11923 * debug/mbsnrtowcs_chk.c: Likewise.
11924 * debug/mbsrtowcs_chk.c: Likewise.
11925 * debug/wcsnrtombs_chk.c: Likewise.
11926 * debug/wcsrtombs_chk.c: Likewise.
11927 * debug/wcstombs_chk.c: Likewise.
11928 * dirent/dirent.h: Likewise.
11929 * dlfcn/dlfcn.h: Likewise.
11930 * elf/neededtest4.c: Likewise.
11931 * grp/grp.h: Likewise.
11932 * gshadow/gshadow.h: Likewise.
11933 * iconv/gconv.h: Likewise.
11934 * iconv/gconv_int.h: Likewise.
11935 * iconv/gconv_simple.c: Likewise.
11936 * iconv/iconv.h: Likewise.
11937 * iconv/loop.c: Likewise.
11938 * iconv/skeleton.c: Likewise.
11939 * include/aio.h: Likewise.
11940 * include/aliases.h: Likewise.
11941 * include/argz.h: Likewise.
11942 * include/arpa/inet.h: Likewise.
11943 * include/assert.h: Likewise.
11944 * include/dirent.h: Likewise.
11945 * include/dlfcn.h: Likewise.
11946 * include/execinfo.h: Likewise.
11947 * include/fcntl.h: Likewise.
11948 * include/fenv.h: Likewise.
11949 * include/glob.h: Likewise.
11950 * include/grp.h: Likewise.
11951 * include/libintl.h: Likewise.
11952 * include/mntent.h: Likewise.
11953 * include/netdb.h: Likewise.
11954 * include/pwd.h: Likewise.
11955 * include/rpc/netdb.h: Likewise.
11956 * include/sched.h: Likewise.
11957 * include/search.h: Likewise.
11958 * include/shadow.h: Likewise.
11959 * include/signal.h: Likewise.
11960 * include/stdio.h: Likewise.
11961 * include/stdlib.h: Likewise.
11962 * include/string.h: Likewise.
11963 * include/sys/socket.h: Likewise.
11964 * include/sys/stat.h: Likewise.
11965 * include/sys/statfs.h: Likewise.
11966 * include/sys/statvfs.h: Likewise.
11967 * include/sys/syslog.h: Likewise.
11968 * include/sys/time.h: Likewise.
11969 * include/sys/uio.h: Likewise.
11970 * include/time.h: Likewise.
11971 * include/unistd.h: Likewise.
11972 * include/utmp.h: Likewise.
11973 * include/wchar.h: Likewise.
11974 * include/wctype.h: Likewise.
11975 * inet/aliases.h: Likewise.
11976 * inet/arpa/inet.h: Likewise.
11977 * inet/netinet/ether.h: Likewise.
11978 * inet/netinet/in.h: Likewise.
11979 * intl/libintl.h: Likewise.
11980 * io/bits/fcntl2.h: Likewise.
11981 * io/fcntl.h: Likewise.
11982 * io/ftw.h: Likewise.
11983 * io/sys/poll.h: Likewise.
11984 * io/sys/stat.h: Likewise.
11985 * io/sys/statfs.h: Likewise.
11986 * io/sys/statvfs.h: Likewise.
11987 * io/utime.h: Likewise.
11988 * libio/bits/stdio.h: Likewise.
11989 * libio/bits/stdio2.h: Likewise.
11990 * libio/libio.h: Likewise.
11991 * libio/libioP.h: Likewise.
11992 * libio/stdio.h: Likewise.
11993 * locale/lc-ctype.c: Likewise.
11994 * locale/locale.h: Likewise.
11995 * login/utmp.h: Likewise.
11996 * malloc/arena.c: Likewise.
11997 * malloc/malloc.c: Likewise.
11998 * malloc/malloc.h: Likewise.
11999 * malloc/mcheck.c: Likewise.
12000 * malloc/mtrace.c: Likewise.
12001 * math/bits/mathcalls.h: Likewise.
12002 * math/fenv.h: Likewise.
12003 * math/math_private.h: Likewise.
12004 * misc/bits/error.h: Likewise.
12005 * misc/bits/syslog.h: Likewise.
12006 * misc/err.h: Likewise.
12007 * misc/error.h: Likewise.
12008 * misc/fstab.h: Likewise.
12009 * misc/mntent.h: Likewise.
12010 * misc/regexp.h: Likewise.
12011 * misc/search.h: Likewise.
12012 * misc/sgtty.h: Likewise.
12013 * misc/sys/mman.h: Likewise.
12014 * misc/sys/syslog.h: Likewise.
12015 * misc/sys/uio.h: Likewise.
12016 * misc/sys/xattr.h: Likewise.
12017 * misc/ttyent.h: Likewise.
12018 * nis/rpcsvc/ypclnt.h: Likewise.
12019 * nss/nss.h: Likewise.
12020 * posix/bits/unistd.h: Likewise.
12021 * posix/fnmatch.h: Likewise.
12022 * posix/glob.h: Likewise.
12023 * posix/sched.h: Likewise.
12024 * posix/spawn.h: Likewise.
12025 * posix/sys/wait.h: Likewise.
12026 * posix/unistd.h: Likewise.
12027 * posix/wordexp.h: Likewise.
12028 * pwd/pwd.h: Likewise.
12029 * resolv/netdb.h: Likewise.
12030 * resource/sys/resource.h: Likewise.
12031 * rt/aio.h: Likewise.
12032 * rt/bits/mqueue2.h: Likewise.
12033 * rt/mqueue.h: Likewise.
12034 * shadow/shadow.h: Likewise.
12035 * signal/signal.h: Likewise.
12036 * socket/send.c: Likewise.
12037 * socket/sendto.c: Likewise.
12038 * socket/sys/socket.h: Likewise.
12039 * stdio-common/printf.h: Likewise.
12040 * stdlib/bits/stdlib.h: Likewise.
12041 * stdlib/fmtmsg.h: Likewise.
12042 * stdlib/monetary.h: Likewise.
12043 * stdlib/stdlib.h: Likewise.
12044 * stdlib/ucontext.h: Likewise.
12045 * streams/stropts.h: Likewise.
12046 * string/argz.h: Likewise.
12047 * string/bits/string2.h: Likewise.
12048 * string/string.h: Likewise.
12049 * string/strings.h: Likewise.
12050 * sunrpc/rpc/auth.h: Likewise.
12051 * sunrpc/rpc/auth_des.h: Likewise.
12052 * sunrpc/rpc/clnt.h: Likewise.
12053 * sunrpc/rpc/netdb.h: Likewise.
12054 * sunrpc/rpc/pmap_clnt.h: Likewise.
12055 * sunrpc/rpc/xdr.h: Likewise.
12056 * sysdeps/generic/inttypes.h: Likewise.
12057 * sysdeps/generic/net/if.h: Likewise.
12058 * sysdeps/generic/sys/swap.h: Likewise.
12059 * sysdeps/gnu/net/if.h: Likewise.
12060 * sysdeps/gnu/utmpx.h: Likewise.
12061 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12062 * sysdeps/i386/i486/bits/string.h: Likewise.
12063 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12064 * sysdeps/s390/bits/string.h: Likewise.
12065 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12066 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12067 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12068 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12069 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12070 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12071 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12072 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12073 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12074 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12075 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12076 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12077 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12078 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12079 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12080 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12081 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12082 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12083 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12084 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12085 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12086 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12087 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12088 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12089 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12090 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12091 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12092 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12093 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12094 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12095 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12096 * sysvipc/sys/ipc.h: Likewise.
12097 * sysvipc/sys/msg.h: Likewise.
12098 * sysvipc/sys/sem.h: Likewise.
12099 * sysvipc/sys/shm.h: Likewise.
12100 * termios/termios.h: Likewise.
12101 * time/sys/time.h: Likewise.
12102 * time/time.h: Likewise.
12103 * wcsmbs/bits/wchar2.h: Likewise.
12104 * wcsmbs/uchar.h: Likewise.
12105 * wcsmbs/wchar.h: Likewise.
12106 * wctype/wctype.h: Likewise.
12109 * Makeconfig: Remove all but ELF support including AIX support.
12110 * Makerules: Likewise.
12111 * config.h.in: Likewise.
12112 * config.make.in: Likewise.
12113 * configure: Likewise.
12114 * configure.in: Likewise.
12115 * csu/Makefile: Likewise.
12116 * csu/version.c: Likewise.
12117 * debug/Makefile: Likewise.
12118 * dlfcn/Makefile: Likewise.
12119 * elf/Makefile: Likewise.
12120 * extra-lib.mk: Likewise.
12121 * iconv/Makefile: Likewise.
12122 * include/libc-symbols.h: Likewise.
12123 * include/shlib-compat.h: Likewise.
12124 * resolv/Makefile: Likewise.
12125 * resolv/res_libc.c: Likewise.
12126 * rt/Makefile: Likewise.
12127 * sysdeps/i386/asm-syntax.h: Likewise.
12128 * sysdeps/i386/sysdep.h: Likewise.
12129 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12130 * sysdeps/mach/sysdep.h: Likewise.
12131 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12132 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12133 * sysdeps/s390/asm-syntax.h: Likewise.
12134 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12135 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12136 * sysdeps/sh/sysdep.h: Likewise.
12137 * sysdeps/unix/sparc/sysdep.h: Likewise.
12138 * sysdeps/wordsize-32/divdi3.c: Likewise.
12139 * sysdeps/x86_64/sysdep.h: Likewise.
12141 * argp/Versions: Remove _argp_unlock_xxx.
12144 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12145 * abilist/libBrokenLocale.abilist: Likewise.
12146 * abilist/libanl.abilist: Likewise.
12147 * abilist/libc.abilist: Likewise.
12148 * abilist/libcrypt.abilist: Likewise.
12149 * abilist/libdl.abilist: Likewise.
12150 * abilist/libm.abilist: Likewise.
12151 * abilist/libnsl.abilist: Likewise.
12152 * abilist/libpthread.abilist: Likewise.
12153 * abilist/libresolv.abilist: Likewise.
12154 * abilist/librt.abilist: Likewise.
12155 * abilist/libthread_db.abilist: Likewise.
12156 * abilist/libutil.abilist: Likewise.
12157 * abilist/libnss_db.abilist: New file.
12159 * scripts/abilist.awk: Add support for indirect functions.
12161 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12163 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12165 * shlib-versions: Remove entries for ports architectures.
12167 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12169 * elf/stackguard-macros.h: Remove support for IA-64.
12170 * elf/tst-auditmod1.c: Likewise.
12171 * sysdeps/generic/ldsodefs.h: Likewise.
12173 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12174 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12178 * configure.in: Remove --enable-omitfp support.
12180 * config.make.in: Likewise.
12181 * Makeconfig: Likewise.
12182 * manual/install.texi: Likewise.
12184 In case anyone cares, the IA-64 architecture could move to ports.
12185 * sysdeps/ia64/*: Removed.
12186 * sysdeps/unix/sysv/linux/ia64/*: Removed.
12187 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12190 * configure.in: Remove entries for unsupported architectures.
12193 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12194 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12196 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12197 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12198 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12199 fall back to using wcrtomb.
12200 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12201 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12203 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12204 * wcsmbs/tst-c16c32-1.c: New file.
12206 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12209 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12211 * elf/tst-unique3.cc: Add explicit declaration of gets.
12212 * elf/tst-unique3lib.cc: Likewise.
12213 * elf/tst-unique3lib2.cc: Likewise.
12214 * elf/tst-unique4.cc: Likewise.
12216 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12218 2012-01-06 Joseph Myers <joseph@codesourcery.com>
12221 * assert/assert.h (static_assert): Don't define for C++.
12222 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12223 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12225 2012-01-03 Ulrich Drepper <drepper@gmail.com>
12227 * iconv/loop.c (single loop): Fix assertion in storing of
12230 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12232 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12234 * posix/getconf.c: Update copyright year.
12235 * nss/getent.c: Likewise.
12236 * nss/makedb.c: Likewise.
12237 * iconv/iconvconfig.c: Likewise.
12238 * iconv/iconv_prog.c: Likewise.
12239 * elf/ldconfig.c: Likewise.
12240 * elf/pldd.c: Likewise.
12241 * elf/sotruss.ksh: Likewise.
12242 * catgets/gencat.c: Likewise.
12243 * csu/version.c: Likewise.
12244 * elf/ldd.bash.in: Likewise.
12245 * elf/sprof.c (print_version): Likewise.
12246 * locale/programs/locale.c: Likewise.
12247 * locale/programs/localedef.c: Likewise.
12248 * login/programs/pt_chown.c: Likewise.
12249 * nscd/nscd.c (print_version): Likewise.
12250 * debug/xtrace.sh: Likewise.
12251 * malloc/memusage.sh: Likewise.
12252 * malloc/mtrace.pl: Likewise.
12253 * debug/catchsegv.sh: Likewise.
12255 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12257 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12260 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12263 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12264 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12266 * iconv/gconv_int.h: Likewise.
12267 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12268 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12269 from libc for GLIBC_2.16.
12270 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12271 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12272 * wcsmbs/uchar.h: Really define mbstate_t.
12273 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12274 * wcsmbs/c16rtomb.c: New file.
12275 * wcsmbs/mbrtoc16.c: New file.
12276 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12277 for C/POSIX locale.
12278 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12279 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12281 * wcsmbs/wchar.h: Add missing __restrict.
12283 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12286 * time/Makefile (routines): Add timespec_get.
12287 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12288 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12289 timespec for ISO C11.
12290 * time/timespec_get.c: New file.
12291 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12292 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12295 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12296 * stdlib/stdlib.h: Declare aligned_alloc.
12297 * Versions.def: Add GLIBC_2.16 for libc.
12298 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12301 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12304 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12308 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12311 * assert/assert.h (static_assert): Define.
12313 * version.h: Update for 2.16 development version.
12316 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12319 * version.h (RELEASE): Bump for 2.15 release.
12320 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12322 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12323 Patch by Marek Polacek <mpolacek@redhat.com>.
12325 * bits/byteswap.h: Protect long long constants with __extension__.
12326 * sysdeps/i386/bits/byteswap.h: Likewise.
12327 * sysdeps/ia64/bits/byteswap.h: Likewise.
12328 * sysdeps/s390/bits/byteswap.h: Likewise.
12329 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12331 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12334 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12335 destination buffer.
12336 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12338 2011-12-23 Marek Polacek <polacek@redhat.com>
12340 * elf/dl-addr.c (determine_info): Add inline keyword.
12341 * elf/tst-auditmod4b.c (check_avx): Likewise.
12342 * elf/tst-auditmod6b.c (check_avx): Likewise.
12343 * elf/tst-auditmod6c.c (check_avx): Likewise.
12344 * elf/tst-auditmod7b.c (check_avx): Likewise.
12346 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12348 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12351 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12354 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12355 processing for last bytes.
12357 2011-08-06 Bruno Haible <bruno@clisp.org>
12360 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12361 U+0385, not to U+1FEE.
12364 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12365 entry for U+00A5 U+0301.
12367 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12370 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12371 buffer for the output is too small.
12373 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12377 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12378 SSE flags if possible.
12380 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12383 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12384 processing for last bytes.
12386 2011-12-22 Joseph Myers <joseph@codesourcery.com>
12388 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12389 (syscall-list-default-options, syscall-list-default-condition)
12390 (syscall-list-includes): Define.
12391 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12392 list of ABIs and options and #if conditions for each ABI. Do not
12393 handle common syscalls between ABIs specially.
12394 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12396 (syscall-list-variants, syscall-list-32bit-options)
12397 (syscall-list-32bit-condition, syscall-list-64bit-options)
12398 (syscall-list-64bit-condition): Define.
12399 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12400 (syscall-list-variants, syscall-list-32bit-options)
12401 (syscall-list-32bit-condition, syscall-list-64bit-options)
12402 (syscall-list-64bit-condition): Define.
12403 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12405 (syscall-list-variants, syscall-list-32bit-options)
12406 (syscall-list-32bit-condition, syscall-list-64bit-options)
12407 (syscall-list-64bit-condition): Define.
12408 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12410 (syscall-list-variants, syscall-list-32bit-options)
12411 (syscall-list-32bit-condition, syscall-list-64bit-options)
12412 (syscall-list-64bit-condition): Define.
12414 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12416 * locale/iso-639.def: Add brx entry.
12419 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12420 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12422 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12423 __feraiseexcept_renamed.
12425 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12428 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12429 EPOLLET with unsigned values.
12430 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12431 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12433 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12434 to large cancellation.
12435 * math/s_cacoshf.c: Likewise.
12436 * math/s_cacoshl.c: Likewise.
12438 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12442 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12443 * math/s_cacoshf.c: Likewise.
12444 * math/s_cacoshl.c: Likewise.
12446 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12449 * iconv/gconv.h: Define __GCONV_SWAP.
12450 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12451 * iconvdata/utf-16.c: Likewise.
12452 * iconvdata/utf-32.c: Likewise.
12454 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12457 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12458 numerator after shifting it by one limb.
12460 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12462 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12463 under [__USE_EXTERN_INLINES].
12465 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12468 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12470 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12472 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12473 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12475 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12476 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12477 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12478 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12479 for strncasecmp/strncasecmp_l compilation.
12480 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12481 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12483 2011-12-08 Marek Polacek <mpolacek@redhat.com>
12486 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12489 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12492 * time/tzfile.c (__tzfile_read): Check values from file header.
12494 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12496 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12497 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12498 * powerpc/powerpc32/dl-start.S: Likewise.
12499 * powerpc/powerpc32/elf/start.S: Likewise.
12500 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12501 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12502 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12503 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12504 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12505 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12506 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12507 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12508 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12509 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12510 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12511 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12512 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12513 * powerpc/powerpc32/memset.S: Likewise.
12514 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12515 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12516 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12517 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12518 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12519 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12520 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12521 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12522 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12523 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12524 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12525 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12526 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12528 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12530 * math/libm-test.inc: Added more nearbyint tests.
12531 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12532 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12533 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12534 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12536 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12538 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12541 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12543 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12544 Add wcscpy-ssse3 wcscpy-c.
12545 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12546 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12547 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12548 * sysdeps/x86_64/wcschr.S: New file.
12549 * sysdeps/x86_64/wcsrchr.S: New file.
12550 * string/test-strcmp.c: Remove checking of wcscmp function for
12552 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12553 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12554 wcsrchr-sse2 wcsrchr-c.
12555 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12556 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12557 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12558 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12559 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12560 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12561 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12562 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12563 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12564 * wcsmbc/wcschr.c (WCSCHR): New macro.
12566 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12568 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12569 * wcsmbs/test-wcsrchr.c: New file.
12570 * string/test-strrchr.c: Add wcsrchr support.
12572 * wcsmbs/test-wcscpy.c: New file.
12573 * string/test-strcpy.c: Add wcscpy support.
12576 2011-12-10 Ulrich Drepper <drepper@gmail.com>
12578 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12581 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12584 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12586 2011-12-04 Ulrich Drepper <drepper@gmail.com>
12588 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12589 Minor optimizations.
12591 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12592 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12593 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12595 2011-12-03 Ulrich Drepper <drepper@gmail.com>
12597 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12598 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12599 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12600 for gcc to avoid warnings.
12601 * inet/Makefile (tests): Add tst-checks.
12602 * inet/tst-checks.c: New file.
12604 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12607 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12610 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12611 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12613 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12615 2011-12-02 Ulrich Drepper <drepper@gmail.com>
12617 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12620 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12622 2011-11-29 Joseph Myers <joseph@codesourcery.com>
12624 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12625 conditional on GCC version.
12626 (__arch_compare_and_exchange_val_8_acq)
12627 (__arch_compare_and_exchange_val_16_acq)
12628 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12629 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12630 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12632 2011-12-02 Joseph Myers <joseph@codesourcery.com>
12634 * sysdeps/sh/backtrace.c: New file.
12636 2011-12-02 Andreas Schwab <schwab@redhat.com>
12638 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12641 2011-12-01 Andreas Schwab <schwab@redhat.com>
12643 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12644 falling back to utime.
12646 2011-11-30 Andreas Schwab <schwab@redhat.com>
12648 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12649 expectations for float.
12651 2011-11-29 Andreas Schwab <schwab@redhat.com>
12653 * locale/weight.h (findidx): Add parameter len.
12654 * locale/weightwc.h (findidx): Likewise.
12655 * posix/fnmatch_loop.c (FCT): Adjust caller.
12656 * posix/regcomp.c (build_equiv_class): Likewise.
12657 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12658 * posix/regexec.c (check_node_accept_bytes): Likewise.
12659 * string/strcoll_l.c (STRCOLL): Likewise.
12660 * string/strxfrm_l.c (STRXFRM): Likewise.
12662 2011-11-17 Ulrich Drepper <drepper@gmail.com>
12664 * Makefile.in: Remove CVSOPT handling.
12665 * configure.in: Remove use of AC_REVISION.
12666 * iconvdata/Makefile (distribute): No need to filter out CVS.
12667 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12670 2011-11-16 Andreas Schwab <schwab@redhat.com>
12672 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12673 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12674 [USE_AS_STRNCASECMP_L]: Likewise.
12675 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12676 NO_TLS_DIRECT_SEG_REFS.
12677 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12678 Fix argument offsets for non-PIC.
12679 [USE_AS_STRNCASECMP_L]: Likewise.
12680 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12681 NO_TLS_DIRECT_SEG_REFS.
12683 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12685 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12687 * locale/loadlocale.c (_nl_load_locale): Likewise.
12689 2011-11-15 Andreas Schwab <schwab@redhat.com>
12691 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12692 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12693 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12694 (SYSCALL_GETTIME): Set errno on error.
12696 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12697 count references to noai6ai_cached.
12699 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12701 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12703 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12704 FD_CLOEXEC for /proc/self/maps.
12706 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12707 FD_CLOEXEC for /proc/meminfo.
12709 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12712 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12713 FD_CLOEXEC for given file.
12715 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12717 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12718 FD_CLOEXEC for /etc/hosts.
12719 (_gethtent): Likewise.
12721 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12723 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12724 cancellation and set FD_CLOEXEC for /etc/netgroup.
12726 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12727 reading /etc/publickey.
12729 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12730 allow cancellation when reading /etc/group.
12732 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12734 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12736 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12737 when using data file.
12739 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12741 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12742 (write_nis_obj): Use "c" and "e" in fopen.
12744 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12746 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12748 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12750 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12752 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12755 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12757 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12759 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12761 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12762 file parsing and set FD_CLOEXEC.
12764 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12766 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12768 2011-11-14 Andreas Schwab <schwab@redhat.com>
12770 * malloc/arena.c (arena_get2): Don't call reused_arena when
12771 _int_new_arena failed.
12773 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12775 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12776 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12777 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12778 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12779 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12780 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12781 to compile strcasecmp and strncasecmp.
12782 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12783 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12785 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12787 2011-11-13 Ulrich Drepper <drepper@gmail.com>
12789 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12790 locale-defines.sym to gen-as-const-headers.
12791 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12792 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12793 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12794 to compile strcasecmp and strncasecmp.
12795 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12796 strcasecmp_l and strncasecmp_l.
12797 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12798 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12799 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12800 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12801 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12802 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12803 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12804 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12805 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12806 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12807 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12809 2011-11-12 Ulrich Drepper <drepper@gmail.com>
12811 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12812 result of SYSDEP_GETTIME_CPU to retval.
12813 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12814 parameter list to macro. Remove trailing semicolon. Adjust users.
12816 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12819 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12821 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12823 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12824 from unused variable.
12826 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12828 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12831 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12834 * sunrpc/rpc_prot.c (rejected): Fix case value.
12836 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12837 unsigned long long int to avoid warnings in shift.
12839 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12841 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12844 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12845 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12846 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12848 * nis/nis_table.c (nis_list): Use variable of correct type for
12849 result of __follow_path call.
12851 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12853 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12854 of math functions ceil, trunc, floor, round, and sqrt, when
12855 avaliable on the platform.
12856 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12858 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12859 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12860 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12862 2011-10-30 Marek Polacek <mpolacek@redhat.com>
12864 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12865 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12867 2011-11-11 Roland McGrath <roland@hack.frob.com>
12869 * include/unistd.h: Fix __readlink return type.
12870 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12872 2011-11-11 Ulrich Drepper <drepper@gmail.com>
12874 * stdlib/ucontext.h: Undo last change for makecontext.
12876 2011-11-11 Andreas Schwab <schwab@redhat.com>
12878 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12880 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12881 * setjmp/setjmp.h: Mark functions as non-leaf.
12882 * setjmp/bits/setjmp2.h: Likewise.
12883 * stdlib/ucontext.h: Likewise.
12885 2011-11-10 Andreas Schwab <schwab@redhat.com>
12887 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12888 (reused_arena): Don't check arena limit.
12889 (arena_get2): Atomically check arena limit.
12891 2011-11-08 Ulrich Drepper <drepper@gmail.com>
12893 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12894 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12896 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12899 2011-11-07 Andreas Schwab <schwab@redhat.com>
12901 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12902 handler when locking.
12904 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12905 Fix size of allocated buffer.
12907 2011-11-04 Andreas Schwab <schwab@redhat.com>
12910 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12911 declarations for long double functions.
12912 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12914 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12916 2011-11-03 Andreas Schwab <schwab@redhat.com>
12918 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12921 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12924 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12926 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12928 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12930 * include/alloca.h (stackinfo_alloca_round): Define.
12931 (extend_alloca): Use it.
12932 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12933 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12936 * scripts/check-local-headers.sh: Ignore libaudit.h.
12938 * nscd/Makefile (extra-objs): Make recursively expanded.
12940 2011-11-01 Ulrich Drepper <drepper@gmail.com>
12942 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12943 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12945 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12946 * posix/tst-rfc3484-2.c: Likewise.
12947 * posix/tst-rfc3484-3.c: Likewise.
12949 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12951 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12953 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12954 process_vm_writev from libc using GLIBC_2.15 version.
12956 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12958 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12960 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12963 2011-10-31 Ulrich Drepper <drepper@gmail.com>
12966 * nss/getent.c (initgroups_keys): Show error message in case no group
12969 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12970 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12971 __bump_nl_timestamp.
12972 * nscd/connections (nscd_init): When host database is served open
12973 netlink socket and request notification about configuration changes.
12974 (main_loop_poll): Track netlink file descriptor and bump timestamp
12975 in case data becomes available.
12976 (main_loop_epoll): Likewise.
12977 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12978 (database_pers_head): Add extra_data fileds.
12979 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12980 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12981 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12983 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12984 in6ai data, call __free_in6ai.
12985 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12986 Add -DHAVE_NETLINK.
12987 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12988 interface information. Reuse previous data if netlink timestamp
12990 (__bump_nl_timestamp): New function.
12991 (__free_in6ai): New function.
12993 2011-10-30 Ulrich Drepper <drepper@gmail.com>
12995 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12996 close_not_cancel_no_status here.
12997 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12999 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13002 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13005 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13006 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13007 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13009 2011-07-03 Andreas Jaeger <aj@suse.de>
13012 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13013 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13014 * math/libm-test.inc (sin_test): Add test case.
13016 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13019 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13020 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13022 * elf/chroot_canon.c (chroot_canon): Cleanups.
13024 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13027 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13028 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13030 * string/test-strchr.c: Make usable for strchrnul testing.
13031 * string/test-strchrnul.c: New file.
13032 * string/Makefile (strop-tests): Add strchrnul.
13034 * po/it.po: Update from translation team.
13035 * po/es.po: Likewise.
13037 2011-10-28 Ulrich Drepper <drepper@gmail.com>
13039 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13040 the three constants needed as parameters. Drop the others.
13041 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13042 __m128i_strloadu_tolower.
13043 Create and initialize variable zero and use it in all the places
13044 where _mm_setzero_si128 was used.
13046 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13047 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13048 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13049 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13051 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13052 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13053 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13054 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13055 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13056 __mpranred, __mptan.
13057 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13058 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13059 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13060 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13061 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13062 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13063 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13064 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13065 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13067 2011-10-28 Andreas Schwab <schwab@redhat.com>
13069 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13070 redefine if SHARED.
13071 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13073 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13074 wide char related routines to wcsmbs subdir.
13076 2011-10-27 Andreas Schwab <schwab@redhat.com>
13079 * misc/sys/cdefs.h (__THROWNL): Define.
13080 * posix/unistd.h: Use __THREADNL instead of __THREAD
13081 for memory synchronization functions.
13083 2011-10-26 Roland McGrath <roland@hack.frob.com>
13086 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13088 * manual/stdio.texi (Obstack Streams): Node removed.
13090 2011-10-26 Andreas Schwab <schwab@redhat.com>
13092 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13093 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13094 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13096 * math/math_private.h (math_force_eval): Allow non-addressable
13098 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13100 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13102 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13103 file is not needed.
13105 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13106 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13107 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13108 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13109 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13110 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13111 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13112 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13114 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13115 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13116 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13117 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13118 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13119 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13120 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13121 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13122 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13123 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13124 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13125 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13126 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13127 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13128 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13129 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13130 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13131 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13132 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13134 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13135 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13137 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13138 place. Use VEX encoding when compiling for AVX.
13140 2011-10-25 Andreas Schwab <schwab@redhat.com>
13142 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13143 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13145 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13147 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13149 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13150 useless if() expression.
13151 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13152 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13153 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13154 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13155 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13156 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13157 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13158 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13159 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13160 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13161 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13162 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13163 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13164 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13165 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13166 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13167 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13168 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13169 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13171 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13173 2011-10-25 Andreas Schwab <schwab@redhat.com>
13175 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13177 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13179 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13181 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13182 .text section. Avoid duplicate constants.
13183 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13184 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13185 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13186 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13187 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13188 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13189 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13190 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13191 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13192 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13193 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13194 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13195 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13196 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13197 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13198 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13199 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13200 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13201 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13202 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13203 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13204 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13205 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13206 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13207 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13208 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13209 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13210 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13211 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13212 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13213 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13214 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13215 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13216 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13217 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13218 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13219 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13220 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13221 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13222 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13223 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13224 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13225 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13226 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13227 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13229 2011-10-24 Ulrich Drepper <drepper@gmail.com>
13231 * sysdeps/x86_64/dla.h: Move to ...
13232 * sysdeps/x86_64/fpu/dla.h: ...here.
13233 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13234 situations. Use __builtin_fma only for gcc 4.6 and up.
13236 * config.make.in: Add have-mfma4 entry.
13237 * configure.in: Substitute libc_cv_cc_fma4.
13238 * math/Makefile (dbl-only-routines): Add sincostab.
13239 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13240 Use __sincostab not sincos.
13241 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13243 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13244 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13245 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13246 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13248 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13249 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13250 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13251 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13253 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13254 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13256 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13257 define aliases when function name is a macro.
13258 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13259 sysdeps/ieee754/dbl-64/sincos.tbl.
13260 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13261 fma4-enabled routines.
13262 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13263 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13264 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13265 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13266 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13267 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13268 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13269 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13270 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13271 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13272 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13273 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13274 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13275 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13276 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13277 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13278 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13279 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13280 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13281 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13282 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13283 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13284 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13285 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13286 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13287 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13288 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13289 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13290 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13291 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13293 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13295 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13296 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13297 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13298 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13299 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13300 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13301 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13302 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13304 2011-10-24 Andreas Schwab <schwab@redhat.com>
13306 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13308 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13310 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13312 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13314 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13316 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13317 Remove unused variable magic_bits.
13318 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13320 * string/strnlen.c: Define and use STRNLEN macro.
13321 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13322 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13323 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13324 * wcsmbs/wcslen.c: Define and use WCSLEN.
13325 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13326 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13327 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13328 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13329 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13330 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13331 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13333 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13335 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13336 strnlen-sse2-no-bsf.
13337 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13338 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13339 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13340 Add strnlen support.
13341 (USE_AS_STRNLEN): New macro.
13342 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13343 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13344 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13345 * sysdeps/x86_64/wcslen.S: New file.
13347 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13349 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13350 XMM-moves are used for copying on small sizes.
13352 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13354 * wcsmbs/Makefile (strop-tests): Add wcschr.
13355 * wcsmbs/test-wcschr.c: New file.
13356 * string/test-strchr.c: Update.
13357 Add wcschr support.
13360 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13362 * wcsmbs/Makefile (strop-tests): Add wcslen.
13363 * wcsmbs/test-wcslen.c: New file.
13364 * string/test-strlen.c: Update.
13365 Add wcslen support.
13368 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13370 * po/it.po: Update from translation team.
13372 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13374 * sysdeps/x86_64/wcscmp.S: Update.
13375 Fix wrong comparison semantics.
13376 wcscmp shall use signed comparison not unsigned.
13377 Don't use substraction to avoid overflow bug.
13378 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13379 * wcsmbc/wcscmp.c: Likewise.
13380 * string/test-strcmp.c: Likewise.
13381 Add new tests to check cases with negative values.
13383 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13385 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13386 * sysdeps/x86_64/dla.h: ...here. New file.
13387 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13388 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13389 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13390 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13391 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13392 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13393 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13394 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13395 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13397 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13399 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13400 __ynl_finite aliases.
13402 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13404 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13406 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13408 [DLA_FMA] (EMULV): Use DLA_FMA.
13409 [DLA_FMA] (MUL12): Use EMULV.
13410 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13411 that are not needed.
13412 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13413 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13414 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13415 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13416 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13417 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13418 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13420 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13422 * math/s_nan.c: Undef __nan.
13423 * math/s_nanf.c: Undef __nanf.
13424 * math/s_nanl.c: Undef __nanl.
13425 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13428 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13430 * math/s_catan.c: Add branch predictions.
13431 * math/s_catanf.c: Likewise.
13432 * math/s_catanh.c: Likewise.
13433 * math/s_catanhf.c: Likewise.
13434 * math/s_catanhl.c: Likewise.
13435 * math/s_catanl.c: Likewise.
13436 * math/s_cexp.c: Likewise.
13437 * math/s_cexpf.c: Likewise.
13438 * math/s_cexpl.c: Likewise.
13439 * math/s_clog.c: Likewise.
13440 * math/s_clog10.c: Likewise.
13441 * math/s_clog10f.c: Likewise.
13442 * math/s_clog10l.c: Likewise.
13443 * math/s_clogf.c: Likewise.
13444 * math/s_clogl.c: Likewise.
13445 * math/s_csqrt.c: Likewise.
13446 * math/s_csqrtf.c: Likewise.
13447 * math/s_csqrtl.c: Likewise.
13448 * math/s_ctanf.c: Likewise.
13449 * math/s_ctanh.c: Likewise.
13450 * math/s_ctanhf.c: Likewise.
13451 * math/s_ctanhl.c: Likewise.
13452 * math/s_ctanl.c: Likewise.
13454 * math/math_private.h: Define __nan, __nanf, __nanl.
13455 * math/s_cacosh.c: Include <math_private.h>.
13456 * math/s_cacoshl.c: Likewise.
13457 * math/s_casinh.c: Likewise.
13458 * math/s_casinhf.c: Likewise.
13459 * math/s_casinhl.c: Likewise.
13460 * math/s_ccos.c: Rely entire on ccosh.
13461 * math/s_ccosf.c: Rely entire on ccoshf.
13462 * math/s_ccosl.c: Rely entirely on ccoshl.
13463 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13464 Remove tests for FE_INVALID.
13465 * math/s_ccoshf.c: Likewise.
13466 * math/s_ccoshl.c: Likewise.
13467 * math/s_csin.c: Likewise.
13468 * math/s_csinf.c: Likewise.
13469 * math/s_csinh.c Likewise.
13470 * math/s_csinhf.c: Likewise.
13471 * math/s_csinhl.c: Likewise.
13472 * math/s_csinl.c: Likewise.
13473 * math/s_ctan.c: Likewise.
13474 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13475 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13476 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13478 2011-10-21 Ulrich Drepper <drepper@gmail.com>
13480 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13481 compilation problems.
13483 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13486 2011-10-20 Ulrich Drepper <drepper@gmail.com>
13488 * sysdeps/i386/configure.in: Test for -mfma4 option.
13489 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13490 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13491 COMMON_CPUID_INDEX_80000001.
13492 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13493 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13494 use it if FMA3 is not supported.
13495 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13497 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13498 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13500 2011-10-20 Andreas Schwab <schwab@redhat.com>
13503 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13504 it would create a cycle with a link time dependency.
13506 2011-10-19 Ulrich Drepper <drepper@gmail.com>
13508 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13510 * string/Makefile (strop-tests): Add rawmemchr.
13511 * string/test-rawmemchr.c: New file.
13513 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13514 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13515 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13516 when compiling str{,n}casecmp and when AVX is available. Hook up
13517 new optimized code in initializers.
13519 2011-10-19 Andreas Schwab <schwab@redhat.com>
13521 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13522 __feraiseexcept instead of feraiseexcept.
13524 2011-10-18 Ulrich Drepper <drepper@gmail.com>
13526 * math/math_private.h: Define defaults for libc_fetestexcept and
13528 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13529 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13530 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13531 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13532 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13533 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13534 libc_fetestexcept and libc_feupdateenv.
13536 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13537 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13538 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13539 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13540 libc_feholdexcept_setround.
13542 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13543 Add s_nearbyint-c and s_nearbyintf-c.
13544 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13545 nearbyintf inlines.
13546 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13547 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13548 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13549 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13551 * math/math_private.h: Define defaults for libc_fegetround,
13552 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13553 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13554 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13555 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13556 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13557 standard functions.
13558 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13559 Remove comments and hacks for old compiler versions.
13560 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13561 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13562 libc_feholdexceptl.
13564 2011-10-18 Andreas Schwab <schwab@redhat.com>
13566 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13567 (__feraiseexcept_renamed): Add __NTH.
13568 (feraiseexcept): Add __NTH. Rename local variables to fix
13569 namespace violations.
13571 2011-10-17 Ulrich Drepper <drepper@gmail.com>
13573 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13575 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13577 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13578 recently added interfaces.
13579 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13581 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13582 about macro parameter expansion.
13584 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13585 __NO_MATH_INLINES is defined. Cleanups.
13587 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13588 and __floorf is target has SSE4.1.
13589 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13590 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13591 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13592 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13594 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13596 (floorf): Likewise.
13598 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13600 2011-10-17 Andreas Schwab <schwab@redhat.com>
13602 * misc/sys/cdefs.h: Fix last change.
13604 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13607 2011-10-16 Ulrich Drepper <drepper@gmail.com>
13609 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13611 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13612 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13613 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13614 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13615 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13616 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13617 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13618 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13619 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13620 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13621 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13622 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13623 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13624 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13625 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13626 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13627 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13628 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13629 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13630 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13631 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13632 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13634 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13635 ceil, ceilf, floor, floorf.
13637 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13638 Perform IRELATIVE relocations last.
13640 * elf/do-rel.h: Add another parameter nrelative, replacing the
13641 local variable with the same name. Change name of the function
13642 to end in Rel or Rela (uppercase).
13643 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13644 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13645 elf_dynamic_do_##reloc function.
13647 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13649 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13650 is sufficient, at least on modern CPUs.
13652 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13654 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13655 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13657 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13659 * math/bits/math-finite.h: Add entries for exp.
13660 * math/e_expl.c: Add __*_finite alias.
13661 * sysdeps/i386/fpu/e_exp.S: Likewise.
13662 * sysdeps/i386/fpu/e_expf.S: Likewise.
13663 * sysdeps/i386/fpu/e_expl.c: Likewise.
13664 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13665 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13666 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13667 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13668 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13669 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13670 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13672 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13673 is sufficient, at least on modern CPUs.
13675 * ctype/ctype-info.c (__ctype_init): Define.
13676 * include/ctype.h (__ctype_init): Declare.
13677 (__ctype_b_loc): The variable is always initialized.
13678 (__ctype_toupper_loc): Likewise.
13679 (__ctype_tolower_loc): Likewise.
13680 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13681 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13683 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13685 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13687 * configure.in: Also look in $cxxmachine/include for C++ system
13690 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13692 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13693 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13694 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13695 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13696 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13697 (USE_AS_WMEMCMP): New macro.
13699 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13700 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13701 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13702 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13703 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13704 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13705 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13706 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13707 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13708 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13709 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13710 (USE_AS_WMEMCMP): New macro.
13711 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13712 * sysdeps/string/test-memcmp.c: Update.
13713 Fix simple_wmemcmp.
13715 * wcsmbs/wmemcmp.c: Update.
13716 (WMEMCMP): New macro.
13719 2011-10-12 Andreas Jaeger <aj@suse.de>
13722 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13724 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13726 * libio/iofwide.c (do_length): Avoid warning.
13728 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13730 2011-10-14 Ulrich Drepper <drepper@gmail.com>
13732 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13734 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13735 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13736 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13737 * sysdeps/i386/i686/fpu/e_log.S: New file.
13738 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13739 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13741 * ctype/ctype.h: Add support for inlined isXXX functions when
13742 compiling C++ code.
13744 2011-10-14 Andreas Schwab <schwab@redhat.com>
13746 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13748 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13750 2011-10-13 Roland McGrath <roland@hack.frob.com>
13753 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13755 2011-10-13 Andreas Schwab <schwab@redhat.com>
13757 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13758 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13761 * sysdeps/x86_64/memrchr.S: Check for zero size.
13763 * string/stratcliff.c: Add memrchr tests.
13765 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13767 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13768 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13769 rawmemchr-sse2 rawmemchr-sse2-bsf.
13770 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13771 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13772 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13773 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13774 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13775 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13776 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13777 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13778 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13779 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13780 * string/memrchr.c (MEMRCHR): New macro.
13782 2011-10-12 Ulrich Drepper <drepper@gmail.com>
13784 Add integration with gcc's -ffinite-math-only and optimize wrapper
13786 * Versions.def: Define GLIBC_2.15 version for libm.
13787 * math/Makefile (headers): Add bits/math-finite.h.
13788 * math/bits/math-finite.h: New file.
13789 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13790 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13791 * math/e_acoshl.c: Add __*_finite alias.
13792 * math/e_acosl.c: Likewise.
13793 * math/e_asinl.c: Likewise.
13794 * math/e_atan2l.c: Likewise.
13795 * math/e_atanhl.c: Likewise.
13796 * math/e_coshl.c: Likewise.
13797 * math/e_exp10.c: Likewise.
13798 * math/e_exp10f.c: Likewise.
13799 * math/e_exp10l.c: Likewise.
13800 * math/e_exp2l.c: Likewise.
13801 * math/e_fmodl.c: Likewise.
13802 * math/e_gammal_r.c: Likewise.
13803 * math/e_hypotl.c: Likewise.
13804 * math/e_j0l.c: Likewise.
13805 * math/e_j1l.c: Likewise.
13806 * math/e_jnl.c: Likewise.
13807 * math/e_lgammal_r.c: Likewise.
13808 * math/e_log10l.c: Likewise.
13809 * math/e_log2l.c: Likewise.
13810 * math/e_logl.c: Likewise.
13811 * math/e_powl.c: Likewise.
13812 * math/e_sinhl.c: Likewise.
13813 * math/e_sqrtl.c: Likewise.
13814 * math/e_scalb.c: Completely rewritten and optimized.
13815 * math/e_scalbf.c: Likewise.
13816 * math/e_scalbl.c: Likewise.
13817 * math/w_acos.c: Likewise.
13818 * math/w_acosf.c: Likewise.
13819 * math/w_acosl.c: Likewise.
13820 * math/w_acosh.c: Likewise.
13821 * math/w_acoshf.c: Likewise.
13822 * math/w_acoshl.c: Likewise.
13823 * math/w_asin.c: Likewise.
13824 * math/w_asinf.c: Likewise.
13825 * math/w_asinl.c: Likewise.
13826 * math/w_atan2.c: Likewise.
13827 * math/w_atan2f.c: Likewise.
13828 * math/w_atan2l.c: Likewise.
13829 * math/w_atanh.c: Likewise.
13830 * math/w_atanhf.c: Likewise.
13831 * math/w_atanhl.c: Likewise.
13832 * math/w_exp10.c: Likewise.
13833 * math/w_exp10f.c: Likewise.
13834 * math/w_exp10l.c: Likewise.
13835 * math/w_fmod.c: Likewise.
13836 * math/w_fmodf.c: Likewise.
13837 * math/w_fmodl.c: Likewise.
13838 * math/w_j0.c: Likewise.
13839 * math/w_j0f.c: Likewise.
13840 * math/w_j0l.c: Likewise.
13841 * math/w_j1.c: Likewise.
13842 * math/w_j1f.c: Likewise.
13843 * math/w_j1l.c: Likewise.
13844 * math/w_jn.c: Likewise.
13845 * math/w_jnf.c: Likewise.
13846 * math/w_log.c: Likewise.
13847 * math/w_logf.c: Likewise.
13848 * math/w_logl.c: Likewise.
13849 * math/w_log10.c: Likewise.
13850 * math/w_log10f.c: Likewise.
13851 * math/w_log10l.c: Likewise.
13852 * math/w_log2.c: Likewise.
13853 * math/w_log2f.c: Likewise.
13854 * math/w_log2l.c: Likewise.
13855 * math/w_pow.c: Likewise.
13856 * math/w_powf.c: Likewise.
13857 * math/w_powl.c: Likewise.
13858 * math/w_remainder.c: Likewise.
13859 * math/w_remainderf.c: Likewise.
13860 * math/w_remainderl.c: Likewise.
13861 * math/w_scalb.c: Likewise.
13862 * math/w_scalbf.c: Likewise.
13863 * math/w_scalbl.c: Likewise.
13864 * math/w_sqrt.c: Likewise.
13865 * math/w_sqrtf.c: Likewise.
13866 * math/w_sqrtl.c: Likewise.
13867 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13868 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13870 * math/math_private.h: Declare __kernel_standard_f.
13871 * math/w_cosh.c: Remove cruft and optimize a bit.
13872 * math/w_coshf.c: Likewise.
13873 * math/w_coshl.c: Likewise.
13874 * math/w_exp2.c: Likewise.
13875 * math/w_exp2f.c: Likewise.
13876 * math/w_exp2l.c: Likewise.
13877 * math/w_hypot.c: Likewise.
13878 * math/w_hypotf.c: Likewise.
13879 * math/w_hypotl.c: Likewise.
13880 * math/w_lgamma.c: Likewise.
13881 * math/w_lgamma_r.c: Likewise.
13882 * math/w_lgammaf.c: Likewise.
13883 * math/w_lgammaf_r.c: Likewise.
13884 * math/w_lgammal.c: Likewise.
13885 * math/w_lgammal_r.c: Likewise.
13886 * math/w_sinh.c: Likewise.
13887 * math/w_sinhf.c: Likewise.
13888 * math/w_sinhl.c: Likewise.
13889 * math/w_tgamma.c: Likewise.
13890 * math/w_tgammaf.c: Likewise.
13891 * math/w_tgammal.c: Likewise.
13892 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13893 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13894 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13895 Minor optimizations. Pretty printing. Remove cruft.
13896 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13897 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13898 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13899 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13900 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13901 * sysdeps/i386/fpu/e_asin.S: Likewise.
13902 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13903 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13904 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13905 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13906 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13907 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13908 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13909 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13910 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13911 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13912 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13913 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13914 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13915 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13916 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13917 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13918 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13919 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13920 * sysdeps/i386/fpu/e_log.S: Likewise.
13921 * sysdeps/i386/fpu/e_log10.S: Likewise.
13922 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13923 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13924 * sysdeps/i386/fpu/e_log2.S: Likewise.
13925 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13926 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13927 * sysdeps/i386/fpu/e_logf.S: Likewise.
13928 * sysdeps/i386/fpu/e_logl.S: Likewise.
13929 * sysdeps/i386/fpu/e_pow.S: Likewise.
13930 * sysdeps/i386/fpu/e_powf.S: Likewise.
13931 * sysdeps/i386/fpu/e_powl.S: Likewise.
13932 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13933 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13934 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13935 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13936 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13937 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13938 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13939 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13940 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13941 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13942 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13943 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13944 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13945 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13946 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13947 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13948 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13949 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13950 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13951 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13952 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13953 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13954 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13955 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13956 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13957 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13958 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13959 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13960 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13961 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13962 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13963 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13964 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13965 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13966 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13967 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13968 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13969 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13970 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13971 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13972 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13973 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13974 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13975 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13976 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13977 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13978 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13979 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13980 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13981 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13982 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13983 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13984 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13985 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13986 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13987 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13988 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13989 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13990 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13991 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13992 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13993 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13994 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13995 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13996 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13997 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13998 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13999 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14000 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14001 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14002 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14003 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14004 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14005 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14006 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14007 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14008 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14009 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14010 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14011 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14012 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14013 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14014 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14015 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14016 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14017 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14018 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14019 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14020 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14021 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14022 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14023 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14024 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14025 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14026 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14027 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14028 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14029 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14030 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14031 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14032 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14033 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14034 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14035 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14036 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14037 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14038 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14039 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14040 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14041 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14042 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14043 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14044 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14045 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14046 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14047 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14048 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14049 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14050 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14051 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14052 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14053 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14054 (__isnanf): Likewise.
14055 (__isinf_ns): Likewise.
14056 (__isinf_nsf): Likewise.
14057 (__finite): Likewise.
14058 (__finitef): Likewise.
14059 (__ieee754_sqrt): Define as macro.
14060 (__ieee754_sqrtf): Define as macro.
14061 (__ieee754_sqrtl): Define as macro.
14062 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14064 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14065 __FINITE_MATH_ONLY__ consistent.
14066 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14068 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14070 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14073 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14075 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14077 * po/ja.po: Update from translation team.
14079 2011-10-08 Roland McGrath <roland@hack.frob.com>
14081 * locale/programs/locarchive.c (prepare_address_space): New function.
14082 (create_archive, enlarge_archive, open_archive): Use it.
14084 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14085 inside [SHARED], where it is used.
14087 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14089 * nss/getent.c (netgroup_keys): Remove unused variable.
14090 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14092 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14094 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14095 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14096 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14097 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14098 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14099 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14100 * math/Makefile (libm-calls): Add s_isinf_ns.
14101 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14102 * math/multc3.c: Likewise.
14103 * math/s_casin.c: Likewise.
14104 * math/s_casinf.c: Likewise.
14105 * math/s_casinl.c: Likewise.
14106 * math/s_ccos.c: Likewise.
14107 * math/s_ccosf.c: Likewise.
14108 * math/s_ccosl.c: Likewise.
14109 * math/s_ctan.c: Likewise.
14110 * math/s_ctanf.c: Likewise.
14111 * math/s_ctanh.c: Likewise.
14112 * math/s_ctanhf.c: Likewise.
14113 * math/s_ctanhl.c: Likewise.
14114 * math/s_ctanl.c: Likewise.
14115 * math/w_fmod.c: Likewise.
14116 * math/w_fmodf.c: Likewise.
14117 * math/w_fmodl.c: Likewise.
14118 * math/w_remainder.c: Likewise.
14119 * math/w_remainderf.c: Likewise.
14120 * math/w_remainderl.c: Likewise.
14121 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14122 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14123 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14124 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14125 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14126 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14127 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14128 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14130 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14132 * stdio-common/printf_fphex.c: Likewise.
14133 * stdio-common/printf_size.c: Likewise.
14135 * math/e_exp10.c: Include math_private.h using <...> not "...".
14136 * math/e_exp10f.c: Likewise.
14137 * math/e_exp10l.c: Likewise.
14138 * math/e_exp2l.c: Likewise.
14139 * math/e_j0l.c: Likewise.
14140 * math/e_j1l.c: Likewise.
14141 * math/e_jnl.c: Likewise.
14142 * math/e_lgammal_r.c: Likewise.
14143 * math/e_rem_pio2l.c: Likewise.
14144 * math/e_scalb.c: Likewise.
14145 * math/e_scalbf.c: Likewise.
14146 * math/e_scalbl.c: Likewise.
14147 * math/k_cosl.c: Likewise.
14148 * math/k_sinl.c: Likewise.
14149 * math/k_tanl.c: Likewise.
14150 * math/s_cacoshf.c: Likewise.
14151 * math/s_catan.c: Likewise.
14152 * math/s_catanf.c: Likewise.
14153 * math/s_catanh.c: Likewise.
14154 * math/s_catanhf.c: Likewise.
14155 * math/s_catanhl.c: Likewise.
14156 * math/s_catanl.c: Likewise.
14157 * math/s_ccosh.c: Likewise.
14158 * math/s_ccoshf.c: Likewise.
14159 * math/s_ccoshl.c: Likewise.
14160 * math/s_cexp.c: Likewise.
14161 * math/s_cexpf.c: Likewise.
14162 * math/s_cexpl.c: Likewise.
14163 * math/s_clog.c: Likewise.
14164 * math/s_clog10.c: Likewise.
14165 * math/s_clog10f.c: Likewise.
14166 * math/s_clog10l.c: Likewise.
14167 * math/s_clogf.c: Likewise.
14168 * math/s_clogl.c: Likewise.
14169 * math/s_csin.c: Likewise.
14170 * math/s_csinf.c: Likewise.
14171 * math/s_csinh.c: Likewise.
14172 * math/s_csinhf.c: Likewise.
14173 * math/s_csinhl.c: Likewise.
14174 * math/s_csinl.c: Likewise.
14175 * math/s_csqrt.c: Likewise.
14176 * math/s_csqrtf.c: Likewise.
14177 * math/s_csqrtl.c: Likewise.
14178 * math/s_ctan.c: Likewise.
14179 * math/s_ctanf.c: Likewise.
14180 * math/s_ctanh.c: Likewise.
14181 * math/s_ctanhf.c: Likewise.
14182 * math/s_ctanhl.c: Likewise.
14183 * math/s_ctanl.c: Likewise.
14184 * math/s_ldexp.c: Likewise.
14185 * math/s_ldexpf.c: Likewise.
14186 * math/s_ldexpl.c: Likewise.
14187 * math/s_significand.c: Likewise.
14188 * math/s_significandf.c: Likewise.
14189 * math/s_significandl.c: Likewise.
14190 * math/w_acos.c: Likewise.
14191 * math/w_acosf.c: Likewise.
14192 * math/w_acosh.c: Likewise.
14193 * math/w_acoshf.c: Likewise.
14194 * math/w_acoshl.c: Likewise.
14195 * math/w_acosl.c: Likewise.
14196 * math/w_asin.c: Likewise.
14197 * math/w_asinf.c: Likewise.
14198 * math/w_asinl.c: Likewise.
14199 * math/w_atan2.c: Likewise.
14200 * math/w_atan2f.c: Likewise.
14201 * math/w_atan2l.c: Likewise.
14202 * math/w_atanh.c: Likewise.
14203 * math/w_atanhf.c: Likewise.
14204 * math/w_atanhl.c: Likewise.
14205 * math/w_cosh.c: Likewise.
14206 * math/w_coshf.c: Likewise.
14207 * math/w_coshl.c: Likewise.
14208 * math/w_dremf.c: Likewise.
14209 * math/w_exp10.c: Likewise.
14210 * math/w_exp10f.c: Likewise.
14211 * math/w_exp10l.c: Likewise.
14212 * math/w_exp2.c: Likewise.
14213 * math/w_exp2f.c: Likewise.
14214 * math/w_fmod.c: Likewise.
14215 * math/w_fmodf.c: Likewise.
14216 * math/w_fmodl.c: Likewise.
14217 * math/w_hypot.c: Likewise.
14218 * math/w_hypotf.c: Likewise.
14219 * math/w_hypotl.c: Likewise.
14220 * math/w_j0.c: Likewise.
14221 * math/w_j0f.c: Likewise.
14222 * math/w_j0l.c: Likewise.
14223 * math/w_j1.c: Likewise.
14224 * math/w_j1f.c: Likewise.
14225 * math/w_j1l.c: Likewise.
14226 * math/w_jn.c: Likewise.
14227 * math/w_jnf.c: Likewise.
14228 * math/w_jnl.c: Likewise.
14229 * math/w_lgamma.c: Likewise.
14230 * math/w_lgamma_r.c: Likewise.
14231 * math/w_lgammaf.c: Likewise.
14232 * math/w_lgammaf_r.c: Likewise.
14233 * math/w_lgammal.c: Likewise.
14234 * math/w_lgammal_r.c: Likewise.
14235 * math/w_log.c: Likewise.
14236 * math/w_log10.c: Likewise.
14237 * math/w_log10f.c: Likewise.
14238 * math/w_log10l.c: Likewise.
14239 * math/w_log2.c: Likewise.
14240 * math/w_log2f.c: Likewise.
14241 * math/w_log2l.c: Likewise.
14242 * math/w_logf.c: Likewise.
14243 * math/w_logl.c: Likewise.
14244 * math/w_pow.c: Likewise.
14245 * math/w_powf.c: Likewise.
14246 * math/w_powl.c: Likewise.
14247 * math/w_remainder.c: Likewise.
14248 * math/w_remainderf.c: Likewise.
14249 * math/w_remainderl.c: Likewise.
14250 * math/w_scalb.c: Likewise.
14251 * math/w_scalbf.c: Likewise.
14252 * math/w_scalbl.c: Likewise.
14253 * math/w_sinh.c: Likewise.
14254 * math/w_sinhf.c: Likewise.
14255 * math/w_sinhl.c: Likewise.
14256 * math/w_sqrt.c: Likewise.
14257 * math/w_sqrtf.c: Likewise.
14258 * math/w_sqrtl.c: Likewise.
14259 * math/w_tgamma.c: Likewise.
14260 * math/w_tgammaf.c: Likewise.
14261 * math/w_tgammal.c: Likewise.
14263 * po/ja.po: Update from translation team.
14265 2011-09-29 Andreas Jaeger <aj@suse.de>
14268 * sunrpc/netname.c (netname2host): Fix logic.
14272 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14274 * math/w_remainder.c (__remainder): Likewise.
14275 * math/w_remainderf.c (__remainderf): Likewise.
14276 * math/libm-test.inc (remainder_test): Add test cases.
14278 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14280 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14283 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14285 * string/test-memcmp.c: Avoid unncessary #defines.
14286 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14288 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14290 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14291 Use new sse2 version for core i3 - i7 as it's faster
14292 than sse42 version.
14293 (bit_Prefer_PMINUB_for_stringop): New.
14294 * sysdeps/x86_64/rawmemchr.S: Update.
14295 Replace with faster SSE2 version.
14296 * sysdeps/x86_64/memrchr.S: New file.
14297 * sysdeps/x86_64/memchr.S: Update.
14298 Replace with faster SSE2 version.
14300 2011-09-12 Marek Polacek <mpolacek@redhat.com>
14302 * elf/dl-load.c (lose): Add cast to avoid warning.
14304 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14306 * po/ca.po: Update from translation team.
14308 * inet/getnetgrent_r.c: Hook up nscd.
14309 * nscd/Makefile (routines): Add nscd_netgroup.
14310 (nscd-modules): Add netgroupcache.
14311 (CFLAGS-netgroupcache.c): Define.
14312 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14313 (cache_search): Add const to second parameter.
14314 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14316 (dbs): Add netgrdb entry.
14317 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14318 (verify_persistent_db): Handle netgrdb.
14319 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14320 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14322 (netgroup_response_header): Define.
14323 (innetgroup_response_header): Define.
14324 (datahead): Add netgroup_response_header and innetgroup_response_header
14326 * nscd/nscd.conf: Add entries for netgroup cache.
14327 * nscd/nscd.h (dbtype): Add netgrdb.
14328 (_PATH_NSCD_NETGROUP_DB): Define.
14329 (netgroup_iov_disabled): Declare.
14330 (xmalloc, xcalloc, xrealloc): Move declarations here.
14331 (cache_search): Adjust prototype.
14332 Add netgroup-related prototypes.
14333 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14334 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14335 (__nscd_innetgr): Declare.
14336 * nscd/selinux.c (perms): Use access_vector_t as element type and
14337 add netgroup-related initializers.
14338 * nscd/netgroupcache.c: New file.
14339 * nscd/nscd_netgroup.c: New file.
14340 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14341 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14342 For four parameters use innetgr.
14343 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14344 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14345 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14346 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14348 * nscd/connections.c (register_traced_file): Don't register file
14349 for disabled databases.
14351 2011-10-06 Ulrich Drepper <drepper@gmail.com>
14353 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14355 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14356 from tree and freeing node.
14358 2011-09-25 Jiri Olsa <jolsa@redhat.com>
14360 * nss/nsswitch.c (__nss_database_lookup): Handle
14361 nss_parse_service_list out of memory case.
14363 2011-09-15 Jiri Olsa <jolsa@redhat.com>
14365 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14366 out of memory case.
14368 2011-10-04 Andreas Schwab <schwab@redhat.com>
14370 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14371 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14373 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14374 elf_machine_rela, elf_machine_lazy_rel.
14375 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14376 (ELF_DYNAMIC_DO_REL): Likewise.
14377 (ELF_DYNAMIC_DO_RELA): Likewise.
14378 (ELF_DYNAMIC_RELOCATE): Likewise.
14379 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14380 to ELF_DYNAMIC_DO_REL.
14381 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14382 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14383 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14385 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14386 skip_ifunc, don't call ifunc function if non-zero.
14387 (elf_machine_rela): Likewise.
14388 (elf_machine_lazy_rel): Likewise.
14389 (elf_machine_lazy_rela): Likewise.
14390 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14391 (elf_machine_lazy_rel): Likewise.
14392 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14394 (elf_machine_lazy_rel): Likewise.
14395 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14397 (elf_machine_lazy_rel): Likewise.
14398 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14399 (elf_machine_lazy_rel): Likewise.
14400 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14401 (elf_machine_lazy_rel): Likewise.
14402 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14403 (elf_machine_lazy_rel): Likewise.
14404 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14405 (elf_machine_lazy_rel): Likewise.
14406 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14407 (elf_machine_lazy_rel): Likewise.
14408 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14409 (elf_machine_lazy_rel): Likewise.
14411 2011-09-28 Ulrich Drepper <drepper@gmail.com>
14413 * nss/nss_files/files-init.c (_nss_files_init): Use static
14414 initialization for all the *_traced_file variables.
14416 2011-09-28 Andreas Schwab <schwab@redhat.com>
14418 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14420 2011-09-27 Roland McGrath <roland@hack.frob.com>
14423 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14425 2011-09-27 Andreas Schwab <schwab@redhat.com>
14427 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14428 Reread the line before reparsing it.
14430 2011-09-26 Andreas Schwab <schwab@redhat.com>
14432 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14434 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14435 Maxim Kuvyrkov <maxim@codesourcery.com>
14436 Joseph Myers <joseph@codesourcery.com>
14438 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14439 if needed for __stack_chk_guard.
14441 2011-09-19 Roland McGrath <roland@hack.frob.com>
14443 * sysdeps/posix/spawni.c (script_execute): Always define it.
14444 It will be optimized away if unused.
14445 (maybe_script_execute): New function.
14446 (__spawni): Call it.
14448 * Makerules: Don't include tls.make.
14449 (config-tls): Always set to thread.
14450 * tls.make.c: File removed.
14452 2011-09-19 Mike Frysinger <vapier@gentoo.org>
14454 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14455 * config.make.in (CPPFLAGS-config): New substituted variable.
14457 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14459 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14462 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14463 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14465 2011-09-15 Roland McGrath <roland@hack.frob.com>
14467 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14468 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14469 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14470 (CALL_FAIL): Likewise.
14471 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14472 (CALL_FAIL): Macro removed.
14473 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14475 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14477 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14478 for __FINITE_MATH_ONLY__ == 1.
14480 2011-09-15 Andreas Schwab <schwab@redhat.com>
14482 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14483 __ieee754_sqrt instead of sqrt.
14484 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14485 __ieee754_sqrtf instead of sqrtf.
14486 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14487 __floorf instead of floorf.
14488 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14489 __floorf, __truncf instead of floorf, truncf.
14491 2011-09-14 Ulrich Drepper <drepper@gmail.com>
14493 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14495 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14496 __extern_always_inline.
14497 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14500 2011-09-14 Andreas Schwab <schwab@redhat.com>
14502 * elf/rtld.c (dl_main): Also relocate in dependency order when
14503 doing symbol dependency testing.
14505 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14507 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14508 Always define `refsym'.
14510 2011-09-13 Andreas Schwab <schwab@redhat.com>
14512 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14513 (__FD_ELT): Renamed from __FDELT.
14514 * misc/bits/select2.h (__FD_ELT): Likewise.
14515 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14516 __FD_MASK instead of __FDELT, __FDMASK.
14517 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14519 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14522 * elf/Makefile (gen-ldd): Fix pattern.
14524 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14525 (init_tls): Likewise.
14527 2011-09-12 Ulrich Drepper <drepper@gmail.com>
14529 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14531 2011-09-12 Andreas Schwab <schwab@redhat.com>
14533 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14534 `struct cmsghdr *' instead of `void *'.
14535 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14538 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14540 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14542 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14543 ldd_rewrite_script.
14545 2011-09-11 Ulrich Drepper <drepper@gmail.com>
14547 * configure.in: Remove --with-tls option.
14548 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14549 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14550 out in case it is missing.
14551 * sysdeps/ia64/elf/configure.in: Likewise.
14552 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14553 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14554 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14555 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14556 * sysdeps/sh/elf/configure.in: Likewise.
14557 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14558 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14559 * sysdeps/x86_64/elf/configure.in: Likewise.
14560 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14561 * sysdeps/mach/hurd/tls.h: Likewise.
14564 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14567 * configure.in: Fix use of AC_INIT.
14569 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14571 2011-09-10 Ulrich Drepper <drepper@gmail.com>
14573 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14575 * malloc/hooks.c: Likewise.
14578 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14579 variables statically.
14580 (narenas): Initialize.
14581 (list_lock): Initialize.
14582 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14583 initializtion of main_arena and list_lock. Small cleanups.
14584 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14585 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14586 Add initializers to main_arena and mp_.
14587 (malloc_state): Remove pagesize member. Change all users to use
14590 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14591 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14592 is always initialized.
14594 * malloc/malloc.c: Removed unused configurations and dead code.
14595 * malloc/arena.c: Likewise.
14596 * malloc/hooks.c: Likewise.
14597 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14599 * include/tls.h: Removed. USE___THREAD must always be defined.
14600 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14601 * elf/dl-libc.c: Likewise.
14602 * elf/dl-tsd.c: Likewise.
14603 * include/errno.h: Likewise.
14604 * include/netdb.h: Likewise.
14605 * include/resolv.h: Likewise.
14606 * inet/herrno-loc.c: Likewise.
14607 * inet/herrno.c: Likewise.
14608 * malloc/arena.c: Likewise.
14609 * malloc/hooks.c: Likewise.
14610 * malloc/malloc.c: Likewise.
14611 * resolv/res-state.c: Likewise.
14612 * resolv/res_libc.c: Likewise.
14613 * sysdeps/i386/dl-machine.h: Likewise.
14614 * sysdeps/ia64/dl-machine.h: Likewise.
14615 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14616 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14617 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14618 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14619 * sysdeps/sh/dl-machine.h: Likewise.
14620 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14621 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14622 * sysdeps/unix/i386/sysdep.S: Likewise.
14623 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14624 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14625 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14626 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14627 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14628 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14629 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14630 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14631 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14633 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14634 * sysdeps/x86_64/dl-machine.h: Likewise.
14635 * tls.make.c: Likewise.
14637 * configure.in: Remove --with-__thread option. Make tests for
14638 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14639 tls_model attribute fail if no support is available. Remove
14641 * Makeconfig: Adjust for dropped configure option. All features are
14643 * Makerules: Likewise.
14644 * Versions.def: Likewise.
14645 * argp/argp-fmtstream.c: Likewise.
14646 * argp/argp-fmtstream.h: Likewise.
14647 * argp/argp-help.c: Likewise.
14648 * assert/assert.c: Likewise.
14649 * config.h.in: Likewise.
14650 * config.make.in: Likewise.
14651 * configure: Likewise.
14652 * configure.in: Likewise.
14653 * csu/Versions: Likewise.
14654 * csu/init.c: Likewise.
14655 * elf/tst-audit2.c: Likewise.
14656 * elf/tst-tls10.c: Likewise.
14657 * elf/tst-tls10.h: Likewise.
14658 * elf/tst-tls11.c: Likewise.
14659 * elf/tst-tls12.c: Likewise.
14660 * elf/tst-tls14.c: Likewise.
14661 * elf/tst-tlsmod11.c: Likewise.
14662 * elf/tst-tlsmod12.c: Likewise.
14663 * elf/tst-tlsmod13.c: Likewise.
14664 * elf/tst-tlsmod13a.c: Likewise.
14665 * elf/tst-tlsmod14a.c: Likewise.
14666 * elf/tst-tlsmod15b.c: Likewise.
14667 * elf/tst-tlsmod16a.c: Likewise.
14668 * elf/tst-tlsmod16b.c: Likewise.
14669 * elf/tst-tlsmod7.c: Likewise.
14670 * elf/tst-tlsmod8.c: Likewise.
14671 * elf/tst-tlsmod9.c: Likewise.
14672 * gmon/gmon.c: Likewise.
14673 * grp/fgetgrent_r.c: Likewise.
14674 * grp/putgrent.c: Likewise.
14675 * hurd/fopenport.c: Likewise.
14676 * include/libc-symbols.h: Likewise.
14677 * include/tls.h: Likewise.
14678 * intl/gettextP.h: Likewise.
14679 * intl/loadinfo.h: Likewise.
14680 * locale/global-locale.c: Likewise.
14681 * locale/localeinfo.h: Likewise.
14682 * mach/devstream.c: Likewise.
14683 * malloc/arena.c: Likewise.
14684 * malloc/set-freeres.c: Likewise.
14685 * misc/err.c: Likewise.
14686 * misc/getttyent.c: Likewise.
14687 * misc/mntent_r.c: Likewise.
14688 * posix/getopt.c: Likewise.
14689 * posix/wordexp.c: Likewise.
14690 * pwd/fgetpwent_r.c: Likewise.
14691 * resolv/Versions: Likewise.
14692 * resolv/res_hconf.c: Likewise.
14693 * shadow/fgetspent_r.c: Likewise.
14694 * shadow/putspent.c: Likewise.
14695 * stdio-common/printf_fphex.c: Likewise.
14696 * stdio-common/tmpfile.c: Likewise.
14697 * stdlib/abort.c: Likewise.
14698 * stdlib/fmtmsg.c: Likewise.
14699 * sunrpc/auth_unix.c: Likewise.
14700 * sunrpc/clnt_perr.c: Likewise.
14701 * sunrpc/clnt_tcp.c: Likewise.
14702 * sunrpc/clnt_udp.c: Likewise.
14703 * sunrpc/clnt_unix.c: Likewise.
14704 * sunrpc/openchild.c: Likewise.
14705 * sunrpc/svc_simple.c: Likewise.
14706 * sunrpc/svc_tcp.c: Likewise.
14707 * sunrpc/svc_udp.c: Likewise.
14708 * sunrpc/svc_unix.c: Likewise.
14709 * sunrpc/xdr.c: Likewise.
14710 * sunrpc/xdr_array.c: Likewise.
14711 * sunrpc/xdr_rec.c: Likewise.
14712 * sunrpc/xdr_ref.c: Likewise.
14713 * sunrpc/xdr_stdio.c: Likewise.
14715 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14717 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14719 2011-07-03 Andreas Jaeger <aj@suse.de>
14721 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14722 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14723 regenerate with gen-libm-tests.pl.
14725 2010-05-12 Petr Baudis <pasky@suse.cz>
14728 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14729 around j0() zero points by switching to j1().
14730 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14731 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14732 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14733 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14735 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14737 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14739 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14741 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14742 Patch in part by Pavel Roskin <proski@gnu.org>.
14745 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14747 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14748 Free memory block if necessary.
14751 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14752 be NULL. Don't lock in this case.
14754 2011-09-09 Roland McGrath <roland@hack.frob.com>
14756 * elf/elf.h (ELFOSABI_GNU): New macro.
14757 (ELFOSABI_LINUX): Define to that.
14759 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14761 * string/strncat.c (strncat): Undef the symbol in case it has been
14762 defined in bits/string.h.
14764 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14766 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14768 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14771 2011-08-17 Andreas Jaeger <aj@suse.de>
14773 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14775 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14776 Ian Lance Taylor <iant@google.com>
14778 * math/libm-test.inc (lround_test): New testcase.
14779 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14781 2011-09-08 Ulrich Drepper <drepper@gmail.com>
14783 * Makefile: Remove support for automatic cvs check-ins.
14784 * Makerules: Likewise.
14785 * config.make.in: Likewise.
14786 * configure.in: Likewise.
14787 * intl/Makefile: Likewise.
14788 * locale/Makefile: Likewise.
14789 * po/Makefile: Likewise.
14790 * posix/Makefile: Likewise.
14791 * sysdeps/gnu/Makefile: Likewise.
14792 * sysdeps/mach/hurd/Makefile: Likewise.
14793 * sysdeps/sparc/sparc32/Makefile: Likewise.
14796 * posix/Makefile (bug-regex32-ENV): Define.
14797 Patch by John Stanley <jpsinthemix@verizon.net>.
14799 * misc/Makefile (headers): Add bits/select2.h.
14800 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14801 * misc/bits/select2.h: New file.
14802 * include/bits/select2.h: New file.
14803 * debug/Makefile (routines): Add fdelt_chk.
14804 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14805 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14807 * debug/fdelt_chk.c: New file.
14809 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14810 * wcsmbs/test-wmemcmp.c: Likewise.
14811 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14812 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14814 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14816 * string/Makefile (strop-tests): Add memcmp.
14817 * string/test-wmemcmp.c: New file.
14818 * string/test-memcmp.c: Add wmemcmp support.
14820 2011-09-08 Roland McGrath <roland@hack.frob.com>
14823 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14826 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14827 garbage value in a __mach_port_mod_refs call in the cases of the
14828 task-self and thread-self ports.
14830 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14832 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14834 2011-09-08 Andreas Schwab <schwab@redhat.com>
14836 * elf/dl-load.c (lose): Check for non-null L.
14838 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14840 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14842 * elf/dl-libc.c (dlerror_run): Pass back error code from
14846 * elf/dl-load.c (lose): Free l_origin if it is valid.
14848 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14850 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14851 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14852 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14853 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14854 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14855 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14857 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14859 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14860 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14861 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14862 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14863 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14864 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14865 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14866 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14867 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14868 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14870 2011-08-15 Alan Modra <amodra@gmail.com>
14873 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14874 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14875 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14876 ppc_mcount to static-only-routines.
14877 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14879 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14880 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14882 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14884 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14885 for finite and infinity parameters.
14887 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14889 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14890 and add nop instructions for throughput optimization.
14891 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14893 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14895 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14896 aligned copy for power7 with vector-scalar instructions.
14897 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14899 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14901 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14904 2011-09-07 Andreas Schwab <schwab@redhat.com>
14907 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14910 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14912 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14913 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14914 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14915 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14918 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14920 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14921 Forgot to demangle the pointer.
14923 * sysdeps/i386/sysdep.h: Define atom_text_section.
14924 * sysdeps/x86_64/sysdep.h: Likewise.
14925 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14926 section with atom_text_section.
14927 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14928 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14929 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14930 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14931 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14933 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14934 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14935 already be defined. Change to take two parameters and don't assign
14936 result to variable. Adjust all users.
14937 Define INTERNAL_GETTIME if not already defined.
14938 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14940 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14941 HAVE_CLOCK_GETTIME_VSYSCALL.
14942 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14944 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14945 gettimeofday vsyscall, just use time.
14947 2011-09-06 Andreas Schwab <schwab@redhat.com>
14949 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14952 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14954 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14956 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14958 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14959 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14960 syscall if possible.
14962 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14964 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14965 e_ident. Don't pass to find_mapsXX.
14966 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14968 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14971 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14972 * sysdeps/x86_64/multiarch/strchr.S: Update.
14973 Check bit_slow_BSF bit.
14974 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14975 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14976 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14978 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14981 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14983 (tryshell): Define.
14984 (__spawni): Change last parameter to be flag. Test
14985 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14986 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14987 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14988 * posix/spawni.c: Likewise.
14989 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14990 * posix/spawnp.c: Likewise. Change normal version to use
14991 SPAWN_XFLAGS_USE_PATH.
14992 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14993 SPAWN_XFLAGS_TRY_SHELL.
14996 * posix/glob.h: Remove gcc 1.x support.
14999 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15001 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15004 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15006 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15007 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15008 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15009 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15010 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15011 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15013 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15015 * sysdeps/x86_64/wcscmp.S: New file.
15017 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15018 wcscmp-c wcscmp-sse2
15019 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15020 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15021 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15022 * wcsmbs/wcscmp.c: Allow renaming.
15024 2011-09-05 David S. Miller <davem@davemloft.net>
15026 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15027 stack slot, rather than the struct return pointer slot.
15028 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15029 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15031 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15033 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15035 * po/ja.po: Update from translation team.
15038 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15039 kernel in 64-bit binaries.
15041 2011-09-01 David S. Miller <davem@davemloft.net>
15043 * elf/elf.h (HWCAP_SPARC_*): Move to..
15044 * sysdeps/sparc/sysdep.h: this new file and add new values.
15045 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15046 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15047 _DL_HWCAP_COUNT to 24.
15048 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15050 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15051 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15052 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15053 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15054 instead of magic constants.
15055 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15057 2011-08-31 David S. Miller <davem@davemloft.net>
15059 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15060 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15061 Reimplement to do errno handling inline.
15062 (SYSCALL_ERROR_HANDLER): New macro.
15063 (__SYSCALL_STRING): Do not do errno handling in asm.
15064 (__CLONE_SYSCALL_STRING): Delete.
15065 (__INTERNAL_SYSCALL_STRING): Delete.
15066 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15067 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15068 (PSEUDO): Reimplement to do errno handling inline.
15069 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15070 (SYSCALL_ERROR_HANDLER): New macro.
15071 (__SYSCALL_STRING): Do not do errno handling in asm.
15072 (__CLONE_SYSCALL_STRING): Delete.
15073 (__INTERNAL_SYSCALL_STRING): Delete.
15074 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15075 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15077 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15078 (inline_syscall*): Add 'err' argument.
15079 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15080 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15081 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15082 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15084 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15085 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15087 2011-08-30 Andreas Schwab <schwab@redhat.com>
15089 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15091 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15093 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15096 2011-08-24 David S. Miller <davem@davemloft.net>
15098 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15100 2011-08-24 Andreas Schwab <schwab@redhat.com>
15102 * elf/Makefile: Add rules to build and run unload8 test.
15103 * elf/unload8.c: New file.
15104 * elf/unload8mod1.c: New file.
15105 * elf/unload8mod1x.c: New file.
15106 * elf/unload8mod2.c: New file.
15107 * elf/unload8mod3.c: New file.
15109 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15112 2011-08-23 David S. Miller <davem@davemloft.net>
15114 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15115 subtract stack bias.
15116 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15117 %sp not %fp in calculations.
15118 (_JMPBUF_UNWINDS_ADJ): Likewise.
15120 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15121 (aio_suspend): Call it to force an exception region around the
15122 AIO_MISC_WAIT() invocation.
15124 2011-08-23 Andreas Schwab <schwab@redhat.com>
15126 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15129 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15131 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15133 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15134 and <dl-machine.h>.
15135 (Elf64_FuncDesc): Remove.
15137 2011-08-22 David S. Miller <davem@davemloft.net>
15139 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15140 sigaltstack check, add missing cfi directives.
15141 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15142 missing cfi directives, and sigaltstack handling.
15144 2011-08-16 Andreas Schwab <schwab@redhat.com>
15147 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15148 object is seen twice.
15149 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15151 * elf/Makefile (distribute): Add tst-initorder2.c.
15152 (tests): Add tst-initorder2.
15153 (modules-names): Add tst-initorder2a tst-initorder2b
15154 tst-initorder2c tst-initorder2d. Add rules to build them.
15155 ($(objpfx)tst-initorder2.out): New rule.
15156 * elf/tst-initorder2.c: New file.
15157 * elf/tst-initorder2.exp: New file.
15159 2011-08-22 Andreas Schwab <schwab@redhat.com>
15161 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15163 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15164 dependencies back to end of function.
15166 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15167 $(elfobjdir)/ld.so.
15169 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15171 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15172 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15173 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15174 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15175 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15176 of __vdso_gettimeofday.
15177 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15178 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15180 (_libc_vdso_platform_setup): Remove initialization of
15181 __vdso_gettimeofday and __vdso_time.
15183 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15185 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15186 and fgetc_unlocked.
15187 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15190 * elf/dl-open.c (add_to_global): Report additions to the global scope
15191 for LD_DEBUG=scopes.
15192 (dl_open_worker): Also print scope of newly loaded dependencies.
15193 (_dl_show_scope): Indicate if there is no scope.
15196 * stdio-common/Makefile (tests): Add bug24.
15197 * stdio-common/bug24.c: New file.
15199 2011-08-19 Andreas Jaeger <aj@suse.de>
15202 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15203 non-existant file when using close-on-exec mode.
15205 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15207 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15208 the very first instruction.
15210 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15211 the CFI state in the end.
15212 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15213 inclusion of dl-trampoline.h.
15214 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15216 2011-08-19 Andreas Schwab <schwab@redhat.com>
15218 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15219 expectations for long double.
15221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15222 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15224 2011-08-14 David S. Miller <davem@davemloft.net>
15226 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15227 artificual limit depends upon the system page size.
15229 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15231 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15232 * resolv/Makefile: Define CFLAGS-libresolv.
15234 2011-08-17 Andreas Schwab <schwab@redhat.com>
15236 * nss/makedb.c (compute_tables): Make variables used in nested
15239 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15241 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15242 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15243 if buffer was too small.
15245 * elf/pldd.c (main): Attach to all threads in the process.
15246 Rewrite /proc handling to use *at functions.
15248 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15250 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15251 specifies first scope to show.
15252 (dl_open_worker): Update callers. Move printing scope of new
15253 object to before the relocation.
15254 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15255 * sysdeps/generic/ldsodefs.h: Update declaration.
15257 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15258 string for the scope number.
15260 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15262 * nscd/servicescache.c (cache_addserv): Make sure written is always
15265 2011-08-14 Roland McGrath <roland@hack.frob.com>
15267 * sysdeps/i386/i486/bits/atomic.h
15268 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15269 statement expression, so as to suppress "set but not used" warning.
15270 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15272 * string/strncat.c (STRNCAT): Use prototype definition.
15274 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15275 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15277 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15278 (localedef-modules): Add localedef.
15279 (locale-modules): Add locale.
15281 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15282 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15283 to avoid a warning.
15285 2011-08-14 David S. Miller <davem@davemloft.net>
15287 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15288 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15290 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15292 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15293 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15294 * elf/rtld.c (dl_main): Set l_name of vDSO.
15295 Call _dl_show_scope when DL_DEBUG_SCOPES.
15296 (process_dl_debug): Recognize scopes flag and also set it for all.
15297 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15298 Declare _dl_show_scope.
15300 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15301 (do_dlopen): Pass caller_dlopen to dl_open.
15302 (__libc_dlopen_mode): Initialize caller_dlopen.
15304 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15305 of libc. Make tolower call locale-independent. Optimize a bit by
15306 using isdigit instead of isalnum.
15307 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15309 2011-08-12 Ulrich Drepper <drepper@gmail.com>
15311 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15312 was a dependency or dynamically loaded.
15314 2011-08-11 Ulrich Drepper <drepper@gmail.com>
15316 * intl/l10nflist.c: Allow architecture-specific pop function.
15317 * sysdeps/x86_64/l10nflist.c: New file.
15319 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15322 2011-08-10 Andreas Schwab <schwab@redhat.com>
15324 * include/dirent.h: Add libc_hidden_proto for scandirat and
15325 scandirat64. Don't declare __scandirat64.
15326 * dirent/scandirat.c: Add libc_hidden_def.
15327 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15328 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15330 2011-08-10 David S. Miller <davem@davemloft.net>
15332 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15334 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15335 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15336 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15338 2011-08-09 Ulrich Drepper <drepper@gmail.com>
15340 * Versions.def [libc]: Add GLIBC_2.15.
15341 * dirent/Makefile (routines): Add scandirat and scandirat64.
15342 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15344 * dirent/dirent.h: Declare scandirat and scandirat64.
15345 * dirent/scandirat.c: New file.
15346 * dirent/scandirat64.c: New file.
15347 * sysdeps/wordsize-64/scandirat.c: New file.
15348 * sysdeps/wordsize-64/scandirat64.c: New file.
15349 * dirent/opendir.c: Define opendirat.
15350 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15352 * dirent/scandir64.c: Adjust for scandir.c change.
15353 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15354 __scandirat64, and __scandir_cancel_handler.
15355 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15356 additional parameter and use openat instead of open (outside of ld.so).
15357 Add new __opendir as wrapper around __opendirat.
15358 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15359 here without requiring old scandirat implementation.
15361 2011-08-08 Ulrich Drepper <drepper@gmail.com>
15363 * dirent/scandir.c (cancel_handler): Renamed to
15364 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15365 defined. Adjust users.
15366 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15367 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15369 2011-08-04 Ulrich Drepper <drepper@gmail.com>
15371 * string/test-string.h (IMPL): Use __STRING to expand name and then
15374 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15377 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15379 * string/Makefile: Update.
15380 (strop-tests): Append strncat.
15381 * string/test-wcscmp.c: New file.
15382 New comprehensive test for wcscmp.
15383 * string/test-strcmp.c: Update.
15384 (WIDE): New define.
15386 2011-07-22 Andreas Schwab <schwab@redhat.com>
15388 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15391 2011-07-26 Andreas Schwab <schwab@redhat.com>
15393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15394 encoding to ACE if AI_IDN.
15396 2011-08-01 Jakub Jelinek <jakub@redhat.com>
15398 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15399 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15401 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15403 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15404 Fix overflow bug in strncat.
15405 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15407 * string/test-strncat.c: Update.
15408 Add new tests for checking overflow bugs.
15410 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15412 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15413 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15414 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15415 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15416 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15417 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15418 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15419 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15420 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15422 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15423 (USE_AS_STRCAT): Define.
15424 Add strcat and strncat support.
15425 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15427 2011-07-25 Andreas Schwab <schwab@redhat.com>
15429 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15430 __n bigger than INT_MAX+1.
15431 (__strncmp_g): Likewise.
15433 2011-07-23 Ulrich Drepper <drepper@gmail.com>
15435 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15436 * libio/stido.h: Likewise.
15438 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15440 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15443 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15444 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15445 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15446 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15447 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15450 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15453 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15455 (_dl_x86_64_save_sse): Likewise.
15457 2011-07-22 Ulrich Drepper <drepper@gmail.com>
15459 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15461 (_dl_x86_64_save_sse): Likewise.
15463 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15465 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15467 2011-07-21 Andreas Schwab <schwab@redhat.com>
15469 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15471 (_dl_x86_64_save_sse): Use correct AVX check.
15473 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15475 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15476 bug in strncpy/strncat.
15477 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15479 2011-07-21 Ulrich Drepper <drepper@gmail.com>
15481 * string/tester.c (test_strcat): Add tests for different alignments
15482 of source and destination.
15483 (test_strncat): Likewise.
15485 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15488 * posix/glob.c (glob): Check passed in values before using them in
15489 expressions to avoid some overflows.
15490 (glob_in_dir): Likewise.
15493 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15494 check for AVX enablement so that we don't crash with old kernels and
15496 * elf/tst-audit4.c: Add same checks here.
15497 * elf/tst-audit6.c: Likewise.
15499 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15501 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15503 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15505 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15507 * po/cs.po: Update from translation team.
15508 * po/bg.po: Likewise.
15510 2011-07-12 Marek Polacek <mpolacek@redhat.com>
15512 * misc/sys/cdefs.h: Add support for const attribute.
15513 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15514 to gnu_dev_{major,minor,makedev} functions.
15516 2011-07-20 Marek Polacek <mpolacek@redhat.com>
15518 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15520 2011-07-20 Andreas Schwab <schwab@redhat.com>
15522 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15525 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15527 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15528 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15529 register in order to avoid conflicts with the soft frame pointer
15530 being held in r11 when necessary.
15531 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15532 (INTERNAL_VSYSCALL_NCS): Likewise.
15534 2011-07-14 Marek Polacek <mpolacek@redhat.com>
15536 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15537 * elf/dl-fini.c (_dl_fini): Adjust caller.
15538 * elf/dl-close.c (_dl_close_worker): Likewise.
15539 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15541 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15543 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15544 "aux_cache->nlibs < 0".
15546 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15547 in the reload-count case.
15549 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15552 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15553 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15554 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15555 * sysdeps/x86_64/multiarch/strcat.S: New file.
15556 * sysdeps/x86_64/multiarch/strncat.S: New file.
15557 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15558 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15559 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15560 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15561 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15562 (USE_AS_STRCAT): Define.
15563 Add strcat and strncat support.
15564 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15565 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15566 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15567 * string/strncat.c: Update.
15568 (USE_AS_STRNCAT): Define.
15569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15570 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15572 * sysdeps/x86_64/multiarch/init-arch.h
15573 (bit_Prefer_PMINUB_for_stringop): New.
15574 (index_Prefer_PMINUB_for_stringop): Likewise.
15575 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15576 bit_Prefer_PMINUB_for_stringop.
15578 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15580 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15582 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15583 of casting of buffer.
15584 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15585 buffer32 and buffer64.
15586 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15587 writes instead of casting of buffer.
15588 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15590 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15593 2011-07-19 Andreas Schwab <schwab@redhat.com>
15595 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15597 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15599 * nscd/nscd.c (termination_handler): Don't do anything for a database
15600 if it has not yet been initialized.
15602 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15604 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15606 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15608 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15610 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15612 * po/nl.po: Update from translation team.
15613 * po/sv.po: Likewise.
15615 2011-07-16 Roland McGrath <roland@hack.frob.com>
15617 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15618 now disallowed by GCC.
15620 * configure.in (use-default-link): Default to yes if a test -shared
15621 link meets our qualifications.
15622 * configure: Regenerated.
15624 * config.make.in (output-format): New variable.
15625 * configure.in: Check for ld --print-output-format support.
15626 * configure: Regenerated.
15627 * Makerules ($(common-objpfx)format.lds)
15628 [$(output-format) != unknown]: Just use $(output-format),
15629 instead of the linker-script munging.
15631 2011-07-14 Roland McGrath <roland@hack.frob.com>
15633 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15634 of $(common-objpfx)shlib.lds.
15635 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15637 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15638 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15640 * configure.in (-z relro check): Adjust test code to add a large
15641 writable data section after it.
15642 * configure: Regenerated.
15644 2011-07-11 Roland McGrath <roland@hack.frob.com>
15646 * configure.in (-z relro check): Fix test code to make the variable
15648 * configure: Regenerated.
15650 2011-07-11 Ulrich Drepper <drepper@gmail.com>
15652 * nscd/nscd.h (struct traced_file): Define.
15653 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15654 elements. Add traced_files.
15655 (inotify_fd): Declare.
15656 (register_traced_file): Declare.
15657 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15658 (inotify_fd): Export.
15659 (resolv_conf_descr): Remove.
15660 (nscd_init): Move inotify descriptor creation to main.
15661 Don't register files for notification here.
15662 (register_traced_file): New function.
15663 (invalidate_cache): Don't use reset_res to determine whether to call
15664 res_init, go through the list of registered files.
15665 (main_loop_poll): The inotify descriptors are now stored in the
15666 structures for the traced files.
15667 (main_loop_epoll): Likewise
15668 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15669 to __nss_disable_nscd.
15670 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15671 for a database anymore. Check the records for all the registered
15673 * nss/Makefile (libnss_files-routines): Add files-init.
15674 (libnss_db-routines): Add db-init.
15675 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15676 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15677 * nss/nss_db/db-init.c: New file.
15678 * nss/nss_files/files-init.c: New file.
15679 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15680 __nss_lookup_function.
15681 (__nss_lookup_function): Call nss_load_library.
15682 (nss_load_all_libraries): New function.
15683 (__nss_disable_nscd): Take parameter with callback function for files
15684 to register. Set is_nscd. Load all the DSOs for the NSS modules
15685 used for the cached services.
15686 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15687 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15688 options for features to all the files in nscd.
15690 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15692 2011-07-10 Roland McGrath <roland@hack.frob.com>
15694 * csu/elf-init.c (__libc_csu_init): Comment typo.
15696 2011-07-09 Ulrich Drepper <drepper@gmail.com>
15698 * po/pl.po: Update from translation team.
15699 * po/ja.po: Likewise.
15700 * po/ru.po: Likewise.
15701 * po/ko.po: Likewise.
15702 * po/fr.po: Likewise.
15704 2011-07-09 Roland McGrath <roland@hack.frob.com>
15706 * configure.in (.ctors/.dtors header and trailer check):
15707 Use an empirical test on a built program.
15708 * configure: Regenerated.
15710 * configure.in (-z relro check): Use an empirical test on a built DSO.
15711 Detect, but do not require, on ia64.
15712 * configure: Regenerated.
15714 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15715 Update tests that use readelf to use $READELF instead.
15716 * configure: Regenerated.
15718 2011-07-08 Ulrich Drepper <drepper@gmail.com>
15720 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15721 if the result is not used.
15723 2011-07-05 Andreas Jaeger <aj@suse.de>
15726 * stdlib/tst-strtod.c: Add testcase.
15728 2011-07-07 Ulrich Drepper <drepper@gmail.com>
15730 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15731 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15732 The latter has a higher limit. Take additional parameter to pass to
15734 (__pathconf): Pass file to __statfs_link_max.
15735 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15737 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15741 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15742 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15744 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15745 (__statfs_filesize_max): Likewise.
15746 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15748 2011-07-05 Andreas Jaeger <aj@suse.de>
15750 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15752 2011-07-06 Marek Polacek <mpolacek@redhat.com>
15754 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15756 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15759 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15761 * Makefile (strop-tests): Add strncat.
15762 * string/test-strncat.c: New file.
15764 2011-06-30 Marek Polacek <mpolacek@redhat.com>
15766 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15768 2011-06-21 Andreas Jaeger <aj@suse.de>
15770 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15771 Copy rule from iconvdata/Makefile.
15773 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15776 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15777 but no long options are defined, just return 'W'.
15779 2011-06-22 Marek Polacek <mpolacek@redhat.com>
15782 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15784 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15786 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15788 (innetgr): Likewise.
15790 2011-07-05 Roland McGrath <roland@hack.frob.com>
15792 * config.make.in (install_root): Default to $(DESTDIR).
15794 2011-07-05 Ulrich Drepper <drepper@gmail.com>
15796 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15798 2011-07-02 Roland McGrath <roland@hack.frob.com>
15800 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15802 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15803 containing directory rather than embedding absolute directory names.
15805 * scripts/check-local-headers.sh: Rewritten using awk.
15806 Match by word, not by line. Print error messages for matches.
15807 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15809 * Makerules [shlib-lds-flags empty]:
15810 ($(common-objpfx)libc_pic.opts): New target.
15811 ($(common-objpfx)libc_pic.os.clean): New target.
15812 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15814 * config.make.in (OBJCOPY): New variable.
15815 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15816 * configure: Regenerated.
15818 * config.make.in (use-default-link): New variable.
15819 * configure.in (use_default_link): Grok --with-default-link to set it.
15820 * configure: Regenerated.
15821 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15822 (shlib-lds, shlib-lds-flags): Define to empty.
15824 * Makerules (shlib-lds): New variable.
15825 (shlib-lds-flags): New variable.
15826 (build-shlib, build-moduile, build-module-asneeded): Use it.
15827 ($(common-objpfx)libc.so): Use $(shlib-lds).
15828 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15829 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15831 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15832 DT_FLAGS/DT_FLAGS_1 with zero flags.
15834 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15835 linker script munging.
15837 2011-07-02 Ulrich Drepper <drepper@gmail.com>
15839 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15841 * crypt/sha512.c (sha512_process_block): Perform total addition using
15842 128-bit if possible.
15843 (__sha512_finish_ctx): Likewise.
15844 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15846 * crypt/sha256.c (SWAP64): Define.
15847 (sha256_process_block): Perform total addition using 64-bit if
15849 (__sha256_finish_ctx): Likewise.
15851 2011-07-01 Ulrich Drepper <drepper@gmail.com>
15853 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15854 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15855 * nscd/hstcache.c (cache_addhst): Likewise.
15856 * nscd/grpcache.c (cache_addgr): Likewise.
15857 * nscd/aicache.c (addhstaiX): Likewise
15858 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15860 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
15862 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15863 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15864 * nscd/hstcache.c (cache_addhst): Likewise.
15865 * nscd/grpcache.c (cache_addgr): Likewise.
15866 * nscd/aicache.c (addhstaiX): Likewise
15868 2011-07-01 Andreas Schwab <schwab@redhat.com>
15870 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15871 domain only when needed.
15873 2011-06-30 Andreas Schwab <schwab@redhat.com>
15875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15876 is always restored.
15878 2011-06-29 Ulrich Drepper <drepper@gmail.com>
15880 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15881 are re-adding the entry.
15882 * nscd/servicescache.c (cache_addserv): Likewise.
15884 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15886 * sysdeps/generic/dl-irel.h: fix protection against multiple
15888 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15890 2011-06-28 Ulrich Drepper <drepper@gmail.com>
15893 * malloc/memusage.sh: Fix quoting in message.
15894 * debug/xtrace.sh: Likewise.
15896 * configure.in: Remove support for --experimental-malloc option, make
15898 * config.make.in: Likewise.
15899 * malloc/Makefile: Likewise.
15901 2011-06-27 Andreas Schwab <schwab@redhat.com>
15903 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15904 two-byte characters.
15906 2011-06-27 Roland McGrath <roland@hack.frob.com>
15908 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15909 AC_CACHE_CHECK invocation.
15910 * configure: Regenerated.
15912 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15914 2011-06-27 Ulrich Drepper <drepper@gmail.com>
15917 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15918 bit from old_res_options.
15920 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15922 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15923 value type for setfct.
15925 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15927 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15928 __gettimeofday instead of gettimeofday.
15930 2011-06-26 Ulrich Drepper <drepper@gmail.com>
15932 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15934 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15936 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15938 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15941 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15944 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15945 strcpy-sse2-unaligned strncpy-sse2-unaligned
15946 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15947 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15948 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15949 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15950 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15951 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15952 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15953 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15954 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15955 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15956 (STRCPY): Support SSE2 and SSSE3 versions.
15958 2011-06-24 Ulrich Drepper <drepper@gmail.com>
15961 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15962 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15963 kernels which artificially limit size of requests.
15965 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15968 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15969 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15970 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15971 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15972 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15973 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15974 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15975 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15976 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15977 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15978 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15979 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15980 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15981 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15983 Enable unaligned load optimization for Intel Core i3, i5 and i7
15985 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15987 (index_Fast_Unaligned_Load): Define.
15988 (HAS_FAST_UNALIGNED_LOAD): Define.
15990 2011-06-23 Marek Polacek <mpolacek@redhat.com>
15992 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15994 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15997 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15998 until it is clear that the information is realy needed.
15999 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16001 2011-06-22 Andreas Schwab <schwab@redhat.com>
16003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16005 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16007 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16008 /sys/devices/system/cpu/online if it is usable.
16010 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16011 reading the information from the /proc filesystem to once a second.
16013 2011-06-21 Andreas Jaeger <aj@suse.de>
16015 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16016 NULL after inclusion of kernel headers.
16018 2011-06-21 Ulrich Drepper <drepper@gmail.com>
16020 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16021 calls to internal_setent.
16024 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16025 addresses using gethostbyname4_r ignore IPv4 addresses.
16027 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16028 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16030 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16032 2011-06-20 David S. Miller <davem@davemloft.net>
16034 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16036 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16038 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16039 (elf_irel): Use it.
16040 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16041 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16042 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16043 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16044 * sysdeps/x86_64/dl-irel.h: Likewise.
16046 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16047 * elf/dl-sym.c: Likewise.
16049 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16051 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16052 need to dereference resplen2.
16054 2011-06-14 Andreas Schwab <schwab@redhat.com>
16056 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16058 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16060 * Makeconfig: Define vardbdir and inst_vardbdir.
16061 * nss/Makefile: Add rules to install db-Makefile.
16063 * nss/nss_db/db-XXX.c: Cleanup.
16065 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16066 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16068 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16069 * nss/makedb.c: Implement -g option to specify that value strings
16070 are generated and should not be added to table iterated over for
16072 * nss/nss_db/db-initgroups.c: New file.
16074 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16077 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16078 (internal_getgrouplist): Adjust to name change.
16079 Update use_initgroups_entry if this is not the first call.
16080 * nss/databases.def: Add initgroups entry.
16082 * nss/makedb.c (compute_tables): Check result of multiple hash table
16083 sizes to minimize maximum chain length.
16085 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16087 * Versions.def: Add entry for libnss_db.
16088 * shlib-versions: Likewise.
16089 * nss/Makefile: Add rules to build libnss_db.
16090 * nss/Versions: Add libnss_db information. Organize libnss_files
16092 * nss/db-Makefile: Add gshadow support. Change rules for the new
16093 makedb progra. Some minor improvements to generate smaller files.
16094 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16096 * nss/makedb.c: ...here.
16097 Improve database format to be smaller and require less memory at
16099 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16101 * nss/nss_db/db-netgrp.c: Likewise.
16102 * nss/nss_db/db-open.c: Likewise.
16103 * nss/nss_files/flies-XXX.x: Adjust comments.
16104 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16105 * nss/nss_files/files-grp.c: Likewise.
16106 * nss/nss_files/files-hosts.c: Likewise.
16107 * nss/nss_files/files-network.c: Likewise.
16108 * nss/nss_files/files-proto.c: Likewise.
16109 * nss/nss_files/files-pwd.c: Likewise.
16110 * nss/nss_files/files-rpc.c: Likewise.
16111 * nss/nss_files/files-service.c: Likewise.
16112 * nss/nss_files/files-sgrp.c: Likewise.
16113 * nss/nss_files/files-spwd.c: Likewise.
16114 * nss/nss_db/db-alias.c: Removed.
16115 * nss/nss_db/dummy-db.h: Removed.
16117 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16119 * nss/makedb.c: Rewritten to not use database library.
16120 * nss/Makefile: Update to build new makedb program.
16122 2011-06-14 Andreas Jaeger <aj@suse.de>
16124 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16125 memset declaration.
16127 2011-06-10 Andreas Schwab <schwab@redhat.com>
16129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16132 2011-06-10 Roland McGrath <roland@hack.frob.com>
16134 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16135 * elf/Makefile ($(objpfx)ld.so): Likewise.
16137 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16138 Don't list ld.so twice in dependencies.
16140 * posix/bug-regex31.c: Include <stdlib.h>.
16142 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16144 * nis/nss_compat/compat-spwd.c
16145 (getspent_next_nss_netgr): Remove unused variable.
16146 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16148 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16149 nonmembers" output to use the right array.
16151 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16153 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16155 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16156 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16157 * catgets/gencat.c (read_input_file): Likewise.
16158 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16160 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16161 variable definition inside #if's controlling its use.
16163 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16165 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16167 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16169 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16172 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16174 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16175 * configure: Regenerated.
16177 * Makerules: Revert last change.
16178 * elf/Makefile: Likewise.
16180 2011-06-09 Roland McGrath <roland@hack.frob.com>
16182 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16183 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16184 (reloc-link): Likewise.
16186 2011-06-09 Ulrich Drepper <drepper@gmail.com>
16188 * elf/Makefile: Add rules to build pldd.
16189 * elf/pldd.c: New file.
16190 * elf/pldd-xx.c: New file.
16192 2011-06-07 Ulrich Drepper <drepper@gmail.com>
16194 * version.h: Update for 2.15 development version.
16196 2011-06-07 David S. Miller <davem@davemloft.net>
16198 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16200 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16201 elf_machine_lazy_rel): Likewise.
16202 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16203 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16204 elf_machine_lazy_rel): Likewise.
16205 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16206 dl_hwcap via passed in argument.
16207 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16210 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16212 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16214 2011-06-06 Roland McGrath <roland@hack.frob.com>
16217 * manual/fdl-1.1.texi: New file, verbatim from:
16218 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16219 * manual/lgpl-2.1.texi: New file, verbatim from:
16220 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16221 * manual/Makefile (licenses): New variable, list those new file names.
16223 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16225 * manual/fdl.texi: File removed.
16226 * manual/lesser.texi: File removed.
16227 * manual/libc.texinfo (Copying, Documentation License):
16228 Use new @include file names, put @appendix directive before @include.
16230 2011-06-04 Jakub Jelinek <jakub@redhat.com>
16233 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16234 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16235 (mq_open): Add __NTH.
16237 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16240 Assume Intel Core i3/i5/i7 processor if AVX is available.
16242 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16244 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16247 2011-05-31 Andreas Schwab <schwab@redhat.com>
16249 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16250 memory. Use alloca_account. Fix memory leak when retrying.
16252 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16254 * version.h (RELEASE): Bump for 2.14 release.
16255 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16257 * config.make.in (RANLIB): Remove entry.
16259 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16261 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16262 (libc.pot): Work around missing support for .ksh extension in xgettext.
16265 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16266 if both request failed.
16267 (send_dg): In case of server errors clear resplen or *resplen2.
16270 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16271 when there are multiple maps.
16272 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16273 (_dl_fini): Remove test here.
16275 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16277 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16280 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16281 bit from old_res_options.
16282 (gaih_inet): Likewise.
16285 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16288 * resolv/res_init.c (res_setoptions): Make the code more compact.
16291 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16295 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16297 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16300 * malloc/malloc.h: Declare malloc hook variables as volatile.
16302 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16306 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16307 raise in the comment.
16308 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16309 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16310 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16312 2011-05-28 Ulrich Drepper <drepper@gmail.com>
16315 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16316 grow the buffers more if it already has to be sufficient.
16317 (build_wcs_upper_buffer): Likewise.
16318 * posix/regexec.c (check_matching): Likewise.
16319 (clean_state_log_if_needed): Likewise.
16320 (extend_buffers): Don't enlarge buffers beyond size of the input
16322 Patches mostly by Emil Wojak <emil@wojak.eu>.
16323 * posix/bug-regex32.c: New file.
16324 * posix/Makefile (tests): Add bug-regex32.
16326 * locale/findlocale.c (_nl_find_locale): Return right away if
16327 _nl_explode_name failed.
16328 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16330 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16332 * debug/xtrace.sh: Unify messages.
16333 * malloc/memusage.sh: Likewise.
16336 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16337 time symbol from vDSO. Substitute with vsyscall if not available.
16338 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16341 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16342 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16343 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16344 Add sendmmsg and internal_sendmmsg.
16345 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16346 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16347 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16349 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16350 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16351 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16353 2011-05-27 Ulrich Drepper <drepper@gmail.com>
16356 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16357 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16359 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16363 * iconvdata/Makefile (tests): Add bug-iconv9.
16364 * iconvdata/bug-iconv9.c: New file.
16366 2011-05-27 Andreas Schwab <schwab@redhat.com>
16369 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16371 2011-05-25 Jakub Jelinek <jakub@redhat.com>
16373 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16374 (struct user_regs_struct): Change intcs field back to cs.
16376 2011-05-25 Ulrich Drepper <drepper@gmail.com>
16378 * po/ja.po: Update from translation team.
16380 2011-05-23 Ulrich Drepper <drepper@gmail.com>
16383 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16384 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16386 2011-05-20 Andreas Schwab <schwab@redhat.com>
16388 * stdlib/longlong.h: Update from GCC.
16390 2011-05-23 Andreas Schwab <schwab@redhat.com>
16392 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16394 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16395 Add parameter name.
16396 (__sysconf): Pass it down.
16398 2011-05-22 Ulrich Drepper <drepper@gmail.com>
16401 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16403 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16404 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16405 add in in __libc_use_alloca calls. Adjust callers.
16406 (glob): Use malloc in some situations.
16408 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16409 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16412 2011-05-21 Ulrich Drepper <drepper@gmail.com>
16414 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16415 and CLOCK_BOOTTIME_ALARM.
16418 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16421 * string/_strerror.c (__strerror_r): Print negative errors as signed
16425 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16426 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16427 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16429 * configure.in: Fix typo in redirection and correct removal of test
16430 files in two cases.
16433 * locale/setlocale.c (new_composite_name): Fix test to check for
16434 identical name of all categories.
16437 * libio/filedoalloc.c (local_isatty): New function.
16438 (_IO_file_doallocate): Use local_isatty.
16439 * stdio-common/perror.c (perror): In case a new stream is used
16440 forward the stream error.
16441 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16444 2011-05-20 Ulrich Drepper <drepper@gmail.com>
16447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16449 * include/alloca.h (extend_alloca_account): Define.
16452 * posix/regex.h: Fix comments with documentation of user-accessible
16453 fields after compilation and describe correct free'ing of pattern
16454 after re_compile_pattern.
16455 Patch by Reuben Thomas <rrt@sc3d.org>.
16457 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16459 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16460 and -mno-altivec to prevent the compiler from using Altivec and/or
16461 VSX instructions when the corresponding registers are not available.
16463 2011-05-19 Andreas Schwab <schwab@redhat.com>
16465 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16467 2011-05-19 Ulrich Drepper <drepper@gmail.com>
16469 * libio/freopen.c (freopen): Use __dup2, not dup2.
16470 * libio/freopen64.c (freopen64): Likewise.
16472 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16475 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16476 * math/Makefile (tests): Add test-powl.
16477 (CFLAGS-test-powl.c): Define.
16478 * math/test-powl.c: New file.
16480 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16482 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16484 2011-05-17 Ulrich Drepper <drepper@gmail.com>
16487 * iconvdata/gb18030.c: Update to GB18020-2005.
16489 2011-05-16 Ulrich Drepper <drepper@gmail.com>
16491 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16492 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16493 Patch by Aharon Robbins <arnold@skeeve.com>.
16496 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16500 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16501 through underflows.
16504 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16505 point to strings before performing equality test for error_one_per_line
16509 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16512 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16513 (struct user_fpregs_struct): Avoid __uint*_t types.
16516 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16517 symbol info. Use it instead of calling _dl_addr locally.
16518 (lock_and_info): New function.
16519 (tr_freehook): Call lock_and_info and pass symbol info as additional
16520 parameter to tr_where.
16521 (tr_mallochook): Likewise.
16522 (tr_reallochook): Likewise.
16523 (tr_memalignhook): Likewise.
16525 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16526 used and couldn't be at all thread-safe.
16528 2011-05-15 Ulrich Drepper <drepper@gmail.com>
16530 * libio/freopen.c (freopen): Don't close old file descriptor
16531 before the new one is opened. Instead dup the new file descriptor
16532 to the old one after the new stream is created.
16533 * libio/freopen64.c (freopen64): Likewise.
16534 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16535 * libio/fileops.c (_IO_new_file_close_it): Handle new
16536 _IO_FLAGS2_NOCLOSE flag.
16537 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16538 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16539 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16540 _IO_FLAGS2_NOCLOSE flag.
16541 * include/unistd.h: Add hidden_proto for dup3.
16542 Define __have_dup3.
16543 * io/dup3.c: Define hidden symbol.
16544 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16547 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16548 when an incomplete long option is used.
16549 * posix/tst-getopt_long1.c: New file.
16550 * posix/Makefile (tests): Add tst-getopt_long1.
16553 * scripts/config.guess: Update from autoconf-2.68.
16554 * scripts/config.sub: Likewise.
16557 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16559 (has_cpuclock): ...this. New function.
16560 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16561 macro here based on has_cpuclock code.
16564 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16565 First byte (not low byte) is now always NUL.
16566 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16568 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16569 Use non-cancelable interfaces.
16572 * locale/iso-639.def: Add entry for Sorani.
16575 * include/stdlib.h: Move include protection to the right place.
16576 Define abort_msg_s. Declare __abort_msg with it.
16577 * stdlib/abort.c (__abort_msg): Adjust type.
16578 * assert/assert.c (__assert_fail_base): New function. Majority
16579 of code from __assert_fail. Allocate memory for __abort_msg with
16581 (__assert_fail): Now call __assert_fail_base.
16582 * assert/assert-perr.c: Remove bulk of implementation. Use
16583 __assert_fail_base.
16584 * include/assert.hL Declare __assert_fail_base.
16585 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16587 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16589 2011-05-14 Ulrich Drepper <drepper@gmail.com>
16593 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16594 until all modules are registered in the DTV.
16595 * elf/Makefile: Add rules to build and run tst-tls19.
16596 * elf/tst-tls19.c: New file.
16597 * elf/tst-tls19mod1.c: New file.
16598 * elf/tst-tls19mod2.c: New file.
16599 * elf/tst-tls19mod3.c: New file.
16600 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16603 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16607 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16608 two-byte sequence errors.
16609 * iconvdata/Makefile (tests): Add bug-iconv8.
16610 * iconvdata/bug-iconv8.c: New file.
16613 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16616 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16619 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16620 (dummy_getcfa): New function.
16621 (init): Get _Unwind_GetCFA address, use dummy if not found.
16622 (backtrace_helper): In recursion check, also check whether CFA changes.
16623 (__backtrace): Completely initialize arg.
16625 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16626 storing incomplete byte sequence in state object. Avoid testing for
16627 guaranteed too small input if we know there is enough data available.
16629 2011-05-11 Andreas Schwab <schwab@redhat.com>
16631 * Makeconfig (+link-pie): Indent.
16632 * Rules (binaries-pie): Define if $(have-fpie) and
16634 (binaries-shared): Also filter out $(binaries-pie).
16635 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16636 * nscd/Makefile (others-pie): Add nscd.
16637 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16638 ($(objpfx)nscd): Remove command override.
16639 * login/Makefile (others-pie): Add pt_chown.
16640 ($(objpfx)pt_chown): Remove command override.
16641 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16642 remove command overrides.
16644 2011-05-13 Ulrich Drepper <drepper@gmail.com>
16646 * libio/tst_putwc.c: Fix error messages.
16649 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16650 currently writing and seek to current position when not.
16651 * libio/Makefile (tests): Add bug-fclose1.
16652 * libio/bug-fclose1.c: New file.
16654 2011-05-12 Ulrich Drepper <drepper@gmail.com>
16657 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16658 don't set DF_1_NODELETE here.
16659 (do_lookup_x): When entering new entry test for copy relocation
16660 and if necessary set DF_1_NODELETE flag.
16661 * elf/tst-unique4.cc: New file.
16662 * elf/tst-unique4.h: New file.
16663 * elf/tst-unique4lib.cc: New file.
16664 * elf/Makefile: Add rules to build and run tst-unique4.
16665 Patch by Piotr Bury <pbury@goahead.com>.
16667 2011-05-11 Ulrich Drepper <drepper@gmail.com>
16670 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16673 * misc/mntent_r.c (addmntent): Flush the stream after the output
16676 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16677 (is_trusted_path_normalize): Skip initial colon. Append slash
16678 to empty buffer. Duplicate is_trusted_path code but allow
16679 constructed patch to be prefix.
16680 (is_dst): Allow $ORIGIN followed by /.
16681 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16682 Correct testing of result of is_trusted_path_normalize
16683 (decompose_rpath): Fix warning.
16685 2011-05-10 Ulrich Drepper <drepper@gmail.com>
16688 * grp/initgroups.c (internal_getgrouplist): When we found the service
16689 list through the initgroups entry in nsswitch.conf do not always
16690 continue on a successful lookup. Don't always use the
16691 __nss_group_database value if it is set.
16692 * nss/nsswitch.conf (initgroups): Change action for successful db
16693 lookup to continue for compatibility.
16695 2011-05-09 Ulrich Drepper <drepper@gmail.com>
16698 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16700 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16702 * iconvdata/tst-tables.sh: Likewise.
16703 * iconvdata/cp770.c: New file.
16704 * iconvdata/cp771.c: New file.
16705 * iconvdata/cp772.c: New file.
16706 * iconvdata/cp773.c: New file.
16707 * iconvdata/cp774.c: New file.
16708 * iconvdata/testdata/CP770: New file.
16709 * iconvdata/testdata/CP770..UTF8: New file.
16710 * iconvdata/testdata/CP771: New file.
16711 * iconvdata/testdata/CP771..UTF8: New file.
16712 * iconvdata/testdata/CP772: New file.
16713 * iconvdata/testdata/CP772..UTF8: New file.
16714 * iconvdata/testdata/CP773: New file.
16715 * iconvdata/testdata/CP773..UTF8: New file.
16716 * iconvdata/testdata/CP774: New file.
16717 * iconvdata/testdata/CP774..UTF8: New file.
16719 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16721 * iconvdata/gen-8bit-gap.sh: Likewise.
16722 * iconvdata/gen-8bit.sh: Likewise.
16724 * locale/iso-639.def: Add ary entry.
16727 * locale/C-translit.h.in: Add U20A1 transliteration.
16730 * locale/iso-639.def: Add wae entry.
16731 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16734 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16738 * locale/C-translit.h.in: Add entry for U20B9.
16739 Patch by pravin.d.s@gmail.com.
16741 2011-05-08 Ulrich Drepper <drepper@gmail.com>
16744 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16745 ENAMETOOLONG use generic getcwd.
16746 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16747 in rtld. Use *stat64.
16748 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16749 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16750 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16751 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16752 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16753 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16754 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16755 __fstatat64 macros.
16756 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16757 * dirent/rewinddir.c: Add libc_hidden_def.
16758 * sysdeps/mach/hurd/rewinddir.c: Likewise.
16759 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
16761 * include/dirent.h (__alloc_dir): Add flags parameter.
16762 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16763 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16765 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16766 from fdopendir if O_CLOEXEC is already set.
16768 2011-03-15 Alan Modra <amodra@gmail.com>
16770 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16771 l_tls_firstbyte_offset non-zero. Save padding offset in
16772 l_tls_firstbyte_offset for later use.
16773 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16774 freeing static tls block.
16776 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16778 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16779 where #ifdef was intended. The intent is to prevent ARG_MAX from
16780 being defined by the kernel headers.
16782 2011-05-07 Ulrich Drepper <drepper@gmail.com>
16785 * resolv/resolv.h: Define RES_NOTLDQUERY.
16786 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16787 no-tld-query and set RES_NOTLDQUERY.
16788 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16789 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16790 modern BIND to search name as TLD unless forbidden.
16792 2011-05-07 Petr Baudis <pasky@suse.cz>
16793 Ulrich Drepper <drepper@gmail.com>
16796 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16797 (is_trusted_path): ...to here.
16798 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16799 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16800 using is_trusted_path_normalize() in setuid scripts.
16802 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16804 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16805 __BEGIN/__END_DECLS.
16807 2011-05-06 Ulrich Drepper <drepper@gmail.com>
16809 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16810 NSS_STATUS_NOTFOUND if no record was found.
16812 2011-05-05 Andreas Schwab <schwab@redhat.com>
16814 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16815 (headers-not-in-tirpc): Remove rpc/netdb.h
16816 * resolv/netdb.h: Revert last change.
16818 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16820 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16821 circular dependency between libgcc.a and libc.a.
16823 2011-05-05 Andreas Schwab <schwab@redhat.com>
16825 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16826 * nis/Makefile: Don't install rpcsvc/*.
16827 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16828 instead of <rpc/types.h>.
16829 (MAXHOSTNAMELEN): Define.
16831 2011-05-03 Andreas Schwab <schwab@redhat.com>
16833 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16835 2011-04-28 Maciej Babinski <mbabinski@google.com>
16838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16839 gethostbyname4_r when IPv6 results are possible.
16841 2011-05-02 Ulrich Drepper <drepper@gmail.com>
16844 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16845 _PC_PIPE_BUF handling.
16847 2011-04-30 Bruno Haible <bruno@clisp.org>
16850 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16851 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16853 * inet/getnameinfo.c (getnameinfo): Likewise.
16855 2011-04-29 Ulrich Drepper <drepper@gmail.com>
16857 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16858 to groups setting in database lookup.
16859 * nss/nsswitch.conf: Add initgroups entry.
16861 2011-04-22 Ulrich Drepper <drepper@gmail.com>
16864 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16866 Patch by Eric Blake <eblake@redhat.com>.
16868 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16870 * sunrpc/Makefile (need-export-routines): Add svc_run.
16871 (routines): Remove svc_run.
16872 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16873 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16874 * sunrpc/svc_run.c (svc_run): Likewise.
16875 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16877 2011-04-21 Ulrich Drepper <drepper@gmail.com>
16879 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16880 problem in reallocation in last patch.
16882 2011-04-20 Ulrich Drepper <drepper@gmail.com>
16884 * sunrpc/Makefile: Move inclusion of Rules.
16886 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16888 * nss/nss_files/files-initgroups.c: New file.
16889 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16890 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16891 _nss_files_initgroups_dyn.
16893 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16895 * elf/elf.h (R_ARM_IRELATIVE): Define.
16897 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16899 * po/ru.po: Update from translation team.
16901 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16903 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16906 2011-02-06 Mike Frysinger <vapier@gentoo.org>
16909 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16910 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16911 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16912 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16913 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16915 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16917 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16919 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16920 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16921 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16923 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16926 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16928 * stdlib/bug-getcontext.c: New file.
16929 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16931 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16933 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16934 instructions into .machine "z9-109".
16935 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16936 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16938 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16940 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16941 between environment variables and auxiliary vector.
16943 2011-04-16 Ulrich Drepper <drepper@gmail.com>
16945 * Makefile: Add rules to build linkobj/libc.so.
16946 * include/libc-symbols.h: Define libc_hidden_nolink.
16947 * include/rpc/auth.h: Mark functions which are to be hidden.
16948 * include/rpc/auth_des.h: Likewise.
16949 * include/rpc/auth_unix.h: Likewise.
16950 * include/rpc/clnt.h: Likewise.
16951 * include/rpc/des_crypt.h: Likewise.
16952 * include/rpc/key_prot.h: Likewise.
16953 * include/rpc/pmap_clnt.h: Likewise.
16954 * include/rpc/pmap_prot.h: Likewise.
16955 * include/rpc/pmap_rmt.h: Likewise.
16956 * include/rpc/rpc_msg.h: Likewise.
16957 * include/rpc/svc.h: Likewise.
16958 * include/rpc/svc_auth.h: Likewise.
16959 * include/rpc/xdr.h: Likewise.
16960 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16961 * nss/Makefile: Likewise.
16962 * sunrpc/Makefile: Don't install headers. Build library with normal
16963 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16964 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16965 for the compat linking library. Remove use of INTDEF/INTUSE.
16966 * sunrpc/auth_none.c: Likewise.
16967 * sunrpc/auth_unix.c: Likewise.
16968 * sunrpc/authdes_prot.c: Likewise.
16969 * sunrpc/authuxprot.c: Likewise.
16970 * sunrpc/clnt_gen.c: Likewise.
16971 * sunrpc/clnt_perr.c: Likewise.
16972 * sunrpc/clnt_raw.c: Likewise.
16973 * sunrpc/clnt_simp.c: Likewise.
16974 * sunrpc/clnt_tcp.c: Likewise.
16975 * sunrpc/clnt_udp.c: Likewise.
16976 * sunrpc/clnt_unix.c: Likewise.
16977 * sunrpc/des_crypt.c: Likewise.
16978 * sunrpc/des_soft.c: Likewise.
16979 * sunrpc/get_myaddr.c: Likewise.
16980 * sunrpc/key_call.c: Likewise.
16981 * sunrpc/key_prot.c: Likewise.
16982 * sunrpc/netname.c: Likewise.
16983 * sunrpc/pm_getmaps.c: Likewise.
16984 * sunrpc/pm_getport.c: Likewise.
16985 * sunrpc/pmap_clnt.c: Likewise.
16986 * sunrpc/pmap_prot.c: Likewise.
16987 * sunrpc/pmap_prot2.c: Likewise.
16988 * sunrpc/pmap_rmt.c: Likewise.
16989 * sunrpc/publickey.c: Likewise.
16990 * sunrpc/rpc_cmsg.c: Likewise.
16991 * sunrpc/rpc_common.c: Likewise.
16992 * sunrpc/rpc_dtable.c: Likewise.
16993 * sunrpc/rpc_prot.c: Likewise.
16994 * sunrpc/rpc_thread.c: Likewise.
16995 * sunrpc/rtime.c: Likewise.
16996 * sunrpc/svc.c: Likewise.
16997 * sunrpc/svc_auth.c: Likewise.
16998 * sunrpc/svc_authux.c: Likewise.
16999 * sunrpc/svc_raw.c: Likewise.
17000 * sunrpc/svc_run.c: Likewise.
17001 * sunrpc/svc_simple.c: Likewise.
17002 * sunrpc/svc_tcp.c: Likewise.
17003 * sunrpc/svc_udp.c: Likewise.
17004 * sunrpc/svc_unix.c: Likewise.
17005 * sunrpc/svcauth_des.c: Likewise.
17006 * sunrpc/xcrypt.c: Likewise.
17007 * sunrpc/xdr.c: Likewise.
17008 * sunrpc/xdr_array.c: Likewise.
17009 * sunrpc/xdr_float.c: Likewise.
17010 * sunrpc/xdr_intXX_t.c: Likewise.
17011 * sunrpc/xdr_mem.c: Likewise.
17012 * sunrpc/xdr_rec.c: Likewise.
17013 * sunrpc/xdr_ref.c: Likewise.
17014 * sunrpc/xdr_sizeof.c: Likewise.
17015 * sunrpc/xdr_stdio.c: Likewise.
17017 2011-04-10 Ulrich Drepper <drepper@gmail.com>
17020 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17021 * sysdeps/ia64/dl-tls.h: Likewise.
17022 * sysdeps/powerpc/dl-tls.h: Likewise.
17023 * sysdeps/s390/dl-tls.h: Likewise.
17024 * sysdeps/sh/dl-tls.h: Likewise.
17025 * sysdeps/sparc/dl-tls.h: Likewise.
17026 * sysdeps/x86_64/dl-tls.h: Likewise.
17027 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17029 2011-03-14 Andreas Schwab <schwab@redhat.com>
17031 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17032 rpath element also skip the following colon.
17033 (expand_dynamic_string_token): Add is_path parameter and pass
17034 down to DL_DST_REQUIRED and _dl_dst_substitute.
17035 (decompose_rpath): Call expand_dynamic_string_token with
17036 non-zero is_path. Ignore empty rpaths.
17037 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17040 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17045 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17048 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17049 Patch by Filipe David Manana <fdmanana@apache.org>.
17051 2011-04-07 Andreas Schwab <schwab@redhat.com>
17053 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17054 Maintain aligned stack.
17055 (CHECK_RSP): Remove unused macro.
17057 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17059 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17060 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17062 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17064 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17066 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17068 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17071 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17072 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17073 * sysdeps/x86_64/memmove.c: New file.
17074 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17075 (memcpy): Renamed to ...
17076 (__new_memcpy): This.
17077 (memcpy): Provide GLIBC_2_14 memcpy.
17078 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17079 (memcpy): Provide GLIBC_2_2_5 memcpy.
17081 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17084 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17086 2011-03-30 Andreas Schwab <schwab@redhat.com>
17088 * misc/syncfs.c: New file.
17089 * misc/Makefile (routines): Add syncfs.
17090 * posix/unistd.h: Declare syncfs.
17091 * sysdeps/unix/syscalls.list: Add syncfs.
17093 2011-04-01 Andreas Schwab <schwab@redhat.com>
17095 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17097 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17098 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17099 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17100 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17101 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17102 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17103 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17105 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17107 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17108 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17109 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17110 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17111 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17112 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17113 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17115 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17116 sync_file_range.c with -fexceptions.
17117 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17118 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17119 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17120 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17121 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17122 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17123 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17124 sync_file_range as cancellation point
17125 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17126 now a wrapper around __call_sync_file_range with cancellation handling.
17127 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17128 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17129 function name to __call_sync_file_range.
17130 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17131 Add call_sync_file_range.
17133 2011-04-01 Andreas Schwab <schwab@redhat.com>
17135 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17138 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17140 * iconv/iconv.h: Fix typo in comment.
17141 * io/fcntl.h: Likewise.
17142 * libio/stdio.h: Likewise.
17143 * posix/spawn.h: Likewise.
17144 * posix/unistd.h: Likewise.
17145 * stdlib/stdlib.h: Likewise.
17146 * time/time.h: Likewise.
17147 * wcsmbs/wchar.h: Likewise.
17149 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17150 open_by_handle): Add.
17151 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17152 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17153 Augment a few comments.
17154 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17155 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17156 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17157 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17158 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17159 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17162 * io/fcntl.h (AT_EMPTY_PATH): Define.
17164 2011-03-30 Ulrich Drepper <drepper@gmail.com>
17166 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17167 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17168 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17170 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17171 * Versions.def: Add GLIBC_2.14.
17172 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17175 2011-03-22 Ulrich Drepper <drepper@gmail.com>
17177 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17179 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17181 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17184 * string/test-strncmp.c (do_page_test): New function.
17185 (check2): Likewise.
17186 (test_main): Call check2.
17187 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17189 2011-03-20 Ulrich Drepper <drepper@gmail.com>
17192 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17193 Handle cache information in CPU leaf 4.
17194 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17196 2011-03-18 Ulrich Drepper <drepper@gmail.com>
17199 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17200 character representation.
17201 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17203 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17205 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17206 END(__isnan) to END(__isnanf) to match function entry point/label
17207 EALIGN(__isnanf,...).
17209 2011-03-10 Jakub Jelinek <jakub@redhat.com>
17211 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17213 2011-03-10 Ulrich Drepper <drepper@gmail.com>
17216 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17217 copy from the symbol referenced in the relocation to initialize the
17219 Patch by Piotr Bury <pbury@goahead.com>.
17220 * elf/Makefile: Add rules to build and tst-unique3.
17221 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17222 * elf/tst-unique3.cc: New file.
17223 * elf/tst-unique3.h: New file.
17224 * elf/tst-unique3lib.cc: New file.
17225 * elf/tst-unique3lib2.cc: New file.
17227 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17229 2011-03-10 Mike Frysinger <vapier@gentoo.org>
17231 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17232 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17235 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17237 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17238 to-be-loaded object along a path to loader is ld.so.
17240 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17241 Ulrich Drepper <drepper@gmail.com>
17243 * sysdeps/x86_64/memset.S: After aligning destination, code
17244 branches to different locations depending on the value of
17245 misalignment, when multiarch is enabled. Fix this.
17247 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17249 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17250 Set _x86_64_preferred_memory_instruction for AMD processsors.
17251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17252 Set bit_Prefer_SSE_for_memop for AMD processors.
17254 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17256 * libio/fmemopen.c (fmemopen): Optimize a bit.
17258 2011-03-03 Andreas Schwab <schwab@redhat.com>
17260 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17262 2011-03-03 Roland McGrath <roland@redhat.com>
17264 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17266 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17268 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17269 __bzero_ultra1 instead of __memset_ultra1.
17271 2011-02-23 Andreas Schwab <schwab@redhat.com>
17272 Ulrich Drepper <drepper@gmail.com>
17275 * include/link.h (struct link_map): Add l_orig_initfini.
17276 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17277 returning unsuccessfully.
17278 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17279 close of a file loaded at startup, restore the original l_initfini
17281 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17282 list, store the pointer.
17283 * elf/Makefile ($(objpfx)noload-mem): New rule.
17284 (noload-ENV): Define.
17285 (tests): Add $(objpfx)noload-mem.
17286 * elf/noload.c: Include <memcheck.h>.
17287 (main): Call mtrace. Close all opened handles.
17289 2011-02-17 Andreas Schwab <schwab@redhat.com>
17292 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17293 dependencies are missing.
17295 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17297 Fix __if_freereq crash: Unlike the generic version which uses free,
17299 * sysdeps/mach/hurd/ifreq.h: New file.
17301 2011-01-27 Petr Baudis <pasky@suse.cz>
17302 Ulrich Drepper <drepper@gmail.com>
17305 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17306 to extend_alloca().
17307 * stdio-common/bug23.c: New file.
17308 * stdio-common/Makefile (tests): Add bug23.
17310 2010-09-28 Andreas Schwab <schwab@redhat.com>
17311 Ulrich Drepper <drepper@gmail.com>
17314 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17315 before performing relro protection. At old place add assertion
17316 to make sure nothing changed.
17318 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17319 Glauber de Oliveira Costa <glommer@gmail.com>
17321 * elf/elf.h: Add new ARM TLS relocs.
17323 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17326 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17328 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17330 * sysdeps/wordsize-64/tst-writev.c: New file.
17332 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17334 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17335 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17336 insns in _dl_start to prevent a TOC reference before relocs are
17339 2011-02-15 Ulrich Drepper <drepper@gmail.com>
17342 * Makeconfig: Remove RANLIB definition.
17343 * Makerules: Don't use RANLIB.
17344 * aclocal.m4: Remove ranlib test.
17345 * configure.in: No need to check for ranlib.
17346 * elf/rtld-Rules: Don't use RANLIB.
17348 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17350 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17352 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17353 inclusion protection macro.
17355 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17356 SIGRTMIN and SIGRTMAX and print information in that case only when
17357 SIGRTMIN is defined.
17359 2011-02-11 Jakub Jelinek <jakub@redhat.com>
17361 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17362 arginfo fn returning -1.
17364 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17365 and thousands string is zero terminated.
17367 2011-02-03 Andreas Schwab <schwab@redhat.com>
17369 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17370 sysdeps/unix/sysv/linux/bits/socket.h.
17372 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17374 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17375 (__CPU_COUNT): Remove old macros.
17376 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17377 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17378 (__CPU_ALLOC, __CPU_FREE): Add macros.
17379 (__sched_cpualloc, __sched_cpufree): Add declarations.
17381 2011-02-05 Ulrich Drepper <drepper@gmail.com>
17383 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17384 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17385 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17386 (readdhstai): Return value of addhstaiX call.
17387 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17388 (addgrbyX): Return value returned by cache_addgr.
17389 (readdgrbyname): Return value returned by addgrbyX.
17390 (readdgrbygid): Likewise.
17391 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17392 (addpwbyX): Return value returned by cache_addpw.
17393 (readdpwbyname): Return value returned by addhstbyX.
17394 (readdpwbyuid): Likewise.
17395 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17396 (addservbyX): Return value returned by cache_addserv.
17397 (readdservbyname): Return value returned by addservbyX:
17398 (readdservbyport): Likewise.
17399 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17400 (addhstbyX): Return value returned by cache_addhst.
17401 (readdhstbyname): Return value returned by addhstbyX.
17402 (readdhstbyaddr): Likewise.
17403 (readdhstbynamev6): Likewise.
17404 (readdhstbyaddrv6): Likewise.
17405 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17406 (readdinitgroups): Return value returned by addinitgroupsX.
17407 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17408 (prune_cache): Keep track of timeout value of re-added entries.
17409 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17410 * nscd/nscd.h: Adjust prototypes of readd* functions.
17412 2011-02-04 Roland McGrath <roland@redhat.com>
17414 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17415 (nis_stats): Likewise.
17416 * nis/nis_modify.c (nis_modify): Likewise.
17417 * nis/nis_remove.c (nis_remove): Likewise.
17418 * nis/nis_add.c (nis_add): Likewise.
17420 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17422 * posix/fnmatch_loop.c: Add some consts.
17424 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17426 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17429 * config.make.in (config-cflags-novzeroupper): Define.
17430 * configure.in: Substitute libc_cv_cc_novzeroupper.
17431 * elf/Makefile (AVX-CFLAGS): Define.
17432 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17433 (CFLAGS-tst-auditmod4a.c): Likewise.
17434 (CFLAGS-tst-auditmod4b.c): Likewise.
17435 (CFLAGS-tst-auditmod6b.c): Likewise.
17436 (CFLAGS-tst-auditmod6c.c): Likewise.
17437 (CFLAGS-tst-auditmod7b.c): Likewise.
17438 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17440 2011-02-02 Ulrich Drepper <drepper@gmail.com>
17442 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17443 function to the callback.
17444 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17446 2011-02-02 Andreas Schwab <schwab@redhat.com>
17448 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17451 2011-01-19 Ulrich Drepper <drepper@gmail.com>
17454 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17456 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17458 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17461 * elf/Makefile: Add rules to build and run new test.
17462 * elf/tst-initorder.c: New file.
17463 * elf/tst-initorder.exp: New file.
17464 * elf/tst-initordera1.c: New file.
17465 * elf/tst-initordera2.c: New file.
17466 * elf/tst-initordera3.c: New file.
17467 * elf/tst-initordera4.c: New file.
17468 * elf/tst-initorderb1.c: New file.
17469 * elf/tst-initorderb2.c: New file.
17470 * elf/tst-order-a1.c: New file.
17471 * elf/tst-order-a2.c: New file.
17472 * elf/tst-order-a3.c: New file.
17473 * elf/tst-order-a4.c: New file.
17474 * elf/tst-order-b1.c: New file.
17475 * elf/tst-order-b2.c: New file.
17476 * elf/tst-order-main.c: New file.
17477 New test case by George Gensure <werkt0@gmail.com>.
17479 2010-10-01 Andreas Schwab <schwab@redhat.com>
17481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17482 decoding ACE if AI_CANONIDN.
17484 2011-01-18 Ulrich Drepper <drepper@gmail.com>
17486 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17488 2011-01-17 Ulrich Drepper <drepper@gmail.com>
17490 * version.h (RELEASE): Bump for 2.13 release.
17491 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17493 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17495 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17497 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17498 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17499 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17500 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17501 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17502 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17504 * posix/getconf.c: Update copyright year.
17505 * catgets/gencat.c: Likewise.
17506 * csu/version.c: Likewise.
17507 * debug/catchsegv.sh: Likewise.
17508 * debug/xtrace.sh: Likewise.
17509 * elf/ldconfig.c: Likewise.
17510 * elf/ldd.bash.in: Likewise.
17511 * elf/sprof.c (print_version): Likewise.
17512 * iconv/iconv_prog.c: Likewise.
17513 * iconv/iconvconfig.c: Likewise.
17514 * locale/programs/locale.c: Likewise.
17515 * locale/programs/localedef.c: Likewise.
17516 * malloc/memusage.sh: Likewise.
17517 * malloc/mtrace.pl: Likewise.
17518 * nscd/nscd.c (print_version): Likewise.
17519 * nss/getent.c: Likewise.
17521 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17522 PF_CAIF, and PF_ALG.
17523 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17525 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17527 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17528 (modules-names): Use them.
17529 (ifunc-test-modules, ifunc-pie-tests): Define.
17530 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17531 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17532 (test-extras): Likewise.
17533 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17534 $(compile-command.c).
17535 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17536 (all-built-dso): Define.
17537 (check-textrel.out, check-execstack.out): Depend on it.
17539 * configure.in: Don't override --enable-multi-arch.
17541 2011-01-15 Ulrich Drepper <drepper@gmail.com>
17544 * nscd/hstcache.c (tryagain): Define.
17545 (cache_addhst): Return tryagain not notfound for temporary errors.
17546 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17549 2011-01-14 Ulrich Drepper <drepper@gmail.com>
17552 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17553 to make the syscall.
17554 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17557 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17558 and fall back to matching as normal character if the string ends before
17559 the matching ']' is found. This is what POSIX requires.
17560 * posix/testfnm.c: Adjust test result.
17561 * posix/globtest.sh: Adjust test result. Add new test.
17562 * posix/tst-fnmatch.input: Likewise.
17563 * posix/tst-fnmatch2.c: Add new test.
17565 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17567 * elf/Makefile (check-execstack): Revert last change. Depend on
17569 (check-execstack.h): New target.
17570 (generated): Add check-execstack.h.
17571 * elf/check-execstack.c: Include "check-execstack.h".
17572 (main): Revert last change.
17573 (handle_file): Return zero if GNU_STACK is absent and
17574 DEFAULT_STACK_PERMS doesn't include PF_X.
17576 2011-01-13 Ulrich Drepper <drepper@gmail.com>
17578 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17579 in child fails because the descriptor is already closed.
17580 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17581 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17582 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17585 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17589 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17590 temporary buffer used to handle multi lookups locally.
17591 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17593 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17595 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17598 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17600 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17601 alignment for SSE2.
17603 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17606 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17607 characters. When rounding increased number of integer digits recompute
17609 * stdio-common/tst-grouping.c: New file.
17610 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17612 2011-01-09 Ulrich Drepper <drepper@gmail.com>
17614 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17615 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17617 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17619 * bits/select.h: Likewise.
17621 2011-01-08 Ulrich Drepper <drepper@gmail.com>
17623 * po/ja.po: Update from translation team.
17625 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
17628 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17629 implementation just like for lxstat, fxstatat, et al.
17631 2010-12-27 Jim Meyering <meyering@redhat.com>
17634 * posix/regexec.c (build_trtable): Return failure indication upon
17635 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17637 2010-12-25 Ulrich Drepper <drepper@gmail.com>
17640 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17641 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17642 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17643 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17646 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17649 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17650 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17652 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17654 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17655 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17656 script has SORT_BY_INIT_PRIORITY.
17657 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17658 NO_CTORS_DTORS_SECTIONS is defined.
17659 * elf/soinit.c: Likewise.
17660 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17661 NO_CTORS_DTORS_SECTIONS is defined.
17662 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17663 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17664 * sysdeps/sh/init-first.c: Likewise.
17665 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17667 2010-12-24 Ulrich Drepper <drepper@gmail.com>
17669 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17670 always use the slow path.
17672 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17674 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17675 similar rule which adds the sysdep directories to the header search in
17676 order to pick up the correct platform stackinfo.h.
17677 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17678 perform test if it is, otherwise return successfully without testing.
17679 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17680 DEFAULT_STACK_PERMS define in stackinfo.h.
17681 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17682 defined in stackinfo.h.
17683 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17684 DEFAULT_STACK_PERMS defined in stackinfo.h.
17685 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17686 * sysdeps/ia64/stackinfo.h: Likewise.
17687 * sysdeps/s390/stackinfo.h: Likewise.
17688 * sysdeps/sh/stackinfo.h: Likewise.
17689 * sysdeps/sparc/stackinfo.h: Likewise.
17690 * sysdeps/x86_64/stackinfo.h: Likewise.
17691 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17692 PF_X for powerpc64. Retain PF_X for powerpc32.
17694 2010-12-19 Ulrich Drepper <drepper@gmail.com>
17696 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17698 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17699 GETDENTS_64BIT_ALIGNED.
17701 2010-12-14 Ulrich Drepper <dreper@gmail.com>
17703 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17705 2010-12-10 Andreas Schwab <schwab@redhat.com>
17707 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17710 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17711 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17713 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17714 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17716 2010-12-09 Ulrich Drepper <drepper@gmail.com>
17719 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17722 2010-12-09 Jakub Jelinek <jakub@redhat.com>
17724 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17726 2010-12-03 Ulrich Drepper <drepper@gmail.com>
17728 * po/it.po: Update from translation team.
17730 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17732 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17735 2010-11-30 Ulrich Drepper <drepper@gmail.com>
17737 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17739 2010-11-24 Andreas Schwab <schwab@redhat.com>
17741 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17743 (gaih_getanswer_slice): Likewise.
17745 2010-10-20 Jakub Jelinek <jakub@redhat.com>
17747 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17749 2010-05-31 Petr Baudis <pasky@suse.cz>
17752 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17753 silently even in the chroot mode.
17755 2010-11-22 Ulrich Drepper <drepper@gmail.com>
17757 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17758 last patch a bit. Pretty printing
17760 2010-05-31 Petr Baudis <pasky@suse.cz>
17763 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17764 initialization of skip_initgroups_dyn.
17766 2010-11-19 Ulrich Drepper <drepper@gmail.com>
17768 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17769 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17771 2010-11-16 Ulrich Drepper <drepper@gmail.com>
17773 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17775 2010-11-11 Andreas Schwab <schwab@redhat.com>
17777 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17778 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17779 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17780 ($(objpfx)tst-fnmatch-mem): New rule.
17781 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17782 * posix/tst-fnmatch.c (main): Call mtrace.
17784 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17786 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17787 Support Intel processor model 6 and model 0x2c.
17789 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
17791 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17794 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17797 * string/test-strncasecmp.c (check_result): New function.
17798 (do_one_test): Use it.
17799 (check1): New function.
17800 (test_main): Use it.
17801 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17802 Support strcasecmp and strncasecmp.
17804 2010-11-08 Ulrich Drepper <drepper@gmail.com>
17807 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17808 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17810 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17812 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17814 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17816 * sysdeps/x86_64/multiarch/bzero.S: New file.
17817 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17818 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17819 * sysdeps/x86_64/multiarch/memset.S: New file.
17820 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17822 Set bit_Prefer_SSE_for_memop for Intel processors.
17823 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17825 (index_Prefer_SSE_for_memop): Define.
17826 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17828 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
17830 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17831 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17833 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17836 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17837 (__x86_64_raw_data_cache_size_half): Likewise.
17838 (__x86_64_raw_shared_cache_size): Likewise.
17839 (__x86_64_raw_shared_cache_size_half): Likewise.
17841 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17842 (__x86_64_raw_data_cache_size_half): Likewise.
17843 (__x86_64_raw_shared_cache_size): Likewise.
17844 (__x86_64_raw_shared_cache_size_half): Likewise.
17845 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17846 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17847 and __x86_64_raw_shared_cache_size_half. Round
17848 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17849 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17850 to multiple of 256 bytes.
17852 2010-11-03 Ulrich Drepper <drepper@gmail.com>
17855 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17856 of inacessible symlinks. Verify result of symlink before returning it.
17857 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17858 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17860 2010-10-28 Erich Ritz <erichritz@gmail.com>
17862 * math/math.h (isinf): Fix typo in comment.
17864 2010-11-01 Ulrich Drepper <drepper@gmail.com>
17866 * po/da.po: Update from translation team.
17868 2010-10-26 Ulrich Drepper <drepper@gmail.com>
17870 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17871 is added to the list.
17873 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17874 Ulrich Drepper <drepper@gmail.com>
17876 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17877 the global list here. Move code to...
17878 (_dl_add_to_namespace_list): ...here. New function.
17879 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17880 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17881 * elf/dl-load.c (lose): Don't remove the element from the list.
17882 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17883 (_dl_map_object): Likewise.
17885 2010-10-25 Ulrich Drepper <drepper@gmail.com>
17888 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17889 into all bytes of SSE register.
17890 Patch by Richard Li <richardpku@gmail.com>.
17892 2010-10-24 Ulrich Drepper <drepper@gmail.com>
17895 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17898 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17900 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17901 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17902 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17903 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17908 2010-10-22 Andreas Schwab <schwab@redhat.com>
17910 * include/dlfcn.h (__RTLD_SECURE): Define.
17911 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17912 mode & __RTLD_SECURE instead.
17913 (open_path): Rename preloaded parameter to secure.
17914 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17915 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17916 * elf/dl-deps.c (openaux): Likewise.
17917 * elf/rtld.c (struct map_args): Remove is_preloaded.
17918 (map_doit): Don't use it.
17919 (dl_main): Likewise.
17920 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17921 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17923 2010-09-09 Andreas Schwab <schwab@redhat.com>
17925 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17926 (sysd-rules-targets): Remove duplicates.
17927 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17928 rtld-%.$o dependency.
17930 2010-10-18 Andreas Schwab <schwab@redhat.com>
17932 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17933 _dl_map_object do it.
17935 2010-10-19 Ulrich Drepper <drepper@gmail.com>
17937 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17938 fast fma builtins, define the macros in the C99 standard.
17939 (FP_FAST_FMAF): Likewise.
17940 (FP_FAST_FMAL): Likewise.
17941 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17943 * bits/mathdef.h: Update copyright year.
17944 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17946 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17948 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17949 builtins, define the macros in the C99 standard.
17950 (FP_FAST_FMAF): Likewise.
17951 (FP_FAST_FMAL): Likewise.
17952 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17954 (FP_FAST_FMAF): Likewise.
17956 2010-10-15 Jakub Jelinek <jakub@redhat.com>
17959 * math/libm-test.inc (fma_test): Some new testcases.
17960 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17961 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17962 y and infinite z. Do multiplication by C already in long double.
17963 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17964 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17965 y and infinite z. Do bitwise or of inexact bit into u.d.
17966 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17967 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17968 * sysdeps/i386/fpu/s_fma.S: Removed.
17969 * sysdeps/i386/fpu/s_fmal.S: Removed.
17971 2010-10-16 Jakub Jelinek <jakub@redhat.com>
17974 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17975 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17976 computation is not scheduled after fetestexcept. Fix value
17977 of minimum denormal long double.
17979 2010-10-14 Jakub Jelinek <jakub@redhat.com>
17982 * math/libm-test.inc (fma_test): Add some more tests.
17983 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17986 2010-10-15 Andreas Schwab <schwab@redhat.com>
17988 * scripts/data/localplt-s390-linux-gnu.data: New file.
17989 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17991 2010-10-13 Jakub Jelinek <jakub@redhat.com>
17994 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17995 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17997 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17999 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18001 if one of x and y is very large and the other is subnormal.
18002 * sysdeps/s390/fpu/s_fmaf.c: New file.
18003 * sysdeps/s390/fpu/s_fma.c: New file.
18004 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18005 * sysdeps/powerpc/fpu/s_fma.S: New file.
18006 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18007 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18008 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18010 2010-10-12 Jakub Jelinek <jakub@redhat.com>
18013 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18015 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18016 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18017 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18018 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18019 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18020 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18021 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18023 2010-10-12 Ulrich Drepper <drepper@redhat.com>
18026 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18027 * posix/bug-regex31.input: Add test case.
18029 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18031 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18032 * posix/bug-regex31.input: New file.
18035 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18036 (parse_sub_exp): Fix last change, use postorder.
18038 * posix/bug-regex31.c: New file.
18039 * posix/Makefile: Add rules to build and run bug-regex31.
18041 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18044 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18047 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18048 to have entries in sys_siglist.
18051 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18054 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18057 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18058 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18059 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18060 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18061 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18062 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18063 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18064 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18065 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18066 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18067 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18068 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18069 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18070 * math/ftestexcept.c (fetestexcept): Likewise.
18071 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18072 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18073 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18074 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18075 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18076 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18077 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18079 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18082 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18085 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18087 * string/bug-strstr1.c: New file.
18088 * string/Makefile: Add rules to build and run bug-strstr1.
18090 2010-10-05 Eric Blake <eblake@redhat.com>
18093 * string/str-two-way.h (two_way_long_needle): Always clear memory
18094 when skipping input due to the shift table.
18096 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18099 * malloc/mcheck.c: Handle large requests.
18102 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18103 for strncmp and strncasecmp.
18104 * string/stratcliff.c: Add tests for strcmp and strncmp.
18105 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18107 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18109 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18112 2010-09-30 Andreas Jaeger <aj@suse.de>
18114 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18115 (CGROUP_SUPER_MAGIC): Define.
18116 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18117 Handle btrfs and cgroup file systems.
18118 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18121 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18123 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18124 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18126 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18129 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18130 trying to locate the ELF header.
18132 2010-09-27 Andreas Schwab <schwab@redhat.com>
18135 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18136 Mask out sign-bit copies when constructing f_fsid.
18138 2010-09-24 Petr Baudis <pasky@suse.cz>
18140 * debug/stack_chk_fail_local.c: Add missing licence exception.
18141 * debug/warning-nop.c: Likewise.
18143 2010-09-15 Joseph Myers <joseph@codesourcery.com>
18145 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18146 implementing getdents64 using getdents syscall, set d_type if
18147 __ASSUME_GETDENTS32_D_TYPE.
18149 2010-09-16 Andreas Schwab <schwab@redhat.com>
18151 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18152 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18154 2010-09-21 Ulrich Drepper <drepper@redhat.com>
18157 * posix/unistd.h: Undo change of feature selection for ftruncate from
18160 2010-09-20 Ulrich Drepper <drepper@redhat.com>
18162 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18165 2010-09-20 Andreas Schwab <schwab@redhat.com>
18167 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18169 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18171 2010-09-14 Andreas Schwab <schwab@redhat.com>
18173 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18174 variables after CHECK_SP call.
18175 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18177 2010-09-13 Andreas Schwab <schwab@redhat.com>
18178 Ulrich Drepper <drepper@redhat.com>
18180 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18181 re-relocationg ld.so.
18182 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18183 _dl_init_paths call.
18184 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18187 2010-09-14 Ulrich Drepper <drepper@redhat.com>
18189 * resolv/res_init.c (__res_vinit): Count the default server we added.
18191 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18192 Ulrich Drepper <drepper@redhat.com>
18195 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18196 (____longjmp_chk): Use %ebx for saving value across system call.
18199 2010-09-06 Andreas Schwab <schwab@redhat.com>
18201 * manual/Makefile: Don't mix pattern rules with normal rules.
18203 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18205 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18207 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18208 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18209 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18210 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18211 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18214 2010-09-04 Ulrich Drepper <drepper@redhat.com>
18217 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18218 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18220 2010-09-02 Ulrich Drepper <drepper@redhat.com>
18222 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18223 * sysdeps/x86_64/addmul_1.S: Likewise.
18224 * sysdeps/x86_64/lshift.S: Likewise.
18225 * sysdeps/x86_64/mul_1.S: Likewise.
18226 * sysdeps/x86_64/rshift.S: Likewise.
18227 * sysdeps/x86_64/sub_n.S: Likewise.
18228 * sysdeps/x86_64/submul_1.S: Likewise.
18230 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18232 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18233 Define __sched_param instead of SCHED_* and sched_param when
18234 <bits/sched.h> is included with __need_schedparam defined.
18235 * bits/sched.h [__need_schedparam]
18236 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18237 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18238 (__defined_schedparam): Define to 1.
18239 (__sched_param): New structure, identical to sched_param.
18240 (__need_schedparam): Undefine.
18242 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18244 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18245 (epoll_create1): Declare.
18247 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18249 2010-08-31 Andreas Schwab <schwab@redhat.com>
18252 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18253 shifting retval into place.
18255 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18257 * nis/rpcsvc/nis.h: Update copyright notice.
18258 * nis/rpcsvc/nis.x: Likewise.
18259 * nis/rpcsvc/nis_callback.h: Likewise.
18260 * nis/rpcsvc/nis_callback.x: Likewise.
18261 * nis/rpcsvc/nis_object.x: Likewise.
18262 * nis/rpcsvc/nis_tags.h: Likewise.
18263 * nis/rpcsvc/yp.h: Likewise.
18264 * nis/rpcsvc/yp.x: Likewise.
18265 * nis/rpcsvc/ypupd.h: Likewise.
18266 * nis/yp_xdr.c: Likewise.
18267 * nis/ypupdate_xdr.c: Likewise.
18269 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18270 mainly the body of pmap_getport. Add parameters to specify timeouts.
18271 (pmap_getport): Use __libc_rpc_getport.
18272 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18273 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18274 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18276 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18281 2010-08-27 Roland McGrath <roland@redhat.com>
18283 * sysdeps/i386/i686/multiarch/Makefile
18284 (CFLAGS-varshift.c): New variable.
18286 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18288 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18289 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18291 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18293 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18295 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18297 * sysdeps/x86_64/strlen.S: Unroll the loop.
18298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18299 strlen-sse2 strlen-sse2-bsf.
18300 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18301 __strlen_no_bsf if bit_Slow_BSF is set.
18302 (__strlen_sse42): Removed.
18303 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18304 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18306 2010-08-25 Roland McGrath <roland@redhat.com>
18308 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18309 * sysdeps/x86_64/multiarch/varshift.c: New file.
18310 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18311 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18312 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18313 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18315 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18317 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18318 strlen-sse2 strlen-sse2-bsf.
18319 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18320 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18321 (__strlen_sse2): Removed.
18322 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18323 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18325 bit_Slow_BSF for Atom.
18326 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18327 (index_Slow_BSF): Define.
18328 (HAS_SLOW_BSF): Define.
18330 2010-08-25 Ulrich Drepper <drepper@redhat.com>
18333 * resolv/res_init.c (__res_vinit): When no server address at all
18334 is given default to loopback.
18336 2010-08-24 Roland McGrath <roland@redhat.com>
18338 * configure.in: Remove config-name.h generation.
18339 * configure: Regenerated.
18340 * config-name.in: File removed.
18341 * scripts/config-uname.sh: New file.
18342 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18343 ($(objdir)config-name.h): New target.
18345 * sunrpc/rpc_parse.h: Avoid nested comment.
18347 2010-08-24 Richard Henderson <rth@redhat.com>
18348 Ulrich Drepper <drepper@redhat.com>
18349 H.J. Lu <hongjiu.lu@intel.com>
18351 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18353 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18354 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18355 _mm_alignr_epi8 with _mm_loadu_si128.
18356 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18357 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18358 (__m128i_shift_right): Removed.
18359 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18360 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18361 * sysdeps/x86_64/multiarch/varshift.h: New file.
18362 * sysdeps/x86_64/multiarch/varshift.S: New file.
18364 2010-08-21 Mike Frysinger <vapier@gentoo.org>
18366 * configure.in: Move assembler checks to before sysdep dir checking.
18368 2010-08-20 Petr Baudis <pasky@suse.cz>
18370 * LICENSES: Sync the sunrpc license.
18372 2010-08-19 Ulrich Drepper <drepper@redhat.com>
18374 * sunrpc/auth_des.c: Update copyright notice once again.
18375 * sunrpc/auth_none.c: Likewise.
18376 * sunrpc/auth_unix.c: Likewise.
18377 * sunrpc/authdes_prot.c: Likewise.
18378 * sunrpc/authuxprot.c: Likewise.
18379 * sunrpc/bindrsvprt.c: Likewise.
18380 * sunrpc/clnt_gen.c: Likewise.
18381 * sunrpc/clnt_perr.c: Likewise.
18382 * sunrpc/clnt_raw.c: Likewise.
18383 * sunrpc/clnt_simp.c: Likewise.
18384 * sunrpc/clnt_tcp.c: Likewise.
18385 * sunrpc/clnt_udp.c: Likewise.
18386 * sunrpc/clnt_unix.c: Likewise.
18387 * sunrpc/des_crypt.c: Likewise.
18388 * sunrpc/des_soft.c: Likewise.
18389 * sunrpc/get_myaddr.c: Likewise.
18390 * sunrpc/getrpcport.c: Likewise.
18391 * sunrpc/key_call.c: Likewise.
18392 * sunrpc/key_prot.c: Likewise.
18393 * sunrpc/openchild.c: Likewise.
18394 * sunrpc/pm_getmaps.c: Likewise.
18395 * sunrpc/pm_getport.c: Likewise.
18396 * sunrpc/pmap_clnt.c: Likewise.
18397 * sunrpc/pmap_prot.c: Likewise.
18398 * sunrpc/pmap_prot2.c: Likewise.
18399 * sunrpc/pmap_rmt.c: Likewise.
18400 * sunrpc/rpc/auth.h: Likewise.
18401 * sunrpc/rpc/auth_unix.h: Likewise.
18402 * sunrpc/rpc/clnt.h: Likewise.
18403 * sunrpc/rpc/des_crypt.h: Likewise.
18404 * sunrpc/rpc/key_prot.h: Likewise.
18405 * sunrpc/rpc/netdb.h: Likewise.
18406 * sunrpc/rpc/pmap_clnt.h: Likewise.
18407 * sunrpc/rpc/pmap_prot.h: Likewise.
18408 * sunrpc/rpc/pmap_rmt.h: Likewise.
18409 * sunrpc/rpc/rpc.h: Likewise.
18410 * sunrpc/rpc/rpc_des.h: Likewise.
18411 * sunrpc/rpc/rpc_msg.h: Likewise.
18412 * sunrpc/rpc/svc.h: Likewise.
18413 * sunrpc/rpc/svc_auth.h: Likewise.
18414 * sunrpc/rpc/types.h: Likewise.
18415 * sunrpc/rpc/xdr.h: Likewise.
18416 * sunrpc/rpc_clntout.c: Likewise.
18417 * sunrpc/rpc_cmsg.c: Likewise.
18418 * sunrpc/rpc_common.c: Likewise.
18419 * sunrpc/rpc_cout.c: Likewise.
18420 * sunrpc/rpc_dtable.c: Likewise.
18421 * sunrpc/rpc_hout.c: Likewise.
18422 * sunrpc/rpc_main.c: Likewise.
18423 * sunrpc/rpc_parse.c: Likewise.
18424 * sunrpc/rpc_parse.h: Likewise.
18425 * sunrpc/rpc_prot.c: Likewise.
18426 * sunrpc/rpc_sample.c: Likewise.
18427 * sunrpc/rpc_scan.c: Likewise.
18428 * sunrpc/rpc_scan.h: Likewise.
18429 * sunrpc/rpc_svcout.c: Likewise.
18430 * sunrpc/rpc_tblout.c: Likewise.
18431 * sunrpc/rpc_util.c: Likewise.
18432 * sunrpc/rpc_util.h: Likewise.
18433 * sunrpc/rpcinfo.c: Likewise.
18434 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18435 * sunrpc/rpcsvc/key_prot.x: Likewise.
18436 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18437 * sunrpc/rpcsvc/mount.x: Likewise.
18438 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18439 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18440 * sunrpc/rpcsvc/rex.x: Likewise.
18441 * sunrpc/rpcsvc/rstat.x: Likewise.
18442 * sunrpc/rpcsvc/rusers.x: Likewise.
18443 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18444 * sunrpc/rpcsvc/spray.x: Likewise.
18445 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18446 * sunrpc/rtime.c: Likewise.
18447 * sunrpc/svc.c: Likewise.
18448 * sunrpc/svc_auth.c: Likewise.
18449 * sunrpc/svc_authux.c: Likewise.
18450 * sunrpc/svc_raw.c: Likewise.
18451 * sunrpc/svc_run.c: Likewise.
18452 * sunrpc/svc_simple.c: Likewise.
18453 * sunrpc/svc_tcp.c: Likewise.
18454 * sunrpc/svc_udp.c: Likewise.
18455 * sunrpc/svc_unix.c: Likewise.
18456 * sunrpc/svcauth_des.c: Likewise.
18457 * sunrpc/xcrypt.c: Likewise.
18458 * sunrpc/xdr.c: Likewise.
18459 * sunrpc/xdr_array.c: Likewise.
18460 * sunrpc/xdr_float.c: Likewise.
18461 * sunrpc/xdr_mem.c: Likewise.
18462 * sunrpc/xdr_rec.c: Likewise.
18463 * sunrpc/xdr_ref.c: Likewise.
18464 * sunrpc/xdr_sizeof.c: Likewise.
18465 * sunrpc/xdr_stdio.c: Likewise.
18467 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18470 2010-08-19 Andreas Schwab <schwab@redhat.com>
18472 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18474 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
18476 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18477 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18478 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18479 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18480 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18481 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18482 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18483 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18484 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18485 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18486 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18487 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18488 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18489 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18491 2010-07-26 Anton Blanchard <anton@samba.org>
18493 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18494 * malloc/arena.c (heap_trim): Likewise.
18496 2010-08-16 Ulrich Drepper <drepper@redhat.com>
18498 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18500 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18501 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18503 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18505 * sysdeps/i386/elf/Makefile: New file.
18507 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18509 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18510 from fanotify_init.
18511 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18512 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18514 2010-08-15 Ulrich Drepper <drepper@redhat.com>
18516 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18518 * sysdeps/multiarch/strcmp.S: Likewise.
18520 2010-08-14 Ulrich Drepper <drepper@redhat.com>
18522 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18523 strncase_l-nonascii.
18524 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18525 Add strncase_l-ssse3.
18526 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18527 * sysdeps/x86_64/strcmp.S: Likewise.
18528 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18529 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18530 * sysdeps/x86_64/strncase.S: New file.
18531 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18532 * sysdeps/x86_64/strncase_l.S: New file.
18533 * string/Makefile (strop-tests): Add strncasecmp.
18534 * string/test-strncasecmp.c: New file.
18536 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18539 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18540 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18542 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18544 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18546 2010-08-12 Ulrich Drepper <drepper@redhat.com>
18548 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18549 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18550 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18552 2010-05-01 Alan Modra <amodra@gmail.com>
18554 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18555 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18556 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18557 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18558 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18559 tidying. Don't tail-call __sigjmp_save for static lib.
18560 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18562 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18563 (CALL_MCOUNT): Add eh info, and nop after bl.
18564 (TAIL_CALL_SYSCALL_ERROR): New macro.
18565 (PSEUDO_RET): Use it.
18566 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18567 Correct save location of integer regs and cr.
18568 (_dl_profile_resolve): Correct cr save location. Delete nops
18569 after bl when SHARED. Reduce cfi size a little by better
18570 placement of cfi directives.
18571 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18572 make a stack frame. Instead use parm save area as a temp.
18573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18574 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18576 Don't make a stack frame for parent, use parm save area.
18577 Increase child stack frame to 112 bytes. Don't save unused reg,
18578 and adjust reg usage. Set up cfi on error recovery and
18579 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18581 (__makecontext): Add dummy nop after jump to exit.
18582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18583 Use correct parm save area and cr save, reduce stack frame.
18584 Correct cfi for possible PSEUDO_RET frame setup.
18585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18586 Branch to local label emitted by PSEUDO_RET rather than
18589 2010-08-12 Andreas Schwab <schwab@redhat.com>
18592 * locale/programs/locale.c (print_assignment): New function.
18593 (show_locale_vars): Use it.
18595 2010-08-11 Ulrich Drepper <drepper@redhat.com>
18597 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18599 (struct statfs64): Likewise.
18600 (_STATFS_F_FLAGS): Define.
18601 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18602 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18603 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18604 (ST_VALID): Define locally.
18605 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18606 __statvfs_getflags, use the provided value.
18607 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18608 __ASSUME_STATFS_F_FLAGS.
18610 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18612 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18613 Add sys/fanotify.h.
18614 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18615 fanotify_mask for GLIBC_2.13.
18616 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18617 fanotify_init and fanotify_mark.
18618 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18619 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18621 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18623 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18624 prlimit64 for GLIBC_2.13.
18625 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18627 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18630 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18631 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18632 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18633 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18635 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18638 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18639 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18641 * nss/Makefile: Add rules to build and run tst-nss-test1.
18642 * shlib-versions: Add entry for libnss_test1.
18643 * nss/nss_test1.c: New file.
18644 * nss/tst-nss-test1.c: New file.
18646 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18647 (__nss_configure_lookup): Set appropriate entry in
18648 __nss_configure_lookup to true.
18649 * nss/nsswitch.h: Define enum with indeces of databases in
18650 databases and __nss_database_custom arrays. Declare
18651 __nss_database_custom.
18652 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18653 to avoid using nscd when custom rules are installed.
18654 * nss/getXXbyYY_r.c: Likewise.
18655 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18657 * nss/nss_files/files-parse.c: Whitespace fixes.
18659 2010-08-09 Ulrich Drepper <drepper@redhat.com>
18662 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18663 * posix/fnmatch_loop.c: Likewise.
18665 2010-07-17 Andi Kleen <ak@linux.intel.com>
18667 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18668 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18669 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18670 * Versions.def [GLIBC_2.13]: Add.
18672 2010-08-06 Ulrich Drepper <drepper@redhat.com>
18674 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18675 Also fail if tpwd after pwuid call is NULL.
18677 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18679 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18680 when converting to ms.
18682 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18684 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18685 EOPNOTSUPP errors with ENOTTY.
18686 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18687 EOPNOTSUPP errors with ENOTTY.
18689 2010-07-31 Ulrich Drepper <drepper@redhat.com>
18691 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18692 Add strcasecmp_l-ssse3.
18693 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18695 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18696 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18697 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18699 2010-07-30 Ulrich Drepper <drepper@redhat.com>
18701 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18703 * string/Makefile (strop-tests): Add strcasecmp.
18704 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18705 strcasecmp_l-nonascii.
18706 (gen-as-const-headers): Add locale-defines.sym.
18707 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18708 * sysdeps/x86_64/strcasecmp.S: New file.
18709 * sysdeps/x86_64/strcasecmp_l.S: New file.
18710 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18711 * sysdeps/x86_64/locale-defines.sym: New file.
18712 * string/test-strcasecmp.c: New file.
18714 * string/test-strcasestr.c: Test both ends of the range of characters.
18715 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18717 2010-07-29 Roland McGrath <roland@redhat.com>
18720 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18722 2010-07-27 Ulrich Drepper <drepper@redhat.com>
18724 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18727 2010-07-27 Andreas Schwab <schwab@redhat.com>
18729 * manual/memory.texi (Malloc Tunable Parameters): Document
18732 2010-07-26 Roland McGrath <roland@redhat.com>
18735 * configure.in (-fgnu89-inline check): Set and substitute
18736 gnu89_inline, not libc_cv_gnu89_inline.
18737 * configure: Regenerated.
18738 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18740 2010-07-26 Ulrich Drepper <drepper@redhat.com>
18742 * string/test-strnlen.c: New file.
18743 * string/Makefile (strop-tests): Add strnlen.
18744 * string/tester.c (test_strnlen): Add a few more test cases.
18745 * string/tst-strlen.c: Better error reporting.
18747 * sysdeps/x86_64/strnlen.S: New file.
18749 2010-07-24 Ulrich Drepper <drepper@redhat.com>
18751 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18752 lower-latency instructions.
18754 2010-07-23 Ulrich Drepper <drepper@redhat.com>
18756 * string/test-strcasestr.c: New file.
18757 * string/test-strstr.c: New file.
18758 * string/Makefile (strop-tests): Add strstr and strcasestr.
18759 * string/str-two-way.h: Don't undefine MAX.
18760 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18762 2010-07-21 Andreas Schwab <schwab@redhat.com>
18764 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18765 strcasestr-nonascii.
18766 (CFLAGS-strcasestr-nonascii.c): Define.
18767 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18768 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18769 Remove unused attribute.
18771 2010-07-20 Roland McGrath <roland@redhat.com>
18773 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18774 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18775 ld.so.cache was broken. With it, there is no way to disable dsocaps
18776 like LD_HWCAP_MASK can disable hwcaps.
18778 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18780 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18782 2010-07-16 Ulrich Drepper <drepper@redhat.com>
18784 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18785 call in strcasestr.
18786 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18787 __strcasestr_sse42_nonascii.
18788 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18789 strcasestr-nonascii.c.
18790 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18792 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
18794 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18795 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18796 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18797 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18799 2010-07-09 Ulrich Drepper <drepper@redhat.com>
18801 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18804 2010-07-06 Andreas Schwab <schwab@redhat.com>
18807 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18810 2010-07-06 Ulrich Drepper <drepper@redhat.com>
18812 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18813 _PC_PIPE_BUF using F_GETPIPE_SZ.
18815 2010-07-05 Roland McGrath <roland@redhat.com>
18817 * manual/arith.texi (Rounding Functions): Fix rint description
18818 implicit in round description.
18820 2010-07-02 Ulrich Drepper <drepper@redhat.com>
18822 * elf/Makefile: Fix linking for a few tests to make recent linker
18825 2010-06-30 Andreas Schwab <schwab@redhat.com>
18827 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18828 $(common-objpfx)libc_nonshared.a.
18830 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
18832 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18833 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18834 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18835 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18836 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18837 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18838 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18839 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18854 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18855 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18856 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18857 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18858 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18859 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18860 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18861 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18862 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18863 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18864 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18865 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18881 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18883 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18884 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18885 * string/memmove.c (memmove): Renamed to ...
18886 (MEMMOVE): ...this. Default to memmove.
18887 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18888 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18891 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18892 mempcpy-ssse3-back memmove-ssse3-back.
18893 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18894 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18895 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18896 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18897 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18898 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18899 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18900 * sysdeps/x86_64/multiarch/memmove.c: New file.
18901 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18902 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18903 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18904 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18905 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18906 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18908 (index_Fast_Copy_Backward): Define.
18909 (HAS_ARCH_FEATURE): Define.
18910 (HAS_FAST_REP_STRING): Define.
18911 (HAS_FAST_COPY_BACKWARD): Define.
18913 2010-06-21 Andreas Schwab <schwab@redhat.com>
18915 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18916 Restore proper fallback handling.
18918 2010-06-19 Ulrich Drepper <drepper@redhat.com>
18921 * posix/group_member.c (__group_member): Correct checking loop.
18923 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18924 OOM in getpwuid_r correctly. Return error number when the caller
18925 should return, otherwise -1.
18926 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18927 call returning > 0 value.
18928 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18930 2010-06-07 Andreas Schwab <schwab@redhat.com>
18932 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18933 libc_nonshared.a from targets in modules-names.
18935 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18937 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18940 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
18942 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18943 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18944 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18945 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18947 2010-06-02 Andreas Schwab <schwab@redhat.com>
18949 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18951 2010-06-14 Ulrich Drepper <drepper@redhat.com>
18953 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18955 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18956 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18957 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18958 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18959 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18960 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18962 2010-06-14 Roland McGrath <roland@redhat.com>
18964 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18966 2010-06-07 Jakub Jelinek <jakub@redhat.com>
18968 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18969 __REDIRECT followed by __THROW.
18970 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18971 * posix/getopt.h (getopt): Likewise.
18973 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18975 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18976 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18977 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18979 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18980 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18982 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
18984 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18986 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18989 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18990 Properly check family and model.
18992 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18994 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18996 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
18998 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19000 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19002 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19005 2010-05-19 Andreas Schwab <schwab@redhat.com>
19007 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19010 2010-05-21 Andreas Schwab <schwab@redhat.com>
19012 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19013 and internal_recvmmsg.
19014 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19015 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19016 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19017 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19019 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19020 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19021 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19023 2010-05-20 Andreas Schwab <schwab@redhat.com>
19025 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19027 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
19029 POWER7 optimizations.
19030 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19031 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19033 2010-05-19 Ulrich Drepper <drepper@redhat.com>
19035 * version.h: Update for 2.13 development version.
19037 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
19039 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19040 exceptions. Return 0.
19042 2010-05-07 Roland McGrath <roland@redhat.com>
19044 * elf/ldconfig.c (main): Add a const.
19046 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19048 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19049 (args_options): Add no-idn option.
19050 (ahosts_keys_int): Add idn_flags to ai_flags.
19051 (parse_option): Handle 'i' option to clear idn_flags.
19053 * malloc/malloc.c (_int_free): Possible race in the most recently
19054 added check. Only act on the data if no current modification
19057 See ChangeLog.17 for earlier changes.