1 2012-06-27 Andreas Jaeger <aj@suse.de>
3 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5 2012-06-25 Andreas Jaeger <aj@suse.de>
7 * sysdeps/s390/fpu/libm-test-ulps: Update.
9 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10 Thomas Schwinge <thomas@codesourcery.com>
12 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19 * sysdeps/mach/start.c: Remove file.
20 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22 * sysdeps/sh/init-first.c: Likewise.
24 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25 registers for frame unwinding purposes, add CFI directives.
26 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32 __fortify_fail returning.
33 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36 sysdeps/sh/____longjmp_chk.S.
37 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40 (gen-as-const-headers): Append sigaltstack-offsets.sym.
42 * sysdeps/sh/abort-instr.h: New file.
43 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44 process in case exit returns.
46 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47 initialize the GOT register before use.
49 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
50 calculation of ARGC > 4.
52 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
53 meaningful names to some local labels.
55 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
59 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
60 (__arch_compare_and_exchange_val_16_acq): Likewise.
61 (__arch_compare_and_exchange_val_32_acq): Likewise.
62 (atomic_exchange_and_add): Fix gUSA sequence.
63 (atomic_add): Likewise.
64 (atomic_add_negative): Likewise.
65 (atomic_add_zero): Likewise.
66 (atomic_bit_test_set): Likewise.
68 2012-06-22 Andreas Schwab <schwab@redhat.com>
71 * include/link.h (struct link_map): Add l_free_initfini.
72 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
74 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
75 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
76 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
79 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
81 * configure.in: Use AC_LANG_SOURCE.
82 * configure: Regenerate.
84 2012-06-22 Roland McGrath <roland@hack.frob.com>
86 * configure.in (libc_cv_localstatedir): New substituted variable.
87 * configure: Regenerated.
88 * config.make.in (localstatedir): New variable, substituted from
89 libc_cv_localstatedir.
90 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
91 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
92 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
93 * sysdeps/gnu/configure: Regenerated.
95 2012-06-21 Jeff Law <law@redhat.com>
98 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
99 free. Simplify list management for _LIBC case.
101 2012-06-21 Joseph Myers <joseph@codesourcery.com>
104 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
105 Clear sign bit of 64-bit integer value before comparing against
108 * sysdeps/mach/configure: Regenerated.
110 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
113 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
115 2012-06-21 Jeff Law <law@redhat.com>
118 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
119 uint16_t for elements in the "seen" array to avoid char overflows.
120 * elf/dl-fini.c (_dl_sort_fini): Likewise.
121 * elf/dl-open.c (dl_open_worker): Likewise.
123 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
125 * scripts/list-sources.sh: Scan PORTS for translations.
126 * po/libc.pot: Regenerated.
128 2012-06-21 Andreas Jaeger <aj@suse.de>
131 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
133 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
134 * bits/byteswap-16.h (__bswap_16): Likewise.
135 * bits/byteswap.h (__bswap_constant_16): Likewise.
137 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
140 * sysdeps/i386/fpu_control.h: Removed.
141 * sysdeps/x86_64/fpu_control.h: Moved to ...
142 * sysdeps/x86/fpu_control.h: Here.
144 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
145 (_FPU_SETCW): Likewise.
147 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
150 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
151 * sysdeps/x86/fpu/bits/mathinline.h: This.
152 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
156 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
157 functions if __x86_64__ is defined.
159 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
161 * string/endian.h: Add !__ASSEMBLER__ condition for including
162 conversion interfaces.
164 2012-06-15 Joseph Myers <joseph@codesourcery.com>
167 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
168 of ABS(x) in calculating zero to negative powers other than odd
170 * math/libm-test.inc (pow_test): Add more tests.
172 2012-06-15 Andreas Jaeger <aj@suse.de>
174 * manual/contrib.texi (Contributors): Update entry of Liubov
175 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
178 2012-06-15 Cyril Hrubis <metan@ucw.cz>
180 * string/string.h: Add __wur to GNU version of strerror_r.
182 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
185 * string/Makefile (tests): Add tst-strtok_r.
186 * string/tst-strtok_r.c: New file.
187 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
188 RAX_LP/RDX_LP on SAVE_PTR.
190 2012-06-14 Roland McGrath <roland@hack.frob.com>
192 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
194 2012-06-14 Joseph Myers <joseph@codesourcery.com>
196 * libm_test.inc (csqrt_test): Allow more spurious underflow
203 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
205 * po/Makefile (libc.pot): Use UTF-8 charset.
207 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
210 Suppress sign-conversion warning from FD_SET.
211 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
212 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
213 not unsigned long int.
214 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
216 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
220 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
221 __extern_always_inline instead of __extern_inline.
222 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
223 (__signbit): Likewise.
224 (__signbitl): Support C++ namespace.
225 (lrintf): New inline function.
239 (nearbyint): Likewise.
240 (nearbyintf): Likewise.
242 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
244 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
245 non-default versions.
247 2012-06-11 Roland McGrath <roland@hack.frob.com>
250 * manual/argp.texi (Argp): Reword argp_parse description slightly.
252 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
254 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
255 (FE_UPWARD, FE_DOWNWARD): Don't define.
256 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
257 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
259 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
261 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
262 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
264 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
266 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
267 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
268 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
269 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
271 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
274 * sysdeps/i386/fpu/bits/fenv.h: Removed.
275 * sysdeps/i386/fpu/Implies: New file.
276 * sysdeps/x86_64/fpu/Implies: Likewise.
277 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
278 * sysdeps/x86/fpu/bits/fenv.h: This.
280 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
283 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
286 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
287 character 0xffff that matches the last element of the
290 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
292 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
295 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
297 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
298 values higher than 25.6283.
300 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
302 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
303 subnormal exponent extraction and add some __builtin_expect.
304 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
305 Fix for subnormal mantissa calculation.
307 2012-06-04 Mike Frysinger <vapier@gentoo.org>
309 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
310 cpu2 is -1 and errno is not ENOSYS.
312 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
315 * sysdeps/i386/i486/bits/string.h: Renamed to ...
316 * sysdeps/x86/bits/string.h: This.
317 * sysdeps/x86_64/bits/string.h: Removed.
319 * sysdeps/i386/i486/bits/string.h: Define inline functions only
320 if not compiling for x86-64, but compiling for >= i486.
322 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
323 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
325 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
326 New macro from Linux kernel 3.4.0.
327 (FP_XSTATE_MAGIC2): Likewise.
328 (FP_XSTATE_MAGIC2_SIZE): Likewise.
329 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
330 (struct _fpx_sw_bytes): New struct.
331 (struct _xsave_hdr): Likewise.
332 (struct _ymmh_state): Likewise.
333 (struct _xstate): Likewise.
335 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
336 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
337 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
338 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
339 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
340 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
342 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
343 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
344 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
345 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
346 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
347 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
349 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
352 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
353 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
354 (sysdep_headers): Include sys/platform/ppc.h.
355 * sysdeps/powerpc/test-gettimebase.c: Test for
356 __ppc_get_timebase() to catch future ISA opcode/insn changes.
357 * manual/Makefile (appendices): Include platform.texi.
358 * manual/contrib.texi (Contributors): Update @node pointers.
359 * manual/maint.texi (Maintenance): Likewise.
360 (Platform): New node.
361 * manual/platform.texi: New file. Document the new features.
363 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
364 Jakub Jelinek <jakub@redhat.com>
367 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
368 where __builtin_expect is unavailable.
370 2012-06-03 David S. Miller <davem@davemloft.net>
372 * stdlib/longlong.h: Updated from GCC.
374 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
377 * sysdeps/powerpc/powerpc32/mcount.c: New file.
378 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
381 (GLIBC_2.16): Likewise.
383 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
385 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
387 2012-06-01 Joseph Myers <joseph@codesourcery.com>
389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
390 (default-abi): New variable.
391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
392 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
394 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
396 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
398 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
401 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
402 definition. Document in comment.
404 2012-06-01 David S. Miller <davem@davemloft.net>
406 * stdlib/longlong.h: Updated from GCC.
408 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
411 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
412 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
413 sys/debugreg.h sys/io.h here.
414 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
415 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
417 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
418 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
419 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
420 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
421 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
422 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
424 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
425 Define only if __x86_64__ is defined.
427 2012-06-01 Joseph Myers <joseph@codesourcery.com>
430 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
431 Use int64_t for variable i.
432 * math/libm-test.inc (fmod_test): Add more tests.
434 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
435 z computation is not scheduled after fetestexcept.
436 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
437 Use math_force_eval instead of asm to ensure calculation scheduled
438 before exception test.
439 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
440 Ensure a1 + u.d computation is not scheduled after fetestexcept.
442 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
445 computation is not scheduled after fetestexcept.
447 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
450 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
451 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
453 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
455 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
456 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
458 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
461 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
463 (__WCHAR_MIN): Support __WORDSIZE == 64.
464 (__WCHAR_MAX): Likewise.
466 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
467 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
470 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
471 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
474 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
475 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
477 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
478 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
480 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
481 Defined to 1 if __x86_64__ isn't defined.
482 (_STAT_VER_LINUX_OLD): New.
483 (st_atime): Remove duplicate.
484 (st_mtime): Likewise.
485 (st_ctime): Likewise.
487 2012-05-31 David S. Miller <davem@davemloft.net>
489 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
492 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
494 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
498 * elf/dl-reloc.c: Include <_itoa.h>.
499 (_dl_reloc_bad_type): Remove use of INTUSE.
500 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
501 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
502 * stdio-common/psiginfo.c (psiginfo): Likewise.
503 * stdio-common/psignal.c (psignal): Likewise.
504 * string/strsignal.c (strsignal): Likewise.
505 * include/signal.h (_sys_siglist): Declare hidden proto.
506 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
507 INTVARDEF with libc_hidden_data_def.
508 * stdio-common/itoa-udigits.c: Likewise.
509 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
510 (_itoa_lower_digits_internal): Remove declaration.
511 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
512 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
513 (_sys_sigabbrev_internal): Remove aliases.
514 (_sys_siglist): Define hidden alias.
516 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
518 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
521 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
524 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
525 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
527 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
528 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
529 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
530 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
531 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
532 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
534 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
535 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
536 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
538 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
546 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
547 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
548 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
550 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
551 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
552 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
553 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
554 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
555 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
557 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
558 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
560 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
561 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
563 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
564 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
565 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
567 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
568 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
570 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
572 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
573 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
574 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
576 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
578 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
580 2012-05-31 Joseph Myers <joseph@codesourcery.com>
582 * math/math.h (M_El): Use two more decimal places.
583 (M_LOG2El): Likewise.
584 (M_LOG10El): Likewise.
592 (M_2_SQRTPIl): Likewise.
593 (M_SQRT2l): Likewise.
594 (M_SQRT1_2l): Likewise.
596 2012-05-31 David S. Miller <davem@davemloft.net>
598 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
599 values between float registers.
600 * sysdeps/sparc/sparc64/memset.S: Likewise.
601 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
603 2012-05-31 Mike Frysinger <vapier@gentoo.org>
605 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
607 (CPPFLAGS-tst-longjmp_chk.c): Define.
608 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
609 (CPPFLAGS-tst-longjmp_chk2.c): Define.
610 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
611 CFLAGS-tst-wchar-h.c.
613 2012-05-31 Marek Polacek <polacek@redhat.com>
616 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
617 __endmntent_internal): Remove declaration.
618 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
619 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
620 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
622 2012-05-30 David S. Miller <davem@davemloft.net>
624 * sysdeps/sparc/sparc32/soft-fp/q_util.c
625 (___Q_simulate_exceptions): Use real FP ops rather than writing
627 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
630 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
633 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
634 * sysdeps/x86/bits/xtitypes.h: This.
636 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
637 * sysdeps/x86/bits/wordsize.h: This.
639 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
640 * sysdeps/x86/bits/huge_vall.h: This.
642 * sysdeps/i386/bits/select.h: Removed.
643 * sysdeps/x86_64/bits/select.h: Renamed to ...
644 * sysdeps/x86/bits/select.h: This.
646 * sysdeps/i386/bits/setjmp.h: Removed.
647 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
648 * sysdeps/x86/bits/setjmp.h: This.
650 * sysdeps/i386/bits/mathdef.h: Removed.
651 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
652 * sysdeps/x86/bits/mathdef.h: This.
654 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
657 * include/sys/socket.h (__connect_internal)
658 (__libc_sa_len_internal): Remove declaration.
659 (__connect, __libc_sa_len): Declare hidden_proto.
660 (SA_LEN): Remove use of INTUSE.
661 * socket/connect.c: Add libc_hidden_def.
662 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
663 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
664 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
666 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
667 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
668 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
669 of adding _internal alias.
671 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
674 * sysdeps/i386/bits/link.h: Removed.
675 * sysdeps/i386/bits/linkmap.h: Likewise.
676 * sysdeps/x86_64/bits/link.h: Renamed to ...
677 * sysdeps/x86/bits/link.h: This.
678 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
679 * sysdeps/x86/bits/linkmap.h: This.
681 * sysdeps/i386/bits/endian.h: Removed.
682 * sysdeps/x86_64/bits/endian.h: Renamed to ...
683 * sysdeps/x86/bits/endian.h: This.
685 * sysdeps/i386/bits/byteswap.h: Removed.
686 * sysdeps/i386/bits/byteswap-16.h: Likewise.
687 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
688 * sysdeps/x86/bits/byteswap.h: This.
689 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
690 * sysdeps/x86/bits/byteswap-16.h: This.
691 * sysdeps/i386/Implies: Add x86.
692 * sysdeps/x86_64/Implies: Likewise.
694 2012-05-30 David S. Miller <davem@davemloft.net>
696 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
697 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
698 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
699 (FP_TRAPPING_EXCEPTIONS): Define.
700 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
701 (FP_TRAPPING_EXCEPTIONS): Define.
702 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
703 subnormals only when inexact has been signalled or underflow
704 exceptions are enabled.
705 (_FP_PACK_CANONICAL): Likewise.
707 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
710 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
711 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
713 2012-05-30 Richard Henderson <rth@twiddle.net>
715 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
716 with #ifndef NOT_IN_libc.
718 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
719 marked to avoid plt entry.
721 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
724 * Makeconfig (default-abi): New macro.
725 (abi-includes): Likewise.
726 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
727 $(abi-$(default-abi)-lib-soname) for soname if defined.
728 ($(common-objpfx)gnu/lib-names.stmp): Generate from
730 * Makefile (installed-stubs): Likewise.
731 * include/stubs-biarch.h: Removed.
732 * scripts/lib-names.awk: Only handle one library at a time.
733 * scripts/soversions.awk: Remove WORDSIZE support.
734 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
736 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
738 (syscall-list-default-condition): Likewise.
739 (syscall-list-default-condition): Likewise.
740 (syscall-list-includes): Likewise.
741 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
742 syscall-list-* with abi-*. Handle undefined abi-variants.
743 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
744 * sysdeps/unix/sysv/linux/i386/Implies: New file.
745 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
746 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
747 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
748 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
750 (syscall-list-32-options): Likewise.
751 (syscall-list-32-condition): Likewise.
752 (syscall-list-64-options): Likewise.
753 (syscall-list-64-condition): Likewise.
754 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
756 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
759 (abi-64-ld-soname): New macro.
760 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
761 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
764 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
765 * sysdeps/x86_64/x32/shlib-versions: Likewise.
767 2012-05-30 Joseph Myers <joseph@codesourcery.com>
769 * sysdeps/unix/sysv/linux/kernel-features.h
770 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
771 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
772 include <kernel-features.h>.
773 [!__NR_ftruncate64]: Remove conditional code.
774 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
775 [__NR_ftruncate64]: Make code unconditional.
776 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
777 * sysdeps/unix/sysv/linux/truncate64.c: Do not
778 include <kernel-features.h>.
779 [!__NR_ftruncate64]: Remove conditional code.
780 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
781 [__NR_ftruncate64]: Make code unconditional.
782 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
784 include <kernel-features.h>.
785 [!__NR_ftruncate64]: Remove conditional code.
786 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
787 [__NR_ftruncate64]: Make code unconditional.
788 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
790 include <kernel-features.h>.
791 [!__NR_ftruncate64]: Remove conditional code.
792 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
793 [__NR_ftruncate64]: Make code unconditional.
794 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
796 * configure.in (libc_cv_fpie): Weaken to a compile test using
798 * configure: Regenerated.
800 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
815 2012-05-27 David S. Miller <davem@davemloft.net>
817 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
819 (__Q_simulate_exceptions): Return void. Change to simulate
820 exceptions by writing into the %fsr.
821 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
822 (__Qp_handle_exceptions): Likewise.
824 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
825 __Qp_handle_exceptions.
826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
827 __Qp_handle_exceptions.
828 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
829 as unused and give dummy FP_RND_NEAREST initializer.
830 (FP_INHIBIT_RESULTS): Define.
831 (___Q_simulate_exceptions): Update declaration.
832 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
834 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
835 as unused and give dummy FP_RND_NEAREST initializer.
836 (__Qp_handle_exceptions): Update declaration.
837 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
840 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
842 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
843 the temporary FPU control word.
844 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
845 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
846 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
847 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
848 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
849 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
850 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
851 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
852 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
853 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
854 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
856 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
858 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
861 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
863 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
864 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
865 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
866 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
868 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
869 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
872 2012-05-27 Ulrich Drepper <drepper@gmail.com>
874 * po/h.po: Update from translation team.
876 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
878 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
880 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
881 handling of denormals.
882 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
883 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
884 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
885 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
886 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
887 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
891 2012-05-26 Marek Polacek <polacek@redhat.com>
894 * math/libm-test.inc (fma_test): Don't always expect underflow
897 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
900 * elf/tst-execstack.c: Include stackinfo.h.
901 (do_test): Adjust test case to ensure that pthread_getattr_np
902 behaviour remains the same after marking stack executable.
904 2012-05-25 Joseph Myers <joseph@codesourcery.com>
906 * sysdeps/unix/sysv/linux/kernel-features.h
907 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
908 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
910 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
911 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
912 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
914 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
915 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
917 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
919 * configure.in: Define the default includes to being none.
920 * configure: Regenerated.
922 2012-05-25 Roland McGrath <roland@hack.frob.com>
924 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
925 * sysdeps/x86_64/setjmp.S: Likewise.
926 * sysdeps/i386/bsd-setjmp.S: Likewise.
927 * sysdeps/i386/bsd-_setjmp.S: Likewise.
928 * sysdeps/i386/setjmp.S: Likewise.
929 * sysdeps/i386/__longjmp.S: Likewise.
930 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
931 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
933 * include/stap-probe.h: New file.
934 * configure.in: Handle --enable-systemtap.
935 * configure: Regenerated.
936 * config.h.in (USE_STAP_PROBE): New #undef.
937 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
938 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
939 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
941 2012-05-25 Joseph Myers <joseph@codesourcery.com>
944 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
945 to 2.4.0 where earlier.
946 * sysdeps/unix/sysv/linux/configure: Regenerated.
947 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
949 [__ASSUME_32BITUIDS]: Make code unconditional.
950 [!__ASSUME_32BITUIDS]: Remove conditional code.
951 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
953 [__ASSUME_32BITUIDS]: Make code unconditional.
954 [!__ASSUME_32BITUIDS]: Remove conditional code.
955 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
956 [__ASSUME_32BITUIDS]: Make code unconditional.
957 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
958 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
960 [__ASSUME_32BITUIDS]: Make code unconditional.
961 [!__ASSUME_32BITUIDS]: Remove conditional code.
962 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
964 [__ASSUME_32BITUIDS]: Make code unconditional.
965 [!__ASSUME_32BITUIDS]: Remove conditional code.
966 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
968 [__ASSUME_32BITUIDS]: Make code unconditional.
969 [!__ASSUME_32BITUIDS]: Remove conditional code.
970 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
972 [__ASSUME_32BITUIDS]: Make code unconditional.
973 [!__ASSUME_32BITUIDS]: Remove conditional code.
974 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
976 [__ASSUME_32BITUIDS]: Make code unconditional.
977 [!__ASSUME_32BITUIDS]: Remove conditional code.
978 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
980 [__ASSUME_32BITUIDS]: Make code unconditional.
981 [!__ASSUME_32BITUIDS]: Remove conditional code.
982 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
984 [__ASSUME_32BITUIDS]: Make code unconditional.
985 [!__ASSUME_32BITUIDS]: Remove conditional code.
986 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
988 [__ASSUME_32BITUIDS]: Make code unconditional.
989 [!__ASSUME_32BITUIDS]: Remove conditional code.
990 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
992 [__ASSUME_32BITUIDS]: Make code unconditional.
993 [!__ASSUME_32BITUIDS]: Remove conditional code.
994 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
996 [__ASSUME_32BITUIDS]: Make code unconditional.
997 [!__ASSUME_32BITUIDS]: Remove conditional code.
998 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1000 [__NR_setresgid] (__setresgid): Do not declare.
1001 [__ASSUME_32BITUIDS]: Make code unconditional.
1002 [!__ASSUME_32BITUIDS]: Remove conditional code.
1003 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1004 <kernel-features.h>.
1005 [__NR_setresuid] (__setresuid): Do not declare.
1006 [__ASSUME_32BITUIDS]: Make code unconditional.
1007 [!__ASSUME_32BITUIDS]: Remove conditional code.
1008 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1009 <kernel-features.h>.
1010 [__ASSUME_32BITUIDS]: Make code unconditional.
1011 [!__ASSUME_32BITUIDS]: Remove conditional code.
1012 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1013 <kernel-features.h>.
1014 [__ASSUME_32BITUIDS]: Make code unconditional.
1015 [!__ASSUME_32BITUIDS]: Remove conditional code.
1016 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1017 <kernel-features.h>.
1018 [__ASSUME_32BITUIDS]: Make code unconditional.
1019 [!__ASSUME_32BITUIDS]: Remove conditional code.
1020 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1021 <kernel-features.h>.
1022 [__ASSUME_32BITUIDS]: Make code unconditional.
1023 [!__ASSUME_32BITUIDS]: Remove conditional code.
1024 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1025 <kernel-features.h>.
1026 [__ASSUME_32BITUIDS]: Make code unconditional.
1027 [!__ASSUME_32BITUIDS]: Remove conditional code.
1028 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1029 <kernel-features.h>.
1030 [__ASSUME_32BITUIDS]: Make code unconditional.
1031 [!__ASSUME_32BITUIDS]: Remove conditional code.
1032 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1033 <kernel-features.h>.
1034 [__ASSUME_32BITUIDS]: Make code unconditional.
1035 [!__ASSUME_32BITUIDS]: Remove conditional code.
1036 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1037 <kernel-features.h>.
1038 [__ASSUME_32BITUIDS]: Make code unconditional.
1039 [!__ASSUME_32BITUIDS]: Remove conditional code.
1040 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1041 <kernel-features.h>.
1042 [__ASSUME_32BITUIDS]: Make code unconditional.
1043 [!__ASSUME_32BITUIDS]: Remove conditional code.
1044 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1045 <kernel-features.h>.
1046 [__ASSUME_32BITUIDS]: Make code unconditional.
1047 [!__ASSUME_32BITUIDS]: Remove conditional code.
1048 * sysdeps/unix/sysv/linux/kernel-features.h
1049 (__ASSUME_SETRESUID_SYSCALL): Remove.
1050 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1051 (__ASSUME_32BITUIDS): Likewise.
1052 (__ASSUME_LDT_WORKS): Likewise.
1053 (__ASSUME_O_DIRECTORY): Likewise.
1054 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1055 architecture but not kernel version.
1056 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1057 (__ASSUME_MMAP2_SYSCALL): Likewise.
1058 (__ASSUME_STAT64_SYSCALL): Likewise.
1059 (__ASSUME_IPC64): Likewise.
1060 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1061 <kernel-features.h>.
1062 [__ASSUME_32BITUIDS]: Make code unconditional.
1063 [!__ASSUME_32BITUIDS]: Remove conditional code.
1064 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1065 <kernel-features.h>.
1066 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1067 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1068 132096]: Remove conditional code.
1069 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1070 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1071 <kernel-features.h>.
1072 [__ASSUME_32BITUIDS]: Make code unconditional.
1073 [!__ASSUME_32BITUIDS]: Remove conditional code.
1074 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1075 <kernel-features.h>.
1076 [__ASSUME_32BITUIDS]: Make code unconditional.
1077 [!__ASSUME_32BITUIDS]: Remove conditional code.
1078 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1079 <kernel-features.h>.
1080 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1082 (__setresgid): Do not declare.
1083 [__ASSUME_32BITUIDS]: Make code unconditional.
1084 [!__ASSUME_32BITUIDS]: Remove conditional code.
1085 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1086 <kernel-features.h>.
1087 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1089 (__setresuid): Do not declare.
1090 [__ASSUME_32BITUIDS]: Make code unconditional.
1091 [!__ASSUME_32BITUIDS]: Remove conditional code.
1092 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1093 <kernel-features.h>.
1094 [__ASSUME_32BITUIDS]: Make code unconditional.
1095 [!__ASSUME_32BITUIDS]: Remove conditional code.
1096 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1097 <kernel-features.h>.
1098 [__ASSUME_32BITUIDS]: Make code unconditional.
1099 [!__ASSUME_32BITUIDS]: Remove conditional code.
1101 2012-05-25 Richard Henderson <rth@twiddle.net>
1103 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1104 dl_hwcap to ifunc resolver.
1105 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1107 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1108 dl_hwcap to ifunc resolver.
1109 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1111 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1114 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1115 for |x| <= 2**-26, not 2**-57.
1116 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1119 2012-05-24 Jeff Law <law@redhat.com>
1121 * stdio-common/Makefile (tests): Add bug25.
1122 * stdio-common/bug25.c: New test.
1124 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1127 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1128 multiple of MALLOC_ALIGNMENT in size.
1129 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1131 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1133 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1135 (FILENAME_MAX): Use macro-int-constant.
1136 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1137 (_IOFBF): Use macro-int-constant.
1140 (SEEK_CUR): Likewise.
1141 (SEEK_END): Likewise.
1142 (SEEK_SET): Likewise.
1143 (TMP_MAX): Likewise.
1144 (EOF): Use macro-int-constant. Require < 0.
1145 (NULL): Use macro-constant. Require == 0.
1146 (stdin): Require type to be FILE *.
1149 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1151 (EXIT_SUCCESS): Likewise.
1152 (NULL): Use macro-constant. Require == 0.
1153 (RAND_MAX): Use macro-int-constant.
1154 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1155 [C99-based standards] (strtof): Require function.
1156 [C99-based standards] (strtold): Likewise.
1157 [C99-based standards] (strtoll): Likewise.
1158 [C99-based standards] (strtoull): Likewise.
1159 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1160 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1161 [ISO || ISO99 || ISO11] (math.h): Likewise.
1162 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1163 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1164 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1166 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1169 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1170 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1171 * intl/dgettext.c (DCGETTEXT): Likewise.
1172 * intl/gettext.c (DCGETTEXT): Likewise.
1173 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1174 * posix/regex_internal.h (gettext): Likewise.
1175 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1177 * include/argz.h (__argz_count_internal)
1178 (__argz_stringify_internal): Remove declaration.
1179 (__argz_count, __argz_stringify): Declare hidden proto.
1180 * intl/dcgettext.c: Remove use of INTDEF.
1181 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1182 * string/argz-stringify.c: Likewise.
1183 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1184 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1185 Declare hidden proto.
1186 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1187 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1188 Declare hidden proto.
1189 * include/stdio.h (__asprintf_internal): Don't declare.
1190 (__asprintf): Don't define as macro. Declare hidden proto.
1191 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1192 (__fsetlocking): Declare hidden proto.
1193 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1194 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1196 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1197 (_IO_setlinebuf): Remove use of INTUSE.
1198 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1199 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1200 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1202 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1203 (_IO_do_flush): Remove use of INTUSE.
1204 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1205 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1206 (_IO_adjust_column, _IO_least_wmarker)
1207 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1208 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1209 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1210 (_IO_default_doallocate, _IO_wdefault_doallocate)
1211 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1212 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1213 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1214 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1215 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1216 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1217 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1218 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1219 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1220 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1221 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1222 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1223 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1225 (_IO_flush_all_internal, _IO_adjust_column_internal)
1226 (_IO_default_uflow_internal, _IO_default_finish_internal)
1227 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1228 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1229 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1230 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1231 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1232 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1233 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1234 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1235 (_IO_file_close_internal, _IO_file_close_it_internal)
1236 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1237 (_IO_file_init_internal, _IO_file_attach_internal)
1238 (_IO_file_fopen_internal, _IO_file_read_internal)
1239 (_IO_file_sync_internal, _IO_file_seek_internal)
1240 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1241 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1242 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1243 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1244 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1245 (_IO_list_all_internal, _IO_link_in_internal)
1246 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1247 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1248 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1249 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1250 (_IO_do_write_internal, _IO_padn_internal)
1251 (_IO_getline_info_internal, _IO_getline_internal)
1252 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1253 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1254 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1255 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1256 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1257 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1258 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1259 with libc_hidden_ver, remove use of INTUSE.
1260 * libio/genops.c: Likewise.
1261 * libio/freopen.c: Likewise.
1262 * libio/freopen64.c: Likewise.
1263 * libio/iofclose.c: Likewise.
1264 * libio/iofdopen.c: Likewise.
1265 * libio/iofflush.c: Likewise.
1266 * libio/iofflush_u.c: Likewise.
1267 * libio/iofgets.c: Likewise.
1268 * libio/iofgets_u.c: Likewise.
1269 * libio/iofopen.c: Likewise.
1270 * libio/iofopncook.c: Likewise.
1271 * libio/iofread.c: Likewise.
1272 * libio/iofread_u.c: Likewise.
1273 * libio/ioftell.c: Likewise.
1274 * libio/iofwrite.c: Likewise.
1275 * libio/iogetline.c: Likewise.
1276 * libio/iogets.c: Likewise.
1277 * libio/iogetwline.c: Likewise.
1278 * libio/iopadn.c: Likewise.
1279 * libio/iopopen.c: Likewise.
1280 * libio/ioseekoff.c: Likewise.
1281 * libio/ioseekpos.c: Likewise.
1282 * libio/iosetbuffer.c: Likewise.
1283 * libio/iosetvbuf.c: Likewise.
1284 * libio/ioungetc.c: Likewise.
1285 * libio/ioungetwc.c: Likewise.
1286 * libio/iovdprintf.c: Likewise.
1287 * libio/iovsprintf.c: Likewise.
1288 * libio/iovsscanf.c: Likewise.
1289 * libio/memstream.c: Likewise.
1290 * libio/obprintf.c: Likewise.
1291 * libio/oldfileops.c: Likewise.
1292 * libio/oldiofclose.c: Likewise.
1293 * libio/oldiofdopen.c: Likewise.
1294 * libio/oldiofopen.c: Likewise.
1295 * libio/oldiopopen.c: Likewise.
1296 * libio/oldstdfiles.c: Likewise.
1297 * libio/putc.c: Likewise.
1298 * libio/setbuf.c: Likewise.
1299 * libio/setlinebuf.c: Likewise.
1300 * libio/stdfiles.c: Likewise.
1301 * libio/strops.c: Likewise.
1302 * libio/vasprintf.c: Likewise.
1303 * libio/vscanf.c: Likewise.
1304 * libio/vsnprintf.c: Likewise.
1305 * libio/vswprintf.c: Likewise.
1306 * libio/wfiledoalloc.c: Likewise.
1307 * libio/wfileops.c: Likewise.
1308 * libio/wgenops.c: Likewise.
1309 * libio/wmemstream.c: Likewise.
1310 * libio/wstrops.c: Likewise.
1311 * libio/__fpurge.c: Likewise.
1312 * libio/__fsetlocking.c: Likewise.
1313 * assert/assert.c: Likewise.
1314 * debug/fgets_chk.c: Likewise.
1315 * debug/fgets_u_chk.c: Likewise.
1316 * debug/fread_chk.c: Likewise.
1317 * debug/fread_u_chk.c: Likewise.
1318 * debug/gets_chk.c: Likewise.
1319 * debug/obprintf_chk.c: Likewise.
1320 * debug/vasprintf_chk.c: Likewise.
1321 * debug/vdprintf_chk.c: Likewise.
1322 * debug/vsnprintf_chk.c: Likewise.
1323 * debug/vsprintf_chk.c: Likewise.
1324 * malloc/mtrace.c: Likewise.
1325 * misc/error.c: Likewise.
1326 * misc/syslog.c: Likewise.
1327 * stdio-common/asprintf.c: Likewise.
1328 * stdio-common/fxprintf.c: Likewise.
1329 * stdio-common/getw.c: Likewise.
1330 * stdio-common/isoc99_fscanf.c: Likewise.
1331 * stdio-common/isoc99_scanf.c: Likewise.
1332 * stdio-common/isoc99_vfscanf.c: Likewise.
1333 * stdio-common/isoc99_vscanf.c: Likewise.
1334 * stdio-common/isoc99_vsscanf.c: Likewise.
1335 * stdio-common/printf-prs.c: Likewise.
1336 * stdio-common/printf_fp.c: Likewise.
1337 * stdio-common/printf_fphex.c: Likewise.
1338 * stdio-common/printf_size.c: Likewise.
1339 * stdio-common/putw.c: Likewise.
1340 * stdio-common/scanf.c: Likewise.
1341 * stdio-common/sprintf.c: Likewise.
1342 * stdio-common/tmpfile.c: Likewise.
1343 * stdio-common/vfprintf.c: Likewise.
1344 * stdio-common/vfscanf.c: Likewise.
1345 * stdlib/strfmon_l.c: Likewise.
1346 * sunrpc/openchild.c: Likewise.
1347 * sunrpc/xdr_stdio.c: Likewise.
1348 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1349 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1351 2012-05-24 Roland McGrath <roland@hack.frob.com>
1353 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1355 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1356 in the third column, to generate for the shared library an IFUNC
1357 that uses _dl_vdso_vsym.
1358 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1359 * Makeconfig (object-suffixes-noshared): New variable.
1361 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1362 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1363 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1364 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1367 * include/sys/time.h (__gettimeofday): Remove macro.
1368 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1369 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1371 (__gettimeofday): Add libc_hidden_def.
1372 (gettimeofday): Add libc_hidden_weak.
1373 * sysdeps/mach/gettimeofday.c: Likewise.
1374 * sysdeps/posix/gettimeofday.c: Likewise.
1375 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1376 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1377 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1378 (__gettimeofday_internal): Remove strong_alias.
1379 (__gettimeofday): Add libc_hidden_def.
1380 (gettimeofday): Add libc_hidden_weak.
1381 * sysdeps/unix/syscalls.list (gettimeofday):
1382 Remove __gettimeofday_internal alias.
1384 2012-05-24 Daniel Jacobowitz <drow@false.org>
1385 H.J. Lu <hongjiu.lu@intel.com>
1388 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1389 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1390 (largebin_index_32_big): New.
1391 (largebin_index): Use it for 16-byte alignment.
1392 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1393 correction with front_misalign.
1395 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1423 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1424 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1426 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1430 * math/libm-test.inc (exp_test): Add test from bug 14036.
1431 (pow_test): Add test from bug 10846.
1433 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1435 (special_function): Do not include flags in test name.
1436 (parse_args): Likewise.
1437 * sysdeps/i386/fpu/libm-test-ulps: Update.
1438 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1439 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1440 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1443 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1445 * math/libm-test.inc ("Philosophy"): Update comment about
1447 (UNDERFLOW_EXCEPTION): New macro.
1448 (UNDERFLOW_EXCEPTION_OK): Likewise.
1449 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1450 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1451 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1452 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1453 (INVALID_EXCEPTION_OK): Update value.
1454 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1455 (OVERFLOW_EXCEPTION_OK): Likewise.
1456 (IGNORE_ZERO_INF_SIGN): Likewise.
1457 (test_exceptions): Handle underflow exceptions.
1458 (acos_test): Update for underflow exception expectations.
1459 (cexp_test): Likewise.
1460 (clog_test): Likewise.
1461 (clog10_test): Likewise.
1462 (csqrt_test): Likewise.
1463 (ctan_test): Likewise.
1464 (ctanh_test): Likewise.
1465 (exp_test): Likewise.
1466 (exp10_test): Likewise.
1467 (exp2_test): Likewise.
1468 (expm1_test): Likewise.
1469 (fma_test): Likewise.
1470 (j0_test): Likewise.
1471 (jn_test): Likewise.
1472 (nexttoward_test): Likewise.
1473 (pow_test): Likewise.
1474 (scalbn_test): Likewise.
1475 (scalbln_test): Likewise.
1476 (tan_test): Likewise.
1477 (y1_test): Likewise.
1478 * sysdeps/i386/fpu/libm-test-ulps: Update.
1479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1481 2012-05-23 David S. Miller <davem@davemloft.net>
1483 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1484 (__libc_sigaction): Remove unused local variables.
1486 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1488 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1490 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1492 mktime: avoid signed integer overflow
1493 * time/mktime.c (__mktime_internal): Do not mishandle the case
1494 where diff == INT_MIN.
1496 mktime: simplify computation of average
1497 * time/mktime.c (ranged_convert): Use new time_t_avg function
1498 instead of rolling our own (probably-slower) code.
1500 mktime: do not assume signed right shift propagates sign bit
1501 * time/mktime.c (isdst_differ): New static function.
1502 (__mktime_internal): No need to normalize tm_isdst now.
1503 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1506 mktime: merge another wrapv change from gnulib
1507 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1508 from some compilers.
1510 mktime: remove incorrect attempt at unusual arithmetics
1511 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1512 The code didn't really work on such machines anyway.
1513 (TYPE_MINIMUM): Assume two's complement.
1514 (twos_complement_arithmetic): Verify that long_int and time_t
1515 are two's complement (or unsigned, in the latter case).
1517 mktime: check signed shifts on long_int and time_t, too
1518 * time/mktime.c (SHR): Check that shifts work as desired
1519 on the types long_int and time_t too, as SHR is used on
1522 mktime: do not assume 'long' is wide enough
1523 * time/mktime.c (verify): Move decl up.
1524 (long_int): New type.
1525 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1526 to remove assumption in the code that 'long' is wide enough to
1527 store year values. This assumption is not true on x32 and on
1528 some non-glibc platforms.
1530 mktime: merge wrapv change from gnulib
1531 * time/mktime.c (WRAPV): New macro.
1532 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1533 (guess_time_tm, __mktime_internal): Do not assume that signed
1534 integer overflow wraps around; modern compilers generate code
1535 where this assumption is no longer valid.
1537 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1539 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1540 Replace "jmp L(pseudo_end)" with "ret".
1541 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1544 2012-05-23 Andreas Jaeger <aj@suse.de>
1546 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1547 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1549 2012-05-23 Andreas Jaeger <aj@suse.de>
1550 Maximilian Attems <max@stro.at>
1552 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1555 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1557 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1558 code so that pseudo_end is just ret and the stack pointer is
1559 correct also for static library in error case.
1561 2012-05-23 Joseph Myers <joseph@codesourcery.com>
1563 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1564 move to syscalls.list.
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1570 * manual/install.texi (Running make install): Do not mention Linux
1571 kernel version for which pt_chown is not needed.
1572 (Linux): Do not mention problems with nscd with 2.0 kernels.
1573 * INSTALL: Regenerated.
1575 2012-05-23 Andreas Jaeger <aj@suse.de>
1577 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1578 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1580 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1581 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1582 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1583 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1584 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1585 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1586 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1587 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1588 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1589 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1590 * sysdeps/unix/sysv/linux/bits/in.h
1591 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1593 2012-05-22 Roland McGrath <roland@hack.frob.com>
1595 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1596 (PREPARE_VERSION): Just use assert instead, it will be elided
1597 under [NDEBUG] anyway.
1599 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1601 * sysdeps/unix/sysv/linux/Makefile: Include
1602 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1603 (sysdep_routines): Remove sysctl.
1604 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1605 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1606 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1607 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1608 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1610 2012-05-22 Andreas Jaeger <aj@suse.de>
1612 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1613 that pseudo_end is just ret and the stack pointer is correct also
1614 for static library in error case.
1616 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1619 * nss/nsswitch.c (defconfig_entries): New variable.
1620 (__nss_database_lookup): Don't leak defconfig entries.
1621 (nss_parse_service_list): Don't leak on error paths.
1622 (free_database_entries): New function.
1623 (free_defconfig): New function.
1624 (free_mem): Move common code to free_database_entries.
1626 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1628 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1630 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1632 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1633 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1634 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1636 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1637 (INTERNAL_SYSCALL_TYPES): Likewise.
1638 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1639 (LOAD_REGS_TYPES_[1-6]): Likewise.
1640 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1641 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1643 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1645 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1646 copysignl for GLIBC_2_0.
1647 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1648 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1649 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1650 logbl for GLIBC_2_0.
1651 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1652 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1654 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1656 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1657 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1659 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1662 * time/mktime.c: Update copyright years.
1664 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1666 mktime: merge comment-quoting-style change from gnulib
1667 * time/mktime.c: Quote 'like this' in comments.
1668 The GNU coding standards suggest that we no longer quote `like this',
1669 as "`" and "'" are typically rendered asymmetrically nowadays.
1670 The typical gnulib style is to quote 'like this' when quoting
1671 code, and "like this" when quoting English.
1673 * time/mktime.c (compile-command): Add "-I.".
1675 mktime: merge mktime-internal.h change from gnulib
1676 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1678 mktime: merge time_r change from gnulib
1679 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1681 mktime: merge DEBUG change from gnulib
1682 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1683 case system <time.h> has a #define.
1685 mktime: merge <sys/types.h> change from gnulib
1686 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1687 since <time.t> is now guaranteed to define time_t.
1689 mktime: merge HAVE_CONFIG_H change from gnulib
1690 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1692 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1697 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1699 (struct rusage): Use anonymous union to pad each field to
1702 2012-05-21 David S. Miller <davem@davemloft.net>
1704 * Makefules (o-iterator): Remove .s cases.
1705 (compile-command.s): Delete.
1706 (COMPILE.s): Delete.
1707 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1709 2012-05-21 Joseph Myers <joseph@codesourcery.com>
1711 * configure.in (libc_cv_predef_stack_protector): Only consider
1712 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1713 * configure: Regenerated.
1715 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1717 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1718 New macro. Use R*LP on int and pointer.
1719 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1720 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1721 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1722 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1724 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1725 [__WORDSIZE_TIME64_COMPAT32] instead of
1726 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1727 (struct utmp): Likewise.
1728 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1729 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1731 (__WORDSIZE_TIME64_COMPAT32): This.
1732 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1733 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1734 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1735 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1736 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1737 (__WORDSIZE_TIME64_COMPAT32): New macro.
1739 2012-05-21 Andreas Jaeger <aj@suse.de>
1741 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1742 only if [SHARED]. Add prototype for __wcschr_ia32.
1744 2012-05-21 Roland McGrath <roland@hack.frob.com>
1746 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1747 of %rbp unmolested in the jmp_buf while mangling the low bits.
1748 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1749 unmolested high bits of %rbp while demangling the low bits.
1750 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1752 2012-05-21 Andreas Jaeger <aj@suse.de>
1754 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1755 * sunrpc/svc_simple.c: Use it for registerrpc.
1756 * sunrpc/xcrypt.c: Use it for passwd2des.
1758 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1760 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1762 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1763 Don't define if [__SYSCALL_WORDSIZE != 32].
1764 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1767 2012-05-21 Bruno Haible <bruno@clisp.org>
1768 Andreas Jaeger <aj@suse.de>
1770 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1771 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1772 inptr and inend for must_buffer_ch.
1773 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1774 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1775 * stdio-common/Makefile (tests): Remove bug15.
1776 (bug15-ENV): Remove macro.
1777 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1780 2012-05-19 Andreas Jaeger <aj@suse.de>
1781 Roland McGrath <roland@hack.frob.com>
1783 * manual/contrib.texi: Completely rewritten. It contains now an
1784 alphabetical list of contributors and their contributions.
1786 2012-05-21 Richard Henderson <rth@twiddle.net>
1788 * misc/getauxval.c (__getauxval): Use unsigned long int.
1789 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1790 (getauxval): Use unsigned long int.
1792 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1794 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1796 2012-05-21 Roland McGrath <roland@hack.frob.com>
1798 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1799 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1800 __alignof__ (long double).
1802 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1806 2012-05-20 Richard Henderson <rth@twiddle.net>
1808 * misc/getauxval.c: New file.
1809 * misc/sys/auxv.h: New file.
1810 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1811 (routines): Add getauxval.
1812 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1813 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1814 * elf/dl-sysdep.c (_dl_auxv): Remove.
1815 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1816 * elf/dl-support.c (_dl_auxv): New variable.
1817 (_dl_aux_init): Initialize it.
1818 * manual/startup.texi (Auxiliary Vector): New node.
1819 * sysdeps/generic/bits/hwcap.h: New file.
1820 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1821 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1822 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1823 * sysdeps/sparc/sysdep.h: ... here. Include it.
1824 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1825 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1831 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1837 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1841 2012-05-19 David S. Miller <davem@davemloft.net>
1843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1845 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1848 * math/s_ccosh.c: Include <float.h>
1849 (__ccosh): Avoid internal overflow calculating sinh and cosh
1850 values before multiplying by sin and cos values.
1851 * math/s_ccoshf.c: Likewise.
1852 * math/s_ccoshl.c: Likewise.
1853 * math/s_csin.c: Likewise.
1854 * math/s_csinf.c: Likewise.
1855 * math/s_csinl.c: Likewise.
1856 * math/s_csinh.c: Likewise.
1857 * math/s_csinhf.c: Likewise.
1858 * math/s_csinhl.c: Likewise.
1859 * math/libm-test.inc (ccos_test): Add more tests.
1860 (ccosh_test): Likewise.
1861 (csin_test): Likewise.
1862 (csinh_test): Likewise.
1863 * sysdeps/i386/fpu/libm-test-ulps: Update.
1864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1866 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1868 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1869 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1871 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1873 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1875 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1876 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1877 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1878 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1879 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1880 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1881 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1882 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1883 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1884 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1885 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1886 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1887 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1888 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1889 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1890 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1891 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1892 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1893 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1894 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1895 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1896 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1897 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1898 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1899 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1900 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1901 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1902 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1903 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1904 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1905 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1907 2012-05-18 Andreas Jaeger <aj@suse.de>
1909 * csu/.gitignore: Delete.
1911 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1913 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1914 (timex): Use __syscall_slong_t.
1916 2012-05-18 Andreas Jaeger <aj@suse.de>
1917 Carlos O'Donell <carlos_odonell@mentor.com>
1919 * manual/install.texi (Configuring and compiling): Update
1920 description about files modified in the source directory.
1921 * INSTALL: Regenerated.
1923 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1925 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1926 value. Use "or" to set return value to -1.
1927 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1928 negate return value.
1930 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1932 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1933 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1934 failure if the compiler has Graphite support disabled.
1935 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1937 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1938 CFLAGS-memmove.c): Likewise.
1939 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1942 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1944 * sysdeps/x86_64/x32/_itoa.h: New file.
1946 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1947 getdents system call only if kernel and user dirents have the
1948 same d_ino and d_off.
1950 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1951 LLONG_MAX != LONG_MAX.
1952 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1953 (_fitoa_word): Likewise.
1955 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1957 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1958 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1959 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1961 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1962 include <bits/wordsize.h>. Check __x86_64__ instead of
1964 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1965 if __x86_64__ is defined. Use anonymous union on fpstate.
1967 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1970 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1972 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1973 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1974 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1975 Refer to _rtld_local_ro instead of _rtld_global_ro.
1976 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1978 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1980 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1982 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1983 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1984 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1986 * sysdeps/powerpc/powerpc32/dl-machine.c
1987 (__elf_machine_runtime_setup) [PROF]: Don't reference
1990 2012-05-18 Andreas Jaeger <aj@suse.de>
1992 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1993 function only available for GCCs before 3.4 since GCC 3.4
1994 introduced a builtin.
1996 (llrintf): Likewise.
2004 (nearbyint): Likewise.
2005 (nearbyintf): Likewise.
2011 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2013 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2014 on both fields and cast pointer to __syscall_ulong_t.
2016 * bits/types.h (__fsword_t): New type.
2017 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2018 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2019 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2020 (__FSWORD_T_TYPE): Likewise.
2021 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2022 (__FSWORD_T_TYPE): Likewise.
2023 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2024 (__FSWORD_T_TYPE): Likewise.
2025 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2026 (__FSWORD_T_TYPE): Likewise.
2027 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2028 __SWORD_TYPE with __fsword_t.
2029 (statfs64): Likewise.
2031 2012-05-17 David S. Miller <davem@davemloft.net>
2033 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2035 2012-05-17 Andreas Jaeger <aj@suse.de>
2037 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2040 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2042 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2044 2012-05-17 Andreas Jaeger <aj@suse.de>
2046 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2049 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2051 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2053 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2055 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2056 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2058 2012-05-17 Andreas Jaeger <aj@suse.de>
2059 Carlos O'Donell <carlos_odonell@mentor.com>
2062 * sysdeps/x86_64/multiarch/init-arch.h
2063 (bit_YMM_Usable): Rename to...
2064 (bit_AVX_Usable): ... this.
2065 (bit_FMA4_Usable): New macro.
2066 (bit_XMM_state): New macro.
2067 (bit_YMM_state): New macro.
2068 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2069 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2070 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2071 (CPUID_OSXSAVE): New macro.
2072 (CPUID_AVX): New macro.
2073 (CPUID_FMA4): New macro.
2074 (index_YMM_Usable): Rename to...
2075 (index_AVX_Usable): ... this.
2076 (HAS_AVX): Use HAS_ARCH_FEATURE.
2077 (HAS_FMA4): Likewise.
2078 (HAS_YMM_USABLE): Remove.
2079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2080 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2082 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2083 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2084 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2085 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2086 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2088 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2090 * math/libm-test.c: Support platforms without multiple rounding modes.
2091 * math/bug-nextafter.c: Support platforms without FP exceptions.
2092 * math/bug-nexttoward.c: Likewise.
2093 * math/test-fenv.c: Likewise.
2094 * math/test-misc.c: Likewise.
2095 * stdlib/bug-getcontext.c: Likewise.
2097 2012-05-17 Andreas Jaeger <aj@suse.de>
2099 * manual/examples/search.c (critter_cmp): Change signature to
2101 * manual/string.texi (Collation Functions): Likewise.
2103 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2105 * bits/types.h: Fold copyright years.
2106 * bits/typesizes.h: Likewise.
2107 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2108 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2109 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2110 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2111 * time/time.h: Likewise.
2113 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2116 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2117 in instead of returning them. Return void.
2118 (__libc_mallinfo): Accumulate over all arenas.
2119 (__malloc_stats): Adjust for change in int_mallinfo interface.
2121 2012-05-16 Roland McGrath <roland@hack.frob.com>
2124 * configure.in (NM): Add AC_CHECK_TOOL for it.
2125 (libc_extra_cflags): New substituted variable.
2126 Check for -fstack-protector being used implicitly.
2127 * configure: Regenerated.
2128 * config.make.in (config-extra-cflags): New variable,
2129 gets @libc_extra_cflags@.
2130 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2133 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2134 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2135 * configure: Regenerated.
2136 * config.make.in (CPPUNDEFS): New substituted variable.
2137 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2138 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2139 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2141 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2143 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2144 (mq_attr): Use __syscall_slong_t.
2146 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2148 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2149 Check __x86_64__ instead of __WORDSIZE.
2150 (_STAT_VER_LINUX): Likewise.
2151 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2152 __syscall_ulong_t and __syscall_slong_t.
2155 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2157 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2159 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2161 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2163 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2165 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2168 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2169 include <bits/wordsize.h>. Check __x86_64__ instead of
2171 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2173 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2175 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2176 include <bits/wordsize.h>. Check __x86_64__ instead of
2178 (user_regs_struct): Use "__extension__ unsigned long long"
2179 instead of "unsigned long" if __x86_64__ is defined.
2180 (user): Likewise. Pad after pointer field if __ILP32__ is
2183 2012-05-16 Joseph Myers <joseph@codesourcery.com>
2185 * configure.in (makeinfo): Require version 4.5 or later. Allow
2187 * configure: Regenerated.
2188 * manual/install.texi (texinfo): Increase version requirement to
2190 * INSTALL: Regenerated.
2192 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2194 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2196 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2198 * sysdeps/x86_64/x32/ffs.c: New file.
2200 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2202 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2203 defined. Use __syscall_ulong_t.
2204 (shminfo): Use __syscall_ulong_t.
2205 (shm_info): Likewise.
2207 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2210 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2212 (msgqnum_t): Use __syscall_ulong_t.
2213 (msglen_t): Likewise.
2214 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2217 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2218 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2220 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2222 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2223 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2225 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2228 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2229 include <bits/wordsize.h>. Check __x86_64__ instead of
2232 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2233 "unsigned long long int" if __x86_64__ is defined.
2234 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2236 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2237 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2238 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2240 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2242 (GET_PC): Cast to uintptr_t first.
2243 (GET_FRAME): Likewise.
2244 (GET_STACK): Likewise.
2246 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2247 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2248 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2249 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2250 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2251 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2252 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2253 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2254 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2255 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2256 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2257 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2258 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2259 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2260 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2261 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2262 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2263 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2264 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2265 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2266 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2267 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2268 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2269 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2270 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2271 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2272 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2273 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2274 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2276 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2278 * Makerules (+depfiles): Also collect depfiles from .oS in
2280 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2281 .oS, $(libnldbl-routines)).
2283 * Makerules (native-compile-mkdep-flags): Define.
2284 * sunrpc/Makefile (extra-objs): Add $(addprefix
2285 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2286 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2287 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2288 calling $(make-target-directory).
2290 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2292 * bits/types.h (__snseconds_t): Removed.
2293 * time/time.h (struct timespec): Replace __snseconds_t with
2295 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2296 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2298 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2299 (__SNSECONDS_T_TYPE): Likewise.
2300 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2301 (__SNSECONDS_T_TYPE): Likewise.
2302 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2303 (__SNSECONDS_T_TYPE): Likewise.
2305 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2307 * sysdeps/mach/hurd/bits/typesizes.h
2308 (__SYSCALL_SLONG_TYPE): New macro.
2309 (__SYSCALL_ULONG_TYPE): Likewise.
2311 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2313 * bits/types.h (__syscall_slong_t): New type.
2314 (__syscall_ulong_t): Likewise.
2316 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2317 (__SYSCALL_ULONG_TYPE): Likewise.
2318 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2319 (__SYSCALL_SLONG_TYPE): Likewise.
2320 (__SYSCALL_ULONG_TYPE): Likewise.
2321 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2322 (__SYSCALL_SLONG_TYPE): Likewise.
2323 (__SYSCALL_ULONG_TYPE): Likewise.
2324 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2325 (__SYSCALL_SLONG_TYPE): Likewise.
2326 (__SYSCALL_ULONG_TYPE): Likewise.
2328 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2330 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2331 Add sigaltstack-offsets.sym.
2332 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2333 <sigaltstack-offsets.h>.
2334 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2335 longjmp_msg pointer.
2336 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2337 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2339 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2341 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2343 * elf/stackguard-macros.h: Remove file.
2344 * sysdeps/generic/stackguard-macros.h: New file.
2345 * sysdeps/i386/stackguard-macros.h: Likewise.
2346 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2347 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2348 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2349 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2350 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2351 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2352 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2353 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2354 <elf/stackguard-macros.h>.
2357 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2358 __aligned__ in attribute.
2359 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2360 (gregset_t): Likewise.
2362 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2364 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2365 * sysdeps/x86_64/64/Implies-after: Here. New file.
2366 * sysdeps/x86_64/x32/Implies-after: New file.
2368 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2370 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2371 and access return value for _dl_profile_fixup. Use R10_LP to
2374 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2376 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2378 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2380 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2381 * sysdeps/x86_64/x32/sysdep.h: New file.
2383 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2385 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2386 * sysdeps/x86_64/setjmp.S: Likewise.
2388 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2390 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2391 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2392 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2393 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2394 remove unused global constant.
2396 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2398 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2399 include of <not-cancel.h>.
2401 2012-05-15 Roland McGrath <roland@hack.frob.com>
2403 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2405 2012-05-15 Jeff Law <law@redhat.com>
2406 Andreas Jaeger <aj@suse.de>
2409 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2411 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2412 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2413 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2414 code changing __hst_map_handle.map.
2416 2012-05-15 Roland McGrath <roland@hack.frob.com>
2418 * configure.in (sysnames): Look for Implies-before and Implies-after
2420 * configure: Regenerated.
2422 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2424 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2425 8-byte data alignment with LP_SIZE alignment.
2427 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2429 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2432 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2434 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2436 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2438 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2439 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2440 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2442 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2444 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2446 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2447 (stackinfo_sub_sp): Likewise.
2449 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2451 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2454 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2456 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2459 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2461 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2464 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2466 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2468 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2470 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2471 into R11_LP and load __x86_64_shared_cache_size_half into
2474 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2476 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2479 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2481 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2483 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2485 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2487 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2488 powerpc32/power7/fpu/s_logb.c via #include.
2489 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2490 powerpc32/power7/fpu/s_logbf.c via #include.
2491 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2492 powerpc32/power7/fpu/s_logbl.c via #include.
2494 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2496 * README.libm: Remove file.
2498 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2500 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2501 count for x32. Use R*_LP and omit operand-size suffix.
2503 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2505 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2506 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2507 * sysdeps/x86_64/x32/shlib-versions: New file.
2509 2012-05-14 Roland McGrath <roland@hack.frob.com>
2511 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2512 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2513 Use _dl_fatal_printf instead.
2515 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2517 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2518 set if not set by the user. Do not allow for being unset.
2519 * sysdeps/unix/sysv/linux/configure: Regenerated.
2521 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2523 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2524 the `q' suffix from lea and replace .quad with ASM_ADDR.
2526 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2528 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2529 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2531 (PTR_DEMANGLE): Likewise.
2533 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2535 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2537 (ASM_ADDR): Likewise.
2555 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2557 * sysdeps/x86_64/x32/dl-machine.h: New file.
2559 2012-05-14 Andreas Jaeger <aj@suse.de>
2561 * manual/Makefile (subdir): Remove export of subdir.
2562 (all): Remove target.
2563 (.PHONY): Remove all from list.
2564 (mkinstalldirs): Remove.
2565 (.PHONY): Remove installdirs from list.
2566 ($(inst_infodir)/libc.info): Use make-target-directory.
2567 (installdirs): Remove.
2569 (glibc-targets): Remove.
2572 ($(objpfx)stubs ../po/manual.pot): Remove.
2573 ($(objpfx)stamp%): Remove.
2574 (make-target-directory): Remove.
2575 (subdir_install): Remove.
2583 * manual/.gitignore: Remove, it's not needed anymore.
2584 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2586 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2588 (texis): Renamed to $(objpfx)texis.
2589 (texis-path): New, contains path to generated files.
2590 (chapters.%): Use texis-path for complete path, add extra argument
2592 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2593 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2594 (summary,texi, stamp-summary): Use complete path of
2595 files. Generate files in build dir.
2596 (dir-add.texi): Build in build dir.
2597 (libm-err.texi,stamp-libm-err): Likewise.
2598 (version.texi, stamp-version): Likewise.
2599 (.%c.texi): Likewise.
2600 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2601 (mostlyclean): Remove target.
2602 (realclean): Remove target.
2603 (generated): Add new variable with contents from mostlyclean and
2604 realclean, remove entries duplicated in common-mostlyclean, add
2605 stamp-libm-err and stamp-version.
2606 (generated-dirs): Add libc directory.
2607 ($(inst_infodir)/libc.info): Install files from build dir.
2609 * manual/install.texi (Configuring and compiling): Adjust since
2610 the info files are not part of the tar ball anymore.
2612 2012-05-14 Andreas Jaeger <aj@suse.de>
2614 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2617 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2620 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2621 to 2.2.0 where earlier.
2622 * sysdeps/unix/sysv/linux/configure: Regenerated.
2623 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2624 Remove conditional code.
2625 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2626 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2627 Remove conditional code.
2628 [!__NR_lchown]: Likewise.
2629 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2630 [__NR_lchown]: Likewise.
2631 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2632 comment referencing __ASSUME_LCHOWN_SYSCALL.
2633 * sysdeps/unix/sysv/linux/i386/sigaction.c
2634 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2635 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2636 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2637 Remove conditional code.
2638 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2639 (__protocol_available): Remove #if 0 code.
2640 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2642 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2643 * sysdeps/unix/sysv/linux/kernel-features.h
2644 (__ASSUME_GETCWD_SYSCALL): Don't define.
2645 (__ASSUME_REALTIME_SIGNALS): Likewise.
2646 (__ASSUME_PREAD_SYSCALL): Likewise.
2647 (__ASSUME_PWRITE_SYSCALL): Likewise.
2648 (__ASSUME_POLL_SYSCALL): Likewise.
2649 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2650 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2652 (__ASSUME_SIOCGIFNAME): Don't define.
2653 (__ASSUME_MSG_NOSIGNAL): Likewise.
2654 (__ASSUME_SENDFILE): Define unconditionally.
2655 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2656 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2658 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2659 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2660 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2661 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2662 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2663 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2664 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2666 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2667 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2669 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2670 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2672 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2673 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2675 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2676 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2678 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2679 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2681 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2682 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2684 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2685 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2687 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2688 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2689 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2690 Remove conditional code.
2691 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2692 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2693 Remove conditional code.
2694 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2695 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2696 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2697 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2698 Remove conditional code.
2699 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2700 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2701 Remove conditional code.
2702 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2703 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2704 Remove conditional code.
2705 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2706 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2707 Remove conditional code.
2708 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2709 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2710 Remove conditional code.
2711 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2712 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2713 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2714 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2715 * sysdeps/unix/sysv/linux/sigaction.c
2716 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2717 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2718 * sysdeps/unix/sysv/linux/sigpending.c
2719 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2720 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2721 * sysdeps/unix/sysv/linux/sigprocmask.c
2722 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2723 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2724 * sysdeps/unix/sysv/linux/sigsuspend.c
2725 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2726 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2727 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2728 (__libc_missing_rt_sigs): Remove.
2729 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2730 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2731 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2732 Remove conditional code.
2733 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2734 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2736 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2737 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2738 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2739 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2741 2012-05-14 Andreas Jaeger <aj@suse.de>
2743 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2744 it's not used in glibc.
2745 (__coshm1): Likewise.
2746 (__acosh1p): Likewise.
2749 * manual/string.texi (Copying and Concatenation): Add missing
2750 variable in concat example.
2751 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2753 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2756 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2757 __builtin_clzl with __builtin_clzll.
2759 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2762 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2765 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2767 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2768 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2769 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2770 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2772 2012-05-14 Mike Frysinger <vapier@gentoo.org>
2774 * NEWS: Update ia64 info.
2776 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2778 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2781 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2783 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2784 * sysdeps/unix/syscalls.list (dup3): Likewise.
2785 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2786 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2788 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2790 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2791 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2793 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2795 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2797 (TLS_IE): Use mov/add instead of movq/addq to load thread
2799 (TLS_GD_PREFIX): New.
2802 2012-05-11 David S. Miller <davem@davemloft.net>
2804 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2805 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2806 (_FPU_SETCW): Likewise.
2808 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2810 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2813 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2816 * iconvdata/gb18030.c: Update tables.
2817 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2818 characters specially.
2819 (BODY for TO_LOOP): Add encoding of missing ranges.
2821 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2824 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2825 * sysdeps/mach/hurd/dup3.c: Likewise.
2826 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2827 * sysdeps/powerpc/memmove.c:: Likewise.
2829 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2831 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2832 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2834 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2836 * elf/elf.h (R_X86_64_RELATIVE64): New.
2837 (R_X86_64_NUM): Updated.
2838 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2839 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2840 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2841 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2842 tst-quad1pie tst-quad2pie
2843 (modules-names): Add tst-quadmod1 tst-quadmod2.
2844 ($(objpfx)tst-quad1): New dependency.
2845 ($(objpfx)tst-quad2): Likewise.
2846 ($(objpfx)tst-quad1pie): Likewise.
2847 ($(objpfx)tst-quad2pie): Likewise.
2848 * sysdeps/x86_64/tst-quad1.c: New file.
2849 * sysdeps/x86_64/tst-quad1pie.c: New file.
2850 * sysdeps/x86_64/tst-quad2.c: Likewise.
2851 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2852 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2853 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2854 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2855 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2857 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2859 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2860 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2861 * streams/stropts.h (t_scalar_t): Define type.
2863 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2864 (_PATH_PRESERVE): Set to "/var/lib".
2865 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2867 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2870 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2871 if __dir_mkfile succeeded.
2873 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2874 checking for _hurd_dtablesize. Unlock it right after having
2875 finished _hurd_dtable allocation.
2877 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2879 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2880 * sysdeps/mach/hurd/configure: Regenerated.
2881 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2882 special-casing to...
2883 * sysdeps/gnu/configure.in: ... this new file.
2884 * sysdeps/unix/sysv/linux/configure: Regenerated.
2885 * sysdeps/gnu/configure: New generated file.
2887 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2888 for Linux: use nsec instead of usec, as well as:
2889 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2890 members of type struct timespec.
2891 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2893 (struct stat64): Likewise.
2894 (_STATBUF_ST_NSEC): New macro.
2895 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2897 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2898 __strtoul_internal rather than strtoul.
2900 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2902 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2905 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2907 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2908 which preserves existing values.
2909 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2911 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2913 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2914 TIMEOUT values. Return EINVAL for NFDS values either negative or
2915 greater than FD_SETSIZE.
2917 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2919 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2920 allocated, call __vm_protect to finish enabling the existing space, and
2921 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2922 allocate the remainder.
2924 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2926 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2927 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2929 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2931 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2932 sysdeps/mach/hurd/readlink.c.
2934 * posix/tst-sysconf.c (posix_options): Only use
2935 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2936 _POSIX_SYNCHRONIZED_IO when they are defined
2937 * sysdeps/mach/hurd/bits/posix_opt.h:
2938 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2939 (_XOPEN_REALTIME): Undefine macro.
2940 (_XOPEN_REALTIME_THREADS): Undefine macro.
2941 (_XOPEN_SHM): Undefine macro.
2942 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2944 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2946 (_POSIX_ASYNC_IO): Undefine macro.
2947 (_POSIX_PRIORITIZED_IO): Undefine macro.
2948 (_POSIX_SPIN_LOCKS): Define macro to -1.
2950 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2951 SA_NODEFER, SA_RESETHAND.
2952 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2953 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2956 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2958 * elf/Makefile (pldd-modules): Define unconditionally.
2960 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2962 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2964 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2966 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2967 Return ENOENT when name is empty.
2968 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2970 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2972 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2974 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2976 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2978 Fix mlock in all cases except non-readable pages.
2979 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2980 instead of VM_PROT_ALL as parameter to __vm_wire function.
2982 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2983 (__mkdir): When path is `/', just fail with EEXIST.
2984 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2986 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2988 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2989 <sys/uio.h> (for writev).
2990 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2991 and <sys/param.h> (for MIN).
2993 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2995 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2996 REQUESTED_TIME. Properly set the remaining time and return EINTR
2999 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3001 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3002 Depend on against $(link-rpcuserlibs).
3004 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3006 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3007 (__libc_stack_end): Do not use attribute_relro.
3008 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3009 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
3010 to libthread-provided value.
3011 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3014 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3017 * bits/libc-lock.h (__libc_once_get): New macro.
3018 * sysdeps/mach/bits/libc-lock.h: Likewise.
3019 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3020 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3021 instead of using implementation details.
3023 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3024 * libio/freopen.c: Likewise.
3025 * libio/freopen64.c: Likewise.
3026 * misc/syslog.c: Likewise.
3027 * nscd/connections.c: Likewise.
3028 * nscd/netgroupcache.c: Likewise.
3029 * sysdeps/posix/getcwd.c: Likewise.
3031 2012-05-10 Roland McGrath <roland@hack.frob.com>
3033 * math/w_ilogbf.c: Add #include <limits.h>.
3035 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3037 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
3038 path instead of returning without unlocking.
3040 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3041 immediate-write ioctls.
3042 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3044 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3046 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3047 __builtin_frame_address instead of making assumptions about the
3048 location of the return address relative to DATA. Force early load of
3050 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3051 __builtin_frame_address.
3054 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3055 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3056 implement dup3 and do some further code clean-ups.
3057 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3058 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3060 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3062 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3064 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3065 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3066 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3067 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3068 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3071 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3072 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3073 when handler == SIG_ERR, not when handler != SIG_ERR.
3075 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3077 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3078 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3081 accept4 for GNU Hurd.
3082 * include/sys/socket.h (__libc_accept4): New prototype.
3083 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3084 to implement __libc_accept4.
3085 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3087 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3089 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3090 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3091 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3094 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3096 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
3098 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3100 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3101 assertion on O_CLOEXEC flag.
3102 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3103 * hurd/intern-fd.c: Likewise.
3104 * hurd/port2fd.c: Likewise.
3106 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3109 * bits/in.h (IPV6_PKTINFO): Define new macro.
3110 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3112 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3117 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3118 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3119 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3120 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3121 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3122 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3123 * math/libm-test.inc (logb_test) : Additional logb tests.
3125 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3126 Andreas Jaeger <aj@suse.de>
3128 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3129 * configure: Regenerated.
3130 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3131 * config.make.in (link-obsolete-rpc): New substituted variable.
3132 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3133 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3134 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3135 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3136 so that libc.a contains the symbols.
3137 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3138 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3139 * sunrpc/auth_none.c: Likewise.
3140 * sunrpc/auth_unix.c: Likewise.
3141 * sunrpc/authdes_prot.c: Likewise.
3142 * sunrpc/authuxprot.c: Likewise.
3143 * sunrpc/clnt_gen.c: Likewise.
3144 * sunrpc/clnt_perr.c: Likewise.
3145 * sunrpc/clnt_raw.c: Likewise.
3146 * sunrpc/clnt_simp.c: Likewise.
3147 * sunrpc/clnt_tcp.c: Likewise.
3148 * sunrpc/clnt_udp.c: Likewise.
3149 * sunrpc/clnt_unix.c: Likewise.
3150 * sunrpc/des_crypt.c: Likewise.
3151 * sunrpc/des_soft.c: Likewise.
3152 * sunrpc/get_myaddr.c: Likewise.
3153 * sunrpc/key_call.c: Likewise.
3154 * sunrpc/key_prot.c: Likewise.
3155 * sunrpc/netname.c: Likewise.
3156 * sunrpc/pm_getmaps.c: Likewise.
3157 * sunrpc/pm_getport.c: Likewise.
3158 * sunrpc/pmap_clnt.c: Likewise.
3159 * sunrpc/pmap_prot.c: Likewise.
3160 * sunrpc/pmap_prot2.c: Likewise.
3161 * sunrpc/pmap_rmt.c: Likewise.
3162 * sunrpc/publickey.c: Likewise.
3163 * sunrpc/rpc_cmsg.c: Likewise.
3164 * sunrpc/rpc_common.c: Likewise.
3165 * sunrpc/rpc_dtable.c: Likewise.
3166 * sunrpc/rpc_prot.c: Likewise.
3167 * sunrpc/rpc_thread.c: Likewise.
3168 * sunrpc/rtime.c: Likewise.
3169 * sunrpc/svc.c: Likewise.
3170 * sunrpc/svc_auth.c: Likewise.
3171 * sunrpc/svc_raw.c: Likewise.
3172 * sunrpc/svc_run.c: Likewise.
3173 * sunrpc/svc_tcp.c: Likewise.
3174 * sunrpc/svc_udp.c: Likewise.
3175 * sunrpc/svc_unix.c: Likewise.
3176 * sunrpc/svcauth_des.c: Likewise.
3177 * sunrpc/xcrypt.c: Likewise.
3178 * sunrpc/xdr.c: Likewise.
3179 * sunrpc/xdr_array.c: Likewise.
3180 * sunrpc/xdr_float.c: Likewise.
3181 * sunrpc/xdr_intXX_t.c: Likewise.
3182 * sunrpc/xdr_mem.c: Likewise.
3183 * sunrpc/xdr_rec.c: Likewise.
3184 * sunrpc/xdr_ref.c: Likewise.
3185 * sunrpc/xdr_sizeof.c: Likewise.
3186 * sunrpc/xdr_stdio.c: Likewise.
3188 2012-05-10 Roland McGrath <roland@hack.frob.com>
3190 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3191 change. Update copyright years.
3193 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3195 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3197 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3198 Joseph Myers <joseph@codesourcery.com>
3199 Paul Pluzhnikov <ppluzhnikov@google.com>
3202 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3204 [cross-compiling] (extra-libs): Likewise.
3205 [cross-compiling] (extra-libs-others): Likewise.
3206 [cross-compiling] (librpcsvc-routines): Likewise.
3207 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3208 [cross-compiling] (omit-deps): Likewise.
3209 (sunrpc-CPPFLAGS): New variable.
3210 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3211 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3212 (cross-rpcgen-objs): New variable.
3213 (extra-objs): Append $(cross-rpcgen-objs).
3214 ($(cross-rpcgen-objs)): New rule.
3215 ($(objpfx)cross-rpcgen): Likewise.
3216 (rpcgen-cmd): Define to use $(built-program-file). Expand
3218 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3219 ($(objpfx)x%.stmp): Likewise.
3220 * sunrpc/proto.h [IS_IN_build] (_): Define.
3221 [IS_IN_build] (_libc_intl_domainname): Likewise.
3223 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3225 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3226 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3227 and R_X86_64_TPOFF64.
3229 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3231 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3232 sysdeps/unix/sysv/syscalls.list.
3235 * sysdeps/unix/sysv/syscalls.list: Remove file.
3237 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3240 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3241 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3242 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3243 (__LC_IDENTIFICATION): Make these macros useful in #if
3244 expressions, as required by C99.
3246 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3248 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3249 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3252 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3254 * stdlib/longlong.h: Updated from GCC.
3256 2012-05-09 Andreas Jaeger <aj@suse.de>
3258 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3259 default is first entry.
3260 (run_mode): Set type.
3261 (main): Remove informal message about syslog.
3262 (options): Fix typo.
3265 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
3268 (llrintf): Likewise.
3272 (nearbyint): Likewise.
3273 (nearbyintf): Likewise.
3275 2012-05-09 Andreas Jaeger <aj@suse.de>
3276 Pedro Alves <palves@redhat.com>
3278 * nscd/nscd.c (run_mode): Use enum.
3279 (main): Cleanup coding style issue.
3281 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
3282 Andreas Jaeger <aj@suse.de>
3284 * nscd/nscd.c (go_background): Replaced with...
3285 (run_mode): ... this.
3286 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
3287 (options): Add -F --foreground.
3288 (main): Implement it.
3289 (parse_opt): Parse it.
3291 2012-05-09 Andreas Jaeger <aj@suse.de>
3294 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3295 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3296 -Wconversion warning.
3297 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3300 2012-05-09 Joseph Myers <joseph@codesourcery.com>
3302 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3304 (LC_ALL): Use macro-int-constant.
3305 (LC_COLLATE): Likewise.
3306 (LC_CTYPE): Likewise.
3307 (LC_MESSAGES): Likewise.
3308 (LC_MONETARY): Likewise.
3309 (LC_NUMERIC): Likewise.
3310 (LC_TIME): Likewise.
3311 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3312 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3313 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3314 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3316 [C99-based standards] (float_t): Expect type.
3317 [C99-based standards] (double_t): Expect type.
3318 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3320 [C99-based standards] (HUGE_VALL): Likewise.
3321 [C99-based standards] (INFINITY): Likewise.
3322 [C99-based standards] (NAN): Likewise.
3323 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3324 [C99-based standards] (FP_NAN): Likewise.
3325 [C99-based standards] (FP_NORMAL): Likewise.
3326 [C99-based standards] (FP_SUBNORMAL): Likewise.
3327 [C99-based standards] (FP_ZERO): Likewise.
3328 [C99-based standards] (FP_FAST_FMA): Use
3329 optional-macro-int-constant. Specify type. Require == 1.
3330 [C99-based standards] (FP_FAST_FMAF): Likewise.
3331 [C99-based standards] (FP_FAST_FMAL): Likewise.
3332 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3333 [C99-based standards] (FP_ILOGBNAN): Likewise.
3334 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3336 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3337 [C99-based standards] (math_errhandling): Specify type.
3338 [ISO99 || ISO11] (signgam): Do not allow.
3339 [non-C99-based standards] (copysignf): Do not allow.
3340 [non-C99-based standards] (exp2f): Likewise.
3341 [non-C99-based standards] (log2f): Likewise.
3342 [non-C99-based standards] (modff): Allow.
3343 [non-C99-based standards] (erff): Do not allow.
3344 [non-C99-based standards] (erfcf): Likewise.
3345 [non-C99-based standards] (gammaf): Likewise.
3346 [non-C99-based standards] (hypotf): Likewise.
3347 [non-C99-based standards] (j0f): Likewise.
3348 [non-C99-based standards] (j1f): Likewise.
3349 [non-C99-based standards] (jnf): Likewise.
3350 [non-C99-based standards] (lgammaf): Likewise.
3351 [non-C99-based standards] (tgammaf): Likewise.
3352 [non-C99-based standards] (y0f): Likewise.
3353 [non-C99-based standards] (y1f): Likewise.
3354 [non-C99-based standards] (ynf): Likewise.
3355 [non-C99-based standards] (isnanf): Likewise.
3356 [non-C99-based standards] (acoshf): Likewise.
3357 [non-C99-based standards] (asinhf): Likewise.
3358 [non-C99-based standards] (atanhf): Likewise.
3359 [non-C99-based standards] (cbrtf): Likewise.
3360 [non-C99-based standards] (expm1f): Likewise.
3361 [non-C99-based standards] (ilogbf): Likewise.
3362 [non-C99-based standards] (log1pf): Likewise.
3363 [non-C99-based standards] (logbf): Likewise.
3364 [non-C99-based standards] (nextafterf): Likewise.
3365 [non-C99-based standards] (remainderf): Likewise.
3366 [non-C99-based standards] (rintf): Likewise.
3367 [non-C99-based standards] (scalbf): Likewise.
3368 [non-C99-based standards] (copysignl): Likewise.
3369 [non-C99-based standards] (exp2l): Likewise.
3370 [non-C99-based standards] (log2l): Likewise.
3371 [non-C99-based standards] (modfl): Allow.
3372 [non-C99-based standards] (erfl): Do not allow.
3373 [non-C99-based standards] (erfcl): Likewise.
3374 [non-C99-based standards] (gammal): Likewise.
3375 [non-C99-based standards] (hypotl): Likewise.
3376 [non-C99-based standards] (j0l): Likewise.
3377 [non-C99-based standards] (j1l): Likewise.
3378 [non-C99-based standards] (jnl): Likewise.
3379 [non-C99-based standards] (lgammal): Likewise.
3380 [non-C99-based standards] (tgammal): Likewise.
3381 [non-C99-based standards] (y0l): Likewise.
3382 [non-C99-based standards] (y1l): Likewise.
3383 [non-C99-based standards] (ynl): Likewise.
3384 [non-C99-based standards] (isnanl): Likewise.
3385 [non-C99-based standards] (acoshl): Likewise.
3386 [non-C99-based standards] (asinhl): Likewise.
3387 [non-C99-based standards] (atanhl): Likewise.
3388 [non-C99-based standards] (cbrtl): Likewise.
3389 [non-C99-based standards] (expm1l): Likewise.
3390 [non-C99-based standards] (ilogbl): Likewise.
3391 [non-C99-based standards] (log1pl): Likewise.
3392 [non-C99-based standards] (logbl): Likewise.
3393 [non-C99-based standards] (nextafterl): Likewise.
3394 [non-C99-based standards] (remainderl): Likewise.
3395 [non-C99-based standards] (rintl): Likewise.
3396 [non-C99-based standards] (scalbl): Likewise.
3397 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3398 [non-C99-based standards] (FP_*): Do not allow.
3399 [C99-based standards] (FP_*): Change to
3400 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3401 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3403 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3404 (SIG_ERR): Likewise.
3405 [X/Open-based standards] (SIG_HOLD): Likewise.
3406 (SIG_IGN): Likewise.
3407 (SIGABRT): Use macro-int-constant. Specify type. Require
3412 (SIGSEGV): Likewise.
3414 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3415 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3416 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3417 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3418 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3419 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3420 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3421 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3422 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3423 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3424 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3425 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3426 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3427 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3428 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3429 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3430 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3431 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3432 [X/Open-based standards] (SIGTRAP): Likewise.
3433 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3434 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3435 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3436 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3437 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3440 2012-05-08 Ian Wienand <ianw@vmware.com>
3443 * time/tzset.c (__tzset_parse_tz): Update default rules for
3444 daylight time changes in the Energy Policy Act of 2005.
3446 2012-05-09 Andreas Jaeger <aj@suse.de>
3449 * elf/ldconfig.c (parse_conf): Change string to make clear that
3450 ldconfig only issued a warning if ld.so.conf does not exist.
3452 2012-05-08 David S. Miller <davem@davemloft.net>
3454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3455 movxtod instead of popping the value on the stack.
3457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3459 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3461 * config.h.in: Add HAVE_ARM_PCS_VFP.
3463 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
3466 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3467 checking but the checks are disabled for any reason.
3469 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3471 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3472 and ELF64_R_TYPE with ELFW(R_TYPE).
3474 2012-05-08 Joseph Myers <joseph@codesourcery.com>
3476 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3479 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3480 (settimeofday): Likewise.
3482 2012-05-08 Mike Frysinger <vapier@gentoo.org>
3484 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3485 a struct th_u2 inside the union, and move tu_block/tu_code into
3486 a new th_u3 union of tu_block/tu_code inside of that. Move
3487 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3488 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3489 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3490 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3491 (th_stuff): Change to th_u1.tu_stuff.
3493 (th_msg): Change to th_u1.th_u2.tu_data.
3495 2012-05-07 David S. Miller <davem@davemloft.net>
3497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3500 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3501 (SETUP_PIC_REG): Use it.
3502 (SETUP_PIC_REG_LEAF): Use it.
3504 2012-05-07 Joseph Myers <joseph@codesourcery.com>
3508 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3510 (EXPL_FINITE): Likewise.
3512 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3513 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3515 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3517 (EXPL_FINITE): Likewise.
3519 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3520 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3522 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3523 test of -max_value argument for long double.
3524 * sysdeps/i386/fpu/libm-test-ulps: Update.
3525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3527 2012-05-06 David S. Miller <davem@davemloft.net>
3529 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3530 quad soft-float symbols whose references which are compiler
3532 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3534 2012-05-06 Joseph Myers <joseph@codesourcery.com>
3538 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3540 (EXPL_FINITE): Likewise.
3544 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3545 Adjust comments for base varying.
3546 (__expl_finite): Change alias to EXPL_FINITE.
3547 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3549 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3550 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3551 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3552 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3553 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3555 (EXPL_FINITE): Likewise.
3559 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3560 Adjust comments for base varying.
3561 (__expl_finite): Change alias to EXPL_FINITE.
3562 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3567 * math/libm-test.inc (check_float_internal): Correct ulp
3568 calculation for subnormal expected results.
3570 2012-05-06 Andreas Jaeger <aj@suse.de>
3572 * Makeconfig (+math-flags): New, set to -frounding-math.
3573 (+cflags): Add +math-flags so that all of glibc gets compiled with
3576 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3578 2012-05-05 Joseph Myers <joseph@codesourcery.com>
3580 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3586 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3587 (__ieee754_expl): Allow for and saturate large arguments.
3588 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3589 (u_threshold): Likewise.
3590 (__exp): Call __ieee754_exp before checking for overflow and
3592 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3593 (u_threshold): Likewise.
3594 (__expf): Call __ieee754_expf before checking for overflow and
3596 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3597 (u_threshold): Likewise.
3598 (__expl): Call __ieee754_expl before checking for overflow and
3600 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3601 (__ieee754_expl): Allow for and saturate large arguments.
3602 * math/libm-test.inc (exp_test): Add another test. Do not allow
3603 missing overflow exception on overflow.
3604 (expm1_test): Do not allow missing overflow exception on overflow.
3606 * sysdeps/i386/fpu/e_expl.c: Move to ...
3607 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3608 rather than using inline asm.
3609 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3610 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3611 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3613 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3620 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3622 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3623 sysdeps/unix/common/syscalls.list.
3626 (ftruncate): Likewise.
3627 (getrusage): Likewise.
3628 (gettimeofday): Likewise.
3629 (setpgid): Likewise.
3630 (setregid): Likewise.
3631 (setreuid): Likewise.
3632 (sigaction): Likewise.
3633 (truncate): Likewise.
3634 (vhangup): Likewise.
3635 * sysdeps/unix/common/syscalls.list: Remove file.
3636 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3637 * sysdeps/unix/sysv/linux/Implies: Likewise.
3639 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3641 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3643 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3647 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3650 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3653 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3656 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3659 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3662 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3665 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3669 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3673 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3676 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3680 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3684 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3686 * sysdeps/unix/common/bits/dirent.h: Remove file.
3687 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3689 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3690 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3691 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3692 * sysdeps/unix/bsd/isatty.c: Likewise.
3693 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3694 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3695 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3697 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3700 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3701 long double comparison inaccuracies.
3702 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3705 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3707 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3708 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3710 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3713 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3714 nonzero digits before rounding a hex value.
3715 * stdlib/tst-strtod.c (tests): Add another test.
3717 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3719 * sysdeps/s390/fpu/libm-test-ulps: Update.
3721 2012-05-03 Andreas Jaeger <aj@suse.de>
3723 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3724 does not get optimized out.
3725 (malloc_opt_barrier): New.
3727 2012-05-03 Andreas Jaeger <aj@suse.de>
3728 Roland McGrath <roland@hack.frob.com>
3730 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3731 intermediate file deletion.
3732 (generated): Add .symlist files.
3734 2012-05-03 Joseph Myers <joseph@codesourcery.com>
3737 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3738 Redirect under this condition.
3739 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3740 [__USE_GNU] (__dprintf_chk): Not under this condition.
3741 [__USE_GNU] (__vdprintf_chk): Likewise.
3742 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3743 under this condition.
3744 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3745 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3746 [__USE_XOPEN2K8] (vdprintf): Likewise.
3747 [__USE_GNU] (__dprintf_chk): Not under this condition.
3748 [__USE_GNU] (__vdprintf_chk): Likewise.
3749 [__USE_GNU] (dprintf): Likewise.
3750 [__USE_GNU] (vdprintf): Likewise.
3752 2012-05-03 Roland McGrath <roland@hack.frob.com>
3754 * elf/Makefile (common-generated): Set this instead of generated for
3755 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3756 $(all-built-dso)-derived lists.
3758 2012-05-03 Andreas Jaeger <aj@suse.de>
3760 * sysdeps/i386/fpu/libm-test-ulps: Update.
3764 * scripts/gen-FAQ.pl: Likewise.
3765 * manual/install.texi (Installation): Point to online location of
3767 * Makefile (files-for-dist): Remove FAQ.
3770 2012-05-02 Allan McRae <allan@archlinux.org>
3772 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3773 (LDFLAGS-reldepmod5.so): Likewise.
3774 (LDFLAGS-reldep6mod1.so): Likewise.
3775 (LDFLAGS-reldep6mod4.so): Likewise.
3776 (LDFLAGS-reldep8mod3.so): Likewise.
3777 (LDFLAGS-unload4mod1.so): Likewise.
3778 (LDFLAGS-unload4mod2.so): Likewise.
3779 (LDFLAGS-tst-initorder): Likewise.
3780 (LDFLAGS-tst-initordera2.so): Likewise.
3781 (LDFLAGS-tst-initordera3.so): Likewise.
3782 (LDFLAGS-tst-initordera4.so): Likewise.
3783 (LDFLAGS-tst-initorderb2.so): Likewise.
3784 (LDFLAGS-noload): Likewise.
3785 (LDFLAGS-next): Likewise.
3786 (LDFLAGS-order2mod1.so): Likewise.
3787 (LDFLAGS-order2mod2.so): Likewise.
3788 (LDFLAGS-tst-initorder2): Likewise.
3789 (LDFLAGS-tst-initorder2a.so): Likewise.
3790 (LDFLAGS-tst-initorder2b.so): Likewise.
3791 (LDFLAGS-tst-initorder2c.so): Likewise.
3792 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3794 2012-05-02 David S. Miller <davem@davemloft.net>
3796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3798 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3801 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3803 2012-05-02 Andreas Jaeger <aj@suse.de>
3805 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3806 since we manipulate rounding mode.
3807 (CPPFLAGS-test-idouble.c): Likewise.
3808 (CPPFLAGS-test-ifloat.c): Likewise.
3809 (CFLAGS-test-ldouble.c): Likewise.
3810 (CFLAGS-test-double.c): Likewise.
3811 (CFLAGS-test-float.c): Likewise.
3812 (CFLAGS-test-misc.c): Likewise.
3813 (CFLAGS-test-test-fenv.c): Likewise.
3815 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3819 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3820 comparisons to determine direction to adjust input.
3822 2012-05-01 Roland McGrath <roland@hack.frob.com>
3824 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3825 output to the target.
3827 * scripts/localplt.awk: New file.
3828 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3829 (check-localplt-CFLAGS): Variable removed.
3830 ($(all-built-dso:=.jmprel)): New static pattern rule.
3831 (generated): Add those targets.
3832 (localplt-built-dso): New variable.
3833 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3835 * elf/check-localplt.c: File removed.
3837 * scripts/check-execstack.awk: New file.
3838 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3839 (check-execstack-CFLAGS): Variable removed.
3840 ($(objpfx)check-execstack.h): Target removed.
3841 ($(objpfx)execstack-default): New target.
3842 (generated): Add that instead of check-execstack.h.
3843 ($(all-built-dso:=.phdr)): New static pattern rule.
3844 (generated): Add those targets.
3845 * elf/check-execstack.c: File removed.
3847 * scripts/check-textrel.awk: New file.
3848 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3849 (check-textrel-CFLAGS): Variable removed.
3850 (all-built-dso): Use := to define.o
3851 ($(all-built-dso:=.dyn)): New static pattern rule.
3852 (generated): Add those targets.
3853 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3854 * config.make.in (READELF): New substituted variable.
3855 * elf/check-textrel.c: File removed.
3857 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3859 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3861 * conform/data/ctype.h-data [C99-based standards] (isblank):
3863 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3864 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3865 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3866 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3867 Specify type. Require positive value.
3870 [ISO || POSIX] (EILSEQ): Do not expect.
3871 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3872 Specify type. Require positive value.
3873 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3874 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3875 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3876 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3877 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3878 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3879 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3880 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3881 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3882 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3883 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3884 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3885 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3886 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3887 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3888 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3889 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3890 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3891 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3892 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3893 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3894 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3895 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3896 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3897 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3898 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3899 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3900 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3901 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3902 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3903 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3904 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3905 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3906 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3907 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3908 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3909 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3910 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3911 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3912 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3913 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3914 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3915 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3916 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3917 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3918 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3919 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3920 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3921 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3922 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3923 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3924 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3925 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3926 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3927 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3928 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3929 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3930 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3931 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3932 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3933 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3934 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3935 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3936 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3937 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3938 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3939 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3940 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3941 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3942 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3943 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3944 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3945 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3946 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3947 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3948 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3949 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3951 (FLT_ROUNDS): Expect as macro, not constant.
3952 (FLT_MANT_DIG): Use macro-int-constant.
3953 (DBL_MANT_DIG): Likewise.
3954 (LDBL_MANT_DIG): Likewise.
3955 (FLT_DIG): Likewise.
3956 (DBL_DIG): Likewise.
3957 (LDBL_DIG): Likewise.
3958 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3959 (DBL_MIN_EXP): Likewise.
3960 (LDBL_MIN_EXP): Likewise.
3961 (FLT_MAX_EXP): Use macro-int-constant.
3962 (DBL_MAX_EXP): Likewise.
3963 (LDBL_MAX_EXP): Likewise.
3964 (FLT_MAX_10_EXP): Likewise.
3965 (DBL_MAX_10_EXP): Likewise.
3966 (LDBL_MAX_10_EXP): Likewise.
3967 (FLT_MAX): Use macro-constant.
3968 (DBL_MAX): Likewise.
3969 (LDBL_MAX): Likewise.
3970 (FLT_EPSILON): Use macro-constant. Give upper bound.
3971 (DBL_EPSILON): Likewise.
3972 (LDBL_EPSILON): Likewise.
3973 (FLT_MIN): Likewise.
3974 (DBL_MIN): Likewise.
3975 (LDBL_MIN): Likewise.
3976 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3977 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3978 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3979 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3980 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3981 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3982 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3983 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3984 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3985 [ISO11] (FLT_TRUE_MIN): Likewise.
3986 [ISO11] (LDBL_TRUE_MIN): Likewise.
3987 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3988 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3989 (SCHAR_MIN): Use macro-int-constant. Specify type.
3990 (SCHAR_MAX): Likewise.
3991 (UCHAR_MAX): Likewise.
3992 (CHAR_MIN): Likewise.
3993 (CHAR_MAX): Likewise.
3994 (MB_LEN_MAX): Use macro-int-constant.
3995 (SHRT_MIN): Use macro-int-constant. Specify type.
3996 (SHRT_MAX): Likewise.
3997 (USHRT_MAX): Likewise.
3998 (INT_MAX): Likewise.
3999 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4001 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4003 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4005 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4006 bound negative. Suffix upper bound with "L".
4007 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4009 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4011 [C99-based standards] (LLONG_MAX): Likewise.
4012 [C99-based standards] (ULLONG_MAX): Likewise.
4013 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4015 [ISO11] (max_align_t): Require type.
4016 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4018 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4019 from $CFLAGS, without defining away __attribute__ calls.
4020 (checknamespace): Use $CFLAGS_namespace.
4022 * conform/conformtest.pl (@keywords): Only include C99 keywords
4023 for standards based on C99 or C11.
4025 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4027 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4030 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4031 usability of symbols in #if.
4033 * conform/conformtest.pl: If macro or constant types start
4034 "promoted:", expect the symbol to be of the following type
4035 promoted by the integer promotions.
4037 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4038 in one place. Also handle "macro-constant".
4040 * conform/conformtest.pl: Only accept expected macro values with
4041 "==". Parse all "macro" lines in one place.
4042 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4044 * conform/conformtest.pl: Handle braced types on "constant" lines
4045 instead of handling "typed-constant".
4046 * conform/data/signal.h-data: Use "constant" instead of
4049 * conform/conformtest.pl: Handle "optional-" at start of lines in
4050 one place rather than duplicating several cases. Handle each
4051 format of "macro" line with initial "optional-".
4053 * conform/conformtest.pl: Only accept expected constant or
4054 optional-constant values with "==". Parse all "constant" lines in
4055 one place. Parse all "optional-constant" lines in one place.
4056 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4057 * conform/data/fmtmsg.h-data: Likewise.
4058 * conform/data/netinet/in.h-data: Likewise.
4059 * conform/data/tar.h-data: Likewise.
4060 * conform/data/limits.h-data: Use "==" form on "constant" and
4061 "optional-constant" lines.
4063 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4064 Use -std=c99 for XOPEN2K.
4065 (@knownproblems): Remove.
4066 (newtoken): Don't check %isknown.
4068 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4069 Do not expect macro.
4070 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4071 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4072 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4073 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4074 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4075 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4076 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4077 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4078 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4079 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4080 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4081 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4082 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4083 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4084 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4085 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4086 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4087 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4088 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4089 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4090 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4091 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4092 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4093 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4094 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4095 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4096 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4097 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4098 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4099 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4100 [XPG3] (acosh): Likewise.
4101 [XPG3] (asinh): Likewise.
4102 [XPG3] (atanh): Likewise.
4103 [XPG3] (cbrt): Likewise.
4104 [XPG3] (expm1): Likewise.
4105 [XPG3] (ilogb): Likewise.
4106 [XPG3] (log1p): Likewise.
4107 [XPG3] (logb): Likewise.
4108 [XPG3] (nextafter): Likewise.
4109 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4110 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4111 [XPG3] (remainder): Likewise.
4112 [XPG3] (rint): Likewise.
4113 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4114 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4115 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4116 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4117 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4118 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4119 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4120 [UNIX98 || XOPEN2K] (scalb): Expect.
4121 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4122 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4123 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4124 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4125 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4126 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4127 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4128 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4129 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4130 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4131 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4132 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4133 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4134 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4135 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4136 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4137 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4138 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4139 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4140 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4141 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4142 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4143 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4144 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4145 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4146 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4147 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4148 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4149 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4150 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4151 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4152 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4153 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4154 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4155 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4156 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4157 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4158 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4159 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4160 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4161 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4162 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4163 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4164 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4165 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4166 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4167 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4168 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4169 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4170 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4171 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4172 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4173 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4174 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4175 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4176 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4177 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4178 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4179 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4180 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4181 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4182 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4183 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4184 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4185 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4186 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4187 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4188 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4189 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4190 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4191 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4192 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4193 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4194 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4195 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4196 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4197 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4198 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4199 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4200 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4201 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4202 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4203 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4204 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4205 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4206 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4207 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4208 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4209 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4210 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4211 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4212 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4213 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4214 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4215 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4216 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4217 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4218 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4219 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4220 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4221 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4222 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4223 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4224 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4225 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4226 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4227 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4228 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4229 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4230 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4231 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4232 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4233 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4234 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4235 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4236 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4237 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4238 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4239 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4240 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4241 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4242 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4243 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4244 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4245 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4246 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4247 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4248 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4249 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4250 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4251 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4252 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4253 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4254 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4255 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4256 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4257 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4259 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4260 _XOPEN_SOURCE_EXTENDED for XPG4.
4262 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4264 * Makeconfig (localtime): Remove variable.
4265 (inst_localtime-file): Likewise.
4267 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4288 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4292 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4293 comparisons to determine direction to adjust input.
4294 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4295 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4296 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4298 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4300 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4302 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4303 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4305 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4307 * math/libm-test.inc (nexttoward_test): Add more tests.
4309 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4312 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4313 in version GLIBC_2.1, not GLIBC_2.0.
4314 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4317 2012-04-30 Joseph Myers <joseph@codesourcery.com>
4320 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4322 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4323 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4324 * math/libm-test.inc (acos_test): Add more tests.
4325 (asin_test): Likewise.
4326 * sysdeps/i386/fpu/libm-test-ulps: Update.
4327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4330 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4332 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4333 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4334 * math/libm-test.inc (acos_test_tonearest): New function.
4335 (acos_test_towardzero): Likewise.
4336 (acos_test_downward): Likewise.
4337 (acos_test_upward): Likewise.
4338 (asin_test_tonearest): Likewise.
4339 (asin_test_towardzero): Likewise.
4340 (asin_test_downward): Likewise.
4341 (asin_test_upward): Likewise.
4342 (main): Call the new functions.
4343 * sysdeps/i386/fpu/libm-test-ulps: Update.
4344 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4348 * math/e_exp10.c: Include <float.h>.
4349 (__ieee754_exp10): Handle underflow here rather than multiplying
4350 large negative argument by M_LN10.
4351 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4353 * math/e_exp10l.c: Include <float.h>.
4354 (__ieee754_exp10l): Handle underflow here rather than multiplying
4355 large negative argument by M_LN10l.
4356 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4357 spurious overflow exception on underflow.
4359 2012-04-29 Marek Polacek <polacek@redhat.com>
4361 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4362 (__fortify_function): New macro.
4363 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4364 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4365 __extern_always_inline.
4366 * libio/bits/stdio2.h: Likewise.
4367 * libio/bits/stdio.h: Likewise.
4368 * string/string.h: Likewise.
4369 * string/bits/string3.h: Likewise.
4370 * include/stdio.h: Likewise.
4371 * stdlib/bits/stdlib.h: Likewise.
4372 * stdlib/stdlib.h: Likewise.
4373 * rt/bits/mqueue2.h: Likewise.
4374 * rt/mqueue.h: Likewise.
4375 * posix/bits/unistd.h: Likewise.
4376 * posix/unistd.h: Likewise.
4377 * io/bits/poll2.h: Likewise.
4378 * io/bits/fcntl2.h: Likewise.
4379 * io/fcntl.h: Likewise.
4380 * io/sys/poll.h: Likewise.
4381 * misc/bits/syslog.h: Likewise.
4382 * misc/bits/syslog-ldbl.h: Likewise.
4383 * misc/sys/syslog.h: Likewise.
4384 * socket/bits/socket2.h: Likewise.
4385 * socket/sys/socket.h: Likewise.
4386 * debug/tst-chk1.c: Likewise.
4387 * wcsmbs/bits/wchar2.h: Likewise.
4388 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4389 * wcsmbs/wchar.h: Likewise.
4391 2012-04-29 Andreas Jaeger <aj@suse.de>
4393 * Makerules (tests): Remove enable-check-abi protection.
4394 (check-abi-warn): Remove.
4395 (check-abi-%): Remove check-abi-warn usage.
4397 * configure.in: Remove check-abi configure option.
4398 * configure: Regenerated.
4399 * config.make.in (enable-check-abi): Remove.
4401 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4404 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4405 double functions to double *_finite functions.
4408 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4409 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4411 * stdio-common/Makefile (tests): Add tst-sprintf3.
4412 * stdio-common/tst-sprintf3.c: New file.
4414 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4415 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4417 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4419 * conform/conformtest.pl: Remove duplicate typed-constant
4422 2012-04-28 David S. Miller <davem@davemloft.net>
4424 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4425 (check-abi-%): Remove AWK script prerequisite and explicit
4427 (check-abi): Rewrite to just diff the symlist with the abilist.
4428 (config-tls, config-abi-config): Delete, no longer used.
4429 (update-abi-%): Remove AWK script and explicit abilist directory.
4430 (update-abi): Rewrite to simply compare and conditionally copy the
4431 symlist and the sysdep abilist file. Remove update-abi-config
4433 * abilist/ld.abilist: Remove.
4434 * abilist/libBrokenLocale.abilist: Remove.
4435 * abilist/libanl.abilist: Remove.
4436 * abilist/libcrypt.abilist: Remove.
4437 * abilist/libdl.abilist: Remove.
4438 * abilist/librt.abilist: Remove.
4439 * abilist/libthread_db.abilist: Remove.
4440 * abilist/libutil.abilist: Remove.
4441 * scripts/extract-abilist.awk: Remove.
4442 * scripts/merge-abilist.awk: Remove.
4443 * sysdeps/generic/libcidn.abilist: New file.
4444 * sysdeps/generic/libnss_compat.abilist: New file.
4445 * sysdeps/generic/libnss_db.abilist: New file.
4446 * sysdeps/generic/libnss_dns.abilist: New file.
4447 * sysdeps/generic/libnss_files.abilist: New file.
4448 * sysdeps/generic/libnss_hesiod.abilist: New file.
4449 * sysdeps/generic/libnss_nis.abilist: New file.
4450 * sysdeps/generic/libnss_nisplus.abilist: New file.
4451 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4452 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4453 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4455 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4456 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4457 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4458 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4459 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4460 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4461 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4462 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4463 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4465 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4466 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4467 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4468 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4470 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4471 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4472 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4473 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4474 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4475 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4477 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4478 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4479 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4481 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4492 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4494 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4584 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4585 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4586 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4588 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4589 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4590 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4591 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4592 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4593 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4594 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4595 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4596 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4597 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4649 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4651 * conform/conformtest.pl: Fix typo in handling typed-constant from
4654 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4656 * README: Cut down references to pre-2.6 Linux kernels and
4657 Linuxthreads. Update lists of configurations in libc and ports
4658 and sort alphabetically. Say "or newer" with Linux kernel version
4661 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4663 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4666 * math/libm-test.inc (logb_test_downward): New test to expose
4667 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4670 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4673 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4675 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4676 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4678 2012-04-26 Joseph Myers <joseph@codesourcery.com>
4680 * sysdeps/unix/i386/brk.S: Remove file.
4681 * sysdeps/unix/i386/dl-brk.S: Likewise.
4682 * sysdeps/unix/i386/pipe.S: Likewise.
4683 * sysdeps/unix/i386/sigreturn.S: Likewise.
4684 * sysdeps/unix/i386/syscall.S: Likewise.
4685 * sysdeps/unix/i386/vfork.S: Likewise.
4686 * sysdeps/unix/i386/wait.S: Likewise.
4688 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4689 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4691 * configure.in (arm*-none*): Do not allow without
4692 --enable-hacker-mode.
4693 (netbsd*): Remove case setting base_os.
4694 (386bsd*): Likewise.
4695 (freebsd*): Likewise.
4699 (ultrix*): Likewise.
4700 (newsos*): Likewise.
4710 (solaris[2-9]*): Likewise.
4712 * configure: Regenerated.
4714 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4717 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4718 overflow or cancellation in calculating denominator.
4719 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4720 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4721 down expression to avoid unexpected rounding in newer GCCs.
4722 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4724 2012-04-26 David S. Miller <davem@davemloft.net>
4726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4727 long-double compat symbols.
4728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4742 2012-04-25 David S. Miller <davem@davemloft.net>
4744 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4745 HWCAP_* values only after the memory barriers have been defined.
4746 (atomic_full_barrier): Define.
4747 (atomic_read_barrier): Define.
4748 (atomic_write_barrier): Define.
4750 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4752 * shlib-versions: Add libgcc_s version information.
4753 * sysdeps/generic/libgcc_s.h: Remove.
4754 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4756 * sysdeps/gnu/unwind-resume.c: Likewise.
4757 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4759 2012-04-25 David S. Miller <davem@davemloft.net>
4761 * sysdeps/unix/sparc/brk.S: Delete.
4762 * sysdeps/unix/sparc/dl-brk.S: Delete.
4763 * sysdeps/unix/sparc/pipe.S: Delete.
4764 * sysdeps/unix/sparc/sysdep.S: Delete.
4765 * sysdeps/unix/sparc/sysdep.h: Delete.
4766 * sysdeps/unix/sparc/vfork.S: Delete.
4767 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4768 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4769 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4770 ret_ERRVAL, r0, r1, MOVE): Define.
4771 (JUMPTARGET): Remove.
4772 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4773 sysdeps/unix/sparc/sysdep.h
4774 (ENTRY, END): Remove.
4775 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4777 2012-04-25 Joseph Myers <joseph@codesourcery.com>
4779 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4780 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4783 * timezone/README: Update upstream location and email address for
4785 * timezone/zdump.c: Update from tzcode 2012b.
4786 * timezone/zic.c: Likewise.
4788 * configure.in (libc_cv_as_needed): Remove test.
4789 * configure: Regenerated.
4790 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4791 conditional definition.
4792 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4793 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4794 * config.make.in (have-as-needed): Remove variable.
4796 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4797 Paul Pluzhnikov <ppluzhnikov@google.com>
4799 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4802 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4804 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4805 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4806 * sysdeps/sh/strlen.S: Likewise.
4808 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4810 * sysdeps/unix/fork.S: Remove file.
4811 * sysdeps/unix/i386/fork.S: Likewise.
4812 * sysdeps/unix/sparc/fork.S: Likewise.
4814 * sysdeps/unix/system.c: Remove file.
4815 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4817 * sysdeps/unix/getegid.S: Remove file.
4818 * sysdeps/unix/geteuid.S: Likewise.
4820 2012-04-24 Roland McGrath <roland@hack.frob.com>
4822 * scripts/check-localplt.awk: New file.
4823 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4825 * scripts/data/localplt-generic.data: Add a comment.
4827 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4828 NODE when __dir_mkfile failed.
4829 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4830 Reported by Ludovic Courtès <ludo@gnu.org>.
4832 2012-04-24 Andreas Jaeger <aj@suse.de>
4834 * Makerules (common-clean): Also remove gen-as-const-headers
4837 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4839 * Makerules (native-compile): Do not change working directory for
4840 build. Use $(OUTPUT_OPTION) in command.
4841 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4843 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4846 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4847 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4848 * math/libm-test.inc (floor_test): Add more tests.
4849 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4851 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4853 * sysdeps/unix/getdents.c: Remove file.
4854 * sysdeps/unix/sysv/getdents.c: Likewise.
4855 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4857 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4858 sysdeps/unix/mman/syscalls.list.
4860 (mprotect): Likewise.
4863 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4864 * sysdeps/unix/mman/syscalls.list: Remove.
4865 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4867 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4868 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4869 * configure: Regenerated.
4870 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4872 * config.make.in (libgcc_s_suffix): Remove variable.
4874 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4876 * sysdeps/unix/sysv/gethostname.c: Move to ...
4877 * sysdeps/posix/gethostname.c: ... here.
4879 * sysdeps/unix/execve.S: Remove file.
4881 * sysdeps/unix/_exit.S: Remove file.
4883 2012-04-23 Andreas Jaeger <aj@suse.de>
4886 * manual/Makefile: Remove make dist support, there's no
4887 need for a stand-alone documentation tar ball.
4888 (TEXI2DVI): Define always, it's not in Makeconfig.
4892 (glibc-doc-$(edition).tar): Removed
4896 (ETAGS): Remove, it's in Makeconfig.
4897 (move-if-change): Remove, it's in Makeconfig.
4899 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4902 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4903 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4904 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4905 (strtod_l, strtof_l, strtold_l): Remove __wur.
4906 It is not necessarily an error to ignore strtol's return value.
4907 One can reliably look at the stored endptr to decide whether
4908 the number had valid syntax.
4910 2012-04-21 Andreas Jaeger <aj@suse.de>
4913 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4915 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4917 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4918 * sysdeps/unix/sysv/Versions: Remove file.
4920 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4925 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4928 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4929 version from __vm86.
4931 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4933 * sysdeps/unix/common/lxstat.c: Remove file.
4934 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4936 * sysdeps/unix/sysv/Makefile: Remove file.
4938 * sysdeps/unix/sysv/direct.h: Remove file.
4940 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4941 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4942 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4943 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4944 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4945 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4946 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4948 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4950 * sysdeps/unix/xmknod.c: Remove file.
4951 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4953 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4955 * sysdeps/unix/sysv/i386/time.S: Remove file.
4957 * sysdeps/unix/fxstat.c: Remove file.
4958 * sysdeps/unix/xstat.c: Likewise.
4959 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4961 * sysdeps/unix/sysv/sigaction.c: Remove file.
4963 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4964 (sysdep_headers): Remove variable.
4965 [termio.h not in sysdep_headers] (generated): Likewise.
4966 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4967 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4968 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4969 * sysdeps/unix/sysv/tcflow.c: Likewise.
4970 * sysdeps/unix/sysv/tcflush.c: Likewise.
4971 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4972 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4973 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4974 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4975 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4977 * sysdeps/unix/siglist.c: Remove file.
4979 * sysdeps/unix/getppid.S: Remove file.
4981 * sysdeps/unix/mkdir.c: Remove file.
4982 * sysdeps/unix/rmdir.c: Likewise.
4984 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4986 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4988 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4989 errlist-compat value.
4991 2012-04-18 David S. Miller <davem@davemloft.net>
4993 * sysdeps/generic/memcopy.h (reg_char): Delete.
4994 * debug/strcat_chk.c: Use char, not reg_char.
4995 * debug/strcpy_chk.c: Likewise.
4996 * debug/strncat_chk.c: Likewise.
4997 * debug/strncpy_chk.c: Likewise.
4998 * string/memchr.c: Likewise.
4999 * string/memrchr.c: Likewise.
5000 * string/rawmemchr.c: Likewise.
5001 * string/strcat.c: Likewise.
5002 * string/strchr.c: Likewise.
5003 * string/strchrnul.c: Likewise.
5004 * string/strcmp.c: Likewise.
5005 * string/strcpy.c: Likewise.
5006 * string/strncat.c: Likewise.
5007 * string/strncmp.c: Likewise.
5008 * string/strncpy.c: Likewise.
5010 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5012 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5013 __builtin_memcopy is called when src and dest ranges are known to not
5016 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5018 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5019 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5020 fwd_align_merge macro call.
5021 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5022 bwd_align_merge macro call.
5023 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5025 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5027 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5028 bwd_align_merge macros.
5029 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5030 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5031 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5033 2012-04-18 David S. Miller <davem@davemloft.net>
5035 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5037 2012-04-18 Andreas Jaeger <aj@suse.de>
5040 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5041 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5042 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5044 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5045 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5046 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5048 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5049 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5050 Adjust for changed ldbl-128 files.
5052 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5053 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5054 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5056 2012-04-17 David S. Miller <davem@davemloft.net>
5058 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5060 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5062 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5063 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5064 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5065 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5066 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5067 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5069 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5072 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5073 * math/libm-test.inc: Add ilogb errno and exception tests.
5074 * math/w_ilogb.c: New file: ilogb wrapper.
5075 * math/w_ilogbf.c: New file: ilogbf wrapper.
5076 * math/w_ilogbl.c: New file: ilogbl wrapper.
5077 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5078 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5079 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5080 exception being thrown with 0.0 as argument.
5081 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5082 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5083 exception being thrown with 0.0 as argument.
5084 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5085 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5086 exception being thrown with 0.0 as argument.
5087 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5088 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5089 exception being thrown with 0.0 as argument.
5090 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5091 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
5092 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
5093 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5094 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5095 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5096 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5097 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5098 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5100 2012-04-17 Petr Baudis <pasky@ucw.cz>
5102 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5105 2012-04-16 Marek Polacek <polacek@redhat.com>
5107 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5109 2012-04-16 Marek Polacek <polacek@redhat.com>
5111 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5112 operands of fdivp instruction.
5114 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5116 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5117 * elf/tst-auditmod3b.c: Likewise.
5118 * elf/tst-auditmod4b.c: Likewise.
5119 * elf/tst-auditmod5b.c: Likewise.
5120 * elf/tst-auditmod6b.c: Likewise.
5121 * elf/tst-auditmod6c.c: Likewise.
5122 * elf/tst-auditmod7b.c: Likewise.
5123 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5124 * sysdeps/x86_64/preconfigure.in: Likewise.
5125 * sysdeps/x86_64/preconfigure: Regenerated.
5127 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5129 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5132 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
5134 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5135 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5137 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5140 * locale/iso-639.def: Fix gl language name. Spotted by
5143 2012-04-12 Roland McGrath <roland@hack.frob.com>
5146 * libio/libio.h (__io_write_fn): Update comment.
5148 2012-04-12 Petr Baudis <pasky@ucw.cz>
5151 * stdio.texi (Hook Functions): The user provided writer function
5152 is not allowed to return -1.
5154 2012-04-11 David S. Miller <davem@davemloft.net>
5156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5158 2012-04-11 Mike Frysinger <vapier@gentoo.org>
5160 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5161 Add a leading slash to rtkaio.
5163 2012-04-11 Jim Meyering <meyering@redhat.com>
5166 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5167 It is not necessarily an error to ignore fwrite's return
5168 value. One can reliably use ferror to test for errors after
5171 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5173 * bits/types.h (__snseconds_t): New type.
5174 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5176 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5177 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5178 (__SNSECONDS_T_TYPE): Likewise.
5179 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5180 (__SNSECONDS_T_TYPE): Likewise.
5181 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5182 (__SNSECONDS_T_TYPE): Likewise.
5184 2012-04-10 Andreas Jaeger <aj@suse.de>
5187 * manual/time.texi (Processor Time): Return type of times is
5188 elapsed real time since an arbitrary point in the past.
5189 (CPU Time): Move CLK_TCK from here...
5190 (Processor Time): ...to here. Correct description.
5191 * manual/conf.texi (Constants for Sysconf): Correct description of
5194 2012-04-10 David S. Miller <davem@davemloft.net>
5197 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5198 where the is a gap between DT_REL(A) and DT_JMPREL.
5200 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5202 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5203 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5204 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5206 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5208 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5209 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5210 (dl_main): Handle --inhibit-cache.
5211 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5213 * elf/dl-load.c (_dl_map_object): Use it.
5214 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5216 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5219 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5220 (__ieee754_powl): Saturate large exponents rather than testing for
5221 overflow of y*log2(x).
5222 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5223 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5227 * math/s_ctan.c: Include <float.h>.
5228 (__ctan): Avoid internal overflow or cancellation in calculating
5230 * math/s_ctanf.c: Likewise.
5231 * math/s_ctanl.c: Likewise.
5232 * math/s_ctanh.c: Likewise.
5233 * math/s_ctanhf.c: Likewise.
5234 * math/s_ctanhl.c: Likewise.
5235 * math/libm-test.inc (ctan_test): Add more tests.
5236 (ctanh_test): Likewise.
5237 * sysdeps/i386/fpu/libm-test-ulps: Update.
5238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5240 2012-04-09 Andreas Jaeger <aj@suse.de>
5243 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5244 is an optional BSD extension.
5247 * manual/stdio.texi (Opening Streams): Document additional fopen
5250 2012-04-09 Roland McGrath <roland@hack.frob.com>
5252 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5253 %eax without telling the compiler.
5255 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5258 * manual/install.texi: Use sourceware.org.
5260 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5263 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5264 (__ieee754_pow): Generate overflow and underflow using huge*huge
5265 and tiny*tiny rather than just returning constant infinity or zero
5266 for large exponents.
5267 * math/libm-test.inc (pow_test): Require overflow exceptions for
5268 applicable cases of large exponents.
5271 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5272 (__ieee754_pow): Use iterative multiplication algorithm only for
5273 integer exponents with absolute value below 1024. Check for odd
5274 integer exponents when using algorithm for real exponents.
5275 * math/libm-test.inc (pow_test): Add more tests.
5276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5278 2012-04-08 Joseph Myers <joseph@codesourcery.com>
5281 * math/libm-test.inc (exp_test): Do not allow overflow exception
5284 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5287 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5288 instead of __kernel_standard_f.
5290 2012-04-08 Mike Frysinger <vapier@gentoo.org>
5292 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5293 * sysdeps/x86_64/memset_chk.S: Likewise.
5295 2012-04-08 Andreas Jaeger <aj@suse.de>
5298 * manual/startup.texi (Environment Access): Describe return value
5299 for putenv and setenv.
5302 * manual/filesys.texi (Directory Entries): Add description for
5306 * manual/filesys.texi (Directory Entries): Clarify that it's file
5307 system not operating system in the description of DT_UNKNOWN.
5310 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5312 2012-04-08 Stephen Compall <s11@member.fsf.org>
5315 * manual/llio.texi (Opening and Closing Files): Add cross
5316 reference to explain mode argument.
5318 2012-04-07 Mike Frysinger <vapier@gentoo.org>
5320 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5321 * sysdeps/x86_64/memset_chk.S: Likewise.
5323 2012-04-07 David S. Miller <davem@davemloft.net>
5325 * elf/elf.h (R_SPARC_WDISP10): Define.
5326 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5328 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5329 R_SPARC_SIZE64 and R_SPARC_H34.
5331 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5333 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5334 conditions and remove no longer applicable assertion.
5336 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5338 * bits/byteswap.h: Include <features.h>.
5339 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5340 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5342 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5344 * bits/byteswap.h (__bswap_16): Removed.
5345 Include <bits/byteswap-16.h> to get __bswap_16.
5346 * sysdeps/i386/bits/byteswap.h: Likewise.
5347 * sysdeps/s390/bits/byteswap.h: Likewise.
5348 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5349 * bits/byteswap-16.h: New file.
5350 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5351 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5352 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5353 * string/Makefile (headers): Add bits/byteswap-16.h.
5355 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5358 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5360 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5361 * nss/tst-nss-static.c: New.
5363 2012-04-06 Robert Millan <rmh@gnu.org>
5366 * manual/llio.texi (File Position Primitive): lseek
5367 refers to WHENCE when it really means OFFSET.
5369 2012-04-06 Andreas Jaeger <aj@suse.de>
5371 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5372 strncmp declarations.
5374 * abilist/libc.abilist: Add __poll and __ppoll.
5376 2012-04-05 David S. Miller <davem@davemloft.net>
5378 * scripts/check-local-headers.sh: Accept a host triplet in the
5379 path matched by the exclude regexp.
5381 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5383 * sysdeps/powerpc/powerpc32/dl-machine.h
5384 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5385 * sysdeps/s390/s390-32/dl-machine.h
5386 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5387 * sysdeps/sparc/sparc32/dl-machine.h
5388 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5389 * sysdeps/sparc/sparc64/dl-machine.h
5390 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5392 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5394 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
5395 undefined symbol errors.
5397 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
5400 2012-04-05 Michael Matz <matz@suse.de>
5403 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5405 2012-04-05 Andreas Jaeger <aj@suse.de>
5408 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5411 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5413 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5414 which ROUND is no valid rounding mode.
5416 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5418 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5420 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5422 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5424 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5425 an exception using FPU order intentionally.
5427 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5429 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5430 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5431 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5432 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5434 2012-04-05 Simon Josefsson <simon@josefsson.org>
5437 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5438 EINVAL when BUFLEN is too smal.
5440 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5443 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5444 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5446 2012-04-03 Andreas Jaeger <aj@suse.de>
5449 * manual/setjmp.texi (System V contexts): Fix sentence.
5452 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5453 New macro for this case.
5454 [!__GNUC__] (__bswap_64): New inline function for this case.
5455 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5456 * bits/byteswap.h: Likewise.
5457 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5458 ull, guard with __GLIBC_HAVE_LONG_LONG.
5460 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5461 __GLIBC_HAVE_LONG_LONG.
5463 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5464 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5466 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5469 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5470 inptr and inend, rather than using last_ch.
5472 2012-04-02 David S. Miller <davem@davemloft.net>
5474 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5475 * stdio-common/printf-parse.h (read_int): Change return type to
5476 'int', return -1 on INT_MAX overflow.
5477 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5478 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5479 overflows INT_MAX. Check for overflow of in-format-string precision
5480 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5481 SIZE_MAX not INT_MAX for integer overflow test.
5482 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5483 skip the construct in the format string but do not record anything.
5484 * stdio-common/bug22.c: Adjust to test both width/prevision
5485 INT_MAX overflow as well as total length INT_MAX overflow. Check
5486 explicitly for proper errno values.
5488 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5490 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5492 * string/test-strcmp.c [! WIDE]: Likewise.
5493 * time/tst-mktime2.c: Likewise for INT_MAX.
5494 * string/test-string.h: #include <sys/param.h> for MIN.
5496 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5497 * sysdeps/i386/init-first.c (init): Likewise.
5498 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5499 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5500 * sysdeps/sh/init-first.c (init): Likewise.
5502 2012-04-01 Ulrich Drepper <drepper@gmail.com>
5504 * po/ru.po: Update from translation team.
5505 * po/vi.po: Likewise.
5507 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5509 * resolv/nss_dns/dns-host.c: Merge copyright years.
5511 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5513 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5514 Optimize memcpy with prefetch if
5515 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5516 src, dst pointers have unequal 16 byte alignments.
5518 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5521 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5522 from a CNAME entry and return the minimum ttl for the query.
5523 (gaih_getanswer_slice): Likewise.
5525 2012-03-30 Jeff Law <law@redhat.com>
5527 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5529 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5530 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5532 * resolv/nss_dns/dns-host.c: Update copyright year.
5534 2012-03-30 Ulrich Drepper <drepper@gmail.com>
5536 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5537 requests to save a system call. Fix check that all bytes are sent.
5539 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5540 comments for sendmmsg.
5542 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5545 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5546 with only 1 character between 0x0041 and 0x01b0.
5547 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5548 * wcsmbs/tst-mbsnrtowcs.c: New file.
5550 2012-03-29 David S. Miller <davem@davemloft.net>
5552 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5553 small copies by hand.
5555 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5558 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5559 _nss_compat_initgroups_dyn): Fall back to malloc/free
5560 for large group memberships.
5562 2012-03-28 David S. Miller <davem@davemloft.net>
5564 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5565 that branches into memcpy.
5566 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5567 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5568 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5569 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5570 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5572 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5574 * sysdeps/sparc/mempcpy.S: New file.
5576 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5577 the IFUNC routine in the libc case.
5578 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5580 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5581 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5582 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5583 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5584 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5585 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5586 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5587 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5589 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5590 loop to 256 bytes instead of 64 bytes and fix test signedness.
5592 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5593 * sysdeps/sparc/sparc32/Makefile: rather than here...
5594 * sysdeps/sparc/sparc64/Makefile: and here.
5596 2012-03-28 Ulrich Drepper <drepper@gmail.com>
5598 * malloc/mallocbug.c: Avoid warnings about unused variables.
5600 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5603 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5604 in the right place. Discard and retry query if response is
5605 larger than input buffer size.
5607 2012-03-28 Joseph Myers <joseph@codesourcery.com>
5612 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5613 x for large integer exponent.
5614 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5615 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5616 sign of result as needed afterwards.
5617 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5618 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5619 result for underflowing pow the same as for overflow.
5620 (__kernel_standard_l): Handle powl overflow and underflow here
5621 rather than calling __kernel_standard.
5622 * math/libm-test.inc (pow_test): Add more tests.
5637 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5638 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5639 (__kernel_standard_l): New function.
5640 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5642 * math/w_acosl.c (__acosl): Likewise.
5643 * math/w_asinl.c (__asinl): Likewise.
5644 * math/w_atan2l.c (__atan2l): Likewise.
5645 * math/w_atanhl.c (__atanhl): Likewise.
5646 * math/w_coshl.c (__coshl): Likewise.
5647 * math/w_exp10l.c (__exp10l): Likewise.
5648 * math/w_exp2l.c (__exp2l): Likewise.
5649 * math/w_fmodl.c (__fmodl): Likewise.
5650 * math/w_hypotl.c (__hypotl): Likewise.
5651 * math/w_j0l.c (__j0l, __y0l): Likewise.
5652 * math/w_j1l.c (__j1l, __y1l): Likewise.
5653 * math/w_jnl.c (__jnl, __ynl): Likewise.
5654 * math/w_lgammal.c (__lgammal): Likewise.
5655 * math/w_log10l.c (__log10l): Likewise.
5656 * math/w_log2l.c (__log2l): Likewise.
5657 * math/w_logl.c (__logl): Likewise.
5658 * math/w_powl.c (__powl): Likewise.
5659 * math/w_remainderl.c (__remainderl): Likewise.
5660 * math/w_scalbl.c (sysv_scalbl): Likewise.
5661 * math/w_sinhl.c (__sinhl): Likewise.
5662 * math/w_sqrtl.c (__sqrtl): Likewise.
5663 * math/w_tgammal.c (__tgammal): Likewise.
5664 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5665 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5666 * math/libm-test.inc (acos_test): Add more tests.
5667 (acosh_test): Likewise.
5668 (asin_test): Likewise.
5669 (atanh_test): Likewise.
5670 (exp_test): Likewise.
5671 (exp10_test): Likewise.
5672 (exp2_test): Likewise.
5673 (expm1_test): Likewise.
5674 (lgamma_test): Likewise.
5675 (log_test): Likewise.
5676 (log10_test): Likewise.
5677 (log1p_test): Likewise.
5678 (log2_test): Likewise.
5679 (pow_test): Do not allow some spurious overflow exceptions.
5680 (sqrt_test): Add more tests.
5681 (tgamma_test): Likewise.
5682 (y0_test): Likewise.
5683 (y1_test): Likewise.
5684 (yn_test): Likewise.
5686 2012-03-27 Anton Blanchard <anton@samba.org>
5688 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5690 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5691 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5692 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5694 2012-03-27 David S. Miller <davem@davemloft.net>
5696 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5698 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5701 2012-03-27 Andreas Jaeger <aj@suse.de>
5703 * sysdeps/x86_64/elf/configure.in: Moved to ...
5704 * sysdeps/x86_64/configure.in: ... here.
5705 * sysdeps/x86_64/elf/start.S: Moved to ...
5706 * sysdeps/x86_64/start.S: ... here.
5707 * sysdeps/x86_64/elf/configure: Delete.
5709 * sysdeps/x86_64/configure.in: Merge contents from
5710 sysdeps/i386/configure.in (without i686 check).
5712 * sysdeps/i386/elf/Versions: Merge into ...
5713 * sysdeps/i386/Versions: ... this.
5714 * sysdeps/i386/elf/Versions: Delete file.
5715 * sysdeps/i386/elf/start.S: Moved to ...
5716 * sysdeps/i386/start.S: ...here.
5717 * sysdeps/i386/elf/configure.in: Merge into...
5718 * sysdeps/i386/configure.in: ...here.
5719 * sysdeps/i386/elf/configure.in: Delete file.
5720 * sysdeps/i386/elf/configure: Delete file.
5722 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5723 * debug/backtracesyms.c: ... here.
5724 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5725 * debug/backtracesymsfd.c: ... here.
5726 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5727 * sysdeps/generic/ifunc-sel.h: ... here.
5729 * sysdeps/unix/i386/start.c: Delete file.
5730 * sysdeps/unix/sparc/start.c: Delete file.
5731 * sysdeps/unix/start.c: Delete file.
5733 * sysdeps/sh/elf/configure.in: Moved to ...
5734 * sysdeps/sh/configure.in: ... here.
5735 * sysdeps/sh/elf/start.S: Moved to ...
5736 * sysdeps/sh/start.S: ... here.
5737 * sysdeps/sh/elf/configure: Delete file.
5739 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5740 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5741 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5742 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5743 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5744 * sysdeps/powerpc/powerpc64/start.S: here.
5745 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5746 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5747 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5748 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5749 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5751 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5752 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5753 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5754 * sysdeps/powerpc/powerpc32/start.S: ... here.
5755 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5756 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5757 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5759 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5760 * sysdeps/powerpc/ifunc-sel.h: ... here.
5761 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5762 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5764 * sysdeps/sparc/elf/configure.in: Moved to ...
5765 * sysdeps/sparc/configure.in: ... here.
5766 * sysdeps/sparc/elf/configure: Delete file.
5767 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5768 * sysdeps/sparc/sparc32/start.S: ... here.
5769 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5770 * sysdeps/sparc/sparc64/start.S: ... here.
5771 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5772 * sysdeps/sparc/sparc32/Makefile: ... this.
5773 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5774 * sysdeps/sparc/sparc64/Makefile: ... this.
5776 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5777 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5778 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5779 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5780 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5781 * sysdeps/s390/s390-32/setjmp.S: ... here.
5782 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5783 * sysdeps/s390/s390-32/configure.in: ... here.
5784 * sysdeps/s390/s390-32/elf/configure: Delete file.
5785 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5786 * sysdeps/s390/s390-32/start.S: ... here.
5788 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5789 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5790 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5791 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5792 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5793 * sysdeps/s390/s390-64/setjmp.S: ... here.
5794 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5795 * sysdeps/s390/s390-64/configure.in: ... here
5796 * sysdeps/s390/s390-64/elf/configure: Delete file.
5797 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5798 * sysdeps/s390/s390-64/start.S: ... here.
5799 * sysdeps/s390/s390-64/elf/configure: Delete.
5801 * configure.in: Remove support for elf directories in sysdeps.
5803 * configure: Regenerated.
5804 * sysdeps/i386/configure: Regenerated.
5805 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5806 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5807 * sysdeps/s390/s390-32/configure: Regenerated.
5808 * sysdeps/s390/s390-64/configure: Regenerated.
5809 * sysdeps/sh/configure: Regenerated.
5810 * sysdeps/sparc/configure: Regenerated.
5811 * sysdeps/x86_64/configure: Regenerated.
5813 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5817 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5818 denormal result into account.
5820 2012-03-25 Roland McGrath <roland@hack.frob.com>
5822 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5823 Reported by Allan McRae <allan@archlinux.org>.
5825 2012-03-23 Jeff Law <law@redhat.com>
5827 * nss/getnssent.c (__nss_getent): Fix typo.
5829 2012-03-23 David S. Miller <davem@davemloft.net>
5831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5833 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5835 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5836 to pad to uint64_t for each field.
5837 (dl_tls_index): Replace unsigned long with uint64_t.
5839 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5840 Paul Pluzhnikov <ppluzhnikov@google.com>
5843 * grp/Makefile (otherlibs): Don't set it.
5844 * inet/Makefile (otherlibs): Likewise.
5845 * login/Makefile (otherlibs): Likewise.
5846 * nscd/Makefile (otherlibs): Likewise.
5847 * posix/Makefile (otherlibs): Likewise.
5848 * pwd/Makefile (otherlibs): Likewise.
5849 * rt/Makefile (otherlibs): Likewise.
5850 * sunrpc/Makefile (otherlibs): Likewise.
5851 * nss/Makefile (otherlibs): Likewise.
5852 Add libnss_files to routines and static-only-routines.
5853 ($(objpfx)getent): Remove rule.
5854 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5855 static-only-routines.
5857 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5860 * math/s_cexp.c: Include <float.h>.
5861 (__cexp): Handle exp result overflowing not necessarily
5862 overflowing both real and imaginary parts of result.
5863 * math/s_cexpf.c: Likewise.
5864 * math/s_cexpl.c: Likewise.
5865 * math/libm-test.inc (cexp_test): Add more tests.
5866 * sysdeps/i386/fpu/libm-test-ulps: Update.
5867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5869 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5871 * include/link.h (ELFW): New macro.
5872 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5873 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5875 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5877 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5880 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5882 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5884 (struct La_x32_retval): Likewise.
5886 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5888 * sysdeps/x86_64/preconfigure.in: New file.
5889 * sysdeps/x86_64/preconfigure: New generated file.
5891 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5894 * math/e_exp2l.c: Include <float.h>.
5895 (__ieee754_exp2l): Handle overflow and underflow cases
5896 separately. Only pass fractional part of argument to
5898 * math/libm-test.inc (exp2_test): Add more tests.
5900 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5901 negating x to take absolute value.
5902 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5904 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5905 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5907 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5908 computing low part if x was negated.
5909 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5911 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5913 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5915 (pltexit): Cast int_retval to ptrdiff_t.
5916 * elf/tst-auditmod3b.c: Likewise.
5917 * elf/tst-auditmod4b.c: Likewise.
5918 * elf/tst-auditmod5b.c: Likewise.
5919 * elf/tst-auditmod6b.c: Likewise.
5920 * elf/tst-auditmod6c.c: Likewise.
5921 * elf/tst-auditmod7b.c: Likewise.
5923 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5924 and x32_gnu_pltexit.
5926 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5928 (La_x32_regs): New macro.
5929 (La_x32_retval): Likewise.
5930 (la_x32_gnu_pltenter): New function prototype.
5931 (la_x32_gnu_pltexit): Likewise.
5933 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5935 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5940 * configure.in (libc_cv_cc_nofma): Check for option to disable
5941 generation of FMA instructions.
5942 * configure: Regenerate.
5943 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5944 * sysdeps/ieee754/dbl-64/Makefile: New file.
5945 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5946 Remove brandred-fma4.
5947 (CFLAGS-brandred-fma4.c): Remove.
5948 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5949 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5951 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5954 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5956 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5957 LLONG_MAX != LONG_MAX.
5958 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5959 (_fitoa_word): Likewise.
5960 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5961 LLONG_MAX != LONG_MAX.
5962 * stdio-common/_itowa.h: Include <_itoa.h>.
5963 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5964 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5965 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5966 only if not defined.
5967 (_ITOA_WORD_TYPE): Likewise.
5968 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5969 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5971 2012-03-21 David S. Miller <davem@davemloft.net>
5973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5975 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5977 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5978 of x86_64 when setting libc_cv_slibdir, libdir and
5980 * sysdeps/unix/sysv/linux/configure: Regenerated.
5982 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5984 * manual/lang.texi (Old Varargs): Remove section.
5985 (How Variadic): Update menu.
5986 (va_start): Do not mention varargs.h.
5988 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5989 Joseph Myers <joseph@codesourcery.com>
5991 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5993 * configure: Regenerated.
5995 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5997 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5998 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6001 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6004 * Makefile (files-for-dist): Remove NOTES.
6005 (NOTES): Remove rule.
6006 * README: Don't refer to NOTES.
6007 * manual/creature.texi: Don't include macros.texi.
6008 * manual/intro.texi (creature.texi): Remove comment referring to
6011 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6012 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6013 * configure: Regenerated.
6014 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6016 (libc_cv_as_i686): Likewise.
6017 (libc_cv_cc_avx): Likewise.
6018 (libc_cv_cc_sse2avx): Likewise.
6019 (libc_cv_cc_fma4): Likewise.
6020 (libc_cv_cc_novzeroupper): Likewise.
6021 * sysdeps/i386/configure: Regenerated.
6024 * sysdeps/i386/fpu/s_cexp.S: Remove.
6025 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6026 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6027 * math/libm-test.inc (cexp_test): Add more tests.
6028 * sysdeps/i386/fpu/libm-test-ulps: Update.
6029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6031 2012-03-21 Allan McRae <allan@archlinux.org>
6033 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6035 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6038 * math/w_exp2.c: Do not include <float.h>.
6039 (o_threshold, u_threshold): Remove.
6040 (__exp2): Calculate result before checking finiteness and calling
6042 * math/w_exp2f.c: Likewise.
6043 * math/w_exp2l.c: Likewise.
6044 * math/libm-test.inc (exp2_test): Require overflow exception for
6048 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6049 range of signed 64-bit integers before using fistpll. Remove
6050 checks for whether integers fit in mantissa bits.
6051 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6052 the range of signed 32-bit integers before using fistpl. Remove
6053 checks for whether integers fit in mantissa bits.
6054 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6055 (__ieee754_powl): Test for y outside the range of signed 64-bit
6056 integers before using fistpll. Reduce 64-bit values to 63-bit
6058 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6059 divide-by-zero is raised for zero to large negative powers.
6060 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6061 (__ieee754_powl): Test for y outside the range of signed 64-bit
6062 integers before using fistpll. Reduce 64-bit values to 63-bit
6064 * math/libm-test.inc (pow_test): Add more tests.
6066 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6068 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6069 <stdio-common/_itoa.h>.
6070 * debug/segfault.c: Likewise.
6071 * elf/dl-cache.c: Likewise.
6072 * elf/dl-minimal.c: Likewise.
6073 * elf/dl-misc.c: Likewise.
6074 * elf/dl-sysdep.c: Likewise.
6075 * elf/dl-version.c: Likewise.
6076 * elf/rtld.c: Likewise.
6077 * hurd/hurdsock.c: Likewise.
6078 * hurd/lookup-retry.c: Likewise.
6079 * malloc/malloc.c: Likewise.
6080 * malloc/mtrace.c: Likewise.
6081 * nscd/nscd_getgr_r.c: Likewise.
6082 * nscd/nscd_getpw_r.c: Likewise.
6083 * nscd/nscd_getserv_r.c: Likewise.
6084 * posix/getopt_init.c: Likewise.
6085 * posix/wordexp.c: Likewise.
6086 * stdio-common/_itoa.c: Likewise.
6087 * stdio-common/printf_fphex.c: Likewise.
6088 * stdio-common/vfprintf.c: Likewise.
6089 * string/_strerror.c: Likewise.
6090 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6091 * sysdeps/i386/i686/hp-timing.h: Likewise.
6092 * sysdeps/mach/_strerror.c: Likewise.
6093 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6094 * sysdeps/mach/hurd/sethostid.c: Likewise.
6095 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6096 * sysdeps/mach/xpg-strerror.c: Likewise.
6097 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6098 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6099 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6100 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6101 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6102 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6103 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6104 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6105 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6106 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6107 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6108 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6109 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6110 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6111 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6112 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6113 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6114 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6115 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6116 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6117 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6119 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6121 * stdio-common/_itoa.h: Moved to ...
6122 * sysdeps/generic/_itoa.h: Here.
6124 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6126 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6127 instead of "_itoa.h" and "_itowa.h".
6128 * stdio-common/vfprintf.: Likewise.
6130 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6132 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6134 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6135 (__signbit): Likwise.
6139 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6141 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6144 2012-03-20 Joseph Myers <joseph@codesourcery.com>
6146 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6147 OVERFLOW_EXCEPTION_OK.
6148 * math/libm-test.inc ("Philosophy"): Update comment about
6150 (OVERFLOW_EXCEPTION): Define.
6151 (OVERFLOW_EXCEPTION_OK): Likewise.
6152 (INVALID_EXCEPTION_OK): Renumber.
6153 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6154 (IGNORE_ZERO_INF_SIGN): Likewise.
6155 (test_exceptions): Handle FE_OVERFLOW.
6156 (exp10_test): Expect overflow exceptions.
6157 (exp2_test): Likewise.
6158 (expm1_test): Likewise.
6159 (nextafter_test): Likewise.
6160 (pow_test): Likewise.
6161 (scalbn_test): Likewise.
6162 (scalbln_test): Likewise.
6164 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6166 * sysdeps/x86_64/bits/atomic.h
6167 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6169 (atomic_exchange_acq): Likewise.
6170 (__arch_exchange_and_add_body): Likewise.
6171 (__arch_add_body): Likewise.
6172 (atomic_add_negative): Likewise.
6173 (atomic_add_zero): Likewise.
6175 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6177 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
6178 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6180 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6182 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6183 Check __x86_64__ instead of __WORDSIZE.
6185 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6187 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6189 2012-03-19 David S. Miller <davem@davemloft.net>
6191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6193 * sysdeps/sparc/fpu/fenv_private.h: New file.
6194 * sysdeps/sparc/fpu/math_private.h: Use it.
6195 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6197 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6198 (libc_feholdexcept_setroundl): Remove.
6199 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6201 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6202 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6204 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6206 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6207 int64_t instead of long int.
6208 (INSERT_WORDS64): Likwise.
6210 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6212 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6213 _Unwind_GetCFA return to _Unwind_Ptr first.
6215 2012-03-19 Joseph Myers <joseph@codesourcery.com>
6218 * math/s_clog.c: Include <float.h>.
6219 (__clog): Scale large or subnormal inputs.
6220 * math/s_clogf.c: Likewise.
6221 * math/s_clogl.c: Likewise.
6222 * math/s_clog10.c: Include <float.h>.
6223 (M_LOG10_2): Define.
6224 (__clog10): Scale large or subnormal inputs.
6225 * math/s_clog10f.c: Likewise.
6226 * math/s_clog10l.c: Likewise.
6227 * math/libm-test.inc (clog_test): Add more tests.
6228 (clog10_test): Likewise.
6229 * sysdeps/i386/fpu/libm-test-ulps: Update.
6230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6233 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6235 * math/libm-test.inc (atan2_test): Add another test.
6237 * Makerules (common-objdir-compile): Remove.
6238 * sysdeps/unix/Makefile (config-generated): Do not add
6239 $(unix-generated) to variable.
6240 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6241 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6243 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6245 [generic bits/local_lim.h] (before-compile): Do not append to
6247 [generic bits/local_lim.h] (common-generated): Likewise.
6248 [generic sys/param.h] (before-compile): Do not append to variable.
6249 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6250 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6251 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6252 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6254 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6255 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6256 [generic sys/param.h] ($(addprefix
6257 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6258 [generic sys/param.h] (common-generated): Do not append to
6260 [generic sys/param.h] (sysdep_headers): Likewise.
6261 [generic bits/errno.h] (before-compile): Do not append to
6263 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6265 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6266 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6267 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6268 [generic bits/errno.h] (common-generated): Do not append to
6270 [generic bits/ioctls.h] (before-compile): Do not append to
6272 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6274 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6275 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6276 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6278 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6279 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6280 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6281 [generic bits/ioctls.h] (common-generated): Do not append to
6283 [generic sys/syscall.h] (syscall.h): Remove variable.
6284 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6286 [generic sys/syscall.h] (before-compile): Do not append to
6288 [generic sys/syscall.h] (common-generated): Likewise.
6289 * sysdeps/unix/errnos-tmpl.c: Remove file.
6290 * sysdeps/unix/errnos.awk: Likewise.
6291 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6292 * sysdeps/unix/ioctls.awk: Likewise.
6293 * sysdeps/unix/mk-local_lim.c: Likewise.
6294 * sysdeps/unix/snarf-ioctls: Likewise.
6296 2012-03-19 Richard Henderson <rth@twiddle.net>
6298 * sysdeps/i386/fpu/fenv_private.h: New file.
6299 * sysdeps/i386/fpu/math_private.h: Use it.
6300 (math_opt_barrier, math_force_eval): Remove.
6301 (libc_feholdexcept_setround_53bit): Remove.
6302 (libc_feupdateenv_53bit): Remove.
6303 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6304 (math_opt_barrier, math_force_eval): Remove.
6305 (libc_feholdexcept): Remove.
6306 (libc_feholdexcept_setround): Remove.
6307 (libc_fetestexcept, libc_fesetenv): Remove.
6308 (libc_feupdateenv_test): Remove.
6309 (libc_feupdateenv, libc_feholdsetround): Remove.
6310 (libc_feresetround): Remove.
6312 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6313 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6315 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6316 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6317 (libc_feupdateenv_testl): New.
6318 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6319 (libc_feupdateenv_testf): New.
6320 (libc_feupdateenv): Use libc_feupdateenv_test.
6321 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6322 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6324 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6325 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6326 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6327 (libc_feresetround_noex): New.
6328 (libc_feresetround_noexf): New.
6329 (libc_feresetround_noexl): New.
6330 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6331 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6332 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6333 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6335 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6336 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6338 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6339 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6340 SET_RESTORE_ROUND_NOEX.
6341 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6342 SET_RESTORE_ROUND_NOEXF.
6343 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6344 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6345 (libc_feholdsetroundf): New.
6346 (libc_feresetround, libc_feresetroundf): New.
6348 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6349 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6350 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6352 * sysdeps/generic/math_private.h: Include <fenv.h>.
6353 (default_libc_feholdexcept): New.
6354 (default_libc_feholdexcept_setround): New.
6355 (default_libc_fesetenv, default_libc_feupdateenv): New.
6356 (libc_feholdexcept): Only define if undefined.
6357 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6358 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6359 (libc_feholdexcept_setroundl): Likewise.
6360 (libc_feholdexcept_setround_53bit): Likewise.
6361 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6362 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6363 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6364 (libc_feupdateenv_53bit): Likewise.
6365 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6366 (libc_feholdexcept): Convert from macro to inline function.
6367 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6368 (libc_fesetenv, libc_feupdateenv): Likewise.
6370 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6371 not previously defined.
6372 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6373 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6374 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6375 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6376 * sysdeps/ieee754/flt-32/math_private.h: New file.
6377 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6378 math_private.h below SET_FLOAT_WORD.
6379 (__isnan, __isinf_ns, __finite): Remove.
6380 (__isnanf, __isinf_nsf, __finitef): Remove.
6382 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6386 2012-03-17 David S. Miller <davem@davemloft.net>
6389 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6392 2012-03-16 David S. Miller <davem@davemloft.net>
6394 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6398 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6400 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6401 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6402 sysdep_routines when subdir is sysvipc.
6403 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6406 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6408 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6410 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6413 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6415 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6416 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6417 (__lround): Renamed to ...
6418 (__llround): This. Replace long int with long long int.
6419 Define lround functions as aliases of llround functions.
6420 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6422 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6424 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6425 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6426 adresses to uintptr_t. Replace "long int" and "unsigned long
6427 int" with "greg_t" on va_arg.
6429 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6431 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6432 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6434 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6435 Move e_machine check before EI_CLASS check. Handle x32
6436 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6437 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6438 SKIP_EM_IA_64 and include
6439 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6441 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6442 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6443 (add_system_dir): New macro.
6445 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6446 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6448 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6459 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6461 * math/w_j0f.c (j0f): Likewise.
6463 * math/w_j0l.c (__j0l): Likewise.
6465 * math/w_j1.c (j1): Likewise.
6467 * math/w_j1f.c (j1f): Likewise.
6469 * math/w_j1l.c (__j1l): Likewise.
6471 * math/w_jn.c (jn): Likewise.
6473 * math/w_jnf.c (jnf): Likewise.
6475 * math/w_jnl.c (__jnl): Likewise.
6477 * math/libm-test.inc (j0_test): Add more tests.
6478 (j1_test): Likewise.
6479 (jn_test): Likewise. Add trailing semicolon to existing test.
6480 (y0_test): Likewise.
6481 (y1_test): Likewise.
6482 * sysdeps/i386/fpu/libm-test-ulps: Update.
6483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6487 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6488 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6489 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6490 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6491 (__tanl): Set errno for infinite argument.
6492 * sysdeps/i386/fpu/mptan.c: Remove.
6493 * sysdeps/i386/fpu/s_tan.S: Likewise.
6494 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6495 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6496 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6497 * math/libm-test.inc (tan_test): Add more tests and enable more
6498 tests for double and long double.
6499 * sysdeps/i386/fpu/libm-test-ulps: Update.
6500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6502 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6504 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6505 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6507 2012-03-16 Roland McGrath <roland@hack.frob.com>
6509 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6510 * configure.in: Use it for both main tree and add-ons.
6511 * configure: Regenerated.
6513 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6515 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6517 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6519 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6523 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6524 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6525 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6526 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6527 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6529 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6530 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6532 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6533 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6534 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6535 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6536 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6537 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6538 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6539 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6540 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6541 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6542 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6543 * math/libm-test.inc (cos_test): Add more tests and enable more
6544 tests for long double.
6545 (sin_test): Likewise.
6546 (sincos_test): Likewise.
6547 * sysdeps/i386/fpu/libm-test-ulps: Update.
6548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6550 2012-03-16 David S. Miller <davem@davemloft.net>
6552 * sysdeps/sparc/fpu/math_private.h: New file.
6554 2012-03-15 David S. Miller <davem@davemloft.net>
6556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6566 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6570 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6571 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6573 * sysdeps/sparc/sparc-ifunc.h: New file.
6574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6599 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6600 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6601 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6602 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6612 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6613 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6614 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6615 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6616 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6617 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6619 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6621 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6625 2012-03-15 Andreas Jaeger <aj@suse.de>
6628 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6629 ieee754/flt-32 implementation for sin, cos and sincos.
6630 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6631 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6632 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6633 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6634 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6635 ieee754/flt-32 implementation for tan.
6637 * math/libm-test.inc (cos_test): Enable some large input tests for
6639 (sin_test): Likewise.
6640 (sincos_test): Likewise.
6641 (tan_test): Add tests for large input.
6643 * sysdeps/i386/fpu/libm-test-ulps: Update.
6645 2012-03-15 Andreas Jaeger <aj@suse.de>
6648 * math/libm-test.inc (cos_test): Add more test cases.
6649 (sin_test): Likewise.
6650 (sincos_test): Likewise.
6652 2012-03-15 Andreas Jaeger <aj@suse.de>
6655 * math/libm-test.inc (cos_test): Add a test case for large input
6657 (sin_test): Likewise.
6658 (sincos_test): Likewise.
6660 2012-03-15 Andreas Jaeger <aj@suse.de>,
6661 Joseph Myers <joseph@codesourcery.com>
6664 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6665 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6666 * sysdeps/i386/fpu/branred.c: Likewise.
6667 * sysdeps/i386/fpu/dosincos.c: Likewise.
6668 * sysdeps/i386/fpu/mpa.c: Likewise.
6669 * sysdeps/i386/fpu/s_cos.S: Likewise.
6670 * sysdeps/i386/fpu/s_sin.S: Likewise.
6671 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6672 * sysdeps/i386/fpu/sincos32.c: Likewise.
6674 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6676 (libc_feupdateenv_53bit): Define.
6677 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6679 (libc_feupdateenv_53bit): Define.
6681 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6682 53 bit (without extend i386 double precision).
6684 * math/libm-test.inc (sincos_test): Add tests for large input.
6688 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6690 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6694 2012-03-15 David S. Miller <davem@davemloft.net>
6696 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6697 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6698 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6699 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6705 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6723 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6724 fmin/fmax sysdep routines.
6725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6727 2012-03-14 David S. Miller <davem@davemloft.net>
6729 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6731 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6732 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6733 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6734 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6735 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6736 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6737 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6739 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6740 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6741 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6742 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6743 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6744 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6746 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6747 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6748 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6749 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6750 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6751 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6752 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6753 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6754 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6755 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6756 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6757 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6801 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6806 * sysdeps/sparc/configure.in: New file.
6807 * sysdeps/sparc/configure: Generate.
6808 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6809 * configure: Regenerate.
6810 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6811 * config.make.in (have-as-vis3): New.
6812 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6813 available use -Av9d instead of -Av9a.
6814 * sysdeps/sparc/sparc64/Makefile: Likewise.
6815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6824 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6825 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6826 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6827 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6828 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6830 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6831 fzeros/fnegs to load 0x80000000 into a float register instead of
6833 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6835 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6837 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6839 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6840 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6841 ($(inst_includedir)/bits/syscall.h): Remove rule.
6842 ($(objpfx)bits/syscall.d): Include instead of
6843 $(objpfx)syscall-list.d.
6844 (generated): Change syscall-list.h and syscall-list.d to
6845 bits/syscall.h and bits/syscall.d.
6847 2012-03-14 Roland McGrath <roland@hack.frob.com>
6850 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6852 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6855 * math/s_csqrt.c: Include <float.h>.
6856 (__csqrt): Scale large or subnormal inputs.
6857 * math/s_csqrtf.c: Likewise.
6858 * math/s_csqrtl.c: Likewise.
6859 * math/libm-test.inc (csqrt_test): Add more tests.
6860 * sysdeps/i386/fpu/libm-test-ulps: Update.
6861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6864 * math/libm-test.inc (hypot_test): Add more tests.
6866 2012-03-13 David S. Miller <davem@davemloft.net>
6869 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6870 double-precision for the calculation instead of scaling.
6872 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6874 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6875 manipulate bits before adding and subtracting TWO52[sx].
6876 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6877 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6879 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6881 2012-03-13 David S. Miller <davem@davemloft.net>
6883 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6884 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6885 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6886 rtld-global-offsets.h
6887 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6889 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6892 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6894 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6895 'err' in the ifdef scope in which it is actually used.
6897 * nss/nss_db/db-init.c: Include string.h
6899 2012-03-12 David S. Miller <davem@davemloft.net>
6901 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6902 masking out of the most significant byte of random value used.
6903 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6904 Fix coding style in previous change.
6906 * sysdeps/unix/sysv/linux/kernel-features.h
6907 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6908 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6910 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6913 2012-03-11 David S. Miller <davem@davemloft.net>
6915 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6916 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6917 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6918 for 'resultvar' otherwise things get truncated on 64-bit.
6920 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6921 Fix masking out of the most significant byte of random value used.
6923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6925 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6929 2012-03-09 David S. Miller <davem@davemloft.net>
6931 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6932 variables with appropriate CPP guards.
6933 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6934 frame pointer, not the stack pointer. Correct layout comments. Fix test
6935 on resulting framesize and the management of the outregs buffer for pltexit.
6936 Preserve floating point return values across _dl_call_pltexit call.
6937 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6938 framesize and the management of the outregs buffer for pltexit.
6939 Preserve floating point return values across _dl_call_pltexit
6941 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6942 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6943 (print_exit): Fix format string for return register value.
6945 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6947 * sunrpc/Makefile (others): Add rpcgen.
6948 ($(objpfx)rpcgen): Remove special build rule and dependency on
6950 * sunrpc/rpcgen.c: New file.
6952 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6955 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6956 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6957 * sysdeps/i386/crti.S: Likewise.
6958 * sysdeps/i386/crtn.S: Likewise.
6959 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6960 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6961 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6962 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6963 * sysdeps/sh/crti.S: Likewise.
6964 * sysdeps/sh/crtn.S: Likewise.
6965 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6968 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6970 * locale/programs/locfile-kw.gperf: Likewise.
6971 * locale/programs/charmap-kw.h: Regenerated.
6972 * locale/programs/locfile-kw.h: Likewise.
6975 * intl/plural.y: Replace FSF snail mail address with URL.
6976 * intl/plural.c: Regenerated.
6978 2012-03-09 Richard Henderson <rth@twiddle.net>
6980 * include/math_private.h: Remove file.
6981 * math/math_private.h: Move file ...
6982 * sysdeps/generic/math_private.h: ... here.
6984 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6985 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6986 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6988 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6989 and <math_private.h>.
6990 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6991 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6992 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6993 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6994 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6995 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6996 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6997 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6998 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6999 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7001 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7002 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7003 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7004 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7005 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7006 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7007 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7008 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7009 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7010 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7011 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7012 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7013 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7014 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7015 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7016 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7017 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7018 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7019 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7020 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7021 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7022 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7023 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7024 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7025 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7026 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7027 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7030 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7031 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7032 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7033 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7034 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7035 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7036 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7037 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7038 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7039 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7040 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7041 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7042 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7043 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7044 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7045 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7046 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7047 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7048 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7049 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7050 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7051 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7052 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7053 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7054 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7055 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7056 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7057 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7058 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7059 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7060 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7061 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7062 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7063 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7064 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7065 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7066 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7067 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7068 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7069 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7070 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7071 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7072 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7073 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7074 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7075 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7076 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7077 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7078 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7079 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7080 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7081 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7082 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7083 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7084 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7085 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7086 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7087 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7088 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7089 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7090 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7091 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7092 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7093 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7094 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7095 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7096 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7097 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7098 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7099 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7100 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7101 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7102 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7103 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7104 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7105 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7106 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7107 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7108 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7109 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7110 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7111 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7112 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7113 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7114 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7115 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7116 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7117 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7118 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7119 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7120 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7121 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7122 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7123 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7124 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7125 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7126 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7127 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7128 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7129 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7130 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7131 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7132 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7133 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7134 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7135 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7136 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7137 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7138 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7139 * sysdeps/ieee754/k_standard.c: Likewise.
7140 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7141 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7142 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7143 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7144 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7145 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7146 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7147 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7148 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7149 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7150 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7151 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7152 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7153 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7154 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7155 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7156 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7157 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7158 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7159 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7160 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7161 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7162 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7163 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7164 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7165 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7166 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7167 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7168 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7169 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7170 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7171 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7172 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7173 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7174 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7175 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7176 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7177 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7178 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7179 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7180 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7181 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7182 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7183 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7184 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7185 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7186 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7187 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7188 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7189 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7190 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7191 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7192 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7193 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7194 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7195 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7196 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7197 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7198 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7199 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7200 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7201 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7202 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7203 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7204 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7205 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7206 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7207 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7208 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7209 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7210 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7211 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7212 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7213 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7214 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7215 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7216 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7217 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7218 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7219 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7220 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7221 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7222 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7223 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7224 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7225 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7226 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7227 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7228 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7229 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7230 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7231 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7232 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7233 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7234 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7235 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7236 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7237 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7238 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7239 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7240 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7241 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7242 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7243 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7244 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7245 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7246 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7247 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7248 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7249 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7250 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7251 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7252 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7253 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7254 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7255 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7256 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7257 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7258 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7259 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7260 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7261 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7262 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7263 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7265 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7266 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7267 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7268 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7270 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7271 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7272 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7274 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7275 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7276 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7277 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7278 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7279 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7280 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7281 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7282 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7283 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7284 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7285 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7286 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7287 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7288 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7289 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7290 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7291 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7292 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7293 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7294 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7295 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7296 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7297 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7298 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7300 * sysdeps/ieee754/s_lib_version.c: Likewise.
7301 * sysdeps/ieee754/s_matherr.c: Likewise.
7302 * sysdeps/ieee754/s_signgam.c: Likewise.
7303 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7304 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7305 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7306 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7307 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7308 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7309 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7310 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7311 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7312 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7313 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7314 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7315 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7316 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7317 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7318 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7319 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7320 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7321 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7322 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7323 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7325 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7327 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7328 * sunrpc/rpc_main.c: Likewise.
7329 * sunrpc/rpc_svcout.c: Likewise.
7331 2012-03-09 David S. Miller <davem@davemloft.net>
7333 * include/math_private.h: New file.
7335 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7337 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7338 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7339 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7340 from <bits/socket_type.h>.
7341 (enum __socket_type): Don't define here.
7342 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7343 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7347 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7350 * Makerules ($(inst_includedir)/%.h): New rule.
7351 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7352 (install-others): Remove variable setting.
7353 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7355 2012-03-08 Richard Henderson <rth@twiddle.net>
7357 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7358 from macro to inline function; merge with the
7359 !__LIBC_INTERNAL_MATH_INLINES version.
7360 (__ieee754_sqrtf): Likewise.
7362 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7364 (__rintf, __floor, __floorf): Likewise.
7366 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7367 macro to inline function.
7368 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7370 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7371 not <math/math_private.h>.
7373 2012-03-08 David S. Miller <davem@davemloft.net>
7375 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7377 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7379 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7381 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7383 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7384 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7386 2012-03-08 Ulrich Drepper <drepper@gmail.com>
7388 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7389 be defined individually, they must be defined as a block. Define
7390 S for printing a string instead of hidint the different by using a
7391 macro for adding the 'l'.
7392 * stdio-common/tst-fphex-wide.c: Adjust.
7394 2012-03-07 Marek Polacek <polacek@redhat.com>
7396 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7398 2012-03-08 Marek Polacek <polacek@redhat.com>
7401 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7402 * stdio-common/tst-fphex.c: Define a few macros to make the
7403 test reusable. Use them.
7404 * stdio-common/tst-fphex-wide.c: New file.
7406 2012-03-08 Joseph Myers <joseph@codesourcery.com>
7409 * manual/macros.texi (gnusystems): New macro.
7410 (nongnusystems): Likewise.
7411 (gnulinuxhurdsystems): Likewise.
7412 (gnuhurdsystems): Likewise..
7413 (gnulinuxsystems): Likewise.
7414 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7415 variants of the GNU system, not "GNU system".
7416 * manual/conf.texi: Likewise.
7417 * manual/errno.texi: Likewise. Update example of errno macro
7419 * manual/filesys.texi: Likewise.
7420 (getumask): Document as specific to GNU/Hurd.
7421 * manual/install.texi: Likewise. Reword some references to
7423 * manual/intro.texi: Likewise.
7424 * manual/io.texi: Likewise.
7425 (File Name Portability): Detail which constraints are inapplicable
7426 to all GNU systems and which are only inapplicable to GNU/Hurd.
7427 * manual/job.texi: Likewise.
7428 * manual/llio.texi: Likewise.
7429 (O_NOCTTY): Document as present on GNU/Linux.
7430 * manual/maint.texi: Likewise.
7431 * manual/memory.texi: Likewise.
7432 * manual/pattern.texi: Likewise.
7433 * manual/pipe.texi: Likewise.
7434 * manual/process.texi: Likewise.
7435 * manual/resource.texi: Likewise.
7436 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7438 * manual/setjmp.texi: Likewise.
7439 * manual/signal.texi: Likewise.
7440 * manual/startup.texi: Likewise.
7441 * manual/stdio.texi: Likewise.
7442 * manual/terminal.texi: Likewise.
7443 (ONLCR): Document as POSIX.
7444 (OXTABS): Document availability on GNU/Linux as XTABS.
7445 (ONOEOT): Document availability separately from other bits.
7446 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7447 * manual/time.texi: Likewise.
7448 * manual/users.texi: Likewise.
7449 * INSTALL: Regenerated.
7450 * sysdeps/gnu/errlist.c: Regenerated.
7452 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7453 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7454 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7456 * configure: Regenerated.
7458 2012-03-07 Joseph Myers <joseph@codesourcery.com>
7460 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7461 default includes instead of AC_HEADER_CHECK.
7462 * sysdeps/i386/configure: Regenerated.
7465 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7466 * math/s_cacoshf.c (__cacoshf): Likewise.
7467 * math/s_cacoshl.c (__cacoshl): Likewise.
7468 * math/s_casinh.c (__casinh): Set signs of result from argument.
7469 * math/s_casinhf.c (__casinhf): Likewise.
7470 * math/s_casinhl.c (__casinhl): Likewise.
7471 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7472 (casinh_test): Add more tests.
7473 * sysdeps/i386/fpu/libm-test-ulps: Update.
7474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7476 2012-03-07 Ulrich Drepper <drepper@gmail.com>
7478 * po/zh_TW.po: Update from translation team.
7480 * login/Makefile (distribute): Remove variable.
7481 * catgets/Makefile: Likewise.
7482 * mach/Makefile: Likewise.
7483 * malloc/Makefile: Likewise.
7484 * misc/Makefile: Likewise.
7485 * iconv/Makefile: Likewise.
7486 * nscd/Makefile: Likewise.
7487 * hurd/Makefile: Likewise.
7488 * manual/Makefile: Likewise.
7489 * locale/Makefile: Likewise.
7490 * intl/Makefile: Likewise.
7491 * conform/Makefile: Likewise.
7492 * nss/Makefile: Likewise.
7493 * time/Makefile: Likewise.
7494 * soft-fp/Makefile: Likewise.
7495 * dirent/Makefile: Likewise.
7496 * gmon/Makefile: Likewise.
7497 * po/Makefile: Likewise.
7498 * rt/Makefile: Likewise.
7499 * socket/Makefile: Likewise.
7500 * math/Makefile: Likewise.
7501 * signal/Makefile: Likewise.
7502 * debug/Makefile: Likewise.
7503 * elf/Makefile: Likewise.
7504 * timezone/Makefile: Likewise.
7505 * stdlib/Makefile: Likewise.
7506 * iconvdata/Makefile: Likewise.
7507 * sunrpc/Makefile: Likewise.
7508 * io/Makefile: Likewise.
7509 * argp/Makefile: Likewise.
7510 * inet/Makefile: Likewise.
7511 * hesiod/Makefile: Likewise.
7512 * grp/Makefile: Likewise.
7513 * csu/Makefile: Likewise.
7514 * wctype/Makefile: Likewise.
7515 * crypt/Makefile: Likewise.
7516 * libio/Makefile: Likewise.
7517 * string/Makefile: Likewise.
7518 * nis/Makefile: Likewise.
7519 * resolv/Makefile: Likewise.
7520 * stdio-common/Makefile: Likewise.
7521 * wcsmbs/Makefile: Likewise.
7522 * dlfcn/Makefile: Likewise.
7523 * posix/Makefile: Likewise.
7526 * timezone/Makefile: Don't install timezone files, just the programs
7529 2012-03-06 Ulrich Drepper <drepper@gmail.com>
7531 * nss/databases.def: Add missing gshadow entry.
7533 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7535 2012-03-06 Marek Polacek <polacek@redhat.com>
7538 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7539 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7540 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7541 * stdio-common/tst-long-dbl-fphex.c: New file.
7543 2012-03-06 David S. Miller <davem@davemloft.net>
7545 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7546 (set_obp_int): New function.
7547 (get_obp_int): New function.
7548 (__get_clockfreq_via_dev_openprom): Likewise.
7549 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7550 Avoid unused variable warnings on 'val' and use builtin_expect.
7551 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7553 (INLINE_CLONE_SYSCALL): Likewise.
7555 2012-03-05 David S. Miller <davem@davemloft.net>
7557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7559 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7563 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7565 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7567 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
7569 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7570 Replace gettimeofday with __vdso_gettimeofday.
7572 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7573 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7574 __vdso_clock_gettime and __vdso_getcpu.
7576 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7577 time with __vdso_time.
7579 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7581 * manual/lang.texi (size_t): Note types to which size_t may be
7582 equivalent with the GNU C Library, but do not describe when
7583 differences between them are significant.
7585 2012-03-05 Andreas Jaeger <aj@suse.de>
7587 * sysdeps/i386/fpu/libm-test-ulps: Update.
7589 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7592 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7593 (__ieee754_pow): Save and restore rounding mode and use
7594 round-to-nearest for main computations.
7595 * math/libm-test.inc (pow_test_tonearest): New function.
7596 (pow_test_towardzero): Likewise.
7597 (pow_test_downward): Likewise.
7598 (pow_test_upward): Likewise.
7599 (main): Call the new functions.
7600 * sysdeps/i386/fpu/libm-test-ulps: Update.
7601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7604 * math/libm-test.inc (cosh_test_tonearest): New function.
7605 (cosh_test_towardzero): Likewise.
7606 (cosh_test_downward): Likewise.
7607 (cosh_test_upward): Likewise.
7608 (sinh_test_tonearest): Likewise.
7609 (sinh_test_towardzero): Likewise.
7610 (sinh_test_downward): Likewise.
7611 (sinh_test_upward): Likewise.
7612 (main): Call the new functions.
7613 * sysdeps/i386/fpu/libm-test-ulps: Update.
7614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7616 2012-03-05 Tom de Vries <tom@codesourcery.com>
7618 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7619 default stack guard is set in last bytes.
7620 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7622 2012-03-05 Kees Cook <keescook@chromium.org>
7624 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7627 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7628 possibly allocate from heap instead of stack.
7629 * stdio-common/bug-vfprintf-nargs.c: New file.
7630 * stdio-common/Makefile (tests): Add nargs overflow test.
7632 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7636 2012-03-03 Marek Polacek <polacek@redhat.com>
7638 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7639 * math/math_private.h: Likewise.
7640 * stdlib/tst-strtod.c: Likewise.
7641 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7642 * sysdeps/x86_64/bits/atomic.h: Likewise.
7644 2012-03-02 David S. Miller <davem@davemloft.net>
7646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7650 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7651 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7652 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7653 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7655 2012-03-02 Roland McGrath <roland@hack.frob.com>
7658 * manual/examples/README: New file, says the example source files
7659 can be used under GPL>=2.
7660 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7661 line containing just "*/".
7662 * manual/examples/add.c: Add copyright header (GPL>=2).
7663 * manual/examples/argp-ex1.c: Likewise.
7664 * manual/examples/argp-ex2.c: Likewise.
7665 * manual/examples/argp-ex3.c: Likewise.
7666 * manual/examples/argp-ex4.c: Likewise.
7667 * manual/examples/atexit.c: Likewise.
7668 * manual/examples/db.c: Likewise.
7669 * manual/examples/dir.c: Likewise.
7670 * manual/examples/dir2.c: Likewise.
7671 * manual/examples/execinfo.c: Likewise.
7672 * manual/examples/filecli.c: Likewise.
7673 * manual/examples/filesrv.c: Likewise.
7674 * manual/examples/fmtmsgexpl.c: Likewise.
7675 * manual/examples/genpass.c: Likewise.
7676 * manual/examples/inetcli.c: Likewise.
7677 * manual/examples/inetsrv.c: Likewise.
7678 * manual/examples/isockad.c: Likewise.
7679 * manual/examples/longopt.c: Likewise.
7680 * manual/examples/memopen.c: Likewise.
7681 * manual/examples/memstrm.c: Likewise.
7682 * manual/examples/mkfsock.c: Likewise.
7683 * manual/examples/mkisock.c: Likewise.
7684 * manual/examples/mygetpass.c: Likewise.
7685 * manual/examples/pipe.c: Likewise.
7686 * manual/examples/popen.c: Likewise.
7687 * manual/examples/rprintf.c: Likewise.
7688 * manual/examples/search.c: Likewise.
7689 * manual/examples/select.c: Likewise.
7690 * manual/examples/setjmp.c: Likewise.
7691 * manual/examples/sigh1.c: Likewise.
7692 * manual/examples/sigusr.c: Likewise.
7693 * manual/examples/stpcpy.c: Likewise.
7694 * manual/examples/strdupa.c: Likewise.
7695 * manual/examples/strftim.c: Likewise.
7696 * manual/examples/strncat.c: Likewise.
7697 * manual/examples/subopt.c: Likewise.
7698 * manual/examples/swapcontext.c: Likewise.
7699 * manual/examples/termios.c: Likewise.
7700 * manual/examples/testopt.c: Likewise.
7701 * manual/examples/testpass.c: Likewise.
7702 * manual/examples/timeval_subtract.c: Likewise.
7705 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7707 * manual/timeval_subtract.c.texi: ... here, new file.
7709 2012-03-02 David S. Miller <davem@davemloft.net>
7711 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7713 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7716 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7717 (__sin): Save and restore rounding mode and use round-to-nearest
7718 for all computations.
7719 (__cos): Save and restore rounding mode and use round-to-nearest
7720 for all computations.
7721 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7723 (tan): Save and restore rounding mode and use round-to-nearest for
7725 * math/libm-test.inc (cos_test_tonearest): New function.
7726 (cos_test_towardzero): Likewise.
7727 (cos_test_downward): Likewise.
7728 (cos_test_upward): Likewise.
7729 (sin_test_tonearest): Likewise.
7730 (sin_test_towardzero): Likewise.
7731 (sin_test_downward): Likewise.
7732 (sin_test_upward): Likewise.
7733 (tan_test_tonearest): Likewise.
7734 (tan_test_towardzero): Likewise.
7735 (tan_test_downward): Likewise.
7736 (tan_test_upward): Likewise.
7737 (main): Call the new functions.
7738 * sysdeps/i386/fpu/libm-test-ulps: Update.
7739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7742 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7743 small n, then large n, before computing and testing k+n.
7744 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7745 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7747 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7749 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7750 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7751 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7752 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7753 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7754 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7755 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7756 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7757 * math/libm-test.inc (scalbn_test): Add more tests.
7758 (scalbln_test): Likewise.
7760 * manual/filesys.texi (mode_t): Describe constraints on size and
7761 signedness, not exact equivalence to a particular type.
7763 (ino64_t): Likewise.
7765 (nlink_t): Likewise.
7766 (blkcnt_t): Likewise.
7767 (blkcnt64_t): Likewise.
7768 * manual/llio.texi (off_t): Likewise.
7771 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7772 (__ieee754_exp): Save and restore rounding mode and use
7773 round-to-nearest for all computations.
7774 * math/libm-test.inc (exp_test_tonearest): New function.
7775 (exp_test_towardzero): Likewise.
7776 (exp_test_downward): Likewise.
7777 (exp_test_upward): Likewise.
7778 (main): Call the new functions.
7779 * sysdeps/i386/fpu/libm-test-ulps: Update.
7780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7782 2012-03-01 Chris Demetriou <cgd@google.com>
7784 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7785 have predictable order.
7787 2012-03-01 David S. Miller <davem@davemloft.net>
7789 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7791 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7792 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7793 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7794 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7796 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7797 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7798 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7800 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7801 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7802 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7803 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7804 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7808 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7809 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7810 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7812 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7813 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7814 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7815 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7816 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7817 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7818 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7819 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7820 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7821 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7822 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7823 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7824 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7825 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7826 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7827 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7828 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7829 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7830 * sysdeps/sparc/elf/configure: Regenerated.
7832 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7834 * configure.in (AS, LD): Require binutils 2.20 or later.
7835 * configure: Regenerated.
7836 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7837 as required minimum version.
7838 * INSTALL: Regenerated.
7842 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7843 before squaring exponent.
7844 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7845 bottom long double and 27 bits of top long double before squaring
7847 * math/libm-test.inc (erfc_test): Add more tests.
7848 * sysdeps/i386/fpu/libm-test-ulps: Update.
7849 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7852 2012-03-01 Kai Tietz <ktietz@redhat.com>
7854 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7855 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7856 containing bit-fields.
7857 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7858 * soft-fp/single.h (_FP_UNION_S): Likewise.
7859 * soft-fp/double.h (_FP_UNION_D): Likewise.
7861 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7864 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7865 not include ../strcmp.S.
7866 [USE_AS_STRNCASECMP_L]: Likewise.
7867 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7868 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7869 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7870 (__strncasecmp_l_ia32): Define as alias to
7871 __strncasecmp_l_nonascii.
7874 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7875 * sysdeps/i386/fpu/libm-test-ulps: Update.
7876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7878 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7881 2012-02-29 Jeff Law <law@redhat.com>
7883 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7886 2012-02-29 Marek Polacek <polacek@redhat.com>
7889 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7890 * elf/Makefile: Add rules to run tst-unused-dep.out.
7892 2012-02-28 David S. Miller <davem@davemloft.net>
7894 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7895 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7896 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7897 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7898 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7899 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7901 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7903 * math/libm-test.inc (llround_test): Move one test from
7904 lround_test. Use TEST_f_L in moved test.
7905 (lround_test): Move misplaced test to llround_test. Add testcase
7908 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7910 * sysdeps/x86_64/fpu/e_expf.S: New file.
7911 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7913 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7916 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7917 of remain_len that may cause incomplete multi-byte character and
7919 * posix/bug-regex33.c: New file.
7920 * posix/Makefile (tests): Add bug-regex33.
7922 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7924 * manual/macros.texi: New file.
7925 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7926 * manual/libc.texinfo: Include macros.texi.
7927 * manual/creatute.texi: Likewise.
7928 * manual/install.texi: Likewise.
7929 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7930 @glibcadj{} in references to the GNU C Library.
7931 * manual/charset.texi: Likewise.
7932 * manual/conf.texi: Likewise.
7933 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7934 when not using those macros.
7935 * manual/creature.texi: Likewise.
7936 * manual/crypt.texi: Likewise.
7937 * manual/errno.texi: Likewise.
7938 * manual/filesys.texi: Likewise.
7939 * manual/header.texi: Likewise.
7940 * manual/install.texi: Likewise.
7941 * manual/intro.texi: Likewise.
7942 * manual/io.texi: Likewise.
7943 * manual/job.texi: Likewise.
7944 * manual/lang.texi: Likewise.
7945 * manual/libc.texiinfo: Likewise.
7946 * manual/llio.texi: Likewise.
7947 * manual/locale.texi: Likewise.
7948 * manual/maint.texi: Likewise.
7949 * manual/math.texi: Likewise.
7950 * manual/memory.texi: Likewise.
7951 * manual/message.texi: Likewise.
7952 * manual/nss.texi: Likewise.
7953 * manual/pattern.texi: Likewise.
7954 * manual/process.texi: Likewise.
7955 * manual/resource.texi: Likewise.
7956 * manual/search.texi: Likewise.
7957 * manual/setjmp.texi: Likewise.
7958 * manual/signal.texi: Likewise.
7959 * manual/socket.texi: Likewise.
7960 * manual/startup.texi: Likewise.
7961 * manual/stdio.texi: Likewise.
7962 * manual/string.texi: Likewise.
7963 * manual/sysinfo.texi: Likewise.
7964 * manual/syslog.texi: Likewise.
7965 * manual/terminal.texi: Likewise.
7966 * manual/time.texi: Likewise.
7967 * manual/users.texi: Likewise.
7968 * INSTALL: Regenerated.
7969 * NOTES: Regenerated.
7970 * sysdeps/gnu/errlist.c: Regenerated.
7972 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7974 * include/dirent.h: Include <dirstream.h> before
7977 2012-02-28 David S. Miller <davem@davemloft.net>
7979 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7980 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7981 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7982 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7984 2012-02-27 David S. Miller <davem@davemloft.net>
7986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7988 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7989 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7992 frame pointer instead of stack pointer relative arg slot.
7993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7994 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7995 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7997 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8000 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8002 2012-02-27 David S. Miller <davem@davemloft.net>
8004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8008 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8009 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8010 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8011 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8013 2012-02-27 Joseph Myers <joseph@codesourcery.com>
8015 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8016 later. Allow versions 5-9.
8017 * configure: Regenerated.
8018 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8019 required minimum version and 4.6 as recommended version. Do not
8020 mention bugs in GCC 2.7 and 2.8.
8021 * INSTALL: Regenerated.
8023 2012-02-27 David S. Miller <davem@davemloft.net>
8025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8029 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8030 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8031 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8032 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8034 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8035 manipulate bits before adding and subtracting TWO112[sx].
8036 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8038 2012-02-27 Roland McGrath <roland@hack.frob.com>
8041 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8042 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8043 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8044 being in POSIX, because they are in 1003.1-2008.
8046 * rt/tst-aio.c: Include <fcntl.h>.
8047 * rt/tst-aio7.c: Likewise.
8048 * rt/tst-aio64.c: Likewise.
8050 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8052 2012-02-27 Joseph Myers <joseph@codesourcery.com>
8054 * manual/install.texi (--with-headers): Describe headers as
8055 interface headers, not private headers.
8056 (Specific advice for GNU/Linux systems): Describe use of headers
8057 from "make headers_install", not private headers from older
8059 * INSTALL: Regenerated.
8060 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8062 * sysdeps/unix/sysv/linux/configure: Regenerated.
8064 * manual/llio.texi (fclean): Remove documentation.
8066 * manual/Makefile (libc-texi-generated): New variable. Include
8068 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8069 $(libc-texi-generated), not duplicated list of files.
8070 (version.texi, stamp-version): New rules.
8071 (realclean): Remove $(libc-texi-generated), not individual files
8072 from that list. Do not remove dir-add.texinfo.
8073 * manual/libc.texinfo: Comment out uses of edition numbers and
8074 references to printed manual. Remove last-updated dates.
8075 (EDITION): Comment out.
8077 (VERSION, UPDATED): Remove.
8078 (version.texi): Include.
8080 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8082 * sysdeps/posix/spawni.c: Include <signal.h>.
8083 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8084 * sysdeps/pthread/aio_fsync.c: Likewise.
8086 2012-02-26 Ulrich Drepper <drepper@gmail.com>
8088 * conform/Makefile (tests): Run only when not cross-compiling and
8089 when fast-check is not defined.
8091 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8092 * conform/data/limits.h-data: Fixes for POSIX2008.
8093 * conform/run-conformtest.sh: Run all tests.
8094 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8096 * include/bits/dlfcn.h: Likewise.
8097 * include/langinfo.h: Likewise.
8098 * include/monetary.h: Likewise.
8099 * include/sys/poll.h: Likewise.
8101 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8103 * posix/spawn.h: Define __need_sigset_t.
8104 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8105 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8106 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8107 to get sigevent_t only.
8108 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8110 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8111 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8112 process_vm_writev only for __USE_GNU.
8113 * termios/termios.h: Declare tcgetsid also for POSIX2008.
8115 * conform/Makefile: For now ignore errors from run-conformtest.
8116 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8117 POSIX to avoid namespace pollution. Don't prepend headers.
8118 * conform/data/aio.h-data: Fixes for POSIX testing.
8119 * conform/data/fcntl.h-data: Likewise.
8120 * conform/data/glob.h-data: Likewise.
8121 * conform/data/grp.h-data: Likewise.
8122 * conform/data/pthread.h-data: Likewise.
8123 * conform/data/pwd.h-data: Likewise.
8124 * conform/data/signal.h-data: Likewise.
8125 * conform/data/spawn.h-data: Likewise.
8126 * conform/data/stdio.h-data: Likewise.
8127 * conform/data/stdlib.h-data: Likewise.
8128 * conform/data/stropts.h-data: Likewise.
8129 * conform/data/sys/mman.h-data: Likewise.
8130 * conform/data/sys/stat.h-data: Likewise.
8131 * conform/data/sys/types.h-data: Likewise.
8132 * conform/data/sys/wait.h-data: Likewise.
8133 * conform/data/time.h-data: Likewise.
8134 * conform/data/unistd.h-data: Likewise.
8135 * conform/data/utime.h-data: Likewise.
8137 * io/sys/stat.h: fchmod was always in POSIX.
8138 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8139 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8140 * rt/aio.h: Define __need_timespec before including <time.h>.
8141 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8142 struct. Add forward declaration of pthread_attr_t and use it in
8144 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8145 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8146 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8147 always remove CLK_TCK definition.
8149 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8151 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8153 2012-02-25 Ulrich Drepper <drepper@gmail.com>
8155 * conform/run-conformtest.sh: New file.
8156 * conform/Makefile: Run run-conformtest for tests.
8157 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8160 * conform/data/uchar.h-data: New file.
8161 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8162 * conform/data/arpa/inet.h-data: Likewise.
8163 * conform/data/assert.h-data: Likewise.
8164 * conform/data/complex.h-data: Likewise.
8165 * conform/data/cpio.h-data: Likewise.
8166 * conform/data/ctype.h-data: Likewise.
8167 * conform/data/dirent.h-data: Likewise.
8168 * conform/data/dlfcn.h-data: Likewise.
8169 * conform/data/errno.h-data: Likewise.
8170 * conform/data/fcntl.h-data: Likewise.
8171 * conform/data/float.h-data: Likewise.
8172 * conform/data/fmtmsg.h-data: Likewise.
8173 * conform/data/fnmatch.h-data: Likewise.
8174 * conform/data/ftw.h-data: Likewise.
8175 * conform/data/glob.h-data: Likewise.
8176 * conform/data/grp.h-data: Likewise.
8177 * conform/data/iconv.h-data: Likewise.
8178 * conform/data/inttypes.h-data: Likewise.
8179 * conform/data/langinfo.h-data: Likewise.
8180 * conform/data/libgen.h-data: Likewise.
8181 * conform/data/limits.h-data: Likewise.
8182 * conform/data/locale.h-data: Likewise.
8183 * conform/data/math.h-data: Likewise.
8184 * conform/data/monetary.h-data: Likewise.
8185 * conform/data/mqueue.h-data: Likewise.
8186 * conform/data/ndbm.h-data: Likewise.
8187 * conform/data/net/if.h-data: Likewise.
8188 * conform/data/netdb.h-data: Likewise.
8189 * conform/data/netinet/in.h-data: Likewise.
8190 * conform/data/nl_types.h-data: Likewise.
8191 * conform/data/poll.h-data: Likewise.
8192 * conform/data/pthread.h-data: Likewise.
8193 * conform/data/pwd.h-data: Likewise.
8194 * conform/data/regex.h-data: Likewise.
8195 * conform/data/sched.h-data: Likewise.
8196 * conform/data/search.h-data: Likewise.
8197 * conform/data/semaphore.h-data: Likewise.
8198 * conform/data/setjmp.h-data: Likewise.
8199 * conform/data/signal.h-data: Likewise.
8200 * conform/data/spawn.h-data: Likewise.
8201 * conform/data/stdarg.h-data: Likewise.
8202 * conform/data/stdio.h-data: Likewise.
8203 * conform/data/stdlib.h-data: Likewise.
8204 * conform/data/string.h-data: Likewise.
8205 * conform/data/strings.h-data: Likewise.
8206 * conform/data/stropts.h-data: Likewise.
8207 * conform/data/sys/ipc.h-data: Likewise.
8208 * conform/data/sys/mman.h-data: Likewise.
8209 * conform/data/sys/msg.h-data: Likewise.
8210 * conform/data/sys/resource.h-data: Likewise.
8211 * conform/data/sys/select.h-data: Likewise.
8212 * conform/data/sys/sem.h-data: Likewise.
8213 * conform/data/sys/shm.h-data: Likewise.
8214 * conform/data/sys/socket.h-data: Likewise.
8215 * conform/data/sys/stat.h-data: Likewise.
8216 * conform/data/sys/statvfs.h-data: Likewise.
8217 * conform/data/sys/time.h-data: Likewise.
8218 * conform/data/sys/timeb.h-data: Likewise.
8219 * conform/data/sys/times.h-data: Likewise.
8220 * conform/data/sys/types.h-data: Likewise.
8221 * conform/data/sys/uio.h-data: Likewise.
8222 * conform/data/sys/un.h-data: Likewise.
8223 * conform/data/sys/utsname.h-data: Likewise.
8224 * conform/data/sys/wait.h-data: Likewise.
8225 * conform/data/syslog.h-data: Likewise.
8226 * conform/data/tar.h-data: Likewise.
8227 * conform/data/termios.h-data: Likewise.
8228 * conform/data/utime.h-data: Likewise.
8229 * conform/data/utmpx.h-data: Likewise.
8230 * conform/data/varargs.h-data: Likewise.
8231 * conform/data/wchar.h-data: Likewise.
8232 * conform/data/wctype.h-data: Likewise.
8233 * conform/data/wordexp.h-data: Likewise.
8235 * include/stropts.h: New file.
8236 * include/uchar.h: New file.
8237 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8238 * include/assert.h: Likewise.
8239 * include/ctype.h: Likewise.
8240 * include/dirent.h: Likewise.
8241 * include/dlfcn.h: Likewise.
8242 * include/fcntl.h: Likewise.
8243 * include/fnmatch.h: Likewise.
8244 * include/glob.h: Likewise.
8245 * include/grp.h: Likewise.
8246 * include/libio.h: Likewise.
8247 * include/locale.h: Likewise.
8248 * include/math.h: Likewise.
8249 * include/net/if.h: Likewise.
8250 * include/netdb.h: Likewise.
8251 * include/netinet/in.h: Likewise.
8252 * include/pthread.h: Likewise.
8253 * include/pwd.h: Likewise.
8254 * include/regex.h: Likewise.
8255 * include/sched.h: Likewise.
8256 * include/search.h: Likewise.
8257 * include/setjmp.h: Likewise.
8258 * include/signal.h: Likewise.
8259 * include/stdio.h: Likewise.
8260 * include/stdlib.h: Likewise.
8261 * include/string.h: Likewise.
8262 * include/sys/cdefs.h: Likewise.
8263 * include/sys/mman.h: Likewise.
8264 * include/sys/msg.h: Likewise.
8265 * include/sys/resource.h: Likewise.
8266 * include/sys/select.h: Likewise.
8267 * include/sys/socket.h: Likewise.
8268 * include/sys/stat.h: Likewise.
8269 * include/sys/statvfs.h: Likewise.
8270 * include/sys/time.h: Likewise.
8271 * include/sys/times.h: Likewise.
8272 * include/sys/uio.h: Likewise.
8273 * include/sys/utsname.h: Likewise.
8274 * include/sys/wait.h: Likewise.
8275 * include/termios.h: Likewise.
8276 * include/time.h: Likewise.
8277 * include/ulimit.h: Likewise.
8278 * include/unistd.h: Likewise.
8279 * include/utime.h: Likewise.
8280 * include/wchar.h: Likewise.
8281 * include/wctype.h: Likewise.
8282 * include/wordexp.h: Likewise.
8284 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8286 * time/time.h: TIME_UTC must be a macro.
8287 Make timespec_get available for ISO C11 only as well.
8289 2012-02-24 Ulrich Drepper <drepper@gmail.com>
8291 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8292 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8294 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8296 * configure.in: Use -o not -a in test for unsupported multi-arch.
8298 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8300 * manual/texinfo.tex: Update to version 2012-01-19.16.
8302 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8304 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8306 2012-02-24 Roland McGrath <roland@hack.frob.com>
8309 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8310 * manual/fdl-1.3.texi: New file.
8311 * manual/fdl-1.1.texi: File removed.
8314 * manual/libc.texinfo (FDL_VERSION): New @set.
8315 Use it for mention of FDL in cover text.
8316 (Documentation License): Use it in @include file name.
8318 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8319 Roland McGrath <roland@hack.frob.com>
8322 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8323 not LONG_LONG_MAX and LONG_LONG_MIN.
8324 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8325 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8327 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8329 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8333 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8334 manipulate bits before adding and subtracting TWO23[sx].
8335 * math/libm-test.inc (nearbyint_test): Add more tests.
8337 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8340 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8341 bits before adding and subtracting TWO23[sx].
8342 * math/libm-test.inc (rint_test): Add more tests.
8343 (rint_test_tonearest): Likewise.
8344 (rint_test_towardzero): Likewise.
8345 (rint_test_downward): Likewise.
8346 (rint_test_upward: Likewise.
8348 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8351 * include/stdc-predef.h: New file. Extracted from features.h.
8352 * include/features.h: Include stdc-predef.h.
8353 * Makefile (headers): Add stdc-predef.h.
8354 * CONFORMANCE (Compiler limitations): Update.
8356 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8358 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8360 2012-02-21 David S. Miller <davem@davemloft.net>
8362 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8363 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8365 2012-02-20 David S. Miller <davem@davemloft.net>
8367 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8368 using a normal save/restore sequence, rather than allocating a
8369 dummy stack frame just to store a frame pointer and restore.
8370 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8372 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8374 * manual/install.texi: Fix stray word in line-wrapped comment.
8376 2012-02-20 David S. Miller <davem@davemloft.net>
8378 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8379 both binutils and gcc support GOTDATA.
8381 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8382 "rd %pc" in the PIC register setup sequences.
8384 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8385 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8386 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8387 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8388 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8390 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8391 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8392 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8393 (SYSCALL_ERROR_HANDLER): Likewise.
8394 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8395 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8396 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8397 (SYSCALL_ERROR_HANDLER): Likewise.
8399 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8400 (HAVE_GCC_GOTDATA): New.
8401 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8402 relocation support in both binutils and gcc.
8403 * sysdeps/sparc/elf/configure: Regenerate.
8405 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8406 * sysdeps/sparc/sparc32/elf/configure: Delete.
8407 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8408 * sysdeps/sparc/sparc64/elf/configure: Delete.
8409 * sysdeps/sparc/elf/configure.in: New file.
8410 * sysdeps/sparc/elf/configure: Generate.
8412 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8413 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8414 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8415 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8416 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8418 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8420 * manual/install.texi: Do not mention specific glibc version
8422 * manual/libc.texinfo (VERSION, UPDATED): Update.
8423 (@copying): Use @copyright{} and range of years.
8425 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8428 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8429 [crti.S not in sysdirs] (generated): Do not append.
8430 [crti.S not in sysdirs] (omit-deps): Likewise.
8431 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8432 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8433 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8434 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8435 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8437 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8438 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8439 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8440 * csu/defs.awk: Remove file.
8441 * sysdeps/generic/initfini.c: Likewise.
8442 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8444 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8447 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8449 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8450 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8451 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8452 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8453 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8454 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8456 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8457 (__EPOLL_PACKED): Define to empty if not defined by
8459 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8463 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8465 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8466 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8467 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8468 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8470 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8474 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8476 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8478 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8479 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8480 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8483 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8485 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8486 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8488 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8490 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8491 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8493 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8495 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8498 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8500 * math/w_acos.c: Use non-signaling floating-point comparisons.
8501 * math/w_acosf.c: Likewise.
8502 * math/w_acosh.c: Likewise.
8503 * math/w_acoshf.c: Likewise.
8504 * math/w_acoshl.c: Likewise.
8505 * math/w_acosl.c: Likewise.
8506 * math/w_asin.c: Likewise.
8507 * math/w_asinf.c: Likewise.
8508 * math/w_asinl.c: Likewise.
8509 * math/w_atanh.c: Likewise.
8510 * math/w_atanhf.c: Likewise.
8511 * math/w_atanhl.c: Likewise.
8512 * math/w_exp2.c: Likewise.
8513 * math/w_exp2f.c: Likewise.
8514 * math/w_exp2l.c: Likewise.
8515 * math/w_j0.c: Likewise.
8516 * math/w_j0f.c: Likewise.
8517 * math/w_j0l.c: Likewise.
8518 * math/w_j1.c: Likewise.
8519 * math/w_j1f.c: Likewise.
8520 * math/w_j1l.c: Likewise.
8521 * math/w_jn.c: Likewise.
8522 * math/w_jnf.c: Likewise.
8523 * math/w_log.c: Likewise.
8524 * math/w_log10.c: Likewise.
8525 * math/w_log10f.c: Likewise.
8526 * math/w_log10l.c: Likewise.
8527 * math/w_log2.c: Likewise.
8528 * math/w_log2f.c: Likewise.
8529 * math/w_log2l.c: Likewise.
8530 * math/w_logf.c: Likewise.
8531 * math/w_logl.c: Likewise.
8532 * math/w_sqrt.c: Likewise.
8533 * math/w_sqrtf.c: Likewise.
8534 * math/w_sqrtl.c: Likewise.
8535 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8536 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8537 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8538 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8539 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8541 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8544 * manual/string.texi (strnlen): Use correct parameter name in
8545 equivalent expression.
8547 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8550 * manual/users.texi (seteuid): Consistently use neweuid for
8553 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8556 * manual/nss.texi (Services in the NSS configuration): Correct
8557 list of services in example configuration file.
8559 2012-02-19 Nick Bowler <nbowler@draconx.ca>
8562 * manual/arith.texi: Remove statements about negative zero
8563 behaving identically to zero.
8565 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8568 * manual/install.texi: Do not document upgrading from libc5.
8570 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8573 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8575 2012-02-18 David S. Miller <davem@davemloft.net>
8577 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8578 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8579 %o7 across the call.
8580 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8582 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8584 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8585 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8586 * sysdeps/sparc/crtn.S: Likewise.
8588 2012-02-17 Ulrich Drepper <drepper@gmail.com>
8590 * aout/Makefile: Remove.
8592 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8595 * manual/examples/argp-ex1.c (main): Format definition in GNU
8597 * manual/examples/argp-ex2.c (main): Likewise.
8598 * manual/examples/argp-ex3.c (main): Likewise.
8599 * manual/examples/argp-ex4.c (main): Likewise.
8600 * manual/examples/longopt.c (main): Use new-style prototype
8602 * manual/examples/strncat.c (main): Specify return type and use
8603 (void) for arguments.
8604 * manual/examples/subopt.c (main): Use char **argv argument.
8606 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8609 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8612 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8615 * manual/string.texi (strchr): Change when strchrnul is
8618 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8621 * manual/locale.texi (setlocale): Document LOCPATH.
8623 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8626 * manual/process.texi (execle): Move @dots{} before last argument.
8628 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
8631 * manual/charset.texi (Generic Charset Conversion): Fix typo
8632 (LC_TYPE -> LC_CTYPE).
8634 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8637 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8638 (scalbnf): Likewise.
8639 (scalbnl): Likewise.
8640 (scalbln): Likewise.
8641 (scalblnf): Likewise.
8642 (scalblnl): Likewise.
8643 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8647 * manual/filesys.texi (telldir): Use braces around return type.
8648 * manual/llio.texi (mmap): Add space after comma.
8650 * manual/math.texi (jn): Use @var{} on parameter names.
8656 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8658 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8660 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8661 (sched_get_priority_max): Likewise.
8662 * manual/signal.texi (sigvec): Add space after comma.
8663 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8665 (if_indextoname): Likewise.
8666 (if_freenameindex): Likewise.
8667 (sendto): Use ',' instead of '.' in prototype.
8668 * manual/startup.texi (syscall): Use @dots{} instead of literal
8670 * manual/stdio.texi (__fpending): Separate initial words of
8671 paragraph from @deftypefun line.
8672 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8674 (vsyslog): Use @var{} on parameter names.
8675 * manual/terminal.texi (stty): Use @var{} on parameter names.
8676 * manual/users.texi (getutmp): Use @var{} on parameter names.
8677 (getutmpx): Likewise.
8679 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8682 * manual/stdio.texi (fopen): Fix typos in description of
8685 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8688 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8689 get clock_id definition.
8691 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
8694 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8695 (madvise): Cast every argument to void on its own.
8697 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8700 * manual/startup.texi (Exit Status): Fix typo.
8702 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8705 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8706 * manual/examples/argp-ex2.c: Likewise.
8707 * manual/examples/argp-ex3.c: Likewise.
8709 2012-02-16 Richard Henderson <rth@redhat.com>
8711 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8712 * sysdeps/s390/s390-32/initfini.c: Remove.
8713 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8714 * sysdeps/s390/s390-64/initfini.c: Remove.
8716 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8718 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8719 compiler output for sysdeps/generic/initfini.c.
8720 * sysdeps/sh/elf/initfini.c: Remove file.
8722 2012-02-16 David S. Miller <davem@davemloft.net>
8725 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8727 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8728 * sysdeps/sparc/crti.S: New file.
8729 * sysdeps/sparc/crtn.S: New file.
8730 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8731 * sysdeps/sparc/sparc64/Makefile: Likewise.
8733 2012-02-15 Mike Frysinger <vapier@gentoo.org>
8736 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8738 2012-02-15 Roland McGrath <roland@hack.frob.com>
8741 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8743 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8744 (write, read, close): Likewise.
8745 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8747 2012-02-15 Joseph Myers <joseph@codesourcery.com>
8749 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8750 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8751 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8752 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8754 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8755 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8758 2012-02-14 Marek Polacek <polacek@redhat.com>
8760 * sysdeps/x86_64/crti.S: New file.
8761 * sysdeps/x86_64/crtn.S: New file.
8762 * sysdeps/x86_64/elf/initfini.c: Remove file.
8764 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8766 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8767 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8768 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8769 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8771 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8772 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8775 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8777 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8778 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8779 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8780 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8782 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8783 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8786 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8788 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8789 __feraiseexcept instead of feraiseexcept.
8791 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8792 nanosleep invocations.
8793 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8794 strings, and add error checking for a nanosleep invocations.
8796 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8798 Replace FSF snail mail address with URLs, as per GNU coding standards.
8799 Most of the snail mail addresses were wrong anyway, and omitting
8800 them makes the source code easier to maintain. Almost all of the
8801 changes are to license notices and to locale LC_IDENTIFICATION
8802 addresses, except for this one:
8803 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8804 not its snail mail address.
8806 2012-02-09 Richard Henderson <rth@twiddle.net>
8808 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8809 of kernel-features.h.
8811 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8813 2012-02-08 Marek Polacek <polacek@redhat.com>
8815 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8816 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8817 * sysdeps/gnu/_G_config.h: Likewise.
8818 * sysdeps/generic/_G_config.h: Likewise.
8820 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8822 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8826 * sysdeps/powerpc/powerpc32/crti.S: New file.
8827 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8828 * sysdeps/powerpc/powerpc64/crti.S: New file.
8829 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8831 * Makeconfig (have-initfini): Don't set.
8832 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8833 * configure.in (nopic_initfini): Don't substitute.
8834 * config.h.in (HAVE_INITFINI): Don't #undef.
8835 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8836 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8838 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8840 Support crti.S and crtn.S provided directly by architectures.
8841 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8842 [crti.S in sysdirs] (omit-deps): Likewise.
8843 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8844 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8845 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8846 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8847 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8848 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8849 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8850 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8851 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8852 compiler output for sysdeps/generic/initfini.c.
8853 * sysdeps/i386/elf/Makefile: Remove file.
8854 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8856 2012-02-07 Marek Polacek <polacek@redhat.com>
8858 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8859 * sysdeps/gnu/_G_config.h: Likewise.
8860 * sysdeps/mach/hurd/_G_config.h: Likewise.
8862 2012-02-07 Marek Polacek <polacek@redhat.com>
8864 * math/Makefile (tests): Add tst-CMPLX2.
8865 * math/tst-CMPLX2.c: New file.
8867 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8869 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8871 * math/libm-test.inc (jn_test): Add missing L suffix.
8873 2012-02-06 Marek Polacek <polacek@redhat.com>
8875 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8876 * sysdeps/i386/fpu/e_powf.S: Likewise.
8877 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8878 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8879 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8880 * sysdeps/i386/fpu/e_pow.S: Likewise.
8881 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8882 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8883 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8884 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8885 * sysdeps/i386/fpu/e_log2.S: Likewise.
8886 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8887 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8888 * sysdeps/i386/fpu/e_powl.S: Likewise.
8889 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8890 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8891 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8892 * sysdeps/i386/fpu/e_logl.S: Likewise.
8893 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8894 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8895 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8896 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8897 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8898 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8899 * sysdeps/i386/fpu/e_log.S: Likewise.
8900 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8901 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8902 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8903 * sysdeps/i386/fpu/e_logf.S: Likewise.
8904 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8905 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8906 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8907 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8908 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8909 * sysdeps/i386/fpu/e_log10.S: Likewise.
8910 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8911 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8912 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8913 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8914 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8915 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8916 * sysdeps/i386/asm-syntax.h: Likewise.
8917 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8918 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8919 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8920 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8921 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8922 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8923 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8924 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8925 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8926 * sysdeps/powerpc/sysdep.h: Likewise.
8927 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8928 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8930 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8933 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8935 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8937 * sysdeps/i386/sysdep.h: Include <features.h>.
8938 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8941 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8943 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8945 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8948 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8950 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8951 (SETUP_PIC_REG): Use GET_PC_THUNK.
8952 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8955 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8957 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8958 for non-PIC compilation.
8959 (SETUP_PIC_REG): Add .p2align directive.
8960 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8961 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8962 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8963 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8964 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8965 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8966 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8967 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8968 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8969 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8970 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8971 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8972 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8973 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8974 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8975 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8976 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8977 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8978 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8979 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8980 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8981 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8982 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8983 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8984 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8985 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8986 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8987 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8988 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8989 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8990 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8991 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8992 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8993 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8994 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8995 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8996 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8997 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8998 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8999 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9000 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9002 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9004 * math/tst-CMPLX.c: Include <stdio.h>.
9006 2012-01-31 Joseph Myers <joseph@codesourcery.com>
9008 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9010 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9011 * sysdeps/sparc/bits/mathdef.h: Likewise.
9013 2012-01-31 Marek Polacek <polacek@redhat.com>
9015 * libio/libio.h: Don't define _PARAMS.
9016 * locale/programs/config.h: Don't define PARAMS.
9017 * stdlib/strtol_l.c: Likewise.
9018 (__strtol_l): Remove PARAMS from the prototype.
9020 2012-01-31 Ulrich Drepper <drepper@gmail.com>
9022 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9023 names. Just use the correct names. Remove unnecessary wrapper
9025 * malloc/arena.c: Likewise.
9026 * malloc/hooks.c: Likewise.
9028 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9029 ARENA_TEST says not to. Simplify test for creation of a new arena.
9030 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9032 2012-01-30 Ulrich Drepper <drepper@gmail.com>
9034 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9036 (update_get_addr): New function.
9037 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9038 GET_ADDR_MODULE parameter.
9040 2012-01-30 Joseph Myers <joseph@codesourcery.com>
9042 * crypt/cert.c: Remove __STDC__ conditionals.
9043 * crypt/crypt-entry.c: Likewise.
9044 * crypt/crypt_util.c: Likewise.
9045 * libio/filedoalloc.c: Likewise.
9046 * libio/fileops.c: Likewise.
9047 * libio/genops.c: Likewise.
9048 * libio/iofclose.c: Likewise.
9049 * libio/iofdopen.c: Likewise.
9050 * libio/iofopen.c: Likewise.
9051 * libio/iofopen64.c: Likewise.
9052 * libio/iogetdelim.c: Likewise.
9053 * libio/iopopen.c: Likewise.
9054 * libio/obprintf.c: Likewise.
9055 * libio/oldfileops.c: Likewise.
9056 * libio/oldiofclose.c: Likewise.
9057 * libio/oldiofdopen.c: Likewise.
9058 * libio/oldiofopen.c: Likewise.
9059 * libio/oldiopopen.c: Likewise.
9060 * libio/wfiledoalloc.c: Likewise.
9061 * libio/wgenops.c: Likewise.
9062 * locale/programs/xmalloc.c: Likewise.
9063 * misc/syslog.c: Likewise.
9064 * stdio-common/xbug.c: Likewise.
9065 * string/memchr.c: Likewise.
9066 * string/memcmp.c: Likewise.
9067 * string/memrchr.c: Likewise.
9068 * string/rawmemchr.c: Likewise.
9069 * sysdeps/posix/getcwd.c: Likewise.
9070 * time/strftime_l.c: Likewise.
9072 2012-01-30 Joseph Myers <joseph@codesourcery.com>
9074 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
9075 * config.make.in (config-cflags-sse2avx): Define.
9076 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9079 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9081 * scripts/config.guess: Update from upstream config git repository.
9082 * scripts/config.sub: Likewise.
9084 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9086 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9088 (R_TILEPRO_*, R_TILEGX_*): New macros.
9090 * scripts/firstversions.awk: Fix bug in version range handling.
9092 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9094 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9096 * include/sys/epoll.h: New file.
9097 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9100 2012-01-28 Ulrich Drepper <drepper@gmail.com>
9102 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9103 Avoid unnecessary __WORDSIZE == 64 test.
9104 (fmaxf): Use VEX format if possible.
9109 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9110 * math/math_private.h: Remove libc_fegetround* and
9112 * sysdeps/i386/configure.in: Check for -msse2avx.
9113 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9114 also if SSE2AVX is defined.
9115 Remove libc_fegetround* and libc_fesetround*.
9116 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9117 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9118 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9120 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9121 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9122 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9123 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9124 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9126 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9128 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9130 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9132 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9134 2012-01-27 Ulrich Drepper <drepper@gmail.com>
9137 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9139 * Makeconfig (libm): Define.
9140 * elf/Makefile: Add rules to build and run tst-relsort1.
9141 * elf/tst-relsort1.c: New file.
9142 * elf/tst-relsort1mod1.c: New file.
9143 * elf/tst-relsort1mod2.c: New file.
9145 2012-01-27 Joseph Myers <joseph@codesourcery.com>
9147 * math/s_ldexp.c: Remove __STDC__ conditionals.
9148 * math/s_ldexpf.c: Likewise.
9149 * math/s_ldexpl.c: Likewise.
9150 * math/s_nextafter.c: Likewise.
9151 * math/s_nexttowardf.c: Likewise.
9152 * math/s_significand.c: Likewise.
9153 * math/s_significandf.c: Likewise.
9154 * math/s_significandl.c: Likewise.
9155 * math/w_jnl.c: Likewise.
9156 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9157 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9158 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9159 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9160 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9161 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9165 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9166 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9169 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9170 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9171 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9172 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9173 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9174 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9175 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9176 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9177 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9178 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9179 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9180 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9181 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9182 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9183 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9184 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9185 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9186 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9187 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9188 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9189 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9190 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9191 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9192 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9193 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9194 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9195 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9196 * sysdeps/ieee754/k_standard.c: Likewise.
9197 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9198 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9199 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9200 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9201 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9202 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9203 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9204 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9205 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9206 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9209 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9210 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9211 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9212 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9213 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9214 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9215 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9216 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9217 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9218 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9219 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9220 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9221 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9222 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9223 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9224 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9225 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9226 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9227 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9228 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9229 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9230 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9231 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9232 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9233 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9234 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9235 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9236 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9237 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9238 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9239 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9240 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9241 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9242 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9243 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9244 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9245 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9246 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9247 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9248 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9249 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9250 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9251 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9252 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9253 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9254 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9255 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9256 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9257 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9258 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9259 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9260 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9261 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9262 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9263 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9264 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9265 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9266 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9267 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9268 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9269 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9270 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9271 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9272 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9273 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9274 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9275 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9276 * sysdeps/ieee754/s_matherr.c: Likewise.
9277 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9278 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9279 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9280 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9282 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9284 * crypt/md5.h: Remove __STDC__ conditionals.
9285 * libio/libioP.h: Likewise.
9286 * locale/programs/config.h: Likewise.
9287 * sysdeps/generic/sysdep.h: Likewise.
9288 * sysdeps/i386/asm-syntax.h: Likewise.
9289 * sysdeps/s390/asm-syntax.h: Likewise.
9290 * sysdeps/unix/sysdep.h: Likewise.
9291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9294 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9296 * libio/libio.h: Remove __STDC__ conditionals.
9297 * malloc/obstack.h: Likewise.
9298 * math/complex.h: Likewise.
9299 * math/math.h: Likewise.
9300 * sysdeps/generic/_G_config.h: Likewise.
9301 * sysdeps/gnu/_G_config.h: Likewise.
9302 * sysdeps/mach/hurd/_G_config.h: Likewise.
9303 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9304 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9305 * sysdeps/sparc/bits/mathdef.h: Likewise.
9307 2012-01-26 Ulrich Drepper <drepper@gmail.com>
9310 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
9311 Clean up HAS_* macros.
9312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
9313 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9315 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9317 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9318 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9319 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9320 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9321 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9323 2012-01-25 Joseph Myers <joseph@codesourcery.com>
9325 * elf/tst-unique3.cc (gets): Remove declaration.
9326 * elf/tst-unique3lib.cc (gets): Likewise.
9327 * elf/tst-unique3lib2.cc (gets): Likewise.
9328 * elf/tst-unique4.cc (gets): Likewise.
9330 2012-01-24 Ulrich Drepper <drepper@gmail.com>
9332 * include/stdio.h: Add C++ protection. Add gets declarations and
9334 * debug/tst-chk1.c: Don't declare gets here.
9335 * stdio-common/tst-gets.c: Likewise.
9337 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9339 * posix/glob: Remove directory.
9341 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9343 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9345 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9347 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9348 of the non-standard EPFNOSUPPORT.
9350 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9352 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9353 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9354 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9356 2012-01-21 Ulrich Drepper <drepper@gmail.com>
9358 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9360 2012-01-20 Ulrich Drepper <drepper@gmail.com>
9362 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9364 * nscd/grpcache.c (cache_addgr): Likewise.
9365 * nscd/hstcache.c (cache_addhst): Likewise.
9366 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9367 * nscd/pwdcache.c (cache_addpw): Likewise.
9368 * nscd/servicescache.c (cache_addserv): Likewise.
9370 2012-01-16 Ulrich Drepper <drepper@gmail.com>
9372 * malloc/malloc.c: Various cleanups.
9373 * malloc/hooks.c: Likewise.
9375 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9376 * stdlib/bug-fmtmsg1.c: New file.
9378 * stdlib/fmtmsg.c (init): Add missing unlock.
9379 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9381 2012-01-12 Marek Polacek <polacek@redhat.com>
9383 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9386 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9388 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9389 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9390 macro to ensure uniqueness of label name.
9391 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9392 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9394 2012-01-11 Ulrich Drepper <drepper@gmail.com>
9396 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9398 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9399 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9400 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9403 2012-01-10 Ulrich Drepper <drepper@gmail.com>
9405 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9407 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9408 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9409 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9411 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9413 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9414 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9415 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9416 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9418 * math/bits/math-finite.h: Add ldexp support.
9420 2012-01-10 Marek Polacek <polacek@redhat.com>
9422 * locale/programs/localedef.h (show_archive_content): Add noreturn
9425 2012-01-09 Ulrich Drepper <drepper@gmail.com>
9427 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9429 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9431 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9433 * io/Makefile (headers): Add bits/poll2.h.
9435 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9438 typo #include statement.
9440 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9442 * include/sys/cdefs.h: Define __attribute_alloc_size.
9443 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9444 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9445 * elf/pldd.c: Likewise.
9446 * iconv/iconv_charmap.c: Likewise.
9447 * iconv/iconvconfig.c: Likewise.
9448 * iconv/strtab.c: Likewise.
9449 * locale/programs/locale.c: Likewise.
9450 * locale/programs/localedef.h: Likewise.
9451 * locale/programs/simple-hash.c: Likewise.
9452 * nscd/nscd.h: Likewise.
9453 * nss/makedb.c: Likewise.
9454 * sysdeps/generic/ldconfig.h: Likewise.
9455 * locale/programs/localedef.c: Remove xmalloc prototype.
9456 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9458 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9460 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9463 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9465 * math/Makefile (tests): Add tst-CMPLX.
9466 * math/tst-CMPLX.c: New file.
9468 * math/complex.h (CMPLXL): Fix typo.
9470 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9471 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9473 * debug/tst-chk1.c: Add poll and ppoll tests.
9474 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9475 * include/sys/poll.h: Add hidden proto for ppoll.
9476 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9477 * sysdeps/mach/hurd/ppoll.c: Likewise.
9478 * io/ppoll.c: Likewise.
9479 * debug/poll_chk.c: New file.
9480 * debug/ppoll_chk.c: New file.
9481 * include/bits/poll2.h: New file.
9482 * io/bits/poll2.h: New file.
9485 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9487 * configure.in: static is always set to yes. Remove.
9488 * config.make.in: Don't set build-static.
9489 * Makeconfig: Remove use of build-static.
9490 * dlfcn/Makefile: Likewise.
9491 * elf/Makefile: Likewise.
9492 * math/Makefile: Likewise.
9493 * misc/Makefile: Likewise.
9494 * nptl/Makefile: Likewise.
9495 * sysdeps/mach/hurd/Makefile: Likewise.
9497 * configure.in: PWD_P is not used anymore.
9498 * config.make.in: Remove PWD_P entry.
9500 * configure.in: Remove last remnants of RANLIB.
9501 No need to check for signed size_t anymore.
9502 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9504 Remove __builtin_expect test because we require at least gcc 3.4.
9505 * aclocal.m4: Likewise.
9507 * wcsmbs/mbrtoc16.c: Implement using towc function.
9508 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9509 * wcsmbs/wcsmbsload.c: Likewise.
9510 * iconv/gconv_simple.c: Likewise.
9511 * iconv/gconv_int.h: Likewise.
9512 * iconv/gconv_builtin.h: Likewise.
9513 * iconv/iconv_prog.c: Remove CHAR16 handling.
9515 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9517 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9519 * configure.in: Remove --with-elf and --enable-bounded options.
9520 Dont set base_machine for ia64. More non-ELF conditions removed.
9521 Remove testing and setting of leading underscore information.
9522 * config.make.in (build-bounded): Set to no.
9523 * config.h.in: Remove NO_UNDERSCORES entry.
9524 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9526 * csu/start.c: Remove !NO_UNDERSCORE code.
9527 * locale/localeinfo.h: Likewise.
9528 * sysdeps/generic/machine-gmon.h: Likewise.
9529 * sysdeps/generic/sysdep.h: Likewise.
9530 * sysdeps/i386/sysdep.h: Likewise.
9531 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9532 * sysdeps/mach/sysdep.h: Likewise.
9533 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9534 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9535 * sysdeps/sh/sysdep.h: Likewise.
9536 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9537 * sysdeps/unix/i386/sysdep.S: Likewise.
9538 * sysdeps/unix/sparc/start.c: Likewise.
9539 * sysdeps/unix/sparc/sysdep.S: Likewise.
9540 * sysdeps/unix/sparc/sysdep.h: Likewise.
9541 * sysdeps/unix/start.c: Likewise.
9542 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9543 * sysdeps/x86_64/sysdep.h: Likewise.
9545 2012-01-07 Ulrich Drepper <drepper@gmail.com>
9548 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9550 * argp/argp-fmtstream.h: Use const instead __const.
9551 * argp/argp.h: Likewise.
9552 * assert/assert.h: Likewise.
9553 * bits/fenv.h: Likewise.
9554 * bits/sched.h: Likewise.
9555 * bits/sigset.h: Likewise.
9556 * bits/sigthread.h: Likewise.
9557 * catgets/nl_types.h: Likewise.
9558 * conform/data/pthread.h-data: Likewise.
9559 * crypt/crypt-private.h: Likewise.
9560 * crypt/crypt.h: Likewise.
9561 * crypt/crypt_util.c: Likewise.
9562 * ctype/ctype.h: Likewise.
9563 * debug/execinfo.h: Likewise.
9564 * debug/mbsnrtowcs_chk.c: Likewise.
9565 * debug/mbsrtowcs_chk.c: Likewise.
9566 * debug/wcsnrtombs_chk.c: Likewise.
9567 * debug/wcsrtombs_chk.c: Likewise.
9568 * debug/wcstombs_chk.c: Likewise.
9569 * dirent/dirent.h: Likewise.
9570 * dlfcn/dlfcn.h: Likewise.
9571 * elf/neededtest4.c: Likewise.
9572 * grp/grp.h: Likewise.
9573 * gshadow/gshadow.h: Likewise.
9574 * iconv/gconv.h: Likewise.
9575 * iconv/gconv_int.h: Likewise.
9576 * iconv/gconv_simple.c: Likewise.
9577 * iconv/iconv.h: Likewise.
9578 * iconv/loop.c: Likewise.
9579 * iconv/skeleton.c: Likewise.
9580 * include/aio.h: Likewise.
9581 * include/aliases.h: Likewise.
9582 * include/argz.h: Likewise.
9583 * include/arpa/inet.h: Likewise.
9584 * include/assert.h: Likewise.
9585 * include/dirent.h: Likewise.
9586 * include/dlfcn.h: Likewise.
9587 * include/execinfo.h: Likewise.
9588 * include/fcntl.h: Likewise.
9589 * include/fenv.h: Likewise.
9590 * include/glob.h: Likewise.
9591 * include/grp.h: Likewise.
9592 * include/libintl.h: Likewise.
9593 * include/mntent.h: Likewise.
9594 * include/netdb.h: Likewise.
9595 * include/pwd.h: Likewise.
9596 * include/rpc/netdb.h: Likewise.
9597 * include/sched.h: Likewise.
9598 * include/search.h: Likewise.
9599 * include/shadow.h: Likewise.
9600 * include/signal.h: Likewise.
9601 * include/stdio.h: Likewise.
9602 * include/stdlib.h: Likewise.
9603 * include/string.h: Likewise.
9604 * include/sys/socket.h: Likewise.
9605 * include/sys/stat.h: Likewise.
9606 * include/sys/statfs.h: Likewise.
9607 * include/sys/statvfs.h: Likewise.
9608 * include/sys/syslog.h: Likewise.
9609 * include/sys/time.h: Likewise.
9610 * include/sys/uio.h: Likewise.
9611 * include/time.h: Likewise.
9612 * include/unistd.h: Likewise.
9613 * include/utmp.h: Likewise.
9614 * include/wchar.h: Likewise.
9615 * include/wctype.h: Likewise.
9616 * inet/aliases.h: Likewise.
9617 * inet/arpa/inet.h: Likewise.
9618 * inet/netinet/ether.h: Likewise.
9619 * inet/netinet/in.h: Likewise.
9620 * intl/libintl.h: Likewise.
9621 * io/bits/fcntl2.h: Likewise.
9622 * io/fcntl.h: Likewise.
9623 * io/ftw.h: Likewise.
9624 * io/sys/poll.h: Likewise.
9625 * io/sys/stat.h: Likewise.
9626 * io/sys/statfs.h: Likewise.
9627 * io/sys/statvfs.h: Likewise.
9628 * io/utime.h: Likewise.
9629 * libio/bits/stdio.h: Likewise.
9630 * libio/bits/stdio2.h: Likewise.
9631 * libio/libio.h: Likewise.
9632 * libio/libioP.h: Likewise.
9633 * libio/stdio.h: Likewise.
9634 * locale/lc-ctype.c: Likewise.
9635 * locale/locale.h: Likewise.
9636 * login/utmp.h: Likewise.
9637 * malloc/arena.c: Likewise.
9638 * malloc/malloc.c: Likewise.
9639 * malloc/malloc.h: Likewise.
9640 * malloc/mcheck.c: Likewise.
9641 * malloc/mtrace.c: Likewise.
9642 * math/bits/mathcalls.h: Likewise.
9643 * math/fenv.h: Likewise.
9644 * math/math_private.h: Likewise.
9645 * misc/bits/error.h: Likewise.
9646 * misc/bits/syslog.h: Likewise.
9647 * misc/err.h: Likewise.
9648 * misc/error.h: Likewise.
9649 * misc/fstab.h: Likewise.
9650 * misc/mntent.h: Likewise.
9651 * misc/regexp.h: Likewise.
9652 * misc/search.h: Likewise.
9653 * misc/sgtty.h: Likewise.
9654 * misc/sys/mman.h: Likewise.
9655 * misc/sys/syslog.h: Likewise.
9656 * misc/sys/uio.h: Likewise.
9657 * misc/sys/xattr.h: Likewise.
9658 * misc/ttyent.h: Likewise.
9659 * nis/rpcsvc/ypclnt.h: Likewise.
9660 * nss/nss.h: Likewise.
9661 * posix/bits/unistd.h: Likewise.
9662 * posix/fnmatch.h: Likewise.
9663 * posix/glob.h: Likewise.
9664 * posix/sched.h: Likewise.
9665 * posix/spawn.h: Likewise.
9666 * posix/sys/wait.h: Likewise.
9667 * posix/unistd.h: Likewise.
9668 * posix/wordexp.h: Likewise.
9669 * pwd/pwd.h: Likewise.
9670 * resolv/netdb.h: Likewise.
9671 * resource/sys/resource.h: Likewise.
9672 * rt/aio.h: Likewise.
9673 * rt/bits/mqueue2.h: Likewise.
9674 * rt/mqueue.h: Likewise.
9675 * shadow/shadow.h: Likewise.
9676 * signal/signal.h: Likewise.
9677 * socket/send.c: Likewise.
9678 * socket/sendto.c: Likewise.
9679 * socket/sys/socket.h: Likewise.
9680 * stdio-common/printf.h: Likewise.
9681 * stdlib/bits/stdlib.h: Likewise.
9682 * stdlib/fmtmsg.h: Likewise.
9683 * stdlib/monetary.h: Likewise.
9684 * stdlib/stdlib.h: Likewise.
9685 * stdlib/ucontext.h: Likewise.
9686 * streams/stropts.h: Likewise.
9687 * string/argz.h: Likewise.
9688 * string/bits/string2.h: Likewise.
9689 * string/string.h: Likewise.
9690 * string/strings.h: Likewise.
9691 * sunrpc/rpc/auth.h: Likewise.
9692 * sunrpc/rpc/auth_des.h: Likewise.
9693 * sunrpc/rpc/clnt.h: Likewise.
9694 * sunrpc/rpc/netdb.h: Likewise.
9695 * sunrpc/rpc/pmap_clnt.h: Likewise.
9696 * sunrpc/rpc/xdr.h: Likewise.
9697 * sysdeps/generic/inttypes.h: Likewise.
9698 * sysdeps/generic/net/if.h: Likewise.
9699 * sysdeps/generic/sys/swap.h: Likewise.
9700 * sysdeps/gnu/net/if.h: Likewise.
9701 * sysdeps/gnu/utmpx.h: Likewise.
9702 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9703 * sysdeps/i386/i486/bits/string.h: Likewise.
9704 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9705 * sysdeps/s390/bits/string.h: Likewise.
9706 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9707 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9708 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9709 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9710 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9711 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9712 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9713 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9714 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9715 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9716 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9717 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9718 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9719 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9720 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9721 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9722 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9724 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9725 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9726 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9727 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9728 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9729 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9730 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9731 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9732 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9733 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9734 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9735 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9736 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9737 * sysvipc/sys/ipc.h: Likewise.
9738 * sysvipc/sys/msg.h: Likewise.
9739 * sysvipc/sys/sem.h: Likewise.
9740 * sysvipc/sys/shm.h: Likewise.
9741 * termios/termios.h: Likewise.
9742 * time/sys/time.h: Likewise.
9743 * time/time.h: Likewise.
9744 * wcsmbs/bits/wchar2.h: Likewise.
9745 * wcsmbs/uchar.h: Likewise.
9746 * wcsmbs/wchar.h: Likewise.
9747 * wctype/wctype.h: Likewise.
9750 * Makeconfig: Remove all but ELF support including AIX support.
9751 * Makerules: Likewise.
9752 * config.h.in: Likewise.
9753 * config.make.in: Likewise.
9754 * configure: Likewise.
9755 * configure.in: Likewise.
9756 * csu/Makefile: Likewise.
9757 * csu/version.c: Likewise.
9758 * debug/Makefile: Likewise.
9759 * dlfcn/Makefile: Likewise.
9760 * elf/Makefile: Likewise.
9761 * extra-lib.mk: Likewise.
9762 * iconv/Makefile: Likewise.
9763 * include/libc-symbols.h: Likewise.
9764 * include/shlib-compat.h: Likewise.
9765 * resolv/Makefile: Likewise.
9766 * resolv/res_libc.c: Likewise.
9767 * rt/Makefile: Likewise.
9768 * sysdeps/i386/asm-syntax.h: Likewise.
9769 * sysdeps/i386/sysdep.h: Likewise.
9770 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9771 * sysdeps/mach/sysdep.h: Likewise.
9772 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9773 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9774 * sysdeps/s390/asm-syntax.h: Likewise.
9775 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9776 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9777 * sysdeps/sh/sysdep.h: Likewise.
9778 * sysdeps/unix/sparc/sysdep.h: Likewise.
9779 * sysdeps/wordsize-32/divdi3.c: Likewise.
9780 * sysdeps/x86_64/sysdep.h: Likewise.
9782 * argp/Versions: Remove _argp_unlock_xxx.
9785 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9786 * abilist/libBrokenLocale.abilist: Likewise.
9787 * abilist/libanl.abilist: Likewise.
9788 * abilist/libc.abilist: Likewise.
9789 * abilist/libcrypt.abilist: Likewise.
9790 * abilist/libdl.abilist: Likewise.
9791 * abilist/libm.abilist: Likewise.
9792 * abilist/libnsl.abilist: Likewise.
9793 * abilist/libpthread.abilist: Likewise.
9794 * abilist/libresolv.abilist: Likewise.
9795 * abilist/librt.abilist: Likewise.
9796 * abilist/libthread_db.abilist: Likewise.
9797 * abilist/libutil.abilist: Likewise.
9798 * abilist/libnss_db.abilist: New file.
9800 * scripts/abilist.awk: Add support for indirect functions.
9802 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9804 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9806 * shlib-versions: Remove entries for ports architectures.
9808 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9810 * elf/stackguard-macros.h: Remove support for IA-64.
9811 * elf/tst-auditmod1.c: Likewise.
9812 * sysdeps/generic/ldsodefs.h: Likewise.
9814 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9815 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9819 * configure.in: Remove --enable-omitfp support.
9821 * config.make.in: Likewise.
9822 * Makeconfig: Likewise.
9823 * manual/install.texi: Likewise.
9825 In case anyone cares, the IA-64 architecture could move to ports.
9826 * sysdeps/ia64/*: Removed.
9827 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9828 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9831 * configure.in: Remove entries for unsupported architectures.
9834 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9835 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9837 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9838 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9839 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9840 fall back to using wcrtomb.
9841 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9842 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9844 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9845 * wcsmbs/tst-c16c32-1.c: New file.
9847 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9850 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9852 * elf/tst-unique3.cc: Add explicit declaration of gets.
9853 * elf/tst-unique3lib.cc: Likewise.
9854 * elf/tst-unique3lib2.cc: Likewise.
9855 * elf/tst-unique4.cc: Likewise.
9857 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9859 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9862 * assert/assert.h (static_assert): Don't define for C++.
9863 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9864 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9866 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9868 * iconv/loop.c (single loop): Fix assertion in storing of
9871 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9873 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9875 * posix/getconf.c: Update copyright year.
9876 * nss/getent.c: Likewise.
9877 * nss/makedb.c: Likewise.
9878 * iconv/iconvconfig.c: Likewise.
9879 * iconv/iconv_prog.c: Likewise.
9880 * elf/ldconfig.c: Likewise.
9881 * elf/pldd.c: Likewise.
9882 * elf/sotruss.ksh: Likewise.
9883 * catgets/gencat.c: Likewise.
9884 * csu/version.c: Likewise.
9885 * elf/ldd.bash.in: Likewise.
9886 * elf/sprof.c (print_version): Likewise.
9887 * locale/programs/locale.c: Likewise.
9888 * locale/programs/localedef.c: Likewise.
9889 * login/programs/pt_chown.c: Likewise.
9890 * nscd/nscd.c (print_version): Likewise.
9891 * debug/xtrace.sh: Likewise.
9892 * malloc/memusage.sh: Likewise.
9893 * malloc/mtrace.pl: Likewise.
9894 * debug/catchsegv.sh: Likewise.
9896 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9898 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9901 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9904 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9905 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9907 * iconv/gconv_int.h: Likewise.
9908 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9909 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9910 from libc for GLIBC_2.16.
9911 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9912 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9913 * wcsmbs/uchar.h: Really define mbstate_t.
9914 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9915 * wcsmbs/c16rtomb.c: New file.
9916 * wcsmbs/mbrtoc16.c: New file.
9917 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9919 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9920 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9922 * wcsmbs/wchar.h: Add missing __restrict.
9924 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9927 * time/Makefile (routines): Add timespec_get.
9928 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9929 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9930 timespec for ISO C11.
9931 * time/timespec_get.c: New file.
9932 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9933 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9936 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9937 * stdlib/stdlib.h: Declare aligned_alloc.
9938 * Versions.def: Add GLIBC_2.16 for libc.
9939 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9942 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9945 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9949 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9952 * assert/assert.h (static_assert): Define.
9954 * version.h: Update for 2.16 development version.
9957 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9960 * version.h (RELEASE): Bump for 2.15 release.
9961 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9963 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9964 Patch by Marek Polacek <mpolacek@redhat.com>.
9966 * bits/byteswap.h: Protect long long constants with __extension__.
9967 * sysdeps/i386/bits/byteswap.h: Likewise.
9968 * sysdeps/ia64/bits/byteswap.h: Likewise.
9969 * sysdeps/s390/bits/byteswap.h: Likewise.
9970 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9972 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9975 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9977 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9979 2011-12-23 Marek Polacek <polacek@redhat.com>
9981 * elf/dl-addr.c (determine_info): Add inline keyword.
9982 * elf/tst-auditmod4b.c (check_avx): Likewise.
9983 * elf/tst-auditmod6b.c (check_avx): Likewise.
9984 * elf/tst-auditmod6c.c (check_avx): Likewise.
9985 * elf/tst-auditmod7b.c (check_avx): Likewise.
9987 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9989 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9992 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9995 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9996 processing for last bytes.
9998 2011-08-06 Bruno Haible <bruno@clisp.org>
10001 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10002 U+0385, not to U+1FEE.
10005 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10006 entry for U+00A5 U+0301.
10008 2011-12-22 Ulrich Drepper <drepper@gmail.com>
10011 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10012 buffer for the output is too small.
10014 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10018 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10019 SSE flags if possible.
10021 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10024 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10025 processing for last bytes.
10027 2011-12-22 Joseph Myers <joseph@codesourcery.com>
10029 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10030 (syscall-list-default-options, syscall-list-default-condition)
10031 (syscall-list-includes): Define.
10032 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10033 list of ABIs and options and #if conditions for each ABI. Do not
10034 handle common syscalls between ABIs specially.
10035 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10037 (syscall-list-variants, syscall-list-32bit-options)
10038 (syscall-list-32bit-condition, syscall-list-64bit-options)
10039 (syscall-list-64bit-condition): Define.
10040 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10041 (syscall-list-variants, syscall-list-32bit-options)
10042 (syscall-list-32bit-condition, syscall-list-64bit-options)
10043 (syscall-list-64bit-condition): Define.
10044 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10046 (syscall-list-variants, syscall-list-32bit-options)
10047 (syscall-list-32bit-condition, syscall-list-64bit-options)
10048 (syscall-list-64bit-condition): Define.
10049 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10051 (syscall-list-variants, syscall-list-32bit-options)
10052 (syscall-list-32bit-condition, syscall-list-64bit-options)
10053 (syscall-list-64bit-condition): Define.
10055 2011-12-22 Ulrich Drepper <drepper@gmail.com>
10057 * locale/iso-639.def: Add brx entry.
10060 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10061 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10063 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10064 __feraiseexcept_renamed.
10066 2011-12-21 Ulrich Drepper <drepper@gmail.com>
10069 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10070 EPOLLET with unsigned values.
10071 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10072 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10074 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10075 to large cancellation.
10076 * math/s_cacoshf.c: Likewise.
10077 * math/s_cacoshl.c: Likewise.
10079 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10083 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10084 * math/s_cacoshf.c: Likewise.
10085 * math/s_cacoshl.c: Likewise.
10087 2011-12-21 Ulrich Drepper <drepper@gmail.com>
10090 * iconv/gconv.h: Define __GCONV_SWAP.
10091 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10092 * iconvdata/utf-16.c: Likewise.
10093 * iconvdata/utf-32.c: Likewise.
10095 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10098 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10099 numerator after shifting it by one limb.
10101 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10103 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10104 under [__USE_EXTERN_INLINES].
10106 2011-12-17 Ulrich Drepper <drepper@gmail.com>
10109 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10111 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10113 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10114 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10116 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10117 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10118 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10119 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10120 for strncasecmp/strncasecmp_l compilation.
10121 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10122 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10124 2011-12-08 Marek Polacek <mpolacek@redhat.com>
10127 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10130 2011-12-17 Ulrich Drepper <drepper@gmail.com>
10133 * time/tzfile.c (__tzfile_read): Check values from file header.
10135 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10137 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10138 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10139 * powerpc/powerpc32/dl-start.S: Likewise.
10140 * powerpc/powerpc32/elf/start.S: Likewise.
10141 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10142 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10143 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10144 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10145 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10146 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10147 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10148 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10149 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10150 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10151 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10152 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10153 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10154 * powerpc/powerpc32/memset.S: Likewise.
10155 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10156 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10157 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10158 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10159 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10160 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10161 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10162 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10163 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10164 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10165 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10166 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10167 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10169 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10171 * math/libm-test.inc: Added more nearbyint tests.
10172 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10173 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10174 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10175 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10177 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10179 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10182 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10184 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10185 Add wcscpy-ssse3 wcscpy-c.
10186 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10187 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10188 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10189 * sysdeps/x86_64/wcschr.S: New file.
10190 * sysdeps/x86_64/wcsrchr.S: New file.
10191 * string/test-strcmp.c: Remove checking of wcscmp function for
10193 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10194 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10195 wcsrchr-sse2 wcsrchr-c.
10196 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10197 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10198 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10199 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10200 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10201 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10202 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10203 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10204 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10205 * wcsmbc/wcschr.c (WCSCHR): New macro.
10207 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10209 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10210 * wcsmbs/test-wcsrchr.c: New file.
10211 * string/test-strrchr.c: Add wcsrchr support.
10213 * wcsmbs/test-wcscpy.c: New file.
10214 * string/test-strcpy.c: Add wcscpy support.
10217 2011-12-10 Ulrich Drepper <drepper@gmail.com>
10219 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10222 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10225 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10227 2011-12-04 Ulrich Drepper <drepper@gmail.com>
10229 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
10230 Minor optimizations.
10232 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10233 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10234 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10236 2011-12-03 Ulrich Drepper <drepper@gmail.com>
10238 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10239 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10240 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10241 for gcc to avoid warnings.
10242 * inet/Makefile (tests): Add tst-checks.
10243 * inet/tst-checks.c: New file.
10245 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10248 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10251 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10252 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10254 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10256 2011-12-02 Ulrich Drepper <drepper@gmail.com>
10258 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10261 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10263 2011-11-29 Joseph Myers <joseph@codesourcery.com>
10265 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10266 conditional on GCC version.
10267 (__arch_compare_and_exchange_val_8_acq)
10268 (__arch_compare_and_exchange_val_16_acq)
10269 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10270 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10271 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10273 2011-12-02 Joseph Myers <joseph@codesourcery.com>
10275 * sysdeps/sh/backtrace.c: New file.
10277 2011-12-02 Andreas Schwab <schwab@redhat.com>
10279 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10282 2011-12-01 Andreas Schwab <schwab@redhat.com>
10284 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10285 falling back to utime.
10287 2011-11-30 Andreas Schwab <schwab@redhat.com>
10289 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10290 expectations for float.
10292 2011-11-29 Andreas Schwab <schwab@redhat.com>
10294 * locale/weight.h (findidx): Add parameter len.
10295 * locale/weightwc.h (findidx): Likewise.
10296 * posix/fnmatch_loop.c (FCT): Adjust caller.
10297 * posix/regcomp.c (build_equiv_class): Likewise.
10298 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10299 * posix/regexec.c (check_node_accept_bytes): Likewise.
10300 * string/strcoll_l.c (STRCOLL): Likewise.
10301 * string/strxfrm_l.c (STRXFRM): Likewise.
10303 2011-11-17 Ulrich Drepper <drepper@gmail.com>
10305 * Makefile.in: Remove CVSOPT handling.
10306 * configure.in: Remove use of AC_REVISION.
10307 * iconvdata/Makefile (distribute): No need to filter out CVS.
10308 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10311 2011-11-16 Andreas Schwab <schwab@redhat.com>
10313 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10314 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10315 [USE_AS_STRNCASECMP_L]: Likewise.
10316 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10317 NO_TLS_DIRECT_SEG_REFS.
10318 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10319 Fix argument offsets for non-PIC.
10320 [USE_AS_STRNCASECMP_L]: Likewise.
10321 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10322 NO_TLS_DIRECT_SEG_REFS.
10324 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10326 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
10328 * locale/loadlocale.c (_nl_load_locale): Likewise.
10330 2011-11-15 Andreas Schwab <schwab@redhat.com>
10332 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10333 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10334 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10335 (SYSCALL_GETTIME): Set errno on error.
10337 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10338 count references to noai6ai_cached.
10340 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10342 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10344 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10345 FD_CLOEXEC for /proc/self/maps.
10347 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10348 FD_CLOEXEC for /proc/meminfo.
10350 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10353 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10354 FD_CLOEXEC for given file.
10356 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10358 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10359 FD_CLOEXEC for /etc/hosts.
10360 (_gethtent): Likewise.
10362 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10364 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10365 cancellation and set FD_CLOEXEC for /etc/netgroup.
10367 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10368 reading /etc/publickey.
10370 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10371 allow cancellation when reading /etc/group.
10373 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10375 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10377 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10378 when using data file.
10380 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10382 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10383 (write_nis_obj): Use "c" and "e" in fopen.
10385 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10387 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10389 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10391 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10393 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10396 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10398 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10400 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10402 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10403 file parsing and set FD_CLOEXEC.
10405 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10407 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10409 2011-11-14 Andreas Schwab <schwab@redhat.com>
10411 * malloc/arena.c (arena_get2): Don't call reused_arena when
10412 _int_new_arena failed.
10414 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10416 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10417 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10418 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10419 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10420 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10421 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10422 to compile strcasecmp and strncasecmp.
10423 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10424 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10426 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10428 2011-11-13 Ulrich Drepper <drepper@gmail.com>
10430 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10431 locale-defines.sym to gen-as-const-headers.
10432 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10433 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10434 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10435 to compile strcasecmp and strncasecmp.
10436 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10437 strcasecmp_l and strncasecmp_l.
10438 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10439 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10440 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10441 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10442 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10443 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10444 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10445 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10446 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10447 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10448 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10450 2011-11-12 Ulrich Drepper <drepper@gmail.com>
10452 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10453 result of SYSDEP_GETTIME_CPU to retval.
10454 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10455 parameter list to macro. Remove trailing semicolon. Adjust users.
10457 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10460 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10462 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10464 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10465 from unused variable.
10467 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10469 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10472 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10475 * sunrpc/rpc_prot.c (rejected): Fix case value.
10477 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10478 unsigned long long int to avoid warnings in shift.
10480 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10482 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10485 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10486 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10487 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10489 * nis/nis_table.c (nis_list): Use variable of correct type for
10490 result of __follow_path call.
10492 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10494 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10495 of math functions ceil, trunc, floor, round, and sqrt, when
10496 avaliable on the platform.
10497 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10499 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10500 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10501 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10503 2011-10-30 Marek Polacek <mpolacek@redhat.com>
10505 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10506 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10508 2011-11-11 Roland McGrath <roland@hack.frob.com>
10510 * include/unistd.h: Fix __readlink return type.
10511 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10513 2011-11-11 Ulrich Drepper <drepper@gmail.com>
10515 * stdlib/ucontext.h: Undo last change for makecontext.
10517 2011-11-11 Andreas Schwab <schwab@redhat.com>
10519 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10521 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10522 * setjmp/setjmp.h: Mark functions as non-leaf.
10523 * setjmp/bits/setjmp2.h: Likewise.
10524 * stdlib/ucontext.h: Likewise.
10526 2011-11-10 Andreas Schwab <schwab@redhat.com>
10528 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10529 (reused_arena): Don't check arena limit.
10530 (arena_get2): Atomically check arena limit.
10532 2011-11-08 Ulrich Drepper <drepper@gmail.com>
10534 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10535 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10537 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10540 2011-11-07 Andreas Schwab <schwab@redhat.com>
10542 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10543 handler when locking.
10545 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10546 Fix size of allocated buffer.
10548 2011-11-04 Andreas Schwab <schwab@redhat.com>
10551 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10552 declarations for long double functions.
10553 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10555 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10557 2011-11-03 Andreas Schwab <schwab@redhat.com>
10559 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10562 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10565 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10567 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10569 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10571 * include/alloca.h (stackinfo_alloca_round): Define.
10572 (extend_alloca): Use it.
10573 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10574 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10577 * scripts/check-local-headers.sh: Ignore libaudit.h.
10579 * nscd/Makefile (extra-objs): Make recursively expanded.
10581 2011-11-01 Ulrich Drepper <drepper@gmail.com>
10583 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10584 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10586 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10587 * posix/tst-rfc3484-2.c: Likewise.
10588 * posix/tst-rfc3484-3.c: Likewise.
10590 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10592 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10594 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10595 process_vm_writev from libc using GLIBC_2.15 version.
10597 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10599 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10601 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10604 2011-10-31 Ulrich Drepper <drepper@gmail.com>
10607 * nss/getent.c (initgroups_keys): Show error message in case no group
10610 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10611 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10612 __bump_nl_timestamp.
10613 * nscd/connections (nscd_init): When host database is served open
10614 netlink socket and request notification about configuration changes.
10615 (main_loop_poll): Track netlink file descriptor and bump timestamp
10616 in case data becomes available.
10617 (main_loop_epoll): Likewise.
10618 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10619 (database_pers_head): Add extra_data fileds.
10620 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10621 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10622 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10624 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10625 in6ai data, call __free_in6ai.
10626 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10627 Add -DHAVE_NETLINK.
10628 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10629 interface information. Reuse previous data if netlink timestamp
10631 (__bump_nl_timestamp): New function.
10632 (__free_in6ai): New function.
10634 2011-10-30 Ulrich Drepper <drepper@gmail.com>
10636 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10637 close_not_cancel_no_status here.
10638 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10640 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10643 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10646 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10647 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10648 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10650 2011-07-03 Andreas Jaeger <aj@suse.de>
10653 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10654 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10655 * math/libm-test.inc (sin_test): Add test case.
10657 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10660 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10661 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10663 * elf/chroot_canon.c (chroot_canon): Cleanups.
10665 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10668 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10669 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10671 * string/test-strchr.c: Make usable for strchrnul testing.
10672 * string/test-strchrnul.c: New file.
10673 * string/Makefile (strop-tests): Add strchrnul.
10675 * po/it.po: Update from translation team.
10676 * po/es.po: Likewise.
10678 2011-10-28 Ulrich Drepper <drepper@gmail.com>
10680 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10681 the three constants needed as parameters. Drop the others.
10682 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10683 __m128i_strloadu_tolower.
10684 Create and initialize variable zero and use it in all the places
10685 where _mm_setzero_si128 was used.
10687 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10688 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10689 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10690 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10692 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10693 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10694 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10695 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10696 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10697 __mpranred, __mptan.
10698 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10699 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10700 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10701 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10702 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10703 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10704 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10705 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10706 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10708 2011-10-28 Andreas Schwab <schwab@redhat.com>
10710 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10711 redefine if SHARED.
10712 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10715 wide char related routines to wcsmbs subdir.
10717 2011-10-27 Andreas Schwab <schwab@redhat.com>
10720 * misc/sys/cdefs.h (__THROWNL): Define.
10721 * posix/unistd.h: Use __THREADNL instead of __THREAD
10722 for memory synchronization functions.
10724 2011-10-26 Roland McGrath <roland@hack.frob.com>
10727 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10729 * manual/stdio.texi (Obstack Streams): Node removed.
10731 2011-10-26 Andreas Schwab <schwab@redhat.com>
10733 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10734 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10735 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10737 * math/math_private.h (math_force_eval): Allow non-addressable
10739 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10741 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10743 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10744 file is not needed.
10746 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10747 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10748 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10749 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10750 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10751 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10752 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10753 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10755 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10756 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10757 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10758 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10759 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10760 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10761 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10762 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10763 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10764 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10765 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10766 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10767 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10768 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10769 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10770 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10771 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10772 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10773 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10775 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10776 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10778 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10779 place. Use VEX encoding when compiling for AVX.
10781 2011-10-25 Andreas Schwab <schwab@redhat.com>
10783 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10784 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10786 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10788 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10790 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10791 useless if() expression.
10792 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10793 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10794 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10795 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10796 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10797 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10798 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10799 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10800 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10801 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10802 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10803 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10804 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10805 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10806 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10807 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10808 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10809 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10810 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10812 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10814 2011-10-25 Andreas Schwab <schwab@redhat.com>
10816 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10818 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10820 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10822 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10823 .text section. Avoid duplicate constants.
10824 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10825 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10826 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10827 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10828 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10829 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10830 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10831 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10832 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10833 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10834 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10835 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10836 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10837 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10838 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10839 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10840 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10841 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10842 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10843 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10844 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10845 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10846 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10847 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10848 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10849 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10850 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10851 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10852 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10853 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10854 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10855 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10856 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10857 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10858 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10859 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10860 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10861 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10862 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10863 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10864 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10865 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10866 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10867 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10868 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10870 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10872 * sysdeps/x86_64/dla.h: Move to ...
10873 * sysdeps/x86_64/fpu/dla.h: ...here.
10874 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10875 situations. Use __builtin_fma only for gcc 4.6 and up.
10877 * config.make.in: Add have-mfma4 entry.
10878 * configure.in: Substitute libc_cv_cc_fma4.
10879 * math/Makefile (dbl-only-routines): Add sincostab.
10880 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10881 Use __sincostab not sincos.
10882 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10884 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10885 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10886 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10887 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10889 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10890 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10891 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10892 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10894 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10895 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10897 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10898 define aliases when function name is a macro.
10899 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10900 sysdeps/ieee754/dbl-64/sincos.tbl.
10901 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10902 fma4-enabled routines.
10903 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10904 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10905 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10906 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10907 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10908 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10909 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10910 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10911 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10912 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10913 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10914 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10915 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10916 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10917 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10918 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10919 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10920 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10921 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10922 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10923 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10924 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10925 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10926 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10927 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10928 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10929 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10930 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10931 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10932 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10934 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10936 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10937 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10938 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10939 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10940 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10941 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10942 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10943 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10945 2011-10-24 Andreas Schwab <schwab@redhat.com>
10947 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10949 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10951 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10953 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10955 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10957 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10958 Remove unused variable magic_bits.
10959 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10961 * string/strnlen.c: Define and use STRNLEN macro.
10962 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10963 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10964 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10965 * wcsmbs/wcslen.c: Define and use WCSLEN.
10966 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10967 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10968 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10969 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10970 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10971 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10972 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10974 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10977 strnlen-sse2-no-bsf.
10978 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10979 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10980 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10981 Add strnlen support.
10982 (USE_AS_STRNLEN): New macro.
10983 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10984 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10985 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10986 * sysdeps/x86_64/wcslen.S: New file.
10988 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10990 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10991 XMM-moves are used for copying on small sizes.
10993 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10995 * wcsmbs/Makefile (strop-tests): Add wcschr.
10996 * wcsmbs/test-wcschr.c: New file.
10997 * string/test-strchr.c: Update.
10998 Add wcschr support.
11001 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11003 * wcsmbs/Makefile (strop-tests): Add wcslen.
11004 * wcsmbs/test-wcslen.c: New file.
11005 * string/test-strlen.c: Update.
11006 Add wcslen support.
11009 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11011 * po/it.po: Update from translation team.
11013 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11015 * sysdeps/x86_64/wcscmp.S: Update.
11016 Fix wrong comparison semantics.
11017 wcscmp shall use signed comparison not unsigned.
11018 Don't use substraction to avoid overflow bug.
11019 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11020 * wcsmbc/wcscmp.c: Likewise.
11021 * string/test-strcmp.c: Likewise.
11022 Add new tests to check cases with negative values.
11024 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11026 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11027 * sysdeps/x86_64/dla.h: ...here. New file.
11028 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11029 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11032 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11033 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11034 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11035 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11036 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11038 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11040 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11041 __ynl_finite aliases.
11043 2011-10-22 Ulrich Drepper <drepper@gmail.com>
11045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11047 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11049 [DLA_FMA] (EMULV): Use DLA_FMA.
11050 [DLA_FMA] (MUL12): Use EMULV.
11051 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11052 that are not needed.
11053 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11054 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11056 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11057 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11058 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11059 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11061 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11063 * math/s_nan.c: Undef __nan.
11064 * math/s_nanf.c: Undef __nanf.
11065 * math/s_nanl.c: Undef __nanl.
11066 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11069 2011-10-22 Ulrich Drepper <drepper@gmail.com>
11071 * math/s_catan.c: Add branch predictions.
11072 * math/s_catanf.c: Likewise.
11073 * math/s_catanh.c: Likewise.
11074 * math/s_catanhf.c: Likewise.
11075 * math/s_catanhl.c: Likewise.
11076 * math/s_catanl.c: Likewise.
11077 * math/s_cexp.c: Likewise.
11078 * math/s_cexpf.c: Likewise.
11079 * math/s_cexpl.c: Likewise.
11080 * math/s_clog.c: Likewise.
11081 * math/s_clog10.c: Likewise.
11082 * math/s_clog10f.c: Likewise.
11083 * math/s_clog10l.c: Likewise.
11084 * math/s_clogf.c: Likewise.
11085 * math/s_clogl.c: Likewise.
11086 * math/s_csqrt.c: Likewise.
11087 * math/s_csqrtf.c: Likewise.
11088 * math/s_csqrtl.c: Likewise.
11089 * math/s_ctanf.c: Likewise.
11090 * math/s_ctanh.c: Likewise.
11091 * math/s_ctanhf.c: Likewise.
11092 * math/s_ctanhl.c: Likewise.
11093 * math/s_ctanl.c: Likewise.
11095 * math/math_private.h: Define __nan, __nanf, __nanl.
11096 * math/s_cacosh.c: Include <math_private.h>.
11097 * math/s_cacoshl.c: Likewise.
11098 * math/s_casinh.c: Likewise.
11099 * math/s_casinhf.c: Likewise.
11100 * math/s_casinhl.c: Likewise.
11101 * math/s_ccos.c: Rely entire on ccosh.
11102 * math/s_ccosf.c: Rely entire on ccoshf.
11103 * math/s_ccosl.c: Rely entirely on ccoshl.
11104 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11105 Remove tests for FE_INVALID.
11106 * math/s_ccoshf.c: Likewise.
11107 * math/s_ccoshl.c: Likewise.
11108 * math/s_csin.c: Likewise.
11109 * math/s_csinf.c: Likewise.
11110 * math/s_csinh.c Likewise.
11111 * math/s_csinhf.c: Likewise.
11112 * math/s_csinhl.c: Likewise.
11113 * math/s_csinl.c: Likewise.
11114 * math/s_ctan.c: Likewise.
11115 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11116 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11117 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11119 2011-10-21 Ulrich Drepper <drepper@gmail.com>
11121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11122 compilation problems.
11124 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11127 2011-10-20 Ulrich Drepper <drepper@gmail.com>
11129 * sysdeps/i386/configure.in: Test for -mfma4 option.
11130 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11131 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11132 COMMON_CPUID_INDEX_80000001.
11133 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11134 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11135 use it if FMA3 is not supported.
11136 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11138 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11139 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11141 2011-10-20 Andreas Schwab <schwab@redhat.com>
11144 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11145 it would create a cycle with a link time dependency.
11147 2011-10-19 Ulrich Drepper <drepper@gmail.com>
11149 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11151 * string/Makefile (strop-tests): Add rawmemchr.
11152 * string/test-rawmemchr.c: New file.
11154 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11155 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11156 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11157 when compiling str{,n}casecmp and when AVX is available. Hook up
11158 new optimized code in initializers.
11160 2011-10-19 Andreas Schwab <schwab@redhat.com>
11162 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11163 __feraiseexcept instead of feraiseexcept.
11165 2011-10-18 Ulrich Drepper <drepper@gmail.com>
11167 * math/math_private.h: Define defaults for libc_fetestexcept and
11169 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11170 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11171 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11172 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11173 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11174 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11175 libc_fetestexcept and libc_feupdateenv.
11177 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11178 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11179 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11180 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11181 libc_feholdexcept_setround.
11183 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11184 Add s_nearbyint-c and s_nearbyintf-c.
11185 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11186 nearbyintf inlines.
11187 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11188 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11189 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11190 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11192 * math/math_private.h: Define defaults for libc_fegetround,
11193 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11194 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11195 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11196 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11197 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11198 standard functions.
11199 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11200 Remove comments and hacks for old compiler versions.
11201 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11202 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11203 libc_feholdexceptl.
11205 2011-10-18 Andreas Schwab <schwab@redhat.com>
11207 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
11208 (__feraiseexcept_renamed): Add __NTH.
11209 (feraiseexcept): Add __NTH. Rename local variables to fix
11210 namespace violations.
11212 2011-10-17 Ulrich Drepper <drepper@gmail.com>
11214 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11216 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11218 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11219 recently added interfaces.
11220 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11222 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11223 about macro parameter expansion.
11225 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11226 __NO_MATH_INLINES is defined. Cleanups.
11228 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11229 and __floorf is target has SSE4.1.
11230 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11231 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11232 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11233 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11235 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11237 (floorf): Likewise.
11239 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11241 2011-10-17 Andreas Schwab <schwab@redhat.com>
11243 * misc/sys/cdefs.h: Fix last change.
11245 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11248 2011-10-16 Ulrich Drepper <drepper@gmail.com>
11250 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11252 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11253 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11254 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11255 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11256 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11257 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11258 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11259 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11260 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11261 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11262 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11263 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11264 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11265 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11266 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11267 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11268 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11269 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11270 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11271 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11272 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11273 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11275 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11276 ceil, ceilf, floor, floorf.
11278 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11279 Perform IRELATIVE relocations last.
11281 * elf/do-rel.h: Add another parameter nrelative, replacing the
11282 local variable with the same name. Change name of the function
11283 to end in Rel or Rela (uppercase).
11284 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11285 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11286 elf_dynamic_do_##reloc function.
11288 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11290 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11291 is sufficient, at least on modern CPUs.
11293 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11295 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11296 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11298 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11300 * math/bits/math-finite.h: Add entries for exp.
11301 * math/e_expl.c: Add __*_finite alias.
11302 * sysdeps/i386/fpu/e_exp.S: Likewise.
11303 * sysdeps/i386/fpu/e_expf.S: Likewise.
11304 * sysdeps/i386/fpu/e_expl.c: Likewise.
11305 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11306 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11307 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11308 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11309 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11310 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11311 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11313 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11314 is sufficient, at least on modern CPUs.
11316 * ctype/ctype-info.c (__ctype_init): Define.
11317 * include/ctype.h (__ctype_init): Declare.
11318 (__ctype_b_loc): The variable is always initialized.
11319 (__ctype_toupper_loc): Likewise.
11320 (__ctype_tolower_loc): Likewise.
11321 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11322 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11324 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11326 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11328 * configure.in: Also look in $cxxmachine/include for C++ system
11331 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11333 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11334 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11335 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11336 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11337 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11338 (USE_AS_WMEMCMP): New macro.
11340 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11341 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11342 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11343 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11344 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11345 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11346 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11347 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11348 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11349 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11350 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11351 (USE_AS_WMEMCMP): New macro.
11352 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11353 * sysdeps/string/test-memcmp.c: Update.
11354 Fix simple_wmemcmp.
11356 * wcsmbs/wmemcmp.c: Update.
11357 (WMEMCMP): New macro.
11360 2011-10-12 Andreas Jaeger <aj@suse.de>
11363 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11365 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11367 * libio/iofwide.c (do_length): Avoid warning.
11369 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11371 2011-10-14 Ulrich Drepper <drepper@gmail.com>
11373 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11375 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11376 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11377 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11378 * sysdeps/i386/i686/fpu/e_log.S: New file.
11379 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11380 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11382 * ctype/ctype.h: Add support for inlined isXXX functions when
11383 compiling C++ code.
11385 2011-10-14 Andreas Schwab <schwab@redhat.com>
11387 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11389 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11391 2011-10-13 Roland McGrath <roland@hack.frob.com>
11394 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11396 2011-10-13 Andreas Schwab <schwab@redhat.com>
11398 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11399 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11402 * sysdeps/x86_64/memrchr.S: Check for zero size.
11404 * string/stratcliff.c: Add memrchr tests.
11406 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11408 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11409 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11410 rawmemchr-sse2 rawmemchr-sse2-bsf.
11411 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11412 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11413 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11414 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11415 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11416 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11417 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11418 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11419 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11420 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11421 * string/memrchr.c (MEMRCHR): New macro.
11423 2011-10-12 Ulrich Drepper <drepper@gmail.com>
11425 Add integration with gcc's -ffinite-math-only and optimize wrapper
11427 * Versions.def: Define GLIBC_2.15 version for libm.
11428 * math/Makefile (headers): Add bits/math-finite.h.
11429 * math/bits/math-finite.h: New file.
11430 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11431 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11432 * math/e_acoshl.c: Add __*_finite alias.
11433 * math/e_acosl.c: Likewise.
11434 * math/e_asinl.c: Likewise.
11435 * math/e_atan2l.c: Likewise.
11436 * math/e_atanhl.c: Likewise.
11437 * math/e_coshl.c: Likewise.
11438 * math/e_exp10.c: Likewise.
11439 * math/e_exp10f.c: Likewise.
11440 * math/e_exp10l.c: Likewise.
11441 * math/e_exp2l.c: Likewise.
11442 * math/e_fmodl.c: Likewise.
11443 * math/e_gammal_r.c: Likewise.
11444 * math/e_hypotl.c: Likewise.
11445 * math/e_j0l.c: Likewise.
11446 * math/e_j1l.c: Likewise.
11447 * math/e_jnl.c: Likewise.
11448 * math/e_lgammal_r.c: Likewise.
11449 * math/e_log10l.c: Likewise.
11450 * math/e_log2l.c: Likewise.
11451 * math/e_logl.c: Likewise.
11452 * math/e_powl.c: Likewise.
11453 * math/e_sinhl.c: Likewise.
11454 * math/e_sqrtl.c: Likewise.
11455 * math/e_scalb.c: Completely rewritten and optimized.
11456 * math/e_scalbf.c: Likewise.
11457 * math/e_scalbl.c: Likewise.
11458 * math/w_acos.c: Likewise.
11459 * math/w_acosf.c: Likewise.
11460 * math/w_acosl.c: Likewise.
11461 * math/w_acosh.c: Likewise.
11462 * math/w_acoshf.c: Likewise.
11463 * math/w_acoshl.c: Likewise.
11464 * math/w_asin.c: Likewise.
11465 * math/w_asinf.c: Likewise.
11466 * math/w_asinl.c: Likewise.
11467 * math/w_atan2.c: Likewise.
11468 * math/w_atan2f.c: Likewise.
11469 * math/w_atan2l.c: Likewise.
11470 * math/w_atanh.c: Likewise.
11471 * math/w_atanhf.c: Likewise.
11472 * math/w_atanhl.c: Likewise.
11473 * math/w_exp10.c: Likewise.
11474 * math/w_exp10f.c: Likewise.
11475 * math/w_exp10l.c: Likewise.
11476 * math/w_fmod.c: Likewise.
11477 * math/w_fmodf.c: Likewise.
11478 * math/w_fmodl.c: Likewise.
11479 * math/w_j0.c: Likewise.
11480 * math/w_j0f.c: Likewise.
11481 * math/w_j0l.c: Likewise.
11482 * math/w_j1.c: Likewise.
11483 * math/w_j1f.c: Likewise.
11484 * math/w_j1l.c: Likewise.
11485 * math/w_jn.c: Likewise.
11486 * math/w_jnf.c: Likewise.
11487 * math/w_log.c: Likewise.
11488 * math/w_logf.c: Likewise.
11489 * math/w_logl.c: Likewise.
11490 * math/w_log10.c: Likewise.
11491 * math/w_log10f.c: Likewise.
11492 * math/w_log10l.c: Likewise.
11493 * math/w_log2.c: Likewise.
11494 * math/w_log2f.c: Likewise.
11495 * math/w_log2l.c: Likewise.
11496 * math/w_pow.c: Likewise.
11497 * math/w_powf.c: Likewise.
11498 * math/w_powl.c: Likewise.
11499 * math/w_remainder.c: Likewise.
11500 * math/w_remainderf.c: Likewise.
11501 * math/w_remainderl.c: Likewise.
11502 * math/w_scalb.c: Likewise.
11503 * math/w_scalbf.c: Likewise.
11504 * math/w_scalbl.c: Likewise.
11505 * math/w_sqrt.c: Likewise.
11506 * math/w_sqrtf.c: Likewise.
11507 * math/w_sqrtl.c: Likewise.
11508 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11509 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11511 * math/math_private.h: Declare __kernel_standard_f.
11512 * math/w_cosh.c: Remove cruft and optimize a bit.
11513 * math/w_coshf.c: Likewise.
11514 * math/w_coshl.c: Likewise.
11515 * math/w_exp2.c: Likewise.
11516 * math/w_exp2f.c: Likewise.
11517 * math/w_exp2l.c: Likewise.
11518 * math/w_hypot.c: Likewise.
11519 * math/w_hypotf.c: Likewise.
11520 * math/w_hypotl.c: Likewise.
11521 * math/w_lgamma.c: Likewise.
11522 * math/w_lgamma_r.c: Likewise.
11523 * math/w_lgammaf.c: Likewise.
11524 * math/w_lgammaf_r.c: Likewise.
11525 * math/w_lgammal.c: Likewise.
11526 * math/w_lgammal_r.c: Likewise.
11527 * math/w_sinh.c: Likewise.
11528 * math/w_sinhf.c: Likewise.
11529 * math/w_sinhl.c: Likewise.
11530 * math/w_tgamma.c: Likewise.
11531 * math/w_tgammaf.c: Likewise.
11532 * math/w_tgammal.c: Likewise.
11533 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11534 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11535 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11536 Minor optimizations. Pretty printing. Remove cruft.
11537 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11538 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11539 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11540 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11541 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11542 * sysdeps/i386/fpu/e_asin.S: Likewise.
11543 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11544 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11545 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11546 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11547 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11548 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11549 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11550 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11551 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11552 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11553 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11554 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11555 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11556 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11557 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11558 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11559 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11560 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11561 * sysdeps/i386/fpu/e_log.S: Likewise.
11562 * sysdeps/i386/fpu/e_log10.S: Likewise.
11563 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11564 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11565 * sysdeps/i386/fpu/e_log2.S: Likewise.
11566 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11567 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11568 * sysdeps/i386/fpu/e_logf.S: Likewise.
11569 * sysdeps/i386/fpu/e_logl.S: Likewise.
11570 * sysdeps/i386/fpu/e_pow.S: Likewise.
11571 * sysdeps/i386/fpu/e_powf.S: Likewise.
11572 * sysdeps/i386/fpu/e_powl.S: Likewise.
11573 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11574 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11575 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11576 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11577 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11578 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11579 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11580 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11581 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11582 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11583 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11584 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11585 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11586 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11587 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11588 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11589 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11590 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11591 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11592 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11593 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11594 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11595 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11596 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11597 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11598 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11599 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11600 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11601 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11602 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11603 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11604 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11605 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11606 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11607 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11608 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11609 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11610 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11611 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11612 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11613 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11614 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11615 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11616 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11617 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11618 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11619 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11620 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11621 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11622 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11623 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11624 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11625 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11626 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11627 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11628 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11629 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11630 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11631 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11632 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11633 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11634 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11635 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11636 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11637 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11638 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11639 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11640 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11641 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11642 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11643 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11645 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11646 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11647 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11648 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11649 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11650 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11651 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11652 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11653 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11654 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11655 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11656 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11657 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11658 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11659 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11660 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11661 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11662 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11663 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11664 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11665 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11666 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11667 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11668 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11669 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11670 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11671 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11672 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11673 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11674 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11675 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11676 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11677 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11678 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11679 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11680 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11681 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11682 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11683 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11684 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11685 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11686 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11687 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11688 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11689 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11690 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11691 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11692 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11693 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11694 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11695 (__isnanf): Likewise.
11696 (__isinf_ns): Likewise.
11697 (__isinf_nsf): Likewise.
11698 (__finite): Likewise.
11699 (__finitef): Likewise.
11700 (__ieee754_sqrt): Define as macro.
11701 (__ieee754_sqrtf): Define as macro.
11702 (__ieee754_sqrtl): Define as macro.
11703 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11705 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11706 __FINITE_MATH_ONLY__ consistent.
11707 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11709 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11711 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11714 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11716 2011-10-09 Ulrich Drepper <drepper@gmail.com>
11718 * po/ja.po: Update from translation team.
11720 2011-10-08 Roland McGrath <roland@hack.frob.com>
11722 * locale/programs/locarchive.c (prepare_address_space): New function.
11723 (create_archive, enlarge_archive, open_archive): Use it.
11725 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11726 inside [SHARED], where it is used.
11728 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11730 * nss/getent.c (netgroup_keys): Remove unused variable.
11731 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11733 2011-10-08 Ulrich Drepper <drepper@gmail.com>
11735 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11736 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11737 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11738 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11739 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11740 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11741 * math/Makefile (libm-calls): Add s_isinf_ns.
11742 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11743 * math/multc3.c: Likewise.
11744 * math/s_casin.c: Likewise.
11745 * math/s_casinf.c: Likewise.
11746 * math/s_casinl.c: Likewise.
11747 * math/s_ccos.c: Likewise.
11748 * math/s_ccosf.c: Likewise.
11749 * math/s_ccosl.c: Likewise.
11750 * math/s_ctan.c: Likewise.
11751 * math/s_ctanf.c: Likewise.
11752 * math/s_ctanh.c: Likewise.
11753 * math/s_ctanhf.c: Likewise.
11754 * math/s_ctanhl.c: Likewise.
11755 * math/s_ctanl.c: Likewise.
11756 * math/w_fmod.c: Likewise.
11757 * math/w_fmodf.c: Likewise.
11758 * math/w_fmodl.c: Likewise.
11759 * math/w_remainder.c: Likewise.
11760 * math/w_remainderf.c: Likewise.
11761 * math/w_remainderl.c: Likewise.
11762 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11763 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11764 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11765 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11766 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11767 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11768 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11769 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11771 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11773 * stdio-common/printf_fphex.c: Likewise.
11774 * stdio-common/printf_size.c: Likewise.
11776 * math/e_exp10.c: Include math_private.h using <...> not "...".
11777 * math/e_exp10f.c: Likewise.
11778 * math/e_exp10l.c: Likewise.
11779 * math/e_exp2l.c: Likewise.
11780 * math/e_j0l.c: Likewise.
11781 * math/e_j1l.c: Likewise.
11782 * math/e_jnl.c: Likewise.
11783 * math/e_lgammal_r.c: Likewise.
11784 * math/e_rem_pio2l.c: Likewise.
11785 * math/e_scalb.c: Likewise.
11786 * math/e_scalbf.c: Likewise.
11787 * math/e_scalbl.c: Likewise.
11788 * math/k_cosl.c: Likewise.
11789 * math/k_sinl.c: Likewise.
11790 * math/k_tanl.c: Likewise.
11791 * math/s_cacoshf.c: Likewise.
11792 * math/s_catan.c: Likewise.
11793 * math/s_catanf.c: Likewise.
11794 * math/s_catanh.c: Likewise.
11795 * math/s_catanhf.c: Likewise.
11796 * math/s_catanhl.c: Likewise.
11797 * math/s_catanl.c: Likewise.
11798 * math/s_ccosh.c: Likewise.
11799 * math/s_ccoshf.c: Likewise.
11800 * math/s_ccoshl.c: Likewise.
11801 * math/s_cexp.c: Likewise.
11802 * math/s_cexpf.c: Likewise.
11803 * math/s_cexpl.c: Likewise.
11804 * math/s_clog.c: Likewise.
11805 * math/s_clog10.c: Likewise.
11806 * math/s_clog10f.c: Likewise.
11807 * math/s_clog10l.c: Likewise.
11808 * math/s_clogf.c: Likewise.
11809 * math/s_clogl.c: Likewise.
11810 * math/s_csin.c: Likewise.
11811 * math/s_csinf.c: Likewise.
11812 * math/s_csinh.c: Likewise.
11813 * math/s_csinhf.c: Likewise.
11814 * math/s_csinhl.c: Likewise.
11815 * math/s_csinl.c: Likewise.
11816 * math/s_csqrt.c: Likewise.
11817 * math/s_csqrtf.c: Likewise.
11818 * math/s_csqrtl.c: Likewise.
11819 * math/s_ctan.c: Likewise.
11820 * math/s_ctanf.c: Likewise.
11821 * math/s_ctanh.c: Likewise.
11822 * math/s_ctanhf.c: Likewise.
11823 * math/s_ctanhl.c: Likewise.
11824 * math/s_ctanl.c: Likewise.
11825 * math/s_ldexp.c: Likewise.
11826 * math/s_ldexpf.c: Likewise.
11827 * math/s_ldexpl.c: Likewise.
11828 * math/s_significand.c: Likewise.
11829 * math/s_significandf.c: Likewise.
11830 * math/s_significandl.c: Likewise.
11831 * math/w_acos.c: Likewise.
11832 * math/w_acosf.c: Likewise.
11833 * math/w_acosh.c: Likewise.
11834 * math/w_acoshf.c: Likewise.
11835 * math/w_acoshl.c: Likewise.
11836 * math/w_acosl.c: Likewise.
11837 * math/w_asin.c: Likewise.
11838 * math/w_asinf.c: Likewise.
11839 * math/w_asinl.c: Likewise.
11840 * math/w_atan2.c: Likewise.
11841 * math/w_atan2f.c: Likewise.
11842 * math/w_atan2l.c: Likewise.
11843 * math/w_atanh.c: Likewise.
11844 * math/w_atanhf.c: Likewise.
11845 * math/w_atanhl.c: Likewise.
11846 * math/w_cosh.c: Likewise.
11847 * math/w_coshf.c: Likewise.
11848 * math/w_coshl.c: Likewise.
11849 * math/w_dremf.c: Likewise.
11850 * math/w_exp10.c: Likewise.
11851 * math/w_exp10f.c: Likewise.
11852 * math/w_exp10l.c: Likewise.
11853 * math/w_exp2.c: Likewise.
11854 * math/w_exp2f.c: Likewise.
11855 * math/w_fmod.c: Likewise.
11856 * math/w_fmodf.c: Likewise.
11857 * math/w_fmodl.c: Likewise.
11858 * math/w_hypot.c: Likewise.
11859 * math/w_hypotf.c: Likewise.
11860 * math/w_hypotl.c: Likewise.
11861 * math/w_j0.c: Likewise.
11862 * math/w_j0f.c: Likewise.
11863 * math/w_j0l.c: Likewise.
11864 * math/w_j1.c: Likewise.
11865 * math/w_j1f.c: Likewise.
11866 * math/w_j1l.c: Likewise.
11867 * math/w_jn.c: Likewise.
11868 * math/w_jnf.c: Likewise.
11869 * math/w_jnl.c: Likewise.
11870 * math/w_lgamma.c: Likewise.
11871 * math/w_lgamma_r.c: Likewise.
11872 * math/w_lgammaf.c: Likewise.
11873 * math/w_lgammaf_r.c: Likewise.
11874 * math/w_lgammal.c: Likewise.
11875 * math/w_lgammal_r.c: Likewise.
11876 * math/w_log.c: Likewise.
11877 * math/w_log10.c: Likewise.
11878 * math/w_log10f.c: Likewise.
11879 * math/w_log10l.c: Likewise.
11880 * math/w_log2.c: Likewise.
11881 * math/w_log2f.c: Likewise.
11882 * math/w_log2l.c: Likewise.
11883 * math/w_logf.c: Likewise.
11884 * math/w_logl.c: Likewise.
11885 * math/w_pow.c: Likewise.
11886 * math/w_powf.c: Likewise.
11887 * math/w_powl.c: Likewise.
11888 * math/w_remainder.c: Likewise.
11889 * math/w_remainderf.c: Likewise.
11890 * math/w_remainderl.c: Likewise.
11891 * math/w_scalb.c: Likewise.
11892 * math/w_scalbf.c: Likewise.
11893 * math/w_scalbl.c: Likewise.
11894 * math/w_sinh.c: Likewise.
11895 * math/w_sinhf.c: Likewise.
11896 * math/w_sinhl.c: Likewise.
11897 * math/w_sqrt.c: Likewise.
11898 * math/w_sqrtf.c: Likewise.
11899 * math/w_sqrtl.c: Likewise.
11900 * math/w_tgamma.c: Likewise.
11901 * math/w_tgammaf.c: Likewise.
11902 * math/w_tgammal.c: Likewise.
11904 * po/ja.po: Update from translation team.
11906 2011-09-29 Andreas Jaeger <aj@suse.de>
11909 * sunrpc/netname.c (netname2host): Fix logic.
11913 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11915 * math/w_remainder.c (__remainder): Likewise.
11916 * math/w_remainderf.c (__remainderf): Likewise.
11917 * math/libm-test.inc (remainder_test): Add test cases.
11919 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11921 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11924 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11926 * string/test-memcmp.c: Avoid unncessary #defines.
11927 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11929 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11931 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11932 Use new sse2 version for core i3 - i7 as it's faster
11933 than sse42 version.
11934 (bit_Prefer_PMINUB_for_stringop): New.
11935 * sysdeps/x86_64/rawmemchr.S: Update.
11936 Replace with faster SSE2 version.
11937 * sysdeps/x86_64/memrchr.S: New file.
11938 * sysdeps/x86_64/memchr.S: Update.
11939 Replace with faster SSE2 version.
11941 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11943 * elf/dl-load.c (lose): Add cast to avoid warning.
11945 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11947 * po/ca.po: Update from translation team.
11949 * inet/getnetgrent_r.c: Hook up nscd.
11950 * nscd/Makefile (routines): Add nscd_netgroup.
11951 (nscd-modules): Add netgroupcache.
11952 (CFLAGS-netgroupcache.c): Define.
11953 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11954 (cache_search): Add const to second parameter.
11955 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11957 (dbs): Add netgrdb entry.
11958 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11959 (verify_persistent_db): Handle netgrdb.
11960 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11961 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11963 (netgroup_response_header): Define.
11964 (innetgroup_response_header): Define.
11965 (datahead): Add netgroup_response_header and innetgroup_response_header
11967 * nscd/nscd.conf: Add entries for netgroup cache.
11968 * nscd/nscd.h (dbtype): Add netgrdb.
11969 (_PATH_NSCD_NETGROUP_DB): Define.
11970 (netgroup_iov_disabled): Declare.
11971 (xmalloc, xcalloc, xrealloc): Move declarations here.
11972 (cache_search): Adjust prototype.
11973 Add netgroup-related prototypes.
11974 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11975 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11976 (__nscd_innetgr): Declare.
11977 * nscd/selinux.c (perms): Use access_vector_t as element type and
11978 add netgroup-related initializers.
11979 * nscd/netgroupcache.c: New file.
11980 * nscd/nscd_netgroup.c: New file.
11981 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11982 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11983 For four parameters use innetgr.
11984 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11985 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11986 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11987 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11989 * nscd/connections.c (register_traced_file): Don't register file
11990 for disabled databases.
11992 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11994 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11996 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11997 from tree and freeing node.
11999 2011-09-25 Jiri Olsa <jolsa@redhat.com>
12001 * nss/nsswitch.c (__nss_database_lookup): Handle
12002 nss_parse_service_list out of memory case.
12004 2011-09-15 Jiri Olsa <jolsa@redhat.com>
12006 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12007 out of memory case.
12009 2011-10-04 Andreas Schwab <schwab@redhat.com>
12011 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12012 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12014 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12015 elf_machine_rela, elf_machine_lazy_rel.
12016 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12017 (ELF_DYNAMIC_DO_REL): Likewise.
12018 (ELF_DYNAMIC_DO_RELA): Likewise.
12019 (ELF_DYNAMIC_RELOCATE): Likewise.
12020 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12021 to ELF_DYNAMIC_DO_REL.
12022 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12023 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12024 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12026 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12027 skip_ifunc, don't call ifunc function if non-zero.
12028 (elf_machine_rela): Likewise.
12029 (elf_machine_lazy_rel): Likewise.
12030 (elf_machine_lazy_rela): Likewise.
12031 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12032 (elf_machine_lazy_rel): Likewise.
12033 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12035 (elf_machine_lazy_rel): Likewise.
12036 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12038 (elf_machine_lazy_rel): Likewise.
12039 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12040 (elf_machine_lazy_rel): Likewise.
12041 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12042 (elf_machine_lazy_rel): Likewise.
12043 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12044 (elf_machine_lazy_rel): Likewise.
12045 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12046 (elf_machine_lazy_rel): Likewise.
12047 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12048 (elf_machine_lazy_rel): Likewise.
12049 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12050 (elf_machine_lazy_rel): Likewise.
12052 2011-09-28 Ulrich Drepper <drepper@gmail.com>
12054 * nss/nss_files/files-init.c (_nss_files_init): Use static
12055 initialization for all the *_traced_file variables.
12057 2011-09-28 Andreas Schwab <schwab@redhat.com>
12059 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12061 2011-09-27 Roland McGrath <roland@hack.frob.com>
12064 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12066 2011-09-27 Andreas Schwab <schwab@redhat.com>
12068 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12069 Reread the line before reparsing it.
12071 2011-09-26 Andreas Schwab <schwab@redhat.com>
12073 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12075 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12076 Maxim Kuvyrkov <maxim@codesourcery.com>
12077 Joseph Myers <joseph@codesourcery.com>
12079 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12080 if needed for __stack_chk_guard.
12082 2011-09-19 Roland McGrath <roland@hack.frob.com>
12084 * sysdeps/posix/spawni.c (script_execute): Always define it.
12085 It will be optimized away if unused.
12086 (maybe_script_execute): New function.
12087 (__spawni): Call it.
12089 * Makerules: Don't include tls.make.
12090 (config-tls): Always set to thread.
12091 * tls.make.c: File removed.
12093 2011-09-19 Mike Frysinger <vapier@gentoo.org>
12095 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12096 * config.make.in (CPPFLAGS-config): New substituted variable.
12098 2011-09-15 Ulrich Drepper <drepper@gmail.com>
12100 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12103 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12104 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12106 2011-09-15 Roland McGrath <roland@hack.frob.com>
12108 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12109 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12110 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12111 (CALL_FAIL): Likewise.
12112 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12113 (CALL_FAIL): Macro removed.
12114 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12116 2011-09-15 Ulrich Drepper <drepper@gmail.com>
12118 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12119 for __FINITE_MATH_ONLY__ == 1.
12121 2011-09-15 Andreas Schwab <schwab@redhat.com>
12123 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12124 __ieee754_sqrt instead of sqrt.
12125 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12126 __ieee754_sqrtf instead of sqrtf.
12127 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12128 __floorf instead of floorf.
12129 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12130 __floorf, __truncf instead of floorf, truncf.
12132 2011-09-14 Ulrich Drepper <drepper@gmail.com>
12134 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12136 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12137 __extern_always_inline.
12138 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12141 2011-09-14 Andreas Schwab <schwab@redhat.com>
12143 * elf/rtld.c (dl_main): Also relocate in dependency order when
12144 doing symbol dependency testing.
12146 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12148 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12149 Always define `refsym'.
12151 2011-09-13 Andreas Schwab <schwab@redhat.com>
12153 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12154 (__FD_ELT): Renamed from __FDELT.
12155 * misc/bits/select2.h (__FD_ELT): Likewise.
12156 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12157 __FD_MASK instead of __FDELT, __FDMASK.
12158 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12160 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12163 * elf/Makefile (gen-ldd): Fix pattern.
12165 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12166 (init_tls): Likewise.
12168 2011-09-12 Ulrich Drepper <drepper@gmail.com>
12170 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12172 2011-09-12 Andreas Schwab <schwab@redhat.com>
12174 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12175 `struct cmsghdr *' instead of `void *'.
12176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12179 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12181 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12183 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12184 ldd_rewrite_script.
12186 2011-09-11 Ulrich Drepper <drepper@gmail.com>
12188 * configure.in: Remove --with-tls option.
12189 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12190 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12191 out in case it is missing.
12192 * sysdeps/ia64/elf/configure.in: Likewise.
12193 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12194 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12195 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12196 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12197 * sysdeps/sh/elf/configure.in: Likewise.
12198 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12199 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12200 * sysdeps/x86_64/elf/configure.in: Likewise.
12201 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12202 * sysdeps/mach/hurd/tls.h: Likewise.
12205 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12208 * configure.in: Fix use of AC_INIT.
12210 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12212 2011-09-10 Ulrich Drepper <drepper@gmail.com>
12214 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12216 * malloc/hooks.c: Likewise.
12219 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12220 variables statically.
12221 (narenas): Initialize.
12222 (list_lock): Initialize.
12223 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12224 initializtion of main_arena and list_lock. Small cleanups.
12225 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12226 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12227 Add initializers to main_arena and mp_.
12228 (malloc_state): Remove pagesize member. Change all users to use
12231 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12232 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12233 is always initialized.
12235 * malloc/malloc.c: Removed unused configurations and dead code.
12236 * malloc/arena.c: Likewise.
12237 * malloc/hooks.c: Likewise.
12238 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
12240 * include/tls.h: Removed. USE___THREAD must always be defined.
12241 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12242 * elf/dl-libc.c: Likewise.
12243 * elf/dl-tsd.c: Likewise.
12244 * include/errno.h: Likewise.
12245 * include/netdb.h: Likewise.
12246 * include/resolv.h: Likewise.
12247 * inet/herrno-loc.c: Likewise.
12248 * inet/herrno.c: Likewise.
12249 * malloc/arena.c: Likewise.
12250 * malloc/hooks.c: Likewise.
12251 * malloc/malloc.c: Likewise.
12252 * resolv/res-state.c: Likewise.
12253 * resolv/res_libc.c: Likewise.
12254 * sysdeps/i386/dl-machine.h: Likewise.
12255 * sysdeps/ia64/dl-machine.h: Likewise.
12256 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12257 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12258 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12259 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12260 * sysdeps/sh/dl-machine.h: Likewise.
12261 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12262 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12263 * sysdeps/unix/i386/sysdep.S: Likewise.
12264 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12265 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12266 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12267 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12268 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12269 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12270 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12271 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12272 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12273 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12274 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12275 * sysdeps/x86_64/dl-machine.h: Likewise.
12276 * tls.make.c: Likewise.
12278 * configure.in: Remove --with-__thread option. Make tests for
12279 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12280 tls_model attribute fail if no support is available. Remove
12282 * Makeconfig: Adjust for dropped configure option. All features are
12284 * Makerules: Likewise.
12285 * Versions.def: Likewise.
12286 * argp/argp-fmtstream.c: Likewise.
12287 * argp/argp-fmtstream.h: Likewise.
12288 * argp/argp-help.c: Likewise.
12289 * assert/assert.c: Likewise.
12290 * config.h.in: Likewise.
12291 * config.make.in: Likewise.
12292 * configure: Likewise.
12293 * configure.in: Likewise.
12294 * csu/Versions: Likewise.
12295 * csu/init.c: Likewise.
12296 * elf/tst-audit2.c: Likewise.
12297 * elf/tst-tls10.c: Likewise.
12298 * elf/tst-tls10.h: Likewise.
12299 * elf/tst-tls11.c: Likewise.
12300 * elf/tst-tls12.c: Likewise.
12301 * elf/tst-tls14.c: Likewise.
12302 * elf/tst-tlsmod11.c: Likewise.
12303 * elf/tst-tlsmod12.c: Likewise.
12304 * elf/tst-tlsmod13.c: Likewise.
12305 * elf/tst-tlsmod13a.c: Likewise.
12306 * elf/tst-tlsmod14a.c: Likewise.
12307 * elf/tst-tlsmod15b.c: Likewise.
12308 * elf/tst-tlsmod16a.c: Likewise.
12309 * elf/tst-tlsmod16b.c: Likewise.
12310 * elf/tst-tlsmod7.c: Likewise.
12311 * elf/tst-tlsmod8.c: Likewise.
12312 * elf/tst-tlsmod9.c: Likewise.
12313 * gmon/gmon.c: Likewise.
12314 * grp/fgetgrent_r.c: Likewise.
12315 * grp/putgrent.c: Likewise.
12316 * hurd/fopenport.c: Likewise.
12317 * include/libc-symbols.h: Likewise.
12318 * include/tls.h: Likewise.
12319 * intl/gettextP.h: Likewise.
12320 * intl/loadinfo.h: Likewise.
12321 * locale/global-locale.c: Likewise.
12322 * locale/localeinfo.h: Likewise.
12323 * mach/devstream.c: Likewise.
12324 * malloc/arena.c: Likewise.
12325 * malloc/set-freeres.c: Likewise.
12326 * misc/err.c: Likewise.
12327 * misc/getttyent.c: Likewise.
12328 * misc/mntent_r.c: Likewise.
12329 * posix/getopt.c: Likewise.
12330 * posix/wordexp.c: Likewise.
12331 * pwd/fgetpwent_r.c: Likewise.
12332 * resolv/Versions: Likewise.
12333 * resolv/res_hconf.c: Likewise.
12334 * shadow/fgetspent_r.c: Likewise.
12335 * shadow/putspent.c: Likewise.
12336 * stdio-common/printf_fphex.c: Likewise.
12337 * stdio-common/tmpfile.c: Likewise.
12338 * stdlib/abort.c: Likewise.
12339 * stdlib/fmtmsg.c: Likewise.
12340 * sunrpc/auth_unix.c: Likewise.
12341 * sunrpc/clnt_perr.c: Likewise.
12342 * sunrpc/clnt_tcp.c: Likewise.
12343 * sunrpc/clnt_udp.c: Likewise.
12344 * sunrpc/clnt_unix.c: Likewise.
12345 * sunrpc/openchild.c: Likewise.
12346 * sunrpc/svc_simple.c: Likewise.
12347 * sunrpc/svc_tcp.c: Likewise.
12348 * sunrpc/svc_udp.c: Likewise.
12349 * sunrpc/svc_unix.c: Likewise.
12350 * sunrpc/xdr.c: Likewise.
12351 * sunrpc/xdr_array.c: Likewise.
12352 * sunrpc/xdr_rec.c: Likewise.
12353 * sunrpc/xdr_ref.c: Likewise.
12354 * sunrpc/xdr_stdio.c: Likewise.
12356 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12358 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12360 2011-07-03 Andreas Jaeger <aj@suse.de>
12362 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12363 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12364 regenerate with gen-libm-tests.pl.
12366 2010-05-12 Petr Baudis <pasky@suse.cz>
12369 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12370 around j0() zero points by switching to j1().
12371 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12372 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12373 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12374 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12376 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12378 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12380 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12382 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12383 Patch in part by Pavel Roskin <proski@gnu.org>.
12386 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12388 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12389 Free memory block if necessary.
12392 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12393 be NULL. Don't lock in this case.
12395 2011-09-09 Roland McGrath <roland@hack.frob.com>
12397 * elf/elf.h (ELFOSABI_GNU): New macro.
12398 (ELFOSABI_LINUX): Define to that.
12400 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12402 * string/strncat.c (strncat): Undef the symbol in case it has been
12403 defined in bits/string.h.
12405 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12407 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12409 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12412 2011-08-17 Andreas Jaeger <aj@suse.de>
12414 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12416 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12417 Ian Lance Taylor <iant@google.com>
12419 * math/libm-test.inc (lround_test): New testcase.
12420 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12422 2011-09-08 Ulrich Drepper <drepper@gmail.com>
12424 * Makefile: Remove support for automatic cvs check-ins.
12425 * Makerules: Likewise.
12426 * config.make.in: Likewise.
12427 * configure.in: Likewise.
12428 * intl/Makefile: Likewise.
12429 * locale/Makefile: Likewise.
12430 * po/Makefile: Likewise.
12431 * posix/Makefile: Likewise.
12432 * sysdeps/gnu/Makefile: Likewise.
12433 * sysdeps/mach/hurd/Makefile: Likewise.
12434 * sysdeps/sparc/sparc32/Makefile: Likewise.
12437 * posix/Makefile (bug-regex32-ENV): Define.
12438 Patch by John Stanley <jpsinthemix@verizon.net>.
12440 * misc/Makefile (headers): Add bits/select2.h.
12441 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12442 * misc/bits/select2.h: New file.
12443 * include/bits/select2.h: New file.
12444 * debug/Makefile (routines): Add fdelt_chk.
12445 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12446 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12448 * debug/fdelt_chk.c: New file.
12450 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12451 * wcsmbs/test-wmemcmp.c: Likewise.
12452 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12453 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12455 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12457 * string/Makefile (strop-tests): Add memcmp.
12458 * string/test-wmemcmp.c: New file.
12459 * string/test-memcmp.c: Add wmemcmp support.
12461 2011-09-08 Roland McGrath <roland@hack.frob.com>
12464 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12467 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12468 garbage value in a __mach_port_mod_refs call in the cases of the
12469 task-self and thread-self ports.
12471 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12473 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12475 2011-09-08 Andreas Schwab <schwab@redhat.com>
12477 * elf/dl-load.c (lose): Check for non-null L.
12479 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12481 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12483 * elf/dl-libc.c (dlerror_run): Pass back error code from
12487 * elf/dl-load.c (lose): Free l_origin if it is valid.
12489 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12491 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12492 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12493 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12494 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12495 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12496 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12498 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12500 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12501 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12502 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12503 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12504 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12505 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12506 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12507 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12508 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12509 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12511 2011-08-15 Alan Modra <amodra@gmail.com>
12514 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12515 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12516 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12517 ppc_mcount to static-only-routines.
12518 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12520 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12521 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12523 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12525 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12526 for finite and infinity parameters.
12528 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12530 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12531 and add nop instructions for throughput optimization.
12532 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12534 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12536 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12537 aligned copy for power7 with vector-scalar instructions.
12538 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12540 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12542 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12545 2011-09-07 Andreas Schwab <schwab@redhat.com>
12548 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12551 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12553 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12554 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12555 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12556 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12559 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12561 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12562 Forgot to demangle the pointer.
12564 * sysdeps/i386/sysdep.h: Define atom_text_section.
12565 * sysdeps/x86_64/sysdep.h: Likewise.
12566 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12567 section with atom_text_section.
12568 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12569 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12570 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12571 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12572 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12574 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12575 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12576 already be defined. Change to take two parameters and don't assign
12577 result to variable. Adjust all users.
12578 Define INTERNAL_GETTIME if not already defined.
12579 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12581 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12582 HAVE_CLOCK_GETTIME_VSYSCALL.
12583 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12585 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12586 gettimeofday vsyscall, just use time.
12588 2011-09-06 Andreas Schwab <schwab@redhat.com>
12590 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12593 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12595 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12597 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12599 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12600 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12601 syscall if possible.
12603 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12605 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12606 e_ident. Don't pass to find_mapsXX.
12607 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12609 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12612 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12613 * sysdeps/x86_64/multiarch/strchr.S: Update.
12614 Check bit_slow_BSF bit.
12615 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12616 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12617 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12619 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12622 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12624 (tryshell): Define.
12625 (__spawni): Change last parameter to be flag. Test
12626 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12627 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12628 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12629 * posix/spawni.c: Likewise.
12630 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12631 * posix/spawnp.c: Likewise. Change normal version to use
12632 SPAWN_XFLAGS_USE_PATH.
12633 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12634 SPAWN_XFLAGS_TRY_SHELL.
12637 * posix/glob.h: Remove gcc 1.x support.
12640 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12642 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12644 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12645 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12647 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12648 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12649 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12650 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12651 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12652 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12654 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12656 * sysdeps/x86_64/wcscmp.S: New file.
12658 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12659 wcscmp-c wcscmp-sse2
12660 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12661 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12662 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12663 * wcsmbs/wcscmp.c: Allow renaming.
12665 2011-09-05 David S. Miller <davem@davemloft.net>
12667 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12668 stack slot, rather than the struct return pointer slot.
12669 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12670 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12672 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12674 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12676 * po/ja.po: Update from translation team.
12679 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12680 kernel in 64-bit binaries.
12682 2011-09-01 David S. Miller <davem@davemloft.net>
12684 * elf/elf.h (HWCAP_SPARC_*): Move to..
12685 * sysdeps/sparc/sysdep.h: this new file and add new values.
12686 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12687 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12688 _DL_HWCAP_COUNT to 24.
12689 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12691 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12692 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12693 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12694 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12695 instead of magic constants.
12696 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12698 2011-08-31 David S. Miller <davem@davemloft.net>
12700 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12701 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12702 Reimplement to do errno handling inline.
12703 (SYSCALL_ERROR_HANDLER): New macro.
12704 (__SYSCALL_STRING): Do not do errno handling in asm.
12705 (__CLONE_SYSCALL_STRING): Delete.
12706 (__INTERNAL_SYSCALL_STRING): Delete.
12707 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12708 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12709 (PSEUDO): Reimplement to do errno handling inline.
12710 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12711 (SYSCALL_ERROR_HANDLER): New macro.
12712 (__SYSCALL_STRING): Do not do errno handling in asm.
12713 (__CLONE_SYSCALL_STRING): Delete.
12714 (__INTERNAL_SYSCALL_STRING): Delete.
12715 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12716 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12718 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12719 (inline_syscall*): Add 'err' argument.
12720 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12721 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12722 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12723 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12725 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12726 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12728 2011-08-30 Andreas Schwab <schwab@redhat.com>
12730 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12732 2011-08-29 Jiri Olsa <jolsa@redhat.com>
12734 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12737 2011-08-24 David S. Miller <davem@davemloft.net>
12739 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12741 2011-08-24 Andreas Schwab <schwab@redhat.com>
12743 * elf/Makefile: Add rules to build and run unload8 test.
12744 * elf/unload8.c: New file.
12745 * elf/unload8mod1.c: New file.
12746 * elf/unload8mod1x.c: New file.
12747 * elf/unload8mod2.c: New file.
12748 * elf/unload8mod3.c: New file.
12750 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12753 2011-08-23 David S. Miller <davem@davemloft.net>
12755 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12756 subtract stack bias.
12757 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12758 %sp not %fp in calculations.
12759 (_JMPBUF_UNWINDS_ADJ): Likewise.
12761 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12762 (aio_suspend): Call it to force an exception region around the
12763 AIO_MISC_WAIT() invocation.
12765 2011-08-23 Andreas Schwab <schwab@redhat.com>
12767 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12770 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12772 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12774 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12775 and <dl-machine.h>.
12776 (Elf64_FuncDesc): Remove.
12778 2011-08-22 David S. Miller <davem@davemloft.net>
12780 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12781 sigaltstack check, add missing cfi directives.
12782 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12783 missing cfi directives, and sigaltstack handling.
12785 2011-08-16 Andreas Schwab <schwab@redhat.com>
12788 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12789 object is seen twice.
12790 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12792 * elf/Makefile (distribute): Add tst-initorder2.c.
12793 (tests): Add tst-initorder2.
12794 (modules-names): Add tst-initorder2a tst-initorder2b
12795 tst-initorder2c tst-initorder2d. Add rules to build them.
12796 ($(objpfx)tst-initorder2.out): New rule.
12797 * elf/tst-initorder2.c: New file.
12798 * elf/tst-initorder2.exp: New file.
12800 2011-08-22 Andreas Schwab <schwab@redhat.com>
12802 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12804 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12805 dependencies back to end of function.
12807 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12808 $(elfobjdir)/ld.so.
12810 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12812 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12813 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12814 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12815 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12816 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12817 of __vdso_gettimeofday.
12818 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12819 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12821 (_libc_vdso_platform_setup): Remove initialization of
12822 __vdso_gettimeofday and __vdso_time.
12824 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12826 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12827 and fgetc_unlocked.
12828 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12831 * elf/dl-open.c (add_to_global): Report additions to the global scope
12832 for LD_DEBUG=scopes.
12833 (dl_open_worker): Also print scope of newly loaded dependencies.
12834 (_dl_show_scope): Indicate if there is no scope.
12837 * stdio-common/Makefile (tests): Add bug24.
12838 * stdio-common/bug24.c: New file.
12840 2011-08-19 Andreas Jaeger <aj@suse.de>
12843 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12844 non-existant file when using close-on-exec mode.
12846 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12848 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12849 the very first instruction.
12851 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12852 the CFI state in the end.
12853 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12854 inclusion of dl-trampoline.h.
12855 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12857 2011-08-19 Andreas Schwab <schwab@redhat.com>
12859 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12860 expectations for long double.
12862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12863 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12865 2011-08-14 David S. Miller <davem@davemloft.net>
12867 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12868 artificual limit depends upon the system page size.
12870 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12872 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12873 * resolv/Makefile: Define CFLAGS-libresolv.
12875 2011-08-17 Andreas Schwab <schwab@redhat.com>
12877 * nss/makedb.c (compute_tables): Make variables used in nested
12880 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12882 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12883 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12884 if buffer was too small.
12886 * elf/pldd.c (main): Attach to all threads in the process.
12887 Rewrite /proc handling to use *at functions.
12889 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12891 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12892 specifies first scope to show.
12893 (dl_open_worker): Update callers. Move printing scope of new
12894 object to before the relocation.
12895 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12896 * sysdeps/generic/ldsodefs.h: Update declaration.
12898 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12899 string for the scope number.
12901 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12903 * nscd/servicescache.c (cache_addserv): Make sure written is always
12906 2011-08-14 Roland McGrath <roland@hack.frob.com>
12908 * sysdeps/i386/i486/bits/atomic.h
12909 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12910 statement expression, so as to suppress "set but not used" warning.
12911 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12913 * string/strncat.c (STRNCAT): Use prototype definition.
12915 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12916 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12918 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12919 (localedef-modules): Add localedef.
12920 (locale-modules): Add locale.
12922 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12923 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12924 to avoid a warning.
12926 2011-08-14 David S. Miller <davem@davemloft.net>
12928 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12929 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12931 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12933 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12934 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12935 * elf/rtld.c (dl_main): Set l_name of vDSO.
12936 Call _dl_show_scope when DL_DEBUG_SCOPES.
12937 (process_dl_debug): Recognize scopes flag and also set it for all.
12938 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12939 Declare _dl_show_scope.
12941 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12942 (do_dlopen): Pass caller_dlopen to dl_open.
12943 (__libc_dlopen_mode): Initialize caller_dlopen.
12945 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12946 of libc. Make tolower call locale-independent. Optimize a bit by
12947 using isdigit instead of isalnum.
12948 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12950 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12952 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12953 was a dependency or dynamically loaded.
12955 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12957 * intl/l10nflist.c: Allow architecture-specific pop function.
12958 * sysdeps/x86_64/l10nflist.c: New file.
12960 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12963 2011-08-10 Andreas Schwab <schwab@redhat.com>
12965 * include/dirent.h: Add libc_hidden_proto for scandirat and
12966 scandirat64. Don't declare __scandirat64.
12967 * dirent/scandirat.c: Add libc_hidden_def.
12968 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12969 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12971 2011-08-10 David S. Miller <davem@davemloft.net>
12973 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12975 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12976 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12977 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12979 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12981 * Versions.def [libc]: Add GLIBC_2.15.
12982 * dirent/Makefile (routines): Add scandirat and scandirat64.
12983 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12985 * dirent/dirent.h: Declare scandirat and scandirat64.
12986 * dirent/scandirat.c: New file.
12987 * dirent/scandirat64.c: New file.
12988 * sysdeps/wordsize-64/scandirat.c: New file.
12989 * sysdeps/wordsize-64/scandirat64.c: New file.
12990 * dirent/opendir.c: Define opendirat.
12991 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12993 * dirent/scandir64.c: Adjust for scandir.c change.
12994 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12995 __scandirat64, and __scandir_cancel_handler.
12996 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12997 additional parameter and use openat instead of open (outside of ld.so).
12998 Add new __opendir as wrapper around __opendirat.
12999 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13000 here without requiring old scandirat implementation.
13002 2011-08-08 Ulrich Drepper <drepper@gmail.com>
13004 * dirent/scandir.c (cancel_handler): Renamed to
13005 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13006 defined. Adjust users.
13007 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13008 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13010 2011-08-04 Ulrich Drepper <drepper@gmail.com>
13012 * string/test-string.h (IMPL): Use __STRING to expand name and then
13015 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13018 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13020 * string/Makefile: Update.
13021 (strop-tests): Append strncat.
13022 * string/test-wcscmp.c: New file.
13023 New comprehensive test for wcscmp.
13024 * string/test-strcmp.c: Update.
13025 (WIDE): New define.
13027 2011-07-22 Andreas Schwab <schwab@redhat.com>
13029 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13032 2011-07-26 Andreas Schwab <schwab@redhat.com>
13034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13035 encoding to ACE if AI_IDN.
13037 2011-08-01 Jakub Jelinek <jakub@redhat.com>
13039 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13040 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13042 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13044 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13045 Fix overflow bug in strncat.
13046 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13048 * string/test-strncat.c: Update.
13049 Add new tests for checking overflow bugs.
13051 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13053 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13054 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13055 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13056 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13057 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13058 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13059 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13060 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13061 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13063 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13064 (USE_AS_STRCAT): Define.
13065 Add strcat and strncat support.
13066 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13068 2011-07-25 Andreas Schwab <schwab@redhat.com>
13070 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13071 __n bigger than INT_MAX+1.
13072 (__strncmp_g): Likewise.
13074 2011-07-23 Ulrich Drepper <drepper@gmail.com>
13076 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13077 * libio/stido.h: Likewise.
13079 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13081 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13084 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13085 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13086 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13087 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13088 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13091 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13094 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13096 (_dl_x86_64_save_sse): Likewise.
13098 2011-07-22 Ulrich Drepper <drepper@gmail.com>
13100 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13102 (_dl_x86_64_save_sse): Likewise.
13104 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13106 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13108 2011-07-21 Andreas Schwab <schwab@redhat.com>
13110 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13112 (_dl_x86_64_save_sse): Use correct AVX check.
13114 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13116 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13117 bug in strncpy/strncat.
13118 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13120 2011-07-21 Ulrich Drepper <drepper@gmail.com>
13122 * string/tester.c (test_strcat): Add tests for different alignments
13123 of source and destination.
13124 (test_strncat): Likewise.
13126 2011-07-20 Ulrich Drepper <drepper@gmail.com>
13129 * posix/glob.c (glob): Check passed in values before using them in
13130 expressions to avoid some overflows.
13131 (glob_in_dir): Likewise.
13134 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13135 check for AVX enablement so that we don't crash with old kernels and
13137 * elf/tst-audit4.c: Add same checks here.
13138 * elf/tst-audit6.c: Likewise.
13140 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
13142 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13144 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13146 2011-07-20 Ulrich Drepper <drepper@gmail.com>
13148 * po/cs.po: Update from translation team.
13149 * po/bg.po: Likewise.
13151 2011-07-12 Marek Polacek <mpolacek@redhat.com>
13153 * misc/sys/cdefs.h: Add support for const attribute.
13154 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13155 to gnu_dev_{major,minor,makedev} functions.
13157 2011-07-20 Marek Polacek <mpolacek@redhat.com>
13159 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13161 2011-07-20 Andreas Schwab <schwab@redhat.com>
13163 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13166 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13168 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13169 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13170 register in order to avoid conflicts with the soft frame pointer
13171 being held in r11 when necessary.
13172 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13173 (INTERNAL_VSYSCALL_NCS): Likewise.
13175 2011-07-14 Marek Polacek <mpolacek@redhat.com>
13177 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13178 * elf/dl-fini.c (_dl_fini): Adjust caller.
13179 * elf/dl-close.c (_dl_close_worker): Likewise.
13180 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13182 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13184 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13185 "aux_cache->nlibs < 0".
13187 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13188 in the reload-count case.
13190 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13193 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13194 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13195 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13196 * sysdeps/x86_64/multiarch/strcat.S: New file.
13197 * sysdeps/x86_64/multiarch/strncat.S: New file.
13198 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13199 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13200 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13201 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13202 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13203 (USE_AS_STRCAT): Define.
13204 Add strcat and strncat support.
13205 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13206 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13207 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13208 * string/strncat.c: Update.
13209 (USE_AS_STRNCAT): Define.
13210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13211 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13213 * sysdeps/x86_64/multiarch/init-arch.h
13214 (bit_Prefer_PMINUB_for_stringop): New.
13215 (index_Prefer_PMINUB_for_stringop): Likewise.
13216 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13217 bit_Prefer_PMINUB_for_stringop.
13219 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13221 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13223 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13224 of casting of buffer.
13225 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13226 buffer32 and buffer64.
13227 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13228 writes instead of casting of buffer.
13229 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13231 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13234 2011-07-19 Andreas Schwab <schwab@redhat.com>
13236 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13238 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13240 * nscd/nscd.c (termination_handler): Don't do anything for a database
13241 if it has not yet been initialized.
13243 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13245 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13247 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13249 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13251 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13253 * po/nl.po: Update from translation team.
13254 * po/sv.po: Likewise.
13256 2011-07-16 Roland McGrath <roland@hack.frob.com>
13258 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13259 now disallowed by GCC.
13261 * configure.in (use-default-link): Default to yes if a test -shared
13262 link meets our qualifications.
13263 * configure: Regenerated.
13265 * config.make.in (output-format): New variable.
13266 * configure.in: Check for ld --print-output-format support.
13267 * configure: Regenerated.
13268 * Makerules ($(common-objpfx)format.lds)
13269 [$(output-format) != unknown]: Just use $(output-format),
13270 instead of the linker-script munging.
13272 2011-07-14 Roland McGrath <roland@hack.frob.com>
13274 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13275 of $(common-objpfx)shlib.lds.
13276 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13278 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13279 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13281 * configure.in (-z relro check): Adjust test code to add a large
13282 writable data section after it.
13283 * configure: Regenerated.
13285 2011-07-11 Roland McGrath <roland@hack.frob.com>
13287 * configure.in (-z relro check): Fix test code to make the variable
13289 * configure: Regenerated.
13291 2011-07-11 Ulrich Drepper <drepper@gmail.com>
13293 * nscd/nscd.h (struct traced_file): Define.
13294 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13295 elements. Add traced_files.
13296 (inotify_fd): Declare.
13297 (register_traced_file): Declare.
13298 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13299 (inotify_fd): Export.
13300 (resolv_conf_descr): Remove.
13301 (nscd_init): Move inotify descriptor creation to main.
13302 Don't register files for notification here.
13303 (register_traced_file): New function.
13304 (invalidate_cache): Don't use reset_res to determine whether to call
13305 res_init, go through the list of registered files.
13306 (main_loop_poll): The inotify descriptors are now stored in the
13307 structures for the traced files.
13308 (main_loop_epoll): Likewise
13309 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13310 to __nss_disable_nscd.
13311 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13312 for a database anymore. Check the records for all the registered
13314 * nss/Makefile (libnss_files-routines): Add files-init.
13315 (libnss_db-routines): Add db-init.
13316 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13317 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13318 * nss/nss_db/db-init.c: New file.
13319 * nss/nss_files/files-init.c: New file.
13320 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13321 __nss_lookup_function.
13322 (__nss_lookup_function): Call nss_load_library.
13323 (nss_load_all_libraries): New function.
13324 (__nss_disable_nscd): Take parameter with callback function for files
13325 to register. Set is_nscd. Load all the DSOs for the NSS modules
13326 used for the cached services.
13327 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13328 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13329 options for features to all the files in nscd.
13331 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13333 2011-07-10 Roland McGrath <roland@hack.frob.com>
13335 * csu/elf-init.c (__libc_csu_init): Comment typo.
13337 2011-07-09 Ulrich Drepper <drepper@gmail.com>
13339 * po/pl.po: Update from translation team.
13340 * po/ja.po: Likewise.
13341 * po/ru.po: Likewise.
13342 * po/ko.po: Likewise.
13343 * po/fr.po: Likewise.
13345 2011-07-09 Roland McGrath <roland@hack.frob.com>
13347 * configure.in (.ctors/.dtors header and trailer check):
13348 Use an empirical test on a built program.
13349 * configure: Regenerated.
13351 * configure.in (-z relro check): Use an empirical test on a built DSO.
13352 Detect, but do not require, on ia64.
13353 * configure: Regenerated.
13355 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13356 Update tests that use readelf to use $READELF instead.
13357 * configure: Regenerated.
13359 2011-07-08 Ulrich Drepper <drepper@gmail.com>
13361 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13362 if the result is not used.
13364 2011-07-05 Andreas Jaeger <aj@suse.de>
13367 * stdlib/tst-strtod.c: Add testcase.
13369 2011-07-07 Ulrich Drepper <drepper@gmail.com>
13371 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
13372 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
13373 The latter has a higher limit. Take additional parameter to pass to
13375 (__pathconf): Pass file to __statfs_link_max.
13376 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13378 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13382 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13383 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13385 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13386 (__statfs_filesize_max): Likewise.
13387 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13389 2011-07-05 Andreas Jaeger <aj@suse.de>
13391 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13393 2011-07-06 Marek Polacek <mpolacek@redhat.com>
13395 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13397 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13400 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13402 * Makefile (strop-tests): Add strncat.
13403 * string/test-strncat.c: New file.
13405 2011-06-30 Marek Polacek <mpolacek@redhat.com>
13407 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13409 2011-06-21 Andreas Jaeger <aj@suse.de>
13411 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13412 Copy rule from iconvdata/Makefile.
13414 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13417 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13418 but no long options are defined, just return 'W'.
13420 2011-06-22 Marek Polacek <mpolacek@redhat.com>
13423 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13425 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13427 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13429 (innetgr): Likewise.
13431 2011-07-05 Roland McGrath <roland@hack.frob.com>
13433 * config.make.in (install_root): Default to $(DESTDIR).
13435 2011-07-05 Ulrich Drepper <drepper@gmail.com>
13437 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13439 2011-07-02 Roland McGrath <roland@hack.frob.com>
13441 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13443 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13444 containing directory rather than embedding absolute directory names.
13446 * scripts/check-local-headers.sh: Rewritten using awk.
13447 Match by word, not by line. Print error messages for matches.
13448 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13450 * Makerules [shlib-lds-flags empty]:
13451 ($(common-objpfx)libc_pic.opts): New target.
13452 ($(common-objpfx)libc_pic.os.clean): New target.
13453 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13455 * config.make.in (OBJCOPY): New variable.
13456 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13457 * configure: Regenerated.
13459 * config.make.in (use-default-link): New variable.
13460 * configure.in (use_default_link): Grok --with-default-link to set it.
13461 * configure: Regenerated.
13462 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13463 (shlib-lds, shlib-lds-flags): Define to empty.
13465 * Makerules (shlib-lds): New variable.
13466 (shlib-lds-flags): New variable.
13467 (build-shlib, build-moduile, build-module-asneeded): Use it.
13468 ($(common-objpfx)libc.so): Use $(shlib-lds).
13469 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13470 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13472 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13473 DT_FLAGS/DT_FLAGS_1 with zero flags.
13475 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13476 linker script munging.
13478 2011-07-02 Ulrich Drepper <drepper@gmail.com>
13480 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13482 * crypt/sha512.c (sha512_process_block): Perform total addition using
13483 128-bit if possible.
13484 (__sha512_finish_ctx): Likewise.
13485 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13487 * crypt/sha256.c (SWAP64): Define.
13488 (sha256_process_block): Perform total addition using 64-bit if
13490 (__sha256_finish_ctx): Likewise.
13492 2011-07-01 Ulrich Drepper <drepper@gmail.com>
13494 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13495 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13496 * nscd/hstcache.c (cache_addhst): Likewise.
13497 * nscd/grpcache.c (cache_addgr): Likewise.
13498 * nscd/aicache.c (addhstaiX): Likewise
13499 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13501 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
13503 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13504 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13505 * nscd/hstcache.c (cache_addhst): Likewise.
13506 * nscd/grpcache.c (cache_addgr): Likewise.
13507 * nscd/aicache.c (addhstaiX): Likewise
13509 2011-07-01 Andreas Schwab <schwab@redhat.com>
13511 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13512 domain only when needed.
13514 2011-06-30 Andreas Schwab <schwab@redhat.com>
13516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13517 is always restored.
13519 2011-06-29 Ulrich Drepper <drepper@gmail.com>
13521 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13522 are re-adding the entry.
13523 * nscd/servicescache.c (cache_addserv): Likewise.
13525 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13527 * sysdeps/generic/dl-irel.h: fix protection against multiple
13529 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13531 2011-06-28 Ulrich Drepper <drepper@gmail.com>
13534 * malloc/memusage.sh: Fix quoting in message.
13535 * debug/xtrace.sh: Likewise.
13537 * configure.in: Remove support for --experimental-malloc option, make
13539 * config.make.in: Likewise.
13540 * malloc/Makefile: Likewise.
13542 2011-06-27 Andreas Schwab <schwab@redhat.com>
13544 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13545 two-byte characters.
13547 2011-06-27 Roland McGrath <roland@hack.frob.com>
13549 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13550 AC_CACHE_CHECK invocation.
13551 * configure: Regenerated.
13553 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13555 2011-06-27 Ulrich Drepper <drepper@gmail.com>
13558 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13559 bit from old_res_options.
13561 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13563 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13564 value type for setfct.
13566 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13568 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13569 __gettimeofday instead of gettimeofday.
13571 2011-06-26 Ulrich Drepper <drepper@gmail.com>
13573 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13575 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13577 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13579 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13582 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13584 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13585 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13586 strcpy-sse2-unaligned strncpy-sse2-unaligned
13587 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13588 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13589 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13590 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13591 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13592 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13593 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13594 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13595 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13596 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13597 (STRCPY): Support SSE2 and SSSE3 versions.
13599 2011-06-24 Ulrich Drepper <drepper@gmail.com>
13602 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13603 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13604 kernels which artificially limit size of requests.
13606 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13608 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13609 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13610 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13611 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13612 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13613 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13614 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13615 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13616 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13617 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13618 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13619 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13620 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13621 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13622 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13624 Enable unaligned load optimization for Intel Core i3, i5 and i7
13626 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13628 (index_Fast_Unaligned_Load): Define.
13629 (HAS_FAST_UNALIGNED_LOAD): Define.
13631 2011-06-23 Marek Polacek <mpolacek@redhat.com>
13633 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13635 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13638 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13639 until it is clear that the information is realy needed.
13640 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13642 2011-06-22 Andreas Schwab <schwab@redhat.com>
13644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13646 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13648 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13649 /sys/devices/system/cpu/online if it is usable.
13651 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13652 reading the information from the /proc filesystem to once a second.
13654 2011-06-21 Andreas Jaeger <aj@suse.de>
13656 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13657 NULL after inclusion of kernel headers.
13659 2011-06-21 Ulrich Drepper <drepper@gmail.com>
13661 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13662 calls to internal_setent.
13665 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13666 addresses using gethostbyname4_r ignore IPv4 addresses.
13668 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13669 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13671 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13673 2011-06-20 David S. Miller <davem@davemloft.net>
13675 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13677 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13679 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13680 (elf_irel): Use it.
13681 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13682 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13683 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13684 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13685 * sysdeps/x86_64/dl-irel.h: Likewise.
13687 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13688 * elf/dl-sym.c: Likewise.
13690 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13692 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13693 need to dereference resplen2.
13695 2011-06-14 Andreas Schwab <schwab@redhat.com>
13697 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13699 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13701 * Makeconfig: Define vardbdir and inst_vardbdir.
13702 * nss/Makefile: Add rules to install db-Makefile.
13704 * nss/nss_db/db-XXX.c: Cleanup.
13706 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13707 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13709 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13710 * nss/makedb.c: Implement -g option to specify that value strings
13711 are generated and should not be added to table iterated over for
13713 * nss/nss_db/db-initgroups.c: New file.
13715 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13718 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13719 (internal_getgrouplist): Adjust to name change.
13720 Update use_initgroups_entry if this is not the first call.
13721 * nss/databases.def: Add initgroups entry.
13723 * nss/makedb.c (compute_tables): Check result of multiple hash table
13724 sizes to minimize maximum chain length.
13726 2011-06-14 Ulrich Drepper <drepper@gmail.com>
13728 * Versions.def: Add entry for libnss_db.
13729 * shlib-versions: Likewise.
13730 * nss/Makefile: Add rules to build libnss_db.
13731 * nss/Versions: Add libnss_db information. Organize libnss_files
13733 * nss/db-Makefile: Add gshadow support. Change rules for the new
13734 makedb progra. Some minor improvements to generate smaller files.
13735 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13737 * nss/makedb.c: ...here.
13738 Improve database format to be smaller and require less memory at
13740 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13742 * nss/nss_db/db-netgrp.c: Likewise.
13743 * nss/nss_db/db-open.c: Likewise.
13744 * nss/nss_files/flies-XXX.x: Adjust comments.
13745 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13746 * nss/nss_files/files-grp.c: Likewise.
13747 * nss/nss_files/files-hosts.c: Likewise.
13748 * nss/nss_files/files-network.c: Likewise.
13749 * nss/nss_files/files-proto.c: Likewise.
13750 * nss/nss_files/files-pwd.c: Likewise.
13751 * nss/nss_files/files-rpc.c: Likewise.
13752 * nss/nss_files/files-service.c: Likewise.
13753 * nss/nss_files/files-sgrp.c: Likewise.
13754 * nss/nss_files/files-spwd.c: Likewise.
13755 * nss/nss_db/db-alias.c: Removed.
13756 * nss/nss_db/dummy-db.h: Removed.
13758 2011-06-02 Ulrich Drepper <drepper@gmail.com>
13760 * nss/makedb.c: Rewritten to not use database library.
13761 * nss/Makefile: Update to build new makedb program.
13763 2011-06-14 Andreas Jaeger <aj@suse.de>
13765 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13766 memset declaration.
13768 2011-06-10 Andreas Schwab <schwab@redhat.com>
13770 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13773 2011-06-10 Roland McGrath <roland@hack.frob.com>
13775 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13776 * elf/Makefile ($(objpfx)ld.so): Likewise.
13778 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13779 Don't list ld.so twice in dependencies.
13781 * posix/bug-regex31.c: Include <stdlib.h>.
13783 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13785 * nis/nss_compat/compat-spwd.c
13786 (getspent_next_nss_netgr): Remove unused variable.
13787 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13789 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13790 nonmembers" output to use the right array.
13792 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13794 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13796 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13797 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13798 * catgets/gencat.c (read_input_file): Likewise.
13799 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13801 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13802 variable definition inside #if's controlling its use.
13804 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13806 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13808 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13810 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13813 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13815 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13816 * configure: Regenerated.
13818 * Makerules: Revert last change.
13819 * elf/Makefile: Likewise.
13821 2011-06-09 Roland McGrath <roland@hack.frob.com>
13823 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13824 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13825 (reloc-link): Likewise.
13827 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13829 * elf/Makefile: Add rules to build pldd.
13830 * elf/pldd.c: New file.
13831 * elf/pldd-xx.c: New file.
13833 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13835 * version.h: Update for 2.15 development version.
13837 2011-06-07 David S. Miller <davem@davemloft.net>
13839 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13841 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13842 elf_machine_lazy_rel): Likewise.
13843 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13844 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13845 elf_machine_lazy_rel): Likewise.
13846 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13847 dl_hwcap via passed in argument.
13848 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13851 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13853 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13855 2011-06-06 Roland McGrath <roland@hack.frob.com>
13858 * manual/fdl-1.1.texi: New file, verbatim from:
13859 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13860 * manual/lgpl-2.1.texi: New file, verbatim from:
13861 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13862 * manual/Makefile (licenses): New variable, list those new file names.
13864 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13866 * manual/fdl.texi: File removed.
13867 * manual/lesser.texi: File removed.
13868 * manual/libc.texinfo (Copying, Documentation License):
13869 Use new @include file names, put @appendix directive before @include.
13871 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13874 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13875 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13876 (mq_open): Add __NTH.
13878 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13881 Assume Intel Core i3/i5/i7 processor if AVX is available.
13883 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13885 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13888 2011-05-31 Andreas Schwab <schwab@redhat.com>
13890 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13891 memory. Use alloca_account. Fix memory leak when retrying.
13893 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13895 * version.h (RELEASE): Bump for 2.14 release.
13896 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13898 * config.make.in (RANLIB): Remove entry.
13900 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13902 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13903 (libc.pot): Work around missing support for .ksh extension in xgettext.
13906 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13907 if both request failed.
13908 (send_dg): In case of server errors clear resplen or *resplen2.
13911 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13912 when there are multiple maps.
13913 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13914 (_dl_fini): Remove test here.
13916 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13918 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13921 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13922 bit from old_res_options.
13923 (gaih_inet): Likewise.
13926 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13929 * resolv/res_init.c (res_setoptions): Make the code more compact.
13932 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13936 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13938 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13941 * malloc/malloc.h: Declare malloc hook variables as volatile.
13943 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13947 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13948 raise in the comment.
13949 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13950 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13951 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13953 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13956 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13957 grow the buffers more if it already has to be sufficient.
13958 (build_wcs_upper_buffer): Likewise.
13959 * posix/regexec.c (check_matching): Likewise.
13960 (clean_state_log_if_needed): Likewise.
13961 (extend_buffers): Don't enlarge buffers beyond size of the input
13963 Patches mostly by Emil Wojak <emil@wojak.eu>.
13964 * posix/bug-regex32.c: New file.
13965 * posix/Makefile (tests): Add bug-regex32.
13967 * locale/findlocale.c (_nl_find_locale): Return right away if
13968 _nl_explode_name failed.
13969 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13971 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13973 * debug/xtrace.sh: Unify messages.
13974 * malloc/memusage.sh: Likewise.
13977 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13978 time symbol from vDSO. Substitute with vsyscall if not available.
13979 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13982 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13983 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13984 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13985 Add sendmmsg and internal_sendmmsg.
13986 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13987 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13988 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13990 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13991 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13992 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13994 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13997 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13998 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14000 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14004 * iconvdata/Makefile (tests): Add bug-iconv9.
14005 * iconvdata/bug-iconv9.c: New file.
14007 2011-05-27 Andreas Schwab <schwab@redhat.com>
14010 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14012 2011-05-25 Jakub Jelinek <jakub@redhat.com>
14014 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14015 (struct user_regs_struct): Change intcs field back to cs.
14017 2011-05-25 Ulrich Drepper <drepper@gmail.com>
14019 * po/ja.po: Update from translation team.
14021 2011-05-23 Ulrich Drepper <drepper@gmail.com>
14024 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14025 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14027 2011-05-20 Andreas Schwab <schwab@redhat.com>
14029 * stdlib/longlong.h: Update from GCC.
14031 2011-05-23 Andreas Schwab <schwab@redhat.com>
14033 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14035 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14036 Add parameter name.
14037 (__sysconf): Pass it down.
14039 2011-05-22 Ulrich Drepper <drepper@gmail.com>
14042 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14044 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14045 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14046 add in in __libc_use_alloca calls. Adjust callers.
14047 (glob): Use malloc in some situations.
14049 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14050 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14053 2011-05-21 Ulrich Drepper <drepper@gmail.com>
14055 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14056 and CLOCK_BOOTTIME_ALARM.
14059 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14062 * string/_strerror.c (__strerror_r): Print negative errors as signed
14066 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14067 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14068 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14070 * configure.in: Fix typo in redirection and correct removal of test
14071 files in two cases.
14074 * locale/setlocale.c (new_composite_name): Fix test to check for
14075 identical name of all categories.
14078 * libio/filedoalloc.c (local_isatty): New function.
14079 (_IO_file_doallocate): Use local_isatty.
14080 * stdio-common/perror.c (perror): In case a new stream is used
14081 forward the stream error.
14082 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14085 2011-05-20 Ulrich Drepper <drepper@gmail.com>
14088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14090 * include/alloca.h (extend_alloca_account): Define.
14093 * posix/regex.h: Fix comments with documentation of user-accessible
14094 fields after compilation and describe correct free'ing of pattern
14095 after re_compile_pattern.
14096 Patch by Reuben Thomas <rrt@sc3d.org>.
14098 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14100 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14101 and -mno-altivec to prevent the compiler from using Altivec and/or
14102 VSX instructions when the corresponding registers are not available.
14104 2011-05-19 Andreas Schwab <schwab@redhat.com>
14106 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14108 2011-05-19 Ulrich Drepper <drepper@gmail.com>
14110 * libio/freopen.c (freopen): Use __dup2, not dup2.
14111 * libio/freopen64.c (freopen64): Likewise.
14113 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14116 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14117 * math/Makefile (tests): Add test-powl.
14118 (CFLAGS-test-powl.c): Define.
14119 * math/test-powl.c: New file.
14121 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14123 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14125 2011-05-17 Ulrich Drepper <drepper@gmail.com>
14128 * iconvdata/gb18030.c: Update to GB18020-2005.
14130 2011-05-16 Ulrich Drepper <drepper@gmail.com>
14132 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14133 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14134 Patch by Aharon Robbins <arnold@skeeve.com>.
14137 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14141 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14142 through underflows.
14145 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14146 point to strings before performing equality test for error_one_per_line
14150 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14153 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14154 (struct user_fpregs_struct): Avoid __uint*_t types.
14157 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14158 symbol info. Use it instead of calling _dl_addr locally.
14159 (lock_and_info): New function.
14160 (tr_freehook): Call lock_and_info and pass symbol info as additional
14161 parameter to tr_where.
14162 (tr_mallochook): Likewise.
14163 (tr_reallochook): Likewise.
14164 (tr_memalignhook): Likewise.
14166 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14167 used and couldn't be at all thread-safe.
14169 2011-05-15 Ulrich Drepper <drepper@gmail.com>
14171 * libio/freopen.c (freopen): Don't close old file descriptor
14172 before the new one is opened. Instead dup the new file descriptor
14173 to the old one after the new stream is created.
14174 * libio/freopen64.c (freopen64): Likewise.
14175 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14176 * libio/fileops.c (_IO_new_file_close_it): Handle new
14177 _IO_FLAGS2_NOCLOSE flag.
14178 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14179 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14180 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14181 _IO_FLAGS2_NOCLOSE flag.
14182 * include/unistd.h: Add hidden_proto for dup3.
14183 Define __have_dup3.
14184 * io/dup3.c: Define hidden symbol.
14185 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14188 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14189 when an incomplete long option is used.
14190 * posix/tst-getopt_long1.c: New file.
14191 * posix/Makefile (tests): Add tst-getopt_long1.
14194 * scripts/config.guess: Update from autoconf-2.68.
14195 * scripts/config.sub: Likewise.
14198 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14200 (has_cpuclock): ...this. New function.
14201 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14202 macro here based on has_cpuclock code.
14205 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14206 First byte (not low byte) is now always NUL.
14207 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14209 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14210 Use non-cancelable interfaces.
14213 * locale/iso-639.def: Add entry for Sorani.
14216 * include/stdlib.h: Move include protection to the right place.
14217 Define abort_msg_s. Declare __abort_msg with it.
14218 * stdlib/abort.c (__abort_msg): Adjust type.
14219 * assert/assert.c (__assert_fail_base): New function. Majority
14220 of code from __assert_fail. Allocate memory for __abort_msg with
14222 (__assert_fail): Now call __assert_fail_base.
14223 * assert/assert-perr.c: Remove bulk of implementation. Use
14224 __assert_fail_base.
14225 * include/assert.hL Declare __assert_fail_base.
14226 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14228 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14230 2011-05-14 Ulrich Drepper <drepper@gmail.com>
14234 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14235 until all modules are registered in the DTV.
14236 * elf/Makefile: Add rules to build and run tst-tls19.
14237 * elf/tst-tls19.c: New file.
14238 * elf/tst-tls19mod1.c: New file.
14239 * elf/tst-tls19mod2.c: New file.
14240 * elf/tst-tls19mod3.c: New file.
14241 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14244 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14248 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14249 two-byte sequence errors.
14250 * iconvdata/Makefile (tests): Add bug-iconv8.
14251 * iconvdata/bug-iconv8.c: New file.
14254 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14257 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14260 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14261 (dummy_getcfa): New function.
14262 (init): Get _Unwind_GetCFA address, use dummy if not found.
14263 (backtrace_helper): In recursion check, also check whether CFA changes.
14264 (__backtrace): Completely initialize arg.
14266 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
14267 storing incomplete byte sequence in state object. Avoid testing for
14268 guaranteed too small input if we know there is enough data available.
14270 2011-05-11 Andreas Schwab <schwab@redhat.com>
14272 * Makeconfig (+link-pie): Indent.
14273 * Rules (binaries-pie): Define if $(have-fpie) and
14275 (binaries-shared): Also filter out $(binaries-pie).
14276 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14277 * nscd/Makefile (others-pie): Add nscd.
14278 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14279 ($(objpfx)nscd): Remove command override.
14280 * login/Makefile (others-pie): Add pt_chown.
14281 ($(objpfx)pt_chown): Remove command override.
14282 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14283 remove command overrides.
14285 2011-05-13 Ulrich Drepper <drepper@gmail.com>
14287 * libio/tst_putwc.c: Fix error messages.
14290 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14291 currently writing and seek to current position when not.
14292 * libio/Makefile (tests): Add bug-fclose1.
14293 * libio/bug-fclose1.c: New file.
14295 2011-05-12 Ulrich Drepper <drepper@gmail.com>
14298 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14299 don't set DF_1_NODELETE here.
14300 (do_lookup_x): When entering new entry test for copy relocation
14301 and if necessary set DF_1_NODELETE flag.
14302 * elf/tst-unique4.cc: New file.
14303 * elf/tst-unique4.h: New file.
14304 * elf/tst-unique4lib.cc: New file.
14305 * elf/Makefile: Add rules to build and run tst-unique4.
14306 Patch by Piotr Bury <pbury@goahead.com>.
14308 2011-05-11 Ulrich Drepper <drepper@gmail.com>
14311 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14314 * misc/mntent_r.c (addmntent): Flush the stream after the output
14317 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14318 (is_trusted_path_normalize): Skip initial colon. Append slash
14319 to empty buffer. Duplicate is_trusted_path code but allow
14320 constructed patch to be prefix.
14321 (is_dst): Allow $ORIGIN followed by /.
14322 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14323 Correct testing of result of is_trusted_path_normalize
14324 (decompose_rpath): Fix warning.
14326 2011-05-10 Ulrich Drepper <drepper@gmail.com>
14329 * grp/initgroups.c (internal_getgrouplist): When we found the service
14330 list through the initgroups entry in nsswitch.conf do not always
14331 continue on a successful lookup. Don't always use the
14332 __nss_group_database value if it is set.
14333 * nss/nsswitch.conf (initgroups): Change action for successful db
14334 lookup to continue for compatibility.
14336 2011-05-09 Ulrich Drepper <drepper@gmail.com>
14339 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14341 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14343 * iconvdata/tst-tables.sh: Likewise.
14344 * iconvdata/cp770.c: New file.
14345 * iconvdata/cp771.c: New file.
14346 * iconvdata/cp772.c: New file.
14347 * iconvdata/cp773.c: New file.
14348 * iconvdata/cp774.c: New file.
14349 * iconvdata/testdata/CP770: New file.
14350 * iconvdata/testdata/CP770..UTF8: New file.
14351 * iconvdata/testdata/CP771: New file.
14352 * iconvdata/testdata/CP771..UTF8: New file.
14353 * iconvdata/testdata/CP772: New file.
14354 * iconvdata/testdata/CP772..UTF8: New file.
14355 * iconvdata/testdata/CP773: New file.
14356 * iconvdata/testdata/CP773..UTF8: New file.
14357 * iconvdata/testdata/CP774: New file.
14358 * iconvdata/testdata/CP774..UTF8: New file.
14360 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14362 * iconvdata/gen-8bit-gap.sh: Likewise.
14363 * iconvdata/gen-8bit.sh: Likewise.
14365 * locale/iso-639.def: Add ary entry.
14368 * locale/C-translit.h.in: Add U20A1 transliteration.
14371 * locale/iso-639.def: Add wae entry.
14372 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14375 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14379 * locale/C-translit.h.in: Add entry for U20B9.
14380 Patch by pravin.d.s@gmail.com.
14382 2011-05-08 Ulrich Drepper <drepper@gmail.com>
14385 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14386 ENAMETOOLONG use generic getcwd.
14387 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14388 in rtld. Use *stat64.
14389 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
14390 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
14391 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
14392 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14393 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14394 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14395 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14396 __fstatat64 macros.
14397 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14398 * dirent/rewinddir.c: Add libc_hidden_def.
14399 * sysdeps/mach/hurd/rewinddir.c: Likewise.
14400 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
14402 * include/dirent.h (__alloc_dir): Add flags parameter.
14403 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14404 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14406 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14407 from fdopendir if O_CLOEXEC is already set.
14409 2011-03-15 Alan Modra <amodra@gmail.com>
14411 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14412 l_tls_firstbyte_offset non-zero. Save padding offset in
14413 l_tls_firstbyte_offset for later use.
14414 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14415 freeing static tls block.
14417 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14419 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14420 where #ifdef was intended. The intent is to prevent ARG_MAX from
14421 being defined by the kernel headers.
14423 2011-05-07 Ulrich Drepper <drepper@gmail.com>
14426 * resolv/resolv.h: Define RES_NOTLDQUERY.
14427 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14428 no-tld-query and set RES_NOTLDQUERY.
14429 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14430 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14431 modern BIND to search name as TLD unless forbidden.
14433 2011-05-07 Petr Baudis <pasky@suse.cz>
14434 Ulrich Drepper <drepper@gmail.com>
14437 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14438 (is_trusted_path): ...to here.
14439 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14440 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14441 using is_trusted_path_normalize() in setuid scripts.
14443 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14445 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14446 __BEGIN/__END_DECLS.
14448 2011-05-06 Ulrich Drepper <drepper@gmail.com>
14450 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14451 NSS_STATUS_NOTFOUND if no record was found.
14453 2011-05-05 Andreas Schwab <schwab@redhat.com>
14455 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14456 (headers-not-in-tirpc): Remove rpc/netdb.h
14457 * resolv/netdb.h: Revert last change.
14459 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14461 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14462 circular dependency between libgcc.a and libc.a.
14464 2011-05-05 Andreas Schwab <schwab@redhat.com>
14466 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14467 * nis/Makefile: Don't install rpcsvc/*.
14468 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14469 instead of <rpc/types.h>.
14470 (MAXHOSTNAMELEN): Define.
14472 2011-05-03 Andreas Schwab <schwab@redhat.com>
14474 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14476 2011-04-28 Maciej Babinski <mbabinski@google.com>
14479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14480 gethostbyname4_r when IPv6 results are possible.
14482 2011-05-02 Ulrich Drepper <drepper@gmail.com>
14485 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14486 _PC_PIPE_BUF handling.
14488 2011-04-30 Bruno Haible <bruno@clisp.org>
14491 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14492 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14494 * inet/getnameinfo.c (getnameinfo): Likewise.
14496 2011-04-29 Ulrich Drepper <drepper@gmail.com>
14498 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14499 to groups setting in database lookup.
14500 * nss/nsswitch.conf: Add initgroups entry.
14502 2011-04-22 Ulrich Drepper <drepper@gmail.com>
14505 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14507 Patch by Eric Blake <eblake@redhat.com>.
14509 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14511 * sunrpc/Makefile (need-export-routines): Add svc_run.
14512 (routines): Remove svc_run.
14513 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14514 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14515 * sunrpc/svc_run.c (svc_run): Likewise.
14516 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14518 2011-04-21 Ulrich Drepper <drepper@gmail.com>
14520 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14521 problem in reallocation in last patch.
14523 2011-04-20 Ulrich Drepper <drepper@gmail.com>
14525 * sunrpc/Makefile: Move inclusion of Rules.
14527 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14529 * nss/nss_files/files-initgroups.c: New file.
14530 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14531 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14532 _nss_files_initgroups_dyn.
14534 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14536 * elf/elf.h (R_ARM_IRELATIVE): Define.
14538 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14540 * po/ru.po: Update from translation team.
14542 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14544 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14547 2011-02-06 Mike Frysinger <vapier@gentoo.org>
14550 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14551 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14552 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14553 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14554 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14556 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14558 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14560 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14561 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14562 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14564 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14567 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14569 * stdlib/bug-getcontext.c: New file.
14570 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14572 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14574 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14575 instructions into .machine "z9-109".
14576 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14577 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14579 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14581 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14582 between environment variables and auxiliary vector.
14584 2011-04-16 Ulrich Drepper <drepper@gmail.com>
14586 * Makefile: Add rules to build linkobj/libc.so.
14587 * include/libc-symbols.h: Define libc_hidden_nolink.
14588 * include/rpc/auth.h: Mark functions which are to be hidden.
14589 * include/rpc/auth_des.h: Likewise.
14590 * include/rpc/auth_unix.h: Likewise.
14591 * include/rpc/clnt.h: Likewise.
14592 * include/rpc/des_crypt.h: Likewise.
14593 * include/rpc/key_prot.h: Likewise.
14594 * include/rpc/pmap_clnt.h: Likewise.
14595 * include/rpc/pmap_prot.h: Likewise.
14596 * include/rpc/pmap_rmt.h: Likewise.
14597 * include/rpc/rpc_msg.h: Likewise.
14598 * include/rpc/svc.h: Likewise.
14599 * include/rpc/svc_auth.h: Likewise.
14600 * include/rpc/xdr.h: Likewise.
14601 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14602 * nss/Makefile: Likewise.
14603 * sunrpc/Makefile: Don't install headers. Build library with normal
14604 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14605 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14606 for the compat linking library. Remove use of INTDEF/INTUSE.
14607 * sunrpc/auth_none.c: Likewise.
14608 * sunrpc/auth_unix.c: Likewise.
14609 * sunrpc/authdes_prot.c: Likewise.
14610 * sunrpc/authuxprot.c: Likewise.
14611 * sunrpc/clnt_gen.c: Likewise.
14612 * sunrpc/clnt_perr.c: Likewise.
14613 * sunrpc/clnt_raw.c: Likewise.
14614 * sunrpc/clnt_simp.c: Likewise.
14615 * sunrpc/clnt_tcp.c: Likewise.
14616 * sunrpc/clnt_udp.c: Likewise.
14617 * sunrpc/clnt_unix.c: Likewise.
14618 * sunrpc/des_crypt.c: Likewise.
14619 * sunrpc/des_soft.c: Likewise.
14620 * sunrpc/get_myaddr.c: Likewise.
14621 * sunrpc/key_call.c: Likewise.
14622 * sunrpc/key_prot.c: Likewise.
14623 * sunrpc/netname.c: Likewise.
14624 * sunrpc/pm_getmaps.c: Likewise.
14625 * sunrpc/pm_getport.c: Likewise.
14626 * sunrpc/pmap_clnt.c: Likewise.
14627 * sunrpc/pmap_prot.c: Likewise.
14628 * sunrpc/pmap_prot2.c: Likewise.
14629 * sunrpc/pmap_rmt.c: Likewise.
14630 * sunrpc/publickey.c: Likewise.
14631 * sunrpc/rpc_cmsg.c: Likewise.
14632 * sunrpc/rpc_common.c: Likewise.
14633 * sunrpc/rpc_dtable.c: Likewise.
14634 * sunrpc/rpc_prot.c: Likewise.
14635 * sunrpc/rpc_thread.c: Likewise.
14636 * sunrpc/rtime.c: Likewise.
14637 * sunrpc/svc.c: Likewise.
14638 * sunrpc/svc_auth.c: Likewise.
14639 * sunrpc/svc_authux.c: Likewise.
14640 * sunrpc/svc_raw.c: Likewise.
14641 * sunrpc/svc_run.c: Likewise.
14642 * sunrpc/svc_simple.c: Likewise.
14643 * sunrpc/svc_tcp.c: Likewise.
14644 * sunrpc/svc_udp.c: Likewise.
14645 * sunrpc/svc_unix.c: Likewise.
14646 * sunrpc/svcauth_des.c: Likewise.
14647 * sunrpc/xcrypt.c: Likewise.
14648 * sunrpc/xdr.c: Likewise.
14649 * sunrpc/xdr_array.c: Likewise.
14650 * sunrpc/xdr_float.c: Likewise.
14651 * sunrpc/xdr_intXX_t.c: Likewise.
14652 * sunrpc/xdr_mem.c: Likewise.
14653 * sunrpc/xdr_rec.c: Likewise.
14654 * sunrpc/xdr_ref.c: Likewise.
14655 * sunrpc/xdr_sizeof.c: Likewise.
14656 * sunrpc/xdr_stdio.c: Likewise.
14658 2011-04-10 Ulrich Drepper <drepper@gmail.com>
14661 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14662 * sysdeps/ia64/dl-tls.h: Likewise.
14663 * sysdeps/powerpc/dl-tls.h: Likewise.
14664 * sysdeps/s390/dl-tls.h: Likewise.
14665 * sysdeps/sh/dl-tls.h: Likewise.
14666 * sysdeps/sparc/dl-tls.h: Likewise.
14667 * sysdeps/x86_64/dl-tls.h: Likewise.
14668 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14670 2011-03-14 Andreas Schwab <schwab@redhat.com>
14672 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14673 rpath element also skip the following colon.
14674 (expand_dynamic_string_token): Add is_path parameter and pass
14675 down to DL_DST_REQUIRED and _dl_dst_substitute.
14676 (decompose_rpath): Call expand_dynamic_string_token with
14677 non-zero is_path. Ignore empty rpaths.
14678 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14681 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14686 2011-04-09 Ulrich Drepper <drepper@gmail.com>
14689 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14690 Patch by Filipe David Manana <fdmanana@apache.org>.
14692 2011-04-07 Andreas Schwab <schwab@redhat.com>
14694 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14695 Maintain aligned stack.
14696 (CHECK_RSP): Remove unused macro.
14698 2011-04-03 Ulrich Drepper <drepper@gmail.com>
14700 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14701 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14703 2011-04-02 Ulrich Drepper <drepper@gmail.com>
14705 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14707 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14709 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14712 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14713 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14714 * sysdeps/x86_64/memmove.c: New file.
14715 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14716 (memcpy): Renamed to ...
14717 (__new_memcpy): This.
14718 (memcpy): Provide GLIBC_2_14 memcpy.
14719 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14720 (memcpy): Provide GLIBC_2_2_5 memcpy.
14722 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14725 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14727 2011-03-30 Andreas Schwab <schwab@redhat.com>
14729 * misc/syncfs.c: New file.
14730 * misc/Makefile (routines): Add syncfs.
14731 * posix/unistd.h: Declare syncfs.
14732 * sysdeps/unix/syscalls.list: Add syncfs.
14734 2011-04-01 Andreas Schwab <schwab@redhat.com>
14736 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14738 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14739 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14740 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14741 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14742 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14743 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14744 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14746 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14748 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14749 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14750 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14751 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14752 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14753 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14754 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14756 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14757 sync_file_range.c with -fexceptions.
14758 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14759 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14760 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14761 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14762 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14763 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14764 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14765 sync_file_range as cancellation point
14766 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14767 now a wrapper around __call_sync_file_range with cancellation handling.
14768 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14769 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14770 function name to __call_sync_file_range.
14771 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14772 Add call_sync_file_range.
14774 2011-04-01 Andreas Schwab <schwab@redhat.com>
14776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14779 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14781 * iconv/iconv.h: Fix typo in comment.
14782 * io/fcntl.h: Likewise.
14783 * libio/stdio.h: Likewise.
14784 * posix/spawn.h: Likewise.
14785 * posix/unistd.h: Likewise.
14786 * stdlib/stdlib.h: Likewise.
14787 * time/time.h: Likewise.
14788 * wcsmbs/wchar.h: Likewise.
14790 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14791 open_by_handle): Add.
14792 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14793 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14794 Augment a few comments.
14795 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14796 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14797 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14798 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14799 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14800 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14803 * io/fcntl.h (AT_EMPTY_PATH): Define.
14805 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14807 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14808 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14809 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14811 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14812 * Versions.def: Add GLIBC_2.14.
14813 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14816 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14818 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14820 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14822 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14825 * string/test-strncmp.c (do_page_test): New function.
14826 (check2): Likewise.
14827 (test_main): Call check2.
14828 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14830 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14833 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14834 Handle cache information in CPU leaf 4.
14835 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14837 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14840 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14841 character representation.
14842 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14844 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14846 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14847 END(__isnan) to END(__isnanf) to match function entry point/label
14848 EALIGN(__isnanf,...).
14850 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14852 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14854 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14857 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14858 copy from the symbol referenced in the relocation to initialize the
14860 Patch by Piotr Bury <pbury@goahead.com>.
14861 * elf/Makefile: Add rules to build and tst-unique3.
14862 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14863 * elf/tst-unique3.cc: New file.
14864 * elf/tst-unique3.h: New file.
14865 * elf/tst-unique3lib.cc: New file.
14866 * elf/tst-unique3lib2.cc: New file.
14868 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14870 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14872 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14873 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14876 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14878 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14879 to-be-loaded object along a path to loader is ld.so.
14881 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14882 Ulrich Drepper <drepper@gmail.com>
14884 * sysdeps/x86_64/memset.S: After aligning destination, code
14885 branches to different locations depending on the value of
14886 misalignment, when multiarch is enabled. Fix this.
14888 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14890 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14891 Set _x86_64_preferred_memory_instruction for AMD processsors.
14892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14893 Set bit_Prefer_SSE_for_memop for AMD processors.
14895 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14897 * libio/fmemopen.c (fmemopen): Optimize a bit.
14899 2011-03-03 Andreas Schwab <schwab@redhat.com>
14901 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14903 2011-03-03 Roland McGrath <roland@redhat.com>
14905 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14907 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14909 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14910 __bzero_ultra1 instead of __memset_ultra1.
14912 2011-02-23 Andreas Schwab <schwab@redhat.com>
14913 Ulrich Drepper <drepper@gmail.com>
14916 * include/link.h (struct link_map): Add l_orig_initfini.
14917 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14918 returning unsuccessfully.
14919 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14920 close of a file loaded at startup, restore the original l_initfini
14922 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14923 list, store the pointer.
14924 * elf/Makefile ($(objpfx)noload-mem): New rule.
14925 (noload-ENV): Define.
14926 (tests): Add $(objpfx)noload-mem.
14927 * elf/noload.c: Include <memcheck.h>.
14928 (main): Call mtrace. Close all opened handles.
14930 2011-02-17 Andreas Schwab <schwab@redhat.com>
14933 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14934 dependencies are missing.
14936 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14938 Fix __if_freereq crash: Unlike the generic version which uses free,
14940 * sysdeps/mach/hurd/ifreq.h: New file.
14942 2011-01-27 Petr Baudis <pasky@suse.cz>
14943 Ulrich Drepper <drepper@gmail.com>
14946 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14947 to extend_alloca().
14948 * stdio-common/bug23.c: New file.
14949 * stdio-common/Makefile (tests): Add bug23.
14951 2010-09-28 Andreas Schwab <schwab@redhat.com>
14952 Ulrich Drepper <drepper@gmail.com>
14955 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14956 before performing relro protection. At old place add assertion
14957 to make sure nothing changed.
14959 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14960 Glauber de Oliveira Costa <glommer@gmail.com>
14962 * elf/elf.h: Add new ARM TLS relocs.
14964 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14967 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14969 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14971 * sysdeps/wordsize-64/tst-writev.c: New file.
14973 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14975 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14976 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14977 insns in _dl_start to prevent a TOC reference before relocs are
14980 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14983 * Makeconfig: Remove RANLIB definition.
14984 * Makerules: Don't use RANLIB.
14985 * aclocal.m4: Remove ranlib test.
14986 * configure.in: No need to check for ranlib.
14987 * elf/rtld-Rules: Don't use RANLIB.
14989 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14991 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14993 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14994 inclusion protection macro.
14996 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14997 SIGRTMIN and SIGRTMAX and print information in that case only when
14998 SIGRTMIN is defined.
15000 2011-02-11 Jakub Jelinek <jakub@redhat.com>
15002 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15003 arginfo fn returning -1.
15005 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15006 and thousands string is zero terminated.
15008 2011-02-03 Andreas Schwab <schwab@redhat.com>
15010 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15011 sysdeps/unix/sysv/linux/bits/socket.h.
15013 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15015 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15016 (__CPU_COUNT): Remove old macros.
15017 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15018 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15019 (__CPU_ALLOC, __CPU_FREE): Add macros.
15020 (__sched_cpualloc, __sched_cpufree): Add declarations.
15022 2011-02-05 Ulrich Drepper <drepper@gmail.com>
15024 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15025 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15026 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15027 (readdhstai): Return value of addhstaiX call.
15028 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15029 (addgrbyX): Return value returned by cache_addgr.
15030 (readdgrbyname): Return value returned by addgrbyX.
15031 (readdgrbygid): Likewise.
15032 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15033 (addpwbyX): Return value returned by cache_addpw.
15034 (readdpwbyname): Return value returned by addhstbyX.
15035 (readdpwbyuid): Likewise.
15036 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15037 (addservbyX): Return value returned by cache_addserv.
15038 (readdservbyname): Return value returned by addservbyX:
15039 (readdservbyport): Likewise.
15040 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15041 (addhstbyX): Return value returned by cache_addhst.
15042 (readdhstbyname): Return value returned by addhstbyX.
15043 (readdhstbyaddr): Likewise.
15044 (readdhstbynamev6): Likewise.
15045 (readdhstbyaddrv6): Likewise.
15046 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15047 (readdinitgroups): Return value returned by addinitgroupsX.
15048 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15049 (prune_cache): Keep track of timeout value of re-added entries.
15050 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15051 * nscd/nscd.h: Adjust prototypes of readd* functions.
15053 2011-02-04 Roland McGrath <roland@redhat.com>
15055 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15056 (nis_stats): Likewise.
15057 * nis/nis_modify.c (nis_modify): Likewise.
15058 * nis/nis_remove.c (nis_remove): Likewise.
15059 * nis/nis_add.c (nis_add): Likewise.
15061 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15063 * posix/fnmatch_loop.c: Add some consts.
15065 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15067 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15070 * config.make.in (config-cflags-novzeroupper): Define.
15071 * configure.in: Substitute libc_cv_cc_novzeroupper.
15072 * elf/Makefile (AVX-CFLAGS): Define.
15073 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15074 (CFLAGS-tst-auditmod4a.c): Likewise.
15075 (CFLAGS-tst-auditmod4b.c): Likewise.
15076 (CFLAGS-tst-auditmod6b.c): Likewise.
15077 (CFLAGS-tst-auditmod6c.c): Likewise.
15078 (CFLAGS-tst-auditmod7b.c): Likewise.
15079 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15081 2011-02-02 Ulrich Drepper <drepper@gmail.com>
15083 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15084 function to the callback.
15085 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15087 2011-02-02 Andreas Schwab <schwab@redhat.com>
15089 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15092 2011-01-19 Ulrich Drepper <drepper@gmail.com>
15095 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15097 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15099 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15102 * elf/Makefile: Add rules to build and run new test.
15103 * elf/tst-initorder.c: New file.
15104 * elf/tst-initorder.exp: New file.
15105 * elf/tst-initordera1.c: New file.
15106 * elf/tst-initordera2.c: New file.
15107 * elf/tst-initordera3.c: New file.
15108 * elf/tst-initordera4.c: New file.
15109 * elf/tst-initorderb1.c: New file.
15110 * elf/tst-initorderb2.c: New file.
15111 * elf/tst-order-a1.c: New file.
15112 * elf/tst-order-a2.c: New file.
15113 * elf/tst-order-a3.c: New file.
15114 * elf/tst-order-a4.c: New file.
15115 * elf/tst-order-b1.c: New file.
15116 * elf/tst-order-b2.c: New file.
15117 * elf/tst-order-main.c: New file.
15118 New test case by George Gensure <werkt0@gmail.com>.
15120 2010-10-01 Andreas Schwab <schwab@redhat.com>
15122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15123 decoding ACE if AI_CANONIDN.
15125 2011-01-18 Ulrich Drepper <drepper@gmail.com>
15127 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15129 2011-01-17 Ulrich Drepper <drepper@gmail.com>
15131 * version.h (RELEASE): Bump for 2.13 release.
15132 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15134 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15136 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15138 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15139 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15140 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15141 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15142 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15143 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15145 * posix/getconf.c: Update copyright year.
15146 * catgets/gencat.c: Likewise.
15147 * csu/version.c: Likewise.
15148 * debug/catchsegv.sh: Likewise.
15149 * debug/xtrace.sh: Likewise.
15150 * elf/ldconfig.c: Likewise.
15151 * elf/ldd.bash.in: Likewise.
15152 * elf/sprof.c (print_version): Likewise.
15153 * iconv/iconv_prog.c: Likewise.
15154 * iconv/iconvconfig.c: Likewise.
15155 * locale/programs/locale.c: Likewise.
15156 * locale/programs/localedef.c: Likewise.
15157 * malloc/memusage.sh: Likewise.
15158 * malloc/mtrace.pl: Likewise.
15159 * nscd/nscd.c (print_version): Likewise.
15160 * nss/getent.c: Likewise.
15162 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15163 PF_CAIF, and PF_ALG.
15164 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15166 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15168 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15169 (modules-names): Use them.
15170 (ifunc-test-modules, ifunc-pie-tests): Define.
15171 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15172 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15173 (test-extras): Likewise.
15174 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15175 $(compile-command.c).
15176 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15177 (all-built-dso): Define.
15178 (check-textrel.out, check-execstack.out): Depend on it.
15180 * configure.in: Don't override --enable-multi-arch.
15182 2011-01-15 Ulrich Drepper <drepper@gmail.com>
15185 * nscd/hstcache.c (tryagain): Define.
15186 (cache_addhst): Return tryagain not notfound for temporary errors.
15187 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15190 2011-01-14 Ulrich Drepper <drepper@gmail.com>
15193 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15194 to make the syscall.
15195 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15198 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15199 and fall back to matching as normal character if the string ends before
15200 the matching ']' is found. This is what POSIX requires.
15201 * posix/testfnm.c: Adjust test result.
15202 * posix/globtest.sh: Adjust test result. Add new test.
15203 * posix/tst-fnmatch.input: Likewise.
15204 * posix/tst-fnmatch2.c: Add new test.
15206 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15208 * elf/Makefile (check-execstack): Revert last change. Depend on
15210 (check-execstack.h): New target.
15211 (generated): Add check-execstack.h.
15212 * elf/check-execstack.c: Include "check-execstack.h".
15213 (main): Revert last change.
15214 (handle_file): Return zero if GNU_STACK is absent and
15215 DEFAULT_STACK_PERMS doesn't include PF_X.
15217 2011-01-13 Ulrich Drepper <drepper@gmail.com>
15219 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15220 in child fails because the descriptor is already closed.
15221 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15222 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15223 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
15226 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15230 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15231 temporary buffer used to handle multi lookups locally.
15232 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
15234 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15236 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15239 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15241 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15242 alignment for SSE2.
15244 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15247 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15248 characters. When rounding increased number of integer digits recompute
15250 * stdio-common/tst-grouping.c: New file.
15251 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15253 2011-01-09 Ulrich Drepper <drepper@gmail.com>
15255 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15256 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15258 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15260 * bits/select.h: Likewise.
15262 2011-01-08 Ulrich Drepper <drepper@gmail.com>
15264 * po/ja.po: Update from translation team.
15266 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
15269 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15270 implementation just like for lxstat, fxstatat, et al.
15272 2010-12-27 Jim Meyering <meyering@redhat.com>
15275 * posix/regexec.c (build_trtable): Return failure indication upon
15276 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15278 2010-12-25 Ulrich Drepper <drepper@gmail.com>
15281 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15282 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15283 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15284 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15287 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15290 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15291 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15293 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15295 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15296 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15297 script has SORT_BY_INIT_PRIORITY.
15298 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15299 NO_CTORS_DTORS_SECTIONS is defined.
15300 * elf/soinit.c: Likewise.
15301 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15302 NO_CTORS_DTORS_SECTIONS is defined.
15303 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15304 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15305 * sysdeps/sh/init-first.c: Likewise.
15306 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15308 2010-12-24 Ulrich Drepper <drepper@gmail.com>
15310 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15311 always use the slow path.
15313 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15315 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15316 similar rule which adds the sysdep directories to the header search in
15317 order to pick up the correct platform stackinfo.h.
15318 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15319 perform test if it is, otherwise return successfully without testing.
15320 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15321 DEFAULT_STACK_PERMS define in stackinfo.h.
15322 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15323 defined in stackinfo.h.
15324 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15325 DEFAULT_STACK_PERMS defined in stackinfo.h.
15326 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15327 * sysdeps/ia64/stackinfo.h: Likewise.
15328 * sysdeps/s390/stackinfo.h: Likewise.
15329 * sysdeps/sh/stackinfo.h: Likewise.
15330 * sysdeps/sparc/stackinfo.h: Likewise.
15331 * sysdeps/x86_64/stackinfo.h: Likewise.
15332 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15333 PF_X for powerpc64. Retain PF_X for powerpc32.
15335 2010-12-19 Ulrich Drepper <drepper@gmail.com>
15337 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15339 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15340 GETDENTS_64BIT_ALIGNED.
15342 2010-12-14 Ulrich Drepper <dreper@gmail.com>
15344 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
15346 2010-12-10 Andreas Schwab <schwab@redhat.com>
15348 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15351 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15352 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15354 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15355 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15357 2010-12-09 Ulrich Drepper <drepper@gmail.com>
15360 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15363 2010-12-09 Jakub Jelinek <jakub@redhat.com>
15365 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15367 2010-12-03 Ulrich Drepper <drepper@gmail.com>
15369 * po/it.po: Update from translation team.
15371 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15373 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15376 2010-11-30 Ulrich Drepper <drepper@gmail.com>
15378 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15380 2010-11-24 Andreas Schwab <schwab@redhat.com>
15382 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15384 (gaih_getanswer_slice): Likewise.
15386 2010-10-20 Jakub Jelinek <jakub@redhat.com>
15388 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15390 2010-05-31 Petr Baudis <pasky@suse.cz>
15393 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15394 silently even in the chroot mode.
15396 2010-11-22 Ulrich Drepper <drepper@gmail.com>
15398 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15399 last patch a bit. Pretty printing
15401 2010-05-31 Petr Baudis <pasky@suse.cz>
15404 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15405 initialization of skip_initgroups_dyn.
15407 2010-11-19 Ulrich Drepper <drepper@gmail.com>
15409 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15410 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15412 2010-11-16 Ulrich Drepper <drepper@gmail.com>
15414 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15416 2010-11-11 Andreas Schwab <schwab@redhat.com>
15418 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15419 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15420 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15421 ($(objpfx)tst-fnmatch-mem): New rule.
15422 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15423 * posix/tst-fnmatch.c (main): Call mtrace.
15425 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15428 Support Intel processor model 6 and model 0x2c.
15430 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
15432 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15435 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15438 * string/test-strncasecmp.c (check_result): New function.
15439 (do_one_test): Use it.
15440 (check1): New function.
15441 (test_main): Use it.
15442 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15443 Support strcasecmp and strncasecmp.
15445 2010-11-08 Ulrich Drepper <drepper@gmail.com>
15448 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15449 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15451 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15453 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15455 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15457 * sysdeps/x86_64/multiarch/bzero.S: New file.
15458 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15459 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15460 * sysdeps/x86_64/multiarch/memset.S: New file.
15461 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15463 Set bit_Prefer_SSE_for_memop for Intel processors.
15464 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15466 (index_Prefer_SSE_for_memop): Define.
15467 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15469 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
15471 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15472 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15474 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15477 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15478 (__x86_64_raw_data_cache_size_half): Likewise.
15479 (__x86_64_raw_shared_cache_size): Likewise.
15480 (__x86_64_raw_shared_cache_size_half): Likewise.
15482 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15483 (__x86_64_raw_data_cache_size_half): Likewise.
15484 (__x86_64_raw_shared_cache_size): Likewise.
15485 (__x86_64_raw_shared_cache_size_half): Likewise.
15486 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15487 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15488 and __x86_64_raw_shared_cache_size_half. Round
15489 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15490 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15491 to multiple of 256 bytes.
15493 2010-11-03 Ulrich Drepper <drepper@gmail.com>
15496 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15497 of inacessible symlinks. Verify result of symlink before returning it.
15498 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15499 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15501 2010-10-28 Erich Ritz <erichritz@gmail.com>
15503 * math/math.h (isinf): Fix typo in comment.
15505 2010-11-01 Ulrich Drepper <drepper@gmail.com>
15507 * po/da.po: Update from translation team.
15509 2010-10-26 Ulrich Drepper <drepper@gmail.com>
15511 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15512 is added to the list.
15514 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15515 Ulrich Drepper <drepper@gmail.com>
15517 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15518 the global list here. Move code to...
15519 (_dl_add_to_namespace_list): ...here. New function.
15520 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15521 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15522 * elf/dl-load.c (lose): Don't remove the element from the list.
15523 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15524 (_dl_map_object): Likewise.
15526 2010-10-25 Ulrich Drepper <drepper@gmail.com>
15529 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15530 into all bytes of SSE register.
15531 Patch by Richard Li <richardpku@gmail.com>.
15533 2010-10-24 Ulrich Drepper <drepper@gmail.com>
15536 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15539 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15541 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15542 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15543 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15544 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15549 2010-10-22 Andreas Schwab <schwab@redhat.com>
15551 * include/dlfcn.h (__RTLD_SECURE): Define.
15552 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15553 mode & __RTLD_SECURE instead.
15554 (open_path): Rename preloaded parameter to secure.
15555 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15556 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15557 * elf/dl-deps.c (openaux): Likewise.
15558 * elf/rtld.c (struct map_args): Remove is_preloaded.
15559 (map_doit): Don't use it.
15560 (dl_main): Likewise.
15561 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15562 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15564 2010-09-09 Andreas Schwab <schwab@redhat.com>
15566 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15567 (sysd-rules-targets): Remove duplicates.
15568 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15569 rtld-%.$o dependency.
15571 2010-10-18 Andreas Schwab <schwab@redhat.com>
15573 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15574 _dl_map_object do it.
15576 2010-10-19 Ulrich Drepper <drepper@gmail.com>
15578 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15579 fast fma builtins, define the macros in the C99 standard.
15580 (FP_FAST_FMAF): Likewise.
15581 (FP_FAST_FMAL): Likewise.
15582 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15584 * bits/mathdef.h: Update copyright year.
15585 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15587 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15589 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15590 builtins, define the macros in the C99 standard.
15591 (FP_FAST_FMAF): Likewise.
15592 (FP_FAST_FMAL): Likewise.
15593 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15595 (FP_FAST_FMAF): Likewise.
15597 2010-10-15 Jakub Jelinek <jakub@redhat.com>
15600 * math/libm-test.inc (fma_test): Some new testcases.
15601 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15602 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15603 y and infinite z. Do multiplication by C already in long double.
15604 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15606 y and infinite z. Do bitwise or of inexact bit into u.d.
15607 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15608 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15609 * sysdeps/i386/fpu/s_fma.S: Removed.
15610 * sysdeps/i386/fpu/s_fmal.S: Removed.
15612 2010-10-16 Jakub Jelinek <jakub@redhat.com>
15615 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15616 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15617 computation is not scheduled after fetestexcept. Fix value
15618 of minimum denormal long double.
15620 2010-10-14 Jakub Jelinek <jakub@redhat.com>
15623 * math/libm-test.inc (fma_test): Add some more tests.
15624 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15627 2010-10-15 Andreas Schwab <schwab@redhat.com>
15629 * scripts/data/localplt-s390-linux-gnu.data: New file.
15630 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15632 2010-10-13 Jakub Jelinek <jakub@redhat.com>
15635 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15636 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15638 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15640 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15641 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15642 if one of x and y is very large and the other is subnormal.
15643 * sysdeps/s390/fpu/s_fmaf.c: New file.
15644 * sysdeps/s390/fpu/s_fma.c: New file.
15645 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15646 * sysdeps/powerpc/fpu/s_fma.S: New file.
15647 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15648 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15649 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15651 2010-10-12 Jakub Jelinek <jakub@redhat.com>
15654 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15656 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15657 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15658 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15659 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15660 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15661 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15662 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15664 2010-10-12 Ulrich Drepper <drepper@redhat.com>
15667 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15668 * posix/bug-regex31.input: Add test case.
15670 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15672 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15673 * posix/bug-regex31.input: New file.
15676 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15677 (parse_sub_exp): Fix last change, use postorder.
15679 * posix/bug-regex31.c: New file.
15680 * posix/Makefile: Add rules to build and run bug-regex31.
15682 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15685 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15688 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15689 to have entries in sys_siglist.
15692 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15695 2010-10-07 Jakub Jelinek <jakub@redhat.com>
15698 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15699 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15700 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15701 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15702 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15703 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15704 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15705 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15706 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15707 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15708 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15709 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15710 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15711 * math/ftestexcept.c (fetestexcept): Likewise.
15712 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15713 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15714 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15715 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15716 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15717 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15718 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15720 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15723 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15726 2010-10-06 Ulrich Drepper <drepper@gmail.com>
15728 * string/bug-strstr1.c: New file.
15729 * string/Makefile: Add rules to build and run bug-strstr1.
15731 2010-10-05 Eric Blake <eblake@redhat.com>
15734 * string/str-two-way.h (two_way_long_needle): Always clear memory
15735 when skipping input due to the shift table.
15737 2010-10-03 Ulrich Drepper <drepper@gmail.com>
15740 * malloc/mcheck.c: Handle large requests.
15743 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15744 for strncmp and strncasecmp.
15745 * string/stratcliff.c: Add tests for strcmp and strncmp.
15746 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15748 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15750 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15753 2010-09-30 Andreas Jaeger <aj@suse.de>
15755 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15756 (CGROUP_SUPER_MAGIC): Define.
15757 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15758 Handle btrfs and cgroup file systems.
15759 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15762 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
15764 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15765 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15767 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15770 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15771 trying to locate the ELF header.
15773 2010-09-27 Andreas Schwab <schwab@redhat.com>
15776 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15777 Mask out sign-bit copies when constructing f_fsid.
15779 2010-09-24 Petr Baudis <pasky@suse.cz>
15781 * debug/stack_chk_fail_local.c: Add missing licence exception.
15782 * debug/warning-nop.c: Likewise.
15784 2010-09-15 Joseph Myers <joseph@codesourcery.com>
15786 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15787 implementing getdents64 using getdents syscall, set d_type if
15788 __ASSUME_GETDENTS32_D_TYPE.
15790 2010-09-16 Andreas Schwab <schwab@redhat.com>
15792 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15793 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15795 2010-09-21 Ulrich Drepper <drepper@redhat.com>
15798 * posix/unistd.h: Undo change of feature selection for ftruncate from
15801 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15803 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15806 2010-09-20 Andreas Schwab <schwab@redhat.com>
15808 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15810 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15812 2010-09-14 Andreas Schwab <schwab@redhat.com>
15814 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15815 variables after CHECK_SP call.
15816 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15818 2010-09-13 Andreas Schwab <schwab@redhat.com>
15819 Ulrich Drepper <drepper@redhat.com>
15821 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15822 re-relocationg ld.so.
15823 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15824 _dl_init_paths call.
15825 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15828 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15830 * resolv/res_init.c (__res_vinit): Count the default server we added.
15832 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15833 Ulrich Drepper <drepper@redhat.com>
15836 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15837 (____longjmp_chk): Use %ebx for saving value across system call.
15840 2010-09-06 Andreas Schwab <schwab@redhat.com>
15842 * manual/Makefile: Don't mix pattern rules with normal rules.
15844 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15846 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15848 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15849 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15850 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15851 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15852 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15855 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15858 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15859 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15861 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15863 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15864 * sysdeps/x86_64/addmul_1.S: Likewise.
15865 * sysdeps/x86_64/lshift.S: Likewise.
15866 * sysdeps/x86_64/mul_1.S: Likewise.
15867 * sysdeps/x86_64/rshift.S: Likewise.
15868 * sysdeps/x86_64/sub_n.S: Likewise.
15869 * sysdeps/x86_64/submul_1.S: Likewise.
15871 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15873 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15874 Define __sched_param instead of SCHED_* and sched_param when
15875 <bits/sched.h> is included with __need_schedparam defined.
15876 * bits/sched.h [__need_schedparam]
15877 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15878 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15879 (__defined_schedparam): Define to 1.
15880 (__sched_param): New structure, identical to sched_param.
15881 (__need_schedparam): Undefine.
15883 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15885 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15886 (epoll_create1): Declare.
15888 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15890 2010-08-31 Andreas Schwab <schwab@redhat.com>
15893 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15894 shifting retval into place.
15896 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15898 * nis/rpcsvc/nis.h: Update copyright notice.
15899 * nis/rpcsvc/nis.x: Likewise.
15900 * nis/rpcsvc/nis_callback.h: Likewise.
15901 * nis/rpcsvc/nis_callback.x: Likewise.
15902 * nis/rpcsvc/nis_object.x: Likewise.
15903 * nis/rpcsvc/nis_tags.h: Likewise.
15904 * nis/rpcsvc/yp.h: Likewise.
15905 * nis/rpcsvc/yp.x: Likewise.
15906 * nis/rpcsvc/ypupd.h: Likewise.
15907 * nis/yp_xdr.c: Likewise.
15908 * nis/ypupdate_xdr.c: Likewise.
15910 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15911 mainly the body of pmap_getport. Add parameters to specify timeouts.
15912 (pmap_getport): Use __libc_rpc_getport.
15913 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15914 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15915 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15917 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15922 2010-08-27 Roland McGrath <roland@redhat.com>
15924 * sysdeps/i386/i686/multiarch/Makefile
15925 (CFLAGS-varshift.c): New variable.
15927 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15929 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15930 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15932 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15934 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15936 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15938 * sysdeps/x86_64/strlen.S: Unroll the loop.
15939 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15940 strlen-sse2 strlen-sse2-bsf.
15941 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15942 __strlen_no_bsf if bit_Slow_BSF is set.
15943 (__strlen_sse42): Removed.
15944 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15945 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15947 2010-08-25 Roland McGrath <roland@redhat.com>
15949 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15950 * sysdeps/x86_64/multiarch/varshift.c: New file.
15951 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15952 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15953 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15954 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15956 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15958 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15959 strlen-sse2 strlen-sse2-bsf.
15960 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15961 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15962 (__strlen_sse2): Removed.
15963 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15964 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15966 bit_Slow_BSF for Atom.
15967 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15968 (index_Slow_BSF): Define.
15969 (HAS_SLOW_BSF): Define.
15971 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15974 * resolv/res_init.c (__res_vinit): When no server address at all
15975 is given default to loopback.
15977 2010-08-24 Roland McGrath <roland@redhat.com>
15979 * configure.in: Remove config-name.h generation.
15980 * configure: Regenerated.
15981 * config-name.in: File removed.
15982 * scripts/config-uname.sh: New file.
15983 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15984 ($(objdir)config-name.h): New target.
15986 * sunrpc/rpc_parse.h: Avoid nested comment.
15988 2010-08-24 Richard Henderson <rth@redhat.com>
15989 Ulrich Drepper <drepper@redhat.com>
15990 H.J. Lu <hongjiu.lu@intel.com>
15992 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15994 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15995 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15996 _mm_alignr_epi8 with _mm_loadu_si128.
15997 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15998 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15999 (__m128i_shift_right): Removed.
16000 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16001 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16002 * sysdeps/x86_64/multiarch/varshift.h: New file.
16003 * sysdeps/x86_64/multiarch/varshift.S: New file.
16005 2010-08-21 Mike Frysinger <vapier@gentoo.org>
16007 * configure.in: Move assembler checks to before sysdep dir checking.
16009 2010-08-20 Petr Baudis <pasky@suse.cz>
16011 * LICENSES: Sync the sunrpc license.
16013 2010-08-19 Ulrich Drepper <drepper@redhat.com>
16015 * sunrpc/auth_des.c: Update copyright notice once again.
16016 * sunrpc/auth_none.c: Likewise.
16017 * sunrpc/auth_unix.c: Likewise.
16018 * sunrpc/authdes_prot.c: Likewise.
16019 * sunrpc/authuxprot.c: Likewise.
16020 * sunrpc/bindrsvprt.c: Likewise.
16021 * sunrpc/clnt_gen.c: Likewise.
16022 * sunrpc/clnt_perr.c: Likewise.
16023 * sunrpc/clnt_raw.c: Likewise.
16024 * sunrpc/clnt_simp.c: Likewise.
16025 * sunrpc/clnt_tcp.c: Likewise.
16026 * sunrpc/clnt_udp.c: Likewise.
16027 * sunrpc/clnt_unix.c: Likewise.
16028 * sunrpc/des_crypt.c: Likewise.
16029 * sunrpc/des_soft.c: Likewise.
16030 * sunrpc/get_myaddr.c: Likewise.
16031 * sunrpc/getrpcport.c: Likewise.
16032 * sunrpc/key_call.c: Likewise.
16033 * sunrpc/key_prot.c: Likewise.
16034 * sunrpc/openchild.c: Likewise.
16035 * sunrpc/pm_getmaps.c: Likewise.
16036 * sunrpc/pm_getport.c: Likewise.
16037 * sunrpc/pmap_clnt.c: Likewise.
16038 * sunrpc/pmap_prot.c: Likewise.
16039 * sunrpc/pmap_prot2.c: Likewise.
16040 * sunrpc/pmap_rmt.c: Likewise.
16041 * sunrpc/rpc/auth.h: Likewise.
16042 * sunrpc/rpc/auth_unix.h: Likewise.
16043 * sunrpc/rpc/clnt.h: Likewise.
16044 * sunrpc/rpc/des_crypt.h: Likewise.
16045 * sunrpc/rpc/key_prot.h: Likewise.
16046 * sunrpc/rpc/netdb.h: Likewise.
16047 * sunrpc/rpc/pmap_clnt.h: Likewise.
16048 * sunrpc/rpc/pmap_prot.h: Likewise.
16049 * sunrpc/rpc/pmap_rmt.h: Likewise.
16050 * sunrpc/rpc/rpc.h: Likewise.
16051 * sunrpc/rpc/rpc_des.h: Likewise.
16052 * sunrpc/rpc/rpc_msg.h: Likewise.
16053 * sunrpc/rpc/svc.h: Likewise.
16054 * sunrpc/rpc/svc_auth.h: Likewise.
16055 * sunrpc/rpc/types.h: Likewise.
16056 * sunrpc/rpc/xdr.h: Likewise.
16057 * sunrpc/rpc_clntout.c: Likewise.
16058 * sunrpc/rpc_cmsg.c: Likewise.
16059 * sunrpc/rpc_common.c: Likewise.
16060 * sunrpc/rpc_cout.c: Likewise.
16061 * sunrpc/rpc_dtable.c: Likewise.
16062 * sunrpc/rpc_hout.c: Likewise.
16063 * sunrpc/rpc_main.c: Likewise.
16064 * sunrpc/rpc_parse.c: Likewise.
16065 * sunrpc/rpc_parse.h: Likewise.
16066 * sunrpc/rpc_prot.c: Likewise.
16067 * sunrpc/rpc_sample.c: Likewise.
16068 * sunrpc/rpc_scan.c: Likewise.
16069 * sunrpc/rpc_scan.h: Likewise.
16070 * sunrpc/rpc_svcout.c: Likewise.
16071 * sunrpc/rpc_tblout.c: Likewise.
16072 * sunrpc/rpc_util.c: Likewise.
16073 * sunrpc/rpc_util.h: Likewise.
16074 * sunrpc/rpcinfo.c: Likewise.
16075 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16076 * sunrpc/rpcsvc/key_prot.x: Likewise.
16077 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16078 * sunrpc/rpcsvc/mount.x: Likewise.
16079 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16080 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16081 * sunrpc/rpcsvc/rex.x: Likewise.
16082 * sunrpc/rpcsvc/rstat.x: Likewise.
16083 * sunrpc/rpcsvc/rusers.x: Likewise.
16084 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16085 * sunrpc/rpcsvc/spray.x: Likewise.
16086 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16087 * sunrpc/rtime.c: Likewise.
16088 * sunrpc/svc.c: Likewise.
16089 * sunrpc/svc_auth.c: Likewise.
16090 * sunrpc/svc_authux.c: Likewise.
16091 * sunrpc/svc_raw.c: Likewise.
16092 * sunrpc/svc_run.c: Likewise.
16093 * sunrpc/svc_simple.c: Likewise.
16094 * sunrpc/svc_tcp.c: Likewise.
16095 * sunrpc/svc_udp.c: Likewise.
16096 * sunrpc/svc_unix.c: Likewise.
16097 * sunrpc/svcauth_des.c: Likewise.
16098 * sunrpc/xcrypt.c: Likewise.
16099 * sunrpc/xdr.c: Likewise.
16100 * sunrpc/xdr_array.c: Likewise.
16101 * sunrpc/xdr_float.c: Likewise.
16102 * sunrpc/xdr_mem.c: Likewise.
16103 * sunrpc/xdr_rec.c: Likewise.
16104 * sunrpc/xdr_ref.c: Likewise.
16105 * sunrpc/xdr_sizeof.c: Likewise.
16106 * sunrpc/xdr_stdio.c: Likewise.
16108 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16111 2010-08-19 Andreas Schwab <schwab@redhat.com>
16113 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16115 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
16117 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16118 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16119 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16120 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16121 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16122 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16123 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16124 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16125 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16126 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16127 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16128 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16129 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16130 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16132 2010-07-26 Anton Blanchard <anton@samba.org>
16134 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16135 * malloc/arena.c (heap_trim): Likewise.
16137 2010-08-16 Ulrich Drepper <drepper@redhat.com>
16139 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16141 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16142 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16144 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16146 * sysdeps/i386/elf/Makefile: New file.
16148 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16150 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16151 from fanotify_init.
16152 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16153 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16155 2010-08-15 Ulrich Drepper <drepper@redhat.com>
16157 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16159 * sysdeps/multiarch/strcmp.S: Likewise.
16161 2010-08-14 Ulrich Drepper <drepper@redhat.com>
16163 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16164 strncase_l-nonascii.
16165 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16166 Add strncase_l-ssse3.
16167 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16168 * sysdeps/x86_64/strcmp.S: Likewise.
16169 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16170 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16171 * sysdeps/x86_64/strncase.S: New file.
16172 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16173 * sysdeps/x86_64/strncase_l.S: New file.
16174 * string/Makefile (strop-tests): Add strncasecmp.
16175 * string/test-strncasecmp.c: New file.
16177 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16180 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16181 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16183 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16185 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16187 2010-08-12 Ulrich Drepper <drepper@redhat.com>
16189 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16190 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16191 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16193 2010-05-01 Alan Modra <amodra@gmail.com>
16195 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16196 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16197 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16198 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16199 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16200 tidying. Don't tail-call __sigjmp_save for static lib.
16201 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16203 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16204 (CALL_MCOUNT): Add eh info, and nop after bl.
16205 (TAIL_CALL_SYSCALL_ERROR): New macro.
16206 (PSEUDO_RET): Use it.
16207 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16208 Correct save location of integer regs and cr.
16209 (_dl_profile_resolve): Correct cr save location. Delete nops
16210 after bl when SHARED. Reduce cfi size a little by better
16211 placement of cfi directives.
16212 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16213 make a stack frame. Instead use parm save area as a temp.
16214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16215 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16217 Don't make a stack frame for parent, use parm save area.
16218 Increase child stack frame to 112 bytes. Don't save unused reg,
16219 and adjust reg usage. Set up cfi on error recovery and
16220 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16222 (__makecontext): Add dummy nop after jump to exit.
16223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16224 Use correct parm save area and cr save, reduce stack frame.
16225 Correct cfi for possible PSEUDO_RET frame setup.
16226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16227 Branch to local label emitted by PSEUDO_RET rather than
16230 2010-08-12 Andreas Schwab <schwab@redhat.com>
16233 * locale/programs/locale.c (print_assignment): New function.
16234 (show_locale_vars): Use it.
16236 2010-08-11 Ulrich Drepper <drepper@redhat.com>
16238 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16240 (struct statfs64): Likewise.
16241 (_STATFS_F_FLAGS): Define.
16242 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16243 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16244 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16245 (ST_VALID): Define locally.
16246 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16247 __statvfs_getflags, use the provided value.
16248 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16249 __ASSUME_STATFS_F_FLAGS.
16251 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16253 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16254 Add sys/fanotify.h.
16255 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16256 fanotify_mask for GLIBC_2.13.
16257 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16258 fanotify_init and fanotify_mark.
16259 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16260 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16262 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16264 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16265 prlimit64 for GLIBC_2.13.
16266 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16268 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16271 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16272 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16273 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16274 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16276 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16279 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16280 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16282 * nss/Makefile: Add rules to build and run tst-nss-test1.
16283 * shlib-versions: Add entry for libnss_test1.
16284 * nss/nss_test1.c: New file.
16285 * nss/tst-nss-test1.c: New file.
16287 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16288 (__nss_configure_lookup): Set appropriate entry in
16289 __nss_configure_lookup to true.
16290 * nss/nsswitch.h: Define enum with indeces of databases in
16291 databases and __nss_database_custom arrays. Declare
16292 __nss_database_custom.
16293 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16294 to avoid using nscd when custom rules are installed.
16295 * nss/getXXbyYY_r.c: Likewise.
16296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16298 * nss/nss_files/files-parse.c: Whitespace fixes.
16300 2010-08-09 Ulrich Drepper <drepper@redhat.com>
16303 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16304 * posix/fnmatch_loop.c: Likewise.
16306 2010-07-17 Andi Kleen <ak@linux.intel.com>
16308 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16309 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16310 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16311 * Versions.def [GLIBC_2.13]: Add.
16313 2010-08-06 Ulrich Drepper <drepper@redhat.com>
16315 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16316 Also fail if tpwd after pwuid call is NULL.
16318 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16320 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16321 when converting to ms.
16323 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16325 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16326 EOPNOTSUPP errors with ENOTTY.
16327 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16328 EOPNOTSUPP errors with ENOTTY.
16330 2010-07-31 Ulrich Drepper <drepper@redhat.com>
16332 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16333 Add strcasecmp_l-ssse3.
16334 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16336 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16337 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16338 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16340 2010-07-30 Ulrich Drepper <drepper@redhat.com>
16342 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16344 * string/Makefile (strop-tests): Add strcasecmp.
16345 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16346 strcasecmp_l-nonascii.
16347 (gen-as-const-headers): Add locale-defines.sym.
16348 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16349 * sysdeps/x86_64/strcasecmp.S: New file.
16350 * sysdeps/x86_64/strcasecmp_l.S: New file.
16351 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16352 * sysdeps/x86_64/locale-defines.sym: New file.
16353 * string/test-strcasecmp.c: New file.
16355 * string/test-strcasestr.c: Test both ends of the range of characters.
16356 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16358 2010-07-29 Roland McGrath <roland@redhat.com>
16361 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16363 2010-07-27 Ulrich Drepper <drepper@redhat.com>
16365 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16368 2010-07-27 Andreas Schwab <schwab@redhat.com>
16370 * manual/memory.texi (Malloc Tunable Parameters): Document
16373 2010-07-26 Roland McGrath <roland@redhat.com>
16376 * configure.in (-fgnu89-inline check): Set and substitute
16377 gnu89_inline, not libc_cv_gnu89_inline.
16378 * configure: Regenerated.
16379 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16381 2010-07-26 Ulrich Drepper <drepper@redhat.com>
16383 * string/test-strnlen.c: New file.
16384 * string/Makefile (strop-tests): Add strnlen.
16385 * string/tester.c (test_strnlen): Add a few more test cases.
16386 * string/tst-strlen.c: Better error reporting.
16388 * sysdeps/x86_64/strnlen.S: New file.
16390 2010-07-24 Ulrich Drepper <drepper@redhat.com>
16392 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16393 lower-latency instructions.
16395 2010-07-23 Ulrich Drepper <drepper@redhat.com>
16397 * string/test-strcasestr.c: New file.
16398 * string/test-strstr.c: New file.
16399 * string/Makefile (strop-tests): Add strstr and strcasestr.
16400 * string/str-two-way.h: Don't undefine MAX.
16401 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16403 2010-07-21 Andreas Schwab <schwab@redhat.com>
16405 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16406 strcasestr-nonascii.
16407 (CFLAGS-strcasestr-nonascii.c): Define.
16408 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16409 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16410 Remove unused attribute.
16412 2010-07-20 Roland McGrath <roland@redhat.com>
16414 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16415 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16416 ld.so.cache was broken. With it, there is no way to disable dsocaps
16417 like LD_HWCAP_MASK can disable hwcaps.
16419 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16421 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16423 2010-07-16 Ulrich Drepper <drepper@redhat.com>
16425 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16426 call in strcasestr.
16427 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16428 __strcasestr_sse42_nonascii.
16429 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16430 strcasestr-nonascii.c.
16431 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16433 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
16435 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16436 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16437 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16438 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16440 2010-07-09 Ulrich Drepper <drepper@redhat.com>
16442 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16445 2010-07-06 Andreas Schwab <schwab@redhat.com>
16448 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16451 2010-07-06 Ulrich Drepper <drepper@redhat.com>
16453 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16454 _PC_PIPE_BUF using F_GETPIPE_SZ.
16456 2010-07-05 Roland McGrath <roland@redhat.com>
16458 * manual/arith.texi (Rounding Functions): Fix rint description
16459 implicit in round description.
16461 2010-07-02 Ulrich Drepper <drepper@redhat.com>
16463 * elf/Makefile: Fix linking for a few tests to make recent linker
16466 2010-06-30 Andreas Schwab <schwab@redhat.com>
16468 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16469 $(common-objpfx)libc_nonshared.a.
16471 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
16473 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16474 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16475 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16476 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16477 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16478 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16479 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16480 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16495 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16496 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16497 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16498 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16499 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16500 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16501 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16502 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16503 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16504 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16505 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16506 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16522 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16524 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16525 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16526 * string/memmove.c (memmove): Renamed to ...
16527 (MEMMOVE): ...this. Default to memmove.
16528 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16529 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16532 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16533 mempcpy-ssse3-back memmove-ssse3-back.
16534 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16535 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16536 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16537 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16538 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16539 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16540 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16541 * sysdeps/x86_64/multiarch/memmove.c: New file.
16542 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16543 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16544 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16545 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16546 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16547 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16549 (index_Fast_Copy_Backward): Define.
16550 (HAS_ARCH_FEATURE): Define.
16551 (HAS_FAST_REP_STRING): Define.
16552 (HAS_FAST_COPY_BACKWARD): Define.
16554 2010-06-21 Andreas Schwab <schwab@redhat.com>
16556 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16557 Restore proper fallback handling.
16559 2010-06-19 Ulrich Drepper <drepper@redhat.com>
16562 * posix/group_member.c (__group_member): Correct checking loop.
16564 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16565 OOM in getpwuid_r correctly. Return error number when the caller
16566 should return, otherwise -1.
16567 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16568 call returning > 0 value.
16569 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16571 2010-06-07 Andreas Schwab <schwab@redhat.com>
16573 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16574 libc_nonshared.a from targets in modules-names.
16576 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16578 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16581 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
16583 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16584 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16585 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16586 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16588 2010-06-02 Andreas Schwab <schwab@redhat.com>
16590 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16592 2010-06-14 Ulrich Drepper <drepper@redhat.com>
16594 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16596 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16597 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16598 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16600 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16601 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16603 2010-06-14 Roland McGrath <roland@redhat.com>
16605 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16607 2010-06-07 Jakub Jelinek <jakub@redhat.com>
16609 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16610 __REDIRECT followed by __THROW.
16611 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16612 * posix/getopt.h (getopt): Likewise.
16614 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16616 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16617 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16618 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16620 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16621 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16623 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
16625 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16627 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16631 Properly check family and model.
16633 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16635 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16637 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
16639 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16641 2010-05-21 Ulrich Drepper <drepper@redhat.com>
16643 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16646 2010-05-19 Andreas Schwab <schwab@redhat.com>
16648 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16651 2010-05-21 Andreas Schwab <schwab@redhat.com>
16653 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16654 and internal_recvmmsg.
16655 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16656 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16657 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16658 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16660 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16661 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16662 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16664 2010-05-20 Andreas Schwab <schwab@redhat.com>
16666 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16668 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
16670 POWER7 optimizations.
16671 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16672 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16674 2010-05-19 Ulrich Drepper <drepper@redhat.com>
16676 * version.h: Update for 2.13 development version.
16678 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
16680 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16681 exceptions. Return 0.
16683 2010-05-07 Roland McGrath <roland@redhat.com>
16685 * elf/ldconfig.c (main): Add a const.
16687 2010-05-06 Ulrich Drepper <drepper@redhat.com>
16689 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16690 (args_options): Add no-idn option.
16691 (ahosts_keys_int): Add idn_flags to ai_flags.
16692 (parse_option): Handle 'i' option to clear idn_flags.
16694 * malloc/malloc.c (_int_free): Possible race in the most recently
16695 added check. Only act on the data if no current modification
16698 See ChangeLog.17 for earlier changes.