1 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5 * catgets/xopen-msg.awk: New file.
6 * catgets/xopen-msg.sed: Removed.
8 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10 * intl/po2test.awk: New file.
11 * intl/po2test.sed: Removed.
13 2012-07-04 Joseph Myers <joseph@codesourcery.com>
16 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17 or multiply small sinh result by itself.
18 * math/s_ctanf.c (__ctanf): Likewise.
19 * math/s_ctanh.c (__ctanh): Likewise.
20 * math/s_ctanhf.c (__ctanhf): Likewise.
21 * math/s_ctanhl.c (__ctanhl): Likewise.
22 * math/s_ctanl.c (__ctanl): Likewise.
23 * math/libm-test.inc (ctan_test_tonearest): New function.
24 (ctan_test_towardzero): Likewise.
25 (ctan_test_downward): Likewise.
26 (ctan_test_upward): Likewise.
27 (ctanh_test_tonearest): Likewise.
28 (ctanh_test_towardzero): Likewise.
29 (ctanh_test_downward): Likewise.
30 (ctanh_test_upward): Likewise.
31 (main): Call these new functions.
32 * sysdeps/i386/fpu/libm-test-ulps: Update.
33 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35 2012-07-03 Mike Frysinger <vapier@gentoo.org>
37 * .gitignore: Delete /ports entry.
39 2012-07-03 Andreas Jaeger <aj@suse.de>
41 * po/bg.po: Update from translation team.
49 2012-07-03 Joseph Myers <joseph@codesourcery.com>
51 * Makeconfig [!+link] (+link-before-libc): New variable.
52 [!+link] (+link-after-libc): Likewise.
53 [!+link] (+link-tests): Likewise.
54 [!+link] (+link): Define in terms of $(+link-before-libc) and
56 [!+link-static] (+link-static-before-libc): New variable.
57 [!+link-static] (+link-static-after-libc): Likewise.
58 [!+link-static] (+link-static-tests): Likewise.
59 [!+link-static] (+link-static): Define in terms of
60 $(+link-static-before-libc) and $(+link-static-after-libc).
61 [build-shared] (link-libc-before-gnulib): New variable.
62 [build-shared] (link-libc-tests): Likewise.
63 [build-shared] (link-libc): Define in terms of
64 $(link-libc-before-gnulib).
65 [!build-shared] (link-libc-tests): New variable.
66 (link-libc-static-tests): New variable.
67 [!gnulib] (gnulib-arch): New variable.
68 [!gnulib] (gnulib-tests): Likewise.
69 [!gnulib] (static-gnulib-arch): Likewise.
70 [!gnulib] (static-gnulib-tests): Likewise.
71 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
72 Define with "=" instead of ":=".
73 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
74 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
75 * Rules (binaries-all-notests): New variable.
76 (binaries-all-tests): Likewise.
77 (binaries-static-notests): Likewise.
78 (binaries-static-tests): Likewise.
79 (binaries-all): Define using $(binaries-all-notests) and
80 $(binaries-all-tests).
81 (binaries-static): Define using $(binaries-static-notests) and
82 $(binaries-static-tests).
83 (binaries-shared-tests): New variable.
84 (binaries-shared-notests): Likewise.
85 (binaries-shared): Remove variable.
86 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
87 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
88 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
89 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
90 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
91 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
92 * elf/Makefile (sln-modules): New variable.
93 (extra-objs): Add $(sln-modules:=.o).
94 (ldconfig-modules): Add static-stubs.
95 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
96 * elf/static-stubs.c: New file.
99 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
100 by 7 not 8 to examine high bit of fractional part. Use volatile
101 variables when splitting into final array of floats if
102 __FLT_EVAL_METHOD__ != 0.
103 * math/libm-test.inc (cos_test): Add another test.
104 (sin_test): Likewise.
105 * sysdeps/i386/fpu/libm-test-ulps: Update.
108 * math/libm-test.inc (cosh_test): Add more tests.
110 * version.h (RELEASE): Set to "development".
111 (VERSION): Set to "2.16.90".
113 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
115 * NEWS: Update copyright. Remove last-updated date.
116 Mention math library bug fixes and timezone data changes.
117 * README: Mention GNU/Hurd, x32, and HPPA support status.
119 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
121 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
123 2012-06-27 Andreas Jaeger <aj@suse.de>
125 * manual/contrib.texi (Contributors): Add Samuel Thibault.
127 2012-06-25 Andreas Jaeger <aj@suse.de>
129 * sysdeps/s390/fpu/libm-test-ulps: Update.
131 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
132 Thomas Schwinge <thomas@codesourcery.com>
134 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
135 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
136 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
139 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
141 * sysdeps/mach/start.c: Remove file.
142 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
143 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
144 * sysdeps/sh/init-first.c: Likewise.
146 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
147 registers for frame unwinding purposes, add CFI directives.
148 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
149 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
150 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
153 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
154 __fortify_fail returning.
155 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
157 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
158 sysdeps/sh/____longjmp_chk.S.
159 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
160 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
161 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
162 (gen-as-const-headers): Append sigaltstack-offsets.sym.
164 * sysdeps/sh/abort-instr.h: New file.
165 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
166 process in case exit returns.
168 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
169 initialize the GOT register before use.
171 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
172 calculation of ARGC > 4.
174 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
175 meaningful names to some local labels.
177 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
178 Kaz Kojima <kkojima@rr.iij4u.or.jp>
180 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
181 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
182 (__arch_compare_and_exchange_val_16_acq): Likewise.
183 (__arch_compare_and_exchange_val_32_acq): Likewise.
184 (atomic_exchange_and_add): Fix gUSA sequence.
185 (atomic_add): Likewise.
186 (atomic_add_negative): Likewise.
187 (atomic_add_zero): Likewise.
188 (atomic_bit_test_set): Likewise.
190 2012-06-22 Andreas Schwab <schwab@redhat.com>
193 * include/link.h (struct link_map): Add l_free_initfini.
194 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
196 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
197 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
198 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
201 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
203 * configure.in: Use AC_LANG_SOURCE.
204 * configure: Regenerate.
206 2012-06-22 Roland McGrath <roland@hack.frob.com>
208 * configure.in (libc_cv_localstatedir): New substituted variable.
209 * configure: Regenerated.
210 * config.make.in (localstatedir): New variable, substituted from
211 libc_cv_localstatedir.
212 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
213 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
214 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
215 * sysdeps/gnu/configure: Regenerated.
217 2012-06-21 Jeff Law <law@redhat.com>
220 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
221 free. Simplify list management for _LIBC case.
223 2012-06-21 Joseph Myers <joseph@codesourcery.com>
226 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
227 Clear sign bit of 64-bit integer value before comparing against
230 * sysdeps/mach/configure: Regenerated.
232 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
235 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
237 2012-06-21 Jeff Law <law@redhat.com>
240 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
241 uint16_t for elements in the "seen" array to avoid char overflows.
242 * elf/dl-fini.c (_dl_sort_fini): Likewise.
243 * elf/dl-open.c (dl_open_worker): Likewise.
245 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
247 * scripts/list-sources.sh: Scan PORTS for translations.
248 * po/libc.pot: Regenerated.
250 2012-06-21 Andreas Jaeger <aj@suse.de>
253 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
255 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
256 * bits/byteswap-16.h (__bswap_16): Likewise.
257 * bits/byteswap.h (__bswap_constant_16): Likewise.
259 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
262 * sysdeps/i386/fpu_control.h: Removed.
263 * sysdeps/x86_64/fpu_control.h: Moved to ...
264 * sysdeps/x86/fpu_control.h: Here.
266 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
267 (_FPU_SETCW): Likewise.
269 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
272 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
273 * sysdeps/x86/fpu/bits/mathinline.h: This.
274 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
278 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
279 functions if __x86_64__ is defined.
281 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
283 * string/endian.h: Add !__ASSEMBLER__ condition for including
284 conversion interfaces.
286 2012-06-15 Joseph Myers <joseph@codesourcery.com>
289 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
290 of ABS(x) in calculating zero to negative powers other than odd
292 * math/libm-test.inc (pow_test): Add more tests.
294 2012-06-15 Andreas Jaeger <aj@suse.de>
296 * manual/contrib.texi (Contributors): Update entry of Liubov
297 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
300 2012-06-15 Cyril Hrubis <metan@ucw.cz>
302 * string/string.h: Add __wur to GNU version of strerror_r.
304 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
307 * string/Makefile (tests): Add tst-strtok_r.
308 * string/tst-strtok_r.c: New file.
309 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
310 RAX_LP/RDX_LP on SAVE_PTR.
312 2012-06-14 Roland McGrath <roland@hack.frob.com>
314 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
316 2012-06-14 Joseph Myers <joseph@codesourcery.com>
318 * libm_test.inc (csqrt_test): Allow more spurious underflow
325 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
327 * po/Makefile (libc.pot): Use UTF-8 charset.
329 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
332 Suppress sign-conversion warning from FD_SET.
333 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
334 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
335 not unsigned long int.
336 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
338 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
342 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
343 __extern_always_inline instead of __extern_inline.
344 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
345 (__signbit): Likewise.
346 (__signbitl): Support C++ namespace.
347 (lrintf): New inline function.
361 (nearbyint): Likewise.
362 (nearbyintf): Likewise.
364 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
366 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
367 non-default versions.
369 2012-06-11 Roland McGrath <roland@hack.frob.com>
372 * manual/argp.texi (Argp): Reword argp_parse description slightly.
374 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
376 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
377 (FE_UPWARD, FE_DOWNWARD): Don't define.
378 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
379 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
381 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
383 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
384 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
386 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
388 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
389 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
390 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
391 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
393 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
396 * sysdeps/i386/fpu/bits/fenv.h: Removed.
397 * sysdeps/i386/fpu/Implies: New file.
398 * sysdeps/x86_64/fpu/Implies: Likewise.
399 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
400 * sysdeps/x86/fpu/bits/fenv.h: This.
402 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
405 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
408 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
409 character 0xffff that matches the last element of the
412 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
414 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
417 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
419 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
420 values higher than 25.6283.
422 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
424 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
425 subnormal exponent extraction and add some __builtin_expect.
426 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
427 Fix for subnormal mantissa calculation.
429 2012-06-04 Mike Frysinger <vapier@gentoo.org>
431 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
432 cpu2 is -1 and errno is not ENOSYS.
434 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
437 * sysdeps/i386/i486/bits/string.h: Renamed to ...
438 * sysdeps/x86/bits/string.h: This.
439 * sysdeps/x86_64/bits/string.h: Removed.
441 * sysdeps/i386/i486/bits/string.h: Define inline functions only
442 if not compiling for x86-64, but compiling for >= i486.
444 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
445 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
447 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
448 New macro from Linux kernel 3.4.0.
449 (FP_XSTATE_MAGIC2): Likewise.
450 (FP_XSTATE_MAGIC2_SIZE): Likewise.
451 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
452 (struct _fpx_sw_bytes): New struct.
453 (struct _xsave_hdr): Likewise.
454 (struct _ymmh_state): Likewise.
455 (struct _xstate): Likewise.
457 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
458 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
459 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
460 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
461 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
462 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
464 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
465 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
466 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
467 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
468 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
469 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
471 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
474 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
475 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
476 (sysdep_headers): Include sys/platform/ppc.h.
477 * sysdeps/powerpc/test-gettimebase.c: Test for
478 __ppc_get_timebase() to catch future ISA opcode/insn changes.
479 * manual/Makefile (appendices): Include platform.texi.
480 * manual/contrib.texi (Contributors): Update @node pointers.
481 * manual/maint.texi (Maintenance): Likewise.
482 (Platform): New node.
483 * manual/platform.texi: New file. Document the new features.
485 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
486 Jakub Jelinek <jakub@redhat.com>
489 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
490 where __builtin_expect is unavailable.
492 2012-06-03 David S. Miller <davem@davemloft.net>
494 * stdlib/longlong.h: Updated from GCC.
496 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
499 * sysdeps/powerpc/powerpc32/mcount.c: New file.
500 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
503 (GLIBC_2.16): Likewise.
505 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
507 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
509 2012-06-01 Joseph Myers <joseph@codesourcery.com>
511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
512 (default-abi): New variable.
513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
514 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
516 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
518 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
520 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
523 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
524 definition. Document in comment.
526 2012-06-01 David S. Miller <davem@davemloft.net>
528 * stdlib/longlong.h: Updated from GCC.
530 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
533 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
534 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
535 sys/debugreg.h sys/io.h here.
536 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
537 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
539 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
540 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
541 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
542 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
543 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
544 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
546 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
547 Define only if __x86_64__ is defined.
549 2012-06-01 Joseph Myers <joseph@codesourcery.com>
552 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
553 Use int64_t for variable i.
554 * math/libm-test.inc (fmod_test): Add more tests.
556 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
557 z computation is not scheduled after fetestexcept.
558 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
559 Use math_force_eval instead of asm to ensure calculation scheduled
560 before exception test.
561 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
562 Ensure a1 + u.d computation is not scheduled after fetestexcept.
564 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
566 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
567 computation is not scheduled after fetestexcept.
569 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
572 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
573 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
575 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
577 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
578 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
580 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
583 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
585 (__WCHAR_MIN): Support __WORDSIZE == 64.
586 (__WCHAR_MAX): Likewise.
588 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
589 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
592 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
593 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
596 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
597 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
599 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
600 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
602 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
603 Defined to 1 if __x86_64__ isn't defined.
604 (_STAT_VER_LINUX_OLD): New.
605 (st_atime): Remove duplicate.
606 (st_mtime): Likewise.
607 (st_ctime): Likewise.
609 2012-05-31 David S. Miller <davem@davemloft.net>
611 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
614 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
616 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
620 * elf/dl-reloc.c: Include <_itoa.h>.
621 (_dl_reloc_bad_type): Remove use of INTUSE.
622 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
623 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
624 * stdio-common/psiginfo.c (psiginfo): Likewise.
625 * stdio-common/psignal.c (psignal): Likewise.
626 * string/strsignal.c (strsignal): Likewise.
627 * include/signal.h (_sys_siglist): Declare hidden proto.
628 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
629 INTVARDEF with libc_hidden_data_def.
630 * stdio-common/itoa-udigits.c: Likewise.
631 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
632 (_itoa_lower_digits_internal): Remove declaration.
633 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
634 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
635 (_sys_sigabbrev_internal): Remove aliases.
636 (_sys_siglist): Define hidden alias.
638 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
643 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
646 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
647 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
649 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
650 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
651 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
652 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
653 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
654 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
656 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
657 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
658 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
660 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
668 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
669 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
670 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
672 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
673 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
674 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
675 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
676 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
677 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
679 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
680 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
682 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
683 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
685 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
686 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
687 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
689 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
690 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
692 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
694 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
695 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
696 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
698 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
700 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
702 2012-05-31 Joseph Myers <joseph@codesourcery.com>
704 * math/math.h (M_El): Use two more decimal places.
705 (M_LOG2El): Likewise.
706 (M_LOG10El): Likewise.
714 (M_2_SQRTPIl): Likewise.
715 (M_SQRT2l): Likewise.
716 (M_SQRT1_2l): Likewise.
718 2012-05-31 David S. Miller <davem@davemloft.net>
720 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
721 values between float registers.
722 * sysdeps/sparc/sparc64/memset.S: Likewise.
723 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
725 2012-05-31 Mike Frysinger <vapier@gentoo.org>
727 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
729 (CPPFLAGS-tst-longjmp_chk.c): Define.
730 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
731 (CPPFLAGS-tst-longjmp_chk2.c): Define.
732 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
733 CFLAGS-tst-wchar-h.c.
735 2012-05-31 Marek Polacek <polacek@redhat.com>
738 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
739 __endmntent_internal): Remove declaration.
740 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
741 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
742 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
744 2012-05-30 David S. Miller <davem@davemloft.net>
746 * sysdeps/sparc/sparc32/soft-fp/q_util.c
747 (___Q_simulate_exceptions): Use real FP ops rather than writing
749 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
752 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
755 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
756 * sysdeps/x86/bits/xtitypes.h: This.
758 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
759 * sysdeps/x86/bits/wordsize.h: This.
761 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
762 * sysdeps/x86/bits/huge_vall.h: This.
764 * sysdeps/i386/bits/select.h: Removed.
765 * sysdeps/x86_64/bits/select.h: Renamed to ...
766 * sysdeps/x86/bits/select.h: This.
768 * sysdeps/i386/bits/setjmp.h: Removed.
769 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
770 * sysdeps/x86/bits/setjmp.h: This.
772 * sysdeps/i386/bits/mathdef.h: Removed.
773 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
774 * sysdeps/x86/bits/mathdef.h: This.
776 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
779 * include/sys/socket.h (__connect_internal)
780 (__libc_sa_len_internal): Remove declaration.
781 (__connect, __libc_sa_len): Declare hidden_proto.
782 (SA_LEN): Remove use of INTUSE.
783 * socket/connect.c: Add libc_hidden_def.
784 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
785 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
786 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
788 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
789 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
790 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
791 of adding _internal alias.
793 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
796 * sysdeps/i386/bits/link.h: Removed.
797 * sysdeps/i386/bits/linkmap.h: Likewise.
798 * sysdeps/x86_64/bits/link.h: Renamed to ...
799 * sysdeps/x86/bits/link.h: This.
800 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
801 * sysdeps/x86/bits/linkmap.h: This.
803 * sysdeps/i386/bits/endian.h: Removed.
804 * sysdeps/x86_64/bits/endian.h: Renamed to ...
805 * sysdeps/x86/bits/endian.h: This.
807 * sysdeps/i386/bits/byteswap.h: Removed.
808 * sysdeps/i386/bits/byteswap-16.h: Likewise.
809 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
810 * sysdeps/x86/bits/byteswap.h: This.
811 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
812 * sysdeps/x86/bits/byteswap-16.h: This.
813 * sysdeps/i386/Implies: Add x86.
814 * sysdeps/x86_64/Implies: Likewise.
816 2012-05-30 David S. Miller <davem@davemloft.net>
818 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
819 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
820 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
821 (FP_TRAPPING_EXCEPTIONS): Define.
822 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
823 (FP_TRAPPING_EXCEPTIONS): Define.
824 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
825 subnormals only when inexact has been signalled or underflow
826 exceptions are enabled.
827 (_FP_PACK_CANONICAL): Likewise.
829 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
832 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
833 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
835 2012-05-30 Richard Henderson <rth@twiddle.net>
837 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
838 with #ifndef NOT_IN_libc.
840 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
841 marked to avoid plt entry.
843 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
846 * Makeconfig (default-abi): New macro.
847 (abi-includes): Likewise.
848 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
849 $(abi-$(default-abi)-lib-soname) for soname if defined.
850 ($(common-objpfx)gnu/lib-names.stmp): Generate from
852 * Makefile (installed-stubs): Likewise.
853 * include/stubs-biarch.h: Removed.
854 * scripts/lib-names.awk: Only handle one library at a time.
855 * scripts/soversions.awk: Remove WORDSIZE support.
856 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
858 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
860 (syscall-list-default-condition): Likewise.
861 (syscall-list-default-condition): Likewise.
862 (syscall-list-includes): Likewise.
863 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
864 syscall-list-* with abi-*. Handle undefined abi-variants.
865 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
866 * sysdeps/unix/sysv/linux/i386/Implies: New file.
867 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
868 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
869 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
870 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
872 (syscall-list-32-options): Likewise.
873 (syscall-list-32-condition): Likewise.
874 (syscall-list-64-options): Likewise.
875 (syscall-list-64-condition): Likewise.
876 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
878 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
881 (abi-64-ld-soname): New macro.
882 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
883 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
886 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
887 * sysdeps/x86_64/x32/shlib-versions: Likewise.
889 2012-05-30 Joseph Myers <joseph@codesourcery.com>
891 * sysdeps/unix/sysv/linux/kernel-features.h
892 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
893 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
894 include <kernel-features.h>.
895 [!__NR_ftruncate64]: Remove conditional code.
896 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
897 [__NR_ftruncate64]: Make code unconditional.
898 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
899 * sysdeps/unix/sysv/linux/truncate64.c: Do not
900 include <kernel-features.h>.
901 [!__NR_ftruncate64]: Remove conditional code.
902 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
903 [__NR_ftruncate64]: Make code unconditional.
904 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
906 include <kernel-features.h>.
907 [!__NR_ftruncate64]: Remove conditional code.
908 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
909 [__NR_ftruncate64]: Make code unconditional.
910 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
912 include <kernel-features.h>.
913 [!__NR_ftruncate64]: Remove conditional code.
914 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
915 [__NR_ftruncate64]: Make code unconditional.
916 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
918 * configure.in (libc_cv_fpie): Weaken to a compile test using
920 * configure: Regenerated.
922 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
937 2012-05-27 David S. Miller <davem@davemloft.net>
939 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
941 (__Q_simulate_exceptions): Return void. Change to simulate
942 exceptions by writing into the %fsr.
943 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
944 (__Qp_handle_exceptions): Likewise.
946 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
947 __Qp_handle_exceptions.
948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
949 __Qp_handle_exceptions.
950 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
951 as unused and give dummy FP_RND_NEAREST initializer.
952 (FP_INHIBIT_RESULTS): Define.
953 (___Q_simulate_exceptions): Update declaration.
954 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
956 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
957 as unused and give dummy FP_RND_NEAREST initializer.
958 (__Qp_handle_exceptions): Update declaration.
959 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
962 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
964 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
965 the temporary FPU control word.
966 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
967 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
968 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
969 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
970 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
971 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
972 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
973 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
974 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
975 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
976 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
978 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
980 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
983 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
985 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
986 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
987 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
988 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
990 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
991 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
994 2012-05-27 Ulrich Drepper <drepper@gmail.com>
996 * po/h.po: Update from translation team.
998 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1000 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1002 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1003 handling of denormals.
1004 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1005 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1006 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1007 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1008 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1009 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1010 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1013 2012-05-26 Marek Polacek <polacek@redhat.com>
1016 * math/libm-test.inc (fma_test): Don't always expect underflow
1019 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1022 * elf/tst-execstack.c: Include stackinfo.h.
1023 (do_test): Adjust test case to ensure that pthread_getattr_np
1024 behaviour remains the same after marking stack executable.
1026 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1028 * sysdeps/unix/sysv/linux/kernel-features.h
1029 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1030 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1032 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1033 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1034 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1036 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1037 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1039 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1041 * configure.in: Define the default includes to being none.
1042 * configure: Regenerated.
1044 2012-05-25 Roland McGrath <roland@hack.frob.com>
1046 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1047 * sysdeps/x86_64/setjmp.S: Likewise.
1048 * sysdeps/i386/bsd-setjmp.S: Likewise.
1049 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1050 * sysdeps/i386/setjmp.S: Likewise.
1051 * sysdeps/i386/__longjmp.S: Likewise.
1052 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1053 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1055 * include/stap-probe.h: New file.
1056 * configure.in: Handle --enable-systemtap.
1057 * configure: Regenerated.
1058 * config.h.in (USE_STAP_PROBE): New #undef.
1059 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1060 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1061 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1063 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1066 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1067 to 2.4.0 where earlier.
1068 * sysdeps/unix/sysv/linux/configure: Regenerated.
1069 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1070 <kernel-features.h>.
1071 [__ASSUME_32BITUIDS]: Make code unconditional.
1072 [!__ASSUME_32BITUIDS]: Remove conditional code.
1073 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1074 <kernel-features.h>.
1075 [__ASSUME_32BITUIDS]: Make code unconditional.
1076 [!__ASSUME_32BITUIDS]: Remove conditional code.
1077 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1078 [__ASSUME_32BITUIDS]: Make code unconditional.
1079 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1080 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1081 <kernel-features.h>.
1082 [__ASSUME_32BITUIDS]: Make code unconditional.
1083 [!__ASSUME_32BITUIDS]: Remove conditional code.
1084 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1085 <kernel-features.h>.
1086 [__ASSUME_32BITUIDS]: Make code unconditional.
1087 [!__ASSUME_32BITUIDS]: Remove conditional code.
1088 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1089 <kernel-features.h>.
1090 [__ASSUME_32BITUIDS]: Make code unconditional.
1091 [!__ASSUME_32BITUIDS]: Remove conditional code.
1092 * sysdeps/unix/sysv/linux/i386/getgroups.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/i386/getresgid.c: Do not include
1097 <kernel-features.h>.
1098 [__ASSUME_32BITUIDS]: Make code unconditional.
1099 [!__ASSUME_32BITUIDS]: Remove conditional code.
1100 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1101 <kernel-features.h>.
1102 [__ASSUME_32BITUIDS]: Make code unconditional.
1103 [!__ASSUME_32BITUIDS]: Remove conditional code.
1104 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1105 <kernel-features.h>.
1106 [__ASSUME_32BITUIDS]: Make code unconditional.
1107 [!__ASSUME_32BITUIDS]: Remove conditional code.
1108 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1109 <kernel-features.h>.
1110 [__ASSUME_32BITUIDS]: Make code unconditional.
1111 [!__ASSUME_32BITUIDS]: Remove conditional code.
1112 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1113 <kernel-features.h>.
1114 [__ASSUME_32BITUIDS]: Make code unconditional.
1115 [!__ASSUME_32BITUIDS]: Remove conditional code.
1116 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1117 <kernel-features.h>.
1118 [__ASSUME_32BITUIDS]: Make code unconditional.
1119 [!__ASSUME_32BITUIDS]: Remove conditional code.
1120 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1121 <kernel-features.h>.
1122 [__NR_setresgid] (__setresgid): Do not declare.
1123 [__ASSUME_32BITUIDS]: Make code unconditional.
1124 [!__ASSUME_32BITUIDS]: Remove conditional code.
1125 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1126 <kernel-features.h>.
1127 [__NR_setresuid] (__setresuid): Do not declare.
1128 [__ASSUME_32BITUIDS]: Make code unconditional.
1129 [!__ASSUME_32BITUIDS]: Remove conditional code.
1130 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1131 <kernel-features.h>.
1132 [__ASSUME_32BITUIDS]: Make code unconditional.
1133 [!__ASSUME_32BITUIDS]: Remove conditional code.
1134 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1135 <kernel-features.h>.
1136 [__ASSUME_32BITUIDS]: Make code unconditional.
1137 [!__ASSUME_32BITUIDS]: Remove conditional code.
1138 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1139 <kernel-features.h>.
1140 [__ASSUME_32BITUIDS]: Make code unconditional.
1141 [!__ASSUME_32BITUIDS]: Remove conditional code.
1142 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1143 <kernel-features.h>.
1144 [__ASSUME_32BITUIDS]: Make code unconditional.
1145 [!__ASSUME_32BITUIDS]: Remove conditional code.
1146 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1147 <kernel-features.h>.
1148 [__ASSUME_32BITUIDS]: Make code unconditional.
1149 [!__ASSUME_32BITUIDS]: Remove conditional code.
1150 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1151 <kernel-features.h>.
1152 [__ASSUME_32BITUIDS]: Make code unconditional.
1153 [!__ASSUME_32BITUIDS]: Remove conditional code.
1154 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1155 <kernel-features.h>.
1156 [__ASSUME_32BITUIDS]: Make code unconditional.
1157 [!__ASSUME_32BITUIDS]: Remove conditional code.
1158 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1159 <kernel-features.h>.
1160 [__ASSUME_32BITUIDS]: Make code unconditional.
1161 [!__ASSUME_32BITUIDS]: Remove conditional code.
1162 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1163 <kernel-features.h>.
1164 [__ASSUME_32BITUIDS]: Make code unconditional.
1165 [!__ASSUME_32BITUIDS]: Remove conditional code.
1166 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1167 <kernel-features.h>.
1168 [__ASSUME_32BITUIDS]: Make code unconditional.
1169 [!__ASSUME_32BITUIDS]: Remove conditional code.
1170 * sysdeps/unix/sysv/linux/kernel-features.h
1171 (__ASSUME_SETRESUID_SYSCALL): Remove.
1172 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1173 (__ASSUME_32BITUIDS): Likewise.
1174 (__ASSUME_LDT_WORKS): Likewise.
1175 (__ASSUME_O_DIRECTORY): Likewise.
1176 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1177 architecture but not kernel version.
1178 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1179 (__ASSUME_MMAP2_SYSCALL): Likewise.
1180 (__ASSUME_STAT64_SYSCALL): Likewise.
1181 (__ASSUME_IPC64): Likewise.
1182 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1183 <kernel-features.h>.
1184 [__ASSUME_32BITUIDS]: Make code unconditional.
1185 [!__ASSUME_32BITUIDS]: Remove conditional code.
1186 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1187 <kernel-features.h>.
1188 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1189 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1190 132096]: Remove conditional code.
1191 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1192 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1193 <kernel-features.h>.
1194 [__ASSUME_32BITUIDS]: Make code unconditional.
1195 [!__ASSUME_32BITUIDS]: Remove conditional code.
1196 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1197 <kernel-features.h>.
1198 [__ASSUME_32BITUIDS]: Make code unconditional.
1199 [!__ASSUME_32BITUIDS]: Remove conditional code.
1200 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1201 <kernel-features.h>.
1202 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1204 (__setresgid): Do not declare.
1205 [__ASSUME_32BITUIDS]: Make code unconditional.
1206 [!__ASSUME_32BITUIDS]: Remove conditional code.
1207 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1208 <kernel-features.h>.
1209 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1211 (__setresuid): Do not declare.
1212 [__ASSUME_32BITUIDS]: Make code unconditional.
1213 [!__ASSUME_32BITUIDS]: Remove conditional code.
1214 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1215 <kernel-features.h>.
1216 [__ASSUME_32BITUIDS]: Make code unconditional.
1217 [!__ASSUME_32BITUIDS]: Remove conditional code.
1218 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1219 <kernel-features.h>.
1220 [__ASSUME_32BITUIDS]: Make code unconditional.
1221 [!__ASSUME_32BITUIDS]: Remove conditional code.
1223 2012-05-25 Richard Henderson <rth@twiddle.net>
1225 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1226 dl_hwcap to ifunc resolver.
1227 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1229 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1230 dl_hwcap to ifunc resolver.
1231 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1233 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1236 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1237 for |x| <= 2**-26, not 2**-57.
1238 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1241 2012-05-24 Jeff Law <law@redhat.com>
1243 * stdio-common/Makefile (tests): Add bug25.
1244 * stdio-common/bug25.c: New test.
1246 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1249 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1250 multiple of MALLOC_ALIGNMENT in size.
1251 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1253 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1255 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1257 (FILENAME_MAX): Use macro-int-constant.
1258 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1259 (_IOFBF): Use macro-int-constant.
1262 (SEEK_CUR): Likewise.
1263 (SEEK_END): Likewise.
1264 (SEEK_SET): Likewise.
1265 (TMP_MAX): Likewise.
1266 (EOF): Use macro-int-constant. Require < 0.
1267 (NULL): Use macro-constant. Require == 0.
1268 (stdin): Require type to be FILE *.
1271 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1273 (EXIT_SUCCESS): Likewise.
1274 (NULL): Use macro-constant. Require == 0.
1275 (RAND_MAX): Use macro-int-constant.
1276 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1277 [C99-based standards] (strtof): Require function.
1278 [C99-based standards] (strtold): Likewise.
1279 [C99-based standards] (strtoll): Likewise.
1280 [C99-based standards] (strtoull): Likewise.
1281 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1282 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1283 [ISO || ISO99 || ISO11] (math.h): Likewise.
1284 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1285 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1286 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1288 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1291 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1292 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1293 * intl/dgettext.c (DCGETTEXT): Likewise.
1294 * intl/gettext.c (DCGETTEXT): Likewise.
1295 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1296 * posix/regex_internal.h (gettext): Likewise.
1297 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1299 * include/argz.h (__argz_count_internal)
1300 (__argz_stringify_internal): Remove declaration.
1301 (__argz_count, __argz_stringify): Declare hidden proto.
1302 * intl/dcgettext.c: Remove use of INTDEF.
1303 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1304 * string/argz-stringify.c: Likewise.
1305 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1306 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1307 Declare hidden proto.
1308 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1309 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1310 Declare hidden proto.
1311 * include/stdio.h (__asprintf_internal): Don't declare.
1312 (__asprintf): Don't define as macro. Declare hidden proto.
1313 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1314 (__fsetlocking): Declare hidden proto.
1315 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1316 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1318 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1319 (_IO_setlinebuf): Remove use of INTUSE.
1320 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1321 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1322 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1324 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1325 (_IO_do_flush): Remove use of INTUSE.
1326 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1327 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1328 (_IO_adjust_column, _IO_least_wmarker)
1329 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1330 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1331 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1332 (_IO_default_doallocate, _IO_wdefault_doallocate)
1333 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1334 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1335 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1336 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1337 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1338 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1339 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1340 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1341 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1342 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1343 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1344 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1345 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1347 (_IO_flush_all_internal, _IO_adjust_column_internal)
1348 (_IO_default_uflow_internal, _IO_default_finish_internal)
1349 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1350 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1351 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1352 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1353 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1354 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1355 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1356 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1357 (_IO_file_close_internal, _IO_file_close_it_internal)
1358 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1359 (_IO_file_init_internal, _IO_file_attach_internal)
1360 (_IO_file_fopen_internal, _IO_file_read_internal)
1361 (_IO_file_sync_internal, _IO_file_seek_internal)
1362 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1363 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1364 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1365 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1366 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1367 (_IO_list_all_internal, _IO_link_in_internal)
1368 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1369 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1370 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1371 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1372 (_IO_do_write_internal, _IO_padn_internal)
1373 (_IO_getline_info_internal, _IO_getline_internal)
1374 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1375 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1376 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1377 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1378 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1379 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1380 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1381 with libc_hidden_ver, remove use of INTUSE.
1382 * libio/genops.c: Likewise.
1383 * libio/freopen.c: Likewise.
1384 * libio/freopen64.c: Likewise.
1385 * libio/iofclose.c: Likewise.
1386 * libio/iofdopen.c: Likewise.
1387 * libio/iofflush.c: Likewise.
1388 * libio/iofflush_u.c: Likewise.
1389 * libio/iofgets.c: Likewise.
1390 * libio/iofgets_u.c: Likewise.
1391 * libio/iofopen.c: Likewise.
1392 * libio/iofopncook.c: Likewise.
1393 * libio/iofread.c: Likewise.
1394 * libio/iofread_u.c: Likewise.
1395 * libio/ioftell.c: Likewise.
1396 * libio/iofwrite.c: Likewise.
1397 * libio/iogetline.c: Likewise.
1398 * libio/iogets.c: Likewise.
1399 * libio/iogetwline.c: Likewise.
1400 * libio/iopadn.c: Likewise.
1401 * libio/iopopen.c: Likewise.
1402 * libio/ioseekoff.c: Likewise.
1403 * libio/ioseekpos.c: Likewise.
1404 * libio/iosetbuffer.c: Likewise.
1405 * libio/iosetvbuf.c: Likewise.
1406 * libio/ioungetc.c: Likewise.
1407 * libio/ioungetwc.c: Likewise.
1408 * libio/iovdprintf.c: Likewise.
1409 * libio/iovsprintf.c: Likewise.
1410 * libio/iovsscanf.c: Likewise.
1411 * libio/memstream.c: Likewise.
1412 * libio/obprintf.c: Likewise.
1413 * libio/oldfileops.c: Likewise.
1414 * libio/oldiofclose.c: Likewise.
1415 * libio/oldiofdopen.c: Likewise.
1416 * libio/oldiofopen.c: Likewise.
1417 * libio/oldiopopen.c: Likewise.
1418 * libio/oldstdfiles.c: Likewise.
1419 * libio/putc.c: Likewise.
1420 * libio/setbuf.c: Likewise.
1421 * libio/setlinebuf.c: Likewise.
1422 * libio/stdfiles.c: Likewise.
1423 * libio/strops.c: Likewise.
1424 * libio/vasprintf.c: Likewise.
1425 * libio/vscanf.c: Likewise.
1426 * libio/vsnprintf.c: Likewise.
1427 * libio/vswprintf.c: Likewise.
1428 * libio/wfiledoalloc.c: Likewise.
1429 * libio/wfileops.c: Likewise.
1430 * libio/wgenops.c: Likewise.
1431 * libio/wmemstream.c: Likewise.
1432 * libio/wstrops.c: Likewise.
1433 * libio/__fpurge.c: Likewise.
1434 * libio/__fsetlocking.c: Likewise.
1435 * assert/assert.c: Likewise.
1436 * debug/fgets_chk.c: Likewise.
1437 * debug/fgets_u_chk.c: Likewise.
1438 * debug/fread_chk.c: Likewise.
1439 * debug/fread_u_chk.c: Likewise.
1440 * debug/gets_chk.c: Likewise.
1441 * debug/obprintf_chk.c: Likewise.
1442 * debug/vasprintf_chk.c: Likewise.
1443 * debug/vdprintf_chk.c: Likewise.
1444 * debug/vsnprintf_chk.c: Likewise.
1445 * debug/vsprintf_chk.c: Likewise.
1446 * malloc/mtrace.c: Likewise.
1447 * misc/error.c: Likewise.
1448 * misc/syslog.c: Likewise.
1449 * stdio-common/asprintf.c: Likewise.
1450 * stdio-common/fxprintf.c: Likewise.
1451 * stdio-common/getw.c: Likewise.
1452 * stdio-common/isoc99_fscanf.c: Likewise.
1453 * stdio-common/isoc99_scanf.c: Likewise.
1454 * stdio-common/isoc99_vfscanf.c: Likewise.
1455 * stdio-common/isoc99_vscanf.c: Likewise.
1456 * stdio-common/isoc99_vsscanf.c: Likewise.
1457 * stdio-common/printf-prs.c: Likewise.
1458 * stdio-common/printf_fp.c: Likewise.
1459 * stdio-common/printf_fphex.c: Likewise.
1460 * stdio-common/printf_size.c: Likewise.
1461 * stdio-common/putw.c: Likewise.
1462 * stdio-common/scanf.c: Likewise.
1463 * stdio-common/sprintf.c: Likewise.
1464 * stdio-common/tmpfile.c: Likewise.
1465 * stdio-common/vfprintf.c: Likewise.
1466 * stdio-common/vfscanf.c: Likewise.
1467 * stdlib/strfmon_l.c: Likewise.
1468 * sunrpc/openchild.c: Likewise.
1469 * sunrpc/xdr_stdio.c: Likewise.
1470 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1471 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1473 2012-05-24 Roland McGrath <roland@hack.frob.com>
1475 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1477 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1478 in the third column, to generate for the shared library an IFUNC
1479 that uses _dl_vdso_vsym.
1480 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1481 * Makeconfig (object-suffixes-noshared): New variable.
1483 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1484 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1485 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1486 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1489 * include/sys/time.h (__gettimeofday): Remove macro.
1490 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1491 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1493 (__gettimeofday): Add libc_hidden_def.
1494 (gettimeofday): Add libc_hidden_weak.
1495 * sysdeps/mach/gettimeofday.c: Likewise.
1496 * sysdeps/posix/gettimeofday.c: Likewise.
1497 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1498 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1499 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1500 (__gettimeofday_internal): Remove strong_alias.
1501 (__gettimeofday): Add libc_hidden_def.
1502 (gettimeofday): Add libc_hidden_weak.
1503 * sysdeps/unix/syscalls.list (gettimeofday):
1504 Remove __gettimeofday_internal alias.
1506 2012-05-24 Daniel Jacobowitz <drow@false.org>
1507 H.J. Lu <hongjiu.lu@intel.com>
1510 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1511 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1512 (largebin_index_32_big): New.
1513 (largebin_index): Use it for 16-byte alignment.
1514 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1515 correction with front_misalign.
1517 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1545 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1546 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1548 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1552 * math/libm-test.inc (exp_test): Add test from bug 14036.
1553 (pow_test): Add test from bug 10846.
1555 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1557 (special_function): Do not include flags in test name.
1558 (parse_args): Likewise.
1559 * sysdeps/i386/fpu/libm-test-ulps: Update.
1560 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1561 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1562 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1565 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1567 * math/libm-test.inc ("Philosophy"): Update comment about
1569 (UNDERFLOW_EXCEPTION): New macro.
1570 (UNDERFLOW_EXCEPTION_OK): Likewise.
1571 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1572 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1573 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1574 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1575 (INVALID_EXCEPTION_OK): Update value.
1576 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1577 (OVERFLOW_EXCEPTION_OK): Likewise.
1578 (IGNORE_ZERO_INF_SIGN): Likewise.
1579 (test_exceptions): Handle underflow exceptions.
1580 (acos_test): Update for underflow exception expectations.
1581 (cexp_test): Likewise.
1582 (clog_test): Likewise.
1583 (clog10_test): Likewise.
1584 (csqrt_test): Likewise.
1585 (ctan_test): Likewise.
1586 (ctanh_test): Likewise.
1587 (exp_test): Likewise.
1588 (exp10_test): Likewise.
1589 (exp2_test): Likewise.
1590 (expm1_test): Likewise.
1591 (fma_test): Likewise.
1592 (j0_test): Likewise.
1593 (jn_test): Likewise.
1594 (nexttoward_test): Likewise.
1595 (pow_test): Likewise.
1596 (scalbn_test): Likewise.
1597 (scalbln_test): Likewise.
1598 (tan_test): Likewise.
1599 (y1_test): Likewise.
1600 * sysdeps/i386/fpu/libm-test-ulps: Update.
1601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1603 2012-05-23 David S. Miller <davem@davemloft.net>
1605 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1606 (__libc_sigaction): Remove unused local variables.
1608 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1610 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1612 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1614 mktime: avoid signed integer overflow
1615 * time/mktime.c (__mktime_internal): Do not mishandle the case
1616 where diff == INT_MIN.
1618 mktime: simplify computation of average
1619 * time/mktime.c (ranged_convert): Use new time_t_avg function
1620 instead of rolling our own (probably-slower) code.
1622 mktime: do not assume signed right shift propagates sign bit
1623 * time/mktime.c (isdst_differ): New static function.
1624 (__mktime_internal): No need to normalize tm_isdst now.
1625 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1628 mktime: merge another wrapv change from gnulib
1629 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1630 from some compilers.
1632 mktime: remove incorrect attempt at unusual arithmetics
1633 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1634 The code didn't really work on such machines anyway.
1635 (TYPE_MINIMUM): Assume two's complement.
1636 (twos_complement_arithmetic): Verify that long_int and time_t
1637 are two's complement (or unsigned, in the latter case).
1639 mktime: check signed shifts on long_int and time_t, too
1640 * time/mktime.c (SHR): Check that shifts work as desired
1641 on the types long_int and time_t too, as SHR is used on
1644 mktime: do not assume 'long' is wide enough
1645 * time/mktime.c (verify): Move decl up.
1646 (long_int): New type.
1647 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1648 to remove assumption in the code that 'long' is wide enough to
1649 store year values. This assumption is not true on x32 and on
1650 some non-glibc platforms.
1652 mktime: merge wrapv change from gnulib
1653 * time/mktime.c (WRAPV): New macro.
1654 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1655 (guess_time_tm, __mktime_internal): Do not assume that signed
1656 integer overflow wraps around; modern compilers generate code
1657 where this assumption is no longer valid.
1659 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1661 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1662 Replace "jmp L(pseudo_end)" with "ret".
1663 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1666 2012-05-23 Andreas Jaeger <aj@suse.de>
1668 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1669 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1671 2012-05-23 Andreas Jaeger <aj@suse.de>
1672 Maximilian Attems <max@stro.at>
1674 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1677 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1679 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1680 code so that pseudo_end is just ret and the stack pointer is
1681 correct also for static library in error case.
1683 2012-05-23 Joseph Myers <joseph@codesourcery.com>
1685 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1686 move to syscalls.list.
1687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1692 * manual/install.texi (Running make install): Do not mention Linux
1693 kernel version for which pt_chown is not needed.
1694 (Linux): Do not mention problems with nscd with 2.0 kernels.
1695 * INSTALL: Regenerated.
1697 2012-05-23 Andreas Jaeger <aj@suse.de>
1699 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1700 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1702 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1703 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1704 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1705 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1706 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1707 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1708 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1709 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1710 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1711 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1712 * sysdeps/unix/sysv/linux/bits/in.h
1713 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1715 2012-05-22 Roland McGrath <roland@hack.frob.com>
1717 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1718 (PREPARE_VERSION): Just use assert instead, it will be elided
1719 under [NDEBUG] anyway.
1721 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1723 * sysdeps/unix/sysv/linux/Makefile: Include
1724 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1725 (sysdep_routines): Remove sysctl.
1726 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1727 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1728 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1729 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1730 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1732 2012-05-22 Andreas Jaeger <aj@suse.de>
1734 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1735 that pseudo_end is just ret and the stack pointer is correct also
1736 for static library in error case.
1738 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1741 * nss/nsswitch.c (defconfig_entries): New variable.
1742 (__nss_database_lookup): Don't leak defconfig entries.
1743 (nss_parse_service_list): Don't leak on error paths.
1744 (free_database_entries): New function.
1745 (free_defconfig): New function.
1746 (free_mem): Move common code to free_database_entries.
1748 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1750 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1752 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1754 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1755 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1756 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1758 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1759 (INTERNAL_SYSCALL_TYPES): Likewise.
1760 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1761 (LOAD_REGS_TYPES_[1-6]): Likewise.
1762 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1763 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1765 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1767 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1768 copysignl for GLIBC_2_0.
1769 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1770 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1771 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1772 logbl for GLIBC_2_0.
1773 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1774 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1776 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1778 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1779 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1781 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1784 * time/mktime.c: Update copyright years.
1786 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1788 mktime: merge comment-quoting-style change from gnulib
1789 * time/mktime.c: Quote 'like this' in comments.
1790 The GNU coding standards suggest that we no longer quote `like this',
1791 as "`" and "'" are typically rendered asymmetrically nowadays.
1792 The typical gnulib style is to quote 'like this' when quoting
1793 code, and "like this" when quoting English.
1795 * time/mktime.c (compile-command): Add "-I.".
1797 mktime: merge mktime-internal.h change from gnulib
1798 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1800 mktime: merge time_r change from gnulib
1801 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1803 mktime: merge DEBUG change from gnulib
1804 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1805 case system <time.h> has a #define.
1807 mktime: merge <sys/types.h> change from gnulib
1808 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1809 since <time.t> is now guaranteed to define time_t.
1811 mktime: merge HAVE_CONFIG_H change from gnulib
1812 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1814 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1816 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1819 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1821 (struct rusage): Use anonymous union to pad each field to
1824 2012-05-21 David S. Miller <davem@davemloft.net>
1826 * Makefules (o-iterator): Remove .s cases.
1827 (compile-command.s): Delete.
1828 (COMPILE.s): Delete.
1829 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1831 2012-05-21 Joseph Myers <joseph@codesourcery.com>
1833 * configure.in (libc_cv_predef_stack_protector): Only consider
1834 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1835 * configure: Regenerated.
1837 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1839 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1840 New macro. Use R*LP on int and pointer.
1841 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1842 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1843 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1844 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1846 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1847 [__WORDSIZE_TIME64_COMPAT32] instead of
1848 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1849 (struct utmp): Likewise.
1850 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1851 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1853 (__WORDSIZE_TIME64_COMPAT32): This.
1854 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1855 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1856 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1857 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1858 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1859 (__WORDSIZE_TIME64_COMPAT32): New macro.
1861 2012-05-21 Andreas Jaeger <aj@suse.de>
1863 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1864 only if [SHARED]. Add prototype for __wcschr_ia32.
1866 2012-05-21 Roland McGrath <roland@hack.frob.com>
1868 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1869 of %rbp unmolested in the jmp_buf while mangling the low bits.
1870 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1871 unmolested high bits of %rbp while demangling the low bits.
1872 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1874 2012-05-21 Andreas Jaeger <aj@suse.de>
1876 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1877 * sunrpc/svc_simple.c: Use it for registerrpc.
1878 * sunrpc/xcrypt.c: Use it for passwd2des.
1880 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1882 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1884 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1885 Don't define if [__SYSCALL_WORDSIZE != 32].
1886 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1889 2012-05-21 Bruno Haible <bruno@clisp.org>
1890 Andreas Jaeger <aj@suse.de>
1892 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1893 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1894 inptr and inend for must_buffer_ch.
1895 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1896 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1897 * stdio-common/Makefile (tests): Remove bug15.
1898 (bug15-ENV): Remove macro.
1899 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1902 2012-05-19 Andreas Jaeger <aj@suse.de>
1903 Roland McGrath <roland@hack.frob.com>
1905 * manual/contrib.texi: Completely rewritten. It contains now an
1906 alphabetical list of contributors and their contributions.
1908 2012-05-21 Richard Henderson <rth@twiddle.net>
1910 * misc/getauxval.c (__getauxval): Use unsigned long int.
1911 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1912 (getauxval): Use unsigned long int.
1914 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1916 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1918 2012-05-21 Roland McGrath <roland@hack.frob.com>
1920 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1921 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1922 __alignof__ (long double).
1924 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1928 2012-05-20 Richard Henderson <rth@twiddle.net>
1930 * misc/getauxval.c: New file.
1931 * misc/sys/auxv.h: New file.
1932 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1933 (routines): Add getauxval.
1934 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1935 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1936 * elf/dl-sysdep.c (_dl_auxv): Remove.
1937 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1938 * elf/dl-support.c (_dl_auxv): New variable.
1939 (_dl_aux_init): Initialize it.
1940 * manual/startup.texi (Auxiliary Vector): New node.
1941 * sysdeps/generic/bits/hwcap.h: New file.
1942 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1943 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1944 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1945 * sysdeps/sparc/sysdep.h: ... here. Include it.
1946 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1947 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1953 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1959 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1963 2012-05-19 David S. Miller <davem@davemloft.net>
1965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1967 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1970 * math/s_ccosh.c: Include <float.h>
1971 (__ccosh): Avoid internal overflow calculating sinh and cosh
1972 values before multiplying by sin and cos values.
1973 * math/s_ccoshf.c: Likewise.
1974 * math/s_ccoshl.c: Likewise.
1975 * math/s_csin.c: Likewise.
1976 * math/s_csinf.c: Likewise.
1977 * math/s_csinl.c: Likewise.
1978 * math/s_csinh.c: Likewise.
1979 * math/s_csinhf.c: Likewise.
1980 * math/s_csinhl.c: Likewise.
1981 * math/libm-test.inc (ccos_test): Add more tests.
1982 (ccosh_test): Likewise.
1983 (csin_test): Likewise.
1984 (csinh_test): Likewise.
1985 * sysdeps/i386/fpu/libm-test-ulps: Update.
1986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1988 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1990 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1991 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1993 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1995 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1997 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1998 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1999 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2000 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2001 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2002 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2003 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2004 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2005 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2006 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2007 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2008 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2009 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2010 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2011 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2012 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2013 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2014 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2015 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2016 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2017 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2018 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2019 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2020 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2021 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2022 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2023 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2024 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2025 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2026 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2027 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2029 2012-05-18 Andreas Jaeger <aj@suse.de>
2031 * csu/.gitignore: Delete.
2033 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2035 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2036 (timex): Use __syscall_slong_t.
2038 2012-05-18 Andreas Jaeger <aj@suse.de>
2039 Carlos O'Donell <carlos_odonell@mentor.com>
2041 * manual/install.texi (Configuring and compiling): Update
2042 description about files modified in the source directory.
2043 * INSTALL: Regenerated.
2045 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2047 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2048 value. Use "or" to set return value to -1.
2049 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2050 negate return value.
2052 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2054 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2055 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2056 failure if the compiler has Graphite support disabled.
2057 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2059 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2060 CFLAGS-memmove.c): Likewise.
2061 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2064 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2066 * sysdeps/x86_64/x32/_itoa.h: New file.
2068 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2069 getdents system call only if kernel and user dirents have the
2070 same d_ino and d_off.
2072 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2073 LLONG_MAX != LONG_MAX.
2074 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2075 (_fitoa_word): Likewise.
2077 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2079 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2080 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2081 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2083 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2084 include <bits/wordsize.h>. Check __x86_64__ instead of
2086 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2087 if __x86_64__ is defined. Use anonymous union on fpstate.
2089 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2092 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2094 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2095 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2096 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2097 Refer to _rtld_local_ro instead of _rtld_global_ro.
2098 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2100 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2102 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2104 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2105 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2106 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2108 * sysdeps/powerpc/powerpc32/dl-machine.c
2109 (__elf_machine_runtime_setup) [PROF]: Don't reference
2112 2012-05-18 Andreas Jaeger <aj@suse.de>
2114 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2115 function only available for GCCs before 3.4 since GCC 3.4
2116 introduced a builtin.
2118 (llrintf): Likewise.
2126 (nearbyint): Likewise.
2127 (nearbyintf): Likewise.
2133 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2135 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2136 on both fields and cast pointer to __syscall_ulong_t.
2138 * bits/types.h (__fsword_t): New type.
2139 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2140 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2141 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2142 (__FSWORD_T_TYPE): Likewise.
2143 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2144 (__FSWORD_T_TYPE): Likewise.
2145 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2146 (__FSWORD_T_TYPE): Likewise.
2147 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2148 (__FSWORD_T_TYPE): Likewise.
2149 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2150 __SWORD_TYPE with __fsword_t.
2151 (statfs64): Likewise.
2153 2012-05-17 David S. Miller <davem@davemloft.net>
2155 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2157 2012-05-17 Andreas Jaeger <aj@suse.de>
2159 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2162 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2164 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2166 2012-05-17 Andreas Jaeger <aj@suse.de>
2168 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2171 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2173 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2175 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2177 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2178 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2180 2012-05-17 Andreas Jaeger <aj@suse.de>
2181 Carlos O'Donell <carlos_odonell@mentor.com>
2184 * sysdeps/x86_64/multiarch/init-arch.h
2185 (bit_YMM_Usable): Rename to...
2186 (bit_AVX_Usable): ... this.
2187 (bit_FMA4_Usable): New macro.
2188 (bit_XMM_state): New macro.
2189 (bit_YMM_state): New macro.
2190 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2191 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2192 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2193 (CPUID_OSXSAVE): New macro.
2194 (CPUID_AVX): New macro.
2195 (CPUID_FMA4): New macro.
2196 (index_YMM_Usable): Rename to...
2197 (index_AVX_Usable): ... this.
2198 (HAS_AVX): Use HAS_ARCH_FEATURE.
2199 (HAS_FMA4): Likewise.
2200 (HAS_YMM_USABLE): Remove.
2201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2202 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2204 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2205 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2206 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2207 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2208 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2210 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2212 * math/libm-test.c: Support platforms without multiple rounding modes.
2213 * math/bug-nextafter.c: Support platforms without FP exceptions.
2214 * math/bug-nexttoward.c: Likewise.
2215 * math/test-fenv.c: Likewise.
2216 * math/test-misc.c: Likewise.
2217 * stdlib/bug-getcontext.c: Likewise.
2219 2012-05-17 Andreas Jaeger <aj@suse.de>
2221 * manual/examples/search.c (critter_cmp): Change signature to
2223 * manual/string.texi (Collation Functions): Likewise.
2225 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2227 * bits/types.h: Fold copyright years.
2228 * bits/typesizes.h: Likewise.
2229 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2230 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2231 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2232 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2233 * time/time.h: Likewise.
2235 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2238 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2239 in instead of returning them. Return void.
2240 (__libc_mallinfo): Accumulate over all arenas.
2241 (__malloc_stats): Adjust for change in int_mallinfo interface.
2243 2012-05-16 Roland McGrath <roland@hack.frob.com>
2246 * configure.in (NM): Add AC_CHECK_TOOL for it.
2247 (libc_extra_cflags): New substituted variable.
2248 Check for -fstack-protector being used implicitly.
2249 * configure: Regenerated.
2250 * config.make.in (config-extra-cflags): New variable,
2251 gets @libc_extra_cflags@.
2252 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2255 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2256 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2257 * configure: Regenerated.
2258 * config.make.in (CPPUNDEFS): New substituted variable.
2259 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2260 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2261 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2263 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2265 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2266 (mq_attr): Use __syscall_slong_t.
2268 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2270 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2271 Check __x86_64__ instead of __WORDSIZE.
2272 (_STAT_VER_LINUX): Likewise.
2273 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2274 __syscall_ulong_t and __syscall_slong_t.
2277 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2279 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2281 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2283 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2285 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2287 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2290 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2291 include <bits/wordsize.h>. Check __x86_64__ instead of
2293 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2295 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2297 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2298 include <bits/wordsize.h>. Check __x86_64__ instead of
2300 (user_regs_struct): Use "__extension__ unsigned long long"
2301 instead of "unsigned long" if __x86_64__ is defined.
2302 (user): Likewise. Pad after pointer field if __ILP32__ is
2305 2012-05-16 Joseph Myers <joseph@codesourcery.com>
2307 * configure.in (makeinfo): Require version 4.5 or later. Allow
2309 * configure: Regenerated.
2310 * manual/install.texi (texinfo): Increase version requirement to
2312 * INSTALL: Regenerated.
2314 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2316 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2318 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2320 * sysdeps/x86_64/x32/ffs.c: New file.
2322 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2324 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2325 defined. Use __syscall_ulong_t.
2326 (shminfo): Use __syscall_ulong_t.
2327 (shm_info): Likewise.
2329 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2332 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2334 (msgqnum_t): Use __syscall_ulong_t.
2335 (msglen_t): Likewise.
2336 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2339 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2340 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2342 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2344 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2345 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2347 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2350 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2351 include <bits/wordsize.h>. Check __x86_64__ instead of
2354 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2355 "unsigned long long int" if __x86_64__ is defined.
2356 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2358 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2359 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2360 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2362 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2364 (GET_PC): Cast to uintptr_t first.
2365 (GET_FRAME): Likewise.
2366 (GET_STACK): Likewise.
2368 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2369 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2370 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2371 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2372 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2373 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2374 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2375 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2376 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2377 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2378 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2379 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2380 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2381 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2382 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2383 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2384 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2385 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2386 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2387 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2388 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2389 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2390 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2391 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2392 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2393 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2394 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2395 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2396 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2398 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2400 * Makerules (+depfiles): Also collect depfiles from .oS in
2402 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2403 .oS, $(libnldbl-routines)).
2405 * Makerules (native-compile-mkdep-flags): Define.
2406 * sunrpc/Makefile (extra-objs): Add $(addprefix
2407 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2408 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2409 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2410 calling $(make-target-directory).
2412 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2414 * bits/types.h (__snseconds_t): Removed.
2415 * time/time.h (struct timespec): Replace __snseconds_t with
2417 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2418 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2420 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2421 (__SNSECONDS_T_TYPE): Likewise.
2422 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2423 (__SNSECONDS_T_TYPE): Likewise.
2424 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2425 (__SNSECONDS_T_TYPE): Likewise.
2427 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2429 * sysdeps/mach/hurd/bits/typesizes.h
2430 (__SYSCALL_SLONG_TYPE): New macro.
2431 (__SYSCALL_ULONG_TYPE): Likewise.
2433 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2435 * bits/types.h (__syscall_slong_t): New type.
2436 (__syscall_ulong_t): Likewise.
2438 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2439 (__SYSCALL_ULONG_TYPE): Likewise.
2440 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2441 (__SYSCALL_SLONG_TYPE): Likewise.
2442 (__SYSCALL_ULONG_TYPE): Likewise.
2443 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2444 (__SYSCALL_SLONG_TYPE): Likewise.
2445 (__SYSCALL_ULONG_TYPE): Likewise.
2446 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2447 (__SYSCALL_SLONG_TYPE): Likewise.
2448 (__SYSCALL_ULONG_TYPE): Likewise.
2450 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2452 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2453 Add sigaltstack-offsets.sym.
2454 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2455 <sigaltstack-offsets.h>.
2456 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2457 longjmp_msg pointer.
2458 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2459 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2461 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2463 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2465 * elf/stackguard-macros.h: Remove file.
2466 * sysdeps/generic/stackguard-macros.h: New file.
2467 * sysdeps/i386/stackguard-macros.h: Likewise.
2468 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2469 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2470 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2471 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2472 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2473 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2474 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2475 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2476 <elf/stackguard-macros.h>.
2479 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2480 __aligned__ in attribute.
2481 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2482 (gregset_t): Likewise.
2484 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2486 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2487 * sysdeps/x86_64/64/Implies-after: Here. New file.
2488 * sysdeps/x86_64/x32/Implies-after: New file.
2490 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2492 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2493 and access return value for _dl_profile_fixup. Use R10_LP to
2496 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2498 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2500 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2502 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2503 * sysdeps/x86_64/x32/sysdep.h: New file.
2505 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2507 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2508 * sysdeps/x86_64/setjmp.S: Likewise.
2510 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2512 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2513 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2514 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2515 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2516 remove unused global constant.
2518 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2520 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2521 include of <not-cancel.h>.
2523 2012-05-15 Roland McGrath <roland@hack.frob.com>
2525 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2527 2012-05-15 Jeff Law <law@redhat.com>
2528 Andreas Jaeger <aj@suse.de>
2531 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2533 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2534 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2535 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2536 code changing __hst_map_handle.map.
2538 2012-05-15 Roland McGrath <roland@hack.frob.com>
2540 * configure.in (sysnames): Look for Implies-before and Implies-after
2542 * configure: Regenerated.
2544 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2546 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2547 8-byte data alignment with LP_SIZE alignment.
2549 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2551 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2554 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2556 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2558 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2560 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2561 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2562 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2564 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2566 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2568 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2569 (stackinfo_sub_sp): Likewise.
2571 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2573 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2576 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2578 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2581 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2583 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2586 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2588 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2590 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2592 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2593 into R11_LP and load __x86_64_shared_cache_size_half into
2596 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2598 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2601 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2603 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2605 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2607 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2609 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2610 powerpc32/power7/fpu/s_logb.c via #include.
2611 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2612 powerpc32/power7/fpu/s_logbf.c via #include.
2613 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2614 powerpc32/power7/fpu/s_logbl.c via #include.
2616 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2618 * README.libm: Remove file.
2620 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2622 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2623 count for x32. Use R*_LP and omit operand-size suffix.
2625 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2627 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2628 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2629 * sysdeps/x86_64/x32/shlib-versions: New file.
2631 2012-05-14 Roland McGrath <roland@hack.frob.com>
2633 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2634 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2635 Use _dl_fatal_printf instead.
2637 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2639 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2640 set if not set by the user. Do not allow for being unset.
2641 * sysdeps/unix/sysv/linux/configure: Regenerated.
2643 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2645 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2646 the `q' suffix from lea and replace .quad with ASM_ADDR.
2648 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2650 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2651 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2653 (PTR_DEMANGLE): Likewise.
2655 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2657 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2659 (ASM_ADDR): Likewise.
2677 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2679 * sysdeps/x86_64/x32/dl-machine.h: New file.
2681 2012-05-14 Andreas Jaeger <aj@suse.de>
2683 * manual/Makefile (subdir): Remove export of subdir.
2684 (all): Remove target.
2685 (.PHONY): Remove all from list.
2686 (mkinstalldirs): Remove.
2687 (.PHONY): Remove installdirs from list.
2688 ($(inst_infodir)/libc.info): Use make-target-directory.
2689 (installdirs): Remove.
2691 (glibc-targets): Remove.
2694 ($(objpfx)stubs ../po/manual.pot): Remove.
2695 ($(objpfx)stamp%): Remove.
2696 (make-target-directory): Remove.
2697 (subdir_install): Remove.
2705 * manual/.gitignore: Remove, it's not needed anymore.
2706 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2708 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2710 (texis): Renamed to $(objpfx)texis.
2711 (texis-path): New, contains path to generated files.
2712 (chapters.%): Use texis-path for complete path, add extra argument
2714 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2715 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2716 (summary,texi, stamp-summary): Use complete path of
2717 files. Generate files in build dir.
2718 (dir-add.texi): Build in build dir.
2719 (libm-err.texi,stamp-libm-err): Likewise.
2720 (version.texi, stamp-version): Likewise.
2721 (.%c.texi): Likewise.
2722 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2723 (mostlyclean): Remove target.
2724 (realclean): Remove target.
2725 (generated): Add new variable with contents from mostlyclean and
2726 realclean, remove entries duplicated in common-mostlyclean, add
2727 stamp-libm-err and stamp-version.
2728 (generated-dirs): Add libc directory.
2729 ($(inst_infodir)/libc.info): Install files from build dir.
2731 * manual/install.texi (Configuring and compiling): Adjust since
2732 the info files are not part of the tar ball anymore.
2734 2012-05-14 Andreas Jaeger <aj@suse.de>
2736 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2739 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2742 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2743 to 2.2.0 where earlier.
2744 * sysdeps/unix/sysv/linux/configure: Regenerated.
2745 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2746 Remove conditional code.
2747 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2748 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2749 Remove conditional code.
2750 [!__NR_lchown]: Likewise.
2751 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2752 [__NR_lchown]: Likewise.
2753 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2754 comment referencing __ASSUME_LCHOWN_SYSCALL.
2755 * sysdeps/unix/sysv/linux/i386/sigaction.c
2756 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2757 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2758 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2759 Remove conditional code.
2760 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2761 (__protocol_available): Remove #if 0 code.
2762 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2764 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2765 * sysdeps/unix/sysv/linux/kernel-features.h
2766 (__ASSUME_GETCWD_SYSCALL): Don't define.
2767 (__ASSUME_REALTIME_SIGNALS): Likewise.
2768 (__ASSUME_PREAD_SYSCALL): Likewise.
2769 (__ASSUME_PWRITE_SYSCALL): Likewise.
2770 (__ASSUME_POLL_SYSCALL): Likewise.
2771 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2772 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2774 (__ASSUME_SIOCGIFNAME): Don't define.
2775 (__ASSUME_MSG_NOSIGNAL): Likewise.
2776 (__ASSUME_SENDFILE): Define unconditionally.
2777 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2778 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2780 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2781 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2782 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2783 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2784 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2785 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2786 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2788 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2789 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2791 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2792 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2794 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2795 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2797 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2798 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2800 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2801 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2803 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2804 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2806 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2807 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2809 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2810 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2811 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2812 Remove conditional code.
2813 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2814 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2815 Remove conditional code.
2816 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2817 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2818 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2819 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2820 Remove conditional code.
2821 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2822 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2823 Remove conditional code.
2824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2825 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2826 Remove conditional code.
2827 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2828 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2829 Remove conditional code.
2830 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2831 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2832 Remove conditional code.
2833 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2834 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2835 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2836 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2837 * sysdeps/unix/sysv/linux/sigaction.c
2838 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2839 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2840 * sysdeps/unix/sysv/linux/sigpending.c
2841 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2842 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2843 * sysdeps/unix/sysv/linux/sigprocmask.c
2844 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2845 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2846 * sysdeps/unix/sysv/linux/sigsuspend.c
2847 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2848 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2849 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2850 (__libc_missing_rt_sigs): Remove.
2851 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2852 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2853 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2854 Remove conditional code.
2855 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2856 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2858 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2859 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2860 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2861 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2863 2012-05-14 Andreas Jaeger <aj@suse.de>
2865 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2866 it's not used in glibc.
2867 (__coshm1): Likewise.
2868 (__acosh1p): Likewise.
2871 * manual/string.texi (Copying and Concatenation): Add missing
2872 variable in concat example.
2873 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2875 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2878 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2879 __builtin_clzl with __builtin_clzll.
2881 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2884 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2887 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2889 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2890 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2891 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2892 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2894 2012-05-14 Mike Frysinger <vapier@gentoo.org>
2896 * NEWS: Update ia64 info.
2898 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2900 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2903 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2905 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2906 * sysdeps/unix/syscalls.list (dup3): Likewise.
2907 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2908 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2910 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2912 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2913 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2915 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2917 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2919 (TLS_IE): Use mov/add instead of movq/addq to load thread
2921 (TLS_GD_PREFIX): New.
2924 2012-05-11 David S. Miller <davem@davemloft.net>
2926 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2927 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2928 (_FPU_SETCW): Likewise.
2930 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2932 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2935 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2938 * iconvdata/gb18030.c: Update tables.
2939 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2940 characters specially.
2941 (BODY for TO_LOOP): Add encoding of missing ranges.
2943 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2946 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2947 * sysdeps/mach/hurd/dup3.c: Likewise.
2948 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2949 * sysdeps/powerpc/memmove.c:: Likewise.
2951 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2953 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2954 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2956 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2958 * elf/elf.h (R_X86_64_RELATIVE64): New.
2959 (R_X86_64_NUM): Updated.
2960 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2961 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2962 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2963 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2964 tst-quad1pie tst-quad2pie
2965 (modules-names): Add tst-quadmod1 tst-quadmod2.
2966 ($(objpfx)tst-quad1): New dependency.
2967 ($(objpfx)tst-quad2): Likewise.
2968 ($(objpfx)tst-quad1pie): Likewise.
2969 ($(objpfx)tst-quad2pie): Likewise.
2970 * sysdeps/x86_64/tst-quad1.c: New file.
2971 * sysdeps/x86_64/tst-quad1pie.c: New file.
2972 * sysdeps/x86_64/tst-quad2.c: Likewise.
2973 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2974 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2975 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2976 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2977 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2979 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2981 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2982 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2983 * streams/stropts.h (t_scalar_t): Define type.
2985 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2986 (_PATH_PRESERVE): Set to "/var/lib".
2987 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2989 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2992 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2993 if __dir_mkfile succeeded.
2995 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2996 checking for _hurd_dtablesize. Unlock it right after having
2997 finished _hurd_dtable allocation.
2999 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3001 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3002 * sysdeps/mach/hurd/configure: Regenerated.
3003 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3004 special-casing to...
3005 * sysdeps/gnu/configure.in: ... this new file.
3006 * sysdeps/unix/sysv/linux/configure: Regenerated.
3007 * sysdeps/gnu/configure: New generated file.
3009 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3010 for Linux: use nsec instead of usec, as well as:
3011 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3012 members of type struct timespec.
3013 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3015 (struct stat64): Likewise.
3016 (_STATBUF_ST_NSEC): New macro.
3017 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3019 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3020 __strtoul_internal rather than strtoul.
3022 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3024 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3027 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3029 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3030 which preserves existing values.
3031 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3033 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3035 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3036 TIMEOUT values. Return EINVAL for NFDS values either negative or
3037 greater than FD_SETSIZE.
3039 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3041 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3042 allocated, call __vm_protect to finish enabling the existing space, and
3043 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3044 allocate the remainder.
3046 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3048 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3049 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3051 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3053 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3054 sysdeps/mach/hurd/readlink.c.
3056 * posix/tst-sysconf.c (posix_options): Only use
3057 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3058 _POSIX_SYNCHRONIZED_IO when they are defined
3059 * sysdeps/mach/hurd/bits/posix_opt.h:
3060 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3061 (_XOPEN_REALTIME): Undefine macro.
3062 (_XOPEN_REALTIME_THREADS): Undefine macro.
3063 (_XOPEN_SHM): Undefine macro.
3064 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3066 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3068 (_POSIX_ASYNC_IO): Undefine macro.
3069 (_POSIX_PRIORITIZED_IO): Undefine macro.
3070 (_POSIX_SPIN_LOCKS): Define macro to -1.
3072 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3073 SA_NODEFER, SA_RESETHAND.
3074 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3075 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3078 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3080 * elf/Makefile (pldd-modules): Define unconditionally.
3082 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3084 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3086 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3088 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3089 Return ENOENT when name is empty.
3090 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3092 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3094 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3096 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3098 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3100 Fix mlock in all cases except non-readable pages.
3101 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3102 instead of VM_PROT_ALL as parameter to __vm_wire function.
3104 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3105 (__mkdir): When path is `/', just fail with EEXIST.
3106 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3108 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3110 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3111 <sys/uio.h> (for writev).
3112 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3113 and <sys/param.h> (for MIN).
3115 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3117 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3118 REQUESTED_TIME. Properly set the remaining time and return EINTR
3121 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3123 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3124 Depend on against $(link-rpcuserlibs).
3126 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3128 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3129 (__libc_stack_end): Do not use attribute_relro.
3130 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3131 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
3132 to libthread-provided value.
3133 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3136 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3139 * bits/libc-lock.h (__libc_once_get): New macro.
3140 * sysdeps/mach/bits/libc-lock.h: Likewise.
3141 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3142 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3143 instead of using implementation details.
3145 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3146 * libio/freopen.c: Likewise.
3147 * libio/freopen64.c: Likewise.
3148 * misc/syslog.c: Likewise.
3149 * nscd/connections.c: Likewise.
3150 * nscd/netgroupcache.c: Likewise.
3151 * sysdeps/posix/getcwd.c: Likewise.
3153 2012-05-10 Roland McGrath <roland@hack.frob.com>
3155 * math/w_ilogbf.c: Add #include <limits.h>.
3157 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3159 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
3160 path instead of returning without unlocking.
3162 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3163 immediate-write ioctls.
3164 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3166 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3168 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3169 __builtin_frame_address instead of making assumptions about the
3170 location of the return address relative to DATA. Force early load of
3172 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3173 __builtin_frame_address.
3176 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3177 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3178 implement dup3 and do some further code clean-ups.
3179 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3180 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3182 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3184 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3186 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3187 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3188 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3189 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3190 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3193 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3194 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3195 when handler == SIG_ERR, not when handler != SIG_ERR.
3197 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3199 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3200 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3203 accept4 for GNU Hurd.
3204 * include/sys/socket.h (__libc_accept4): New prototype.
3205 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3206 to implement __libc_accept4.
3207 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3209 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3211 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3212 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3213 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3216 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3218 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
3220 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3222 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3223 assertion on O_CLOEXEC flag.
3224 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3225 * hurd/intern-fd.c: Likewise.
3226 * hurd/port2fd.c: Likewise.
3228 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3231 * bits/in.h (IPV6_PKTINFO): Define new macro.
3232 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3234 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3239 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3240 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3241 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3242 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3243 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3244 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3245 * math/libm-test.inc (logb_test) : Additional logb tests.
3247 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3248 Andreas Jaeger <aj@suse.de>
3250 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3251 * configure: Regenerated.
3252 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3253 * config.make.in (link-obsolete-rpc): New substituted variable.
3254 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3255 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3256 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3257 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3258 so that libc.a contains the symbols.
3259 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3260 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3261 * sunrpc/auth_none.c: Likewise.
3262 * sunrpc/auth_unix.c: Likewise.
3263 * sunrpc/authdes_prot.c: Likewise.
3264 * sunrpc/authuxprot.c: Likewise.
3265 * sunrpc/clnt_gen.c: Likewise.
3266 * sunrpc/clnt_perr.c: Likewise.
3267 * sunrpc/clnt_raw.c: Likewise.
3268 * sunrpc/clnt_simp.c: Likewise.
3269 * sunrpc/clnt_tcp.c: Likewise.
3270 * sunrpc/clnt_udp.c: Likewise.
3271 * sunrpc/clnt_unix.c: Likewise.
3272 * sunrpc/des_crypt.c: Likewise.
3273 * sunrpc/des_soft.c: Likewise.
3274 * sunrpc/get_myaddr.c: Likewise.
3275 * sunrpc/key_call.c: Likewise.
3276 * sunrpc/key_prot.c: Likewise.
3277 * sunrpc/netname.c: Likewise.
3278 * sunrpc/pm_getmaps.c: Likewise.
3279 * sunrpc/pm_getport.c: Likewise.
3280 * sunrpc/pmap_clnt.c: Likewise.
3281 * sunrpc/pmap_prot.c: Likewise.
3282 * sunrpc/pmap_prot2.c: Likewise.
3283 * sunrpc/pmap_rmt.c: Likewise.
3284 * sunrpc/publickey.c: Likewise.
3285 * sunrpc/rpc_cmsg.c: Likewise.
3286 * sunrpc/rpc_common.c: Likewise.
3287 * sunrpc/rpc_dtable.c: Likewise.
3288 * sunrpc/rpc_prot.c: Likewise.
3289 * sunrpc/rpc_thread.c: Likewise.
3290 * sunrpc/rtime.c: Likewise.
3291 * sunrpc/svc.c: Likewise.
3292 * sunrpc/svc_auth.c: Likewise.
3293 * sunrpc/svc_raw.c: Likewise.
3294 * sunrpc/svc_run.c: Likewise.
3295 * sunrpc/svc_tcp.c: Likewise.
3296 * sunrpc/svc_udp.c: Likewise.
3297 * sunrpc/svc_unix.c: Likewise.
3298 * sunrpc/svcauth_des.c: Likewise.
3299 * sunrpc/xcrypt.c: Likewise.
3300 * sunrpc/xdr.c: Likewise.
3301 * sunrpc/xdr_array.c: Likewise.
3302 * sunrpc/xdr_float.c: Likewise.
3303 * sunrpc/xdr_intXX_t.c: Likewise.
3304 * sunrpc/xdr_mem.c: Likewise.
3305 * sunrpc/xdr_rec.c: Likewise.
3306 * sunrpc/xdr_ref.c: Likewise.
3307 * sunrpc/xdr_sizeof.c: Likewise.
3308 * sunrpc/xdr_stdio.c: Likewise.
3310 2012-05-10 Roland McGrath <roland@hack.frob.com>
3312 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3313 change. Update copyright years.
3315 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3317 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3319 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3320 Joseph Myers <joseph@codesourcery.com>
3321 Paul Pluzhnikov <ppluzhnikov@google.com>
3324 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3326 [cross-compiling] (extra-libs): Likewise.
3327 [cross-compiling] (extra-libs-others): Likewise.
3328 [cross-compiling] (librpcsvc-routines): Likewise.
3329 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3330 [cross-compiling] (omit-deps): Likewise.
3331 (sunrpc-CPPFLAGS): New variable.
3332 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3333 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3334 (cross-rpcgen-objs): New variable.
3335 (extra-objs): Append $(cross-rpcgen-objs).
3336 ($(cross-rpcgen-objs)): New rule.
3337 ($(objpfx)cross-rpcgen): Likewise.
3338 (rpcgen-cmd): Define to use $(built-program-file). Expand
3340 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3341 ($(objpfx)x%.stmp): Likewise.
3342 * sunrpc/proto.h [IS_IN_build] (_): Define.
3343 [IS_IN_build] (_libc_intl_domainname): Likewise.
3345 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3347 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3348 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3349 and R_X86_64_TPOFF64.
3351 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3353 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3354 sysdeps/unix/sysv/syscalls.list.
3357 * sysdeps/unix/sysv/syscalls.list: Remove file.
3359 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3362 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3363 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3364 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3365 (__LC_IDENTIFICATION): Make these macros useful in #if
3366 expressions, as required by C99.
3368 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3370 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3371 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3374 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3376 * stdlib/longlong.h: Updated from GCC.
3378 2012-05-09 Andreas Jaeger <aj@suse.de>
3380 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3381 default is first entry.
3382 (run_mode): Set type.
3383 (main): Remove informal message about syslog.
3384 (options): Fix typo.
3387 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
3390 (llrintf): Likewise.
3394 (nearbyint): Likewise.
3395 (nearbyintf): Likewise.
3397 2012-05-09 Andreas Jaeger <aj@suse.de>
3398 Pedro Alves <palves@redhat.com>
3400 * nscd/nscd.c (run_mode): Use enum.
3401 (main): Cleanup coding style issue.
3403 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
3404 Andreas Jaeger <aj@suse.de>
3406 * nscd/nscd.c (go_background): Replaced with...
3407 (run_mode): ... this.
3408 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
3409 (options): Add -F --foreground.
3410 (main): Implement it.
3411 (parse_opt): Parse it.
3413 2012-05-09 Andreas Jaeger <aj@suse.de>
3416 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3417 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3418 -Wconversion warning.
3419 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3422 2012-05-09 Joseph Myers <joseph@codesourcery.com>
3424 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3426 (LC_ALL): Use macro-int-constant.
3427 (LC_COLLATE): Likewise.
3428 (LC_CTYPE): Likewise.
3429 (LC_MESSAGES): Likewise.
3430 (LC_MONETARY): Likewise.
3431 (LC_NUMERIC): Likewise.
3432 (LC_TIME): Likewise.
3433 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3434 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3435 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3436 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3438 [C99-based standards] (float_t): Expect type.
3439 [C99-based standards] (double_t): Expect type.
3440 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3442 [C99-based standards] (HUGE_VALL): Likewise.
3443 [C99-based standards] (INFINITY): Likewise.
3444 [C99-based standards] (NAN): Likewise.
3445 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3446 [C99-based standards] (FP_NAN): Likewise.
3447 [C99-based standards] (FP_NORMAL): Likewise.
3448 [C99-based standards] (FP_SUBNORMAL): Likewise.
3449 [C99-based standards] (FP_ZERO): Likewise.
3450 [C99-based standards] (FP_FAST_FMA): Use
3451 optional-macro-int-constant. Specify type. Require == 1.
3452 [C99-based standards] (FP_FAST_FMAF): Likewise.
3453 [C99-based standards] (FP_FAST_FMAL): Likewise.
3454 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3455 [C99-based standards] (FP_ILOGBNAN): Likewise.
3456 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3458 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3459 [C99-based standards] (math_errhandling): Specify type.
3460 [ISO99 || ISO11] (signgam): Do not allow.
3461 [non-C99-based standards] (copysignf): Do not allow.
3462 [non-C99-based standards] (exp2f): Likewise.
3463 [non-C99-based standards] (log2f): Likewise.
3464 [non-C99-based standards] (modff): Allow.
3465 [non-C99-based standards] (erff): Do not allow.
3466 [non-C99-based standards] (erfcf): Likewise.
3467 [non-C99-based standards] (gammaf): Likewise.
3468 [non-C99-based standards] (hypotf): Likewise.
3469 [non-C99-based standards] (j0f): Likewise.
3470 [non-C99-based standards] (j1f): Likewise.
3471 [non-C99-based standards] (jnf): Likewise.
3472 [non-C99-based standards] (lgammaf): Likewise.
3473 [non-C99-based standards] (tgammaf): Likewise.
3474 [non-C99-based standards] (y0f): Likewise.
3475 [non-C99-based standards] (y1f): Likewise.
3476 [non-C99-based standards] (ynf): Likewise.
3477 [non-C99-based standards] (isnanf): Likewise.
3478 [non-C99-based standards] (acoshf): Likewise.
3479 [non-C99-based standards] (asinhf): Likewise.
3480 [non-C99-based standards] (atanhf): Likewise.
3481 [non-C99-based standards] (cbrtf): Likewise.
3482 [non-C99-based standards] (expm1f): Likewise.
3483 [non-C99-based standards] (ilogbf): Likewise.
3484 [non-C99-based standards] (log1pf): Likewise.
3485 [non-C99-based standards] (logbf): Likewise.
3486 [non-C99-based standards] (nextafterf): Likewise.
3487 [non-C99-based standards] (remainderf): Likewise.
3488 [non-C99-based standards] (rintf): Likewise.
3489 [non-C99-based standards] (scalbf): Likewise.
3490 [non-C99-based standards] (copysignl): Likewise.
3491 [non-C99-based standards] (exp2l): Likewise.
3492 [non-C99-based standards] (log2l): Likewise.
3493 [non-C99-based standards] (modfl): Allow.
3494 [non-C99-based standards] (erfl): Do not allow.
3495 [non-C99-based standards] (erfcl): Likewise.
3496 [non-C99-based standards] (gammal): Likewise.
3497 [non-C99-based standards] (hypotl): Likewise.
3498 [non-C99-based standards] (j0l): Likewise.
3499 [non-C99-based standards] (j1l): Likewise.
3500 [non-C99-based standards] (jnl): Likewise.
3501 [non-C99-based standards] (lgammal): Likewise.
3502 [non-C99-based standards] (tgammal): Likewise.
3503 [non-C99-based standards] (y0l): Likewise.
3504 [non-C99-based standards] (y1l): Likewise.
3505 [non-C99-based standards] (ynl): Likewise.
3506 [non-C99-based standards] (isnanl): Likewise.
3507 [non-C99-based standards] (acoshl): Likewise.
3508 [non-C99-based standards] (asinhl): Likewise.
3509 [non-C99-based standards] (atanhl): Likewise.
3510 [non-C99-based standards] (cbrtl): Likewise.
3511 [non-C99-based standards] (expm1l): Likewise.
3512 [non-C99-based standards] (ilogbl): Likewise.
3513 [non-C99-based standards] (log1pl): Likewise.
3514 [non-C99-based standards] (logbl): Likewise.
3515 [non-C99-based standards] (nextafterl): Likewise.
3516 [non-C99-based standards] (remainderl): Likewise.
3517 [non-C99-based standards] (rintl): Likewise.
3518 [non-C99-based standards] (scalbl): Likewise.
3519 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3520 [non-C99-based standards] (FP_*): Do not allow.
3521 [C99-based standards] (FP_*): Change to
3522 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3523 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3525 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3526 (SIG_ERR): Likewise.
3527 [X/Open-based standards] (SIG_HOLD): Likewise.
3528 (SIG_IGN): Likewise.
3529 (SIGABRT): Use macro-int-constant. Specify type. Require
3534 (SIGSEGV): Likewise.
3536 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3537 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3538 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3539 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3540 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3541 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3542 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3543 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3544 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3545 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3546 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3547 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3548 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3549 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3550 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3551 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3552 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3553 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3554 [X/Open-based standards] (SIGTRAP): Likewise.
3555 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3556 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3557 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3558 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3559 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3562 2012-05-08 Ian Wienand <ianw@vmware.com>
3565 * time/tzset.c (__tzset_parse_tz): Update default rules for
3566 daylight time changes in the Energy Policy Act of 2005.
3568 2012-05-09 Andreas Jaeger <aj@suse.de>
3571 * elf/ldconfig.c (parse_conf): Change string to make clear that
3572 ldconfig only issued a warning if ld.so.conf does not exist.
3574 2012-05-08 David S. Miller <davem@davemloft.net>
3576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3577 movxtod instead of popping the value on the stack.
3579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3581 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3583 * config.h.in: Add HAVE_ARM_PCS_VFP.
3585 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
3588 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3589 checking but the checks are disabled for any reason.
3591 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3593 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3594 and ELF64_R_TYPE with ELFW(R_TYPE).
3596 2012-05-08 Joseph Myers <joseph@codesourcery.com>
3598 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3601 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3602 (settimeofday): Likewise.
3604 2012-05-08 Mike Frysinger <vapier@gentoo.org>
3606 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3607 a struct th_u2 inside the union, and move tu_block/tu_code into
3608 a new th_u3 union of tu_block/tu_code inside of that. Move
3609 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3610 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3611 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3612 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3613 (th_stuff): Change to th_u1.tu_stuff.
3615 (th_msg): Change to th_u1.th_u2.tu_data.
3617 2012-05-07 David S. Miller <davem@davemloft.net>
3619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3622 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3623 (SETUP_PIC_REG): Use it.
3624 (SETUP_PIC_REG_LEAF): Use it.
3626 2012-05-07 Joseph Myers <joseph@codesourcery.com>
3630 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3632 (EXPL_FINITE): Likewise.
3634 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3635 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3637 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3639 (EXPL_FINITE): Likewise.
3641 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3642 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3644 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3645 test of -max_value argument for long double.
3646 * sysdeps/i386/fpu/libm-test-ulps: Update.
3647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3649 2012-05-06 David S. Miller <davem@davemloft.net>
3651 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3652 quad soft-float symbols whose references which are compiler
3654 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3656 2012-05-06 Joseph Myers <joseph@codesourcery.com>
3660 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3662 (EXPL_FINITE): Likewise.
3666 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3667 Adjust comments for base varying.
3668 (__expl_finite): Change alias to EXPL_FINITE.
3669 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3671 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3672 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3673 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3674 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3675 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3677 (EXPL_FINITE): Likewise.
3681 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3682 Adjust comments for base varying.
3683 (__expl_finite): Change alias to EXPL_FINITE.
3684 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3689 * math/libm-test.inc (check_float_internal): Correct ulp
3690 calculation for subnormal expected results.
3692 2012-05-06 Andreas Jaeger <aj@suse.de>
3694 * Makeconfig (+math-flags): New, set to -frounding-math.
3695 (+cflags): Add +math-flags so that all of glibc gets compiled with
3698 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3700 2012-05-05 Joseph Myers <joseph@codesourcery.com>
3702 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3708 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3709 (__ieee754_expl): Allow for and saturate large arguments.
3710 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3711 (u_threshold): Likewise.
3712 (__exp): Call __ieee754_exp before checking for overflow and
3714 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3715 (u_threshold): Likewise.
3716 (__expf): Call __ieee754_expf before checking for overflow and
3718 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3719 (u_threshold): Likewise.
3720 (__expl): Call __ieee754_expl before checking for overflow and
3722 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3723 (__ieee754_expl): Allow for and saturate large arguments.
3724 * math/libm-test.inc (exp_test): Add another test. Do not allow
3725 missing overflow exception on overflow.
3726 (expm1_test): Do not allow missing overflow exception on overflow.
3728 * sysdeps/i386/fpu/e_expl.c: Move to ...
3729 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3730 rather than using inline asm.
3731 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3732 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3733 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3735 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3742 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3744 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3745 sysdeps/unix/common/syscalls.list.
3748 (ftruncate): Likewise.
3749 (getrusage): Likewise.
3750 (gettimeofday): Likewise.
3751 (setpgid): Likewise.
3752 (setregid): Likewise.
3753 (setreuid): Likewise.
3754 (sigaction): Likewise.
3755 (truncate): Likewise.
3756 (vhangup): Likewise.
3757 * sysdeps/unix/common/syscalls.list: Remove file.
3758 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3759 * sysdeps/unix/sysv/linux/Implies: Likewise.
3761 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3763 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3765 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3769 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3772 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3775 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3778 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3781 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3784 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3787 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3791 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3795 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3798 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3802 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3806 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3808 * sysdeps/unix/common/bits/dirent.h: Remove file.
3809 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3811 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3812 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3813 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3814 * sysdeps/unix/bsd/isatty.c: Likewise.
3815 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3816 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3817 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3819 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3822 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3823 long double comparison inaccuracies.
3824 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3827 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3829 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3830 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3832 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3835 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3836 nonzero digits before rounding a hex value.
3837 * stdlib/tst-strtod.c (tests): Add another test.
3839 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3841 * sysdeps/s390/fpu/libm-test-ulps: Update.
3843 2012-05-03 Andreas Jaeger <aj@suse.de>
3845 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3846 does not get optimized out.
3847 (malloc_opt_barrier): New.
3849 2012-05-03 Andreas Jaeger <aj@suse.de>
3850 Roland McGrath <roland@hack.frob.com>
3852 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3853 intermediate file deletion.
3854 (generated): Add .symlist files.
3856 2012-05-03 Joseph Myers <joseph@codesourcery.com>
3859 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3860 Redirect under this condition.
3861 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3862 [__USE_GNU] (__dprintf_chk): Not under this condition.
3863 [__USE_GNU] (__vdprintf_chk): Likewise.
3864 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3865 under this condition.
3866 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3867 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3868 [__USE_XOPEN2K8] (vdprintf): Likewise.
3869 [__USE_GNU] (__dprintf_chk): Not under this condition.
3870 [__USE_GNU] (__vdprintf_chk): Likewise.
3871 [__USE_GNU] (dprintf): Likewise.
3872 [__USE_GNU] (vdprintf): Likewise.
3874 2012-05-03 Roland McGrath <roland@hack.frob.com>
3876 * elf/Makefile (common-generated): Set this instead of generated for
3877 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3878 $(all-built-dso)-derived lists.
3880 2012-05-03 Andreas Jaeger <aj@suse.de>
3882 * sysdeps/i386/fpu/libm-test-ulps: Update.
3886 * scripts/gen-FAQ.pl: Likewise.
3887 * manual/install.texi (Installation): Point to online location of
3889 * Makefile (files-for-dist): Remove FAQ.
3892 2012-05-02 Allan McRae <allan@archlinux.org>
3894 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3895 (LDFLAGS-reldepmod5.so): Likewise.
3896 (LDFLAGS-reldep6mod1.so): Likewise.
3897 (LDFLAGS-reldep6mod4.so): Likewise.
3898 (LDFLAGS-reldep8mod3.so): Likewise.
3899 (LDFLAGS-unload4mod1.so): Likewise.
3900 (LDFLAGS-unload4mod2.so): Likewise.
3901 (LDFLAGS-tst-initorder): Likewise.
3902 (LDFLAGS-tst-initordera2.so): Likewise.
3903 (LDFLAGS-tst-initordera3.so): Likewise.
3904 (LDFLAGS-tst-initordera4.so): Likewise.
3905 (LDFLAGS-tst-initorderb2.so): Likewise.
3906 (LDFLAGS-noload): Likewise.
3907 (LDFLAGS-next): Likewise.
3908 (LDFLAGS-order2mod1.so): Likewise.
3909 (LDFLAGS-order2mod2.so): Likewise.
3910 (LDFLAGS-tst-initorder2): Likewise.
3911 (LDFLAGS-tst-initorder2a.so): Likewise.
3912 (LDFLAGS-tst-initorder2b.so): Likewise.
3913 (LDFLAGS-tst-initorder2c.so): Likewise.
3914 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3916 2012-05-02 David S. Miller <davem@davemloft.net>
3918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3920 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3923 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3925 2012-05-02 Andreas Jaeger <aj@suse.de>
3927 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3928 since we manipulate rounding mode.
3929 (CPPFLAGS-test-idouble.c): Likewise.
3930 (CPPFLAGS-test-ifloat.c): Likewise.
3931 (CFLAGS-test-ldouble.c): Likewise.
3932 (CFLAGS-test-double.c): Likewise.
3933 (CFLAGS-test-float.c): Likewise.
3934 (CFLAGS-test-misc.c): Likewise.
3935 (CFLAGS-test-test-fenv.c): Likewise.
3937 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3941 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3942 comparisons to determine direction to adjust input.
3944 2012-05-01 Roland McGrath <roland@hack.frob.com>
3946 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3947 output to the target.
3949 * scripts/localplt.awk: New file.
3950 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3951 (check-localplt-CFLAGS): Variable removed.
3952 ($(all-built-dso:=.jmprel)): New static pattern rule.
3953 (generated): Add those targets.
3954 (localplt-built-dso): New variable.
3955 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3957 * elf/check-localplt.c: File removed.
3959 * scripts/check-execstack.awk: New file.
3960 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3961 (check-execstack-CFLAGS): Variable removed.
3962 ($(objpfx)check-execstack.h): Target removed.
3963 ($(objpfx)execstack-default): New target.
3964 (generated): Add that instead of check-execstack.h.
3965 ($(all-built-dso:=.phdr)): New static pattern rule.
3966 (generated): Add those targets.
3967 * elf/check-execstack.c: File removed.
3969 * scripts/check-textrel.awk: New file.
3970 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3971 (check-textrel-CFLAGS): Variable removed.
3972 (all-built-dso): Use := to define.o
3973 ($(all-built-dso:=.dyn)): New static pattern rule.
3974 (generated): Add those targets.
3975 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3976 * config.make.in (READELF): New substituted variable.
3977 * elf/check-textrel.c: File removed.
3979 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3981 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3983 * conform/data/ctype.h-data [C99-based standards] (isblank):
3985 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3986 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3987 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3988 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3989 Specify type. Require positive value.
3992 [ISO || POSIX] (EILSEQ): Do not expect.
3993 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3994 Specify type. Require positive value.
3995 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3996 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3997 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3998 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3999 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4000 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4001 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4002 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4003 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4004 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4005 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4006 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4007 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4008 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4009 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4010 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4011 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4012 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4013 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4014 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4015 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4016 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4017 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4018 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4019 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4020 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4021 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4022 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4023 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4024 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4025 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4026 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4027 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4028 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4029 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4030 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4031 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4032 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4033 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4034 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4035 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4036 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4037 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4038 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4039 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4040 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4041 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4042 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4043 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4044 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4045 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4046 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4047 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4048 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4049 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4050 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4051 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4052 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4053 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4054 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4055 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4056 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4057 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4058 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4059 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4060 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4061 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4062 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4063 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4064 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4065 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4066 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4067 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4068 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4069 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4070 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4071 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4073 (FLT_ROUNDS): Expect as macro, not constant.
4074 (FLT_MANT_DIG): Use macro-int-constant.
4075 (DBL_MANT_DIG): Likewise.
4076 (LDBL_MANT_DIG): Likewise.
4077 (FLT_DIG): Likewise.
4078 (DBL_DIG): Likewise.
4079 (LDBL_DIG): Likewise.
4080 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4081 (DBL_MIN_EXP): Likewise.
4082 (LDBL_MIN_EXP): Likewise.
4083 (FLT_MAX_EXP): Use macro-int-constant.
4084 (DBL_MAX_EXP): Likewise.
4085 (LDBL_MAX_EXP): Likewise.
4086 (FLT_MAX_10_EXP): Likewise.
4087 (DBL_MAX_10_EXP): Likewise.
4088 (LDBL_MAX_10_EXP): Likewise.
4089 (FLT_MAX): Use macro-constant.
4090 (DBL_MAX): Likewise.
4091 (LDBL_MAX): Likewise.
4092 (FLT_EPSILON): Use macro-constant. Give upper bound.
4093 (DBL_EPSILON): Likewise.
4094 (LDBL_EPSILON): Likewise.
4095 (FLT_MIN): Likewise.
4096 (DBL_MIN): Likewise.
4097 (LDBL_MIN): Likewise.
4098 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4099 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4100 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4101 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4102 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4103 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4104 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4105 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4106 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4107 [ISO11] (FLT_TRUE_MIN): Likewise.
4108 [ISO11] (LDBL_TRUE_MIN): Likewise.
4109 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4110 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4111 (SCHAR_MIN): Use macro-int-constant. Specify type.
4112 (SCHAR_MAX): Likewise.
4113 (UCHAR_MAX): Likewise.
4114 (CHAR_MIN): Likewise.
4115 (CHAR_MAX): Likewise.
4116 (MB_LEN_MAX): Use macro-int-constant.
4117 (SHRT_MIN): Use macro-int-constant. Specify type.
4118 (SHRT_MAX): Likewise.
4119 (USHRT_MAX): Likewise.
4120 (INT_MAX): Likewise.
4121 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4123 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4125 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4127 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4128 bound negative. Suffix upper bound with "L".
4129 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4131 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4133 [C99-based standards] (LLONG_MAX): Likewise.
4134 [C99-based standards] (ULLONG_MAX): Likewise.
4135 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4137 [ISO11] (max_align_t): Require type.
4138 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4140 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4141 from $CFLAGS, without defining away __attribute__ calls.
4142 (checknamespace): Use $CFLAGS_namespace.
4144 * conform/conformtest.pl (@keywords): Only include C99 keywords
4145 for standards based on C99 or C11.
4147 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4149 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4152 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4153 usability of symbols in #if.
4155 * conform/conformtest.pl: If macro or constant types start
4156 "promoted:", expect the symbol to be of the following type
4157 promoted by the integer promotions.
4159 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4160 in one place. Also handle "macro-constant".
4162 * conform/conformtest.pl: Only accept expected macro values with
4163 "==". Parse all "macro" lines in one place.
4164 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4166 * conform/conformtest.pl: Handle braced types on "constant" lines
4167 instead of handling "typed-constant".
4168 * conform/data/signal.h-data: Use "constant" instead of
4171 * conform/conformtest.pl: Handle "optional-" at start of lines in
4172 one place rather than duplicating several cases. Handle each
4173 format of "macro" line with initial "optional-".
4175 * conform/conformtest.pl: Only accept expected constant or
4176 optional-constant values with "==". Parse all "constant" lines in
4177 one place. Parse all "optional-constant" lines in one place.
4178 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4179 * conform/data/fmtmsg.h-data: Likewise.
4180 * conform/data/netinet/in.h-data: Likewise.
4181 * conform/data/tar.h-data: Likewise.
4182 * conform/data/limits.h-data: Use "==" form on "constant" and
4183 "optional-constant" lines.
4185 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4186 Use -std=c99 for XOPEN2K.
4187 (@knownproblems): Remove.
4188 (newtoken): Don't check %isknown.
4190 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4191 Do not expect macro.
4192 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4193 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4194 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4195 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4196 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4197 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4198 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4199 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4200 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4201 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4202 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4203 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4204 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4205 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4206 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4207 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4208 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4209 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4210 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4211 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4212 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4213 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4214 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4215 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4216 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4217 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4218 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4219 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4220 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4221 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4222 [XPG3] (acosh): Likewise.
4223 [XPG3] (asinh): Likewise.
4224 [XPG3] (atanh): Likewise.
4225 [XPG3] (cbrt): Likewise.
4226 [XPG3] (expm1): Likewise.
4227 [XPG3] (ilogb): Likewise.
4228 [XPG3] (log1p): Likewise.
4229 [XPG3] (logb): Likewise.
4230 [XPG3] (nextafter): Likewise.
4231 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4232 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4233 [XPG3] (remainder): Likewise.
4234 [XPG3] (rint): Likewise.
4235 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4236 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4237 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4238 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4239 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4240 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4241 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4242 [UNIX98 || XOPEN2K] (scalb): Expect.
4243 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4244 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4245 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4246 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4247 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4248 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4249 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4250 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4251 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4252 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4253 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4254 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4255 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4256 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4257 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4258 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4259 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4260 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4261 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4262 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4263 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4264 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4265 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4266 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4267 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4268 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4269 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4270 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4271 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4272 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4273 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4274 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4275 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4276 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4277 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4278 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4279 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4280 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4281 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4282 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4283 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4284 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4285 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4286 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4287 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4288 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4289 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4290 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4291 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4292 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4293 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4294 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4295 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4296 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4297 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4298 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4299 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4300 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4301 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4302 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4303 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4304 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4305 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4306 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4307 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4308 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4309 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4310 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4311 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4312 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4313 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4314 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4315 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4316 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4317 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4318 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4319 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4320 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4321 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4322 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4323 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4324 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4325 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4326 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4327 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4328 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4329 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4330 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4331 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4332 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4333 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4334 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4335 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4336 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4337 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4338 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4339 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4340 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4341 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4342 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4343 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4344 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4345 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4346 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4347 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4348 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4349 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4350 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4351 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4352 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4353 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4354 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4355 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4356 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4357 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4358 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4359 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4360 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4361 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4362 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4363 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4364 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4365 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4366 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4367 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4368 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4369 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4370 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4371 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4372 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4373 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4374 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4375 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4376 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4377 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4378 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4379 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4381 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4382 _XOPEN_SOURCE_EXTENDED for XPG4.
4384 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4386 * Makeconfig (localtime): Remove variable.
4387 (inst_localtime-file): Likewise.
4389 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4410 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4414 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4415 comparisons to determine direction to adjust input.
4416 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4417 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4418 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4420 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4422 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4424 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4425 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4427 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4429 * math/libm-test.inc (nexttoward_test): Add more tests.
4431 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4434 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4435 in version GLIBC_2.1, not GLIBC_2.0.
4436 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4439 2012-04-30 Joseph Myers <joseph@codesourcery.com>
4442 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4444 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4445 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4446 * math/libm-test.inc (acos_test): Add more tests.
4447 (asin_test): Likewise.
4448 * sysdeps/i386/fpu/libm-test-ulps: Update.
4449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4452 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4454 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4455 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4456 * math/libm-test.inc (acos_test_tonearest): New function.
4457 (acos_test_towardzero): Likewise.
4458 (acos_test_downward): Likewise.
4459 (acos_test_upward): Likewise.
4460 (asin_test_tonearest): Likewise.
4461 (asin_test_towardzero): Likewise.
4462 (asin_test_downward): Likewise.
4463 (asin_test_upward): Likewise.
4464 (main): Call the new functions.
4465 * sysdeps/i386/fpu/libm-test-ulps: Update.
4466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4470 * math/e_exp10.c: Include <float.h>.
4471 (__ieee754_exp10): Handle underflow here rather than multiplying
4472 large negative argument by M_LN10.
4473 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4475 * math/e_exp10l.c: Include <float.h>.
4476 (__ieee754_exp10l): Handle underflow here rather than multiplying
4477 large negative argument by M_LN10l.
4478 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4479 spurious overflow exception on underflow.
4481 2012-04-29 Marek Polacek <polacek@redhat.com>
4483 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4484 (__fortify_function): New macro.
4485 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4486 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4487 __extern_always_inline.
4488 * libio/bits/stdio2.h: Likewise.
4489 * libio/bits/stdio.h: Likewise.
4490 * string/string.h: Likewise.
4491 * string/bits/string3.h: Likewise.
4492 * include/stdio.h: Likewise.
4493 * stdlib/bits/stdlib.h: Likewise.
4494 * stdlib/stdlib.h: Likewise.
4495 * rt/bits/mqueue2.h: Likewise.
4496 * rt/mqueue.h: Likewise.
4497 * posix/bits/unistd.h: Likewise.
4498 * posix/unistd.h: Likewise.
4499 * io/bits/poll2.h: Likewise.
4500 * io/bits/fcntl2.h: Likewise.
4501 * io/fcntl.h: Likewise.
4502 * io/sys/poll.h: Likewise.
4503 * misc/bits/syslog.h: Likewise.
4504 * misc/bits/syslog-ldbl.h: Likewise.
4505 * misc/sys/syslog.h: Likewise.
4506 * socket/bits/socket2.h: Likewise.
4507 * socket/sys/socket.h: Likewise.
4508 * debug/tst-chk1.c: Likewise.
4509 * wcsmbs/bits/wchar2.h: Likewise.
4510 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4511 * wcsmbs/wchar.h: Likewise.
4513 2012-04-29 Andreas Jaeger <aj@suse.de>
4515 * Makerules (tests): Remove enable-check-abi protection.
4516 (check-abi-warn): Remove.
4517 (check-abi-%): Remove check-abi-warn usage.
4519 * configure.in: Remove check-abi configure option.
4520 * configure: Regenerated.
4521 * config.make.in (enable-check-abi): Remove.
4523 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4526 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4527 double functions to double *_finite functions.
4530 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4531 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4533 * stdio-common/Makefile (tests): Add tst-sprintf3.
4534 * stdio-common/tst-sprintf3.c: New file.
4536 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4537 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4539 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4541 * conform/conformtest.pl: Remove duplicate typed-constant
4544 2012-04-28 David S. Miller <davem@davemloft.net>
4546 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4547 (check-abi-%): Remove AWK script prerequisite and explicit
4549 (check-abi): Rewrite to just diff the symlist with the abilist.
4550 (config-tls, config-abi-config): Delete, no longer used.
4551 (update-abi-%): Remove AWK script and explicit abilist directory.
4552 (update-abi): Rewrite to simply compare and conditionally copy the
4553 symlist and the sysdep abilist file. Remove update-abi-config
4555 * abilist/ld.abilist: Remove.
4556 * abilist/libBrokenLocale.abilist: Remove.
4557 * abilist/libanl.abilist: Remove.
4558 * abilist/libcrypt.abilist: Remove.
4559 * abilist/libdl.abilist: Remove.
4560 * abilist/librt.abilist: Remove.
4561 * abilist/libthread_db.abilist: Remove.
4562 * abilist/libutil.abilist: Remove.
4563 * scripts/extract-abilist.awk: Remove.
4564 * scripts/merge-abilist.awk: Remove.
4565 * sysdeps/generic/libcidn.abilist: New file.
4566 * sysdeps/generic/libnss_compat.abilist: New file.
4567 * sysdeps/generic/libnss_db.abilist: New file.
4568 * sysdeps/generic/libnss_dns.abilist: New file.
4569 * sysdeps/generic/libnss_files.abilist: New file.
4570 * sysdeps/generic/libnss_hesiod.abilist: New file.
4571 * sysdeps/generic/libnss_nis.abilist: New file.
4572 * sysdeps/generic/libnss_nisplus.abilist: New file.
4573 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4574 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4575 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4577 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4578 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4579 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4580 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4581 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4582 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4583 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4584 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4585 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4587 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4588 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4589 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4590 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4592 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4593 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4594 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4595 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4596 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4597 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4599 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4600 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4601 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4603 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4706 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4707 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4708 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4710 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4711 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4712 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4713 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4714 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4715 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4716 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4717 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4718 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4719 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4771 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4773 * conform/conformtest.pl: Fix typo in handling typed-constant from
4776 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4778 * README: Cut down references to pre-2.6 Linux kernels and
4779 Linuxthreads. Update lists of configurations in libc and ports
4780 and sort alphabetically. Say "or newer" with Linux kernel version
4783 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4785 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4788 * math/libm-test.inc (logb_test_downward): New test to expose
4789 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4792 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4795 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4797 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4798 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4800 2012-04-26 Joseph Myers <joseph@codesourcery.com>
4802 * sysdeps/unix/i386/brk.S: Remove file.
4803 * sysdeps/unix/i386/dl-brk.S: Likewise.
4804 * sysdeps/unix/i386/pipe.S: Likewise.
4805 * sysdeps/unix/i386/sigreturn.S: Likewise.
4806 * sysdeps/unix/i386/syscall.S: Likewise.
4807 * sysdeps/unix/i386/vfork.S: Likewise.
4808 * sysdeps/unix/i386/wait.S: Likewise.
4810 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4811 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4813 * configure.in (arm*-none*): Do not allow without
4814 --enable-hacker-mode.
4815 (netbsd*): Remove case setting base_os.
4816 (386bsd*): Likewise.
4817 (freebsd*): Likewise.
4821 (ultrix*): Likewise.
4822 (newsos*): Likewise.
4832 (solaris[2-9]*): Likewise.
4834 * configure: Regenerated.
4836 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4839 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4840 overflow or cancellation in calculating denominator.
4841 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4842 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4843 down expression to avoid unexpected rounding in newer GCCs.
4844 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4846 2012-04-26 David S. Miller <davem@davemloft.net>
4848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4849 long-double compat symbols.
4850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4864 2012-04-25 David S. Miller <davem@davemloft.net>
4866 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4867 HWCAP_* values only after the memory barriers have been defined.
4868 (atomic_full_barrier): Define.
4869 (atomic_read_barrier): Define.
4870 (atomic_write_barrier): Define.
4872 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4874 * shlib-versions: Add libgcc_s version information.
4875 * sysdeps/generic/libgcc_s.h: Remove.
4876 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4878 * sysdeps/gnu/unwind-resume.c: Likewise.
4879 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4881 2012-04-25 David S. Miller <davem@davemloft.net>
4883 * sysdeps/unix/sparc/brk.S: Delete.
4884 * sysdeps/unix/sparc/dl-brk.S: Delete.
4885 * sysdeps/unix/sparc/pipe.S: Delete.
4886 * sysdeps/unix/sparc/sysdep.S: Delete.
4887 * sysdeps/unix/sparc/sysdep.h: Delete.
4888 * sysdeps/unix/sparc/vfork.S: Delete.
4889 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4890 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4891 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4892 ret_ERRVAL, r0, r1, MOVE): Define.
4893 (JUMPTARGET): Remove.
4894 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4895 sysdeps/unix/sparc/sysdep.h
4896 (ENTRY, END): Remove.
4897 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4899 2012-04-25 Joseph Myers <joseph@codesourcery.com>
4901 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4902 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4905 * timezone/README: Update upstream location and email address for
4907 * timezone/zdump.c: Update from tzcode 2012b.
4908 * timezone/zic.c: Likewise.
4910 * configure.in (libc_cv_as_needed): Remove test.
4911 * configure: Regenerated.
4912 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4913 conditional definition.
4914 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4915 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4916 * config.make.in (have-as-needed): Remove variable.
4918 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4919 Paul Pluzhnikov <ppluzhnikov@google.com>
4921 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4924 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4926 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4927 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4928 * sysdeps/sh/strlen.S: Likewise.
4930 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4932 * sysdeps/unix/fork.S: Remove file.
4933 * sysdeps/unix/i386/fork.S: Likewise.
4934 * sysdeps/unix/sparc/fork.S: Likewise.
4936 * sysdeps/unix/system.c: Remove file.
4937 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4939 * sysdeps/unix/getegid.S: Remove file.
4940 * sysdeps/unix/geteuid.S: Likewise.
4942 2012-04-24 Roland McGrath <roland@hack.frob.com>
4944 * scripts/check-localplt.awk: New file.
4945 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4947 * scripts/data/localplt-generic.data: Add a comment.
4949 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4950 NODE when __dir_mkfile failed.
4951 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4952 Reported by Ludovic Courtès <ludo@gnu.org>.
4954 2012-04-24 Andreas Jaeger <aj@suse.de>
4956 * Makerules (common-clean): Also remove gen-as-const-headers
4959 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4961 * Makerules (native-compile): Do not change working directory for
4962 build. Use $(OUTPUT_OPTION) in command.
4963 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4965 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4968 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4969 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4970 * math/libm-test.inc (floor_test): Add more tests.
4971 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4973 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4975 * sysdeps/unix/getdents.c: Remove file.
4976 * sysdeps/unix/sysv/getdents.c: Likewise.
4977 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4979 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4980 sysdeps/unix/mman/syscalls.list.
4982 (mprotect): Likewise.
4985 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4986 * sysdeps/unix/mman/syscalls.list: Remove.
4987 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4989 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4990 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4991 * configure: Regenerated.
4992 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4994 * config.make.in (libgcc_s_suffix): Remove variable.
4996 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4998 * sysdeps/unix/sysv/gethostname.c: Move to ...
4999 * sysdeps/posix/gethostname.c: ... here.
5001 * sysdeps/unix/execve.S: Remove file.
5003 * sysdeps/unix/_exit.S: Remove file.
5005 2012-04-23 Andreas Jaeger <aj@suse.de>
5008 * manual/Makefile: Remove make dist support, there's no
5009 need for a stand-alone documentation tar ball.
5010 (TEXI2DVI): Define always, it's not in Makeconfig.
5014 (glibc-doc-$(edition).tar): Removed
5018 (ETAGS): Remove, it's in Makeconfig.
5019 (move-if-change): Remove, it's in Makeconfig.
5021 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5024 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5025 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5026 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5027 (strtod_l, strtof_l, strtold_l): Remove __wur.
5028 It is not necessarily an error to ignore strtol's return value.
5029 One can reliably look at the stored endptr to decide whether
5030 the number had valid syntax.
5032 2012-04-21 Andreas Jaeger <aj@suse.de>
5035 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5037 2012-04-21 Joseph Myers <joseph@codesourcery.com>
5039 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5040 * sysdeps/unix/sysv/Versions: Remove file.
5042 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5047 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
5050 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5051 version from __vm86.
5053 2012-04-20 Joseph Myers <joseph@codesourcery.com>
5055 * sysdeps/unix/common/lxstat.c: Remove file.
5056 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5058 * sysdeps/unix/sysv/Makefile: Remove file.
5060 * sysdeps/unix/sysv/direct.h: Remove file.
5062 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5063 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5064 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5065 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5066 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5067 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5068 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5070 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5072 * sysdeps/unix/xmknod.c: Remove file.
5073 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5075 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5077 * sysdeps/unix/sysv/i386/time.S: Remove file.
5079 * sysdeps/unix/fxstat.c: Remove file.
5080 * sysdeps/unix/xstat.c: Likewise.
5081 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5083 * sysdeps/unix/sysv/sigaction.c: Remove file.
5085 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5086 (sysdep_headers): Remove variable.
5087 [termio.h not in sysdep_headers] (generated): Likewise.
5088 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5089 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5090 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5091 * sysdeps/unix/sysv/tcflow.c: Likewise.
5092 * sysdeps/unix/sysv/tcflush.c: Likewise.
5093 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5094 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5095 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5096 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5097 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5099 * sysdeps/unix/siglist.c: Remove file.
5101 * sysdeps/unix/getppid.S: Remove file.
5103 * sysdeps/unix/mkdir.c: Remove file.
5104 * sysdeps/unix/rmdir.c: Likewise.
5106 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5108 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5110 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5111 errlist-compat value.
5113 2012-04-18 David S. Miller <davem@davemloft.net>
5115 * sysdeps/generic/memcopy.h (reg_char): Delete.
5116 * debug/strcat_chk.c: Use char, not reg_char.
5117 * debug/strcpy_chk.c: Likewise.
5118 * debug/strncat_chk.c: Likewise.
5119 * debug/strncpy_chk.c: Likewise.
5120 * string/memchr.c: Likewise.
5121 * string/memrchr.c: Likewise.
5122 * string/rawmemchr.c: Likewise.
5123 * string/strcat.c: Likewise.
5124 * string/strchr.c: Likewise.
5125 * string/strchrnul.c: Likewise.
5126 * string/strcmp.c: Likewise.
5127 * string/strcpy.c: Likewise.
5128 * string/strncat.c: Likewise.
5129 * string/strncmp.c: Likewise.
5130 * string/strncpy.c: Likewise.
5132 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5134 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5135 __builtin_memcopy is called when src and dest ranges are known to not
5138 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5140 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5141 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5142 fwd_align_merge macro call.
5143 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5144 bwd_align_merge macro call.
5145 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5147 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5149 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5150 bwd_align_merge macros.
5151 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5152 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5153 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5155 2012-04-18 David S. Miller <davem@davemloft.net>
5157 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5159 2012-04-18 Andreas Jaeger <aj@suse.de>
5162 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5163 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5164 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5166 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5167 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5168 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5170 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5171 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5172 Adjust for changed ldbl-128 files.
5174 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5175 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5176 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5178 2012-04-17 David S. Miller <davem@davemloft.net>
5180 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5182 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5184 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5185 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5186 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5187 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5188 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5189 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5191 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5194 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5195 * math/libm-test.inc: Add ilogb errno and exception tests.
5196 * math/w_ilogb.c: New file: ilogb wrapper.
5197 * math/w_ilogbf.c: New file: ilogbf wrapper.
5198 * math/w_ilogbl.c: New file: ilogbl wrapper.
5199 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5200 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5201 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5202 exception being thrown with 0.0 as argument.
5203 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5204 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5205 exception being thrown with 0.0 as argument.
5206 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5207 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5208 exception being thrown with 0.0 as argument.
5209 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5210 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5211 exception being thrown with 0.0 as argument.
5212 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5213 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
5214 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
5215 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5216 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5217 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5218 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5219 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5220 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5222 2012-04-17 Petr Baudis <pasky@ucw.cz>
5224 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5227 2012-04-16 Marek Polacek <polacek@redhat.com>
5229 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5231 2012-04-16 Marek Polacek <polacek@redhat.com>
5233 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5234 operands of fdivp instruction.
5236 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5238 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5239 * elf/tst-auditmod3b.c: Likewise.
5240 * elf/tst-auditmod4b.c: Likewise.
5241 * elf/tst-auditmod5b.c: Likewise.
5242 * elf/tst-auditmod6b.c: Likewise.
5243 * elf/tst-auditmod6c.c: Likewise.
5244 * elf/tst-auditmod7b.c: Likewise.
5245 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5246 * sysdeps/x86_64/preconfigure.in: Likewise.
5247 * sysdeps/x86_64/preconfigure: Regenerated.
5249 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5251 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5254 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
5256 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5257 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5259 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5262 * locale/iso-639.def: Fix gl language name. Spotted by
5265 2012-04-12 Roland McGrath <roland@hack.frob.com>
5268 * libio/libio.h (__io_write_fn): Update comment.
5270 2012-04-12 Petr Baudis <pasky@ucw.cz>
5273 * stdio.texi (Hook Functions): The user provided writer function
5274 is not allowed to return -1.
5276 2012-04-11 David S. Miller <davem@davemloft.net>
5278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5280 2012-04-11 Mike Frysinger <vapier@gentoo.org>
5282 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5283 Add a leading slash to rtkaio.
5285 2012-04-11 Jim Meyering <meyering@redhat.com>
5288 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5289 It is not necessarily an error to ignore fwrite's return
5290 value. One can reliably use ferror to test for errors after
5293 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5295 * bits/types.h (__snseconds_t): New type.
5296 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5298 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5299 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5300 (__SNSECONDS_T_TYPE): Likewise.
5301 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5302 (__SNSECONDS_T_TYPE): Likewise.
5303 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5304 (__SNSECONDS_T_TYPE): Likewise.
5306 2012-04-10 Andreas Jaeger <aj@suse.de>
5309 * manual/time.texi (Processor Time): Return type of times is
5310 elapsed real time since an arbitrary point in the past.
5311 (CPU Time): Move CLK_TCK from here...
5312 (Processor Time): ...to here. Correct description.
5313 * manual/conf.texi (Constants for Sysconf): Correct description of
5316 2012-04-10 David S. Miller <davem@davemloft.net>
5319 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5320 where the is a gap between DT_REL(A) and DT_JMPREL.
5322 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5324 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5325 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5326 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5328 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5330 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5331 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5332 (dl_main): Handle --inhibit-cache.
5333 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5335 * elf/dl-load.c (_dl_map_object): Use it.
5336 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5338 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5341 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5342 (__ieee754_powl): Saturate large exponents rather than testing for
5343 overflow of y*log2(x).
5344 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5345 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5349 * math/s_ctan.c: Include <float.h>.
5350 (__ctan): Avoid internal overflow or cancellation in calculating
5352 * math/s_ctanf.c: Likewise.
5353 * math/s_ctanl.c: Likewise.
5354 * math/s_ctanh.c: Likewise.
5355 * math/s_ctanhf.c: Likewise.
5356 * math/s_ctanhl.c: Likewise.
5357 * math/libm-test.inc (ctan_test): Add more tests.
5358 (ctanh_test): Likewise.
5359 * sysdeps/i386/fpu/libm-test-ulps: Update.
5360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5362 2012-04-09 Andreas Jaeger <aj@suse.de>
5365 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5366 is an optional BSD extension.
5369 * manual/stdio.texi (Opening Streams): Document additional fopen
5372 2012-04-09 Roland McGrath <roland@hack.frob.com>
5374 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5375 %eax without telling the compiler.
5377 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5380 * manual/install.texi: Use sourceware.org.
5382 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5385 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5386 (__ieee754_pow): Generate overflow and underflow using huge*huge
5387 and tiny*tiny rather than just returning constant infinity or zero
5388 for large exponents.
5389 * math/libm-test.inc (pow_test): Require overflow exceptions for
5390 applicable cases of large exponents.
5393 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5394 (__ieee754_pow): Use iterative multiplication algorithm only for
5395 integer exponents with absolute value below 1024. Check for odd
5396 integer exponents when using algorithm for real exponents.
5397 * math/libm-test.inc (pow_test): Add more tests.
5398 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5400 2012-04-08 Joseph Myers <joseph@codesourcery.com>
5403 * math/libm-test.inc (exp_test): Do not allow overflow exception
5406 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5409 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5410 instead of __kernel_standard_f.
5412 2012-04-08 Mike Frysinger <vapier@gentoo.org>
5414 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5415 * sysdeps/x86_64/memset_chk.S: Likewise.
5417 2012-04-08 Andreas Jaeger <aj@suse.de>
5420 * manual/startup.texi (Environment Access): Describe return value
5421 for putenv and setenv.
5424 * manual/filesys.texi (Directory Entries): Add description for
5428 * manual/filesys.texi (Directory Entries): Clarify that it's file
5429 system not operating system in the description of DT_UNKNOWN.
5432 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5434 2012-04-08 Stephen Compall <s11@member.fsf.org>
5437 * manual/llio.texi (Opening and Closing Files): Add cross
5438 reference to explain mode argument.
5440 2012-04-07 Mike Frysinger <vapier@gentoo.org>
5442 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5443 * sysdeps/x86_64/memset_chk.S: Likewise.
5445 2012-04-07 David S. Miller <davem@davemloft.net>
5447 * elf/elf.h (R_SPARC_WDISP10): Define.
5448 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5450 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5451 R_SPARC_SIZE64 and R_SPARC_H34.
5453 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5455 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5456 conditions and remove no longer applicable assertion.
5458 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5460 * bits/byteswap.h: Include <features.h>.
5461 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5462 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5464 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5466 * bits/byteswap.h (__bswap_16): Removed.
5467 Include <bits/byteswap-16.h> to get __bswap_16.
5468 * sysdeps/i386/bits/byteswap.h: Likewise.
5469 * sysdeps/s390/bits/byteswap.h: Likewise.
5470 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5471 * bits/byteswap-16.h: New file.
5472 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5473 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5474 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5475 * string/Makefile (headers): Add bits/byteswap-16.h.
5477 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5480 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5482 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5483 * nss/tst-nss-static.c: New.
5485 2012-04-06 Robert Millan <rmh@gnu.org>
5488 * manual/llio.texi (File Position Primitive): lseek
5489 refers to WHENCE when it really means OFFSET.
5491 2012-04-06 Andreas Jaeger <aj@suse.de>
5493 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5494 strncmp declarations.
5496 * abilist/libc.abilist: Add __poll and __ppoll.
5498 2012-04-05 David S. Miller <davem@davemloft.net>
5500 * scripts/check-local-headers.sh: Accept a host triplet in the
5501 path matched by the exclude regexp.
5503 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5505 * sysdeps/powerpc/powerpc32/dl-machine.h
5506 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5507 * sysdeps/s390/s390-32/dl-machine.h
5508 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5509 * sysdeps/sparc/sparc32/dl-machine.h
5510 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5511 * sysdeps/sparc/sparc64/dl-machine.h
5512 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5514 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5516 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
5517 undefined symbol errors.
5519 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
5522 2012-04-05 Michael Matz <matz@suse.de>
5525 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5527 2012-04-05 Andreas Jaeger <aj@suse.de>
5530 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5533 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5535 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5536 which ROUND is no valid rounding mode.
5538 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5540 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5542 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5544 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5546 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5547 an exception using FPU order intentionally.
5549 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5551 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5552 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5553 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5554 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5556 2012-04-05 Simon Josefsson <simon@josefsson.org>
5559 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5560 EINVAL when BUFLEN is too smal.
5562 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5565 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5566 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5568 2012-04-03 Andreas Jaeger <aj@suse.de>
5571 * manual/setjmp.texi (System V contexts): Fix sentence.
5574 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5575 New macro for this case.
5576 [!__GNUC__] (__bswap_64): New inline function for this case.
5577 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5578 * bits/byteswap.h: Likewise.
5579 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5580 ull, guard with __GLIBC_HAVE_LONG_LONG.
5582 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5583 __GLIBC_HAVE_LONG_LONG.
5585 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5586 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5588 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5591 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5592 inptr and inend, rather than using last_ch.
5594 2012-04-02 David S. Miller <davem@davemloft.net>
5596 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5597 * stdio-common/printf-parse.h (read_int): Change return type to
5598 'int', return -1 on INT_MAX overflow.
5599 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5600 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5601 overflows INT_MAX. Check for overflow of in-format-string precision
5602 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5603 SIZE_MAX not INT_MAX for integer overflow test.
5604 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5605 skip the construct in the format string but do not record anything.
5606 * stdio-common/bug22.c: Adjust to test both width/prevision
5607 INT_MAX overflow as well as total length INT_MAX overflow. Check
5608 explicitly for proper errno values.
5610 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5612 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5614 * string/test-strcmp.c [! WIDE]: Likewise.
5615 * time/tst-mktime2.c: Likewise for INT_MAX.
5616 * string/test-string.h: #include <sys/param.h> for MIN.
5618 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5619 * sysdeps/i386/init-first.c (init): Likewise.
5620 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5621 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5622 * sysdeps/sh/init-first.c (init): Likewise.
5624 2012-04-01 Ulrich Drepper <drepper@gmail.com>
5626 * po/ru.po: Update from translation team.
5627 * po/vi.po: Likewise.
5629 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5631 * resolv/nss_dns/dns-host.c: Merge copyright years.
5633 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5635 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5636 Optimize memcpy with prefetch if
5637 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5638 src, dst pointers have unequal 16 byte alignments.
5640 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5643 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5644 from a CNAME entry and return the minimum ttl for the query.
5645 (gaih_getanswer_slice): Likewise.
5647 2012-03-30 Jeff Law <law@redhat.com>
5649 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5651 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5652 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5654 * resolv/nss_dns/dns-host.c: Update copyright year.
5656 2012-03-30 Ulrich Drepper <drepper@gmail.com>
5658 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5659 requests to save a system call. Fix check that all bytes are sent.
5661 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5662 comments for sendmmsg.
5664 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5667 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5668 with only 1 character between 0x0041 and 0x01b0.
5669 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5670 * wcsmbs/tst-mbsnrtowcs.c: New file.
5672 2012-03-29 David S. Miller <davem@davemloft.net>
5674 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5675 small copies by hand.
5677 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5680 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5681 _nss_compat_initgroups_dyn): Fall back to malloc/free
5682 for large group memberships.
5684 2012-03-28 David S. Miller <davem@davemloft.net>
5686 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5687 that branches into memcpy.
5688 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5689 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5690 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5691 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5692 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5694 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5696 * sysdeps/sparc/mempcpy.S: New file.
5698 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5699 the IFUNC routine in the libc case.
5700 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5702 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5703 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5704 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5705 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5706 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5707 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5708 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5709 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5711 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5712 loop to 256 bytes instead of 64 bytes and fix test signedness.
5714 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5715 * sysdeps/sparc/sparc32/Makefile: rather than here...
5716 * sysdeps/sparc/sparc64/Makefile: and here.
5718 2012-03-28 Ulrich Drepper <drepper@gmail.com>
5720 * malloc/mallocbug.c: Avoid warnings about unused variables.
5722 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5725 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5726 in the right place. Discard and retry query if response is
5727 larger than input buffer size.
5729 2012-03-28 Joseph Myers <joseph@codesourcery.com>
5734 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5735 x for large integer exponent.
5736 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5737 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5738 sign of result as needed afterwards.
5739 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5740 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5741 result for underflowing pow the same as for overflow.
5742 (__kernel_standard_l): Handle powl overflow and underflow here
5743 rather than calling __kernel_standard.
5744 * math/libm-test.inc (pow_test): Add more tests.
5759 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5760 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5761 (__kernel_standard_l): New function.
5762 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5764 * math/w_acosl.c (__acosl): Likewise.
5765 * math/w_asinl.c (__asinl): Likewise.
5766 * math/w_atan2l.c (__atan2l): Likewise.
5767 * math/w_atanhl.c (__atanhl): Likewise.
5768 * math/w_coshl.c (__coshl): Likewise.
5769 * math/w_exp10l.c (__exp10l): Likewise.
5770 * math/w_exp2l.c (__exp2l): Likewise.
5771 * math/w_fmodl.c (__fmodl): Likewise.
5772 * math/w_hypotl.c (__hypotl): Likewise.
5773 * math/w_j0l.c (__j0l, __y0l): Likewise.
5774 * math/w_j1l.c (__j1l, __y1l): Likewise.
5775 * math/w_jnl.c (__jnl, __ynl): Likewise.
5776 * math/w_lgammal.c (__lgammal): Likewise.
5777 * math/w_log10l.c (__log10l): Likewise.
5778 * math/w_log2l.c (__log2l): Likewise.
5779 * math/w_logl.c (__logl): Likewise.
5780 * math/w_powl.c (__powl): Likewise.
5781 * math/w_remainderl.c (__remainderl): Likewise.
5782 * math/w_scalbl.c (sysv_scalbl): Likewise.
5783 * math/w_sinhl.c (__sinhl): Likewise.
5784 * math/w_sqrtl.c (__sqrtl): Likewise.
5785 * math/w_tgammal.c (__tgammal): Likewise.
5786 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5787 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5788 * math/libm-test.inc (acos_test): Add more tests.
5789 (acosh_test): Likewise.
5790 (asin_test): Likewise.
5791 (atanh_test): Likewise.
5792 (exp_test): Likewise.
5793 (exp10_test): Likewise.
5794 (exp2_test): Likewise.
5795 (expm1_test): Likewise.
5796 (lgamma_test): Likewise.
5797 (log_test): Likewise.
5798 (log10_test): Likewise.
5799 (log1p_test): Likewise.
5800 (log2_test): Likewise.
5801 (pow_test): Do not allow some spurious overflow exceptions.
5802 (sqrt_test): Add more tests.
5803 (tgamma_test): Likewise.
5804 (y0_test): Likewise.
5805 (y1_test): Likewise.
5806 (yn_test): Likewise.
5808 2012-03-27 Anton Blanchard <anton@samba.org>
5810 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5812 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5813 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5814 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5816 2012-03-27 David S. Miller <davem@davemloft.net>
5818 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5820 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5823 2012-03-27 Andreas Jaeger <aj@suse.de>
5825 * sysdeps/x86_64/elf/configure.in: Moved to ...
5826 * sysdeps/x86_64/configure.in: ... here.
5827 * sysdeps/x86_64/elf/start.S: Moved to ...
5828 * sysdeps/x86_64/start.S: ... here.
5829 * sysdeps/x86_64/elf/configure: Delete.
5831 * sysdeps/x86_64/configure.in: Merge contents from
5832 sysdeps/i386/configure.in (without i686 check).
5834 * sysdeps/i386/elf/Versions: Merge into ...
5835 * sysdeps/i386/Versions: ... this.
5836 * sysdeps/i386/elf/Versions: Delete file.
5837 * sysdeps/i386/elf/start.S: Moved to ...
5838 * sysdeps/i386/start.S: ...here.
5839 * sysdeps/i386/elf/configure.in: Merge into...
5840 * sysdeps/i386/configure.in: ...here.
5841 * sysdeps/i386/elf/configure.in: Delete file.
5842 * sysdeps/i386/elf/configure: Delete file.
5844 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5845 * debug/backtracesyms.c: ... here.
5846 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5847 * debug/backtracesymsfd.c: ... here.
5848 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5849 * sysdeps/generic/ifunc-sel.h: ... here.
5851 * sysdeps/unix/i386/start.c: Delete file.
5852 * sysdeps/unix/sparc/start.c: Delete file.
5853 * sysdeps/unix/start.c: Delete file.
5855 * sysdeps/sh/elf/configure.in: Moved to ...
5856 * sysdeps/sh/configure.in: ... here.
5857 * sysdeps/sh/elf/start.S: Moved to ...
5858 * sysdeps/sh/start.S: ... here.
5859 * sysdeps/sh/elf/configure: Delete file.
5861 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5862 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5863 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5864 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5865 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5866 * sysdeps/powerpc/powerpc64/start.S: here.
5867 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5868 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5869 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5870 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5871 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5873 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5874 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5875 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5876 * sysdeps/powerpc/powerpc32/start.S: ... here.
5877 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5878 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5879 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5881 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5882 * sysdeps/powerpc/ifunc-sel.h: ... here.
5883 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5884 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5886 * sysdeps/sparc/elf/configure.in: Moved to ...
5887 * sysdeps/sparc/configure.in: ... here.
5888 * sysdeps/sparc/elf/configure: Delete file.
5889 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5890 * sysdeps/sparc/sparc32/start.S: ... here.
5891 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5892 * sysdeps/sparc/sparc64/start.S: ... here.
5893 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5894 * sysdeps/sparc/sparc32/Makefile: ... this.
5895 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5896 * sysdeps/sparc/sparc64/Makefile: ... this.
5898 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5899 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5900 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5901 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5902 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5903 * sysdeps/s390/s390-32/setjmp.S: ... here.
5904 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5905 * sysdeps/s390/s390-32/configure.in: ... here.
5906 * sysdeps/s390/s390-32/elf/configure: Delete file.
5907 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5908 * sysdeps/s390/s390-32/start.S: ... here.
5910 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5911 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5912 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5913 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5914 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5915 * sysdeps/s390/s390-64/setjmp.S: ... here.
5916 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5917 * sysdeps/s390/s390-64/configure.in: ... here
5918 * sysdeps/s390/s390-64/elf/configure: Delete file.
5919 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5920 * sysdeps/s390/s390-64/start.S: ... here.
5921 * sysdeps/s390/s390-64/elf/configure: Delete.
5923 * configure.in: Remove support for elf directories in sysdeps.
5925 * configure: Regenerated.
5926 * sysdeps/i386/configure: Regenerated.
5927 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5928 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5929 * sysdeps/s390/s390-32/configure: Regenerated.
5930 * sysdeps/s390/s390-64/configure: Regenerated.
5931 * sysdeps/sh/configure: Regenerated.
5932 * sysdeps/sparc/configure: Regenerated.
5933 * sysdeps/x86_64/configure: Regenerated.
5935 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5939 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5940 denormal result into account.
5942 2012-03-25 Roland McGrath <roland@hack.frob.com>
5944 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5945 Reported by Allan McRae <allan@archlinux.org>.
5947 2012-03-23 Jeff Law <law@redhat.com>
5949 * nss/getnssent.c (__nss_getent): Fix typo.
5951 2012-03-23 David S. Miller <davem@davemloft.net>
5953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5955 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5957 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5958 to pad to uint64_t for each field.
5959 (dl_tls_index): Replace unsigned long with uint64_t.
5961 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5962 Paul Pluzhnikov <ppluzhnikov@google.com>
5965 * grp/Makefile (otherlibs): Don't set it.
5966 * inet/Makefile (otherlibs): Likewise.
5967 * login/Makefile (otherlibs): Likewise.
5968 * nscd/Makefile (otherlibs): Likewise.
5969 * posix/Makefile (otherlibs): Likewise.
5970 * pwd/Makefile (otherlibs): Likewise.
5971 * rt/Makefile (otherlibs): Likewise.
5972 * sunrpc/Makefile (otherlibs): Likewise.
5973 * nss/Makefile (otherlibs): Likewise.
5974 Add libnss_files to routines and static-only-routines.
5975 ($(objpfx)getent): Remove rule.
5976 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5977 static-only-routines.
5979 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5982 * math/s_cexp.c: Include <float.h>.
5983 (__cexp): Handle exp result overflowing not necessarily
5984 overflowing both real and imaginary parts of result.
5985 * math/s_cexpf.c: Likewise.
5986 * math/s_cexpl.c: Likewise.
5987 * math/libm-test.inc (cexp_test): Add more tests.
5988 * sysdeps/i386/fpu/libm-test-ulps: Update.
5989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5991 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5993 * include/link.h (ELFW): New macro.
5994 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5995 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5997 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5999 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6002 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6004 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6006 (struct La_x32_retval): Likewise.
6008 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6010 * sysdeps/x86_64/preconfigure.in: New file.
6011 * sysdeps/x86_64/preconfigure: New generated file.
6013 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6016 * math/e_exp2l.c: Include <float.h>.
6017 (__ieee754_exp2l): Handle overflow and underflow cases
6018 separately. Only pass fractional part of argument to
6020 * math/libm-test.inc (exp2_test): Add more tests.
6022 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6023 negating x to take absolute value.
6024 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6026 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6027 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6029 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6030 computing low part if x was negated.
6031 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6033 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6035 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6037 (pltexit): Cast int_retval to ptrdiff_t.
6038 * elf/tst-auditmod3b.c: Likewise.
6039 * elf/tst-auditmod4b.c: Likewise.
6040 * elf/tst-auditmod5b.c: Likewise.
6041 * elf/tst-auditmod6b.c: Likewise.
6042 * elf/tst-auditmod6c.c: Likewise.
6043 * elf/tst-auditmod7b.c: Likewise.
6045 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6046 and x32_gnu_pltexit.
6048 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6050 (La_x32_regs): New macro.
6051 (La_x32_retval): Likewise.
6052 (la_x32_gnu_pltenter): New function prototype.
6053 (la_x32_gnu_pltexit): Likewise.
6055 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6057 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6062 * configure.in (libc_cv_cc_nofma): Check for option to disable
6063 generation of FMA instructions.
6064 * configure: Regenerate.
6065 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6066 * sysdeps/ieee754/dbl-64/Makefile: New file.
6067 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6068 Remove brandred-fma4.
6069 (CFLAGS-brandred-fma4.c): Remove.
6070 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6071 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6073 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6076 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6078 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6079 LLONG_MAX != LONG_MAX.
6080 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6081 (_fitoa_word): Likewise.
6082 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6083 LLONG_MAX != LONG_MAX.
6084 * stdio-common/_itowa.h: Include <_itoa.h>.
6085 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6086 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6087 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6088 only if not defined.
6089 (_ITOA_WORD_TYPE): Likewise.
6090 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6091 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6093 2012-03-21 David S. Miller <davem@davemloft.net>
6095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6097 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6099 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6100 of x86_64 when setting libc_cv_slibdir, libdir and
6102 * sysdeps/unix/sysv/linux/configure: Regenerated.
6104 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6106 * manual/lang.texi (Old Varargs): Remove section.
6107 (How Variadic): Update menu.
6108 (va_start): Do not mention varargs.h.
6110 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6111 Joseph Myers <joseph@codesourcery.com>
6113 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6115 * configure: Regenerated.
6117 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6119 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6120 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6123 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6126 * Makefile (files-for-dist): Remove NOTES.
6127 (NOTES): Remove rule.
6128 * README: Don't refer to NOTES.
6129 * manual/creature.texi: Don't include macros.texi.
6130 * manual/intro.texi (creature.texi): Remove comment referring to
6133 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6134 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6135 * configure: Regenerated.
6136 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6138 (libc_cv_as_i686): Likewise.
6139 (libc_cv_cc_avx): Likewise.
6140 (libc_cv_cc_sse2avx): Likewise.
6141 (libc_cv_cc_fma4): Likewise.
6142 (libc_cv_cc_novzeroupper): Likewise.
6143 * sysdeps/i386/configure: Regenerated.
6146 * sysdeps/i386/fpu/s_cexp.S: Remove.
6147 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6148 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6149 * math/libm-test.inc (cexp_test): Add more tests.
6150 * sysdeps/i386/fpu/libm-test-ulps: Update.
6151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6153 2012-03-21 Allan McRae <allan@archlinux.org>
6155 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6157 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6160 * math/w_exp2.c: Do not include <float.h>.
6161 (o_threshold, u_threshold): Remove.
6162 (__exp2): Calculate result before checking finiteness and calling
6164 * math/w_exp2f.c: Likewise.
6165 * math/w_exp2l.c: Likewise.
6166 * math/libm-test.inc (exp2_test): Require overflow exception for
6170 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6171 range of signed 64-bit integers before using fistpll. Remove
6172 checks for whether integers fit in mantissa bits.
6173 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6174 the range of signed 32-bit integers before using fistpl. Remove
6175 checks for whether integers fit in mantissa bits.
6176 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6177 (__ieee754_powl): Test for y outside the range of signed 64-bit
6178 integers before using fistpll. Reduce 64-bit values to 63-bit
6180 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6181 divide-by-zero is raised for zero to large negative powers.
6182 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6183 (__ieee754_powl): Test for y outside the range of signed 64-bit
6184 integers before using fistpll. Reduce 64-bit values to 63-bit
6186 * math/libm-test.inc (pow_test): Add more tests.
6188 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6190 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6191 <stdio-common/_itoa.h>.
6192 * debug/segfault.c: Likewise.
6193 * elf/dl-cache.c: Likewise.
6194 * elf/dl-minimal.c: Likewise.
6195 * elf/dl-misc.c: Likewise.
6196 * elf/dl-sysdep.c: Likewise.
6197 * elf/dl-version.c: Likewise.
6198 * elf/rtld.c: Likewise.
6199 * hurd/hurdsock.c: Likewise.
6200 * hurd/lookup-retry.c: Likewise.
6201 * malloc/malloc.c: Likewise.
6202 * malloc/mtrace.c: Likewise.
6203 * nscd/nscd_getgr_r.c: Likewise.
6204 * nscd/nscd_getpw_r.c: Likewise.
6205 * nscd/nscd_getserv_r.c: Likewise.
6206 * posix/getopt_init.c: Likewise.
6207 * posix/wordexp.c: Likewise.
6208 * stdio-common/_itoa.c: Likewise.
6209 * stdio-common/printf_fphex.c: Likewise.
6210 * stdio-common/vfprintf.c: Likewise.
6211 * string/_strerror.c: Likewise.
6212 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6213 * sysdeps/i386/i686/hp-timing.h: Likewise.
6214 * sysdeps/mach/_strerror.c: Likewise.
6215 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6216 * sysdeps/mach/hurd/sethostid.c: Likewise.
6217 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6218 * sysdeps/mach/xpg-strerror.c: Likewise.
6219 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6220 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6221 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6222 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6223 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6224 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6225 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6226 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6227 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6228 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6229 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6230 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6231 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6232 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6233 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6234 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6235 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6236 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6237 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6238 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6239 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6241 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6243 * stdio-common/_itoa.h: Moved to ...
6244 * sysdeps/generic/_itoa.h: Here.
6246 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6248 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6249 instead of "_itoa.h" and "_itowa.h".
6250 * stdio-common/vfprintf.: Likewise.
6252 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6254 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6256 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6257 (__signbit): Likwise.
6261 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6263 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6266 2012-03-20 Joseph Myers <joseph@codesourcery.com>
6268 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6269 OVERFLOW_EXCEPTION_OK.
6270 * math/libm-test.inc ("Philosophy"): Update comment about
6272 (OVERFLOW_EXCEPTION): Define.
6273 (OVERFLOW_EXCEPTION_OK): Likewise.
6274 (INVALID_EXCEPTION_OK): Renumber.
6275 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6276 (IGNORE_ZERO_INF_SIGN): Likewise.
6277 (test_exceptions): Handle FE_OVERFLOW.
6278 (exp10_test): Expect overflow exceptions.
6279 (exp2_test): Likewise.
6280 (expm1_test): Likewise.
6281 (nextafter_test): Likewise.
6282 (pow_test): Likewise.
6283 (scalbn_test): Likewise.
6284 (scalbln_test): Likewise.
6286 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6288 * sysdeps/x86_64/bits/atomic.h
6289 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6291 (atomic_exchange_acq): Likewise.
6292 (__arch_exchange_and_add_body): Likewise.
6293 (__arch_add_body): Likewise.
6294 (atomic_add_negative): Likewise.
6295 (atomic_add_zero): Likewise.
6297 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6299 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
6300 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6302 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6304 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6305 Check __x86_64__ instead of __WORDSIZE.
6307 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6309 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6311 2012-03-19 David S. Miller <davem@davemloft.net>
6313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6315 * sysdeps/sparc/fpu/fenv_private.h: New file.
6316 * sysdeps/sparc/fpu/math_private.h: Use it.
6317 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6319 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6320 (libc_feholdexcept_setroundl): Remove.
6321 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6323 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6324 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6326 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6328 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6329 int64_t instead of long int.
6330 (INSERT_WORDS64): Likwise.
6332 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6334 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6335 _Unwind_GetCFA return to _Unwind_Ptr first.
6337 2012-03-19 Joseph Myers <joseph@codesourcery.com>
6340 * math/s_clog.c: Include <float.h>.
6341 (__clog): Scale large or subnormal inputs.
6342 * math/s_clogf.c: Likewise.
6343 * math/s_clogl.c: Likewise.
6344 * math/s_clog10.c: Include <float.h>.
6345 (M_LOG10_2): Define.
6346 (__clog10): Scale large or subnormal inputs.
6347 * math/s_clog10f.c: Likewise.
6348 * math/s_clog10l.c: Likewise.
6349 * math/libm-test.inc (clog_test): Add more tests.
6350 (clog10_test): Likewise.
6351 * sysdeps/i386/fpu/libm-test-ulps: Update.
6352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6355 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6357 * math/libm-test.inc (atan2_test): Add another test.
6359 * Makerules (common-objdir-compile): Remove.
6360 * sysdeps/unix/Makefile (config-generated): Do not add
6361 $(unix-generated) to variable.
6362 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6363 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6365 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6367 [generic bits/local_lim.h] (before-compile): Do not append to
6369 [generic bits/local_lim.h] (common-generated): Likewise.
6370 [generic sys/param.h] (before-compile): Do not append to variable.
6371 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6372 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6373 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6374 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6376 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6377 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6378 [generic sys/param.h] ($(addprefix
6379 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6380 [generic sys/param.h] (common-generated): Do not append to
6382 [generic sys/param.h] (sysdep_headers): Likewise.
6383 [generic bits/errno.h] (before-compile): Do not append to
6385 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6387 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6388 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6389 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6390 [generic bits/errno.h] (common-generated): Do not append to
6392 [generic bits/ioctls.h] (before-compile): Do not append to
6394 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6396 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6397 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6398 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6400 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6401 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6402 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6403 [generic bits/ioctls.h] (common-generated): Do not append to
6405 [generic sys/syscall.h] (syscall.h): Remove variable.
6406 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6408 [generic sys/syscall.h] (before-compile): Do not append to
6410 [generic sys/syscall.h] (common-generated): Likewise.
6411 * sysdeps/unix/errnos-tmpl.c: Remove file.
6412 * sysdeps/unix/errnos.awk: Likewise.
6413 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6414 * sysdeps/unix/ioctls.awk: Likewise.
6415 * sysdeps/unix/mk-local_lim.c: Likewise.
6416 * sysdeps/unix/snarf-ioctls: Likewise.
6418 2012-03-19 Richard Henderson <rth@twiddle.net>
6420 * sysdeps/i386/fpu/fenv_private.h: New file.
6421 * sysdeps/i386/fpu/math_private.h: Use it.
6422 (math_opt_barrier, math_force_eval): Remove.
6423 (libc_feholdexcept_setround_53bit): Remove.
6424 (libc_feupdateenv_53bit): Remove.
6425 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6426 (math_opt_barrier, math_force_eval): Remove.
6427 (libc_feholdexcept): Remove.
6428 (libc_feholdexcept_setround): Remove.
6429 (libc_fetestexcept, libc_fesetenv): Remove.
6430 (libc_feupdateenv_test): Remove.
6431 (libc_feupdateenv, libc_feholdsetround): Remove.
6432 (libc_feresetround): Remove.
6434 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6435 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6437 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6438 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6439 (libc_feupdateenv_testl): New.
6440 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6441 (libc_feupdateenv_testf): New.
6442 (libc_feupdateenv): Use libc_feupdateenv_test.
6443 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6444 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6446 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6447 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6448 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6449 (libc_feresetround_noex): New.
6450 (libc_feresetround_noexf): New.
6451 (libc_feresetround_noexl): New.
6452 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6453 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6454 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6455 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6457 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6458 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6460 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6461 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6462 SET_RESTORE_ROUND_NOEX.
6463 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6464 SET_RESTORE_ROUND_NOEXF.
6465 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6466 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6467 (libc_feholdsetroundf): New.
6468 (libc_feresetround, libc_feresetroundf): New.
6470 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6471 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6472 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6474 * sysdeps/generic/math_private.h: Include <fenv.h>.
6475 (default_libc_feholdexcept): New.
6476 (default_libc_feholdexcept_setround): New.
6477 (default_libc_fesetenv, default_libc_feupdateenv): New.
6478 (libc_feholdexcept): Only define if undefined.
6479 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6480 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6481 (libc_feholdexcept_setroundl): Likewise.
6482 (libc_feholdexcept_setround_53bit): Likewise.
6483 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6484 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6485 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6486 (libc_feupdateenv_53bit): Likewise.
6487 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6488 (libc_feholdexcept): Convert from macro to inline function.
6489 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6490 (libc_fesetenv, libc_feupdateenv): Likewise.
6492 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6493 not previously defined.
6494 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6495 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6496 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6497 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6498 * sysdeps/ieee754/flt-32/math_private.h: New file.
6499 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6500 math_private.h below SET_FLOAT_WORD.
6501 (__isnan, __isinf_ns, __finite): Remove.
6502 (__isnanf, __isinf_nsf, __finitef): Remove.
6504 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6508 2012-03-17 David S. Miller <davem@davemloft.net>
6511 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6514 2012-03-16 David S. Miller <davem@davemloft.net>
6516 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6520 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6522 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6523 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6524 sysdep_routines when subdir is sysvipc.
6525 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6528 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6530 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6532 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6535 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6537 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6538 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6539 (__lround): Renamed to ...
6540 (__llround): This. Replace long int with long long int.
6541 Define lround functions as aliases of llround functions.
6542 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6544 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6546 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6547 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6548 adresses to uintptr_t. Replace "long int" and "unsigned long
6549 int" with "greg_t" on va_arg.
6551 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6553 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6554 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6556 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6557 Move e_machine check before EI_CLASS check. Handle x32
6558 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6559 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6560 SKIP_EM_IA_64 and include
6561 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6563 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6564 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6565 (add_system_dir): New macro.
6567 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6568 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6570 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6581 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6583 * math/w_j0f.c (j0f): Likewise.
6585 * math/w_j0l.c (__j0l): Likewise.
6587 * math/w_j1.c (j1): Likewise.
6589 * math/w_j1f.c (j1f): Likewise.
6591 * math/w_j1l.c (__j1l): Likewise.
6593 * math/w_jn.c (jn): Likewise.
6595 * math/w_jnf.c (jnf): Likewise.
6597 * math/w_jnl.c (__jnl): Likewise.
6599 * math/libm-test.inc (j0_test): Add more tests.
6600 (j1_test): Likewise.
6601 (jn_test): Likewise. Add trailing semicolon to existing test.
6602 (y0_test): Likewise.
6603 (y1_test): Likewise.
6604 * sysdeps/i386/fpu/libm-test-ulps: Update.
6605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6609 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6610 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6611 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6612 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6613 (__tanl): Set errno for infinite argument.
6614 * sysdeps/i386/fpu/mptan.c: Remove.
6615 * sysdeps/i386/fpu/s_tan.S: Likewise.
6616 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6617 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6618 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6619 * math/libm-test.inc (tan_test): Add more tests and enable more
6620 tests for double and long double.
6621 * sysdeps/i386/fpu/libm-test-ulps: Update.
6622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6624 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6626 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6627 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6629 2012-03-16 Roland McGrath <roland@hack.frob.com>
6631 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6632 * configure.in: Use it for both main tree and add-ons.
6633 * configure: Regenerated.
6635 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6637 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6639 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6641 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6645 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6646 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6647 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6648 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6649 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6651 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6652 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6654 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6655 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6656 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6657 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6658 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6659 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6660 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6661 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6662 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6663 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6664 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6665 * math/libm-test.inc (cos_test): Add more tests and enable more
6666 tests for long double.
6667 (sin_test): Likewise.
6668 (sincos_test): Likewise.
6669 * sysdeps/i386/fpu/libm-test-ulps: Update.
6670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6672 2012-03-16 David S. Miller <davem@davemloft.net>
6674 * sysdeps/sparc/fpu/math_private.h: New file.
6676 2012-03-15 David S. Miller <davem@davemloft.net>
6678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6688 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6692 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6693 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6695 * sysdeps/sparc/sparc-ifunc.h: New file.
6696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6720 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6722 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6723 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6724 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6725 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6736 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6737 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6738 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6739 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6741 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6743 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6747 2012-03-15 Andreas Jaeger <aj@suse.de>
6750 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6751 ieee754/flt-32 implementation for sin, cos and sincos.
6752 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6753 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6754 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6755 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6756 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6757 ieee754/flt-32 implementation for tan.
6759 * math/libm-test.inc (cos_test): Enable some large input tests for
6761 (sin_test): Likewise.
6762 (sincos_test): Likewise.
6763 (tan_test): Add tests for large input.
6765 * sysdeps/i386/fpu/libm-test-ulps: Update.
6767 2012-03-15 Andreas Jaeger <aj@suse.de>
6770 * math/libm-test.inc (cos_test): Add more test cases.
6771 (sin_test): Likewise.
6772 (sincos_test): Likewise.
6774 2012-03-15 Andreas Jaeger <aj@suse.de>
6777 * math/libm-test.inc (cos_test): Add a test case for large input
6779 (sin_test): Likewise.
6780 (sincos_test): Likewise.
6782 2012-03-15 Andreas Jaeger <aj@suse.de>,
6783 Joseph Myers <joseph@codesourcery.com>
6786 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6787 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6788 * sysdeps/i386/fpu/branred.c: Likewise.
6789 * sysdeps/i386/fpu/dosincos.c: Likewise.
6790 * sysdeps/i386/fpu/mpa.c: Likewise.
6791 * sysdeps/i386/fpu/s_cos.S: Likewise.
6792 * sysdeps/i386/fpu/s_sin.S: Likewise.
6793 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6794 * sysdeps/i386/fpu/sincos32.c: Likewise.
6796 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6798 (libc_feupdateenv_53bit): Define.
6799 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6801 (libc_feupdateenv_53bit): Define.
6803 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6804 53 bit (without extend i386 double precision).
6806 * math/libm-test.inc (sincos_test): Add tests for large input.
6810 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6812 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6816 2012-03-15 David S. Miller <davem@davemloft.net>
6818 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6819 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6820 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6821 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6845 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6846 fmin/fmax sysdep routines.
6847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6849 2012-03-14 David S. Miller <davem@davemloft.net>
6851 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6855 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6856 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6857 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6858 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6859 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6871 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6872 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6873 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6874 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6875 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6876 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6877 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6878 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6879 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6923 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6928 * sysdeps/sparc/configure.in: New file.
6929 * sysdeps/sparc/configure: Generate.
6930 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6931 * configure: Regenerate.
6932 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6933 * config.make.in (have-as-vis3): New.
6934 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6935 available use -Av9d instead of -Av9a.
6936 * sysdeps/sparc/sparc64/Makefile: Likewise.
6937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6946 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6947 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6948 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6949 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6950 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6952 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6953 fzeros/fnegs to load 0x80000000 into a float register instead of
6955 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6957 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6961 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6962 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6963 ($(inst_includedir)/bits/syscall.h): Remove rule.
6964 ($(objpfx)bits/syscall.d): Include instead of
6965 $(objpfx)syscall-list.d.
6966 (generated): Change syscall-list.h and syscall-list.d to
6967 bits/syscall.h and bits/syscall.d.
6969 2012-03-14 Roland McGrath <roland@hack.frob.com>
6972 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6974 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6977 * math/s_csqrt.c: Include <float.h>.
6978 (__csqrt): Scale large or subnormal inputs.
6979 * math/s_csqrtf.c: Likewise.
6980 * math/s_csqrtl.c: Likewise.
6981 * math/libm-test.inc (csqrt_test): Add more tests.
6982 * sysdeps/i386/fpu/libm-test-ulps: Update.
6983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6986 * math/libm-test.inc (hypot_test): Add more tests.
6988 2012-03-13 David S. Miller <davem@davemloft.net>
6991 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6992 double-precision for the calculation instead of scaling.
6994 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6996 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6997 manipulate bits before adding and subtracting TWO52[sx].
6998 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6999 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7001 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7003 2012-03-13 David S. Miller <davem@davemloft.net>
7005 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7006 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7007 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7008 rtld-global-offsets.h
7009 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7011 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7014 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7016 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7017 'err' in the ifdef scope in which it is actually used.
7019 * nss/nss_db/db-init.c: Include string.h
7021 2012-03-12 David S. Miller <davem@davemloft.net>
7023 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7024 masking out of the most significant byte of random value used.
7025 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7026 Fix coding style in previous change.
7028 * sysdeps/unix/sysv/linux/kernel-features.h
7029 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7030 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7032 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7035 2012-03-11 David S. Miller <davem@davemloft.net>
7037 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7038 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7039 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7040 for 'resultvar' otherwise things get truncated on 64-bit.
7042 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7043 Fix masking out of the most significant byte of random value used.
7045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7047 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7051 2012-03-09 David S. Miller <davem@davemloft.net>
7053 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7054 variables with appropriate CPP guards.
7055 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7056 frame pointer, not the stack pointer. Correct layout comments. Fix test
7057 on resulting framesize and the management of the outregs buffer for pltexit.
7058 Preserve floating point return values across _dl_call_pltexit call.
7059 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7060 framesize and the management of the outregs buffer for pltexit.
7061 Preserve floating point return values across _dl_call_pltexit
7063 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7064 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7065 (print_exit): Fix format string for return register value.
7067 2012-03-10 Joseph Myers <joseph@codesourcery.com>
7069 * sunrpc/Makefile (others): Add rpcgen.
7070 ($(objpfx)rpcgen): Remove special build rule and dependency on
7072 * sunrpc/rpcgen.c: New file.
7074 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7077 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7078 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7079 * sysdeps/i386/crti.S: Likewise.
7080 * sysdeps/i386/crtn.S: Likewise.
7081 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7082 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7083 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7084 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7085 * sysdeps/sh/crti.S: Likewise.
7086 * sysdeps/sh/crtn.S: Likewise.
7087 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7090 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7092 * locale/programs/locfile-kw.gperf: Likewise.
7093 * locale/programs/charmap-kw.h: Regenerated.
7094 * locale/programs/locfile-kw.h: Likewise.
7097 * intl/plural.y: Replace FSF snail mail address with URL.
7098 * intl/plural.c: Regenerated.
7100 2012-03-09 Richard Henderson <rth@twiddle.net>
7102 * include/math_private.h: Remove file.
7103 * math/math_private.h: Move file ...
7104 * sysdeps/generic/math_private.h: ... here.
7106 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7107 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7108 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7110 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
7111 and <math_private.h>.
7112 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7113 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7114 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7115 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7116 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7117 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7118 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7119 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7120 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7121 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7122 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7123 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7124 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7125 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7126 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7127 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7128 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7129 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7130 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7131 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7132 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7133 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7134 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7135 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7136 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7137 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7138 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7139 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7140 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7141 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7142 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7143 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7144 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7145 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7146 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7147 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7148 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7149 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7150 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7151 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7152 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7153 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7154 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7155 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7156 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7157 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7158 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7159 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7160 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7161 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7162 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7163 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7164 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7165 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7166 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7167 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7168 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7169 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7170 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7171 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7172 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7173 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7174 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7175 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7176 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7177 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7178 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7179 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7180 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7181 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7182 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7183 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7184 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7185 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7186 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7187 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7188 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7189 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7190 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7191 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7192 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7193 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7194 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7195 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7196 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7197 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7198 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7199 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7200 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7201 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7202 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7203 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7204 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7205 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7206 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7207 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7208 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7209 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7210 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7211 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7212 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7213 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7214 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7215 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7216 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7217 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7218 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7219 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7220 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7221 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7222 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7223 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7224 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7225 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7226 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7227 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7228 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7229 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7230 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7231 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7232 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7233 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7234 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7235 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7236 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7237 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7238 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7239 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7240 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7241 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7242 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7243 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7244 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7245 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7246 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7247 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7248 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7249 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7250 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7251 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7252 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7253 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7254 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7255 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7256 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7257 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7258 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7259 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7260 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7261 * sysdeps/ieee754/k_standard.c: Likewise.
7262 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7263 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7265 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7266 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7267 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7268 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7270 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7271 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7272 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7274 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7275 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7276 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7277 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7278 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7279 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7280 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7281 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7282 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7283 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7284 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7285 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7286 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7287 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7288 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7289 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7290 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7291 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7292 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7293 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7294 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7295 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7296 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7297 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7298 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7300 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7301 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7302 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7303 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7304 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7305 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7306 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7307 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7308 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7309 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7310 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7311 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7312 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7313 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7314 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7315 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7316 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7317 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7318 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7319 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7320 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7321 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7322 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7323 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7324 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7325 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7326 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7327 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7328 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7329 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7330 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7331 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7332 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7333 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7334 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7335 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7336 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7337 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7338 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7339 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7340 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7341 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7342 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7343 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7344 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7345 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7346 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7347 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7348 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7349 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7350 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7351 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7352 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7353 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7354 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7355 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7356 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7357 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7358 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7359 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7360 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7361 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7362 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7363 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7364 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7365 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7366 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7367 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7368 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7369 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7370 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7371 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7372 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7373 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7374 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7375 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7376 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7377 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7378 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7379 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7380 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7381 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7382 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7383 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7384 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7385 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7386 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7387 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7388 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7389 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7390 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7391 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7392 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7393 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7394 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7395 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7396 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7397 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7398 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7399 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7400 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7401 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7402 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7403 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7404 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7405 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7406 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7407 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7408 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7409 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7410 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7411 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7412 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7413 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7414 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7415 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7416 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7417 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7418 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7419 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7420 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7421 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7422 * sysdeps/ieee754/s_lib_version.c: Likewise.
7423 * sysdeps/ieee754/s_matherr.c: Likewise.
7424 * sysdeps/ieee754/s_signgam.c: Likewise.
7425 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7426 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7427 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7428 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7429 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7430 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7431 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7432 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7433 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7434 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7435 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7436 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7437 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7438 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7439 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7440 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7441 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7442 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7443 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7444 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7445 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7447 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7449 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7450 * sunrpc/rpc_main.c: Likewise.
7451 * sunrpc/rpc_svcout.c: Likewise.
7453 2012-03-09 David S. Miller <davem@davemloft.net>
7455 * include/math_private.h: New file.
7457 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7459 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7460 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7461 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7462 from <bits/socket_type.h>.
7463 (enum __socket_type): Don't define here.
7464 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7465 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7469 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7472 * Makerules ($(inst_includedir)/%.h): New rule.
7473 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7474 (install-others): Remove variable setting.
7475 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7477 2012-03-08 Richard Henderson <rth@twiddle.net>
7479 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7480 from macro to inline function; merge with the
7481 !__LIBC_INTERNAL_MATH_INLINES version.
7482 (__ieee754_sqrtf): Likewise.
7484 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7486 (__rintf, __floor, __floorf): Likewise.
7488 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7489 macro to inline function.
7490 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7492 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7493 not <math/math_private.h>.
7495 2012-03-08 David S. Miller <davem@davemloft.net>
7497 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7499 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7501 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7503 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7505 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7506 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7508 2012-03-08 Ulrich Drepper <drepper@gmail.com>
7510 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7511 be defined individually, they must be defined as a block. Define
7512 S for printing a string instead of hidint the different by using a
7513 macro for adding the 'l'.
7514 * stdio-common/tst-fphex-wide.c: Adjust.
7516 2012-03-07 Marek Polacek <polacek@redhat.com>
7518 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7520 2012-03-08 Marek Polacek <polacek@redhat.com>
7523 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7524 * stdio-common/tst-fphex.c: Define a few macros to make the
7525 test reusable. Use them.
7526 * stdio-common/tst-fphex-wide.c: New file.
7528 2012-03-08 Joseph Myers <joseph@codesourcery.com>
7531 * manual/macros.texi (gnusystems): New macro.
7532 (nongnusystems): Likewise.
7533 (gnulinuxhurdsystems): Likewise.
7534 (gnuhurdsystems): Likewise..
7535 (gnulinuxsystems): Likewise.
7536 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7537 variants of the GNU system, not "GNU system".
7538 * manual/conf.texi: Likewise.
7539 * manual/errno.texi: Likewise. Update example of errno macro
7541 * manual/filesys.texi: Likewise.
7542 (getumask): Document as specific to GNU/Hurd.
7543 * manual/install.texi: Likewise. Reword some references to
7545 * manual/intro.texi: Likewise.
7546 * manual/io.texi: Likewise.
7547 (File Name Portability): Detail which constraints are inapplicable
7548 to all GNU systems and which are only inapplicable to GNU/Hurd.
7549 * manual/job.texi: Likewise.
7550 * manual/llio.texi: Likewise.
7551 (O_NOCTTY): Document as present on GNU/Linux.
7552 * manual/maint.texi: Likewise.
7553 * manual/memory.texi: Likewise.
7554 * manual/pattern.texi: Likewise.
7555 * manual/pipe.texi: Likewise.
7556 * manual/process.texi: Likewise.
7557 * manual/resource.texi: Likewise.
7558 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7560 * manual/setjmp.texi: Likewise.
7561 * manual/signal.texi: Likewise.
7562 * manual/startup.texi: Likewise.
7563 * manual/stdio.texi: Likewise.
7564 * manual/terminal.texi: Likewise.
7565 (ONLCR): Document as POSIX.
7566 (OXTABS): Document availability on GNU/Linux as XTABS.
7567 (ONOEOT): Document availability separately from other bits.
7568 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7569 * manual/time.texi: Likewise.
7570 * manual/users.texi: Likewise.
7571 * INSTALL: Regenerated.
7572 * sysdeps/gnu/errlist.c: Regenerated.
7574 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7575 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7576 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7578 * configure: Regenerated.
7580 2012-03-07 Joseph Myers <joseph@codesourcery.com>
7582 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7583 default includes instead of AC_HEADER_CHECK.
7584 * sysdeps/i386/configure: Regenerated.
7587 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7588 * math/s_cacoshf.c (__cacoshf): Likewise.
7589 * math/s_cacoshl.c (__cacoshl): Likewise.
7590 * math/s_casinh.c (__casinh): Set signs of result from argument.
7591 * math/s_casinhf.c (__casinhf): Likewise.
7592 * math/s_casinhl.c (__casinhl): Likewise.
7593 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7594 (casinh_test): Add more tests.
7595 * sysdeps/i386/fpu/libm-test-ulps: Update.
7596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7598 2012-03-07 Ulrich Drepper <drepper@gmail.com>
7600 * po/zh_TW.po: Update from translation team.
7602 * login/Makefile (distribute): Remove variable.
7603 * catgets/Makefile: Likewise.
7604 * mach/Makefile: Likewise.
7605 * malloc/Makefile: Likewise.
7606 * misc/Makefile: Likewise.
7607 * iconv/Makefile: Likewise.
7608 * nscd/Makefile: Likewise.
7609 * hurd/Makefile: Likewise.
7610 * manual/Makefile: Likewise.
7611 * locale/Makefile: Likewise.
7612 * intl/Makefile: Likewise.
7613 * conform/Makefile: Likewise.
7614 * nss/Makefile: Likewise.
7615 * time/Makefile: Likewise.
7616 * soft-fp/Makefile: Likewise.
7617 * dirent/Makefile: Likewise.
7618 * gmon/Makefile: Likewise.
7619 * po/Makefile: Likewise.
7620 * rt/Makefile: Likewise.
7621 * socket/Makefile: Likewise.
7622 * math/Makefile: Likewise.
7623 * signal/Makefile: Likewise.
7624 * debug/Makefile: Likewise.
7625 * elf/Makefile: Likewise.
7626 * timezone/Makefile: Likewise.
7627 * stdlib/Makefile: Likewise.
7628 * iconvdata/Makefile: Likewise.
7629 * sunrpc/Makefile: Likewise.
7630 * io/Makefile: Likewise.
7631 * argp/Makefile: Likewise.
7632 * inet/Makefile: Likewise.
7633 * hesiod/Makefile: Likewise.
7634 * grp/Makefile: Likewise.
7635 * csu/Makefile: Likewise.
7636 * wctype/Makefile: Likewise.
7637 * crypt/Makefile: Likewise.
7638 * libio/Makefile: Likewise.
7639 * string/Makefile: Likewise.
7640 * nis/Makefile: Likewise.
7641 * resolv/Makefile: Likewise.
7642 * stdio-common/Makefile: Likewise.
7643 * wcsmbs/Makefile: Likewise.
7644 * dlfcn/Makefile: Likewise.
7645 * posix/Makefile: Likewise.
7648 * timezone/Makefile: Don't install timezone files, just the programs
7651 2012-03-06 Ulrich Drepper <drepper@gmail.com>
7653 * nss/databases.def: Add missing gshadow entry.
7655 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7657 2012-03-06 Marek Polacek <polacek@redhat.com>
7660 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7661 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7662 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7663 * stdio-common/tst-long-dbl-fphex.c: New file.
7665 2012-03-06 David S. Miller <davem@davemloft.net>
7667 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7668 (set_obp_int): New function.
7669 (get_obp_int): New function.
7670 (__get_clockfreq_via_dev_openprom): Likewise.
7671 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7672 Avoid unused variable warnings on 'val' and use builtin_expect.
7673 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7675 (INLINE_CLONE_SYSCALL): Likewise.
7677 2012-03-05 David S. Miller <davem@davemloft.net>
7679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7681 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7685 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7687 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7689 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
7691 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7692 Replace gettimeofday with __vdso_gettimeofday.
7694 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7695 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7696 __vdso_clock_gettime and __vdso_getcpu.
7698 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7699 time with __vdso_time.
7701 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7703 * manual/lang.texi (size_t): Note types to which size_t may be
7704 equivalent with the GNU C Library, but do not describe when
7705 differences between them are significant.
7707 2012-03-05 Andreas Jaeger <aj@suse.de>
7709 * sysdeps/i386/fpu/libm-test-ulps: Update.
7711 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7714 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7715 (__ieee754_pow): Save and restore rounding mode and use
7716 round-to-nearest for main computations.
7717 * math/libm-test.inc (pow_test_tonearest): New function.
7718 (pow_test_towardzero): Likewise.
7719 (pow_test_downward): Likewise.
7720 (pow_test_upward): Likewise.
7721 (main): Call the new functions.
7722 * sysdeps/i386/fpu/libm-test-ulps: Update.
7723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7726 * math/libm-test.inc (cosh_test_tonearest): New function.
7727 (cosh_test_towardzero): Likewise.
7728 (cosh_test_downward): Likewise.
7729 (cosh_test_upward): Likewise.
7730 (sinh_test_tonearest): Likewise.
7731 (sinh_test_towardzero): Likewise.
7732 (sinh_test_downward): Likewise.
7733 (sinh_test_upward): Likewise.
7734 (main): Call the new functions.
7735 * sysdeps/i386/fpu/libm-test-ulps: Update.
7736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7738 2012-03-05 Tom de Vries <tom@codesourcery.com>
7740 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7741 default stack guard is set in last bytes.
7742 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7744 2012-03-05 Kees Cook <keescook@chromium.org>
7746 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7749 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7750 possibly allocate from heap instead of stack.
7751 * stdio-common/bug-vfprintf-nargs.c: New file.
7752 * stdio-common/Makefile (tests): Add nargs overflow test.
7754 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7758 2012-03-03 Marek Polacek <polacek@redhat.com>
7760 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7761 * math/math_private.h: Likewise.
7762 * stdlib/tst-strtod.c: Likewise.
7763 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7764 * sysdeps/x86_64/bits/atomic.h: Likewise.
7766 2012-03-02 David S. Miller <davem@davemloft.net>
7768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7772 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7773 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7774 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7775 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7777 2012-03-02 Roland McGrath <roland@hack.frob.com>
7780 * manual/examples/README: New file, says the example source files
7781 can be used under GPL>=2.
7782 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7783 line containing just "*/".
7784 * manual/examples/add.c: Add copyright header (GPL>=2).
7785 * manual/examples/argp-ex1.c: Likewise.
7786 * manual/examples/argp-ex2.c: Likewise.
7787 * manual/examples/argp-ex3.c: Likewise.
7788 * manual/examples/argp-ex4.c: Likewise.
7789 * manual/examples/atexit.c: Likewise.
7790 * manual/examples/db.c: Likewise.
7791 * manual/examples/dir.c: Likewise.
7792 * manual/examples/dir2.c: Likewise.
7793 * manual/examples/execinfo.c: Likewise.
7794 * manual/examples/filecli.c: Likewise.
7795 * manual/examples/filesrv.c: Likewise.
7796 * manual/examples/fmtmsgexpl.c: Likewise.
7797 * manual/examples/genpass.c: Likewise.
7798 * manual/examples/inetcli.c: Likewise.
7799 * manual/examples/inetsrv.c: Likewise.
7800 * manual/examples/isockad.c: Likewise.
7801 * manual/examples/longopt.c: Likewise.
7802 * manual/examples/memopen.c: Likewise.
7803 * manual/examples/memstrm.c: Likewise.
7804 * manual/examples/mkfsock.c: Likewise.
7805 * manual/examples/mkisock.c: Likewise.
7806 * manual/examples/mygetpass.c: Likewise.
7807 * manual/examples/pipe.c: Likewise.
7808 * manual/examples/popen.c: Likewise.
7809 * manual/examples/rprintf.c: Likewise.
7810 * manual/examples/search.c: Likewise.
7811 * manual/examples/select.c: Likewise.
7812 * manual/examples/setjmp.c: Likewise.
7813 * manual/examples/sigh1.c: Likewise.
7814 * manual/examples/sigusr.c: Likewise.
7815 * manual/examples/stpcpy.c: Likewise.
7816 * manual/examples/strdupa.c: Likewise.
7817 * manual/examples/strftim.c: Likewise.
7818 * manual/examples/strncat.c: Likewise.
7819 * manual/examples/subopt.c: Likewise.
7820 * manual/examples/swapcontext.c: Likewise.
7821 * manual/examples/termios.c: Likewise.
7822 * manual/examples/testopt.c: Likewise.
7823 * manual/examples/testpass.c: Likewise.
7824 * manual/examples/timeval_subtract.c: Likewise.
7827 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7829 * manual/timeval_subtract.c.texi: ... here, new file.
7831 2012-03-02 David S. Miller <davem@davemloft.net>
7833 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7835 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7838 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7839 (__sin): Save and restore rounding mode and use round-to-nearest
7840 for all computations.
7841 (__cos): Save and restore rounding mode and use round-to-nearest
7842 for all computations.
7843 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7845 (tan): Save and restore rounding mode and use round-to-nearest for
7847 * math/libm-test.inc (cos_test_tonearest): New function.
7848 (cos_test_towardzero): Likewise.
7849 (cos_test_downward): Likewise.
7850 (cos_test_upward): Likewise.
7851 (sin_test_tonearest): Likewise.
7852 (sin_test_towardzero): Likewise.
7853 (sin_test_downward): Likewise.
7854 (sin_test_upward): Likewise.
7855 (tan_test_tonearest): Likewise.
7856 (tan_test_towardzero): Likewise.
7857 (tan_test_downward): Likewise.
7858 (tan_test_upward): Likewise.
7859 (main): Call the new functions.
7860 * sysdeps/i386/fpu/libm-test-ulps: Update.
7861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7864 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7865 small n, then large n, before computing and testing k+n.
7866 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7867 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7869 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7871 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7872 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7873 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7874 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7875 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7876 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7877 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7878 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7879 * math/libm-test.inc (scalbn_test): Add more tests.
7880 (scalbln_test): Likewise.
7882 * manual/filesys.texi (mode_t): Describe constraints on size and
7883 signedness, not exact equivalence to a particular type.
7885 (ino64_t): Likewise.
7887 (nlink_t): Likewise.
7888 (blkcnt_t): Likewise.
7889 (blkcnt64_t): Likewise.
7890 * manual/llio.texi (off_t): Likewise.
7893 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7894 (__ieee754_exp): Save and restore rounding mode and use
7895 round-to-nearest for all computations.
7896 * math/libm-test.inc (exp_test_tonearest): New function.
7897 (exp_test_towardzero): Likewise.
7898 (exp_test_downward): Likewise.
7899 (exp_test_upward): Likewise.
7900 (main): Call the new functions.
7901 * sysdeps/i386/fpu/libm-test-ulps: Update.
7902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7904 2012-03-01 Chris Demetriou <cgd@google.com>
7906 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7907 have predictable order.
7909 2012-03-01 David S. Miller <davem@davemloft.net>
7911 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7913 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7914 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7915 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7916 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7918 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7919 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7920 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7922 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7923 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7924 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7925 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7926 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7930 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7931 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7932 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7934 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7935 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7936 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7937 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7938 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7939 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7940 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7941 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7942 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7943 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7944 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7945 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7946 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7947 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7948 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7949 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7950 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7951 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7952 * sysdeps/sparc/elf/configure: Regenerated.
7954 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7956 * configure.in (AS, LD): Require binutils 2.20 or later.
7957 * configure: Regenerated.
7958 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7959 as required minimum version.
7960 * INSTALL: Regenerated.
7964 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7965 before squaring exponent.
7966 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7967 bottom long double and 27 bits of top long double before squaring
7969 * math/libm-test.inc (erfc_test): Add more tests.
7970 * sysdeps/i386/fpu/libm-test-ulps: Update.
7971 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7974 2012-03-01 Kai Tietz <ktietz@redhat.com>
7976 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7977 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7978 containing bit-fields.
7979 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7980 * soft-fp/single.h (_FP_UNION_S): Likewise.
7981 * soft-fp/double.h (_FP_UNION_D): Likewise.
7983 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7986 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7987 not include ../strcmp.S.
7988 [USE_AS_STRNCASECMP_L]: Likewise.
7989 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7990 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7991 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7992 (__strncasecmp_l_ia32): Define as alias to
7993 __strncasecmp_l_nonascii.
7996 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7997 * sysdeps/i386/fpu/libm-test-ulps: Update.
7998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8000 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8003 2012-02-29 Jeff Law <law@redhat.com>
8005 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8008 2012-02-29 Marek Polacek <polacek@redhat.com>
8011 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8012 * elf/Makefile: Add rules to run tst-unused-dep.out.
8014 2012-02-28 David S. Miller <davem@davemloft.net>
8016 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8017 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8018 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8019 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8020 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8021 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8023 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8025 * math/libm-test.inc (llround_test): Move one test from
8026 lround_test. Use TEST_f_L in moved test.
8027 (lround_test): Move misplaced test to llround_test. Add testcase
8030 2012-02-28 Ulrich Drepper <drepper@gmail.com>
8032 * sysdeps/x86_64/fpu/e_expf.S: New file.
8033 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8035 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8038 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8039 of remain_len that may cause incomplete multi-byte character and
8041 * posix/bug-regex33.c: New file.
8042 * posix/Makefile (tests): Add bug-regex33.
8044 2012-02-28 Joseph Myers <joseph@codesourcery.com>
8046 * manual/macros.texi: New file.
8047 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8048 * manual/libc.texinfo: Include macros.texi.
8049 * manual/creatute.texi: Likewise.
8050 * manual/install.texi: Likewise.
8051 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8052 @glibcadj{} in references to the GNU C Library.
8053 * manual/charset.texi: Likewise.
8054 * manual/conf.texi: Likewise.
8055 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8056 when not using those macros.
8057 * manual/creature.texi: Likewise.
8058 * manual/crypt.texi: Likewise.
8059 * manual/errno.texi: Likewise.
8060 * manual/filesys.texi: Likewise.
8061 * manual/header.texi: Likewise.
8062 * manual/install.texi: Likewise.
8063 * manual/intro.texi: Likewise.
8064 * manual/io.texi: Likewise.
8065 * manual/job.texi: Likewise.
8066 * manual/lang.texi: Likewise.
8067 * manual/libc.texiinfo: Likewise.
8068 * manual/llio.texi: Likewise.
8069 * manual/locale.texi: Likewise.
8070 * manual/maint.texi: Likewise.
8071 * manual/math.texi: Likewise.
8072 * manual/memory.texi: Likewise.
8073 * manual/message.texi: Likewise.
8074 * manual/nss.texi: Likewise.
8075 * manual/pattern.texi: Likewise.
8076 * manual/process.texi: Likewise.
8077 * manual/resource.texi: Likewise.
8078 * manual/search.texi: Likewise.
8079 * manual/setjmp.texi: Likewise.
8080 * manual/signal.texi: Likewise.
8081 * manual/socket.texi: Likewise.
8082 * manual/startup.texi: Likewise.
8083 * manual/stdio.texi: Likewise.
8084 * manual/string.texi: Likewise.
8085 * manual/sysinfo.texi: Likewise.
8086 * manual/syslog.texi: Likewise.
8087 * manual/terminal.texi: Likewise.
8088 * manual/time.texi: Likewise.
8089 * manual/users.texi: Likewise.
8090 * INSTALL: Regenerated.
8091 * NOTES: Regenerated.
8092 * sysdeps/gnu/errlist.c: Regenerated.
8094 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8096 * include/dirent.h: Include <dirstream.h> before
8099 2012-02-28 David S. Miller <davem@davemloft.net>
8101 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8102 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8103 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8104 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8106 2012-02-27 David S. Miller <davem@davemloft.net>
8108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8110 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8111 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8114 frame pointer instead of stack pointer relative arg slot.
8115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8116 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8117 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8119 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8122 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8124 2012-02-27 David S. Miller <davem@davemloft.net>
8126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8130 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8131 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8132 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8133 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8135 2012-02-27 Joseph Myers <joseph@codesourcery.com>
8137 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8138 later. Allow versions 5-9.
8139 * configure: Regenerated.
8140 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8141 required minimum version and 4.6 as recommended version. Do not
8142 mention bugs in GCC 2.7 and 2.8.
8143 * INSTALL: Regenerated.
8145 2012-02-27 David S. Miller <davem@davemloft.net>
8147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8151 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8152 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8153 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8154 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8156 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8157 manipulate bits before adding and subtracting TWO112[sx].
8158 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8160 2012-02-27 Roland McGrath <roland@hack.frob.com>
8163 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8164 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8165 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8166 being in POSIX, because they are in 1003.1-2008.
8168 * rt/tst-aio.c: Include <fcntl.h>.
8169 * rt/tst-aio7.c: Likewise.
8170 * rt/tst-aio64.c: Likewise.
8172 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8174 2012-02-27 Joseph Myers <joseph@codesourcery.com>
8176 * manual/install.texi (--with-headers): Describe headers as
8177 interface headers, not private headers.
8178 (Specific advice for GNU/Linux systems): Describe use of headers
8179 from "make headers_install", not private headers from older
8181 * INSTALL: Regenerated.
8182 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8184 * sysdeps/unix/sysv/linux/configure: Regenerated.
8186 * manual/llio.texi (fclean): Remove documentation.
8188 * manual/Makefile (libc-texi-generated): New variable. Include
8190 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8191 $(libc-texi-generated), not duplicated list of files.
8192 (version.texi, stamp-version): New rules.
8193 (realclean): Remove $(libc-texi-generated), not individual files
8194 from that list. Do not remove dir-add.texinfo.
8195 * manual/libc.texinfo: Comment out uses of edition numbers and
8196 references to printed manual. Remove last-updated dates.
8197 (EDITION): Comment out.
8199 (VERSION, UPDATED): Remove.
8200 (version.texi): Include.
8202 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8204 * sysdeps/posix/spawni.c: Include <signal.h>.
8205 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8206 * sysdeps/pthread/aio_fsync.c: Likewise.
8208 2012-02-26 Ulrich Drepper <drepper@gmail.com>
8210 * conform/Makefile (tests): Run only when not cross-compiling and
8211 when fast-check is not defined.
8213 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8214 * conform/data/limits.h-data: Fixes for POSIX2008.
8215 * conform/run-conformtest.sh: Run all tests.
8216 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8218 * include/bits/dlfcn.h: Likewise.
8219 * include/langinfo.h: Likewise.
8220 * include/monetary.h: Likewise.
8221 * include/sys/poll.h: Likewise.
8223 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8225 * posix/spawn.h: Define __need_sigset_t.
8226 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8227 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8228 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8229 to get sigevent_t only.
8230 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8232 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8233 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8234 process_vm_writev only for __USE_GNU.
8235 * termios/termios.h: Declare tcgetsid also for POSIX2008.
8237 * conform/Makefile: For now ignore errors from run-conformtest.
8238 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8239 POSIX to avoid namespace pollution. Don't prepend headers.
8240 * conform/data/aio.h-data: Fixes for POSIX testing.
8241 * conform/data/fcntl.h-data: Likewise.
8242 * conform/data/glob.h-data: Likewise.
8243 * conform/data/grp.h-data: Likewise.
8244 * conform/data/pthread.h-data: Likewise.
8245 * conform/data/pwd.h-data: Likewise.
8246 * conform/data/signal.h-data: Likewise.
8247 * conform/data/spawn.h-data: Likewise.
8248 * conform/data/stdio.h-data: Likewise.
8249 * conform/data/stdlib.h-data: Likewise.
8250 * conform/data/stropts.h-data: Likewise.
8251 * conform/data/sys/mman.h-data: Likewise.
8252 * conform/data/sys/stat.h-data: Likewise.
8253 * conform/data/sys/types.h-data: Likewise.
8254 * conform/data/sys/wait.h-data: Likewise.
8255 * conform/data/time.h-data: Likewise.
8256 * conform/data/unistd.h-data: Likewise.
8257 * conform/data/utime.h-data: Likewise.
8259 * io/sys/stat.h: fchmod was always in POSIX.
8260 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8261 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8262 * rt/aio.h: Define __need_timespec before including <time.h>.
8263 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8264 struct. Add forward declaration of pthread_attr_t and use it in
8266 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8267 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8268 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8269 always remove CLK_TCK definition.
8271 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8273 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8275 2012-02-25 Ulrich Drepper <drepper@gmail.com>
8277 * conform/run-conformtest.sh: New file.
8278 * conform/Makefile: Run run-conformtest for tests.
8279 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8282 * conform/data/uchar.h-data: New file.
8283 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8284 * conform/data/arpa/inet.h-data: Likewise.
8285 * conform/data/assert.h-data: Likewise.
8286 * conform/data/complex.h-data: Likewise.
8287 * conform/data/cpio.h-data: Likewise.
8288 * conform/data/ctype.h-data: Likewise.
8289 * conform/data/dirent.h-data: Likewise.
8290 * conform/data/dlfcn.h-data: Likewise.
8291 * conform/data/errno.h-data: Likewise.
8292 * conform/data/fcntl.h-data: Likewise.
8293 * conform/data/float.h-data: Likewise.
8294 * conform/data/fmtmsg.h-data: Likewise.
8295 * conform/data/fnmatch.h-data: Likewise.
8296 * conform/data/ftw.h-data: Likewise.
8297 * conform/data/glob.h-data: Likewise.
8298 * conform/data/grp.h-data: Likewise.
8299 * conform/data/iconv.h-data: Likewise.
8300 * conform/data/inttypes.h-data: Likewise.
8301 * conform/data/langinfo.h-data: Likewise.
8302 * conform/data/libgen.h-data: Likewise.
8303 * conform/data/limits.h-data: Likewise.
8304 * conform/data/locale.h-data: Likewise.
8305 * conform/data/math.h-data: Likewise.
8306 * conform/data/monetary.h-data: Likewise.
8307 * conform/data/mqueue.h-data: Likewise.
8308 * conform/data/ndbm.h-data: Likewise.
8309 * conform/data/net/if.h-data: Likewise.
8310 * conform/data/netdb.h-data: Likewise.
8311 * conform/data/netinet/in.h-data: Likewise.
8312 * conform/data/nl_types.h-data: Likewise.
8313 * conform/data/poll.h-data: Likewise.
8314 * conform/data/pthread.h-data: Likewise.
8315 * conform/data/pwd.h-data: Likewise.
8316 * conform/data/regex.h-data: Likewise.
8317 * conform/data/sched.h-data: Likewise.
8318 * conform/data/search.h-data: Likewise.
8319 * conform/data/semaphore.h-data: Likewise.
8320 * conform/data/setjmp.h-data: Likewise.
8321 * conform/data/signal.h-data: Likewise.
8322 * conform/data/spawn.h-data: Likewise.
8323 * conform/data/stdarg.h-data: Likewise.
8324 * conform/data/stdio.h-data: Likewise.
8325 * conform/data/stdlib.h-data: Likewise.
8326 * conform/data/string.h-data: Likewise.
8327 * conform/data/strings.h-data: Likewise.
8328 * conform/data/stropts.h-data: Likewise.
8329 * conform/data/sys/ipc.h-data: Likewise.
8330 * conform/data/sys/mman.h-data: Likewise.
8331 * conform/data/sys/msg.h-data: Likewise.
8332 * conform/data/sys/resource.h-data: Likewise.
8333 * conform/data/sys/select.h-data: Likewise.
8334 * conform/data/sys/sem.h-data: Likewise.
8335 * conform/data/sys/shm.h-data: Likewise.
8336 * conform/data/sys/socket.h-data: Likewise.
8337 * conform/data/sys/stat.h-data: Likewise.
8338 * conform/data/sys/statvfs.h-data: Likewise.
8339 * conform/data/sys/time.h-data: Likewise.
8340 * conform/data/sys/timeb.h-data: Likewise.
8341 * conform/data/sys/times.h-data: Likewise.
8342 * conform/data/sys/types.h-data: Likewise.
8343 * conform/data/sys/uio.h-data: Likewise.
8344 * conform/data/sys/un.h-data: Likewise.
8345 * conform/data/sys/utsname.h-data: Likewise.
8346 * conform/data/sys/wait.h-data: Likewise.
8347 * conform/data/syslog.h-data: Likewise.
8348 * conform/data/tar.h-data: Likewise.
8349 * conform/data/termios.h-data: Likewise.
8350 * conform/data/utime.h-data: Likewise.
8351 * conform/data/utmpx.h-data: Likewise.
8352 * conform/data/varargs.h-data: Likewise.
8353 * conform/data/wchar.h-data: Likewise.
8354 * conform/data/wctype.h-data: Likewise.
8355 * conform/data/wordexp.h-data: Likewise.
8357 * include/stropts.h: New file.
8358 * include/uchar.h: New file.
8359 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8360 * include/assert.h: Likewise.
8361 * include/ctype.h: Likewise.
8362 * include/dirent.h: Likewise.
8363 * include/dlfcn.h: Likewise.
8364 * include/fcntl.h: Likewise.
8365 * include/fnmatch.h: Likewise.
8366 * include/glob.h: Likewise.
8367 * include/grp.h: Likewise.
8368 * include/libio.h: Likewise.
8369 * include/locale.h: Likewise.
8370 * include/math.h: Likewise.
8371 * include/net/if.h: Likewise.
8372 * include/netdb.h: Likewise.
8373 * include/netinet/in.h: Likewise.
8374 * include/pthread.h: Likewise.
8375 * include/pwd.h: Likewise.
8376 * include/regex.h: Likewise.
8377 * include/sched.h: Likewise.
8378 * include/search.h: Likewise.
8379 * include/setjmp.h: Likewise.
8380 * include/signal.h: Likewise.
8381 * include/stdio.h: Likewise.
8382 * include/stdlib.h: Likewise.
8383 * include/string.h: Likewise.
8384 * include/sys/cdefs.h: Likewise.
8385 * include/sys/mman.h: Likewise.
8386 * include/sys/msg.h: Likewise.
8387 * include/sys/resource.h: Likewise.
8388 * include/sys/select.h: Likewise.
8389 * include/sys/socket.h: Likewise.
8390 * include/sys/stat.h: Likewise.
8391 * include/sys/statvfs.h: Likewise.
8392 * include/sys/time.h: Likewise.
8393 * include/sys/times.h: Likewise.
8394 * include/sys/uio.h: Likewise.
8395 * include/sys/utsname.h: Likewise.
8396 * include/sys/wait.h: Likewise.
8397 * include/termios.h: Likewise.
8398 * include/time.h: Likewise.
8399 * include/ulimit.h: Likewise.
8400 * include/unistd.h: Likewise.
8401 * include/utime.h: Likewise.
8402 * include/wchar.h: Likewise.
8403 * include/wctype.h: Likewise.
8404 * include/wordexp.h: Likewise.
8406 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8408 * time/time.h: TIME_UTC must be a macro.
8409 Make timespec_get available for ISO C11 only as well.
8411 2012-02-24 Ulrich Drepper <drepper@gmail.com>
8413 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8414 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8416 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8418 * configure.in: Use -o not -a in test for unsupported multi-arch.
8420 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8422 * manual/texinfo.tex: Update to version 2012-01-19.16.
8424 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8426 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8428 2012-02-24 Roland McGrath <roland@hack.frob.com>
8431 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8432 * manual/fdl-1.3.texi: New file.
8433 * manual/fdl-1.1.texi: File removed.
8436 * manual/libc.texinfo (FDL_VERSION): New @set.
8437 Use it for mention of FDL in cover text.
8438 (Documentation License): Use it in @include file name.
8440 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8441 Roland McGrath <roland@hack.frob.com>
8444 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8445 not LONG_LONG_MAX and LONG_LONG_MIN.
8446 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8447 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8449 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8451 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8455 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8456 manipulate bits before adding and subtracting TWO23[sx].
8457 * math/libm-test.inc (nearbyint_test): Add more tests.
8459 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8462 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8463 bits before adding and subtracting TWO23[sx].
8464 * math/libm-test.inc (rint_test): Add more tests.
8465 (rint_test_tonearest): Likewise.
8466 (rint_test_towardzero): Likewise.
8467 (rint_test_downward): Likewise.
8468 (rint_test_upward: Likewise.
8470 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8473 * include/stdc-predef.h: New file. Extracted from features.h.
8474 * include/features.h: Include stdc-predef.h.
8475 * Makefile (headers): Add stdc-predef.h.
8476 * CONFORMANCE (Compiler limitations): Update.
8478 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8480 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8482 2012-02-21 David S. Miller <davem@davemloft.net>
8484 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8485 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8487 2012-02-20 David S. Miller <davem@davemloft.net>
8489 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8490 using a normal save/restore sequence, rather than allocating a
8491 dummy stack frame just to store a frame pointer and restore.
8492 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8494 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8496 * manual/install.texi: Fix stray word in line-wrapped comment.
8498 2012-02-20 David S. Miller <davem@davemloft.net>
8500 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8501 both binutils and gcc support GOTDATA.
8503 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8504 "rd %pc" in the PIC register setup sequences.
8506 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8507 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8508 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8509 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8510 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8511 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8512 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8513 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8515 (SYSCALL_ERROR_HANDLER): Likewise.
8516 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8517 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8518 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8519 (SYSCALL_ERROR_HANDLER): Likewise.
8521 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8522 (HAVE_GCC_GOTDATA): New.
8523 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8524 relocation support in both binutils and gcc.
8525 * sysdeps/sparc/elf/configure: Regenerate.
8527 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8528 * sysdeps/sparc/sparc32/elf/configure: Delete.
8529 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8530 * sysdeps/sparc/sparc64/elf/configure: Delete.
8531 * sysdeps/sparc/elf/configure.in: New file.
8532 * sysdeps/sparc/elf/configure: Generate.
8534 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8535 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8536 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8537 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8538 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8540 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8542 * manual/install.texi: Do not mention specific glibc version
8544 * manual/libc.texinfo (VERSION, UPDATED): Update.
8545 (@copying): Use @copyright{} and range of years.
8547 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8550 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8551 [crti.S not in sysdirs] (generated): Do not append.
8552 [crti.S not in sysdirs] (omit-deps): Likewise.
8553 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8554 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8555 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8556 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8557 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8559 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8560 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8561 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8562 * csu/defs.awk: Remove file.
8563 * sysdeps/generic/initfini.c: Likewise.
8564 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8566 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8569 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8571 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8572 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8573 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8574 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8575 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8576 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8578 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8579 (__EPOLL_PACKED): Define to empty if not defined by
8581 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8585 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8587 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8588 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8589 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8590 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8592 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8593 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8596 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8598 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8600 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8601 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8602 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8605 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8607 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8608 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8610 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8612 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8613 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8615 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8617 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8620 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8622 * math/w_acos.c: Use non-signaling floating-point comparisons.
8623 * math/w_acosf.c: Likewise.
8624 * math/w_acosh.c: Likewise.
8625 * math/w_acoshf.c: Likewise.
8626 * math/w_acoshl.c: Likewise.
8627 * math/w_acosl.c: Likewise.
8628 * math/w_asin.c: Likewise.
8629 * math/w_asinf.c: Likewise.
8630 * math/w_asinl.c: Likewise.
8631 * math/w_atanh.c: Likewise.
8632 * math/w_atanhf.c: Likewise.
8633 * math/w_atanhl.c: Likewise.
8634 * math/w_exp2.c: Likewise.
8635 * math/w_exp2f.c: Likewise.
8636 * math/w_exp2l.c: Likewise.
8637 * math/w_j0.c: Likewise.
8638 * math/w_j0f.c: Likewise.
8639 * math/w_j0l.c: Likewise.
8640 * math/w_j1.c: Likewise.
8641 * math/w_j1f.c: Likewise.
8642 * math/w_j1l.c: Likewise.
8643 * math/w_jn.c: Likewise.
8644 * math/w_jnf.c: Likewise.
8645 * math/w_log.c: Likewise.
8646 * math/w_log10.c: Likewise.
8647 * math/w_log10f.c: Likewise.
8648 * math/w_log10l.c: Likewise.
8649 * math/w_log2.c: Likewise.
8650 * math/w_log2f.c: Likewise.
8651 * math/w_log2l.c: Likewise.
8652 * math/w_logf.c: Likewise.
8653 * math/w_logl.c: Likewise.
8654 * math/w_sqrt.c: Likewise.
8655 * math/w_sqrtf.c: Likewise.
8656 * math/w_sqrtl.c: Likewise.
8657 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8658 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8659 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8660 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8661 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8663 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8666 * manual/string.texi (strnlen): Use correct parameter name in
8667 equivalent expression.
8669 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8672 * manual/users.texi (seteuid): Consistently use neweuid for
8675 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8678 * manual/nss.texi (Services in the NSS configuration): Correct
8679 list of services in example configuration file.
8681 2012-02-19 Nick Bowler <nbowler@draconx.ca>
8684 * manual/arith.texi: Remove statements about negative zero
8685 behaving identically to zero.
8687 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8690 * manual/install.texi: Do not document upgrading from libc5.
8692 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8695 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8697 2012-02-18 David S. Miller <davem@davemloft.net>
8699 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8700 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8701 %o7 across the call.
8702 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8704 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8706 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8707 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8708 * sysdeps/sparc/crtn.S: Likewise.
8710 2012-02-17 Ulrich Drepper <drepper@gmail.com>
8712 * aout/Makefile: Remove.
8714 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8717 * manual/examples/argp-ex1.c (main): Format definition in GNU
8719 * manual/examples/argp-ex2.c (main): Likewise.
8720 * manual/examples/argp-ex3.c (main): Likewise.
8721 * manual/examples/argp-ex4.c (main): Likewise.
8722 * manual/examples/longopt.c (main): Use new-style prototype
8724 * manual/examples/strncat.c (main): Specify return type and use
8725 (void) for arguments.
8726 * manual/examples/subopt.c (main): Use char **argv argument.
8728 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8731 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8734 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8737 * manual/string.texi (strchr): Change when strchrnul is
8740 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8743 * manual/locale.texi (setlocale): Document LOCPATH.
8745 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8748 * manual/process.texi (execle): Move @dots{} before last argument.
8750 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
8753 * manual/charset.texi (Generic Charset Conversion): Fix typo
8754 (LC_TYPE -> LC_CTYPE).
8756 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8759 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8760 (scalbnf): Likewise.
8761 (scalbnl): Likewise.
8762 (scalbln): Likewise.
8763 (scalblnf): Likewise.
8764 (scalblnl): Likewise.
8765 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8769 * manual/filesys.texi (telldir): Use braces around return type.
8770 * manual/llio.texi (mmap): Add space after comma.
8772 * manual/math.texi (jn): Use @var{} on parameter names.
8778 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8780 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8782 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8783 (sched_get_priority_max): Likewise.
8784 * manual/signal.texi (sigvec): Add space after comma.
8785 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8787 (if_indextoname): Likewise.
8788 (if_freenameindex): Likewise.
8789 (sendto): Use ',' instead of '.' in prototype.
8790 * manual/startup.texi (syscall): Use @dots{} instead of literal
8792 * manual/stdio.texi (__fpending): Separate initial words of
8793 paragraph from @deftypefun line.
8794 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8796 (vsyslog): Use @var{} on parameter names.
8797 * manual/terminal.texi (stty): Use @var{} on parameter names.
8798 * manual/users.texi (getutmp): Use @var{} on parameter names.
8799 (getutmpx): Likewise.
8801 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8804 * manual/stdio.texi (fopen): Fix typos in description of
8807 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8810 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8811 get clock_id definition.
8813 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
8816 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8817 (madvise): Cast every argument to void on its own.
8819 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8822 * manual/startup.texi (Exit Status): Fix typo.
8824 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8827 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8828 * manual/examples/argp-ex2.c: Likewise.
8829 * manual/examples/argp-ex3.c: Likewise.
8831 2012-02-16 Richard Henderson <rth@redhat.com>
8833 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8834 * sysdeps/s390/s390-32/initfini.c: Remove.
8835 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8836 * sysdeps/s390/s390-64/initfini.c: Remove.
8838 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8840 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8841 compiler output for sysdeps/generic/initfini.c.
8842 * sysdeps/sh/elf/initfini.c: Remove file.
8844 2012-02-16 David S. Miller <davem@davemloft.net>
8847 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8849 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8850 * sysdeps/sparc/crti.S: New file.
8851 * sysdeps/sparc/crtn.S: New file.
8852 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8853 * sysdeps/sparc/sparc64/Makefile: Likewise.
8855 2012-02-15 Mike Frysinger <vapier@gentoo.org>
8858 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8860 2012-02-15 Roland McGrath <roland@hack.frob.com>
8863 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8865 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8866 (write, read, close): Likewise.
8867 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8869 2012-02-15 Joseph Myers <joseph@codesourcery.com>
8871 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8872 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8873 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8874 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8876 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8880 2012-02-14 Marek Polacek <polacek@redhat.com>
8882 * sysdeps/x86_64/crti.S: New file.
8883 * sysdeps/x86_64/crtn.S: New file.
8884 * sysdeps/x86_64/elf/initfini.c: Remove file.
8886 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8888 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8889 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8890 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8891 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8893 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8897 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8899 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8900 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8901 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8902 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8904 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8905 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8908 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8910 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8911 __feraiseexcept instead of feraiseexcept.
8913 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8914 nanosleep invocations.
8915 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8916 strings, and add error checking for a nanosleep invocations.
8918 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8920 Replace FSF snail mail address with URLs, as per GNU coding standards.
8921 Most of the snail mail addresses were wrong anyway, and omitting
8922 them makes the source code easier to maintain. Almost all of the
8923 changes are to license notices and to locale LC_IDENTIFICATION
8924 addresses, except for this one:
8925 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8926 not its snail mail address.
8928 2012-02-09 Richard Henderson <rth@twiddle.net>
8930 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8931 of kernel-features.h.
8933 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8935 2012-02-08 Marek Polacek <polacek@redhat.com>
8937 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8938 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8939 * sysdeps/gnu/_G_config.h: Likewise.
8940 * sysdeps/generic/_G_config.h: Likewise.
8942 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8944 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8948 * sysdeps/powerpc/powerpc32/crti.S: New file.
8949 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8950 * sysdeps/powerpc/powerpc64/crti.S: New file.
8951 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8953 * Makeconfig (have-initfini): Don't set.
8954 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8955 * configure.in (nopic_initfini): Don't substitute.
8956 * config.h.in (HAVE_INITFINI): Don't #undef.
8957 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8958 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8960 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8962 Support crti.S and crtn.S provided directly by architectures.
8963 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8964 [crti.S in sysdirs] (omit-deps): Likewise.
8965 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8966 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8967 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8968 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8969 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8970 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8971 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8972 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8973 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8974 compiler output for sysdeps/generic/initfini.c.
8975 * sysdeps/i386/elf/Makefile: Remove file.
8976 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8978 2012-02-07 Marek Polacek <polacek@redhat.com>
8980 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8981 * sysdeps/gnu/_G_config.h: Likewise.
8982 * sysdeps/mach/hurd/_G_config.h: Likewise.
8984 2012-02-07 Marek Polacek <polacek@redhat.com>
8986 * math/Makefile (tests): Add tst-CMPLX2.
8987 * math/tst-CMPLX2.c: New file.
8989 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8991 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8993 * math/libm-test.inc (jn_test): Add missing L suffix.
8995 2012-02-06 Marek Polacek <polacek@redhat.com>
8997 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8998 * sysdeps/i386/fpu/e_powf.S: Likewise.
8999 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9000 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9001 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9002 * sysdeps/i386/fpu/e_pow.S: Likewise.
9003 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9004 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9005 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9006 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9007 * sysdeps/i386/fpu/e_log2.S: Likewise.
9008 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9009 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9010 * sysdeps/i386/fpu/e_powl.S: Likewise.
9011 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9012 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9013 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9014 * sysdeps/i386/fpu/e_logl.S: Likewise.
9015 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9016 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9017 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9018 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9019 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9020 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9021 * sysdeps/i386/fpu/e_log.S: Likewise.
9022 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9023 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9024 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9025 * sysdeps/i386/fpu/e_logf.S: Likewise.
9026 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9027 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9028 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9029 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9030 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9031 * sysdeps/i386/fpu/e_log10.S: Likewise.
9032 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9033 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9034 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9035 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9036 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9037 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9038 * sysdeps/i386/asm-syntax.h: Likewise.
9039 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9040 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9041 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9042 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9043 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9044 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9045 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9046 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9047 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9048 * sysdeps/powerpc/sysdep.h: Likewise.
9049 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9050 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9052 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9055 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9057 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9059 * sysdeps/i386/sysdep.h: Include <features.h>.
9060 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9063 2012-02-05 Joseph Myers <joseph@codesourcery.com>
9065 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9067 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9070 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9072 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9073 (SETUP_PIC_REG): Use GET_PC_THUNK.
9074 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9077 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9079 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9080 for non-PIC compilation.
9081 (SETUP_PIC_REG): Add .p2align directive.
9082 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9083 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9084 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9085 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9086 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9087 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9088 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9089 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9090 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9091 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9092 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9093 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9094 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9095 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9096 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9097 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9098 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9099 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9100 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9101 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9102 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9103 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9104 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9105 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9106 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9107 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9108 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9109 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9110 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9111 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9112 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9113 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9114 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9115 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9116 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9117 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9118 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9119 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9120 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9121 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9122 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9124 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9126 * math/tst-CMPLX.c: Include <stdio.h>.
9128 2012-01-31 Joseph Myers <joseph@codesourcery.com>
9130 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9132 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9133 * sysdeps/sparc/bits/mathdef.h: Likewise.
9135 2012-01-31 Marek Polacek <polacek@redhat.com>
9137 * libio/libio.h: Don't define _PARAMS.
9138 * locale/programs/config.h: Don't define PARAMS.
9139 * stdlib/strtol_l.c: Likewise.
9140 (__strtol_l): Remove PARAMS from the prototype.
9142 2012-01-31 Ulrich Drepper <drepper@gmail.com>
9144 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9145 names. Just use the correct names. Remove unnecessary wrapper
9147 * malloc/arena.c: Likewise.
9148 * malloc/hooks.c: Likewise.
9150 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9151 ARENA_TEST says not to. Simplify test for creation of a new arena.
9152 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9154 2012-01-30 Ulrich Drepper <drepper@gmail.com>
9156 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9158 (update_get_addr): New function.
9159 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9160 GET_ADDR_MODULE parameter.
9162 2012-01-30 Joseph Myers <joseph@codesourcery.com>
9164 * crypt/cert.c: Remove __STDC__ conditionals.
9165 * crypt/crypt-entry.c: Likewise.
9166 * crypt/crypt_util.c: Likewise.
9167 * libio/filedoalloc.c: Likewise.
9168 * libio/fileops.c: Likewise.
9169 * libio/genops.c: Likewise.
9170 * libio/iofclose.c: Likewise.
9171 * libio/iofdopen.c: Likewise.
9172 * libio/iofopen.c: Likewise.
9173 * libio/iofopen64.c: Likewise.
9174 * libio/iogetdelim.c: Likewise.
9175 * libio/iopopen.c: Likewise.
9176 * libio/obprintf.c: Likewise.
9177 * libio/oldfileops.c: Likewise.
9178 * libio/oldiofclose.c: Likewise.
9179 * libio/oldiofdopen.c: Likewise.
9180 * libio/oldiofopen.c: Likewise.
9181 * libio/oldiopopen.c: Likewise.
9182 * libio/wfiledoalloc.c: Likewise.
9183 * libio/wgenops.c: Likewise.
9184 * locale/programs/xmalloc.c: Likewise.
9185 * misc/syslog.c: Likewise.
9186 * stdio-common/xbug.c: Likewise.
9187 * string/memchr.c: Likewise.
9188 * string/memcmp.c: Likewise.
9189 * string/memrchr.c: Likewise.
9190 * string/rawmemchr.c: Likewise.
9191 * sysdeps/posix/getcwd.c: Likewise.
9192 * time/strftime_l.c: Likewise.
9194 2012-01-30 Joseph Myers <joseph@codesourcery.com>
9196 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
9197 * config.make.in (config-cflags-sse2avx): Define.
9198 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9201 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9203 * scripts/config.guess: Update from upstream config git repository.
9204 * scripts/config.sub: Likewise.
9206 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9208 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9210 (R_TILEPRO_*, R_TILEGX_*): New macros.
9212 * scripts/firstversions.awk: Fix bug in version range handling.
9214 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9216 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9218 * include/sys/epoll.h: New file.
9219 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9222 2012-01-28 Ulrich Drepper <drepper@gmail.com>
9224 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9225 Avoid unnecessary __WORDSIZE == 64 test.
9226 (fmaxf): Use VEX format if possible.
9231 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9232 * math/math_private.h: Remove libc_fegetround* and
9234 * sysdeps/i386/configure.in: Check for -msse2avx.
9235 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9236 also if SSE2AVX is defined.
9237 Remove libc_fegetround* and libc_fesetround*.
9238 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9239 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9240 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9242 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9243 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9244 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9245 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9246 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9248 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9250 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9252 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9254 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9256 2012-01-27 Ulrich Drepper <drepper@gmail.com>
9259 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9261 * Makeconfig (libm): Define.
9262 * elf/Makefile: Add rules to build and run tst-relsort1.
9263 * elf/tst-relsort1.c: New file.
9264 * elf/tst-relsort1mod1.c: New file.
9265 * elf/tst-relsort1mod2.c: New file.
9267 2012-01-27 Joseph Myers <joseph@codesourcery.com>
9269 * math/s_ldexp.c: Remove __STDC__ conditionals.
9270 * math/s_ldexpf.c: Likewise.
9271 * math/s_ldexpl.c: Likewise.
9272 * math/s_nextafter.c: Likewise.
9273 * math/s_nexttowardf.c: Likewise.
9274 * math/s_significand.c: Likewise.
9275 * math/s_significandf.c: Likewise.
9276 * math/s_significandl.c: Likewise.
9277 * math/w_jnl.c: Likewise.
9278 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9279 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9280 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9281 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9282 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9283 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9284 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9285 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9286 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9287 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9288 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9289 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9290 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9291 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9292 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9293 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9294 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9295 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9296 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9297 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9298 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9299 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9300 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9301 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9302 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9303 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9304 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9305 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9306 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9307 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9308 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9309 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9310 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9311 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9312 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9313 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9314 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9315 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9316 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9317 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9318 * sysdeps/ieee754/k_standard.c: Likewise.
9319 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9320 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9321 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9322 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9323 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9324 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9325 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9326 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9327 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9328 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9329 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9330 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9331 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9332 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9333 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9334 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9335 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9336 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9337 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9338 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9339 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9340 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9341 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9342 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9343 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9344 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9345 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9346 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9347 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9348 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9349 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9351 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9352 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9353 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9354 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9355 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9356 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9357 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9358 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9359 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9360 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9361 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9362 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9363 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9364 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9365 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9366 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9367 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9368 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9369 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9370 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9371 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9372 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9373 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9374 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9375 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9376 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9377 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9378 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9379 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9380 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9381 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9382 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9383 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9384 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9385 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9386 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9387 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9388 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9389 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9390 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9391 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9392 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9393 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9394 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9395 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9396 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9397 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9398 * sysdeps/ieee754/s_matherr.c: Likewise.
9399 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9400 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9401 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9402 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9404 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9406 * crypt/md5.h: Remove __STDC__ conditionals.
9407 * libio/libioP.h: Likewise.
9408 * locale/programs/config.h: Likewise.
9409 * sysdeps/generic/sysdep.h: Likewise.
9410 * sysdeps/i386/asm-syntax.h: Likewise.
9411 * sysdeps/s390/asm-syntax.h: Likewise.
9412 * sysdeps/unix/sysdep.h: Likewise.
9413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9416 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9418 * libio/libio.h: Remove __STDC__ conditionals.
9419 * malloc/obstack.h: Likewise.
9420 * math/complex.h: Likewise.
9421 * math/math.h: Likewise.
9422 * sysdeps/generic/_G_config.h: Likewise.
9423 * sysdeps/gnu/_G_config.h: Likewise.
9424 * sysdeps/mach/hurd/_G_config.h: Likewise.
9425 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9426 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9427 * sysdeps/sparc/bits/mathdef.h: Likewise.
9429 2012-01-26 Ulrich Drepper <drepper@gmail.com>
9432 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
9433 Clean up HAS_* macros.
9434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
9435 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9437 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9439 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9440 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9441 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9442 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9443 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9445 2012-01-25 Joseph Myers <joseph@codesourcery.com>
9447 * elf/tst-unique3.cc (gets): Remove declaration.
9448 * elf/tst-unique3lib.cc (gets): Likewise.
9449 * elf/tst-unique3lib2.cc (gets): Likewise.
9450 * elf/tst-unique4.cc (gets): Likewise.
9452 2012-01-24 Ulrich Drepper <drepper@gmail.com>
9454 * include/stdio.h: Add C++ protection. Add gets declarations and
9456 * debug/tst-chk1.c: Don't declare gets here.
9457 * stdio-common/tst-gets.c: Likewise.
9459 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9461 * posix/glob: Remove directory.
9463 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9465 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9467 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9469 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9470 of the non-standard EPFNOSUPPORT.
9472 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9474 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9475 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9476 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9478 2012-01-21 Ulrich Drepper <drepper@gmail.com>
9480 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9482 2012-01-20 Ulrich Drepper <drepper@gmail.com>
9484 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9486 * nscd/grpcache.c (cache_addgr): Likewise.
9487 * nscd/hstcache.c (cache_addhst): Likewise.
9488 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9489 * nscd/pwdcache.c (cache_addpw): Likewise.
9490 * nscd/servicescache.c (cache_addserv): Likewise.
9492 2012-01-16 Ulrich Drepper <drepper@gmail.com>
9494 * malloc/malloc.c: Various cleanups.
9495 * malloc/hooks.c: Likewise.
9497 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9498 * stdlib/bug-fmtmsg1.c: New file.
9500 * stdlib/fmtmsg.c (init): Add missing unlock.
9501 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9503 2012-01-12 Marek Polacek <polacek@redhat.com>
9505 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9508 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9510 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9511 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9512 macro to ensure uniqueness of label name.
9513 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9514 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9516 2012-01-11 Ulrich Drepper <drepper@gmail.com>
9518 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9520 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9521 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9522 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9523 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9525 2012-01-10 Ulrich Drepper <drepper@gmail.com>
9527 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9529 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9530 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9531 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9533 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9535 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9536 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9537 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9538 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9540 * math/bits/math-finite.h: Add ldexp support.
9542 2012-01-10 Marek Polacek <polacek@redhat.com>
9544 * locale/programs/localedef.h (show_archive_content): Add noreturn
9547 2012-01-09 Ulrich Drepper <drepper@gmail.com>
9549 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9551 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9553 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9555 * io/Makefile (headers): Add bits/poll2.h.
9557 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9560 typo #include statement.
9562 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9564 * include/sys/cdefs.h: Define __attribute_alloc_size.
9565 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9566 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9567 * elf/pldd.c: Likewise.
9568 * iconv/iconv_charmap.c: Likewise.
9569 * iconv/iconvconfig.c: Likewise.
9570 * iconv/strtab.c: Likewise.
9571 * locale/programs/locale.c: Likewise.
9572 * locale/programs/localedef.h: Likewise.
9573 * locale/programs/simple-hash.c: Likewise.
9574 * nscd/nscd.h: Likewise.
9575 * nss/makedb.c: Likewise.
9576 * sysdeps/generic/ldconfig.h: Likewise.
9577 * locale/programs/localedef.c: Remove xmalloc prototype.
9578 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9580 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9582 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9585 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9587 * math/Makefile (tests): Add tst-CMPLX.
9588 * math/tst-CMPLX.c: New file.
9590 * math/complex.h (CMPLXL): Fix typo.
9592 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9593 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9595 * debug/tst-chk1.c: Add poll and ppoll tests.
9596 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9597 * include/sys/poll.h: Add hidden proto for ppoll.
9598 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9599 * sysdeps/mach/hurd/ppoll.c: Likewise.
9600 * io/ppoll.c: Likewise.
9601 * debug/poll_chk.c: New file.
9602 * debug/ppoll_chk.c: New file.
9603 * include/bits/poll2.h: New file.
9604 * io/bits/poll2.h: New file.
9607 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9609 * configure.in: static is always set to yes. Remove.
9610 * config.make.in: Don't set build-static.
9611 * Makeconfig: Remove use of build-static.
9612 * dlfcn/Makefile: Likewise.
9613 * elf/Makefile: Likewise.
9614 * math/Makefile: Likewise.
9615 * misc/Makefile: Likewise.
9616 * nptl/Makefile: Likewise.
9617 * sysdeps/mach/hurd/Makefile: Likewise.
9619 * configure.in: PWD_P is not used anymore.
9620 * config.make.in: Remove PWD_P entry.
9622 * configure.in: Remove last remnants of RANLIB.
9623 No need to check for signed size_t anymore.
9624 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9626 Remove __builtin_expect test because we require at least gcc 3.4.
9627 * aclocal.m4: Likewise.
9629 * wcsmbs/mbrtoc16.c: Implement using towc function.
9630 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9631 * wcsmbs/wcsmbsload.c: Likewise.
9632 * iconv/gconv_simple.c: Likewise.
9633 * iconv/gconv_int.h: Likewise.
9634 * iconv/gconv_builtin.h: Likewise.
9635 * iconv/iconv_prog.c: Remove CHAR16 handling.
9637 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9639 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9641 * configure.in: Remove --with-elf and --enable-bounded options.
9642 Dont set base_machine for ia64. More non-ELF conditions removed.
9643 Remove testing and setting of leading underscore information.
9644 * config.make.in (build-bounded): Set to no.
9645 * config.h.in: Remove NO_UNDERSCORES entry.
9646 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9648 * csu/start.c: Remove !NO_UNDERSCORE code.
9649 * locale/localeinfo.h: Likewise.
9650 * sysdeps/generic/machine-gmon.h: Likewise.
9651 * sysdeps/generic/sysdep.h: Likewise.
9652 * sysdeps/i386/sysdep.h: Likewise.
9653 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9654 * sysdeps/mach/sysdep.h: Likewise.
9655 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9656 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9657 * sysdeps/sh/sysdep.h: Likewise.
9658 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9659 * sysdeps/unix/i386/sysdep.S: Likewise.
9660 * sysdeps/unix/sparc/start.c: Likewise.
9661 * sysdeps/unix/sparc/sysdep.S: Likewise.
9662 * sysdeps/unix/sparc/sysdep.h: Likewise.
9663 * sysdeps/unix/start.c: Likewise.
9664 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9665 * sysdeps/x86_64/sysdep.h: Likewise.
9667 2012-01-07 Ulrich Drepper <drepper@gmail.com>
9670 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9672 * argp/argp-fmtstream.h: Use const instead __const.
9673 * argp/argp.h: Likewise.
9674 * assert/assert.h: Likewise.
9675 * bits/fenv.h: Likewise.
9676 * bits/sched.h: Likewise.
9677 * bits/sigset.h: Likewise.
9678 * bits/sigthread.h: Likewise.
9679 * catgets/nl_types.h: Likewise.
9680 * conform/data/pthread.h-data: Likewise.
9681 * crypt/crypt-private.h: Likewise.
9682 * crypt/crypt.h: Likewise.
9683 * crypt/crypt_util.c: Likewise.
9684 * ctype/ctype.h: Likewise.
9685 * debug/execinfo.h: Likewise.
9686 * debug/mbsnrtowcs_chk.c: Likewise.
9687 * debug/mbsrtowcs_chk.c: Likewise.
9688 * debug/wcsnrtombs_chk.c: Likewise.
9689 * debug/wcsrtombs_chk.c: Likewise.
9690 * debug/wcstombs_chk.c: Likewise.
9691 * dirent/dirent.h: Likewise.
9692 * dlfcn/dlfcn.h: Likewise.
9693 * elf/neededtest4.c: Likewise.
9694 * grp/grp.h: Likewise.
9695 * gshadow/gshadow.h: Likewise.
9696 * iconv/gconv.h: Likewise.
9697 * iconv/gconv_int.h: Likewise.
9698 * iconv/gconv_simple.c: Likewise.
9699 * iconv/iconv.h: Likewise.
9700 * iconv/loop.c: Likewise.
9701 * iconv/skeleton.c: Likewise.
9702 * include/aio.h: Likewise.
9703 * include/aliases.h: Likewise.
9704 * include/argz.h: Likewise.
9705 * include/arpa/inet.h: Likewise.
9706 * include/assert.h: Likewise.
9707 * include/dirent.h: Likewise.
9708 * include/dlfcn.h: Likewise.
9709 * include/execinfo.h: Likewise.
9710 * include/fcntl.h: Likewise.
9711 * include/fenv.h: Likewise.
9712 * include/glob.h: Likewise.
9713 * include/grp.h: Likewise.
9714 * include/libintl.h: Likewise.
9715 * include/mntent.h: Likewise.
9716 * include/netdb.h: Likewise.
9717 * include/pwd.h: Likewise.
9718 * include/rpc/netdb.h: Likewise.
9719 * include/sched.h: Likewise.
9720 * include/search.h: Likewise.
9721 * include/shadow.h: Likewise.
9722 * include/signal.h: Likewise.
9723 * include/stdio.h: Likewise.
9724 * include/stdlib.h: Likewise.
9725 * include/string.h: Likewise.
9726 * include/sys/socket.h: Likewise.
9727 * include/sys/stat.h: Likewise.
9728 * include/sys/statfs.h: Likewise.
9729 * include/sys/statvfs.h: Likewise.
9730 * include/sys/syslog.h: Likewise.
9731 * include/sys/time.h: Likewise.
9732 * include/sys/uio.h: Likewise.
9733 * include/time.h: Likewise.
9734 * include/unistd.h: Likewise.
9735 * include/utmp.h: Likewise.
9736 * include/wchar.h: Likewise.
9737 * include/wctype.h: Likewise.
9738 * inet/aliases.h: Likewise.
9739 * inet/arpa/inet.h: Likewise.
9740 * inet/netinet/ether.h: Likewise.
9741 * inet/netinet/in.h: Likewise.
9742 * intl/libintl.h: Likewise.
9743 * io/bits/fcntl2.h: Likewise.
9744 * io/fcntl.h: Likewise.
9745 * io/ftw.h: Likewise.
9746 * io/sys/poll.h: Likewise.
9747 * io/sys/stat.h: Likewise.
9748 * io/sys/statfs.h: Likewise.
9749 * io/sys/statvfs.h: Likewise.
9750 * io/utime.h: Likewise.
9751 * libio/bits/stdio.h: Likewise.
9752 * libio/bits/stdio2.h: Likewise.
9753 * libio/libio.h: Likewise.
9754 * libio/libioP.h: Likewise.
9755 * libio/stdio.h: Likewise.
9756 * locale/lc-ctype.c: Likewise.
9757 * locale/locale.h: Likewise.
9758 * login/utmp.h: Likewise.
9759 * malloc/arena.c: Likewise.
9760 * malloc/malloc.c: Likewise.
9761 * malloc/malloc.h: Likewise.
9762 * malloc/mcheck.c: Likewise.
9763 * malloc/mtrace.c: Likewise.
9764 * math/bits/mathcalls.h: Likewise.
9765 * math/fenv.h: Likewise.
9766 * math/math_private.h: Likewise.
9767 * misc/bits/error.h: Likewise.
9768 * misc/bits/syslog.h: Likewise.
9769 * misc/err.h: Likewise.
9770 * misc/error.h: Likewise.
9771 * misc/fstab.h: Likewise.
9772 * misc/mntent.h: Likewise.
9773 * misc/regexp.h: Likewise.
9774 * misc/search.h: Likewise.
9775 * misc/sgtty.h: Likewise.
9776 * misc/sys/mman.h: Likewise.
9777 * misc/sys/syslog.h: Likewise.
9778 * misc/sys/uio.h: Likewise.
9779 * misc/sys/xattr.h: Likewise.
9780 * misc/ttyent.h: Likewise.
9781 * nis/rpcsvc/ypclnt.h: Likewise.
9782 * nss/nss.h: Likewise.
9783 * posix/bits/unistd.h: Likewise.
9784 * posix/fnmatch.h: Likewise.
9785 * posix/glob.h: Likewise.
9786 * posix/sched.h: Likewise.
9787 * posix/spawn.h: Likewise.
9788 * posix/sys/wait.h: Likewise.
9789 * posix/unistd.h: Likewise.
9790 * posix/wordexp.h: Likewise.
9791 * pwd/pwd.h: Likewise.
9792 * resolv/netdb.h: Likewise.
9793 * resource/sys/resource.h: Likewise.
9794 * rt/aio.h: Likewise.
9795 * rt/bits/mqueue2.h: Likewise.
9796 * rt/mqueue.h: Likewise.
9797 * shadow/shadow.h: Likewise.
9798 * signal/signal.h: Likewise.
9799 * socket/send.c: Likewise.
9800 * socket/sendto.c: Likewise.
9801 * socket/sys/socket.h: Likewise.
9802 * stdio-common/printf.h: Likewise.
9803 * stdlib/bits/stdlib.h: Likewise.
9804 * stdlib/fmtmsg.h: Likewise.
9805 * stdlib/monetary.h: Likewise.
9806 * stdlib/stdlib.h: Likewise.
9807 * stdlib/ucontext.h: Likewise.
9808 * streams/stropts.h: Likewise.
9809 * string/argz.h: Likewise.
9810 * string/bits/string2.h: Likewise.
9811 * string/string.h: Likewise.
9812 * string/strings.h: Likewise.
9813 * sunrpc/rpc/auth.h: Likewise.
9814 * sunrpc/rpc/auth_des.h: Likewise.
9815 * sunrpc/rpc/clnt.h: Likewise.
9816 * sunrpc/rpc/netdb.h: Likewise.
9817 * sunrpc/rpc/pmap_clnt.h: Likewise.
9818 * sunrpc/rpc/xdr.h: Likewise.
9819 * sysdeps/generic/inttypes.h: Likewise.
9820 * sysdeps/generic/net/if.h: Likewise.
9821 * sysdeps/generic/sys/swap.h: Likewise.
9822 * sysdeps/gnu/net/if.h: Likewise.
9823 * sysdeps/gnu/utmpx.h: Likewise.
9824 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9825 * sysdeps/i386/i486/bits/string.h: Likewise.
9826 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9827 * sysdeps/s390/bits/string.h: Likewise.
9828 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9829 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9830 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9831 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9832 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9833 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9834 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9835 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9836 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9837 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9838 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9839 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9840 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9841 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9842 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9843 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9844 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9845 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9846 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9847 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9848 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9849 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9850 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9851 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9852 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9853 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9854 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9855 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9856 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9857 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9858 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9859 * sysvipc/sys/ipc.h: Likewise.
9860 * sysvipc/sys/msg.h: Likewise.
9861 * sysvipc/sys/sem.h: Likewise.
9862 * sysvipc/sys/shm.h: Likewise.
9863 * termios/termios.h: Likewise.
9864 * time/sys/time.h: Likewise.
9865 * time/time.h: Likewise.
9866 * wcsmbs/bits/wchar2.h: Likewise.
9867 * wcsmbs/uchar.h: Likewise.
9868 * wcsmbs/wchar.h: Likewise.
9869 * wctype/wctype.h: Likewise.
9872 * Makeconfig: Remove all but ELF support including AIX support.
9873 * Makerules: Likewise.
9874 * config.h.in: Likewise.
9875 * config.make.in: Likewise.
9876 * configure: Likewise.
9877 * configure.in: Likewise.
9878 * csu/Makefile: Likewise.
9879 * csu/version.c: Likewise.
9880 * debug/Makefile: Likewise.
9881 * dlfcn/Makefile: Likewise.
9882 * elf/Makefile: Likewise.
9883 * extra-lib.mk: Likewise.
9884 * iconv/Makefile: Likewise.
9885 * include/libc-symbols.h: Likewise.
9886 * include/shlib-compat.h: Likewise.
9887 * resolv/Makefile: Likewise.
9888 * resolv/res_libc.c: Likewise.
9889 * rt/Makefile: Likewise.
9890 * sysdeps/i386/asm-syntax.h: Likewise.
9891 * sysdeps/i386/sysdep.h: Likewise.
9892 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9893 * sysdeps/mach/sysdep.h: Likewise.
9894 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9895 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9896 * sysdeps/s390/asm-syntax.h: Likewise.
9897 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9898 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9899 * sysdeps/sh/sysdep.h: Likewise.
9900 * sysdeps/unix/sparc/sysdep.h: Likewise.
9901 * sysdeps/wordsize-32/divdi3.c: Likewise.
9902 * sysdeps/x86_64/sysdep.h: Likewise.
9904 * argp/Versions: Remove _argp_unlock_xxx.
9907 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9908 * abilist/libBrokenLocale.abilist: Likewise.
9909 * abilist/libanl.abilist: Likewise.
9910 * abilist/libc.abilist: Likewise.
9911 * abilist/libcrypt.abilist: Likewise.
9912 * abilist/libdl.abilist: Likewise.
9913 * abilist/libm.abilist: Likewise.
9914 * abilist/libnsl.abilist: Likewise.
9915 * abilist/libpthread.abilist: Likewise.
9916 * abilist/libresolv.abilist: Likewise.
9917 * abilist/librt.abilist: Likewise.
9918 * abilist/libthread_db.abilist: Likewise.
9919 * abilist/libutil.abilist: Likewise.
9920 * abilist/libnss_db.abilist: New file.
9922 * scripts/abilist.awk: Add support for indirect functions.
9924 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9926 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9928 * shlib-versions: Remove entries for ports architectures.
9930 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9932 * elf/stackguard-macros.h: Remove support for IA-64.
9933 * elf/tst-auditmod1.c: Likewise.
9934 * sysdeps/generic/ldsodefs.h: Likewise.
9936 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9937 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9941 * configure.in: Remove --enable-omitfp support.
9943 * config.make.in: Likewise.
9944 * Makeconfig: Likewise.
9945 * manual/install.texi: Likewise.
9947 In case anyone cares, the IA-64 architecture could move to ports.
9948 * sysdeps/ia64/*: Removed.
9949 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9950 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9953 * configure.in: Remove entries for unsupported architectures.
9956 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9957 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9959 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9960 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9961 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9962 fall back to using wcrtomb.
9963 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9964 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9966 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9967 * wcsmbs/tst-c16c32-1.c: New file.
9969 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9972 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9974 * elf/tst-unique3.cc: Add explicit declaration of gets.
9975 * elf/tst-unique3lib.cc: Likewise.
9976 * elf/tst-unique3lib2.cc: Likewise.
9977 * elf/tst-unique4.cc: Likewise.
9979 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9981 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9984 * assert/assert.h (static_assert): Don't define for C++.
9985 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9986 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9988 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9990 * iconv/loop.c (single loop): Fix assertion in storing of
9993 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9995 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9997 * posix/getconf.c: Update copyright year.
9998 * nss/getent.c: Likewise.
9999 * nss/makedb.c: Likewise.
10000 * iconv/iconvconfig.c: Likewise.
10001 * iconv/iconv_prog.c: Likewise.
10002 * elf/ldconfig.c: Likewise.
10003 * elf/pldd.c: Likewise.
10004 * elf/sotruss.ksh: Likewise.
10005 * catgets/gencat.c: Likewise.
10006 * csu/version.c: Likewise.
10007 * elf/ldd.bash.in: Likewise.
10008 * elf/sprof.c (print_version): Likewise.
10009 * locale/programs/locale.c: Likewise.
10010 * locale/programs/localedef.c: Likewise.
10011 * login/programs/pt_chown.c: Likewise.
10012 * nscd/nscd.c (print_version): Likewise.
10013 * debug/xtrace.sh: Likewise.
10014 * malloc/memusage.sh: Likewise.
10015 * malloc/mtrace.pl: Likewise.
10016 * debug/catchsegv.sh: Likewise.
10018 2011-12-30 Jakub Jelinek <jakub@redhat.com>
10020 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10023 2011-12-24 Ulrich Drepper <drepper@gmail.com>
10026 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10027 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10029 * iconv/gconv_int.h: Likewise.
10030 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10031 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10032 from libc for GLIBC_2.16.
10033 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10034 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10035 * wcsmbs/uchar.h: Really define mbstate_t.
10036 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10037 * wcsmbs/c16rtomb.c: New file.
10038 * wcsmbs/mbrtoc16.c: New file.
10039 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10040 for C/POSIX locale.
10041 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10042 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10044 * wcsmbs/wchar.h: Add missing __restrict.
10046 2011-12-23 Ulrich Drepper <drepper@gmail.com>
10049 * time/Makefile (routines): Add timespec_get.
10050 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10051 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10052 timespec for ISO C11.
10053 * time/timespec_get.c: New file.
10054 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10055 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10058 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10059 * stdlib/stdlib.h: Declare aligned_alloc.
10060 * Versions.def: Add GLIBC_2.16 for libc.
10061 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10064 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10067 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
10071 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10074 * assert/assert.h (static_assert): Define.
10076 * version.h: Update for 2.16 development version.
10079 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10082 * version.h (RELEASE): Bump for 2.15 release.
10083 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10085 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10086 Patch by Marek Polacek <mpolacek@redhat.com>.
10088 * bits/byteswap.h: Protect long long constants with __extension__.
10089 * sysdeps/i386/bits/byteswap.h: Likewise.
10090 * sysdeps/ia64/bits/byteswap.h: Likewise.
10091 * sysdeps/s390/bits/byteswap.h: Likewise.
10092 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10094 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10097 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10098 destination buffer.
10099 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10101 2011-12-23 Marek Polacek <polacek@redhat.com>
10103 * elf/dl-addr.c (determine_info): Add inline keyword.
10104 * elf/tst-auditmod4b.c (check_avx): Likewise.
10105 * elf/tst-auditmod6b.c (check_avx): Likewise.
10106 * elf/tst-auditmod6c.c (check_avx): Likewise.
10107 * elf/tst-auditmod7b.c (check_avx): Likewise.
10109 2011-12-23 Ulrich Drepper <drepper@gmail.com>
10111 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10114 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10117 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10118 processing for last bytes.
10120 2011-08-06 Bruno Haible <bruno@clisp.org>
10123 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10124 U+0385, not to U+1FEE.
10127 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10128 entry for U+00A5 U+0301.
10130 2011-12-22 Ulrich Drepper <drepper@gmail.com>
10133 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10134 buffer for the output is too small.
10136 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10140 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10141 SSE flags if possible.
10143 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10146 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10147 processing for last bytes.
10149 2011-12-22 Joseph Myers <joseph@codesourcery.com>
10151 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10152 (syscall-list-default-options, syscall-list-default-condition)
10153 (syscall-list-includes): Define.
10154 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10155 list of ABIs and options and #if conditions for each ABI. Do not
10156 handle common syscalls between ABIs specially.
10157 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10159 (syscall-list-variants, syscall-list-32bit-options)
10160 (syscall-list-32bit-condition, syscall-list-64bit-options)
10161 (syscall-list-64bit-condition): Define.
10162 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10163 (syscall-list-variants, syscall-list-32bit-options)
10164 (syscall-list-32bit-condition, syscall-list-64bit-options)
10165 (syscall-list-64bit-condition): Define.
10166 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10168 (syscall-list-variants, syscall-list-32bit-options)
10169 (syscall-list-32bit-condition, syscall-list-64bit-options)
10170 (syscall-list-64bit-condition): Define.
10171 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10173 (syscall-list-variants, syscall-list-32bit-options)
10174 (syscall-list-32bit-condition, syscall-list-64bit-options)
10175 (syscall-list-64bit-condition): Define.
10177 2011-12-22 Ulrich Drepper <drepper@gmail.com>
10179 * locale/iso-639.def: Add brx entry.
10182 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10183 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10185 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10186 __feraiseexcept_renamed.
10188 2011-12-21 Ulrich Drepper <drepper@gmail.com>
10191 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10192 EPOLLET with unsigned values.
10193 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10194 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10196 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10197 to large cancellation.
10198 * math/s_cacoshf.c: Likewise.
10199 * math/s_cacoshl.c: Likewise.
10201 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10205 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10206 * math/s_cacoshf.c: Likewise.
10207 * math/s_cacoshl.c: Likewise.
10209 2011-12-21 Ulrich Drepper <drepper@gmail.com>
10212 * iconv/gconv.h: Define __GCONV_SWAP.
10213 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10214 * iconvdata/utf-16.c: Likewise.
10215 * iconvdata/utf-32.c: Likewise.
10217 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10220 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10221 numerator after shifting it by one limb.
10223 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10225 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10226 under [__USE_EXTERN_INLINES].
10228 2011-12-17 Ulrich Drepper <drepper@gmail.com>
10231 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10233 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10235 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10236 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10238 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10239 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10240 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10241 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10242 for strncasecmp/strncasecmp_l compilation.
10243 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10244 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10246 2011-12-08 Marek Polacek <mpolacek@redhat.com>
10249 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10252 2011-12-17 Ulrich Drepper <drepper@gmail.com>
10255 * time/tzfile.c (__tzfile_read): Check values from file header.
10257 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10259 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10260 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10261 * powerpc/powerpc32/dl-start.S: Likewise.
10262 * powerpc/powerpc32/elf/start.S: Likewise.
10263 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10264 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10265 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10266 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10267 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10268 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10269 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10270 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10271 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10272 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10273 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10274 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10275 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10276 * powerpc/powerpc32/memset.S: Likewise.
10277 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10278 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10279 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10280 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10281 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10282 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10283 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10284 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10285 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10286 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10287 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10288 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10289 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10291 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10293 * math/libm-test.inc: Added more nearbyint tests.
10294 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10295 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10296 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10297 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10299 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10301 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10304 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10306 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10307 Add wcscpy-ssse3 wcscpy-c.
10308 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10309 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10310 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10311 * sysdeps/x86_64/wcschr.S: New file.
10312 * sysdeps/x86_64/wcsrchr.S: New file.
10313 * string/test-strcmp.c: Remove checking of wcscmp function for
10315 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10316 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10317 wcsrchr-sse2 wcsrchr-c.
10318 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10319 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10320 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10321 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10322 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10323 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10324 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10325 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10326 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10327 * wcsmbc/wcschr.c (WCSCHR): New macro.
10329 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10331 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10332 * wcsmbs/test-wcsrchr.c: New file.
10333 * string/test-strrchr.c: Add wcsrchr support.
10335 * wcsmbs/test-wcscpy.c: New file.
10336 * string/test-strcpy.c: Add wcscpy support.
10339 2011-12-10 Ulrich Drepper <drepper@gmail.com>
10341 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10344 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10347 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10349 2011-12-04 Ulrich Drepper <drepper@gmail.com>
10351 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
10352 Minor optimizations.
10354 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10355 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10356 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10358 2011-12-03 Ulrich Drepper <drepper@gmail.com>
10360 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10361 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10362 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10363 for gcc to avoid warnings.
10364 * inet/Makefile (tests): Add tst-checks.
10365 * inet/tst-checks.c: New file.
10367 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10370 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10373 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10374 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10376 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10378 2011-12-02 Ulrich Drepper <drepper@gmail.com>
10380 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10383 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10385 2011-11-29 Joseph Myers <joseph@codesourcery.com>
10387 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10388 conditional on GCC version.
10389 (__arch_compare_and_exchange_val_8_acq)
10390 (__arch_compare_and_exchange_val_16_acq)
10391 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10392 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10393 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10395 2011-12-02 Joseph Myers <joseph@codesourcery.com>
10397 * sysdeps/sh/backtrace.c: New file.
10399 2011-12-02 Andreas Schwab <schwab@redhat.com>
10401 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10404 2011-12-01 Andreas Schwab <schwab@redhat.com>
10406 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10407 falling back to utime.
10409 2011-11-30 Andreas Schwab <schwab@redhat.com>
10411 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10412 expectations for float.
10414 2011-11-29 Andreas Schwab <schwab@redhat.com>
10416 * locale/weight.h (findidx): Add parameter len.
10417 * locale/weightwc.h (findidx): Likewise.
10418 * posix/fnmatch_loop.c (FCT): Adjust caller.
10419 * posix/regcomp.c (build_equiv_class): Likewise.
10420 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10421 * posix/regexec.c (check_node_accept_bytes): Likewise.
10422 * string/strcoll_l.c (STRCOLL): Likewise.
10423 * string/strxfrm_l.c (STRXFRM): Likewise.
10425 2011-11-17 Ulrich Drepper <drepper@gmail.com>
10427 * Makefile.in: Remove CVSOPT handling.
10428 * configure.in: Remove use of AC_REVISION.
10429 * iconvdata/Makefile (distribute): No need to filter out CVS.
10430 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10433 2011-11-16 Andreas Schwab <schwab@redhat.com>
10435 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10436 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10437 [USE_AS_STRNCASECMP_L]: Likewise.
10438 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10439 NO_TLS_DIRECT_SEG_REFS.
10440 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10441 Fix argument offsets for non-PIC.
10442 [USE_AS_STRNCASECMP_L]: Likewise.
10443 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10444 NO_TLS_DIRECT_SEG_REFS.
10446 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10448 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
10450 * locale/loadlocale.c (_nl_load_locale): Likewise.
10452 2011-11-15 Andreas Schwab <schwab@redhat.com>
10454 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10455 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10456 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10457 (SYSCALL_GETTIME): Set errno on error.
10459 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10460 count references to noai6ai_cached.
10462 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10464 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10466 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10467 FD_CLOEXEC for /proc/self/maps.
10469 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10470 FD_CLOEXEC for /proc/meminfo.
10472 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10475 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10476 FD_CLOEXEC for given file.
10478 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10480 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10481 FD_CLOEXEC for /etc/hosts.
10482 (_gethtent): Likewise.
10484 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10486 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10487 cancellation and set FD_CLOEXEC for /etc/netgroup.
10489 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10490 reading /etc/publickey.
10492 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10493 allow cancellation when reading /etc/group.
10495 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10497 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10499 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10500 when using data file.
10502 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10504 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10505 (write_nis_obj): Use "c" and "e" in fopen.
10507 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10509 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10511 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10513 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10515 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10518 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10520 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10522 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10524 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10525 file parsing and set FD_CLOEXEC.
10527 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10529 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10531 2011-11-14 Andreas Schwab <schwab@redhat.com>
10533 * malloc/arena.c (arena_get2): Don't call reused_arena when
10534 _int_new_arena failed.
10536 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10538 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10539 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10540 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10541 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10542 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10543 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10544 to compile strcasecmp and strncasecmp.
10545 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10546 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10548 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10550 2011-11-13 Ulrich Drepper <drepper@gmail.com>
10552 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10553 locale-defines.sym to gen-as-const-headers.
10554 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10555 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10556 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10557 to compile strcasecmp and strncasecmp.
10558 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10559 strcasecmp_l and strncasecmp_l.
10560 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10561 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10562 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10563 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10564 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10565 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10566 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10567 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10568 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10569 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10570 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10572 2011-11-12 Ulrich Drepper <drepper@gmail.com>
10574 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10575 result of SYSDEP_GETTIME_CPU to retval.
10576 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10577 parameter list to macro. Remove trailing semicolon. Adjust users.
10579 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10582 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10584 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10586 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10587 from unused variable.
10589 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10591 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10594 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10597 * sunrpc/rpc_prot.c (rejected): Fix case value.
10599 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10600 unsigned long long int to avoid warnings in shift.
10602 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10604 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10607 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10608 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10609 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10611 * nis/nis_table.c (nis_list): Use variable of correct type for
10612 result of __follow_path call.
10614 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10616 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10617 of math functions ceil, trunc, floor, round, and sqrt, when
10618 avaliable on the platform.
10619 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10621 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10622 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10623 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10625 2011-10-30 Marek Polacek <mpolacek@redhat.com>
10627 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10628 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10630 2011-11-11 Roland McGrath <roland@hack.frob.com>
10632 * include/unistd.h: Fix __readlink return type.
10633 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10635 2011-11-11 Ulrich Drepper <drepper@gmail.com>
10637 * stdlib/ucontext.h: Undo last change for makecontext.
10639 2011-11-11 Andreas Schwab <schwab@redhat.com>
10641 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10643 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10644 * setjmp/setjmp.h: Mark functions as non-leaf.
10645 * setjmp/bits/setjmp2.h: Likewise.
10646 * stdlib/ucontext.h: Likewise.
10648 2011-11-10 Andreas Schwab <schwab@redhat.com>
10650 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10651 (reused_arena): Don't check arena limit.
10652 (arena_get2): Atomically check arena limit.
10654 2011-11-08 Ulrich Drepper <drepper@gmail.com>
10656 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10657 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10659 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10662 2011-11-07 Andreas Schwab <schwab@redhat.com>
10664 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10665 handler when locking.
10667 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10668 Fix size of allocated buffer.
10670 2011-11-04 Andreas Schwab <schwab@redhat.com>
10673 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10674 declarations for long double functions.
10675 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10677 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10679 2011-11-03 Andreas Schwab <schwab@redhat.com>
10681 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10684 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10687 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10689 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10691 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10693 * include/alloca.h (stackinfo_alloca_round): Define.
10694 (extend_alloca): Use it.
10695 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10696 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10699 * scripts/check-local-headers.sh: Ignore libaudit.h.
10701 * nscd/Makefile (extra-objs): Make recursively expanded.
10703 2011-11-01 Ulrich Drepper <drepper@gmail.com>
10705 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10706 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10708 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10709 * posix/tst-rfc3484-2.c: Likewise.
10710 * posix/tst-rfc3484-3.c: Likewise.
10712 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10714 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10716 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10717 process_vm_writev from libc using GLIBC_2.15 version.
10719 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10721 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10723 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10726 2011-10-31 Ulrich Drepper <drepper@gmail.com>
10729 * nss/getent.c (initgroups_keys): Show error message in case no group
10732 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10733 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10734 __bump_nl_timestamp.
10735 * nscd/connections (nscd_init): When host database is served open
10736 netlink socket and request notification about configuration changes.
10737 (main_loop_poll): Track netlink file descriptor and bump timestamp
10738 in case data becomes available.
10739 (main_loop_epoll): Likewise.
10740 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10741 (database_pers_head): Add extra_data fileds.
10742 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10743 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10744 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10746 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10747 in6ai data, call __free_in6ai.
10748 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10749 Add -DHAVE_NETLINK.
10750 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10751 interface information. Reuse previous data if netlink timestamp
10753 (__bump_nl_timestamp): New function.
10754 (__free_in6ai): New function.
10756 2011-10-30 Ulrich Drepper <drepper@gmail.com>
10758 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10759 close_not_cancel_no_status here.
10760 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10762 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10765 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10768 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10769 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10770 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10772 2011-07-03 Andreas Jaeger <aj@suse.de>
10775 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10776 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10777 * math/libm-test.inc (sin_test): Add test case.
10779 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10782 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10783 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10785 * elf/chroot_canon.c (chroot_canon): Cleanups.
10787 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10790 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10791 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10793 * string/test-strchr.c: Make usable for strchrnul testing.
10794 * string/test-strchrnul.c: New file.
10795 * string/Makefile (strop-tests): Add strchrnul.
10797 * po/it.po: Update from translation team.
10798 * po/es.po: Likewise.
10800 2011-10-28 Ulrich Drepper <drepper@gmail.com>
10802 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10803 the three constants needed as parameters. Drop the others.
10804 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10805 __m128i_strloadu_tolower.
10806 Create and initialize variable zero and use it in all the places
10807 where _mm_setzero_si128 was used.
10809 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10810 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10811 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10812 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10814 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10815 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10816 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10817 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10818 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10819 __mpranred, __mptan.
10820 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10821 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10822 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10823 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10824 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10825 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10826 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10827 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10828 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10830 2011-10-28 Andreas Schwab <schwab@redhat.com>
10832 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10833 redefine if SHARED.
10834 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10836 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10837 wide char related routines to wcsmbs subdir.
10839 2011-10-27 Andreas Schwab <schwab@redhat.com>
10842 * misc/sys/cdefs.h (__THROWNL): Define.
10843 * posix/unistd.h: Use __THREADNL instead of __THREAD
10844 for memory synchronization functions.
10846 2011-10-26 Roland McGrath <roland@hack.frob.com>
10849 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10851 * manual/stdio.texi (Obstack Streams): Node removed.
10853 2011-10-26 Andreas Schwab <schwab@redhat.com>
10855 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10856 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10857 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10859 * math/math_private.h (math_force_eval): Allow non-addressable
10861 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10863 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10865 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10866 file is not needed.
10868 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10869 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10870 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10871 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10872 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10873 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10874 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10875 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10877 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10878 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10879 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10880 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10881 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10882 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10883 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10884 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10885 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10886 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10887 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10888 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10889 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10890 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10891 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10892 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10893 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10894 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10895 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10897 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10898 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10900 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10901 place. Use VEX encoding when compiling for AVX.
10903 2011-10-25 Andreas Schwab <schwab@redhat.com>
10905 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10906 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10908 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10910 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10912 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10913 useless if() expression.
10914 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10915 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10916 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10918 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10919 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10920 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10921 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10922 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10923 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10924 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10925 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10926 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10927 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10928 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10929 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10930 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10931 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10932 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10934 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10936 2011-10-25 Andreas Schwab <schwab@redhat.com>
10938 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10940 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10942 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10944 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10945 .text section. Avoid duplicate constants.
10946 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10947 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10948 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10949 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10950 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10951 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10952 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10953 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10954 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10955 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10956 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10957 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10958 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10959 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10960 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10961 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10962 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10963 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10964 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10965 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10966 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10967 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10968 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10969 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10970 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10971 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10972 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10973 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10974 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10975 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10976 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10977 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10978 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10979 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10980 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10981 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10982 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10983 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10984 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10985 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10986 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10987 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10988 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10989 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10990 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10992 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10994 * sysdeps/x86_64/dla.h: Move to ...
10995 * sysdeps/x86_64/fpu/dla.h: ...here.
10996 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10997 situations. Use __builtin_fma only for gcc 4.6 and up.
10999 * config.make.in: Add have-mfma4 entry.
11000 * configure.in: Substitute libc_cv_cc_fma4.
11001 * math/Makefile (dbl-only-routines): Add sincostab.
11002 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11003 Use __sincostab not sincos.
11004 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11006 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11007 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11008 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11009 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11011 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11012 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11013 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11014 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11016 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11017 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11019 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11020 define aliases when function name is a macro.
11021 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11022 sysdeps/ieee754/dbl-64/sincos.tbl.
11023 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11024 fma4-enabled routines.
11025 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11026 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11027 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11028 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11029 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11030 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11031 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11032 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11033 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11034 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11035 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11036 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11037 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11038 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11039 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11040 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11041 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11042 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11043 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11044 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11045 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11046 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11047 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11048 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11049 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11050 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11051 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11052 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11053 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11054 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11056 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11058 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11059 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11060 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11061 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11062 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11063 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11064 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11065 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11067 2011-10-24 Andreas Schwab <schwab@redhat.com>
11069 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11071 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11073 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11075 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11077 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11079 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11080 Remove unused variable magic_bits.
11081 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11083 * string/strnlen.c: Define and use STRNLEN macro.
11084 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11085 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11086 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11087 * wcsmbs/wcslen.c: Define and use WCSLEN.
11088 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11089 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11090 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11091 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11092 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11093 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11094 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11096 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11098 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11099 strnlen-sse2-no-bsf.
11100 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11101 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11102 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11103 Add strnlen support.
11104 (USE_AS_STRNLEN): New macro.
11105 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11106 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11107 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11108 * sysdeps/x86_64/wcslen.S: New file.
11110 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11112 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11113 XMM-moves are used for copying on small sizes.
11115 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11117 * wcsmbs/Makefile (strop-tests): Add wcschr.
11118 * wcsmbs/test-wcschr.c: New file.
11119 * string/test-strchr.c: Update.
11120 Add wcschr support.
11123 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11125 * wcsmbs/Makefile (strop-tests): Add wcslen.
11126 * wcsmbs/test-wcslen.c: New file.
11127 * string/test-strlen.c: Update.
11128 Add wcslen support.
11131 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11133 * po/it.po: Update from translation team.
11135 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11137 * sysdeps/x86_64/wcscmp.S: Update.
11138 Fix wrong comparison semantics.
11139 wcscmp shall use signed comparison not unsigned.
11140 Don't use substraction to avoid overflow bug.
11141 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11142 * wcsmbc/wcscmp.c: Likewise.
11143 * string/test-strcmp.c: Likewise.
11144 Add new tests to check cases with negative values.
11146 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11148 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11149 * sysdeps/x86_64/dla.h: ...here. New file.
11150 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11151 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11152 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11153 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11154 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11155 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11156 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11157 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11158 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11160 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11162 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11163 __ynl_finite aliases.
11165 2011-10-22 Ulrich Drepper <drepper@gmail.com>
11167 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11169 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11171 [DLA_FMA] (EMULV): Use DLA_FMA.
11172 [DLA_FMA] (MUL12): Use EMULV.
11173 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11174 that are not needed.
11175 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11176 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11177 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11178 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11179 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11180 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11181 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11183 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11185 * math/s_nan.c: Undef __nan.
11186 * math/s_nanf.c: Undef __nanf.
11187 * math/s_nanl.c: Undef __nanl.
11188 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11191 2011-10-22 Ulrich Drepper <drepper@gmail.com>
11193 * math/s_catan.c: Add branch predictions.
11194 * math/s_catanf.c: Likewise.
11195 * math/s_catanh.c: Likewise.
11196 * math/s_catanhf.c: Likewise.
11197 * math/s_catanhl.c: Likewise.
11198 * math/s_catanl.c: Likewise.
11199 * math/s_cexp.c: Likewise.
11200 * math/s_cexpf.c: Likewise.
11201 * math/s_cexpl.c: Likewise.
11202 * math/s_clog.c: Likewise.
11203 * math/s_clog10.c: Likewise.
11204 * math/s_clog10f.c: Likewise.
11205 * math/s_clog10l.c: Likewise.
11206 * math/s_clogf.c: Likewise.
11207 * math/s_clogl.c: Likewise.
11208 * math/s_csqrt.c: Likewise.
11209 * math/s_csqrtf.c: Likewise.
11210 * math/s_csqrtl.c: Likewise.
11211 * math/s_ctanf.c: Likewise.
11212 * math/s_ctanh.c: Likewise.
11213 * math/s_ctanhf.c: Likewise.
11214 * math/s_ctanhl.c: Likewise.
11215 * math/s_ctanl.c: Likewise.
11217 * math/math_private.h: Define __nan, __nanf, __nanl.
11218 * math/s_cacosh.c: Include <math_private.h>.
11219 * math/s_cacoshl.c: Likewise.
11220 * math/s_casinh.c: Likewise.
11221 * math/s_casinhf.c: Likewise.
11222 * math/s_casinhl.c: Likewise.
11223 * math/s_ccos.c: Rely entire on ccosh.
11224 * math/s_ccosf.c: Rely entire on ccoshf.
11225 * math/s_ccosl.c: Rely entirely on ccoshl.
11226 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11227 Remove tests for FE_INVALID.
11228 * math/s_ccoshf.c: Likewise.
11229 * math/s_ccoshl.c: Likewise.
11230 * math/s_csin.c: Likewise.
11231 * math/s_csinf.c: Likewise.
11232 * math/s_csinh.c Likewise.
11233 * math/s_csinhf.c: Likewise.
11234 * math/s_csinhl.c: Likewise.
11235 * math/s_csinl.c: Likewise.
11236 * math/s_ctan.c: Likewise.
11237 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11238 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11239 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11241 2011-10-21 Ulrich Drepper <drepper@gmail.com>
11243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11244 compilation problems.
11246 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11249 2011-10-20 Ulrich Drepper <drepper@gmail.com>
11251 * sysdeps/i386/configure.in: Test for -mfma4 option.
11252 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11253 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11254 COMMON_CPUID_INDEX_80000001.
11255 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11256 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11257 use it if FMA3 is not supported.
11258 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11260 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11261 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11263 2011-10-20 Andreas Schwab <schwab@redhat.com>
11266 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11267 it would create a cycle with a link time dependency.
11269 2011-10-19 Ulrich Drepper <drepper@gmail.com>
11271 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11273 * string/Makefile (strop-tests): Add rawmemchr.
11274 * string/test-rawmemchr.c: New file.
11276 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11277 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11278 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11279 when compiling str{,n}casecmp and when AVX is available. Hook up
11280 new optimized code in initializers.
11282 2011-10-19 Andreas Schwab <schwab@redhat.com>
11284 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11285 __feraiseexcept instead of feraiseexcept.
11287 2011-10-18 Ulrich Drepper <drepper@gmail.com>
11289 * math/math_private.h: Define defaults for libc_fetestexcept and
11291 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11292 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11293 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11294 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11295 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11296 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11297 libc_fetestexcept and libc_feupdateenv.
11299 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11300 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11301 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11302 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11303 libc_feholdexcept_setround.
11305 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11306 Add s_nearbyint-c and s_nearbyintf-c.
11307 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11308 nearbyintf inlines.
11309 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11310 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11311 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11312 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11314 * math/math_private.h: Define defaults for libc_fegetround,
11315 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11316 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11317 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11318 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11319 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11320 standard functions.
11321 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11322 Remove comments and hacks for old compiler versions.
11323 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11324 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11325 libc_feholdexceptl.
11327 2011-10-18 Andreas Schwab <schwab@redhat.com>
11329 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
11330 (__feraiseexcept_renamed): Add __NTH.
11331 (feraiseexcept): Add __NTH. Rename local variables to fix
11332 namespace violations.
11334 2011-10-17 Ulrich Drepper <drepper@gmail.com>
11336 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11338 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11340 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11341 recently added interfaces.
11342 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11344 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11345 about macro parameter expansion.
11347 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11348 __NO_MATH_INLINES is defined. Cleanups.
11350 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11351 and __floorf is target has SSE4.1.
11352 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11353 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11354 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11355 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11357 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11359 (floorf): Likewise.
11361 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11363 2011-10-17 Andreas Schwab <schwab@redhat.com>
11365 * misc/sys/cdefs.h: Fix last change.
11367 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11370 2011-10-16 Ulrich Drepper <drepper@gmail.com>
11372 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11374 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11375 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11376 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11377 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11378 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11379 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11380 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11381 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11382 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11383 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11384 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11385 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11386 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11387 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11388 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11389 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11390 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11391 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11392 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11393 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11394 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11395 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11397 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11398 ceil, ceilf, floor, floorf.
11400 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11401 Perform IRELATIVE relocations last.
11403 * elf/do-rel.h: Add another parameter nrelative, replacing the
11404 local variable with the same name. Change name of the function
11405 to end in Rel or Rela (uppercase).
11406 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11407 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11408 elf_dynamic_do_##reloc function.
11410 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11412 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11413 is sufficient, at least on modern CPUs.
11415 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11417 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11418 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11420 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11422 * math/bits/math-finite.h: Add entries for exp.
11423 * math/e_expl.c: Add __*_finite alias.
11424 * sysdeps/i386/fpu/e_exp.S: Likewise.
11425 * sysdeps/i386/fpu/e_expf.S: Likewise.
11426 * sysdeps/i386/fpu/e_expl.c: Likewise.
11427 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11428 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11429 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11430 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11431 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11432 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11433 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11435 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11436 is sufficient, at least on modern CPUs.
11438 * ctype/ctype-info.c (__ctype_init): Define.
11439 * include/ctype.h (__ctype_init): Declare.
11440 (__ctype_b_loc): The variable is always initialized.
11441 (__ctype_toupper_loc): Likewise.
11442 (__ctype_tolower_loc): Likewise.
11443 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11444 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11446 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11448 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11450 * configure.in: Also look in $cxxmachine/include for C++ system
11453 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11455 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11456 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11457 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11458 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11459 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11460 (USE_AS_WMEMCMP): New macro.
11462 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11463 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11464 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11465 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11466 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11467 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11468 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11469 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11470 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11471 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11472 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11473 (USE_AS_WMEMCMP): New macro.
11474 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11475 * sysdeps/string/test-memcmp.c: Update.
11476 Fix simple_wmemcmp.
11478 * wcsmbs/wmemcmp.c: Update.
11479 (WMEMCMP): New macro.
11482 2011-10-12 Andreas Jaeger <aj@suse.de>
11485 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11487 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11489 * libio/iofwide.c (do_length): Avoid warning.
11491 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11493 2011-10-14 Ulrich Drepper <drepper@gmail.com>
11495 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11497 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11498 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11499 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11500 * sysdeps/i386/i686/fpu/e_log.S: New file.
11501 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11502 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11504 * ctype/ctype.h: Add support for inlined isXXX functions when
11505 compiling C++ code.
11507 2011-10-14 Andreas Schwab <schwab@redhat.com>
11509 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11511 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11513 2011-10-13 Roland McGrath <roland@hack.frob.com>
11516 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11518 2011-10-13 Andreas Schwab <schwab@redhat.com>
11520 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11521 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11524 * sysdeps/x86_64/memrchr.S: Check for zero size.
11526 * string/stratcliff.c: Add memrchr tests.
11528 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11531 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11532 rawmemchr-sse2 rawmemchr-sse2-bsf.
11533 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11534 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11535 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11536 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11537 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11538 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11539 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11540 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11541 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11542 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11543 * string/memrchr.c (MEMRCHR): New macro.
11545 2011-10-12 Ulrich Drepper <drepper@gmail.com>
11547 Add integration with gcc's -ffinite-math-only and optimize wrapper
11549 * Versions.def: Define GLIBC_2.15 version for libm.
11550 * math/Makefile (headers): Add bits/math-finite.h.
11551 * math/bits/math-finite.h: New file.
11552 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11553 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11554 * math/e_acoshl.c: Add __*_finite alias.
11555 * math/e_acosl.c: Likewise.
11556 * math/e_asinl.c: Likewise.
11557 * math/e_atan2l.c: Likewise.
11558 * math/e_atanhl.c: Likewise.
11559 * math/e_coshl.c: Likewise.
11560 * math/e_exp10.c: Likewise.
11561 * math/e_exp10f.c: Likewise.
11562 * math/e_exp10l.c: Likewise.
11563 * math/e_exp2l.c: Likewise.
11564 * math/e_fmodl.c: Likewise.
11565 * math/e_gammal_r.c: Likewise.
11566 * math/e_hypotl.c: Likewise.
11567 * math/e_j0l.c: Likewise.
11568 * math/e_j1l.c: Likewise.
11569 * math/e_jnl.c: Likewise.
11570 * math/e_lgammal_r.c: Likewise.
11571 * math/e_log10l.c: Likewise.
11572 * math/e_log2l.c: Likewise.
11573 * math/e_logl.c: Likewise.
11574 * math/e_powl.c: Likewise.
11575 * math/e_sinhl.c: Likewise.
11576 * math/e_sqrtl.c: Likewise.
11577 * math/e_scalb.c: Completely rewritten and optimized.
11578 * math/e_scalbf.c: Likewise.
11579 * math/e_scalbl.c: Likewise.
11580 * math/w_acos.c: Likewise.
11581 * math/w_acosf.c: Likewise.
11582 * math/w_acosl.c: Likewise.
11583 * math/w_acosh.c: Likewise.
11584 * math/w_acoshf.c: Likewise.
11585 * math/w_acoshl.c: Likewise.
11586 * math/w_asin.c: Likewise.
11587 * math/w_asinf.c: Likewise.
11588 * math/w_asinl.c: Likewise.
11589 * math/w_atan2.c: Likewise.
11590 * math/w_atan2f.c: Likewise.
11591 * math/w_atan2l.c: Likewise.
11592 * math/w_atanh.c: Likewise.
11593 * math/w_atanhf.c: Likewise.
11594 * math/w_atanhl.c: Likewise.
11595 * math/w_exp10.c: Likewise.
11596 * math/w_exp10f.c: Likewise.
11597 * math/w_exp10l.c: Likewise.
11598 * math/w_fmod.c: Likewise.
11599 * math/w_fmodf.c: Likewise.
11600 * math/w_fmodl.c: Likewise.
11601 * math/w_j0.c: Likewise.
11602 * math/w_j0f.c: Likewise.
11603 * math/w_j0l.c: Likewise.
11604 * math/w_j1.c: Likewise.
11605 * math/w_j1f.c: Likewise.
11606 * math/w_j1l.c: Likewise.
11607 * math/w_jn.c: Likewise.
11608 * math/w_jnf.c: Likewise.
11609 * math/w_log.c: Likewise.
11610 * math/w_logf.c: Likewise.
11611 * math/w_logl.c: Likewise.
11612 * math/w_log10.c: Likewise.
11613 * math/w_log10f.c: Likewise.
11614 * math/w_log10l.c: Likewise.
11615 * math/w_log2.c: Likewise.
11616 * math/w_log2f.c: Likewise.
11617 * math/w_log2l.c: Likewise.
11618 * math/w_pow.c: Likewise.
11619 * math/w_powf.c: Likewise.
11620 * math/w_powl.c: Likewise.
11621 * math/w_remainder.c: Likewise.
11622 * math/w_remainderf.c: Likewise.
11623 * math/w_remainderl.c: Likewise.
11624 * math/w_scalb.c: Likewise.
11625 * math/w_scalbf.c: Likewise.
11626 * math/w_scalbl.c: Likewise.
11627 * math/w_sqrt.c: Likewise.
11628 * math/w_sqrtf.c: Likewise.
11629 * math/w_sqrtl.c: Likewise.
11630 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11631 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11633 * math/math_private.h: Declare __kernel_standard_f.
11634 * math/w_cosh.c: Remove cruft and optimize a bit.
11635 * math/w_coshf.c: Likewise.
11636 * math/w_coshl.c: Likewise.
11637 * math/w_exp2.c: Likewise.
11638 * math/w_exp2f.c: Likewise.
11639 * math/w_exp2l.c: Likewise.
11640 * math/w_hypot.c: Likewise.
11641 * math/w_hypotf.c: Likewise.
11642 * math/w_hypotl.c: Likewise.
11643 * math/w_lgamma.c: Likewise.
11644 * math/w_lgamma_r.c: Likewise.
11645 * math/w_lgammaf.c: Likewise.
11646 * math/w_lgammaf_r.c: Likewise.
11647 * math/w_lgammal.c: Likewise.
11648 * math/w_lgammal_r.c: Likewise.
11649 * math/w_sinh.c: Likewise.
11650 * math/w_sinhf.c: Likewise.
11651 * math/w_sinhl.c: Likewise.
11652 * math/w_tgamma.c: Likewise.
11653 * math/w_tgammaf.c: Likewise.
11654 * math/w_tgammal.c: Likewise.
11655 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11656 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11657 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11658 Minor optimizations. Pretty printing. Remove cruft.
11659 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11660 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11661 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11662 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11663 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11664 * sysdeps/i386/fpu/e_asin.S: Likewise.
11665 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11666 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11667 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11668 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11669 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11670 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11671 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11672 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11673 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11674 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11675 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11676 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11677 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11678 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11679 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11680 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11681 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11682 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11683 * sysdeps/i386/fpu/e_log.S: Likewise.
11684 * sysdeps/i386/fpu/e_log10.S: Likewise.
11685 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11686 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11687 * sysdeps/i386/fpu/e_log2.S: Likewise.
11688 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11689 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11690 * sysdeps/i386/fpu/e_logf.S: Likewise.
11691 * sysdeps/i386/fpu/e_logl.S: Likewise.
11692 * sysdeps/i386/fpu/e_pow.S: Likewise.
11693 * sysdeps/i386/fpu/e_powf.S: Likewise.
11694 * sysdeps/i386/fpu/e_powl.S: Likewise.
11695 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11696 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11697 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11698 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11699 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11700 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11701 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11702 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11703 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11704 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11705 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11706 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11707 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11708 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11709 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11710 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11711 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11712 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11713 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11714 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11715 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11716 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11717 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11718 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11719 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11720 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11721 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11722 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11723 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11724 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11725 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11726 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11727 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11728 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11729 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11730 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11731 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11732 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11733 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11734 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11735 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11736 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11737 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11738 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11739 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11740 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11741 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11742 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11743 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11744 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11745 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11746 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11747 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11748 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11749 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11750 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11751 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11752 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11753 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11754 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11755 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11756 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11757 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11758 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11759 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11760 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11761 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11762 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11763 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11764 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11765 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11766 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11767 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11768 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11769 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11770 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11771 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11772 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11773 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11774 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11775 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11776 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11777 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11778 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11779 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11780 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11781 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11782 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11783 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11784 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11785 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11786 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11787 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11788 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11789 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11790 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11791 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11792 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11793 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11794 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11795 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11796 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11797 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11798 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11799 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11800 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11801 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11802 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11803 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11804 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11805 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11806 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11807 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11808 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11809 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11810 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11811 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11812 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11813 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11814 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11815 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11816 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11817 (__isnanf): Likewise.
11818 (__isinf_ns): Likewise.
11819 (__isinf_nsf): Likewise.
11820 (__finite): Likewise.
11821 (__finitef): Likewise.
11822 (__ieee754_sqrt): Define as macro.
11823 (__ieee754_sqrtf): Define as macro.
11824 (__ieee754_sqrtl): Define as macro.
11825 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11827 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11828 __FINITE_MATH_ONLY__ consistent.
11829 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11831 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11833 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11836 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11838 2011-10-09 Ulrich Drepper <drepper@gmail.com>
11840 * po/ja.po: Update from translation team.
11842 2011-10-08 Roland McGrath <roland@hack.frob.com>
11844 * locale/programs/locarchive.c (prepare_address_space): New function.
11845 (create_archive, enlarge_archive, open_archive): Use it.
11847 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11848 inside [SHARED], where it is used.
11850 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11852 * nss/getent.c (netgroup_keys): Remove unused variable.
11853 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11855 2011-10-08 Ulrich Drepper <drepper@gmail.com>
11857 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11858 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11859 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11860 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11861 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11862 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11863 * math/Makefile (libm-calls): Add s_isinf_ns.
11864 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11865 * math/multc3.c: Likewise.
11866 * math/s_casin.c: Likewise.
11867 * math/s_casinf.c: Likewise.
11868 * math/s_casinl.c: Likewise.
11869 * math/s_ccos.c: Likewise.
11870 * math/s_ccosf.c: Likewise.
11871 * math/s_ccosl.c: Likewise.
11872 * math/s_ctan.c: Likewise.
11873 * math/s_ctanf.c: Likewise.
11874 * math/s_ctanh.c: Likewise.
11875 * math/s_ctanhf.c: Likewise.
11876 * math/s_ctanhl.c: Likewise.
11877 * math/s_ctanl.c: Likewise.
11878 * math/w_fmod.c: Likewise.
11879 * math/w_fmodf.c: Likewise.
11880 * math/w_fmodl.c: Likewise.
11881 * math/w_remainder.c: Likewise.
11882 * math/w_remainderf.c: Likewise.
11883 * math/w_remainderl.c: Likewise.
11884 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11885 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11886 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11887 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11888 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11889 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11890 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11891 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11893 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11895 * stdio-common/printf_fphex.c: Likewise.
11896 * stdio-common/printf_size.c: Likewise.
11898 * math/e_exp10.c: Include math_private.h using <...> not "...".
11899 * math/e_exp10f.c: Likewise.
11900 * math/e_exp10l.c: Likewise.
11901 * math/e_exp2l.c: Likewise.
11902 * math/e_j0l.c: Likewise.
11903 * math/e_j1l.c: Likewise.
11904 * math/e_jnl.c: Likewise.
11905 * math/e_lgammal_r.c: Likewise.
11906 * math/e_rem_pio2l.c: Likewise.
11907 * math/e_scalb.c: Likewise.
11908 * math/e_scalbf.c: Likewise.
11909 * math/e_scalbl.c: Likewise.
11910 * math/k_cosl.c: Likewise.
11911 * math/k_sinl.c: Likewise.
11912 * math/k_tanl.c: Likewise.
11913 * math/s_cacoshf.c: Likewise.
11914 * math/s_catan.c: Likewise.
11915 * math/s_catanf.c: Likewise.
11916 * math/s_catanh.c: Likewise.
11917 * math/s_catanhf.c: Likewise.
11918 * math/s_catanhl.c: Likewise.
11919 * math/s_catanl.c: Likewise.
11920 * math/s_ccosh.c: Likewise.
11921 * math/s_ccoshf.c: Likewise.
11922 * math/s_ccoshl.c: Likewise.
11923 * math/s_cexp.c: Likewise.
11924 * math/s_cexpf.c: Likewise.
11925 * math/s_cexpl.c: Likewise.
11926 * math/s_clog.c: Likewise.
11927 * math/s_clog10.c: Likewise.
11928 * math/s_clog10f.c: Likewise.
11929 * math/s_clog10l.c: Likewise.
11930 * math/s_clogf.c: Likewise.
11931 * math/s_clogl.c: Likewise.
11932 * math/s_csin.c: Likewise.
11933 * math/s_csinf.c: Likewise.
11934 * math/s_csinh.c: Likewise.
11935 * math/s_csinhf.c: Likewise.
11936 * math/s_csinhl.c: Likewise.
11937 * math/s_csinl.c: Likewise.
11938 * math/s_csqrt.c: Likewise.
11939 * math/s_csqrtf.c: Likewise.
11940 * math/s_csqrtl.c: Likewise.
11941 * math/s_ctan.c: Likewise.
11942 * math/s_ctanf.c: Likewise.
11943 * math/s_ctanh.c: Likewise.
11944 * math/s_ctanhf.c: Likewise.
11945 * math/s_ctanhl.c: Likewise.
11946 * math/s_ctanl.c: Likewise.
11947 * math/s_ldexp.c: Likewise.
11948 * math/s_ldexpf.c: Likewise.
11949 * math/s_ldexpl.c: Likewise.
11950 * math/s_significand.c: Likewise.
11951 * math/s_significandf.c: Likewise.
11952 * math/s_significandl.c: Likewise.
11953 * math/w_acos.c: Likewise.
11954 * math/w_acosf.c: Likewise.
11955 * math/w_acosh.c: Likewise.
11956 * math/w_acoshf.c: Likewise.
11957 * math/w_acoshl.c: Likewise.
11958 * math/w_acosl.c: Likewise.
11959 * math/w_asin.c: Likewise.
11960 * math/w_asinf.c: Likewise.
11961 * math/w_asinl.c: Likewise.
11962 * math/w_atan2.c: Likewise.
11963 * math/w_atan2f.c: Likewise.
11964 * math/w_atan2l.c: Likewise.
11965 * math/w_atanh.c: Likewise.
11966 * math/w_atanhf.c: Likewise.
11967 * math/w_atanhl.c: Likewise.
11968 * math/w_cosh.c: Likewise.
11969 * math/w_coshf.c: Likewise.
11970 * math/w_coshl.c: Likewise.
11971 * math/w_dremf.c: Likewise.
11972 * math/w_exp10.c: Likewise.
11973 * math/w_exp10f.c: Likewise.
11974 * math/w_exp10l.c: Likewise.
11975 * math/w_exp2.c: Likewise.
11976 * math/w_exp2f.c: Likewise.
11977 * math/w_fmod.c: Likewise.
11978 * math/w_fmodf.c: Likewise.
11979 * math/w_fmodl.c: Likewise.
11980 * math/w_hypot.c: Likewise.
11981 * math/w_hypotf.c: Likewise.
11982 * math/w_hypotl.c: Likewise.
11983 * math/w_j0.c: Likewise.
11984 * math/w_j0f.c: Likewise.
11985 * math/w_j0l.c: Likewise.
11986 * math/w_j1.c: Likewise.
11987 * math/w_j1f.c: Likewise.
11988 * math/w_j1l.c: Likewise.
11989 * math/w_jn.c: Likewise.
11990 * math/w_jnf.c: Likewise.
11991 * math/w_jnl.c: Likewise.
11992 * math/w_lgamma.c: Likewise.
11993 * math/w_lgamma_r.c: Likewise.
11994 * math/w_lgammaf.c: Likewise.
11995 * math/w_lgammaf_r.c: Likewise.
11996 * math/w_lgammal.c: Likewise.
11997 * math/w_lgammal_r.c: Likewise.
11998 * math/w_log.c: Likewise.
11999 * math/w_log10.c: Likewise.
12000 * math/w_log10f.c: Likewise.
12001 * math/w_log10l.c: Likewise.
12002 * math/w_log2.c: Likewise.
12003 * math/w_log2f.c: Likewise.
12004 * math/w_log2l.c: Likewise.
12005 * math/w_logf.c: Likewise.
12006 * math/w_logl.c: Likewise.
12007 * math/w_pow.c: Likewise.
12008 * math/w_powf.c: Likewise.
12009 * math/w_powl.c: Likewise.
12010 * math/w_remainder.c: Likewise.
12011 * math/w_remainderf.c: Likewise.
12012 * math/w_remainderl.c: Likewise.
12013 * math/w_scalb.c: Likewise.
12014 * math/w_scalbf.c: Likewise.
12015 * math/w_scalbl.c: Likewise.
12016 * math/w_sinh.c: Likewise.
12017 * math/w_sinhf.c: Likewise.
12018 * math/w_sinhl.c: Likewise.
12019 * math/w_sqrt.c: Likewise.
12020 * math/w_sqrtf.c: Likewise.
12021 * math/w_sqrtl.c: Likewise.
12022 * math/w_tgamma.c: Likewise.
12023 * math/w_tgammaf.c: Likewise.
12024 * math/w_tgammal.c: Likewise.
12026 * po/ja.po: Update from translation team.
12028 2011-09-29 Andreas Jaeger <aj@suse.de>
12031 * sunrpc/netname.c (netname2host): Fix logic.
12035 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12037 * math/w_remainder.c (__remainder): Likewise.
12038 * math/w_remainderf.c (__remainderf): Likewise.
12039 * math/libm-test.inc (remainder_test): Add test cases.
12041 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12043 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12046 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12048 * string/test-memcmp.c: Avoid unncessary #defines.
12049 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12051 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12053 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12054 Use new sse2 version for core i3 - i7 as it's faster
12055 than sse42 version.
12056 (bit_Prefer_PMINUB_for_stringop): New.
12057 * sysdeps/x86_64/rawmemchr.S: Update.
12058 Replace with faster SSE2 version.
12059 * sysdeps/x86_64/memrchr.S: New file.
12060 * sysdeps/x86_64/memchr.S: Update.
12061 Replace with faster SSE2 version.
12063 2011-09-12 Marek Polacek <mpolacek@redhat.com>
12065 * elf/dl-load.c (lose): Add cast to avoid warning.
12067 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12069 * po/ca.po: Update from translation team.
12071 * inet/getnetgrent_r.c: Hook up nscd.
12072 * nscd/Makefile (routines): Add nscd_netgroup.
12073 (nscd-modules): Add netgroupcache.
12074 (CFLAGS-netgroupcache.c): Define.
12075 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12076 (cache_search): Add const to second parameter.
12077 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12079 (dbs): Add netgrdb entry.
12080 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12081 (verify_persistent_db): Handle netgrdb.
12082 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12083 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12085 (netgroup_response_header): Define.
12086 (innetgroup_response_header): Define.
12087 (datahead): Add netgroup_response_header and innetgroup_response_header
12089 * nscd/nscd.conf: Add entries for netgroup cache.
12090 * nscd/nscd.h (dbtype): Add netgrdb.
12091 (_PATH_NSCD_NETGROUP_DB): Define.
12092 (netgroup_iov_disabled): Declare.
12093 (xmalloc, xcalloc, xrealloc): Move declarations here.
12094 (cache_search): Adjust prototype.
12095 Add netgroup-related prototypes.
12096 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12097 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12098 (__nscd_innetgr): Declare.
12099 * nscd/selinux.c (perms): Use access_vector_t as element type and
12100 add netgroup-related initializers.
12101 * nscd/netgroupcache.c: New file.
12102 * nscd/nscd_netgroup.c: New file.
12103 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12104 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12105 For four parameters use innetgr.
12106 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12107 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12108 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12109 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12111 * nscd/connections.c (register_traced_file): Don't register file
12112 for disabled databases.
12114 2011-10-06 Ulrich Drepper <drepper@gmail.com>
12116 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12118 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12119 from tree and freeing node.
12121 2011-09-25 Jiri Olsa <jolsa@redhat.com>
12123 * nss/nsswitch.c (__nss_database_lookup): Handle
12124 nss_parse_service_list out of memory case.
12126 2011-09-15 Jiri Olsa <jolsa@redhat.com>
12128 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12129 out of memory case.
12131 2011-10-04 Andreas Schwab <schwab@redhat.com>
12133 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12134 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12136 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12137 elf_machine_rela, elf_machine_lazy_rel.
12138 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12139 (ELF_DYNAMIC_DO_REL): Likewise.
12140 (ELF_DYNAMIC_DO_RELA): Likewise.
12141 (ELF_DYNAMIC_RELOCATE): Likewise.
12142 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12143 to ELF_DYNAMIC_DO_REL.
12144 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12145 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12146 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12148 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12149 skip_ifunc, don't call ifunc function if non-zero.
12150 (elf_machine_rela): Likewise.
12151 (elf_machine_lazy_rel): Likewise.
12152 (elf_machine_lazy_rela): Likewise.
12153 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12154 (elf_machine_lazy_rel): Likewise.
12155 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12157 (elf_machine_lazy_rel): Likewise.
12158 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12160 (elf_machine_lazy_rel): Likewise.
12161 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12162 (elf_machine_lazy_rel): Likewise.
12163 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12164 (elf_machine_lazy_rel): Likewise.
12165 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12166 (elf_machine_lazy_rel): Likewise.
12167 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12168 (elf_machine_lazy_rel): Likewise.
12169 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12170 (elf_machine_lazy_rel): Likewise.
12171 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12172 (elf_machine_lazy_rel): Likewise.
12174 2011-09-28 Ulrich Drepper <drepper@gmail.com>
12176 * nss/nss_files/files-init.c (_nss_files_init): Use static
12177 initialization for all the *_traced_file variables.
12179 2011-09-28 Andreas Schwab <schwab@redhat.com>
12181 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12183 2011-09-27 Roland McGrath <roland@hack.frob.com>
12186 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12188 2011-09-27 Andreas Schwab <schwab@redhat.com>
12190 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12191 Reread the line before reparsing it.
12193 2011-09-26 Andreas Schwab <schwab@redhat.com>
12195 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12197 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12198 Maxim Kuvyrkov <maxim@codesourcery.com>
12199 Joseph Myers <joseph@codesourcery.com>
12201 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12202 if needed for __stack_chk_guard.
12204 2011-09-19 Roland McGrath <roland@hack.frob.com>
12206 * sysdeps/posix/spawni.c (script_execute): Always define it.
12207 It will be optimized away if unused.
12208 (maybe_script_execute): New function.
12209 (__spawni): Call it.
12211 * Makerules: Don't include tls.make.
12212 (config-tls): Always set to thread.
12213 * tls.make.c: File removed.
12215 2011-09-19 Mike Frysinger <vapier@gentoo.org>
12217 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12218 * config.make.in (CPPFLAGS-config): New substituted variable.
12220 2011-09-15 Ulrich Drepper <drepper@gmail.com>
12222 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12225 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12226 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12228 2011-09-15 Roland McGrath <roland@hack.frob.com>
12230 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12231 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12232 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12233 (CALL_FAIL): Likewise.
12234 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12235 (CALL_FAIL): Macro removed.
12236 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12238 2011-09-15 Ulrich Drepper <drepper@gmail.com>
12240 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12241 for __FINITE_MATH_ONLY__ == 1.
12243 2011-09-15 Andreas Schwab <schwab@redhat.com>
12245 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12246 __ieee754_sqrt instead of sqrt.
12247 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12248 __ieee754_sqrtf instead of sqrtf.
12249 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12250 __floorf instead of floorf.
12251 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12252 __floorf, __truncf instead of floorf, truncf.
12254 2011-09-14 Ulrich Drepper <drepper@gmail.com>
12256 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12258 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12259 __extern_always_inline.
12260 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12263 2011-09-14 Andreas Schwab <schwab@redhat.com>
12265 * elf/rtld.c (dl_main): Also relocate in dependency order when
12266 doing symbol dependency testing.
12268 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12270 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12271 Always define `refsym'.
12273 2011-09-13 Andreas Schwab <schwab@redhat.com>
12275 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12276 (__FD_ELT): Renamed from __FDELT.
12277 * misc/bits/select2.h (__FD_ELT): Likewise.
12278 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12279 __FD_MASK instead of __FDELT, __FDMASK.
12280 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12282 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12285 * elf/Makefile (gen-ldd): Fix pattern.
12287 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12288 (init_tls): Likewise.
12290 2011-09-12 Ulrich Drepper <drepper@gmail.com>
12292 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12294 2011-09-12 Andreas Schwab <schwab@redhat.com>
12296 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12297 `struct cmsghdr *' instead of `void *'.
12298 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12301 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12303 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12305 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12306 ldd_rewrite_script.
12308 2011-09-11 Ulrich Drepper <drepper@gmail.com>
12310 * configure.in: Remove --with-tls option.
12311 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12312 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12313 out in case it is missing.
12314 * sysdeps/ia64/elf/configure.in: Likewise.
12315 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12316 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12317 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12318 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12319 * sysdeps/sh/elf/configure.in: Likewise.
12320 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12321 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12322 * sysdeps/x86_64/elf/configure.in: Likewise.
12323 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12324 * sysdeps/mach/hurd/tls.h: Likewise.
12327 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12330 * configure.in: Fix use of AC_INIT.
12332 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12334 2011-09-10 Ulrich Drepper <drepper@gmail.com>
12336 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12338 * malloc/hooks.c: Likewise.
12341 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12342 variables statically.
12343 (narenas): Initialize.
12344 (list_lock): Initialize.
12345 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12346 initializtion of main_arena and list_lock. Small cleanups.
12347 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12348 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12349 Add initializers to main_arena and mp_.
12350 (malloc_state): Remove pagesize member. Change all users to use
12353 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12354 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12355 is always initialized.
12357 * malloc/malloc.c: Removed unused configurations and dead code.
12358 * malloc/arena.c: Likewise.
12359 * malloc/hooks.c: Likewise.
12360 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
12362 * include/tls.h: Removed. USE___THREAD must always be defined.
12363 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12364 * elf/dl-libc.c: Likewise.
12365 * elf/dl-tsd.c: Likewise.
12366 * include/errno.h: Likewise.
12367 * include/netdb.h: Likewise.
12368 * include/resolv.h: Likewise.
12369 * inet/herrno-loc.c: Likewise.
12370 * inet/herrno.c: Likewise.
12371 * malloc/arena.c: Likewise.
12372 * malloc/hooks.c: Likewise.
12373 * malloc/malloc.c: Likewise.
12374 * resolv/res-state.c: Likewise.
12375 * resolv/res_libc.c: Likewise.
12376 * sysdeps/i386/dl-machine.h: Likewise.
12377 * sysdeps/ia64/dl-machine.h: Likewise.
12378 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12379 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12380 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12381 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12382 * sysdeps/sh/dl-machine.h: Likewise.
12383 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12384 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12385 * sysdeps/unix/i386/sysdep.S: Likewise.
12386 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12387 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12388 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12389 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12390 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12391 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12392 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12393 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12394 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12395 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12396 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12397 * sysdeps/x86_64/dl-machine.h: Likewise.
12398 * tls.make.c: Likewise.
12400 * configure.in: Remove --with-__thread option. Make tests for
12401 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12402 tls_model attribute fail if no support is available. Remove
12404 * Makeconfig: Adjust for dropped configure option. All features are
12406 * Makerules: Likewise.
12407 * Versions.def: Likewise.
12408 * argp/argp-fmtstream.c: Likewise.
12409 * argp/argp-fmtstream.h: Likewise.
12410 * argp/argp-help.c: Likewise.
12411 * assert/assert.c: Likewise.
12412 * config.h.in: Likewise.
12413 * config.make.in: Likewise.
12414 * configure: Likewise.
12415 * configure.in: Likewise.
12416 * csu/Versions: Likewise.
12417 * csu/init.c: Likewise.
12418 * elf/tst-audit2.c: Likewise.
12419 * elf/tst-tls10.c: Likewise.
12420 * elf/tst-tls10.h: Likewise.
12421 * elf/tst-tls11.c: Likewise.
12422 * elf/tst-tls12.c: Likewise.
12423 * elf/tst-tls14.c: Likewise.
12424 * elf/tst-tlsmod11.c: Likewise.
12425 * elf/tst-tlsmod12.c: Likewise.
12426 * elf/tst-tlsmod13.c: Likewise.
12427 * elf/tst-tlsmod13a.c: Likewise.
12428 * elf/tst-tlsmod14a.c: Likewise.
12429 * elf/tst-tlsmod15b.c: Likewise.
12430 * elf/tst-tlsmod16a.c: Likewise.
12431 * elf/tst-tlsmod16b.c: Likewise.
12432 * elf/tst-tlsmod7.c: Likewise.
12433 * elf/tst-tlsmod8.c: Likewise.
12434 * elf/tst-tlsmod9.c: Likewise.
12435 * gmon/gmon.c: Likewise.
12436 * grp/fgetgrent_r.c: Likewise.
12437 * grp/putgrent.c: Likewise.
12438 * hurd/fopenport.c: Likewise.
12439 * include/libc-symbols.h: Likewise.
12440 * include/tls.h: Likewise.
12441 * intl/gettextP.h: Likewise.
12442 * intl/loadinfo.h: Likewise.
12443 * locale/global-locale.c: Likewise.
12444 * locale/localeinfo.h: Likewise.
12445 * mach/devstream.c: Likewise.
12446 * malloc/arena.c: Likewise.
12447 * malloc/set-freeres.c: Likewise.
12448 * misc/err.c: Likewise.
12449 * misc/getttyent.c: Likewise.
12450 * misc/mntent_r.c: Likewise.
12451 * posix/getopt.c: Likewise.
12452 * posix/wordexp.c: Likewise.
12453 * pwd/fgetpwent_r.c: Likewise.
12454 * resolv/Versions: Likewise.
12455 * resolv/res_hconf.c: Likewise.
12456 * shadow/fgetspent_r.c: Likewise.
12457 * shadow/putspent.c: Likewise.
12458 * stdio-common/printf_fphex.c: Likewise.
12459 * stdio-common/tmpfile.c: Likewise.
12460 * stdlib/abort.c: Likewise.
12461 * stdlib/fmtmsg.c: Likewise.
12462 * sunrpc/auth_unix.c: Likewise.
12463 * sunrpc/clnt_perr.c: Likewise.
12464 * sunrpc/clnt_tcp.c: Likewise.
12465 * sunrpc/clnt_udp.c: Likewise.
12466 * sunrpc/clnt_unix.c: Likewise.
12467 * sunrpc/openchild.c: Likewise.
12468 * sunrpc/svc_simple.c: Likewise.
12469 * sunrpc/svc_tcp.c: Likewise.
12470 * sunrpc/svc_udp.c: Likewise.
12471 * sunrpc/svc_unix.c: Likewise.
12472 * sunrpc/xdr.c: Likewise.
12473 * sunrpc/xdr_array.c: Likewise.
12474 * sunrpc/xdr_rec.c: Likewise.
12475 * sunrpc/xdr_ref.c: Likewise.
12476 * sunrpc/xdr_stdio.c: Likewise.
12478 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12480 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12482 2011-07-03 Andreas Jaeger <aj@suse.de>
12484 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12485 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12486 regenerate with gen-libm-tests.pl.
12488 2010-05-12 Petr Baudis <pasky@suse.cz>
12491 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12492 around j0() zero points by switching to j1().
12493 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12494 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12495 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12496 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12498 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12500 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12502 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12504 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12505 Patch in part by Pavel Roskin <proski@gnu.org>.
12508 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12510 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12511 Free memory block if necessary.
12514 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12515 be NULL. Don't lock in this case.
12517 2011-09-09 Roland McGrath <roland@hack.frob.com>
12519 * elf/elf.h (ELFOSABI_GNU): New macro.
12520 (ELFOSABI_LINUX): Define to that.
12522 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12524 * string/strncat.c (strncat): Undef the symbol in case it has been
12525 defined in bits/string.h.
12527 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12529 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12531 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12534 2011-08-17 Andreas Jaeger <aj@suse.de>
12536 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12538 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12539 Ian Lance Taylor <iant@google.com>
12541 * math/libm-test.inc (lround_test): New testcase.
12542 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12544 2011-09-08 Ulrich Drepper <drepper@gmail.com>
12546 * Makefile: Remove support for automatic cvs check-ins.
12547 * Makerules: Likewise.
12548 * config.make.in: Likewise.
12549 * configure.in: Likewise.
12550 * intl/Makefile: Likewise.
12551 * locale/Makefile: Likewise.
12552 * po/Makefile: Likewise.
12553 * posix/Makefile: Likewise.
12554 * sysdeps/gnu/Makefile: Likewise.
12555 * sysdeps/mach/hurd/Makefile: Likewise.
12556 * sysdeps/sparc/sparc32/Makefile: Likewise.
12559 * posix/Makefile (bug-regex32-ENV): Define.
12560 Patch by John Stanley <jpsinthemix@verizon.net>.
12562 * misc/Makefile (headers): Add bits/select2.h.
12563 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12564 * misc/bits/select2.h: New file.
12565 * include/bits/select2.h: New file.
12566 * debug/Makefile (routines): Add fdelt_chk.
12567 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12568 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12570 * debug/fdelt_chk.c: New file.
12572 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12573 * wcsmbs/test-wmemcmp.c: Likewise.
12574 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12575 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12577 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12579 * string/Makefile (strop-tests): Add memcmp.
12580 * string/test-wmemcmp.c: New file.
12581 * string/test-memcmp.c: Add wmemcmp support.
12583 2011-09-08 Roland McGrath <roland@hack.frob.com>
12586 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12589 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12590 garbage value in a __mach_port_mod_refs call in the cases of the
12591 task-self and thread-self ports.
12593 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12595 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12597 2011-09-08 Andreas Schwab <schwab@redhat.com>
12599 * elf/dl-load.c (lose): Check for non-null L.
12601 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12603 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12605 * elf/dl-libc.c (dlerror_run): Pass back error code from
12609 * elf/dl-load.c (lose): Free l_origin if it is valid.
12611 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12613 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12614 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12615 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12616 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12617 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12618 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12620 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12622 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12623 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12624 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12625 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12626 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12627 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12628 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12629 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12630 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12631 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12633 2011-08-15 Alan Modra <amodra@gmail.com>
12636 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12637 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12638 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12639 ppc_mcount to static-only-routines.
12640 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12642 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12643 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12645 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12647 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12648 for finite and infinity parameters.
12650 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12652 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12653 and add nop instructions for throughput optimization.
12654 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12656 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12658 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12659 aligned copy for power7 with vector-scalar instructions.
12660 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12662 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12664 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12667 2011-09-07 Andreas Schwab <schwab@redhat.com>
12670 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12673 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12675 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12676 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12677 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12678 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12681 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12683 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12684 Forgot to demangle the pointer.
12686 * sysdeps/i386/sysdep.h: Define atom_text_section.
12687 * sysdeps/x86_64/sysdep.h: Likewise.
12688 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12689 section with atom_text_section.
12690 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12691 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12692 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12693 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12694 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12696 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12697 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12698 already be defined. Change to take two parameters and don't assign
12699 result to variable. Adjust all users.
12700 Define INTERNAL_GETTIME if not already defined.
12701 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12703 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12704 HAVE_CLOCK_GETTIME_VSYSCALL.
12705 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12707 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12708 gettimeofday vsyscall, just use time.
12710 2011-09-06 Andreas Schwab <schwab@redhat.com>
12712 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12715 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12717 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12719 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12721 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12722 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12723 syscall if possible.
12725 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12727 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12728 e_ident. Don't pass to find_mapsXX.
12729 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12731 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12734 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12735 * sysdeps/x86_64/multiarch/strchr.S: Update.
12736 Check bit_slow_BSF bit.
12737 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12738 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12739 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12741 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12744 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12746 (tryshell): Define.
12747 (__spawni): Change last parameter to be flag. Test
12748 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12749 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12750 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12751 * posix/spawni.c: Likewise.
12752 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12753 * posix/spawnp.c: Likewise. Change normal version to use
12754 SPAWN_XFLAGS_USE_PATH.
12755 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12756 SPAWN_XFLAGS_TRY_SHELL.
12759 * posix/glob.h: Remove gcc 1.x support.
12762 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12764 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12766 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12767 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12769 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12770 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12771 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12772 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12773 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12774 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12776 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12778 * sysdeps/x86_64/wcscmp.S: New file.
12780 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12781 wcscmp-c wcscmp-sse2
12782 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12783 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12784 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12785 * wcsmbs/wcscmp.c: Allow renaming.
12787 2011-09-05 David S. Miller <davem@davemloft.net>
12789 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12790 stack slot, rather than the struct return pointer slot.
12791 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12792 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12794 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12796 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12798 * po/ja.po: Update from translation team.
12801 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12802 kernel in 64-bit binaries.
12804 2011-09-01 David S. Miller <davem@davemloft.net>
12806 * elf/elf.h (HWCAP_SPARC_*): Move to..
12807 * sysdeps/sparc/sysdep.h: this new file and add new values.
12808 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12809 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12810 _DL_HWCAP_COUNT to 24.
12811 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12813 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12814 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12815 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12816 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12817 instead of magic constants.
12818 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12820 2011-08-31 David S. Miller <davem@davemloft.net>
12822 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12823 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12824 Reimplement to do errno handling inline.
12825 (SYSCALL_ERROR_HANDLER): New macro.
12826 (__SYSCALL_STRING): Do not do errno handling in asm.
12827 (__CLONE_SYSCALL_STRING): Delete.
12828 (__INTERNAL_SYSCALL_STRING): Delete.
12829 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12830 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12831 (PSEUDO): Reimplement to do errno handling inline.
12832 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12833 (SYSCALL_ERROR_HANDLER): New macro.
12834 (__SYSCALL_STRING): Do not do errno handling in asm.
12835 (__CLONE_SYSCALL_STRING): Delete.
12836 (__INTERNAL_SYSCALL_STRING): Delete.
12837 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12838 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12840 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12841 (inline_syscall*): Add 'err' argument.
12842 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12843 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12844 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12845 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12847 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12848 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12850 2011-08-30 Andreas Schwab <schwab@redhat.com>
12852 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12854 2011-08-29 Jiri Olsa <jolsa@redhat.com>
12856 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12859 2011-08-24 David S. Miller <davem@davemloft.net>
12861 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12863 2011-08-24 Andreas Schwab <schwab@redhat.com>
12865 * elf/Makefile: Add rules to build and run unload8 test.
12866 * elf/unload8.c: New file.
12867 * elf/unload8mod1.c: New file.
12868 * elf/unload8mod1x.c: New file.
12869 * elf/unload8mod2.c: New file.
12870 * elf/unload8mod3.c: New file.
12872 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12875 2011-08-23 David S. Miller <davem@davemloft.net>
12877 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12878 subtract stack bias.
12879 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12880 %sp not %fp in calculations.
12881 (_JMPBUF_UNWINDS_ADJ): Likewise.
12883 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12884 (aio_suspend): Call it to force an exception region around the
12885 AIO_MISC_WAIT() invocation.
12887 2011-08-23 Andreas Schwab <schwab@redhat.com>
12889 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12892 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12894 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12896 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12897 and <dl-machine.h>.
12898 (Elf64_FuncDesc): Remove.
12900 2011-08-22 David S. Miller <davem@davemloft.net>
12902 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12903 sigaltstack check, add missing cfi directives.
12904 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12905 missing cfi directives, and sigaltstack handling.
12907 2011-08-16 Andreas Schwab <schwab@redhat.com>
12910 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12911 object is seen twice.
12912 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12914 * elf/Makefile (distribute): Add tst-initorder2.c.
12915 (tests): Add tst-initorder2.
12916 (modules-names): Add tst-initorder2a tst-initorder2b
12917 tst-initorder2c tst-initorder2d. Add rules to build them.
12918 ($(objpfx)tst-initorder2.out): New rule.
12919 * elf/tst-initorder2.c: New file.
12920 * elf/tst-initorder2.exp: New file.
12922 2011-08-22 Andreas Schwab <schwab@redhat.com>
12924 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12926 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12927 dependencies back to end of function.
12929 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12930 $(elfobjdir)/ld.so.
12932 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12934 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12935 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12936 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12937 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12938 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12939 of __vdso_gettimeofday.
12940 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12941 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12943 (_libc_vdso_platform_setup): Remove initialization of
12944 __vdso_gettimeofday and __vdso_time.
12946 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12948 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12949 and fgetc_unlocked.
12950 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12953 * elf/dl-open.c (add_to_global): Report additions to the global scope
12954 for LD_DEBUG=scopes.
12955 (dl_open_worker): Also print scope of newly loaded dependencies.
12956 (_dl_show_scope): Indicate if there is no scope.
12959 * stdio-common/Makefile (tests): Add bug24.
12960 * stdio-common/bug24.c: New file.
12962 2011-08-19 Andreas Jaeger <aj@suse.de>
12965 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12966 non-existant file when using close-on-exec mode.
12968 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12970 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12971 the very first instruction.
12973 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12974 the CFI state in the end.
12975 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12976 inclusion of dl-trampoline.h.
12977 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12979 2011-08-19 Andreas Schwab <schwab@redhat.com>
12981 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12982 expectations for long double.
12984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12985 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12987 2011-08-14 David S. Miller <davem@davemloft.net>
12989 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12990 artificual limit depends upon the system page size.
12992 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12994 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12995 * resolv/Makefile: Define CFLAGS-libresolv.
12997 2011-08-17 Andreas Schwab <schwab@redhat.com>
12999 * nss/makedb.c (compute_tables): Make variables used in nested
13002 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13004 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13005 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13006 if buffer was too small.
13008 * elf/pldd.c (main): Attach to all threads in the process.
13009 Rewrite /proc handling to use *at functions.
13011 2011-08-16 Ulrich Drepper <drepper@gmail.com>
13013 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13014 specifies first scope to show.
13015 (dl_open_worker): Update callers. Move printing scope of new
13016 object to before the relocation.
13017 * elf/rtld.c (dl_main): Update _dl_show_scope call.
13018 * sysdeps/generic/ldsodefs.h: Update declaration.
13020 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13021 string for the scope number.
13023 2011-08-14 Ulrich Drepper <drepper@gmail.com>
13025 * nscd/servicescache.c (cache_addserv): Make sure written is always
13028 2011-08-14 Roland McGrath <roland@hack.frob.com>
13030 * sysdeps/i386/i486/bits/atomic.h
13031 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13032 statement expression, so as to suppress "set but not used" warning.
13033 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13035 * string/strncat.c (STRNCAT): Use prototype definition.
13037 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13038 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13040 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13041 (localedef-modules): Add localedef.
13042 (locale-modules): Add locale.
13044 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13045 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13046 to avoid a warning.
13048 2011-08-14 David S. Miller <davem@davemloft.net>
13050 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13051 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13053 2011-08-13 Ulrich Drepper <drepper@gmail.com>
13055 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
13056 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13057 * elf/rtld.c (dl_main): Set l_name of vDSO.
13058 Call _dl_show_scope when DL_DEBUG_SCOPES.
13059 (process_dl_debug): Recognize scopes flag and also set it for all.
13060 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13061 Declare _dl_show_scope.
13063 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13064 (do_dlopen): Pass caller_dlopen to dl_open.
13065 (__libc_dlopen_mode): Initialize caller_dlopen.
13067 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13068 of libc. Make tolower call locale-independent. Optimize a bit by
13069 using isdigit instead of isalnum.
13070 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13072 2011-08-12 Ulrich Drepper <drepper@gmail.com>
13074 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13075 was a dependency or dynamically loaded.
13077 2011-08-11 Ulrich Drepper <drepper@gmail.com>
13079 * intl/l10nflist.c: Allow architecture-specific pop function.
13080 * sysdeps/x86_64/l10nflist.c: New file.
13082 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13085 2011-08-10 Andreas Schwab <schwab@redhat.com>
13087 * include/dirent.h: Add libc_hidden_proto for scandirat and
13088 scandirat64. Don't declare __scandirat64.
13089 * dirent/scandirat.c: Add libc_hidden_def.
13090 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13091 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13093 2011-08-10 David S. Miller <davem@davemloft.net>
13095 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13097 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13098 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13099 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13101 2011-08-09 Ulrich Drepper <drepper@gmail.com>
13103 * Versions.def [libc]: Add GLIBC_2.15.
13104 * dirent/Makefile (routines): Add scandirat and scandirat64.
13105 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13107 * dirent/dirent.h: Declare scandirat and scandirat64.
13108 * dirent/scandirat.c: New file.
13109 * dirent/scandirat64.c: New file.
13110 * sysdeps/wordsize-64/scandirat.c: New file.
13111 * sysdeps/wordsize-64/scandirat64.c: New file.
13112 * dirent/opendir.c: Define opendirat.
13113 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13115 * dirent/scandir64.c: Adjust for scandir.c change.
13116 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13117 __scandirat64, and __scandir_cancel_handler.
13118 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13119 additional parameter and use openat instead of open (outside of ld.so).
13120 Add new __opendir as wrapper around __opendirat.
13121 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13122 here without requiring old scandirat implementation.
13124 2011-08-08 Ulrich Drepper <drepper@gmail.com>
13126 * dirent/scandir.c (cancel_handler): Renamed to
13127 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13128 defined. Adjust users.
13129 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13130 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13132 2011-08-04 Ulrich Drepper <drepper@gmail.com>
13134 * string/test-string.h (IMPL): Use __STRING to expand name and then
13137 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13140 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13142 * string/Makefile: Update.
13143 (strop-tests): Append strncat.
13144 * string/test-wcscmp.c: New file.
13145 New comprehensive test for wcscmp.
13146 * string/test-strcmp.c: Update.
13147 (WIDE): New define.
13149 2011-07-22 Andreas Schwab <schwab@redhat.com>
13151 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13154 2011-07-26 Andreas Schwab <schwab@redhat.com>
13156 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13157 encoding to ACE if AI_IDN.
13159 2011-08-01 Jakub Jelinek <jakub@redhat.com>
13161 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13162 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13164 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13166 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13167 Fix overflow bug in strncat.
13168 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13170 * string/test-strncat.c: Update.
13171 Add new tests for checking overflow bugs.
13173 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13175 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13176 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13177 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13178 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13179 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13180 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13181 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13182 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13183 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13185 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13186 (USE_AS_STRCAT): Define.
13187 Add strcat and strncat support.
13188 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13190 2011-07-25 Andreas Schwab <schwab@redhat.com>
13192 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13193 __n bigger than INT_MAX+1.
13194 (__strncmp_g): Likewise.
13196 2011-07-23 Ulrich Drepper <drepper@gmail.com>
13198 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13199 * libio/stido.h: Likewise.
13201 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13203 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13206 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13207 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13208 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13209 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13210 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13213 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13216 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13218 (_dl_x86_64_save_sse): Likewise.
13220 2011-07-22 Ulrich Drepper <drepper@gmail.com>
13222 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13224 (_dl_x86_64_save_sse): Likewise.
13226 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13228 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13230 2011-07-21 Andreas Schwab <schwab@redhat.com>
13232 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13234 (_dl_x86_64_save_sse): Use correct AVX check.
13236 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13238 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13239 bug in strncpy/strncat.
13240 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13242 2011-07-21 Ulrich Drepper <drepper@gmail.com>
13244 * string/tester.c (test_strcat): Add tests for different alignments
13245 of source and destination.
13246 (test_strncat): Likewise.
13248 2011-07-20 Ulrich Drepper <drepper@gmail.com>
13251 * posix/glob.c (glob): Check passed in values before using them in
13252 expressions to avoid some overflows.
13253 (glob_in_dir): Likewise.
13256 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13257 check for AVX enablement so that we don't crash with old kernels and
13259 * elf/tst-audit4.c: Add same checks here.
13260 * elf/tst-audit6.c: Likewise.
13262 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
13264 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13266 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13268 2011-07-20 Ulrich Drepper <drepper@gmail.com>
13270 * po/cs.po: Update from translation team.
13271 * po/bg.po: Likewise.
13273 2011-07-12 Marek Polacek <mpolacek@redhat.com>
13275 * misc/sys/cdefs.h: Add support for const attribute.
13276 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13277 to gnu_dev_{major,minor,makedev} functions.
13279 2011-07-20 Marek Polacek <mpolacek@redhat.com>
13281 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13283 2011-07-20 Andreas Schwab <schwab@redhat.com>
13285 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13288 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13290 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13291 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13292 register in order to avoid conflicts with the soft frame pointer
13293 being held in r11 when necessary.
13294 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13295 (INTERNAL_VSYSCALL_NCS): Likewise.
13297 2011-07-14 Marek Polacek <mpolacek@redhat.com>
13299 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13300 * elf/dl-fini.c (_dl_fini): Adjust caller.
13301 * elf/dl-close.c (_dl_close_worker): Likewise.
13302 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13304 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13306 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13307 "aux_cache->nlibs < 0".
13309 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13310 in the reload-count case.
13312 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13315 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13316 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13317 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13318 * sysdeps/x86_64/multiarch/strcat.S: New file.
13319 * sysdeps/x86_64/multiarch/strncat.S: New file.
13320 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13321 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13322 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13323 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13324 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13325 (USE_AS_STRCAT): Define.
13326 Add strcat and strncat support.
13327 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13328 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13329 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13330 * string/strncat.c: Update.
13331 (USE_AS_STRNCAT): Define.
13332 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13333 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13335 * sysdeps/x86_64/multiarch/init-arch.h
13336 (bit_Prefer_PMINUB_for_stringop): New.
13337 (index_Prefer_PMINUB_for_stringop): Likewise.
13338 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13339 bit_Prefer_PMINUB_for_stringop.
13341 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13343 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13345 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13346 of casting of buffer.
13347 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13348 buffer32 and buffer64.
13349 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13350 writes instead of casting of buffer.
13351 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13353 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13356 2011-07-19 Andreas Schwab <schwab@redhat.com>
13358 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13360 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13362 * nscd/nscd.c (termination_handler): Don't do anything for a database
13363 if it has not yet been initialized.
13365 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13367 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13369 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13371 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13373 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13375 * po/nl.po: Update from translation team.
13376 * po/sv.po: Likewise.
13378 2011-07-16 Roland McGrath <roland@hack.frob.com>
13380 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13381 now disallowed by GCC.
13383 * configure.in (use-default-link): Default to yes if a test -shared
13384 link meets our qualifications.
13385 * configure: Regenerated.
13387 * config.make.in (output-format): New variable.
13388 * configure.in: Check for ld --print-output-format support.
13389 * configure: Regenerated.
13390 * Makerules ($(common-objpfx)format.lds)
13391 [$(output-format) != unknown]: Just use $(output-format),
13392 instead of the linker-script munging.
13394 2011-07-14 Roland McGrath <roland@hack.frob.com>
13396 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13397 of $(common-objpfx)shlib.lds.
13398 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13400 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13401 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13403 * configure.in (-z relro check): Adjust test code to add a large
13404 writable data section after it.
13405 * configure: Regenerated.
13407 2011-07-11 Roland McGrath <roland@hack.frob.com>
13409 * configure.in (-z relro check): Fix test code to make the variable
13411 * configure: Regenerated.
13413 2011-07-11 Ulrich Drepper <drepper@gmail.com>
13415 * nscd/nscd.h (struct traced_file): Define.
13416 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13417 elements. Add traced_files.
13418 (inotify_fd): Declare.
13419 (register_traced_file): Declare.
13420 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13421 (inotify_fd): Export.
13422 (resolv_conf_descr): Remove.
13423 (nscd_init): Move inotify descriptor creation to main.
13424 Don't register files for notification here.
13425 (register_traced_file): New function.
13426 (invalidate_cache): Don't use reset_res to determine whether to call
13427 res_init, go through the list of registered files.
13428 (main_loop_poll): The inotify descriptors are now stored in the
13429 structures for the traced files.
13430 (main_loop_epoll): Likewise
13431 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13432 to __nss_disable_nscd.
13433 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13434 for a database anymore. Check the records for all the registered
13436 * nss/Makefile (libnss_files-routines): Add files-init.
13437 (libnss_db-routines): Add db-init.
13438 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13439 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13440 * nss/nss_db/db-init.c: New file.
13441 * nss/nss_files/files-init.c: New file.
13442 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13443 __nss_lookup_function.
13444 (__nss_lookup_function): Call nss_load_library.
13445 (nss_load_all_libraries): New function.
13446 (__nss_disable_nscd): Take parameter with callback function for files
13447 to register. Set is_nscd. Load all the DSOs for the NSS modules
13448 used for the cached services.
13449 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13450 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13451 options for features to all the files in nscd.
13453 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13455 2011-07-10 Roland McGrath <roland@hack.frob.com>
13457 * csu/elf-init.c (__libc_csu_init): Comment typo.
13459 2011-07-09 Ulrich Drepper <drepper@gmail.com>
13461 * po/pl.po: Update from translation team.
13462 * po/ja.po: Likewise.
13463 * po/ru.po: Likewise.
13464 * po/ko.po: Likewise.
13465 * po/fr.po: Likewise.
13467 2011-07-09 Roland McGrath <roland@hack.frob.com>
13469 * configure.in (.ctors/.dtors header and trailer check):
13470 Use an empirical test on a built program.
13471 * configure: Regenerated.
13473 * configure.in (-z relro check): Use an empirical test on a built DSO.
13474 Detect, but do not require, on ia64.
13475 * configure: Regenerated.
13477 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13478 Update tests that use readelf to use $READELF instead.
13479 * configure: Regenerated.
13481 2011-07-08 Ulrich Drepper <drepper@gmail.com>
13483 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13484 if the result is not used.
13486 2011-07-05 Andreas Jaeger <aj@suse.de>
13489 * stdlib/tst-strtod.c: Add testcase.
13491 2011-07-07 Ulrich Drepper <drepper@gmail.com>
13493 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
13494 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
13495 The latter has a higher limit. Take additional parameter to pass to
13497 (__pathconf): Pass file to __statfs_link_max.
13498 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13500 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13504 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13505 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13507 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13508 (__statfs_filesize_max): Likewise.
13509 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13511 2011-07-05 Andreas Jaeger <aj@suse.de>
13513 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13515 2011-07-06 Marek Polacek <mpolacek@redhat.com>
13517 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13519 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13522 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13524 * Makefile (strop-tests): Add strncat.
13525 * string/test-strncat.c: New file.
13527 2011-06-30 Marek Polacek <mpolacek@redhat.com>
13529 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13531 2011-06-21 Andreas Jaeger <aj@suse.de>
13533 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13534 Copy rule from iconvdata/Makefile.
13536 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13539 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13540 but no long options are defined, just return 'W'.
13542 2011-06-22 Marek Polacek <mpolacek@redhat.com>
13545 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13547 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13549 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13551 (innetgr): Likewise.
13553 2011-07-05 Roland McGrath <roland@hack.frob.com>
13555 * config.make.in (install_root): Default to $(DESTDIR).
13557 2011-07-05 Ulrich Drepper <drepper@gmail.com>
13559 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13561 2011-07-02 Roland McGrath <roland@hack.frob.com>
13563 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13565 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13566 containing directory rather than embedding absolute directory names.
13568 * scripts/check-local-headers.sh: Rewritten using awk.
13569 Match by word, not by line. Print error messages for matches.
13570 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13572 * Makerules [shlib-lds-flags empty]:
13573 ($(common-objpfx)libc_pic.opts): New target.
13574 ($(common-objpfx)libc_pic.os.clean): New target.
13575 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13577 * config.make.in (OBJCOPY): New variable.
13578 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13579 * configure: Regenerated.
13581 * config.make.in (use-default-link): New variable.
13582 * configure.in (use_default_link): Grok --with-default-link to set it.
13583 * configure: Regenerated.
13584 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13585 (shlib-lds, shlib-lds-flags): Define to empty.
13587 * Makerules (shlib-lds): New variable.
13588 (shlib-lds-flags): New variable.
13589 (build-shlib, build-moduile, build-module-asneeded): Use it.
13590 ($(common-objpfx)libc.so): Use $(shlib-lds).
13591 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13592 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13594 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13595 DT_FLAGS/DT_FLAGS_1 with zero flags.
13597 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13598 linker script munging.
13600 2011-07-02 Ulrich Drepper <drepper@gmail.com>
13602 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13604 * crypt/sha512.c (sha512_process_block): Perform total addition using
13605 128-bit if possible.
13606 (__sha512_finish_ctx): Likewise.
13607 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13609 * crypt/sha256.c (SWAP64): Define.
13610 (sha256_process_block): Perform total addition using 64-bit if
13612 (__sha256_finish_ctx): Likewise.
13614 2011-07-01 Ulrich Drepper <drepper@gmail.com>
13616 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13617 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13618 * nscd/hstcache.c (cache_addhst): Likewise.
13619 * nscd/grpcache.c (cache_addgr): Likewise.
13620 * nscd/aicache.c (addhstaiX): Likewise
13621 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13623 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
13625 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13626 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13627 * nscd/hstcache.c (cache_addhst): Likewise.
13628 * nscd/grpcache.c (cache_addgr): Likewise.
13629 * nscd/aicache.c (addhstaiX): Likewise
13631 2011-07-01 Andreas Schwab <schwab@redhat.com>
13633 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13634 domain only when needed.
13636 2011-06-30 Andreas Schwab <schwab@redhat.com>
13638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13639 is always restored.
13641 2011-06-29 Ulrich Drepper <drepper@gmail.com>
13643 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13644 are re-adding the entry.
13645 * nscd/servicescache.c (cache_addserv): Likewise.
13647 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13649 * sysdeps/generic/dl-irel.h: fix protection against multiple
13651 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13653 2011-06-28 Ulrich Drepper <drepper@gmail.com>
13656 * malloc/memusage.sh: Fix quoting in message.
13657 * debug/xtrace.sh: Likewise.
13659 * configure.in: Remove support for --experimental-malloc option, make
13661 * config.make.in: Likewise.
13662 * malloc/Makefile: Likewise.
13664 2011-06-27 Andreas Schwab <schwab@redhat.com>
13666 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13667 two-byte characters.
13669 2011-06-27 Roland McGrath <roland@hack.frob.com>
13671 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13672 AC_CACHE_CHECK invocation.
13673 * configure: Regenerated.
13675 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13677 2011-06-27 Ulrich Drepper <drepper@gmail.com>
13680 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13681 bit from old_res_options.
13683 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13685 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13686 value type for setfct.
13688 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13690 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13691 __gettimeofday instead of gettimeofday.
13693 2011-06-26 Ulrich Drepper <drepper@gmail.com>
13695 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13697 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13699 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13701 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13704 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13707 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13708 strcpy-sse2-unaligned strncpy-sse2-unaligned
13709 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13710 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13711 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13712 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13713 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13714 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13715 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13716 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13717 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13718 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13719 (STRCPY): Support SSE2 and SSSE3 versions.
13721 2011-06-24 Ulrich Drepper <drepper@gmail.com>
13724 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13725 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13726 kernels which artificially limit size of requests.
13728 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13731 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13732 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13733 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13734 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13735 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13736 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13737 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13738 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13739 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13740 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13741 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13742 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13743 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13744 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13745 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13746 Enable unaligned load optimization for Intel Core i3, i5 and i7
13748 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13750 (index_Fast_Unaligned_Load): Define.
13751 (HAS_FAST_UNALIGNED_LOAD): Define.
13753 2011-06-23 Marek Polacek <mpolacek@redhat.com>
13755 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13757 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13760 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13761 until it is clear that the information is realy needed.
13762 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13764 2011-06-22 Andreas Schwab <schwab@redhat.com>
13766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13768 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13770 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13771 /sys/devices/system/cpu/online if it is usable.
13773 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13774 reading the information from the /proc filesystem to once a second.
13776 2011-06-21 Andreas Jaeger <aj@suse.de>
13778 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13779 NULL after inclusion of kernel headers.
13781 2011-06-21 Ulrich Drepper <drepper@gmail.com>
13783 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13784 calls to internal_setent.
13787 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13788 addresses using gethostbyname4_r ignore IPv4 addresses.
13790 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13791 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13793 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13795 2011-06-20 David S. Miller <davem@davemloft.net>
13797 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13799 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13801 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13802 (elf_irel): Use it.
13803 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13804 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13805 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13806 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13807 * sysdeps/x86_64/dl-irel.h: Likewise.
13809 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13810 * elf/dl-sym.c: Likewise.
13812 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13814 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13815 need to dereference resplen2.
13817 2011-06-14 Andreas Schwab <schwab@redhat.com>
13819 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13821 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13823 * Makeconfig: Define vardbdir and inst_vardbdir.
13824 * nss/Makefile: Add rules to install db-Makefile.
13826 * nss/nss_db/db-XXX.c: Cleanup.
13828 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13829 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13831 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13832 * nss/makedb.c: Implement -g option to specify that value strings
13833 are generated and should not be added to table iterated over for
13835 * nss/nss_db/db-initgroups.c: New file.
13837 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13840 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13841 (internal_getgrouplist): Adjust to name change.
13842 Update use_initgroups_entry if this is not the first call.
13843 * nss/databases.def: Add initgroups entry.
13845 * nss/makedb.c (compute_tables): Check result of multiple hash table
13846 sizes to minimize maximum chain length.
13848 2011-06-14 Ulrich Drepper <drepper@gmail.com>
13850 * Versions.def: Add entry for libnss_db.
13851 * shlib-versions: Likewise.
13852 * nss/Makefile: Add rules to build libnss_db.
13853 * nss/Versions: Add libnss_db information. Organize libnss_files
13855 * nss/db-Makefile: Add gshadow support. Change rules for the new
13856 makedb progra. Some minor improvements to generate smaller files.
13857 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13859 * nss/makedb.c: ...here.
13860 Improve database format to be smaller and require less memory at
13862 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13864 * nss/nss_db/db-netgrp.c: Likewise.
13865 * nss/nss_db/db-open.c: Likewise.
13866 * nss/nss_files/flies-XXX.x: Adjust comments.
13867 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13868 * nss/nss_files/files-grp.c: Likewise.
13869 * nss/nss_files/files-hosts.c: Likewise.
13870 * nss/nss_files/files-network.c: Likewise.
13871 * nss/nss_files/files-proto.c: Likewise.
13872 * nss/nss_files/files-pwd.c: Likewise.
13873 * nss/nss_files/files-rpc.c: Likewise.
13874 * nss/nss_files/files-service.c: Likewise.
13875 * nss/nss_files/files-sgrp.c: Likewise.
13876 * nss/nss_files/files-spwd.c: Likewise.
13877 * nss/nss_db/db-alias.c: Removed.
13878 * nss/nss_db/dummy-db.h: Removed.
13880 2011-06-02 Ulrich Drepper <drepper@gmail.com>
13882 * nss/makedb.c: Rewritten to not use database library.
13883 * nss/Makefile: Update to build new makedb program.
13885 2011-06-14 Andreas Jaeger <aj@suse.de>
13887 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13888 memset declaration.
13890 2011-06-10 Andreas Schwab <schwab@redhat.com>
13892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13895 2011-06-10 Roland McGrath <roland@hack.frob.com>
13897 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13898 * elf/Makefile ($(objpfx)ld.so): Likewise.
13900 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13901 Don't list ld.so twice in dependencies.
13903 * posix/bug-regex31.c: Include <stdlib.h>.
13905 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13907 * nis/nss_compat/compat-spwd.c
13908 (getspent_next_nss_netgr): Remove unused variable.
13909 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13911 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13912 nonmembers" output to use the right array.
13914 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13916 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13918 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13919 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13920 * catgets/gencat.c (read_input_file): Likewise.
13921 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13923 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13924 variable definition inside #if's controlling its use.
13926 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13928 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13930 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13932 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13935 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13937 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13938 * configure: Regenerated.
13940 * Makerules: Revert last change.
13941 * elf/Makefile: Likewise.
13943 2011-06-09 Roland McGrath <roland@hack.frob.com>
13945 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13946 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13947 (reloc-link): Likewise.
13949 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13951 * elf/Makefile: Add rules to build pldd.
13952 * elf/pldd.c: New file.
13953 * elf/pldd-xx.c: New file.
13955 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13957 * version.h: Update for 2.15 development version.
13959 2011-06-07 David S. Miller <davem@davemloft.net>
13961 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13963 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13964 elf_machine_lazy_rel): Likewise.
13965 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13966 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13967 elf_machine_lazy_rel): Likewise.
13968 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13969 dl_hwcap via passed in argument.
13970 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13973 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13975 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13977 2011-06-06 Roland McGrath <roland@hack.frob.com>
13980 * manual/fdl-1.1.texi: New file, verbatim from:
13981 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13982 * manual/lgpl-2.1.texi: New file, verbatim from:
13983 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13984 * manual/Makefile (licenses): New variable, list those new file names.
13986 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13988 * manual/fdl.texi: File removed.
13989 * manual/lesser.texi: File removed.
13990 * manual/libc.texinfo (Copying, Documentation License):
13991 Use new @include file names, put @appendix directive before @include.
13993 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13996 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13997 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13998 (mq_open): Add __NTH.
14000 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14003 Assume Intel Core i3/i5/i7 processor if AVX is available.
14005 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14007 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14010 2011-05-31 Andreas Schwab <schwab@redhat.com>
14012 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14013 memory. Use alloca_account. Fix memory leak when retrying.
14015 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14017 * version.h (RELEASE): Bump for 2.14 release.
14018 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14020 * config.make.in (RANLIB): Remove entry.
14022 2011-05-30 Ulrich Drepper <drepper@gmail.com>
14024 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14025 (libc.pot): Work around missing support for .ksh extension in xgettext.
14028 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14029 if both request failed.
14030 (send_dg): In case of server errors clear resplen or *resplen2.
14033 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14034 when there are multiple maps.
14035 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14036 (_dl_fini): Remove test here.
14038 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14040 2011-05-29 Ulrich Drepper <drepper@gmail.com>
14043 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14044 bit from old_res_options.
14045 (gaih_inet): Likewise.
14048 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
14051 * resolv/res_init.c (res_setoptions): Make the code more compact.
14054 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14058 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14060 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14063 * malloc/malloc.h: Declare malloc hook variables as volatile.
14065 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14069 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
14070 raise in the comment.
14071 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14072 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14073 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
14075 2011-05-28 Ulrich Drepper <drepper@gmail.com>
14078 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14079 grow the buffers more if it already has to be sufficient.
14080 (build_wcs_upper_buffer): Likewise.
14081 * posix/regexec.c (check_matching): Likewise.
14082 (clean_state_log_if_needed): Likewise.
14083 (extend_buffers): Don't enlarge buffers beyond size of the input
14085 Patches mostly by Emil Wojak <emil@wojak.eu>.
14086 * posix/bug-regex32.c: New file.
14087 * posix/Makefile (tests): Add bug-regex32.
14089 * locale/findlocale.c (_nl_find_locale): Return right away if
14090 _nl_explode_name failed.
14091 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14093 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14095 * debug/xtrace.sh: Unify messages.
14096 * malloc/memusage.sh: Likewise.
14099 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14100 time symbol from vDSO. Substitute with vsyscall if not available.
14101 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14104 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14105 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14106 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14107 Add sendmmsg and internal_sendmmsg.
14108 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14109 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14110 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14112 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14113 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14114 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14116 2011-05-27 Ulrich Drepper <drepper@gmail.com>
14119 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14120 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14122 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14126 * iconvdata/Makefile (tests): Add bug-iconv9.
14127 * iconvdata/bug-iconv9.c: New file.
14129 2011-05-27 Andreas Schwab <schwab@redhat.com>
14132 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14134 2011-05-25 Jakub Jelinek <jakub@redhat.com>
14136 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14137 (struct user_regs_struct): Change intcs field back to cs.
14139 2011-05-25 Ulrich Drepper <drepper@gmail.com>
14141 * po/ja.po: Update from translation team.
14143 2011-05-23 Ulrich Drepper <drepper@gmail.com>
14146 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14147 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14149 2011-05-20 Andreas Schwab <schwab@redhat.com>
14151 * stdlib/longlong.h: Update from GCC.
14153 2011-05-23 Andreas Schwab <schwab@redhat.com>
14155 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14157 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14158 Add parameter name.
14159 (__sysconf): Pass it down.
14161 2011-05-22 Ulrich Drepper <drepper@gmail.com>
14164 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14166 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14167 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14168 add in in __libc_use_alloca calls. Adjust callers.
14169 (glob): Use malloc in some situations.
14171 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14172 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14175 2011-05-21 Ulrich Drepper <drepper@gmail.com>
14177 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14178 and CLOCK_BOOTTIME_ALARM.
14181 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14184 * string/_strerror.c (__strerror_r): Print negative errors as signed
14188 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14189 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14190 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14192 * configure.in: Fix typo in redirection and correct removal of test
14193 files in two cases.
14196 * locale/setlocale.c (new_composite_name): Fix test to check for
14197 identical name of all categories.
14200 * libio/filedoalloc.c (local_isatty): New function.
14201 (_IO_file_doallocate): Use local_isatty.
14202 * stdio-common/perror.c (perror): In case a new stream is used
14203 forward the stream error.
14204 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14207 2011-05-20 Ulrich Drepper <drepper@gmail.com>
14210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14212 * include/alloca.h (extend_alloca_account): Define.
14215 * posix/regex.h: Fix comments with documentation of user-accessible
14216 fields after compilation and describe correct free'ing of pattern
14217 after re_compile_pattern.
14218 Patch by Reuben Thomas <rrt@sc3d.org>.
14220 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14222 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14223 and -mno-altivec to prevent the compiler from using Altivec and/or
14224 VSX instructions when the corresponding registers are not available.
14226 2011-05-19 Andreas Schwab <schwab@redhat.com>
14228 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14230 2011-05-19 Ulrich Drepper <drepper@gmail.com>
14232 * libio/freopen.c (freopen): Use __dup2, not dup2.
14233 * libio/freopen64.c (freopen64): Likewise.
14235 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14238 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14239 * math/Makefile (tests): Add test-powl.
14240 (CFLAGS-test-powl.c): Define.
14241 * math/test-powl.c: New file.
14243 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14245 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14247 2011-05-17 Ulrich Drepper <drepper@gmail.com>
14250 * iconvdata/gb18030.c: Update to GB18020-2005.
14252 2011-05-16 Ulrich Drepper <drepper@gmail.com>
14254 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14255 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14256 Patch by Aharon Robbins <arnold@skeeve.com>.
14259 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14263 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14264 through underflows.
14267 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14268 point to strings before performing equality test for error_one_per_line
14272 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14275 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14276 (struct user_fpregs_struct): Avoid __uint*_t types.
14279 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14280 symbol info. Use it instead of calling _dl_addr locally.
14281 (lock_and_info): New function.
14282 (tr_freehook): Call lock_and_info and pass symbol info as additional
14283 parameter to tr_where.
14284 (tr_mallochook): Likewise.
14285 (tr_reallochook): Likewise.
14286 (tr_memalignhook): Likewise.
14288 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14289 used and couldn't be at all thread-safe.
14291 2011-05-15 Ulrich Drepper <drepper@gmail.com>
14293 * libio/freopen.c (freopen): Don't close old file descriptor
14294 before the new one is opened. Instead dup the new file descriptor
14295 to the old one after the new stream is created.
14296 * libio/freopen64.c (freopen64): Likewise.
14297 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14298 * libio/fileops.c (_IO_new_file_close_it): Handle new
14299 _IO_FLAGS2_NOCLOSE flag.
14300 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14301 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14302 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14303 _IO_FLAGS2_NOCLOSE flag.
14304 * include/unistd.h: Add hidden_proto for dup3.
14305 Define __have_dup3.
14306 * io/dup3.c: Define hidden symbol.
14307 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14310 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14311 when an incomplete long option is used.
14312 * posix/tst-getopt_long1.c: New file.
14313 * posix/Makefile (tests): Add tst-getopt_long1.
14316 * scripts/config.guess: Update from autoconf-2.68.
14317 * scripts/config.sub: Likewise.
14320 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14322 (has_cpuclock): ...this. New function.
14323 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14324 macro here based on has_cpuclock code.
14327 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14328 First byte (not low byte) is now always NUL.
14329 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14331 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14332 Use non-cancelable interfaces.
14335 * locale/iso-639.def: Add entry for Sorani.
14338 * include/stdlib.h: Move include protection to the right place.
14339 Define abort_msg_s. Declare __abort_msg with it.
14340 * stdlib/abort.c (__abort_msg): Adjust type.
14341 * assert/assert.c (__assert_fail_base): New function. Majority
14342 of code from __assert_fail. Allocate memory for __abort_msg with
14344 (__assert_fail): Now call __assert_fail_base.
14345 * assert/assert-perr.c: Remove bulk of implementation. Use
14346 __assert_fail_base.
14347 * include/assert.hL Declare __assert_fail_base.
14348 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14350 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14352 2011-05-14 Ulrich Drepper <drepper@gmail.com>
14356 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14357 until all modules are registered in the DTV.
14358 * elf/Makefile: Add rules to build and run tst-tls19.
14359 * elf/tst-tls19.c: New file.
14360 * elf/tst-tls19mod1.c: New file.
14361 * elf/tst-tls19mod2.c: New file.
14362 * elf/tst-tls19mod3.c: New file.
14363 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14366 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14370 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14371 two-byte sequence errors.
14372 * iconvdata/Makefile (tests): Add bug-iconv8.
14373 * iconvdata/bug-iconv8.c: New file.
14376 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14379 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14382 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14383 (dummy_getcfa): New function.
14384 (init): Get _Unwind_GetCFA address, use dummy if not found.
14385 (backtrace_helper): In recursion check, also check whether CFA changes.
14386 (__backtrace): Completely initialize arg.
14388 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
14389 storing incomplete byte sequence in state object. Avoid testing for
14390 guaranteed too small input if we know there is enough data available.
14392 2011-05-11 Andreas Schwab <schwab@redhat.com>
14394 * Makeconfig (+link-pie): Indent.
14395 * Rules (binaries-pie): Define if $(have-fpie) and
14397 (binaries-shared): Also filter out $(binaries-pie).
14398 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14399 * nscd/Makefile (others-pie): Add nscd.
14400 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14401 ($(objpfx)nscd): Remove command override.
14402 * login/Makefile (others-pie): Add pt_chown.
14403 ($(objpfx)pt_chown): Remove command override.
14404 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14405 remove command overrides.
14407 2011-05-13 Ulrich Drepper <drepper@gmail.com>
14409 * libio/tst_putwc.c: Fix error messages.
14412 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14413 currently writing and seek to current position when not.
14414 * libio/Makefile (tests): Add bug-fclose1.
14415 * libio/bug-fclose1.c: New file.
14417 2011-05-12 Ulrich Drepper <drepper@gmail.com>
14420 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14421 don't set DF_1_NODELETE here.
14422 (do_lookup_x): When entering new entry test for copy relocation
14423 and if necessary set DF_1_NODELETE flag.
14424 * elf/tst-unique4.cc: New file.
14425 * elf/tst-unique4.h: New file.
14426 * elf/tst-unique4lib.cc: New file.
14427 * elf/Makefile: Add rules to build and run tst-unique4.
14428 Patch by Piotr Bury <pbury@goahead.com>.
14430 2011-05-11 Ulrich Drepper <drepper@gmail.com>
14433 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14436 * misc/mntent_r.c (addmntent): Flush the stream after the output
14439 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14440 (is_trusted_path_normalize): Skip initial colon. Append slash
14441 to empty buffer. Duplicate is_trusted_path code but allow
14442 constructed patch to be prefix.
14443 (is_dst): Allow $ORIGIN followed by /.
14444 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14445 Correct testing of result of is_trusted_path_normalize
14446 (decompose_rpath): Fix warning.
14448 2011-05-10 Ulrich Drepper <drepper@gmail.com>
14451 * grp/initgroups.c (internal_getgrouplist): When we found the service
14452 list through the initgroups entry in nsswitch.conf do not always
14453 continue on a successful lookup. Don't always use the
14454 __nss_group_database value if it is set.
14455 * nss/nsswitch.conf (initgroups): Change action for successful db
14456 lookup to continue for compatibility.
14458 2011-05-09 Ulrich Drepper <drepper@gmail.com>
14461 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14463 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14465 * iconvdata/tst-tables.sh: Likewise.
14466 * iconvdata/cp770.c: New file.
14467 * iconvdata/cp771.c: New file.
14468 * iconvdata/cp772.c: New file.
14469 * iconvdata/cp773.c: New file.
14470 * iconvdata/cp774.c: New file.
14471 * iconvdata/testdata/CP770: New file.
14472 * iconvdata/testdata/CP770..UTF8: New file.
14473 * iconvdata/testdata/CP771: New file.
14474 * iconvdata/testdata/CP771..UTF8: New file.
14475 * iconvdata/testdata/CP772: New file.
14476 * iconvdata/testdata/CP772..UTF8: New file.
14477 * iconvdata/testdata/CP773: New file.
14478 * iconvdata/testdata/CP773..UTF8: New file.
14479 * iconvdata/testdata/CP774: New file.
14480 * iconvdata/testdata/CP774..UTF8: New file.
14482 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14484 * iconvdata/gen-8bit-gap.sh: Likewise.
14485 * iconvdata/gen-8bit.sh: Likewise.
14487 * locale/iso-639.def: Add ary entry.
14490 * locale/C-translit.h.in: Add U20A1 transliteration.
14493 * locale/iso-639.def: Add wae entry.
14494 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14497 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14501 * locale/C-translit.h.in: Add entry for U20B9.
14502 Patch by pravin.d.s@gmail.com.
14504 2011-05-08 Ulrich Drepper <drepper@gmail.com>
14507 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14508 ENAMETOOLONG use generic getcwd.
14509 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14510 in rtld. Use *stat64.
14511 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
14512 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
14513 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
14514 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14515 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14516 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14517 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14518 __fstatat64 macros.
14519 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14520 * dirent/rewinddir.c: Add libc_hidden_def.
14521 * sysdeps/mach/hurd/rewinddir.c: Likewise.
14522 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
14524 * include/dirent.h (__alloc_dir): Add flags parameter.
14525 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14526 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14528 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14529 from fdopendir if O_CLOEXEC is already set.
14531 2011-03-15 Alan Modra <amodra@gmail.com>
14533 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14534 l_tls_firstbyte_offset non-zero. Save padding offset in
14535 l_tls_firstbyte_offset for later use.
14536 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14537 freeing static tls block.
14539 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14541 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14542 where #ifdef was intended. The intent is to prevent ARG_MAX from
14543 being defined by the kernel headers.
14545 2011-05-07 Ulrich Drepper <drepper@gmail.com>
14548 * resolv/resolv.h: Define RES_NOTLDQUERY.
14549 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14550 no-tld-query and set RES_NOTLDQUERY.
14551 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14552 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14553 modern BIND to search name as TLD unless forbidden.
14555 2011-05-07 Petr Baudis <pasky@suse.cz>
14556 Ulrich Drepper <drepper@gmail.com>
14559 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14560 (is_trusted_path): ...to here.
14561 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14562 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14563 using is_trusted_path_normalize() in setuid scripts.
14565 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14567 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14568 __BEGIN/__END_DECLS.
14570 2011-05-06 Ulrich Drepper <drepper@gmail.com>
14572 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14573 NSS_STATUS_NOTFOUND if no record was found.
14575 2011-05-05 Andreas Schwab <schwab@redhat.com>
14577 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14578 (headers-not-in-tirpc): Remove rpc/netdb.h
14579 * resolv/netdb.h: Revert last change.
14581 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14583 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14584 circular dependency between libgcc.a and libc.a.
14586 2011-05-05 Andreas Schwab <schwab@redhat.com>
14588 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14589 * nis/Makefile: Don't install rpcsvc/*.
14590 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14591 instead of <rpc/types.h>.
14592 (MAXHOSTNAMELEN): Define.
14594 2011-05-03 Andreas Schwab <schwab@redhat.com>
14596 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14598 2011-04-28 Maciej Babinski <mbabinski@google.com>
14601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14602 gethostbyname4_r when IPv6 results are possible.
14604 2011-05-02 Ulrich Drepper <drepper@gmail.com>
14607 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14608 _PC_PIPE_BUF handling.
14610 2011-04-30 Bruno Haible <bruno@clisp.org>
14613 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14614 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14616 * inet/getnameinfo.c (getnameinfo): Likewise.
14618 2011-04-29 Ulrich Drepper <drepper@gmail.com>
14620 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14621 to groups setting in database lookup.
14622 * nss/nsswitch.conf: Add initgroups entry.
14624 2011-04-22 Ulrich Drepper <drepper@gmail.com>
14627 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14629 Patch by Eric Blake <eblake@redhat.com>.
14631 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14633 * sunrpc/Makefile (need-export-routines): Add svc_run.
14634 (routines): Remove svc_run.
14635 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14636 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14637 * sunrpc/svc_run.c (svc_run): Likewise.
14638 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14640 2011-04-21 Ulrich Drepper <drepper@gmail.com>
14642 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14643 problem in reallocation in last patch.
14645 2011-04-20 Ulrich Drepper <drepper@gmail.com>
14647 * sunrpc/Makefile: Move inclusion of Rules.
14649 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14651 * nss/nss_files/files-initgroups.c: New file.
14652 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14653 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14654 _nss_files_initgroups_dyn.
14656 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14658 * elf/elf.h (R_ARM_IRELATIVE): Define.
14660 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14662 * po/ru.po: Update from translation team.
14664 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14666 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14669 2011-02-06 Mike Frysinger <vapier@gentoo.org>
14672 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14673 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14674 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14675 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14676 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14678 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14680 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14682 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14683 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14684 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14686 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14689 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14691 * stdlib/bug-getcontext.c: New file.
14692 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14694 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14696 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14697 instructions into .machine "z9-109".
14698 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14699 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14701 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14703 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14704 between environment variables and auxiliary vector.
14706 2011-04-16 Ulrich Drepper <drepper@gmail.com>
14708 * Makefile: Add rules to build linkobj/libc.so.
14709 * include/libc-symbols.h: Define libc_hidden_nolink.
14710 * include/rpc/auth.h: Mark functions which are to be hidden.
14711 * include/rpc/auth_des.h: Likewise.
14712 * include/rpc/auth_unix.h: Likewise.
14713 * include/rpc/clnt.h: Likewise.
14714 * include/rpc/des_crypt.h: Likewise.
14715 * include/rpc/key_prot.h: Likewise.
14716 * include/rpc/pmap_clnt.h: Likewise.
14717 * include/rpc/pmap_prot.h: Likewise.
14718 * include/rpc/pmap_rmt.h: Likewise.
14719 * include/rpc/rpc_msg.h: Likewise.
14720 * include/rpc/svc.h: Likewise.
14721 * include/rpc/svc_auth.h: Likewise.
14722 * include/rpc/xdr.h: Likewise.
14723 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14724 * nss/Makefile: Likewise.
14725 * sunrpc/Makefile: Don't install headers. Build library with normal
14726 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14727 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14728 for the compat linking library. Remove use of INTDEF/INTUSE.
14729 * sunrpc/auth_none.c: Likewise.
14730 * sunrpc/auth_unix.c: Likewise.
14731 * sunrpc/authdes_prot.c: Likewise.
14732 * sunrpc/authuxprot.c: Likewise.
14733 * sunrpc/clnt_gen.c: Likewise.
14734 * sunrpc/clnt_perr.c: Likewise.
14735 * sunrpc/clnt_raw.c: Likewise.
14736 * sunrpc/clnt_simp.c: Likewise.
14737 * sunrpc/clnt_tcp.c: Likewise.
14738 * sunrpc/clnt_udp.c: Likewise.
14739 * sunrpc/clnt_unix.c: Likewise.
14740 * sunrpc/des_crypt.c: Likewise.
14741 * sunrpc/des_soft.c: Likewise.
14742 * sunrpc/get_myaddr.c: Likewise.
14743 * sunrpc/key_call.c: Likewise.
14744 * sunrpc/key_prot.c: Likewise.
14745 * sunrpc/netname.c: Likewise.
14746 * sunrpc/pm_getmaps.c: Likewise.
14747 * sunrpc/pm_getport.c: Likewise.
14748 * sunrpc/pmap_clnt.c: Likewise.
14749 * sunrpc/pmap_prot.c: Likewise.
14750 * sunrpc/pmap_prot2.c: Likewise.
14751 * sunrpc/pmap_rmt.c: Likewise.
14752 * sunrpc/publickey.c: Likewise.
14753 * sunrpc/rpc_cmsg.c: Likewise.
14754 * sunrpc/rpc_common.c: Likewise.
14755 * sunrpc/rpc_dtable.c: Likewise.
14756 * sunrpc/rpc_prot.c: Likewise.
14757 * sunrpc/rpc_thread.c: Likewise.
14758 * sunrpc/rtime.c: Likewise.
14759 * sunrpc/svc.c: Likewise.
14760 * sunrpc/svc_auth.c: Likewise.
14761 * sunrpc/svc_authux.c: Likewise.
14762 * sunrpc/svc_raw.c: Likewise.
14763 * sunrpc/svc_run.c: Likewise.
14764 * sunrpc/svc_simple.c: Likewise.
14765 * sunrpc/svc_tcp.c: Likewise.
14766 * sunrpc/svc_udp.c: Likewise.
14767 * sunrpc/svc_unix.c: Likewise.
14768 * sunrpc/svcauth_des.c: Likewise.
14769 * sunrpc/xcrypt.c: Likewise.
14770 * sunrpc/xdr.c: Likewise.
14771 * sunrpc/xdr_array.c: Likewise.
14772 * sunrpc/xdr_float.c: Likewise.
14773 * sunrpc/xdr_intXX_t.c: Likewise.
14774 * sunrpc/xdr_mem.c: Likewise.
14775 * sunrpc/xdr_rec.c: Likewise.
14776 * sunrpc/xdr_ref.c: Likewise.
14777 * sunrpc/xdr_sizeof.c: Likewise.
14778 * sunrpc/xdr_stdio.c: Likewise.
14780 2011-04-10 Ulrich Drepper <drepper@gmail.com>
14783 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14784 * sysdeps/ia64/dl-tls.h: Likewise.
14785 * sysdeps/powerpc/dl-tls.h: Likewise.
14786 * sysdeps/s390/dl-tls.h: Likewise.
14787 * sysdeps/sh/dl-tls.h: Likewise.
14788 * sysdeps/sparc/dl-tls.h: Likewise.
14789 * sysdeps/x86_64/dl-tls.h: Likewise.
14790 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14792 2011-03-14 Andreas Schwab <schwab@redhat.com>
14794 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14795 rpath element also skip the following colon.
14796 (expand_dynamic_string_token): Add is_path parameter and pass
14797 down to DL_DST_REQUIRED and _dl_dst_substitute.
14798 (decompose_rpath): Call expand_dynamic_string_token with
14799 non-zero is_path. Ignore empty rpaths.
14800 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14803 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14808 2011-04-09 Ulrich Drepper <drepper@gmail.com>
14811 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14812 Patch by Filipe David Manana <fdmanana@apache.org>.
14814 2011-04-07 Andreas Schwab <schwab@redhat.com>
14816 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14817 Maintain aligned stack.
14818 (CHECK_RSP): Remove unused macro.
14820 2011-04-03 Ulrich Drepper <drepper@gmail.com>
14822 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14823 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14825 2011-04-02 Ulrich Drepper <drepper@gmail.com>
14827 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14829 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14831 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14834 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14835 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14836 * sysdeps/x86_64/memmove.c: New file.
14837 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14838 (memcpy): Renamed to ...
14839 (__new_memcpy): This.
14840 (memcpy): Provide GLIBC_2_14 memcpy.
14841 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14842 (memcpy): Provide GLIBC_2_2_5 memcpy.
14844 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14847 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14849 2011-03-30 Andreas Schwab <schwab@redhat.com>
14851 * misc/syncfs.c: New file.
14852 * misc/Makefile (routines): Add syncfs.
14853 * posix/unistd.h: Declare syncfs.
14854 * sysdeps/unix/syscalls.list: Add syncfs.
14856 2011-04-01 Andreas Schwab <schwab@redhat.com>
14858 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14860 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14861 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14862 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14863 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14864 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14865 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14866 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14868 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14870 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14871 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14872 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14873 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14874 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14875 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14876 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14878 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14879 sync_file_range.c with -fexceptions.
14880 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14881 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14882 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14883 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14884 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14885 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14886 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14887 sync_file_range as cancellation point
14888 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14889 now a wrapper around __call_sync_file_range with cancellation handling.
14890 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14891 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14892 function name to __call_sync_file_range.
14893 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14894 Add call_sync_file_range.
14896 2011-04-01 Andreas Schwab <schwab@redhat.com>
14898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14901 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14903 * iconv/iconv.h: Fix typo in comment.
14904 * io/fcntl.h: Likewise.
14905 * libio/stdio.h: Likewise.
14906 * posix/spawn.h: Likewise.
14907 * posix/unistd.h: Likewise.
14908 * stdlib/stdlib.h: Likewise.
14909 * time/time.h: Likewise.
14910 * wcsmbs/wchar.h: Likewise.
14912 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14913 open_by_handle): Add.
14914 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14915 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14916 Augment a few comments.
14917 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14918 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14919 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14920 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14921 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14922 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14925 * io/fcntl.h (AT_EMPTY_PATH): Define.
14927 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14929 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14930 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14931 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14933 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14934 * Versions.def: Add GLIBC_2.14.
14935 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14938 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14940 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14942 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14944 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14947 * string/test-strncmp.c (do_page_test): New function.
14948 (check2): Likewise.
14949 (test_main): Call check2.
14950 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14952 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14955 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14956 Handle cache information in CPU leaf 4.
14957 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14959 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14962 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14963 character representation.
14964 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14966 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14968 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14969 END(__isnan) to END(__isnanf) to match function entry point/label
14970 EALIGN(__isnanf,...).
14972 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14974 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14976 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14979 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14980 copy from the symbol referenced in the relocation to initialize the
14982 Patch by Piotr Bury <pbury@goahead.com>.
14983 * elf/Makefile: Add rules to build and tst-unique3.
14984 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14985 * elf/tst-unique3.cc: New file.
14986 * elf/tst-unique3.h: New file.
14987 * elf/tst-unique3lib.cc: New file.
14988 * elf/tst-unique3lib2.cc: New file.
14990 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14992 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14994 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14995 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14998 2011-03-06 Ulrich Drepper <drepper@gmail.com>
15000 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15001 to-be-loaded object along a path to loader is ld.so.
15003 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15004 Ulrich Drepper <drepper@gmail.com>
15006 * sysdeps/x86_64/memset.S: After aligning destination, code
15007 branches to different locations depending on the value of
15008 misalignment, when multiarch is enabled. Fix this.
15010 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15012 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15013 Set _x86_64_preferred_memory_instruction for AMD processsors.
15014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15015 Set bit_Prefer_SSE_for_memop for AMD processors.
15017 2011-03-04 Ulrich Drepper <drepper@gmail.com>
15019 * libio/fmemopen.c (fmemopen): Optimize a bit.
15021 2011-03-03 Andreas Schwab <schwab@redhat.com>
15023 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15025 2011-03-03 Roland McGrath <roland@redhat.com>
15027 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15029 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15031 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
15032 __bzero_ultra1 instead of __memset_ultra1.
15034 2011-02-23 Andreas Schwab <schwab@redhat.com>
15035 Ulrich Drepper <drepper@gmail.com>
15038 * include/link.h (struct link_map): Add l_orig_initfini.
15039 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15040 returning unsuccessfully.
15041 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15042 close of a file loaded at startup, restore the original l_initfini
15044 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15045 list, store the pointer.
15046 * elf/Makefile ($(objpfx)noload-mem): New rule.
15047 (noload-ENV): Define.
15048 (tests): Add $(objpfx)noload-mem.
15049 * elf/noload.c: Include <memcheck.h>.
15050 (main): Call mtrace. Close all opened handles.
15052 2011-02-17 Andreas Schwab <schwab@redhat.com>
15055 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15056 dependencies are missing.
15058 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15060 Fix __if_freereq crash: Unlike the generic version which uses free,
15062 * sysdeps/mach/hurd/ifreq.h: New file.
15064 2011-01-27 Petr Baudis <pasky@suse.cz>
15065 Ulrich Drepper <drepper@gmail.com>
15068 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15069 to extend_alloca().
15070 * stdio-common/bug23.c: New file.
15071 * stdio-common/Makefile (tests): Add bug23.
15073 2010-09-28 Andreas Schwab <schwab@redhat.com>
15074 Ulrich Drepper <drepper@gmail.com>
15077 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15078 before performing relro protection. At old place add assertion
15079 to make sure nothing changed.
15081 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15082 Glauber de Oliveira Costa <glommer@gmail.com>
15084 * elf/elf.h: Add new ARM TLS relocs.
15086 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15089 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15091 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15093 * sysdeps/wordsize-64/tst-writev.c: New file.
15095 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15097 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15098 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15099 insns in _dl_start to prevent a TOC reference before relocs are
15102 2011-02-15 Ulrich Drepper <drepper@gmail.com>
15105 * Makeconfig: Remove RANLIB definition.
15106 * Makerules: Don't use RANLIB.
15107 * aclocal.m4: Remove ranlib test.
15108 * configure.in: No need to check for ranlib.
15109 * elf/rtld-Rules: Don't use RANLIB.
15111 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15113 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15115 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15116 inclusion protection macro.
15118 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15119 SIGRTMIN and SIGRTMAX and print information in that case only when
15120 SIGRTMIN is defined.
15122 2011-02-11 Jakub Jelinek <jakub@redhat.com>
15124 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15125 arginfo fn returning -1.
15127 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15128 and thousands string is zero terminated.
15130 2011-02-03 Andreas Schwab <schwab@redhat.com>
15132 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15133 sysdeps/unix/sysv/linux/bits/socket.h.
15135 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15137 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15138 (__CPU_COUNT): Remove old macros.
15139 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15140 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15141 (__CPU_ALLOC, __CPU_FREE): Add macros.
15142 (__sched_cpualloc, __sched_cpufree): Add declarations.
15144 2011-02-05 Ulrich Drepper <drepper@gmail.com>
15146 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15147 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15148 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15149 (readdhstai): Return value of addhstaiX call.
15150 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15151 (addgrbyX): Return value returned by cache_addgr.
15152 (readdgrbyname): Return value returned by addgrbyX.
15153 (readdgrbygid): Likewise.
15154 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15155 (addpwbyX): Return value returned by cache_addpw.
15156 (readdpwbyname): Return value returned by addhstbyX.
15157 (readdpwbyuid): Likewise.
15158 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15159 (addservbyX): Return value returned by cache_addserv.
15160 (readdservbyname): Return value returned by addservbyX:
15161 (readdservbyport): Likewise.
15162 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15163 (addhstbyX): Return value returned by cache_addhst.
15164 (readdhstbyname): Return value returned by addhstbyX.
15165 (readdhstbyaddr): Likewise.
15166 (readdhstbynamev6): Likewise.
15167 (readdhstbyaddrv6): Likewise.
15168 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15169 (readdinitgroups): Return value returned by addinitgroupsX.
15170 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15171 (prune_cache): Keep track of timeout value of re-added entries.
15172 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15173 * nscd/nscd.h: Adjust prototypes of readd* functions.
15175 2011-02-04 Roland McGrath <roland@redhat.com>
15177 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15178 (nis_stats): Likewise.
15179 * nis/nis_modify.c (nis_modify): Likewise.
15180 * nis/nis_remove.c (nis_remove): Likewise.
15181 * nis/nis_add.c (nis_add): Likewise.
15183 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15185 * posix/fnmatch_loop.c: Add some consts.
15187 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15189 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15192 * config.make.in (config-cflags-novzeroupper): Define.
15193 * configure.in: Substitute libc_cv_cc_novzeroupper.
15194 * elf/Makefile (AVX-CFLAGS): Define.
15195 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15196 (CFLAGS-tst-auditmod4a.c): Likewise.
15197 (CFLAGS-tst-auditmod4b.c): Likewise.
15198 (CFLAGS-tst-auditmod6b.c): Likewise.
15199 (CFLAGS-tst-auditmod6c.c): Likewise.
15200 (CFLAGS-tst-auditmod7b.c): Likewise.
15201 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15203 2011-02-02 Ulrich Drepper <drepper@gmail.com>
15205 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15206 function to the callback.
15207 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15209 2011-02-02 Andreas Schwab <schwab@redhat.com>
15211 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15214 2011-01-19 Ulrich Drepper <drepper@gmail.com>
15217 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15219 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15221 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15224 * elf/Makefile: Add rules to build and run new test.
15225 * elf/tst-initorder.c: New file.
15226 * elf/tst-initorder.exp: New file.
15227 * elf/tst-initordera1.c: New file.
15228 * elf/tst-initordera2.c: New file.
15229 * elf/tst-initordera3.c: New file.
15230 * elf/tst-initordera4.c: New file.
15231 * elf/tst-initorderb1.c: New file.
15232 * elf/tst-initorderb2.c: New file.
15233 * elf/tst-order-a1.c: New file.
15234 * elf/tst-order-a2.c: New file.
15235 * elf/tst-order-a3.c: New file.
15236 * elf/tst-order-a4.c: New file.
15237 * elf/tst-order-b1.c: New file.
15238 * elf/tst-order-b2.c: New file.
15239 * elf/tst-order-main.c: New file.
15240 New test case by George Gensure <werkt0@gmail.com>.
15242 2010-10-01 Andreas Schwab <schwab@redhat.com>
15244 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15245 decoding ACE if AI_CANONIDN.
15247 2011-01-18 Ulrich Drepper <drepper@gmail.com>
15249 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15251 2011-01-17 Ulrich Drepper <drepper@gmail.com>
15253 * version.h (RELEASE): Bump for 2.13 release.
15254 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15256 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15258 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15260 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15261 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15262 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15263 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15264 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15265 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15267 * posix/getconf.c: Update copyright year.
15268 * catgets/gencat.c: Likewise.
15269 * csu/version.c: Likewise.
15270 * debug/catchsegv.sh: Likewise.
15271 * debug/xtrace.sh: Likewise.
15272 * elf/ldconfig.c: Likewise.
15273 * elf/ldd.bash.in: Likewise.
15274 * elf/sprof.c (print_version): Likewise.
15275 * iconv/iconv_prog.c: Likewise.
15276 * iconv/iconvconfig.c: Likewise.
15277 * locale/programs/locale.c: Likewise.
15278 * locale/programs/localedef.c: Likewise.
15279 * malloc/memusage.sh: Likewise.
15280 * malloc/mtrace.pl: Likewise.
15281 * nscd/nscd.c (print_version): Likewise.
15282 * nss/getent.c: Likewise.
15284 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15285 PF_CAIF, and PF_ALG.
15286 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15288 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15290 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15291 (modules-names): Use them.
15292 (ifunc-test-modules, ifunc-pie-tests): Define.
15293 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15294 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15295 (test-extras): Likewise.
15296 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15297 $(compile-command.c).
15298 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15299 (all-built-dso): Define.
15300 (check-textrel.out, check-execstack.out): Depend on it.
15302 * configure.in: Don't override --enable-multi-arch.
15304 2011-01-15 Ulrich Drepper <drepper@gmail.com>
15307 * nscd/hstcache.c (tryagain): Define.
15308 (cache_addhst): Return tryagain not notfound for temporary errors.
15309 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15312 2011-01-14 Ulrich Drepper <drepper@gmail.com>
15315 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15316 to make the syscall.
15317 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15320 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15321 and fall back to matching as normal character if the string ends before
15322 the matching ']' is found. This is what POSIX requires.
15323 * posix/testfnm.c: Adjust test result.
15324 * posix/globtest.sh: Adjust test result. Add new test.
15325 * posix/tst-fnmatch.input: Likewise.
15326 * posix/tst-fnmatch2.c: Add new test.
15328 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15330 * elf/Makefile (check-execstack): Revert last change. Depend on
15332 (check-execstack.h): New target.
15333 (generated): Add check-execstack.h.
15334 * elf/check-execstack.c: Include "check-execstack.h".
15335 (main): Revert last change.
15336 (handle_file): Return zero if GNU_STACK is absent and
15337 DEFAULT_STACK_PERMS doesn't include PF_X.
15339 2011-01-13 Ulrich Drepper <drepper@gmail.com>
15341 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15342 in child fails because the descriptor is already closed.
15343 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15344 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15345 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
15348 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15352 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15353 temporary buffer used to handle multi lookups locally.
15354 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
15356 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15358 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15361 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15363 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15364 alignment for SSE2.
15366 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15369 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15370 characters. When rounding increased number of integer digits recompute
15372 * stdio-common/tst-grouping.c: New file.
15373 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15375 2011-01-09 Ulrich Drepper <drepper@gmail.com>
15377 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15378 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15380 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15382 * bits/select.h: Likewise.
15384 2011-01-08 Ulrich Drepper <drepper@gmail.com>
15386 * po/ja.po: Update from translation team.
15388 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
15391 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15392 implementation just like for lxstat, fxstatat, et al.
15394 2010-12-27 Jim Meyering <meyering@redhat.com>
15397 * posix/regexec.c (build_trtable): Return failure indication upon
15398 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15400 2010-12-25 Ulrich Drepper <drepper@gmail.com>
15403 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15404 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15405 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15406 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15409 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15412 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15413 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15415 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15417 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15418 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15419 script has SORT_BY_INIT_PRIORITY.
15420 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15421 NO_CTORS_DTORS_SECTIONS is defined.
15422 * elf/soinit.c: Likewise.
15423 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15424 NO_CTORS_DTORS_SECTIONS is defined.
15425 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15426 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15427 * sysdeps/sh/init-first.c: Likewise.
15428 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15430 2010-12-24 Ulrich Drepper <drepper@gmail.com>
15432 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15433 always use the slow path.
15435 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15437 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15438 similar rule which adds the sysdep directories to the header search in
15439 order to pick up the correct platform stackinfo.h.
15440 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15441 perform test if it is, otherwise return successfully without testing.
15442 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15443 DEFAULT_STACK_PERMS define in stackinfo.h.
15444 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15445 defined in stackinfo.h.
15446 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15447 DEFAULT_STACK_PERMS defined in stackinfo.h.
15448 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15449 * sysdeps/ia64/stackinfo.h: Likewise.
15450 * sysdeps/s390/stackinfo.h: Likewise.
15451 * sysdeps/sh/stackinfo.h: Likewise.
15452 * sysdeps/sparc/stackinfo.h: Likewise.
15453 * sysdeps/x86_64/stackinfo.h: Likewise.
15454 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15455 PF_X for powerpc64. Retain PF_X for powerpc32.
15457 2010-12-19 Ulrich Drepper <drepper@gmail.com>
15459 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15461 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15462 GETDENTS_64BIT_ALIGNED.
15464 2010-12-14 Ulrich Drepper <dreper@gmail.com>
15466 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
15468 2010-12-10 Andreas Schwab <schwab@redhat.com>
15470 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15473 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15474 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15476 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15477 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15479 2010-12-09 Ulrich Drepper <drepper@gmail.com>
15482 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15485 2010-12-09 Jakub Jelinek <jakub@redhat.com>
15487 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15489 2010-12-03 Ulrich Drepper <drepper@gmail.com>
15491 * po/it.po: Update from translation team.
15493 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15495 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15498 2010-11-30 Ulrich Drepper <drepper@gmail.com>
15500 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15502 2010-11-24 Andreas Schwab <schwab@redhat.com>
15504 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15506 (gaih_getanswer_slice): Likewise.
15508 2010-10-20 Jakub Jelinek <jakub@redhat.com>
15510 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15512 2010-05-31 Petr Baudis <pasky@suse.cz>
15515 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15516 silently even in the chroot mode.
15518 2010-11-22 Ulrich Drepper <drepper@gmail.com>
15520 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15521 last patch a bit. Pretty printing
15523 2010-05-31 Petr Baudis <pasky@suse.cz>
15526 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15527 initialization of skip_initgroups_dyn.
15529 2010-11-19 Ulrich Drepper <drepper@gmail.com>
15531 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15532 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15534 2010-11-16 Ulrich Drepper <drepper@gmail.com>
15536 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15538 2010-11-11 Andreas Schwab <schwab@redhat.com>
15540 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15541 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15542 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15543 ($(objpfx)tst-fnmatch-mem): New rule.
15544 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15545 * posix/tst-fnmatch.c (main): Call mtrace.
15547 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15549 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15550 Support Intel processor model 6 and model 0x2c.
15552 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
15554 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15557 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15560 * string/test-strncasecmp.c (check_result): New function.
15561 (do_one_test): Use it.
15562 (check1): New function.
15563 (test_main): Use it.
15564 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15565 Support strcasecmp and strncasecmp.
15567 2010-11-08 Ulrich Drepper <drepper@gmail.com>
15570 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15571 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15573 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15575 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15579 * sysdeps/x86_64/multiarch/bzero.S: New file.
15580 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15581 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15582 * sysdeps/x86_64/multiarch/memset.S: New file.
15583 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15585 Set bit_Prefer_SSE_for_memop for Intel processors.
15586 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15588 (index_Prefer_SSE_for_memop): Define.
15589 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15591 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
15593 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15594 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15596 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15599 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15600 (__x86_64_raw_data_cache_size_half): Likewise.
15601 (__x86_64_raw_shared_cache_size): Likewise.
15602 (__x86_64_raw_shared_cache_size_half): Likewise.
15604 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15605 (__x86_64_raw_data_cache_size_half): Likewise.
15606 (__x86_64_raw_shared_cache_size): Likewise.
15607 (__x86_64_raw_shared_cache_size_half): Likewise.
15608 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15609 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15610 and __x86_64_raw_shared_cache_size_half. Round
15611 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15612 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15613 to multiple of 256 bytes.
15615 2010-11-03 Ulrich Drepper <drepper@gmail.com>
15618 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15619 of inacessible symlinks. Verify result of symlink before returning it.
15620 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15621 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15623 2010-10-28 Erich Ritz <erichritz@gmail.com>
15625 * math/math.h (isinf): Fix typo in comment.
15627 2010-11-01 Ulrich Drepper <drepper@gmail.com>
15629 * po/da.po: Update from translation team.
15631 2010-10-26 Ulrich Drepper <drepper@gmail.com>
15633 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15634 is added to the list.
15636 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15637 Ulrich Drepper <drepper@gmail.com>
15639 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15640 the global list here. Move code to...
15641 (_dl_add_to_namespace_list): ...here. New function.
15642 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15643 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15644 * elf/dl-load.c (lose): Don't remove the element from the list.
15645 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15646 (_dl_map_object): Likewise.
15648 2010-10-25 Ulrich Drepper <drepper@gmail.com>
15651 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15652 into all bytes of SSE register.
15653 Patch by Richard Li <richardpku@gmail.com>.
15655 2010-10-24 Ulrich Drepper <drepper@gmail.com>
15658 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15661 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15663 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15664 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15665 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15666 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15671 2010-10-22 Andreas Schwab <schwab@redhat.com>
15673 * include/dlfcn.h (__RTLD_SECURE): Define.
15674 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15675 mode & __RTLD_SECURE instead.
15676 (open_path): Rename preloaded parameter to secure.
15677 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15678 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15679 * elf/dl-deps.c (openaux): Likewise.
15680 * elf/rtld.c (struct map_args): Remove is_preloaded.
15681 (map_doit): Don't use it.
15682 (dl_main): Likewise.
15683 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15684 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15686 2010-09-09 Andreas Schwab <schwab@redhat.com>
15688 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15689 (sysd-rules-targets): Remove duplicates.
15690 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15691 rtld-%.$o dependency.
15693 2010-10-18 Andreas Schwab <schwab@redhat.com>
15695 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15696 _dl_map_object do it.
15698 2010-10-19 Ulrich Drepper <drepper@gmail.com>
15700 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15701 fast fma builtins, define the macros in the C99 standard.
15702 (FP_FAST_FMAF): Likewise.
15703 (FP_FAST_FMAL): Likewise.
15704 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15706 * bits/mathdef.h: Update copyright year.
15707 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15709 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15711 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15712 builtins, define the macros in the C99 standard.
15713 (FP_FAST_FMAF): Likewise.
15714 (FP_FAST_FMAL): Likewise.
15715 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15717 (FP_FAST_FMAF): Likewise.
15719 2010-10-15 Jakub Jelinek <jakub@redhat.com>
15722 * math/libm-test.inc (fma_test): Some new testcases.
15723 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15724 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15725 y and infinite z. Do multiplication by C already in long double.
15726 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15727 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15728 y and infinite z. Do bitwise or of inexact bit into u.d.
15729 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15730 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15731 * sysdeps/i386/fpu/s_fma.S: Removed.
15732 * sysdeps/i386/fpu/s_fmal.S: Removed.
15734 2010-10-16 Jakub Jelinek <jakub@redhat.com>
15737 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15738 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15739 computation is not scheduled after fetestexcept. Fix value
15740 of minimum denormal long double.
15742 2010-10-14 Jakub Jelinek <jakub@redhat.com>
15745 * math/libm-test.inc (fma_test): Add some more tests.
15746 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15749 2010-10-15 Andreas Schwab <schwab@redhat.com>
15751 * scripts/data/localplt-s390-linux-gnu.data: New file.
15752 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15754 2010-10-13 Jakub Jelinek <jakub@redhat.com>
15757 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15758 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15760 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15762 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15763 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15764 if one of x and y is very large and the other is subnormal.
15765 * sysdeps/s390/fpu/s_fmaf.c: New file.
15766 * sysdeps/s390/fpu/s_fma.c: New file.
15767 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15768 * sysdeps/powerpc/fpu/s_fma.S: New file.
15769 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15770 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15771 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15773 2010-10-12 Jakub Jelinek <jakub@redhat.com>
15776 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15778 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15779 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15780 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15781 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15782 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15783 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15784 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15786 2010-10-12 Ulrich Drepper <drepper@redhat.com>
15789 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15790 * posix/bug-regex31.input: Add test case.
15792 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15794 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15795 * posix/bug-regex31.input: New file.
15798 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15799 (parse_sub_exp): Fix last change, use postorder.
15801 * posix/bug-regex31.c: New file.
15802 * posix/Makefile: Add rules to build and run bug-regex31.
15804 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15807 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15810 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15811 to have entries in sys_siglist.
15814 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15817 2010-10-07 Jakub Jelinek <jakub@redhat.com>
15820 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15821 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15822 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15823 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15824 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15825 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15826 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15827 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15828 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15829 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15830 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15831 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15832 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15833 * math/ftestexcept.c (fetestexcept): Likewise.
15834 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15835 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15836 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15837 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15838 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15839 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15840 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15842 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15845 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15848 2010-10-06 Ulrich Drepper <drepper@gmail.com>
15850 * string/bug-strstr1.c: New file.
15851 * string/Makefile: Add rules to build and run bug-strstr1.
15853 2010-10-05 Eric Blake <eblake@redhat.com>
15856 * string/str-two-way.h (two_way_long_needle): Always clear memory
15857 when skipping input due to the shift table.
15859 2010-10-03 Ulrich Drepper <drepper@gmail.com>
15862 * malloc/mcheck.c: Handle large requests.
15865 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15866 for strncmp and strncasecmp.
15867 * string/stratcliff.c: Add tests for strcmp and strncmp.
15868 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15870 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15872 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15875 2010-09-30 Andreas Jaeger <aj@suse.de>
15877 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15878 (CGROUP_SUPER_MAGIC): Define.
15879 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15880 Handle btrfs and cgroup file systems.
15881 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15884 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
15886 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15887 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15889 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15892 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15893 trying to locate the ELF header.
15895 2010-09-27 Andreas Schwab <schwab@redhat.com>
15898 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15899 Mask out sign-bit copies when constructing f_fsid.
15901 2010-09-24 Petr Baudis <pasky@suse.cz>
15903 * debug/stack_chk_fail_local.c: Add missing licence exception.
15904 * debug/warning-nop.c: Likewise.
15906 2010-09-15 Joseph Myers <joseph@codesourcery.com>
15908 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15909 implementing getdents64 using getdents syscall, set d_type if
15910 __ASSUME_GETDENTS32_D_TYPE.
15912 2010-09-16 Andreas Schwab <schwab@redhat.com>
15914 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15915 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15917 2010-09-21 Ulrich Drepper <drepper@redhat.com>
15920 * posix/unistd.h: Undo change of feature selection for ftruncate from
15923 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15925 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15928 2010-09-20 Andreas Schwab <schwab@redhat.com>
15930 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15932 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15934 2010-09-14 Andreas Schwab <schwab@redhat.com>
15936 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15937 variables after CHECK_SP call.
15938 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15940 2010-09-13 Andreas Schwab <schwab@redhat.com>
15941 Ulrich Drepper <drepper@redhat.com>
15943 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15944 re-relocationg ld.so.
15945 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15946 _dl_init_paths call.
15947 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15950 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15952 * resolv/res_init.c (__res_vinit): Count the default server we added.
15954 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15955 Ulrich Drepper <drepper@redhat.com>
15958 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15959 (____longjmp_chk): Use %ebx for saving value across system call.
15962 2010-09-06 Andreas Schwab <schwab@redhat.com>
15964 * manual/Makefile: Don't mix pattern rules with normal rules.
15966 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15968 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15970 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15971 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15972 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15973 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15974 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15977 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15980 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15981 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15983 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15985 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15986 * sysdeps/x86_64/addmul_1.S: Likewise.
15987 * sysdeps/x86_64/lshift.S: Likewise.
15988 * sysdeps/x86_64/mul_1.S: Likewise.
15989 * sysdeps/x86_64/rshift.S: Likewise.
15990 * sysdeps/x86_64/sub_n.S: Likewise.
15991 * sysdeps/x86_64/submul_1.S: Likewise.
15993 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15995 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15996 Define __sched_param instead of SCHED_* and sched_param when
15997 <bits/sched.h> is included with __need_schedparam defined.
15998 * bits/sched.h [__need_schedparam]
15999 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
16000 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16001 (__defined_schedparam): Define to 1.
16002 (__sched_param): New structure, identical to sched_param.
16003 (__need_schedparam): Undefine.
16005 2010-08-31 Mike Frysinger <vapier@gentoo.org>
16007 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16008 (epoll_create1): Declare.
16010 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16012 2010-08-31 Andreas Schwab <schwab@redhat.com>
16015 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16016 shifting retval into place.
16018 2010-09-01 Ulrich Drepper <drepper@redhat.com>
16020 * nis/rpcsvc/nis.h: Update copyright notice.
16021 * nis/rpcsvc/nis.x: Likewise.
16022 * nis/rpcsvc/nis_callback.h: Likewise.
16023 * nis/rpcsvc/nis_callback.x: Likewise.
16024 * nis/rpcsvc/nis_object.x: Likewise.
16025 * nis/rpcsvc/nis_tags.h: Likewise.
16026 * nis/rpcsvc/yp.h: Likewise.
16027 * nis/rpcsvc/yp.x: Likewise.
16028 * nis/rpcsvc/ypupd.h: Likewise.
16029 * nis/yp_xdr.c: Likewise.
16030 * nis/ypupdate_xdr.c: Likewise.
16032 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16033 mainly the body of pmap_getport. Add parameters to specify timeouts.
16034 (pmap_getport): Use __libc_rpc_getport.
16035 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16036 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16037 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16039 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16044 2010-08-27 Roland McGrath <roland@redhat.com>
16046 * sysdeps/i386/i686/multiarch/Makefile
16047 (CFLAGS-varshift.c): New variable.
16049 2010-08-27 Ulrich Drepper <drepper@redhat.com>
16051 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16052 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16054 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16056 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16058 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16060 * sysdeps/x86_64/strlen.S: Unroll the loop.
16061 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16062 strlen-sse2 strlen-sse2-bsf.
16063 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16064 __strlen_no_bsf if bit_Slow_BSF is set.
16065 (__strlen_sse42): Removed.
16066 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16067 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16069 2010-08-25 Roland McGrath <roland@redhat.com>
16071 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16072 * sysdeps/x86_64/multiarch/varshift.c: New file.
16073 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16074 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16075 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16076 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16078 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16080 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16081 strlen-sse2 strlen-sse2-bsf.
16082 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16083 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16084 (__strlen_sse2): Removed.
16085 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16086 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16088 bit_Slow_BSF for Atom.
16089 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16090 (index_Slow_BSF): Define.
16091 (HAS_SLOW_BSF): Define.
16093 2010-08-25 Ulrich Drepper <drepper@redhat.com>
16096 * resolv/res_init.c (__res_vinit): When no server address at all
16097 is given default to loopback.
16099 2010-08-24 Roland McGrath <roland@redhat.com>
16101 * configure.in: Remove config-name.h generation.
16102 * configure: Regenerated.
16103 * config-name.in: File removed.
16104 * scripts/config-uname.sh: New file.
16105 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16106 ($(objdir)config-name.h): New target.
16108 * sunrpc/rpc_parse.h: Avoid nested comment.
16110 2010-08-24 Richard Henderson <rth@redhat.com>
16111 Ulrich Drepper <drepper@redhat.com>
16112 H.J. Lu <hongjiu.lu@intel.com>
16114 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16115 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16116 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16117 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16118 _mm_alignr_epi8 with _mm_loadu_si128.
16119 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16120 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16121 (__m128i_shift_right): Removed.
16122 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16123 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16124 * sysdeps/x86_64/multiarch/varshift.h: New file.
16125 * sysdeps/x86_64/multiarch/varshift.S: New file.
16127 2010-08-21 Mike Frysinger <vapier@gentoo.org>
16129 * configure.in: Move assembler checks to before sysdep dir checking.
16131 2010-08-20 Petr Baudis <pasky@suse.cz>
16133 * LICENSES: Sync the sunrpc license.
16135 2010-08-19 Ulrich Drepper <drepper@redhat.com>
16137 * sunrpc/auth_des.c: Update copyright notice once again.
16138 * sunrpc/auth_none.c: Likewise.
16139 * sunrpc/auth_unix.c: Likewise.
16140 * sunrpc/authdes_prot.c: Likewise.
16141 * sunrpc/authuxprot.c: Likewise.
16142 * sunrpc/bindrsvprt.c: Likewise.
16143 * sunrpc/clnt_gen.c: Likewise.
16144 * sunrpc/clnt_perr.c: Likewise.
16145 * sunrpc/clnt_raw.c: Likewise.
16146 * sunrpc/clnt_simp.c: Likewise.
16147 * sunrpc/clnt_tcp.c: Likewise.
16148 * sunrpc/clnt_udp.c: Likewise.
16149 * sunrpc/clnt_unix.c: Likewise.
16150 * sunrpc/des_crypt.c: Likewise.
16151 * sunrpc/des_soft.c: Likewise.
16152 * sunrpc/get_myaddr.c: Likewise.
16153 * sunrpc/getrpcport.c: Likewise.
16154 * sunrpc/key_call.c: Likewise.
16155 * sunrpc/key_prot.c: Likewise.
16156 * sunrpc/openchild.c: Likewise.
16157 * sunrpc/pm_getmaps.c: Likewise.
16158 * sunrpc/pm_getport.c: Likewise.
16159 * sunrpc/pmap_clnt.c: Likewise.
16160 * sunrpc/pmap_prot.c: Likewise.
16161 * sunrpc/pmap_prot2.c: Likewise.
16162 * sunrpc/pmap_rmt.c: Likewise.
16163 * sunrpc/rpc/auth.h: Likewise.
16164 * sunrpc/rpc/auth_unix.h: Likewise.
16165 * sunrpc/rpc/clnt.h: Likewise.
16166 * sunrpc/rpc/des_crypt.h: Likewise.
16167 * sunrpc/rpc/key_prot.h: Likewise.
16168 * sunrpc/rpc/netdb.h: Likewise.
16169 * sunrpc/rpc/pmap_clnt.h: Likewise.
16170 * sunrpc/rpc/pmap_prot.h: Likewise.
16171 * sunrpc/rpc/pmap_rmt.h: Likewise.
16172 * sunrpc/rpc/rpc.h: Likewise.
16173 * sunrpc/rpc/rpc_des.h: Likewise.
16174 * sunrpc/rpc/rpc_msg.h: Likewise.
16175 * sunrpc/rpc/svc.h: Likewise.
16176 * sunrpc/rpc/svc_auth.h: Likewise.
16177 * sunrpc/rpc/types.h: Likewise.
16178 * sunrpc/rpc/xdr.h: Likewise.
16179 * sunrpc/rpc_clntout.c: Likewise.
16180 * sunrpc/rpc_cmsg.c: Likewise.
16181 * sunrpc/rpc_common.c: Likewise.
16182 * sunrpc/rpc_cout.c: Likewise.
16183 * sunrpc/rpc_dtable.c: Likewise.
16184 * sunrpc/rpc_hout.c: Likewise.
16185 * sunrpc/rpc_main.c: Likewise.
16186 * sunrpc/rpc_parse.c: Likewise.
16187 * sunrpc/rpc_parse.h: Likewise.
16188 * sunrpc/rpc_prot.c: Likewise.
16189 * sunrpc/rpc_sample.c: Likewise.
16190 * sunrpc/rpc_scan.c: Likewise.
16191 * sunrpc/rpc_scan.h: Likewise.
16192 * sunrpc/rpc_svcout.c: Likewise.
16193 * sunrpc/rpc_tblout.c: Likewise.
16194 * sunrpc/rpc_util.c: Likewise.
16195 * sunrpc/rpc_util.h: Likewise.
16196 * sunrpc/rpcinfo.c: Likewise.
16197 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16198 * sunrpc/rpcsvc/key_prot.x: Likewise.
16199 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16200 * sunrpc/rpcsvc/mount.x: Likewise.
16201 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16202 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16203 * sunrpc/rpcsvc/rex.x: Likewise.
16204 * sunrpc/rpcsvc/rstat.x: Likewise.
16205 * sunrpc/rpcsvc/rusers.x: Likewise.
16206 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16207 * sunrpc/rpcsvc/spray.x: Likewise.
16208 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16209 * sunrpc/rtime.c: Likewise.
16210 * sunrpc/svc.c: Likewise.
16211 * sunrpc/svc_auth.c: Likewise.
16212 * sunrpc/svc_authux.c: Likewise.
16213 * sunrpc/svc_raw.c: Likewise.
16214 * sunrpc/svc_run.c: Likewise.
16215 * sunrpc/svc_simple.c: Likewise.
16216 * sunrpc/svc_tcp.c: Likewise.
16217 * sunrpc/svc_udp.c: Likewise.
16218 * sunrpc/svc_unix.c: Likewise.
16219 * sunrpc/svcauth_des.c: Likewise.
16220 * sunrpc/xcrypt.c: Likewise.
16221 * sunrpc/xdr.c: Likewise.
16222 * sunrpc/xdr_array.c: Likewise.
16223 * sunrpc/xdr_float.c: Likewise.
16224 * sunrpc/xdr_mem.c: Likewise.
16225 * sunrpc/xdr_rec.c: Likewise.
16226 * sunrpc/xdr_ref.c: Likewise.
16227 * sunrpc/xdr_sizeof.c: Likewise.
16228 * sunrpc/xdr_stdio.c: Likewise.
16230 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16233 2010-08-19 Andreas Schwab <schwab@redhat.com>
16235 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16237 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
16239 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16240 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16241 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16242 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16243 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16244 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16245 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16246 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16247 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16248 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16249 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16250 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16251 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16252 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16254 2010-07-26 Anton Blanchard <anton@samba.org>
16256 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16257 * malloc/arena.c (heap_trim): Likewise.
16259 2010-08-16 Ulrich Drepper <drepper@redhat.com>
16261 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16263 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16264 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16266 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16268 * sysdeps/i386/elf/Makefile: New file.
16270 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16272 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16273 from fanotify_init.
16274 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16275 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16277 2010-08-15 Ulrich Drepper <drepper@redhat.com>
16279 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16281 * sysdeps/multiarch/strcmp.S: Likewise.
16283 2010-08-14 Ulrich Drepper <drepper@redhat.com>
16285 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16286 strncase_l-nonascii.
16287 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16288 Add strncase_l-ssse3.
16289 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16290 * sysdeps/x86_64/strcmp.S: Likewise.
16291 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16292 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16293 * sysdeps/x86_64/strncase.S: New file.
16294 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16295 * sysdeps/x86_64/strncase_l.S: New file.
16296 * string/Makefile (strop-tests): Add strncasecmp.
16297 * string/test-strncasecmp.c: New file.
16299 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16302 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16303 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16305 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16307 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16309 2010-08-12 Ulrich Drepper <drepper@redhat.com>
16311 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16312 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16313 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16315 2010-05-01 Alan Modra <amodra@gmail.com>
16317 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16318 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16319 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16320 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16321 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16322 tidying. Don't tail-call __sigjmp_save for static lib.
16323 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16325 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16326 (CALL_MCOUNT): Add eh info, and nop after bl.
16327 (TAIL_CALL_SYSCALL_ERROR): New macro.
16328 (PSEUDO_RET): Use it.
16329 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16330 Correct save location of integer regs and cr.
16331 (_dl_profile_resolve): Correct cr save location. Delete nops
16332 after bl when SHARED. Reduce cfi size a little by better
16333 placement of cfi directives.
16334 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16335 make a stack frame. Instead use parm save area as a temp.
16336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16337 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16339 Don't make a stack frame for parent, use parm save area.
16340 Increase child stack frame to 112 bytes. Don't save unused reg,
16341 and adjust reg usage. Set up cfi on error recovery and
16342 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16344 (__makecontext): Add dummy nop after jump to exit.
16345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16346 Use correct parm save area and cr save, reduce stack frame.
16347 Correct cfi for possible PSEUDO_RET frame setup.
16348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16349 Branch to local label emitted by PSEUDO_RET rather than
16352 2010-08-12 Andreas Schwab <schwab@redhat.com>
16355 * locale/programs/locale.c (print_assignment): New function.
16356 (show_locale_vars): Use it.
16358 2010-08-11 Ulrich Drepper <drepper@redhat.com>
16360 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16362 (struct statfs64): Likewise.
16363 (_STATFS_F_FLAGS): Define.
16364 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16365 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16366 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16367 (ST_VALID): Define locally.
16368 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16369 __statvfs_getflags, use the provided value.
16370 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16371 __ASSUME_STATFS_F_FLAGS.
16373 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16375 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16376 Add sys/fanotify.h.
16377 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16378 fanotify_mask for GLIBC_2.13.
16379 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16380 fanotify_init and fanotify_mark.
16381 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16382 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16384 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16386 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16387 prlimit64 for GLIBC_2.13.
16388 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16390 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16393 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16394 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16395 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16396 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16398 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16401 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16402 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16404 * nss/Makefile: Add rules to build and run tst-nss-test1.
16405 * shlib-versions: Add entry for libnss_test1.
16406 * nss/nss_test1.c: New file.
16407 * nss/tst-nss-test1.c: New file.
16409 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16410 (__nss_configure_lookup): Set appropriate entry in
16411 __nss_configure_lookup to true.
16412 * nss/nsswitch.h: Define enum with indeces of databases in
16413 databases and __nss_database_custom arrays. Declare
16414 __nss_database_custom.
16415 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16416 to avoid using nscd when custom rules are installed.
16417 * nss/getXXbyYY_r.c: Likewise.
16418 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16420 * nss/nss_files/files-parse.c: Whitespace fixes.
16422 2010-08-09 Ulrich Drepper <drepper@redhat.com>
16425 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16426 * posix/fnmatch_loop.c: Likewise.
16428 2010-07-17 Andi Kleen <ak@linux.intel.com>
16430 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16431 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16432 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16433 * Versions.def [GLIBC_2.13]: Add.
16435 2010-08-06 Ulrich Drepper <drepper@redhat.com>
16437 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16438 Also fail if tpwd after pwuid call is NULL.
16440 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16442 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16443 when converting to ms.
16445 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16447 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16448 EOPNOTSUPP errors with ENOTTY.
16449 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16450 EOPNOTSUPP errors with ENOTTY.
16452 2010-07-31 Ulrich Drepper <drepper@redhat.com>
16454 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16455 Add strcasecmp_l-ssse3.
16456 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16458 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16459 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16460 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16462 2010-07-30 Ulrich Drepper <drepper@redhat.com>
16464 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16466 * string/Makefile (strop-tests): Add strcasecmp.
16467 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16468 strcasecmp_l-nonascii.
16469 (gen-as-const-headers): Add locale-defines.sym.
16470 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16471 * sysdeps/x86_64/strcasecmp.S: New file.
16472 * sysdeps/x86_64/strcasecmp_l.S: New file.
16473 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16474 * sysdeps/x86_64/locale-defines.sym: New file.
16475 * string/test-strcasecmp.c: New file.
16477 * string/test-strcasestr.c: Test both ends of the range of characters.
16478 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16480 2010-07-29 Roland McGrath <roland@redhat.com>
16483 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16485 2010-07-27 Ulrich Drepper <drepper@redhat.com>
16487 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16490 2010-07-27 Andreas Schwab <schwab@redhat.com>
16492 * manual/memory.texi (Malloc Tunable Parameters): Document
16495 2010-07-26 Roland McGrath <roland@redhat.com>
16498 * configure.in (-fgnu89-inline check): Set and substitute
16499 gnu89_inline, not libc_cv_gnu89_inline.
16500 * configure: Regenerated.
16501 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16503 2010-07-26 Ulrich Drepper <drepper@redhat.com>
16505 * string/test-strnlen.c: New file.
16506 * string/Makefile (strop-tests): Add strnlen.
16507 * string/tester.c (test_strnlen): Add a few more test cases.
16508 * string/tst-strlen.c: Better error reporting.
16510 * sysdeps/x86_64/strnlen.S: New file.
16512 2010-07-24 Ulrich Drepper <drepper@redhat.com>
16514 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16515 lower-latency instructions.
16517 2010-07-23 Ulrich Drepper <drepper@redhat.com>
16519 * string/test-strcasestr.c: New file.
16520 * string/test-strstr.c: New file.
16521 * string/Makefile (strop-tests): Add strstr and strcasestr.
16522 * string/str-two-way.h: Don't undefine MAX.
16523 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16525 2010-07-21 Andreas Schwab <schwab@redhat.com>
16527 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16528 strcasestr-nonascii.
16529 (CFLAGS-strcasestr-nonascii.c): Define.
16530 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16531 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16532 Remove unused attribute.
16534 2010-07-20 Roland McGrath <roland@redhat.com>
16536 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16537 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16538 ld.so.cache was broken. With it, there is no way to disable dsocaps
16539 like LD_HWCAP_MASK can disable hwcaps.
16541 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16543 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16545 2010-07-16 Ulrich Drepper <drepper@redhat.com>
16547 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16548 call in strcasestr.
16549 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16550 __strcasestr_sse42_nonascii.
16551 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16552 strcasestr-nonascii.c.
16553 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16555 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
16557 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16558 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16559 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16560 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16562 2010-07-09 Ulrich Drepper <drepper@redhat.com>
16564 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16567 2010-07-06 Andreas Schwab <schwab@redhat.com>
16570 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16573 2010-07-06 Ulrich Drepper <drepper@redhat.com>
16575 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16576 _PC_PIPE_BUF using F_GETPIPE_SZ.
16578 2010-07-05 Roland McGrath <roland@redhat.com>
16580 * manual/arith.texi (Rounding Functions): Fix rint description
16581 implicit in round description.
16583 2010-07-02 Ulrich Drepper <drepper@redhat.com>
16585 * elf/Makefile: Fix linking for a few tests to make recent linker
16588 2010-06-30 Andreas Schwab <schwab@redhat.com>
16590 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16591 $(common-objpfx)libc_nonshared.a.
16593 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
16595 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16596 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16597 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16598 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16599 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16600 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16601 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16602 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16617 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16618 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16619 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16620 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16621 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16622 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16623 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16624 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16625 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16626 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16627 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16628 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16644 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16646 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16647 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16648 * string/memmove.c (memmove): Renamed to ...
16649 (MEMMOVE): ...this. Default to memmove.
16650 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16651 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16653 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16654 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16655 mempcpy-ssse3-back memmove-ssse3-back.
16656 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16657 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16658 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16659 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16660 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16661 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16662 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16663 * sysdeps/x86_64/multiarch/memmove.c: New file.
16664 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16665 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16666 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16667 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16668 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16669 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16671 (index_Fast_Copy_Backward): Define.
16672 (HAS_ARCH_FEATURE): Define.
16673 (HAS_FAST_REP_STRING): Define.
16674 (HAS_FAST_COPY_BACKWARD): Define.
16676 2010-06-21 Andreas Schwab <schwab@redhat.com>
16678 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16679 Restore proper fallback handling.
16681 2010-06-19 Ulrich Drepper <drepper@redhat.com>
16684 * posix/group_member.c (__group_member): Correct checking loop.
16686 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16687 OOM in getpwuid_r correctly. Return error number when the caller
16688 should return, otherwise -1.
16689 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16690 call returning > 0 value.
16691 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16693 2010-06-07 Andreas Schwab <schwab@redhat.com>
16695 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16696 libc_nonshared.a from targets in modules-names.
16698 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16700 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16703 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
16705 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16706 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16707 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16708 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16710 2010-06-02 Andreas Schwab <schwab@redhat.com>
16712 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16714 2010-06-14 Ulrich Drepper <drepper@redhat.com>
16716 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16718 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16719 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16720 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16721 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16722 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16723 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16725 2010-06-14 Roland McGrath <roland@redhat.com>
16727 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16729 2010-06-07 Jakub Jelinek <jakub@redhat.com>
16731 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16732 __REDIRECT followed by __THROW.
16733 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16734 * posix/getopt.h (getopt): Likewise.
16736 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16738 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16739 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16740 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16742 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16743 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16745 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
16747 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16749 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16753 Properly check family and model.
16755 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16757 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16759 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
16761 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16763 2010-05-21 Ulrich Drepper <drepper@redhat.com>
16765 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16768 2010-05-19 Andreas Schwab <schwab@redhat.com>
16770 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16773 2010-05-21 Andreas Schwab <schwab@redhat.com>
16775 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16776 and internal_recvmmsg.
16777 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16778 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16779 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16780 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16782 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16783 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16784 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16786 2010-05-20 Andreas Schwab <schwab@redhat.com>
16788 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16790 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
16792 POWER7 optimizations.
16793 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16794 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16796 2010-05-19 Ulrich Drepper <drepper@redhat.com>
16798 * version.h: Update for 2.13 development version.
16800 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
16802 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16803 exceptions. Return 0.
16805 2010-05-07 Roland McGrath <roland@redhat.com>
16807 * elf/ldconfig.c (main): Add a const.
16809 2010-05-06 Ulrich Drepper <drepper@redhat.com>
16811 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16812 (args_options): Add no-idn option.
16813 (ahosts_keys_int): Add idn_flags to ai_flags.
16814 (parse_option): Handle 'i' option to clear idn_flags.
16816 * malloc/malloc.c (_int_free): Possible race in the most recently
16817 added check. Only act on the data if no current modification
16820 See ChangeLog.17 for earlier changes.