1 2012-07-03 Andreas Jaeger <aj@suse.de>
3 * po/bg.po: Update from translation team.
11 2012-07-03 Joseph Myers <joseph@codesourcery.com>
13 * Makeconfig [!+link] (+link-before-libc): New variable.
14 [!+link] (+link-after-libc): Likewise.
15 [!+link] (+link-tests): Likewise.
16 [!+link] (+link): Define in terms of $(+link-before-libc) and
18 [!+link-static] (+link-static-before-libc): New variable.
19 [!+link-static] (+link-static-after-libc): Likewise.
20 [!+link-static] (+link-static-tests): Likewise.
21 [!+link-static] (+link-static): Define in terms of
22 $(+link-static-before-libc) and $(+link-static-after-libc).
23 [build-shared] (link-libc-before-gnulib): New variable.
24 [build-shared] (link-libc-tests): Likewise.
25 [build-shared] (link-libc): Define in terms of
26 $(link-libc-before-gnulib).
27 [!build-shared] (link-libc-tests): New variable.
28 (link-libc-static-tests): New variable.
29 [!gnulib] (gnulib-arch): New variable.
30 [!gnulib] (gnulib-tests): Likewise.
31 [!gnulib] (static-gnulib-arch): Likewise.
32 [!gnulib] (static-gnulib-tests): Likewise.
33 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
34 Define with "=" instead of ":=".
35 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
36 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
37 * Rules (binaries-all-notests): New variable.
38 (binaries-all-tests): Likewise.
39 (binaries-static-notests): Likewise.
40 (binaries-static-tests): Likewise.
41 (binaries-all): Define using $(binaries-all-notests) and
42 $(binaries-all-tests).
43 (binaries-static): Define using $(binaries-static-notests) and
44 $(binaries-static-tests).
45 (binaries-shared-tests): New variable.
46 (binaries-shared-notests): Likewise.
47 (binaries-shared): Remove variable.
48 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
49 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
50 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
51 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
52 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
53 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
54 * elf/Makefile (sln-modules): New variable.
55 (extra-objs): Add $(sln-modules:=.o).
56 (ldconfig-modules): Add static-stubs.
57 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
58 * elf/static-stubs.c: New file.
61 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
62 by 7 not 8 to examine high bit of fractional part. Use volatile
63 variables when splitting into final array of floats if
64 __FLT_EVAL_METHOD__ != 0.
65 * math/libm-test.inc (cos_test): Add another test.
67 * sysdeps/i386/fpu/libm-test-ulps: Update.
70 * math/libm-test.inc (cosh_test): Add more tests.
72 * version.h (RELEASE): Set to "development".
73 (VERSION): Set to "2.16.90".
75 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
77 * NEWS: Update copyright. Remove last-updated date.
78 Mention math library bug fixes and timezone data changes.
79 * README: Mention GNU/Hurd, x32, and HPPA support status.
81 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
83 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
85 2012-06-27 Andreas Jaeger <aj@suse.de>
87 * manual/contrib.texi (Contributors): Add Samuel Thibault.
89 2012-06-25 Andreas Jaeger <aj@suse.de>
91 * sysdeps/s390/fpu/libm-test-ulps: Update.
93 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
94 Thomas Schwinge <thomas@codesourcery.com>
96 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
97 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
98 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
101 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
103 * sysdeps/mach/start.c: Remove file.
104 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
105 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
106 * sysdeps/sh/init-first.c: Likewise.
108 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
109 registers for frame unwinding purposes, add CFI directives.
110 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
111 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
112 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
115 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
116 __fortify_fail returning.
117 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
119 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
120 sysdeps/sh/____longjmp_chk.S.
121 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
122 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
123 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
124 (gen-as-const-headers): Append sigaltstack-offsets.sym.
126 * sysdeps/sh/abort-instr.h: New file.
127 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
128 process in case exit returns.
130 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
131 initialize the GOT register before use.
133 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
134 calculation of ARGC > 4.
136 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
137 meaningful names to some local labels.
139 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
140 Kaz Kojima <kkojima@rr.iij4u.or.jp>
142 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
143 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
144 (__arch_compare_and_exchange_val_16_acq): Likewise.
145 (__arch_compare_and_exchange_val_32_acq): Likewise.
146 (atomic_exchange_and_add): Fix gUSA sequence.
147 (atomic_add): Likewise.
148 (atomic_add_negative): Likewise.
149 (atomic_add_zero): Likewise.
150 (atomic_bit_test_set): Likewise.
152 2012-06-22 Andreas Schwab <schwab@redhat.com>
155 * include/link.h (struct link_map): Add l_free_initfini.
156 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
158 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
159 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
160 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
163 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
165 * configure.in: Use AC_LANG_SOURCE.
166 * configure: Regenerate.
168 2012-06-22 Roland McGrath <roland@hack.frob.com>
170 * configure.in (libc_cv_localstatedir): New substituted variable.
171 * configure: Regenerated.
172 * config.make.in (localstatedir): New variable, substituted from
173 libc_cv_localstatedir.
174 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
175 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
176 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
177 * sysdeps/gnu/configure: Regenerated.
179 2012-06-21 Jeff Law <law@redhat.com>
182 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
183 free. Simplify list management for _LIBC case.
185 2012-06-21 Joseph Myers <joseph@codesourcery.com>
188 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
189 Clear sign bit of 64-bit integer value before comparing against
192 * sysdeps/mach/configure: Regenerated.
194 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
197 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
199 2012-06-21 Jeff Law <law@redhat.com>
202 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
203 uint16_t for elements in the "seen" array to avoid char overflows.
204 * elf/dl-fini.c (_dl_sort_fini): Likewise.
205 * elf/dl-open.c (dl_open_worker): Likewise.
207 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
209 * scripts/list-sources.sh: Scan PORTS for translations.
210 * po/libc.pot: Regenerated.
212 2012-06-21 Andreas Jaeger <aj@suse.de>
215 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
217 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
218 * bits/byteswap-16.h (__bswap_16): Likewise.
219 * bits/byteswap.h (__bswap_constant_16): Likewise.
221 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
224 * sysdeps/i386/fpu_control.h: Removed.
225 * sysdeps/x86_64/fpu_control.h: Moved to ...
226 * sysdeps/x86/fpu_control.h: Here.
228 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
229 (_FPU_SETCW): Likewise.
231 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
234 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
235 * sysdeps/x86/fpu/bits/mathinline.h: This.
236 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
240 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
241 functions if __x86_64__ is defined.
243 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
245 * string/endian.h: Add !__ASSEMBLER__ condition for including
246 conversion interfaces.
248 2012-06-15 Joseph Myers <joseph@codesourcery.com>
251 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
252 of ABS(x) in calculating zero to negative powers other than odd
254 * math/libm-test.inc (pow_test): Add more tests.
256 2012-06-15 Andreas Jaeger <aj@suse.de>
258 * manual/contrib.texi (Contributors): Update entry of Liubov
259 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
262 2012-06-15 Cyril Hrubis <metan@ucw.cz>
264 * string/string.h: Add __wur to GNU version of strerror_r.
266 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
269 * string/Makefile (tests): Add tst-strtok_r.
270 * string/tst-strtok_r.c: New file.
271 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
272 RAX_LP/RDX_LP on SAVE_PTR.
274 2012-06-14 Roland McGrath <roland@hack.frob.com>
276 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
278 2012-06-14 Joseph Myers <joseph@codesourcery.com>
280 * libm_test.inc (csqrt_test): Allow more spurious underflow
287 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
289 * po/Makefile (libc.pot): Use UTF-8 charset.
291 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
294 Suppress sign-conversion warning from FD_SET.
295 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
296 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
297 not unsigned long int.
298 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
300 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
304 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
305 __extern_always_inline instead of __extern_inline.
306 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
307 (__signbit): Likewise.
308 (__signbitl): Support C++ namespace.
309 (lrintf): New inline function.
323 (nearbyint): Likewise.
324 (nearbyintf): Likewise.
326 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
328 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
329 non-default versions.
331 2012-06-11 Roland McGrath <roland@hack.frob.com>
334 * manual/argp.texi (Argp): Reword argp_parse description slightly.
336 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
338 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
339 (FE_UPWARD, FE_DOWNWARD): Don't define.
340 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
341 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
343 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
345 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
346 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
348 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
350 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
351 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
352 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
353 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
355 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
358 * sysdeps/i386/fpu/bits/fenv.h: Removed.
359 * sysdeps/i386/fpu/Implies: New file.
360 * sysdeps/x86_64/fpu/Implies: Likewise.
361 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
362 * sysdeps/x86/fpu/bits/fenv.h: This.
364 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
367 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
370 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
371 character 0xffff that matches the last element of the
374 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
376 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
379 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
381 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
382 values higher than 25.6283.
384 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
386 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
387 subnormal exponent extraction and add some __builtin_expect.
388 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
389 Fix for subnormal mantissa calculation.
391 2012-06-04 Mike Frysinger <vapier@gentoo.org>
393 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
394 cpu2 is -1 and errno is not ENOSYS.
396 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
399 * sysdeps/i386/i486/bits/string.h: Renamed to ...
400 * sysdeps/x86/bits/string.h: This.
401 * sysdeps/x86_64/bits/string.h: Removed.
403 * sysdeps/i386/i486/bits/string.h: Define inline functions only
404 if not compiling for x86-64, but compiling for >= i486.
406 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
407 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
409 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
410 New macro from Linux kernel 3.4.0.
411 (FP_XSTATE_MAGIC2): Likewise.
412 (FP_XSTATE_MAGIC2_SIZE): Likewise.
413 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
414 (struct _fpx_sw_bytes): New struct.
415 (struct _xsave_hdr): Likewise.
416 (struct _ymmh_state): Likewise.
417 (struct _xstate): Likewise.
419 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
420 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
421 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
422 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
423 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
424 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
426 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
427 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
428 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
429 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
430 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
431 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
433 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
436 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
437 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
438 (sysdep_headers): Include sys/platform/ppc.h.
439 * sysdeps/powerpc/test-gettimebase.c: Test for
440 __ppc_get_timebase() to catch future ISA opcode/insn changes.
441 * manual/Makefile (appendices): Include platform.texi.
442 * manual/contrib.texi (Contributors): Update @node pointers.
443 * manual/maint.texi (Maintenance): Likewise.
444 (Platform): New node.
445 * manual/platform.texi: New file. Document the new features.
447 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
448 Jakub Jelinek <jakub@redhat.com>
451 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
452 where __builtin_expect is unavailable.
454 2012-06-03 David S. Miller <davem@davemloft.net>
456 * stdlib/longlong.h: Updated from GCC.
458 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
461 * sysdeps/powerpc/powerpc32/mcount.c: New file.
462 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
465 (GLIBC_2.16): Likewise.
467 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
469 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
471 2012-06-01 Joseph Myers <joseph@codesourcery.com>
473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
474 (default-abi): New variable.
475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
476 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
478 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
480 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
482 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
485 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
486 definition. Document in comment.
488 2012-06-01 David S. Miller <davem@davemloft.net>
490 * stdlib/longlong.h: Updated from GCC.
492 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
495 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
496 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
497 sys/debugreg.h sys/io.h here.
498 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
499 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
501 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
502 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
503 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
504 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
505 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
506 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
508 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
509 Define only if __x86_64__ is defined.
511 2012-06-01 Joseph Myers <joseph@codesourcery.com>
514 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
515 Use int64_t for variable i.
516 * math/libm-test.inc (fmod_test): Add more tests.
518 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
519 z computation is not scheduled after fetestexcept.
520 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
521 Use math_force_eval instead of asm to ensure calculation scheduled
522 before exception test.
523 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
524 Ensure a1 + u.d computation is not scheduled after fetestexcept.
526 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
528 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
529 computation is not scheduled after fetestexcept.
531 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
534 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
535 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
537 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
539 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
540 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
542 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
545 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
547 (__WCHAR_MIN): Support __WORDSIZE == 64.
548 (__WCHAR_MAX): Likewise.
550 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
551 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
554 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
555 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
558 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
559 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
561 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
562 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
564 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
565 Defined to 1 if __x86_64__ isn't defined.
566 (_STAT_VER_LINUX_OLD): New.
567 (st_atime): Remove duplicate.
568 (st_mtime): Likewise.
569 (st_ctime): Likewise.
571 2012-05-31 David S. Miller <davem@davemloft.net>
573 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
576 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
578 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
582 * elf/dl-reloc.c: Include <_itoa.h>.
583 (_dl_reloc_bad_type): Remove use of INTUSE.
584 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
585 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
586 * stdio-common/psiginfo.c (psiginfo): Likewise.
587 * stdio-common/psignal.c (psignal): Likewise.
588 * string/strsignal.c (strsignal): Likewise.
589 * include/signal.h (_sys_siglist): Declare hidden proto.
590 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
591 INTVARDEF with libc_hidden_data_def.
592 * stdio-common/itoa-udigits.c: Likewise.
593 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
594 (_itoa_lower_digits_internal): Remove declaration.
595 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
596 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
597 (_sys_sigabbrev_internal): Remove aliases.
598 (_sys_siglist): Define hidden alias.
600 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
605 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
608 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
609 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
611 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
612 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
613 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
614 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
615 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
616 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
618 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
619 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
620 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
622 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
630 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
631 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
632 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
634 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
635 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
636 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
637 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
638 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
639 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
641 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
642 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
644 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
645 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
647 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
648 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
649 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
651 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
652 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
654 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
656 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
657 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
658 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
660 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
662 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
664 2012-05-31 Joseph Myers <joseph@codesourcery.com>
666 * math/math.h (M_El): Use two more decimal places.
667 (M_LOG2El): Likewise.
668 (M_LOG10El): Likewise.
676 (M_2_SQRTPIl): Likewise.
677 (M_SQRT2l): Likewise.
678 (M_SQRT1_2l): Likewise.
680 2012-05-31 David S. Miller <davem@davemloft.net>
682 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
683 values between float registers.
684 * sysdeps/sparc/sparc64/memset.S: Likewise.
685 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
687 2012-05-31 Mike Frysinger <vapier@gentoo.org>
689 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
691 (CPPFLAGS-tst-longjmp_chk.c): Define.
692 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
693 (CPPFLAGS-tst-longjmp_chk2.c): Define.
694 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
695 CFLAGS-tst-wchar-h.c.
697 2012-05-31 Marek Polacek <polacek@redhat.com>
700 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
701 __endmntent_internal): Remove declaration.
702 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
703 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
704 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
706 2012-05-30 David S. Miller <davem@davemloft.net>
708 * sysdeps/sparc/sparc32/soft-fp/q_util.c
709 (___Q_simulate_exceptions): Use real FP ops rather than writing
711 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
714 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
717 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
718 * sysdeps/x86/bits/xtitypes.h: This.
720 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
721 * sysdeps/x86/bits/wordsize.h: This.
723 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
724 * sysdeps/x86/bits/huge_vall.h: This.
726 * sysdeps/i386/bits/select.h: Removed.
727 * sysdeps/x86_64/bits/select.h: Renamed to ...
728 * sysdeps/x86/bits/select.h: This.
730 * sysdeps/i386/bits/setjmp.h: Removed.
731 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
732 * sysdeps/x86/bits/setjmp.h: This.
734 * sysdeps/i386/bits/mathdef.h: Removed.
735 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
736 * sysdeps/x86/bits/mathdef.h: This.
738 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
741 * include/sys/socket.h (__connect_internal)
742 (__libc_sa_len_internal): Remove declaration.
743 (__connect, __libc_sa_len): Declare hidden_proto.
744 (SA_LEN): Remove use of INTUSE.
745 * socket/connect.c: Add libc_hidden_def.
746 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
747 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
748 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
750 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
751 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
752 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
753 of adding _internal alias.
755 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
758 * sysdeps/i386/bits/link.h: Removed.
759 * sysdeps/i386/bits/linkmap.h: Likewise.
760 * sysdeps/x86_64/bits/link.h: Renamed to ...
761 * sysdeps/x86/bits/link.h: This.
762 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
763 * sysdeps/x86/bits/linkmap.h: This.
765 * sysdeps/i386/bits/endian.h: Removed.
766 * sysdeps/x86_64/bits/endian.h: Renamed to ...
767 * sysdeps/x86/bits/endian.h: This.
769 * sysdeps/i386/bits/byteswap.h: Removed.
770 * sysdeps/i386/bits/byteswap-16.h: Likewise.
771 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
772 * sysdeps/x86/bits/byteswap.h: This.
773 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
774 * sysdeps/x86/bits/byteswap-16.h: This.
775 * sysdeps/i386/Implies: Add x86.
776 * sysdeps/x86_64/Implies: Likewise.
778 2012-05-30 David S. Miller <davem@davemloft.net>
780 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
781 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
782 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
783 (FP_TRAPPING_EXCEPTIONS): Define.
784 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
785 (FP_TRAPPING_EXCEPTIONS): Define.
786 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
787 subnormals only when inexact has been signalled or underflow
788 exceptions are enabled.
789 (_FP_PACK_CANONICAL): Likewise.
791 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
794 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
795 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
797 2012-05-30 Richard Henderson <rth@twiddle.net>
799 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
800 with #ifndef NOT_IN_libc.
802 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
803 marked to avoid plt entry.
805 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
808 * Makeconfig (default-abi): New macro.
809 (abi-includes): Likewise.
810 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
811 $(abi-$(default-abi)-lib-soname) for soname if defined.
812 ($(common-objpfx)gnu/lib-names.stmp): Generate from
814 * Makefile (installed-stubs): Likewise.
815 * include/stubs-biarch.h: Removed.
816 * scripts/lib-names.awk: Only handle one library at a time.
817 * scripts/soversions.awk: Remove WORDSIZE support.
818 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
820 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
822 (syscall-list-default-condition): Likewise.
823 (syscall-list-default-condition): Likewise.
824 (syscall-list-includes): Likewise.
825 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
826 syscall-list-* with abi-*. Handle undefined abi-variants.
827 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
828 * sysdeps/unix/sysv/linux/i386/Implies: New file.
829 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
830 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
831 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
832 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
834 (syscall-list-32-options): Likewise.
835 (syscall-list-32-condition): Likewise.
836 (syscall-list-64-options): Likewise.
837 (syscall-list-64-condition): Likewise.
838 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
840 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
843 (abi-64-ld-soname): New macro.
844 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
845 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
848 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
849 * sysdeps/x86_64/x32/shlib-versions: Likewise.
851 2012-05-30 Joseph Myers <joseph@codesourcery.com>
853 * sysdeps/unix/sysv/linux/kernel-features.h
854 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
855 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
856 include <kernel-features.h>.
857 [!__NR_ftruncate64]: Remove conditional code.
858 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
859 [__NR_ftruncate64]: Make code unconditional.
860 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
861 * sysdeps/unix/sysv/linux/truncate64.c: Do not
862 include <kernel-features.h>.
863 [!__NR_ftruncate64]: Remove conditional code.
864 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
865 [__NR_ftruncate64]: Make code unconditional.
866 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
868 include <kernel-features.h>.
869 [!__NR_ftruncate64]: Remove conditional code.
870 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
871 [__NR_ftruncate64]: Make code unconditional.
872 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
874 include <kernel-features.h>.
875 [!__NR_ftruncate64]: Remove conditional code.
876 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
877 [__NR_ftruncate64]: Make code unconditional.
878 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
880 * configure.in (libc_cv_fpie): Weaken to a compile test using
882 * configure: Regenerated.
884 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
899 2012-05-27 David S. Miller <davem@davemloft.net>
901 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
903 (__Q_simulate_exceptions): Return void. Change to simulate
904 exceptions by writing into the %fsr.
905 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
906 (__Qp_handle_exceptions): Likewise.
908 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
909 __Qp_handle_exceptions.
910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
911 __Qp_handle_exceptions.
912 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
913 as unused and give dummy FP_RND_NEAREST initializer.
914 (FP_INHIBIT_RESULTS): Define.
915 (___Q_simulate_exceptions): Update declaration.
916 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
918 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
919 as unused and give dummy FP_RND_NEAREST initializer.
920 (__Qp_handle_exceptions): Update declaration.
921 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
924 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
926 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
927 the temporary FPU control word.
928 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
929 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
930 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
931 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
932 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
933 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
934 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
935 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
936 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
937 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
938 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
940 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
942 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
945 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
947 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
948 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
949 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
950 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
952 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
953 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
956 2012-05-27 Ulrich Drepper <drepper@gmail.com>
958 * po/h.po: Update from translation team.
960 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
962 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
964 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
965 handling of denormals.
966 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
967 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
968 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
969 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
970 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
971 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
972 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
975 2012-05-26 Marek Polacek <polacek@redhat.com>
978 * math/libm-test.inc (fma_test): Don't always expect underflow
981 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
984 * elf/tst-execstack.c: Include stackinfo.h.
985 (do_test): Adjust test case to ensure that pthread_getattr_np
986 behaviour remains the same after marking stack executable.
988 2012-05-25 Joseph Myers <joseph@codesourcery.com>
990 * sysdeps/unix/sysv/linux/kernel-features.h
991 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
992 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
994 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
995 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
996 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
998 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
999 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1001 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1003 * configure.in: Define the default includes to being none.
1004 * configure: Regenerated.
1006 2012-05-25 Roland McGrath <roland@hack.frob.com>
1008 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1009 * sysdeps/x86_64/setjmp.S: Likewise.
1010 * sysdeps/i386/bsd-setjmp.S: Likewise.
1011 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1012 * sysdeps/i386/setjmp.S: Likewise.
1013 * sysdeps/i386/__longjmp.S: Likewise.
1014 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1015 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1017 * include/stap-probe.h: New file.
1018 * configure.in: Handle --enable-systemtap.
1019 * configure: Regenerated.
1020 * config.h.in (USE_STAP_PROBE): New #undef.
1021 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1022 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1023 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1025 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1028 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1029 to 2.4.0 where earlier.
1030 * sysdeps/unix/sysv/linux/configure: Regenerated.
1031 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1032 <kernel-features.h>.
1033 [__ASSUME_32BITUIDS]: Make code unconditional.
1034 [!__ASSUME_32BITUIDS]: Remove conditional code.
1035 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1036 <kernel-features.h>.
1037 [__ASSUME_32BITUIDS]: Make code unconditional.
1038 [!__ASSUME_32BITUIDS]: Remove conditional code.
1039 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1040 [__ASSUME_32BITUIDS]: Make code unconditional.
1041 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1042 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1043 <kernel-features.h>.
1044 [__ASSUME_32BITUIDS]: Make code unconditional.
1045 [!__ASSUME_32BITUIDS]: Remove conditional code.
1046 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1047 <kernel-features.h>.
1048 [__ASSUME_32BITUIDS]: Make code unconditional.
1049 [!__ASSUME_32BITUIDS]: Remove conditional code.
1050 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1051 <kernel-features.h>.
1052 [__ASSUME_32BITUIDS]: Make code unconditional.
1053 [!__ASSUME_32BITUIDS]: Remove conditional code.
1054 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1055 <kernel-features.h>.
1056 [__ASSUME_32BITUIDS]: Make code unconditional.
1057 [!__ASSUME_32BITUIDS]: Remove conditional code.
1058 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1059 <kernel-features.h>.
1060 [__ASSUME_32BITUIDS]: Make code unconditional.
1061 [!__ASSUME_32BITUIDS]: Remove conditional code.
1062 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1063 <kernel-features.h>.
1064 [__ASSUME_32BITUIDS]: Make code unconditional.
1065 [!__ASSUME_32BITUIDS]: Remove conditional code.
1066 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1067 <kernel-features.h>.
1068 [__ASSUME_32BITUIDS]: Make code unconditional.
1069 [!__ASSUME_32BITUIDS]: Remove conditional code.
1070 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1071 <kernel-features.h>.
1072 [__ASSUME_32BITUIDS]: Make code unconditional.
1073 [!__ASSUME_32BITUIDS]: Remove conditional code.
1074 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1075 <kernel-features.h>.
1076 [__ASSUME_32BITUIDS]: Make code unconditional.
1077 [!__ASSUME_32BITUIDS]: Remove conditional code.
1078 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1079 <kernel-features.h>.
1080 [__ASSUME_32BITUIDS]: Make code unconditional.
1081 [!__ASSUME_32BITUIDS]: Remove conditional code.
1082 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1083 <kernel-features.h>.
1084 [__NR_setresgid] (__setresgid): Do not declare.
1085 [__ASSUME_32BITUIDS]: Make code unconditional.
1086 [!__ASSUME_32BITUIDS]: Remove conditional code.
1087 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1088 <kernel-features.h>.
1089 [__NR_setresuid] (__setresuid): Do not declare.
1090 [__ASSUME_32BITUIDS]: Make code unconditional.
1091 [!__ASSUME_32BITUIDS]: Remove conditional code.
1092 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.c: Do not include
1121 <kernel-features.h>.
1122 [__ASSUME_32BITUIDS]: Make code unconditional.
1123 [!__ASSUME_32BITUIDS]: Remove conditional code.
1124 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1125 <kernel-features.h>.
1126 [__ASSUME_32BITUIDS]: Make code unconditional.
1127 [!__ASSUME_32BITUIDS]: Remove conditional code.
1128 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1129 <kernel-features.h>.
1130 [__ASSUME_32BITUIDS]: Make code unconditional.
1131 [!__ASSUME_32BITUIDS]: Remove conditional code.
1132 * sysdeps/unix/sysv/linux/kernel-features.h
1133 (__ASSUME_SETRESUID_SYSCALL): Remove.
1134 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1135 (__ASSUME_32BITUIDS): Likewise.
1136 (__ASSUME_LDT_WORKS): Likewise.
1137 (__ASSUME_O_DIRECTORY): Likewise.
1138 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1139 architecture but not kernel version.
1140 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1141 (__ASSUME_MMAP2_SYSCALL): Likewise.
1142 (__ASSUME_STAT64_SYSCALL): Likewise.
1143 (__ASSUME_IPC64): Likewise.
1144 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1145 <kernel-features.h>.
1146 [__ASSUME_32BITUIDS]: Make code unconditional.
1147 [!__ASSUME_32BITUIDS]: Remove conditional code.
1148 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1149 <kernel-features.h>.
1150 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1151 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1152 132096]: Remove conditional code.
1153 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1154 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
1163 <kernel-features.h>.
1164 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1166 (__setresgid): Do not declare.
1167 [__ASSUME_32BITUIDS]: Make code unconditional.
1168 [!__ASSUME_32BITUIDS]: Remove conditional code.
1169 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1170 <kernel-features.h>.
1171 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1173 (__setresuid): Do not declare.
1174 [__ASSUME_32BITUIDS]: Make code unconditional.
1175 [!__ASSUME_32BITUIDS]: Remove conditional code.
1176 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1177 <kernel-features.h>.
1178 [__ASSUME_32BITUIDS]: Make code unconditional.
1179 [!__ASSUME_32BITUIDS]: Remove conditional code.
1180 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1181 <kernel-features.h>.
1182 [__ASSUME_32BITUIDS]: Make code unconditional.
1183 [!__ASSUME_32BITUIDS]: Remove conditional code.
1185 2012-05-25 Richard Henderson <rth@twiddle.net>
1187 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1188 dl_hwcap to ifunc resolver.
1189 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1191 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1192 dl_hwcap to ifunc resolver.
1193 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1195 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1198 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1199 for |x| <= 2**-26, not 2**-57.
1200 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1203 2012-05-24 Jeff Law <law@redhat.com>
1205 * stdio-common/Makefile (tests): Add bug25.
1206 * stdio-common/bug25.c: New test.
1208 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1211 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1212 multiple of MALLOC_ALIGNMENT in size.
1213 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1215 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1217 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1219 (FILENAME_MAX): Use macro-int-constant.
1220 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1221 (_IOFBF): Use macro-int-constant.
1224 (SEEK_CUR): Likewise.
1225 (SEEK_END): Likewise.
1226 (SEEK_SET): Likewise.
1227 (TMP_MAX): Likewise.
1228 (EOF): Use macro-int-constant. Require < 0.
1229 (NULL): Use macro-constant. Require == 0.
1230 (stdin): Require type to be FILE *.
1233 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1235 (EXIT_SUCCESS): Likewise.
1236 (NULL): Use macro-constant. Require == 0.
1237 (RAND_MAX): Use macro-int-constant.
1238 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1239 [C99-based standards] (strtof): Require function.
1240 [C99-based standards] (strtold): Likewise.
1241 [C99-based standards] (strtoll): Likewise.
1242 [C99-based standards] (strtoull): Likewise.
1243 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1244 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1245 [ISO || ISO99 || ISO11] (math.h): Likewise.
1246 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1247 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1248 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1250 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1253 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1254 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1255 * intl/dgettext.c (DCGETTEXT): Likewise.
1256 * intl/gettext.c (DCGETTEXT): Likewise.
1257 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1258 * posix/regex_internal.h (gettext): Likewise.
1259 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1261 * include/argz.h (__argz_count_internal)
1262 (__argz_stringify_internal): Remove declaration.
1263 (__argz_count, __argz_stringify): Declare hidden proto.
1264 * intl/dcgettext.c: Remove use of INTDEF.
1265 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1266 * string/argz-stringify.c: Likewise.
1267 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1268 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1269 Declare hidden proto.
1270 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1271 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1272 Declare hidden proto.
1273 * include/stdio.h (__asprintf_internal): Don't declare.
1274 (__asprintf): Don't define as macro. Declare hidden proto.
1275 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1276 (__fsetlocking): Declare hidden proto.
1277 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1278 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1280 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1281 (_IO_setlinebuf): Remove use of INTUSE.
1282 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1283 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1284 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1286 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1287 (_IO_do_flush): Remove use of INTUSE.
1288 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1289 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1290 (_IO_adjust_column, _IO_least_wmarker)
1291 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1292 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1293 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1294 (_IO_default_doallocate, _IO_wdefault_doallocate)
1295 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1296 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1297 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1298 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1299 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1300 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1301 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1302 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1303 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1304 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1305 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1306 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1307 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1309 (_IO_flush_all_internal, _IO_adjust_column_internal)
1310 (_IO_default_uflow_internal, _IO_default_finish_internal)
1311 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1312 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1313 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1314 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1315 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1316 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1317 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1318 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1319 (_IO_file_close_internal, _IO_file_close_it_internal)
1320 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1321 (_IO_file_init_internal, _IO_file_attach_internal)
1322 (_IO_file_fopen_internal, _IO_file_read_internal)
1323 (_IO_file_sync_internal, _IO_file_seek_internal)
1324 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1325 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1326 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1327 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1328 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1329 (_IO_list_all_internal, _IO_link_in_internal)
1330 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1331 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1332 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1333 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1334 (_IO_do_write_internal, _IO_padn_internal)
1335 (_IO_getline_info_internal, _IO_getline_internal)
1336 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1337 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1338 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1339 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1340 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1341 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1342 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1343 with libc_hidden_ver, remove use of INTUSE.
1344 * libio/genops.c: Likewise.
1345 * libio/freopen.c: Likewise.
1346 * libio/freopen64.c: Likewise.
1347 * libio/iofclose.c: Likewise.
1348 * libio/iofdopen.c: Likewise.
1349 * libio/iofflush.c: Likewise.
1350 * libio/iofflush_u.c: Likewise.
1351 * libio/iofgets.c: Likewise.
1352 * libio/iofgets_u.c: Likewise.
1353 * libio/iofopen.c: Likewise.
1354 * libio/iofopncook.c: Likewise.
1355 * libio/iofread.c: Likewise.
1356 * libio/iofread_u.c: Likewise.
1357 * libio/ioftell.c: Likewise.
1358 * libio/iofwrite.c: Likewise.
1359 * libio/iogetline.c: Likewise.
1360 * libio/iogets.c: Likewise.
1361 * libio/iogetwline.c: Likewise.
1362 * libio/iopadn.c: Likewise.
1363 * libio/iopopen.c: Likewise.
1364 * libio/ioseekoff.c: Likewise.
1365 * libio/ioseekpos.c: Likewise.
1366 * libio/iosetbuffer.c: Likewise.
1367 * libio/iosetvbuf.c: Likewise.
1368 * libio/ioungetc.c: Likewise.
1369 * libio/ioungetwc.c: Likewise.
1370 * libio/iovdprintf.c: Likewise.
1371 * libio/iovsprintf.c: Likewise.
1372 * libio/iovsscanf.c: Likewise.
1373 * libio/memstream.c: Likewise.
1374 * libio/obprintf.c: Likewise.
1375 * libio/oldfileops.c: Likewise.
1376 * libio/oldiofclose.c: Likewise.
1377 * libio/oldiofdopen.c: Likewise.
1378 * libio/oldiofopen.c: Likewise.
1379 * libio/oldiopopen.c: Likewise.
1380 * libio/oldstdfiles.c: Likewise.
1381 * libio/putc.c: Likewise.
1382 * libio/setbuf.c: Likewise.
1383 * libio/setlinebuf.c: Likewise.
1384 * libio/stdfiles.c: Likewise.
1385 * libio/strops.c: Likewise.
1386 * libio/vasprintf.c: Likewise.
1387 * libio/vscanf.c: Likewise.
1388 * libio/vsnprintf.c: Likewise.
1389 * libio/vswprintf.c: Likewise.
1390 * libio/wfiledoalloc.c: Likewise.
1391 * libio/wfileops.c: Likewise.
1392 * libio/wgenops.c: Likewise.
1393 * libio/wmemstream.c: Likewise.
1394 * libio/wstrops.c: Likewise.
1395 * libio/__fpurge.c: Likewise.
1396 * libio/__fsetlocking.c: Likewise.
1397 * assert/assert.c: Likewise.
1398 * debug/fgets_chk.c: Likewise.
1399 * debug/fgets_u_chk.c: Likewise.
1400 * debug/fread_chk.c: Likewise.
1401 * debug/fread_u_chk.c: Likewise.
1402 * debug/gets_chk.c: Likewise.
1403 * debug/obprintf_chk.c: Likewise.
1404 * debug/vasprintf_chk.c: Likewise.
1405 * debug/vdprintf_chk.c: Likewise.
1406 * debug/vsnprintf_chk.c: Likewise.
1407 * debug/vsprintf_chk.c: Likewise.
1408 * malloc/mtrace.c: Likewise.
1409 * misc/error.c: Likewise.
1410 * misc/syslog.c: Likewise.
1411 * stdio-common/asprintf.c: Likewise.
1412 * stdio-common/fxprintf.c: Likewise.
1413 * stdio-common/getw.c: Likewise.
1414 * stdio-common/isoc99_fscanf.c: Likewise.
1415 * stdio-common/isoc99_scanf.c: Likewise.
1416 * stdio-common/isoc99_vfscanf.c: Likewise.
1417 * stdio-common/isoc99_vscanf.c: Likewise.
1418 * stdio-common/isoc99_vsscanf.c: Likewise.
1419 * stdio-common/printf-prs.c: Likewise.
1420 * stdio-common/printf_fp.c: Likewise.
1421 * stdio-common/printf_fphex.c: Likewise.
1422 * stdio-common/printf_size.c: Likewise.
1423 * stdio-common/putw.c: Likewise.
1424 * stdio-common/scanf.c: Likewise.
1425 * stdio-common/sprintf.c: Likewise.
1426 * stdio-common/tmpfile.c: Likewise.
1427 * stdio-common/vfprintf.c: Likewise.
1428 * stdio-common/vfscanf.c: Likewise.
1429 * stdlib/strfmon_l.c: Likewise.
1430 * sunrpc/openchild.c: Likewise.
1431 * sunrpc/xdr_stdio.c: Likewise.
1432 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1433 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1435 2012-05-24 Roland McGrath <roland@hack.frob.com>
1437 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1439 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1440 in the third column, to generate for the shared library an IFUNC
1441 that uses _dl_vdso_vsym.
1442 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1443 * Makeconfig (object-suffixes-noshared): New variable.
1445 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1446 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1447 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1448 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1451 * include/sys/time.h (__gettimeofday): Remove macro.
1452 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1453 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1455 (__gettimeofday): Add libc_hidden_def.
1456 (gettimeofday): Add libc_hidden_weak.
1457 * sysdeps/mach/gettimeofday.c: Likewise.
1458 * sysdeps/posix/gettimeofday.c: Likewise.
1459 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1460 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1461 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1462 (__gettimeofday_internal): Remove strong_alias.
1463 (__gettimeofday): Add libc_hidden_def.
1464 (gettimeofday): Add libc_hidden_weak.
1465 * sysdeps/unix/syscalls.list (gettimeofday):
1466 Remove __gettimeofday_internal alias.
1468 2012-05-24 Daniel Jacobowitz <drow@false.org>
1469 H.J. Lu <hongjiu.lu@intel.com>
1472 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1473 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1474 (largebin_index_32_big): New.
1475 (largebin_index): Use it for 16-byte alignment.
1476 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1477 correction with front_misalign.
1479 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1507 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1508 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1510 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1514 * math/libm-test.inc (exp_test): Add test from bug 14036.
1515 (pow_test): Add test from bug 10846.
1517 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1519 (special_function): Do not include flags in test name.
1520 (parse_args): Likewise.
1521 * sysdeps/i386/fpu/libm-test-ulps: Update.
1522 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1523 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1524 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1527 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1529 * math/libm-test.inc ("Philosophy"): Update comment about
1531 (UNDERFLOW_EXCEPTION): New macro.
1532 (UNDERFLOW_EXCEPTION_OK): Likewise.
1533 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1534 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1535 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1536 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1537 (INVALID_EXCEPTION_OK): Update value.
1538 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1539 (OVERFLOW_EXCEPTION_OK): Likewise.
1540 (IGNORE_ZERO_INF_SIGN): Likewise.
1541 (test_exceptions): Handle underflow exceptions.
1542 (acos_test): Update for underflow exception expectations.
1543 (cexp_test): Likewise.
1544 (clog_test): Likewise.
1545 (clog10_test): Likewise.
1546 (csqrt_test): Likewise.
1547 (ctan_test): Likewise.
1548 (ctanh_test): Likewise.
1549 (exp_test): Likewise.
1550 (exp10_test): Likewise.
1551 (exp2_test): Likewise.
1552 (expm1_test): Likewise.
1553 (fma_test): Likewise.
1554 (j0_test): Likewise.
1555 (jn_test): Likewise.
1556 (nexttoward_test): Likewise.
1557 (pow_test): Likewise.
1558 (scalbn_test): Likewise.
1559 (scalbln_test): Likewise.
1560 (tan_test): Likewise.
1561 (y1_test): Likewise.
1562 * sysdeps/i386/fpu/libm-test-ulps: Update.
1563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1565 2012-05-23 David S. Miller <davem@davemloft.net>
1567 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1568 (__libc_sigaction): Remove unused local variables.
1570 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1572 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1574 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1576 mktime: avoid signed integer overflow
1577 * time/mktime.c (__mktime_internal): Do not mishandle the case
1578 where diff == INT_MIN.
1580 mktime: simplify computation of average
1581 * time/mktime.c (ranged_convert): Use new time_t_avg function
1582 instead of rolling our own (probably-slower) code.
1584 mktime: do not assume signed right shift propagates sign bit
1585 * time/mktime.c (isdst_differ): New static function.
1586 (__mktime_internal): No need to normalize tm_isdst now.
1587 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1590 mktime: merge another wrapv change from gnulib
1591 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1592 from some compilers.
1594 mktime: remove incorrect attempt at unusual arithmetics
1595 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1596 The code didn't really work on such machines anyway.
1597 (TYPE_MINIMUM): Assume two's complement.
1598 (twos_complement_arithmetic): Verify that long_int and time_t
1599 are two's complement (or unsigned, in the latter case).
1601 mktime: check signed shifts on long_int and time_t, too
1602 * time/mktime.c (SHR): Check that shifts work as desired
1603 on the types long_int and time_t too, as SHR is used on
1606 mktime: do not assume 'long' is wide enough
1607 * time/mktime.c (verify): Move decl up.
1608 (long_int): New type.
1609 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1610 to remove assumption in the code that 'long' is wide enough to
1611 store year values. This assumption is not true on x32 and on
1612 some non-glibc platforms.
1614 mktime: merge wrapv change from gnulib
1615 * time/mktime.c (WRAPV): New macro.
1616 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1617 (guess_time_tm, __mktime_internal): Do not assume that signed
1618 integer overflow wraps around; modern compilers generate code
1619 where this assumption is no longer valid.
1621 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1623 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1624 Replace "jmp L(pseudo_end)" with "ret".
1625 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1628 2012-05-23 Andreas Jaeger <aj@suse.de>
1630 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1631 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1633 2012-05-23 Andreas Jaeger <aj@suse.de>
1634 Maximilian Attems <max@stro.at>
1636 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1639 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1641 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1642 code so that pseudo_end is just ret and the stack pointer is
1643 correct also for static library in error case.
1645 2012-05-23 Joseph Myers <joseph@codesourcery.com>
1647 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1648 move to syscalls.list.
1649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1654 * manual/install.texi (Running make install): Do not mention Linux
1655 kernel version for which pt_chown is not needed.
1656 (Linux): Do not mention problems with nscd with 2.0 kernels.
1657 * INSTALL: Regenerated.
1659 2012-05-23 Andreas Jaeger <aj@suse.de>
1661 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1662 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1664 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1665 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1666 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1667 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1668 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1669 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1670 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1671 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1672 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1673 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1674 * sysdeps/unix/sysv/linux/bits/in.h
1675 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1677 2012-05-22 Roland McGrath <roland@hack.frob.com>
1679 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1680 (PREPARE_VERSION): Just use assert instead, it will be elided
1681 under [NDEBUG] anyway.
1683 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1685 * sysdeps/unix/sysv/linux/Makefile: Include
1686 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1687 (sysdep_routines): Remove sysctl.
1688 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1689 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1690 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1691 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1692 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1694 2012-05-22 Andreas Jaeger <aj@suse.de>
1696 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1697 that pseudo_end is just ret and the stack pointer is correct also
1698 for static library in error case.
1700 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1703 * nss/nsswitch.c (defconfig_entries): New variable.
1704 (__nss_database_lookup): Don't leak defconfig entries.
1705 (nss_parse_service_list): Don't leak on error paths.
1706 (free_database_entries): New function.
1707 (free_defconfig): New function.
1708 (free_mem): Move common code to free_database_entries.
1710 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1712 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1714 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1716 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1717 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1718 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1720 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1721 (INTERNAL_SYSCALL_TYPES): Likewise.
1722 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1723 (LOAD_REGS_TYPES_[1-6]): Likewise.
1724 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1725 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1727 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1729 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1730 copysignl for GLIBC_2_0.
1731 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1732 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1733 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1734 logbl for GLIBC_2_0.
1735 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1736 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1738 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1740 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1741 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1743 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1746 * time/mktime.c: Update copyright years.
1748 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1750 mktime: merge comment-quoting-style change from gnulib
1751 * time/mktime.c: Quote 'like this' in comments.
1752 The GNU coding standards suggest that we no longer quote `like this',
1753 as "`" and "'" are typically rendered asymmetrically nowadays.
1754 The typical gnulib style is to quote 'like this' when quoting
1755 code, and "like this" when quoting English.
1757 * time/mktime.c (compile-command): Add "-I.".
1759 mktime: merge mktime-internal.h change from gnulib
1760 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1762 mktime: merge time_r change from gnulib
1763 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1765 mktime: merge DEBUG change from gnulib
1766 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1767 case system <time.h> has a #define.
1769 mktime: merge <sys/types.h> change from gnulib
1770 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1771 since <time.t> is now guaranteed to define time_t.
1773 mktime: merge HAVE_CONFIG_H change from gnulib
1774 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1776 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1778 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1781 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1783 (struct rusage): Use anonymous union to pad each field to
1786 2012-05-21 David S. Miller <davem@davemloft.net>
1788 * Makefules (o-iterator): Remove .s cases.
1789 (compile-command.s): Delete.
1790 (COMPILE.s): Delete.
1791 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1793 2012-05-21 Joseph Myers <joseph@codesourcery.com>
1795 * configure.in (libc_cv_predef_stack_protector): Only consider
1796 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1797 * configure: Regenerated.
1799 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1801 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1802 New macro. Use R*LP on int and pointer.
1803 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1804 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1805 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1806 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1808 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1809 [__WORDSIZE_TIME64_COMPAT32] instead of
1810 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1811 (struct utmp): Likewise.
1812 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1813 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1815 (__WORDSIZE_TIME64_COMPAT32): This.
1816 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1817 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1818 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1819 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1820 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1821 (__WORDSIZE_TIME64_COMPAT32): New macro.
1823 2012-05-21 Andreas Jaeger <aj@suse.de>
1825 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1826 only if [SHARED]. Add prototype for __wcschr_ia32.
1828 2012-05-21 Roland McGrath <roland@hack.frob.com>
1830 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1831 of %rbp unmolested in the jmp_buf while mangling the low bits.
1832 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1833 unmolested high bits of %rbp while demangling the low bits.
1834 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1836 2012-05-21 Andreas Jaeger <aj@suse.de>
1838 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1839 * sunrpc/svc_simple.c: Use it for registerrpc.
1840 * sunrpc/xcrypt.c: Use it for passwd2des.
1842 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1844 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1846 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1847 Don't define if [__SYSCALL_WORDSIZE != 32].
1848 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1851 2012-05-21 Bruno Haible <bruno@clisp.org>
1852 Andreas Jaeger <aj@suse.de>
1854 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1855 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1856 inptr and inend for must_buffer_ch.
1857 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1858 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1859 * stdio-common/Makefile (tests): Remove bug15.
1860 (bug15-ENV): Remove macro.
1861 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1864 2012-05-19 Andreas Jaeger <aj@suse.de>
1865 Roland McGrath <roland@hack.frob.com>
1867 * manual/contrib.texi: Completely rewritten. It contains now an
1868 alphabetical list of contributors and their contributions.
1870 2012-05-21 Richard Henderson <rth@twiddle.net>
1872 * misc/getauxval.c (__getauxval): Use unsigned long int.
1873 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1874 (getauxval): Use unsigned long int.
1876 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1878 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1880 2012-05-21 Roland McGrath <roland@hack.frob.com>
1882 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1883 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1884 __alignof__ (long double).
1886 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1890 2012-05-20 Richard Henderson <rth@twiddle.net>
1892 * misc/getauxval.c: New file.
1893 * misc/sys/auxv.h: New file.
1894 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1895 (routines): Add getauxval.
1896 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1897 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1898 * elf/dl-sysdep.c (_dl_auxv): Remove.
1899 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1900 * elf/dl-support.c (_dl_auxv): New variable.
1901 (_dl_aux_init): Initialize it.
1902 * manual/startup.texi (Auxiliary Vector): New node.
1903 * sysdeps/generic/bits/hwcap.h: New file.
1904 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1905 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1906 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1907 * sysdeps/sparc/sysdep.h: ... here. Include it.
1908 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1909 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1915 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1921 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1925 2012-05-19 David S. Miller <davem@davemloft.net>
1927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1929 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1932 * math/s_ccosh.c: Include <float.h>
1933 (__ccosh): Avoid internal overflow calculating sinh and cosh
1934 values before multiplying by sin and cos values.
1935 * math/s_ccoshf.c: Likewise.
1936 * math/s_ccoshl.c: Likewise.
1937 * math/s_csin.c: Likewise.
1938 * math/s_csinf.c: Likewise.
1939 * math/s_csinl.c: Likewise.
1940 * math/s_csinh.c: Likewise.
1941 * math/s_csinhf.c: Likewise.
1942 * math/s_csinhl.c: Likewise.
1943 * math/libm-test.inc (ccos_test): Add more tests.
1944 (ccosh_test): Likewise.
1945 (csin_test): Likewise.
1946 (csinh_test): Likewise.
1947 * sysdeps/i386/fpu/libm-test-ulps: Update.
1948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1950 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1952 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1953 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1955 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1957 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1959 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1960 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1961 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1962 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1963 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1964 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1965 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1966 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1967 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1968 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1969 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1970 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1971 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1972 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1973 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1974 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1975 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1976 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1977 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1978 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1979 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1980 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1981 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1982 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1983 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1984 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1985 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1986 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1987 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1988 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1989 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1991 2012-05-18 Andreas Jaeger <aj@suse.de>
1993 * csu/.gitignore: Delete.
1995 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1997 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1998 (timex): Use __syscall_slong_t.
2000 2012-05-18 Andreas Jaeger <aj@suse.de>
2001 Carlos O'Donell <carlos_odonell@mentor.com>
2003 * manual/install.texi (Configuring and compiling): Update
2004 description about files modified in the source directory.
2005 * INSTALL: Regenerated.
2007 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2009 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2010 value. Use "or" to set return value to -1.
2011 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2012 negate return value.
2014 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2016 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2017 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2018 failure if the compiler has Graphite support disabled.
2019 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2021 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2022 CFLAGS-memmove.c): Likewise.
2023 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2026 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2028 * sysdeps/x86_64/x32/_itoa.h: New file.
2030 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2031 getdents system call only if kernel and user dirents have the
2032 same d_ino and d_off.
2034 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2035 LLONG_MAX != LONG_MAX.
2036 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2037 (_fitoa_word): Likewise.
2039 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2041 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2042 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2043 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2045 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2046 include <bits/wordsize.h>. Check __x86_64__ instead of
2048 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2049 if __x86_64__ is defined. Use anonymous union on fpstate.
2051 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2054 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2056 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2057 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2058 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2059 Refer to _rtld_local_ro instead of _rtld_global_ro.
2060 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2062 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2064 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2066 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2067 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2068 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2070 * sysdeps/powerpc/powerpc32/dl-machine.c
2071 (__elf_machine_runtime_setup) [PROF]: Don't reference
2074 2012-05-18 Andreas Jaeger <aj@suse.de>
2076 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2077 function only available for GCCs before 3.4 since GCC 3.4
2078 introduced a builtin.
2080 (llrintf): Likewise.
2088 (nearbyint): Likewise.
2089 (nearbyintf): Likewise.
2095 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2097 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2098 on both fields and cast pointer to __syscall_ulong_t.
2100 * bits/types.h (__fsword_t): New type.
2101 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2102 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2103 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2104 (__FSWORD_T_TYPE): Likewise.
2105 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2106 (__FSWORD_T_TYPE): Likewise.
2107 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2108 (__FSWORD_T_TYPE): Likewise.
2109 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2110 (__FSWORD_T_TYPE): Likewise.
2111 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2112 __SWORD_TYPE with __fsword_t.
2113 (statfs64): Likewise.
2115 2012-05-17 David S. Miller <davem@davemloft.net>
2117 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2119 2012-05-17 Andreas Jaeger <aj@suse.de>
2121 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2124 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2126 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2128 2012-05-17 Andreas Jaeger <aj@suse.de>
2130 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2133 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2135 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2137 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2139 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2140 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2142 2012-05-17 Andreas Jaeger <aj@suse.de>
2143 Carlos O'Donell <carlos_odonell@mentor.com>
2146 * sysdeps/x86_64/multiarch/init-arch.h
2147 (bit_YMM_Usable): Rename to...
2148 (bit_AVX_Usable): ... this.
2149 (bit_FMA4_Usable): New macro.
2150 (bit_XMM_state): New macro.
2151 (bit_YMM_state): New macro.
2152 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2153 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2154 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2155 (CPUID_OSXSAVE): New macro.
2156 (CPUID_AVX): New macro.
2157 (CPUID_FMA4): New macro.
2158 (index_YMM_Usable): Rename to...
2159 (index_AVX_Usable): ... this.
2160 (HAS_AVX): Use HAS_ARCH_FEATURE.
2161 (HAS_FMA4): Likewise.
2162 (HAS_YMM_USABLE): Remove.
2163 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2164 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2166 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2167 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2168 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2169 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2170 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2172 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2174 * math/libm-test.c: Support platforms without multiple rounding modes.
2175 * math/bug-nextafter.c: Support platforms without FP exceptions.
2176 * math/bug-nexttoward.c: Likewise.
2177 * math/test-fenv.c: Likewise.
2178 * math/test-misc.c: Likewise.
2179 * stdlib/bug-getcontext.c: Likewise.
2181 2012-05-17 Andreas Jaeger <aj@suse.de>
2183 * manual/examples/search.c (critter_cmp): Change signature to
2185 * manual/string.texi (Collation Functions): Likewise.
2187 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2189 * bits/types.h: Fold copyright years.
2190 * bits/typesizes.h: Likewise.
2191 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2192 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2193 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2194 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2195 * time/time.h: Likewise.
2197 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2200 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2201 in instead of returning them. Return void.
2202 (__libc_mallinfo): Accumulate over all arenas.
2203 (__malloc_stats): Adjust for change in int_mallinfo interface.
2205 2012-05-16 Roland McGrath <roland@hack.frob.com>
2208 * configure.in (NM): Add AC_CHECK_TOOL for it.
2209 (libc_extra_cflags): New substituted variable.
2210 Check for -fstack-protector being used implicitly.
2211 * configure: Regenerated.
2212 * config.make.in (config-extra-cflags): New variable,
2213 gets @libc_extra_cflags@.
2214 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2217 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2218 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2219 * configure: Regenerated.
2220 * config.make.in (CPPUNDEFS): New substituted variable.
2221 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2222 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2223 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2225 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2227 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2228 (mq_attr): Use __syscall_slong_t.
2230 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2232 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2233 Check __x86_64__ instead of __WORDSIZE.
2234 (_STAT_VER_LINUX): Likewise.
2235 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2236 __syscall_ulong_t and __syscall_slong_t.
2239 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2241 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2243 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2245 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2247 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2249 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2252 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2253 include <bits/wordsize.h>. Check __x86_64__ instead of
2255 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2257 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2259 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2260 include <bits/wordsize.h>. Check __x86_64__ instead of
2262 (user_regs_struct): Use "__extension__ unsigned long long"
2263 instead of "unsigned long" if __x86_64__ is defined.
2264 (user): Likewise. Pad after pointer field if __ILP32__ is
2267 2012-05-16 Joseph Myers <joseph@codesourcery.com>
2269 * configure.in (makeinfo): Require version 4.5 or later. Allow
2271 * configure: Regenerated.
2272 * manual/install.texi (texinfo): Increase version requirement to
2274 * INSTALL: Regenerated.
2276 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2278 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2280 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2282 * sysdeps/x86_64/x32/ffs.c: New file.
2284 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2286 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2287 defined. Use __syscall_ulong_t.
2288 (shminfo): Use __syscall_ulong_t.
2289 (shm_info): Likewise.
2291 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2294 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2296 (msgqnum_t): Use __syscall_ulong_t.
2297 (msglen_t): Likewise.
2298 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2301 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2302 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2304 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2306 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2307 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2309 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2312 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2313 include <bits/wordsize.h>. Check __x86_64__ instead of
2316 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2317 "unsigned long long int" if __x86_64__ is defined.
2318 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2320 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2321 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2322 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2324 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2326 (GET_PC): Cast to uintptr_t first.
2327 (GET_FRAME): Likewise.
2328 (GET_STACK): Likewise.
2330 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2331 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2332 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2333 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2334 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2335 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2336 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2337 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2338 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2339 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2340 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2341 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2342 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2343 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2344 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2345 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2346 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2347 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2348 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2349 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2350 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2351 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2352 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2353 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2354 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2355 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2356 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2357 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2358 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2360 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2362 * Makerules (+depfiles): Also collect depfiles from .oS in
2364 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2365 .oS, $(libnldbl-routines)).
2367 * Makerules (native-compile-mkdep-flags): Define.
2368 * sunrpc/Makefile (extra-objs): Add $(addprefix
2369 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2370 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2371 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2372 calling $(make-target-directory).
2374 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2376 * bits/types.h (__snseconds_t): Removed.
2377 * time/time.h (struct timespec): Replace __snseconds_t with
2379 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2380 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2382 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2383 (__SNSECONDS_T_TYPE): Likewise.
2384 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2385 (__SNSECONDS_T_TYPE): Likewise.
2386 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2387 (__SNSECONDS_T_TYPE): Likewise.
2389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2391 * sysdeps/mach/hurd/bits/typesizes.h
2392 (__SYSCALL_SLONG_TYPE): New macro.
2393 (__SYSCALL_ULONG_TYPE): Likewise.
2395 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2397 * bits/types.h (__syscall_slong_t): New type.
2398 (__syscall_ulong_t): Likewise.
2400 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2401 (__SYSCALL_ULONG_TYPE): Likewise.
2402 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2403 (__SYSCALL_SLONG_TYPE): Likewise.
2404 (__SYSCALL_ULONG_TYPE): Likewise.
2405 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2406 (__SYSCALL_SLONG_TYPE): Likewise.
2407 (__SYSCALL_ULONG_TYPE): Likewise.
2408 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2409 (__SYSCALL_SLONG_TYPE): Likewise.
2410 (__SYSCALL_ULONG_TYPE): Likewise.
2412 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2414 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2415 Add sigaltstack-offsets.sym.
2416 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2417 <sigaltstack-offsets.h>.
2418 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2419 longjmp_msg pointer.
2420 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2421 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2423 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2425 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2427 * elf/stackguard-macros.h: Remove file.
2428 * sysdeps/generic/stackguard-macros.h: New file.
2429 * sysdeps/i386/stackguard-macros.h: Likewise.
2430 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2431 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2432 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2433 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2434 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2435 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2436 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2437 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2438 <elf/stackguard-macros.h>.
2441 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2442 __aligned__ in attribute.
2443 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2444 (gregset_t): Likewise.
2446 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2448 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2449 * sysdeps/x86_64/64/Implies-after: Here. New file.
2450 * sysdeps/x86_64/x32/Implies-after: New file.
2452 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2454 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2455 and access return value for _dl_profile_fixup. Use R10_LP to
2458 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2460 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2462 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2464 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2465 * sysdeps/x86_64/x32/sysdep.h: New file.
2467 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2469 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2470 * sysdeps/x86_64/setjmp.S: Likewise.
2472 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2474 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2475 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2476 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2477 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2478 remove unused global constant.
2480 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2482 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2483 include of <not-cancel.h>.
2485 2012-05-15 Roland McGrath <roland@hack.frob.com>
2487 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2489 2012-05-15 Jeff Law <law@redhat.com>
2490 Andreas Jaeger <aj@suse.de>
2493 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2495 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2496 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2497 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2498 code changing __hst_map_handle.map.
2500 2012-05-15 Roland McGrath <roland@hack.frob.com>
2502 * configure.in (sysnames): Look for Implies-before and Implies-after
2504 * configure: Regenerated.
2506 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2508 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2509 8-byte data alignment with LP_SIZE alignment.
2511 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2513 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2516 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2518 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2520 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2522 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2523 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2524 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2526 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2528 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2530 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2531 (stackinfo_sub_sp): Likewise.
2533 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2535 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2538 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2540 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2543 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2545 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2548 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2550 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2552 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2554 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2555 into R11_LP and load __x86_64_shared_cache_size_half into
2558 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2560 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2563 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2565 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2567 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2569 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2571 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2572 powerpc32/power7/fpu/s_logb.c via #include.
2573 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2574 powerpc32/power7/fpu/s_logbf.c via #include.
2575 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2576 powerpc32/power7/fpu/s_logbl.c via #include.
2578 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2580 * README.libm: Remove file.
2582 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2584 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2585 count for x32. Use R*_LP and omit operand-size suffix.
2587 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2589 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2590 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2591 * sysdeps/x86_64/x32/shlib-versions: New file.
2593 2012-05-14 Roland McGrath <roland@hack.frob.com>
2595 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2596 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2597 Use _dl_fatal_printf instead.
2599 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2601 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2602 set if not set by the user. Do not allow for being unset.
2603 * sysdeps/unix/sysv/linux/configure: Regenerated.
2605 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2607 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2608 the `q' suffix from lea and replace .quad with ASM_ADDR.
2610 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2612 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2613 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2615 (PTR_DEMANGLE): Likewise.
2617 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2619 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2621 (ASM_ADDR): Likewise.
2639 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2641 * sysdeps/x86_64/x32/dl-machine.h: New file.
2643 2012-05-14 Andreas Jaeger <aj@suse.de>
2645 * manual/Makefile (subdir): Remove export of subdir.
2646 (all): Remove target.
2647 (.PHONY): Remove all from list.
2648 (mkinstalldirs): Remove.
2649 (.PHONY): Remove installdirs from list.
2650 ($(inst_infodir)/libc.info): Use make-target-directory.
2651 (installdirs): Remove.
2653 (glibc-targets): Remove.
2656 ($(objpfx)stubs ../po/manual.pot): Remove.
2657 ($(objpfx)stamp%): Remove.
2658 (make-target-directory): Remove.
2659 (subdir_install): Remove.
2667 * manual/.gitignore: Remove, it's not needed anymore.
2668 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2670 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2672 (texis): Renamed to $(objpfx)texis.
2673 (texis-path): New, contains path to generated files.
2674 (chapters.%): Use texis-path for complete path, add extra argument
2676 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2677 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2678 (summary,texi, stamp-summary): Use complete path of
2679 files. Generate files in build dir.
2680 (dir-add.texi): Build in build dir.
2681 (libm-err.texi,stamp-libm-err): Likewise.
2682 (version.texi, stamp-version): Likewise.
2683 (.%c.texi): Likewise.
2684 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2685 (mostlyclean): Remove target.
2686 (realclean): Remove target.
2687 (generated): Add new variable with contents from mostlyclean and
2688 realclean, remove entries duplicated in common-mostlyclean, add
2689 stamp-libm-err and stamp-version.
2690 (generated-dirs): Add libc directory.
2691 ($(inst_infodir)/libc.info): Install files from build dir.
2693 * manual/install.texi (Configuring and compiling): Adjust since
2694 the info files are not part of the tar ball anymore.
2696 2012-05-14 Andreas Jaeger <aj@suse.de>
2698 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2701 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2704 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2705 to 2.2.0 where earlier.
2706 * sysdeps/unix/sysv/linux/configure: Regenerated.
2707 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2708 Remove conditional code.
2709 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2710 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2711 Remove conditional code.
2712 [!__NR_lchown]: Likewise.
2713 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2714 [__NR_lchown]: Likewise.
2715 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2716 comment referencing __ASSUME_LCHOWN_SYSCALL.
2717 * sysdeps/unix/sysv/linux/i386/sigaction.c
2718 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2719 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2720 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2721 Remove conditional code.
2722 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2723 (__protocol_available): Remove #if 0 code.
2724 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2726 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2727 * sysdeps/unix/sysv/linux/kernel-features.h
2728 (__ASSUME_GETCWD_SYSCALL): Don't define.
2729 (__ASSUME_REALTIME_SIGNALS): Likewise.
2730 (__ASSUME_PREAD_SYSCALL): Likewise.
2731 (__ASSUME_PWRITE_SYSCALL): Likewise.
2732 (__ASSUME_POLL_SYSCALL): Likewise.
2733 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2734 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2736 (__ASSUME_SIOCGIFNAME): Don't define.
2737 (__ASSUME_MSG_NOSIGNAL): Likewise.
2738 (__ASSUME_SENDFILE): Define unconditionally.
2739 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2740 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2742 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2743 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2744 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2745 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2746 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2747 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2748 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2750 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2751 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2753 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2754 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2756 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2757 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2759 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2760 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2762 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2763 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2765 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2766 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2768 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2769 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2771 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2772 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2773 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2774 Remove conditional code.
2775 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2776 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2777 Remove conditional code.
2778 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2779 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2780 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2781 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2782 Remove conditional code.
2783 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2784 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2785 Remove conditional code.
2786 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2787 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2788 Remove conditional code.
2789 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2790 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2791 Remove conditional code.
2792 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2793 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2794 Remove conditional code.
2795 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2796 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2797 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2798 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2799 * sysdeps/unix/sysv/linux/sigaction.c
2800 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2801 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2802 * sysdeps/unix/sysv/linux/sigpending.c
2803 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2804 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2805 * sysdeps/unix/sysv/linux/sigprocmask.c
2806 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2807 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2808 * sysdeps/unix/sysv/linux/sigsuspend.c
2809 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2810 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2811 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2812 (__libc_missing_rt_sigs): Remove.
2813 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2814 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2815 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2816 Remove conditional code.
2817 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2818 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2820 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2821 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2822 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2823 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2825 2012-05-14 Andreas Jaeger <aj@suse.de>
2827 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2828 it's not used in glibc.
2829 (__coshm1): Likewise.
2830 (__acosh1p): Likewise.
2833 * manual/string.texi (Copying and Concatenation): Add missing
2834 variable in concat example.
2835 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2837 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2840 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2841 __builtin_clzl with __builtin_clzll.
2843 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2846 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2849 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2851 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2852 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2853 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2854 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2856 2012-05-14 Mike Frysinger <vapier@gentoo.org>
2858 * NEWS: Update ia64 info.
2860 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2862 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2865 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2867 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2868 * sysdeps/unix/syscalls.list (dup3): Likewise.
2869 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2870 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2872 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2874 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2875 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2877 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2879 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2881 (TLS_IE): Use mov/add instead of movq/addq to load thread
2883 (TLS_GD_PREFIX): New.
2886 2012-05-11 David S. Miller <davem@davemloft.net>
2888 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2889 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2890 (_FPU_SETCW): Likewise.
2892 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2894 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2897 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2900 * iconvdata/gb18030.c: Update tables.
2901 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2902 characters specially.
2903 (BODY for TO_LOOP): Add encoding of missing ranges.
2905 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2908 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2909 * sysdeps/mach/hurd/dup3.c: Likewise.
2910 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2911 * sysdeps/powerpc/memmove.c:: Likewise.
2913 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2915 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2916 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2918 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2920 * elf/elf.h (R_X86_64_RELATIVE64): New.
2921 (R_X86_64_NUM): Updated.
2922 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2923 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2924 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2925 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2926 tst-quad1pie tst-quad2pie
2927 (modules-names): Add tst-quadmod1 tst-quadmod2.
2928 ($(objpfx)tst-quad1): New dependency.
2929 ($(objpfx)tst-quad2): Likewise.
2930 ($(objpfx)tst-quad1pie): Likewise.
2931 ($(objpfx)tst-quad2pie): Likewise.
2932 * sysdeps/x86_64/tst-quad1.c: New file.
2933 * sysdeps/x86_64/tst-quad1pie.c: New file.
2934 * sysdeps/x86_64/tst-quad2.c: Likewise.
2935 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2936 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2937 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2938 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2939 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2941 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2943 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2944 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2945 * streams/stropts.h (t_scalar_t): Define type.
2947 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2948 (_PATH_PRESERVE): Set to "/var/lib".
2949 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2951 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2954 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2955 if __dir_mkfile succeeded.
2957 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2958 checking for _hurd_dtablesize. Unlock it right after having
2959 finished _hurd_dtable allocation.
2961 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2963 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2964 * sysdeps/mach/hurd/configure: Regenerated.
2965 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2966 special-casing to...
2967 * sysdeps/gnu/configure.in: ... this new file.
2968 * sysdeps/unix/sysv/linux/configure: Regenerated.
2969 * sysdeps/gnu/configure: New generated file.
2971 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2972 for Linux: use nsec instead of usec, as well as:
2973 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2974 members of type struct timespec.
2975 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2977 (struct stat64): Likewise.
2978 (_STATBUF_ST_NSEC): New macro.
2979 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2981 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2982 __strtoul_internal rather than strtoul.
2984 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2986 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2989 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2991 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2992 which preserves existing values.
2993 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2995 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2997 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2998 TIMEOUT values. Return EINVAL for NFDS values either negative or
2999 greater than FD_SETSIZE.
3001 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3003 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3004 allocated, call __vm_protect to finish enabling the existing space, and
3005 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3006 allocate the remainder.
3008 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3010 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3011 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3013 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3015 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3016 sysdeps/mach/hurd/readlink.c.
3018 * posix/tst-sysconf.c (posix_options): Only use
3019 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3020 _POSIX_SYNCHRONIZED_IO when they are defined
3021 * sysdeps/mach/hurd/bits/posix_opt.h:
3022 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3023 (_XOPEN_REALTIME): Undefine macro.
3024 (_XOPEN_REALTIME_THREADS): Undefine macro.
3025 (_XOPEN_SHM): Undefine macro.
3026 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3028 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3030 (_POSIX_ASYNC_IO): Undefine macro.
3031 (_POSIX_PRIORITIZED_IO): Undefine macro.
3032 (_POSIX_SPIN_LOCKS): Define macro to -1.
3034 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3035 SA_NODEFER, SA_RESETHAND.
3036 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3037 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3040 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3042 * elf/Makefile (pldd-modules): Define unconditionally.
3044 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3046 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3048 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3050 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3051 Return ENOENT when name is empty.
3052 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3054 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3056 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3058 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3060 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3062 Fix mlock in all cases except non-readable pages.
3063 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3064 instead of VM_PROT_ALL as parameter to __vm_wire function.
3066 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3067 (__mkdir): When path is `/', just fail with EEXIST.
3068 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3070 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3072 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3073 <sys/uio.h> (for writev).
3074 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3075 and <sys/param.h> (for MIN).
3077 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3079 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3080 REQUESTED_TIME. Properly set the remaining time and return EINTR
3083 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3085 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3086 Depend on against $(link-rpcuserlibs).
3088 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3090 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3091 (__libc_stack_end): Do not use attribute_relro.
3092 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3093 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
3094 to libthread-provided value.
3095 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3098 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3101 * bits/libc-lock.h (__libc_once_get): New macro.
3102 * sysdeps/mach/bits/libc-lock.h: Likewise.
3103 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3104 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3105 instead of using implementation details.
3107 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3108 * libio/freopen.c: Likewise.
3109 * libio/freopen64.c: Likewise.
3110 * misc/syslog.c: Likewise.
3111 * nscd/connections.c: Likewise.
3112 * nscd/netgroupcache.c: Likewise.
3113 * sysdeps/posix/getcwd.c: Likewise.
3115 2012-05-10 Roland McGrath <roland@hack.frob.com>
3117 * math/w_ilogbf.c: Add #include <limits.h>.
3119 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3121 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
3122 path instead of returning without unlocking.
3124 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3125 immediate-write ioctls.
3126 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3128 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3130 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3131 __builtin_frame_address instead of making assumptions about the
3132 location of the return address relative to DATA. Force early load of
3134 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3135 __builtin_frame_address.
3138 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3139 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3140 implement dup3 and do some further code clean-ups.
3141 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3142 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3144 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3146 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3148 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3149 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3150 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3151 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3152 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3155 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3156 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3157 when handler == SIG_ERR, not when handler != SIG_ERR.
3159 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3161 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3162 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3165 accept4 for GNU Hurd.
3166 * include/sys/socket.h (__libc_accept4): New prototype.
3167 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3168 to implement __libc_accept4.
3169 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3171 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3173 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3174 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3175 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3178 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3180 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
3182 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3184 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3185 assertion on O_CLOEXEC flag.
3186 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3187 * hurd/intern-fd.c: Likewise.
3188 * hurd/port2fd.c: Likewise.
3190 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3193 * bits/in.h (IPV6_PKTINFO): Define new macro.
3194 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3196 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3201 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3202 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3203 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3204 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3205 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3206 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3207 * math/libm-test.inc (logb_test) : Additional logb tests.
3209 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3210 Andreas Jaeger <aj@suse.de>
3212 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3213 * configure: Regenerated.
3214 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3215 * config.make.in (link-obsolete-rpc): New substituted variable.
3216 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3217 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3218 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3219 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3220 so that libc.a contains the symbols.
3221 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3222 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3223 * sunrpc/auth_none.c: Likewise.
3224 * sunrpc/auth_unix.c: Likewise.
3225 * sunrpc/authdes_prot.c: Likewise.
3226 * sunrpc/authuxprot.c: Likewise.
3227 * sunrpc/clnt_gen.c: Likewise.
3228 * sunrpc/clnt_perr.c: Likewise.
3229 * sunrpc/clnt_raw.c: Likewise.
3230 * sunrpc/clnt_simp.c: Likewise.
3231 * sunrpc/clnt_tcp.c: Likewise.
3232 * sunrpc/clnt_udp.c: Likewise.
3233 * sunrpc/clnt_unix.c: Likewise.
3234 * sunrpc/des_crypt.c: Likewise.
3235 * sunrpc/des_soft.c: Likewise.
3236 * sunrpc/get_myaddr.c: Likewise.
3237 * sunrpc/key_call.c: Likewise.
3238 * sunrpc/key_prot.c: Likewise.
3239 * sunrpc/netname.c: Likewise.
3240 * sunrpc/pm_getmaps.c: Likewise.
3241 * sunrpc/pm_getport.c: Likewise.
3242 * sunrpc/pmap_clnt.c: Likewise.
3243 * sunrpc/pmap_prot.c: Likewise.
3244 * sunrpc/pmap_prot2.c: Likewise.
3245 * sunrpc/pmap_rmt.c: Likewise.
3246 * sunrpc/publickey.c: Likewise.
3247 * sunrpc/rpc_cmsg.c: Likewise.
3248 * sunrpc/rpc_common.c: Likewise.
3249 * sunrpc/rpc_dtable.c: Likewise.
3250 * sunrpc/rpc_prot.c: Likewise.
3251 * sunrpc/rpc_thread.c: Likewise.
3252 * sunrpc/rtime.c: Likewise.
3253 * sunrpc/svc.c: Likewise.
3254 * sunrpc/svc_auth.c: Likewise.
3255 * sunrpc/svc_raw.c: Likewise.
3256 * sunrpc/svc_run.c: Likewise.
3257 * sunrpc/svc_tcp.c: Likewise.
3258 * sunrpc/svc_udp.c: Likewise.
3259 * sunrpc/svc_unix.c: Likewise.
3260 * sunrpc/svcauth_des.c: Likewise.
3261 * sunrpc/xcrypt.c: Likewise.
3262 * sunrpc/xdr.c: Likewise.
3263 * sunrpc/xdr_array.c: Likewise.
3264 * sunrpc/xdr_float.c: Likewise.
3265 * sunrpc/xdr_intXX_t.c: Likewise.
3266 * sunrpc/xdr_mem.c: Likewise.
3267 * sunrpc/xdr_rec.c: Likewise.
3268 * sunrpc/xdr_ref.c: Likewise.
3269 * sunrpc/xdr_sizeof.c: Likewise.
3270 * sunrpc/xdr_stdio.c: Likewise.
3272 2012-05-10 Roland McGrath <roland@hack.frob.com>
3274 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3275 change. Update copyright years.
3277 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3279 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3281 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3282 Joseph Myers <joseph@codesourcery.com>
3283 Paul Pluzhnikov <ppluzhnikov@google.com>
3286 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3288 [cross-compiling] (extra-libs): Likewise.
3289 [cross-compiling] (extra-libs-others): Likewise.
3290 [cross-compiling] (librpcsvc-routines): Likewise.
3291 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3292 [cross-compiling] (omit-deps): Likewise.
3293 (sunrpc-CPPFLAGS): New variable.
3294 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3295 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3296 (cross-rpcgen-objs): New variable.
3297 (extra-objs): Append $(cross-rpcgen-objs).
3298 ($(cross-rpcgen-objs)): New rule.
3299 ($(objpfx)cross-rpcgen): Likewise.
3300 (rpcgen-cmd): Define to use $(built-program-file). Expand
3302 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3303 ($(objpfx)x%.stmp): Likewise.
3304 * sunrpc/proto.h [IS_IN_build] (_): Define.
3305 [IS_IN_build] (_libc_intl_domainname): Likewise.
3307 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3309 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3310 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3311 and R_X86_64_TPOFF64.
3313 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3315 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3316 sysdeps/unix/sysv/syscalls.list.
3319 * sysdeps/unix/sysv/syscalls.list: Remove file.
3321 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3324 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3325 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3326 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3327 (__LC_IDENTIFICATION): Make these macros useful in #if
3328 expressions, as required by C99.
3330 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3332 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3333 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3336 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3338 * stdlib/longlong.h: Updated from GCC.
3340 2012-05-09 Andreas Jaeger <aj@suse.de>
3342 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3343 default is first entry.
3344 (run_mode): Set type.
3345 (main): Remove informal message about syslog.
3346 (options): Fix typo.
3349 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
3352 (llrintf): Likewise.
3356 (nearbyint): Likewise.
3357 (nearbyintf): Likewise.
3359 2012-05-09 Andreas Jaeger <aj@suse.de>
3360 Pedro Alves <palves@redhat.com>
3362 * nscd/nscd.c (run_mode): Use enum.
3363 (main): Cleanup coding style issue.
3365 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
3366 Andreas Jaeger <aj@suse.de>
3368 * nscd/nscd.c (go_background): Replaced with...
3369 (run_mode): ... this.
3370 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
3371 (options): Add -F --foreground.
3372 (main): Implement it.
3373 (parse_opt): Parse it.
3375 2012-05-09 Andreas Jaeger <aj@suse.de>
3378 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3379 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3380 -Wconversion warning.
3381 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3384 2012-05-09 Joseph Myers <joseph@codesourcery.com>
3386 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3388 (LC_ALL): Use macro-int-constant.
3389 (LC_COLLATE): Likewise.
3390 (LC_CTYPE): Likewise.
3391 (LC_MESSAGES): Likewise.
3392 (LC_MONETARY): Likewise.
3393 (LC_NUMERIC): Likewise.
3394 (LC_TIME): Likewise.
3395 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3396 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3397 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3398 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3400 [C99-based standards] (float_t): Expect type.
3401 [C99-based standards] (double_t): Expect type.
3402 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3404 [C99-based standards] (HUGE_VALL): Likewise.
3405 [C99-based standards] (INFINITY): Likewise.
3406 [C99-based standards] (NAN): Likewise.
3407 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3408 [C99-based standards] (FP_NAN): Likewise.
3409 [C99-based standards] (FP_NORMAL): Likewise.
3410 [C99-based standards] (FP_SUBNORMAL): Likewise.
3411 [C99-based standards] (FP_ZERO): Likewise.
3412 [C99-based standards] (FP_FAST_FMA): Use
3413 optional-macro-int-constant. Specify type. Require == 1.
3414 [C99-based standards] (FP_FAST_FMAF): Likewise.
3415 [C99-based standards] (FP_FAST_FMAL): Likewise.
3416 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3417 [C99-based standards] (FP_ILOGBNAN): Likewise.
3418 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3420 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3421 [C99-based standards] (math_errhandling): Specify type.
3422 [ISO99 || ISO11] (signgam): Do not allow.
3423 [non-C99-based standards] (copysignf): Do not allow.
3424 [non-C99-based standards] (exp2f): Likewise.
3425 [non-C99-based standards] (log2f): Likewise.
3426 [non-C99-based standards] (modff): Allow.
3427 [non-C99-based standards] (erff): Do not allow.
3428 [non-C99-based standards] (erfcf): Likewise.
3429 [non-C99-based standards] (gammaf): Likewise.
3430 [non-C99-based standards] (hypotf): Likewise.
3431 [non-C99-based standards] (j0f): Likewise.
3432 [non-C99-based standards] (j1f): Likewise.
3433 [non-C99-based standards] (jnf): Likewise.
3434 [non-C99-based standards] (lgammaf): Likewise.
3435 [non-C99-based standards] (tgammaf): Likewise.
3436 [non-C99-based standards] (y0f): Likewise.
3437 [non-C99-based standards] (y1f): Likewise.
3438 [non-C99-based standards] (ynf): Likewise.
3439 [non-C99-based standards] (isnanf): Likewise.
3440 [non-C99-based standards] (acoshf): Likewise.
3441 [non-C99-based standards] (asinhf): Likewise.
3442 [non-C99-based standards] (atanhf): Likewise.
3443 [non-C99-based standards] (cbrtf): Likewise.
3444 [non-C99-based standards] (expm1f): Likewise.
3445 [non-C99-based standards] (ilogbf): Likewise.
3446 [non-C99-based standards] (log1pf): Likewise.
3447 [non-C99-based standards] (logbf): Likewise.
3448 [non-C99-based standards] (nextafterf): Likewise.
3449 [non-C99-based standards] (remainderf): Likewise.
3450 [non-C99-based standards] (rintf): Likewise.
3451 [non-C99-based standards] (scalbf): Likewise.
3452 [non-C99-based standards] (copysignl): Likewise.
3453 [non-C99-based standards] (exp2l): Likewise.
3454 [non-C99-based standards] (log2l): Likewise.
3455 [non-C99-based standards] (modfl): Allow.
3456 [non-C99-based standards] (erfl): Do not allow.
3457 [non-C99-based standards] (erfcl): Likewise.
3458 [non-C99-based standards] (gammal): Likewise.
3459 [non-C99-based standards] (hypotl): Likewise.
3460 [non-C99-based standards] (j0l): Likewise.
3461 [non-C99-based standards] (j1l): Likewise.
3462 [non-C99-based standards] (jnl): Likewise.
3463 [non-C99-based standards] (lgammal): Likewise.
3464 [non-C99-based standards] (tgammal): Likewise.
3465 [non-C99-based standards] (y0l): Likewise.
3466 [non-C99-based standards] (y1l): Likewise.
3467 [non-C99-based standards] (ynl): Likewise.
3468 [non-C99-based standards] (isnanl): Likewise.
3469 [non-C99-based standards] (acoshl): Likewise.
3470 [non-C99-based standards] (asinhl): Likewise.
3471 [non-C99-based standards] (atanhl): Likewise.
3472 [non-C99-based standards] (cbrtl): Likewise.
3473 [non-C99-based standards] (expm1l): Likewise.
3474 [non-C99-based standards] (ilogbl): Likewise.
3475 [non-C99-based standards] (log1pl): Likewise.
3476 [non-C99-based standards] (logbl): Likewise.
3477 [non-C99-based standards] (nextafterl): Likewise.
3478 [non-C99-based standards] (remainderl): Likewise.
3479 [non-C99-based standards] (rintl): Likewise.
3480 [non-C99-based standards] (scalbl): Likewise.
3481 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3482 [non-C99-based standards] (FP_*): Do not allow.
3483 [C99-based standards] (FP_*): Change to
3484 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3485 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3487 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3488 (SIG_ERR): Likewise.
3489 [X/Open-based standards] (SIG_HOLD): Likewise.
3490 (SIG_IGN): Likewise.
3491 (SIGABRT): Use macro-int-constant. Specify type. Require
3496 (SIGSEGV): Likewise.
3498 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3499 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3500 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3501 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3502 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3503 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3504 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3505 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3506 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3507 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3508 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3509 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3510 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3511 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3512 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3513 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3514 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3515 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3516 [X/Open-based standards] (SIGTRAP): Likewise.
3517 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3518 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3519 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3520 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3521 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3524 2012-05-08 Ian Wienand <ianw@vmware.com>
3527 * time/tzset.c (__tzset_parse_tz): Update default rules for
3528 daylight time changes in the Energy Policy Act of 2005.
3530 2012-05-09 Andreas Jaeger <aj@suse.de>
3533 * elf/ldconfig.c (parse_conf): Change string to make clear that
3534 ldconfig only issued a warning if ld.so.conf does not exist.
3536 2012-05-08 David S. Miller <davem@davemloft.net>
3538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3539 movxtod instead of popping the value on the stack.
3541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3543 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3545 * config.h.in: Add HAVE_ARM_PCS_VFP.
3547 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
3550 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3551 checking but the checks are disabled for any reason.
3553 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3555 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3556 and ELF64_R_TYPE with ELFW(R_TYPE).
3558 2012-05-08 Joseph Myers <joseph@codesourcery.com>
3560 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3563 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3564 (settimeofday): Likewise.
3566 2012-05-08 Mike Frysinger <vapier@gentoo.org>
3568 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3569 a struct th_u2 inside the union, and move tu_block/tu_code into
3570 a new th_u3 union of tu_block/tu_code inside of that. Move
3571 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3572 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3573 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3574 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3575 (th_stuff): Change to th_u1.tu_stuff.
3577 (th_msg): Change to th_u1.th_u2.tu_data.
3579 2012-05-07 David S. Miller <davem@davemloft.net>
3581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3584 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3585 (SETUP_PIC_REG): Use it.
3586 (SETUP_PIC_REG_LEAF): Use it.
3588 2012-05-07 Joseph Myers <joseph@codesourcery.com>
3592 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3594 (EXPL_FINITE): Likewise.
3596 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3597 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3599 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3601 (EXPL_FINITE): Likewise.
3603 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3604 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3606 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3607 test of -max_value argument for long double.
3608 * sysdeps/i386/fpu/libm-test-ulps: Update.
3609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3611 2012-05-06 David S. Miller <davem@davemloft.net>
3613 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3614 quad soft-float symbols whose references which are compiler
3616 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3618 2012-05-06 Joseph Myers <joseph@codesourcery.com>
3622 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3624 (EXPL_FINITE): Likewise.
3628 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3629 Adjust comments for base varying.
3630 (__expl_finite): Change alias to EXPL_FINITE.
3631 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3633 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3634 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3635 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3636 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3637 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3639 (EXPL_FINITE): Likewise.
3643 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3644 Adjust comments for base varying.
3645 (__expl_finite): Change alias to EXPL_FINITE.
3646 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3651 * math/libm-test.inc (check_float_internal): Correct ulp
3652 calculation for subnormal expected results.
3654 2012-05-06 Andreas Jaeger <aj@suse.de>
3656 * Makeconfig (+math-flags): New, set to -frounding-math.
3657 (+cflags): Add +math-flags so that all of glibc gets compiled with
3660 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3662 2012-05-05 Joseph Myers <joseph@codesourcery.com>
3664 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3670 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3671 (__ieee754_expl): Allow for and saturate large arguments.
3672 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3673 (u_threshold): Likewise.
3674 (__exp): Call __ieee754_exp before checking for overflow and
3676 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3677 (u_threshold): Likewise.
3678 (__expf): Call __ieee754_expf before checking for overflow and
3680 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3681 (u_threshold): Likewise.
3682 (__expl): Call __ieee754_expl before checking for overflow and
3684 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3685 (__ieee754_expl): Allow for and saturate large arguments.
3686 * math/libm-test.inc (exp_test): Add another test. Do not allow
3687 missing overflow exception on overflow.
3688 (expm1_test): Do not allow missing overflow exception on overflow.
3690 * sysdeps/i386/fpu/e_expl.c: Move to ...
3691 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3692 rather than using inline asm.
3693 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3694 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3695 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3697 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3704 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3706 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3707 sysdeps/unix/common/syscalls.list.
3710 (ftruncate): Likewise.
3711 (getrusage): Likewise.
3712 (gettimeofday): Likewise.
3713 (setpgid): Likewise.
3714 (setregid): Likewise.
3715 (setreuid): Likewise.
3716 (sigaction): Likewise.
3717 (truncate): Likewise.
3718 (vhangup): Likewise.
3719 * sysdeps/unix/common/syscalls.list: Remove file.
3720 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3721 * sysdeps/unix/sysv/linux/Implies: Likewise.
3723 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3725 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3727 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3731 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3734 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3737 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3740 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3743 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3746 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3749 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3753 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3757 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3760 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3764 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3768 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3770 * sysdeps/unix/common/bits/dirent.h: Remove file.
3771 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3773 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3774 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3775 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3776 * sysdeps/unix/bsd/isatty.c: Likewise.
3777 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3778 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3779 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3781 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3784 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3785 long double comparison inaccuracies.
3786 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3789 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3791 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3792 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3794 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3797 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3798 nonzero digits before rounding a hex value.
3799 * stdlib/tst-strtod.c (tests): Add another test.
3801 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3803 * sysdeps/s390/fpu/libm-test-ulps: Update.
3805 2012-05-03 Andreas Jaeger <aj@suse.de>
3807 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3808 does not get optimized out.
3809 (malloc_opt_barrier): New.
3811 2012-05-03 Andreas Jaeger <aj@suse.de>
3812 Roland McGrath <roland@hack.frob.com>
3814 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3815 intermediate file deletion.
3816 (generated): Add .symlist files.
3818 2012-05-03 Joseph Myers <joseph@codesourcery.com>
3821 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3822 Redirect under this condition.
3823 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3824 [__USE_GNU] (__dprintf_chk): Not under this condition.
3825 [__USE_GNU] (__vdprintf_chk): Likewise.
3826 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3827 under this condition.
3828 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3829 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3830 [__USE_XOPEN2K8] (vdprintf): Likewise.
3831 [__USE_GNU] (__dprintf_chk): Not under this condition.
3832 [__USE_GNU] (__vdprintf_chk): Likewise.
3833 [__USE_GNU] (dprintf): Likewise.
3834 [__USE_GNU] (vdprintf): Likewise.
3836 2012-05-03 Roland McGrath <roland@hack.frob.com>
3838 * elf/Makefile (common-generated): Set this instead of generated for
3839 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3840 $(all-built-dso)-derived lists.
3842 2012-05-03 Andreas Jaeger <aj@suse.de>
3844 * sysdeps/i386/fpu/libm-test-ulps: Update.
3848 * scripts/gen-FAQ.pl: Likewise.
3849 * manual/install.texi (Installation): Point to online location of
3851 * Makefile (files-for-dist): Remove FAQ.
3854 2012-05-02 Allan McRae <allan@archlinux.org>
3856 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3857 (LDFLAGS-reldepmod5.so): Likewise.
3858 (LDFLAGS-reldep6mod1.so): Likewise.
3859 (LDFLAGS-reldep6mod4.so): Likewise.
3860 (LDFLAGS-reldep8mod3.so): Likewise.
3861 (LDFLAGS-unload4mod1.so): Likewise.
3862 (LDFLAGS-unload4mod2.so): Likewise.
3863 (LDFLAGS-tst-initorder): Likewise.
3864 (LDFLAGS-tst-initordera2.so): Likewise.
3865 (LDFLAGS-tst-initordera3.so): Likewise.
3866 (LDFLAGS-tst-initordera4.so): Likewise.
3867 (LDFLAGS-tst-initorderb2.so): Likewise.
3868 (LDFLAGS-noload): Likewise.
3869 (LDFLAGS-next): Likewise.
3870 (LDFLAGS-order2mod1.so): Likewise.
3871 (LDFLAGS-order2mod2.so): Likewise.
3872 (LDFLAGS-tst-initorder2): Likewise.
3873 (LDFLAGS-tst-initorder2a.so): Likewise.
3874 (LDFLAGS-tst-initorder2b.so): Likewise.
3875 (LDFLAGS-tst-initorder2c.so): Likewise.
3876 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3878 2012-05-02 David S. Miller <davem@davemloft.net>
3880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3882 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3885 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3887 2012-05-02 Andreas Jaeger <aj@suse.de>
3889 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3890 since we manipulate rounding mode.
3891 (CPPFLAGS-test-idouble.c): Likewise.
3892 (CPPFLAGS-test-ifloat.c): Likewise.
3893 (CFLAGS-test-ldouble.c): Likewise.
3894 (CFLAGS-test-double.c): Likewise.
3895 (CFLAGS-test-float.c): Likewise.
3896 (CFLAGS-test-misc.c): Likewise.
3897 (CFLAGS-test-test-fenv.c): Likewise.
3899 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3903 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3904 comparisons to determine direction to adjust input.
3906 2012-05-01 Roland McGrath <roland@hack.frob.com>
3908 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3909 output to the target.
3911 * scripts/localplt.awk: New file.
3912 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3913 (check-localplt-CFLAGS): Variable removed.
3914 ($(all-built-dso:=.jmprel)): New static pattern rule.
3915 (generated): Add those targets.
3916 (localplt-built-dso): New variable.
3917 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3919 * elf/check-localplt.c: File removed.
3921 * scripts/check-execstack.awk: New file.
3922 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3923 (check-execstack-CFLAGS): Variable removed.
3924 ($(objpfx)check-execstack.h): Target removed.
3925 ($(objpfx)execstack-default): New target.
3926 (generated): Add that instead of check-execstack.h.
3927 ($(all-built-dso:=.phdr)): New static pattern rule.
3928 (generated): Add those targets.
3929 * elf/check-execstack.c: File removed.
3931 * scripts/check-textrel.awk: New file.
3932 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3933 (check-textrel-CFLAGS): Variable removed.
3934 (all-built-dso): Use := to define.o
3935 ($(all-built-dso:=.dyn)): New static pattern rule.
3936 (generated): Add those targets.
3937 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3938 * config.make.in (READELF): New substituted variable.
3939 * elf/check-textrel.c: File removed.
3941 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3943 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3945 * conform/data/ctype.h-data [C99-based standards] (isblank):
3947 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3948 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3949 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3950 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3951 Specify type. Require positive value.
3954 [ISO || POSIX] (EILSEQ): Do not expect.
3955 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3956 Specify type. Require positive value.
3957 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3958 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3959 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3960 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3961 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3962 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3963 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3964 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3965 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3966 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3967 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3968 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3969 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3970 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3971 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3972 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3973 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3974 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3975 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3976 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3977 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3978 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3979 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3980 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3981 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3982 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3983 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3984 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3985 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3986 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3987 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3988 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3989 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3990 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3991 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3992 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3993 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3994 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3995 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3996 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3997 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3998 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3999 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4000 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4001 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4002 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4003 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4004 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4005 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4006 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4007 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4008 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4009 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4010 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4011 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4012 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4013 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4014 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4015 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4016 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4017 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4018 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4019 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4020 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4021 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4022 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4023 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4024 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4025 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4026 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4027 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4028 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4029 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4030 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4031 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4032 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4033 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4035 (FLT_ROUNDS): Expect as macro, not constant.
4036 (FLT_MANT_DIG): Use macro-int-constant.
4037 (DBL_MANT_DIG): Likewise.
4038 (LDBL_MANT_DIG): Likewise.
4039 (FLT_DIG): Likewise.
4040 (DBL_DIG): Likewise.
4041 (LDBL_DIG): Likewise.
4042 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4043 (DBL_MIN_EXP): Likewise.
4044 (LDBL_MIN_EXP): Likewise.
4045 (FLT_MAX_EXP): Use macro-int-constant.
4046 (DBL_MAX_EXP): Likewise.
4047 (LDBL_MAX_EXP): Likewise.
4048 (FLT_MAX_10_EXP): Likewise.
4049 (DBL_MAX_10_EXP): Likewise.
4050 (LDBL_MAX_10_EXP): Likewise.
4051 (FLT_MAX): Use macro-constant.
4052 (DBL_MAX): Likewise.
4053 (LDBL_MAX): Likewise.
4054 (FLT_EPSILON): Use macro-constant. Give upper bound.
4055 (DBL_EPSILON): Likewise.
4056 (LDBL_EPSILON): Likewise.
4057 (FLT_MIN): Likewise.
4058 (DBL_MIN): Likewise.
4059 (LDBL_MIN): Likewise.
4060 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4061 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4062 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4063 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4064 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4065 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4066 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4067 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4068 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4069 [ISO11] (FLT_TRUE_MIN): Likewise.
4070 [ISO11] (LDBL_TRUE_MIN): Likewise.
4071 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4072 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4073 (SCHAR_MIN): Use macro-int-constant. Specify type.
4074 (SCHAR_MAX): Likewise.
4075 (UCHAR_MAX): Likewise.
4076 (CHAR_MIN): Likewise.
4077 (CHAR_MAX): Likewise.
4078 (MB_LEN_MAX): Use macro-int-constant.
4079 (SHRT_MIN): Use macro-int-constant. Specify type.
4080 (SHRT_MAX): Likewise.
4081 (USHRT_MAX): Likewise.
4082 (INT_MAX): Likewise.
4083 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4085 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4087 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4089 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4090 bound negative. Suffix upper bound with "L".
4091 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4093 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4095 [C99-based standards] (LLONG_MAX): Likewise.
4096 [C99-based standards] (ULLONG_MAX): Likewise.
4097 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4099 [ISO11] (max_align_t): Require type.
4100 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4102 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4103 from $CFLAGS, without defining away __attribute__ calls.
4104 (checknamespace): Use $CFLAGS_namespace.
4106 * conform/conformtest.pl (@keywords): Only include C99 keywords
4107 for standards based on C99 or C11.
4109 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4111 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4114 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4115 usability of symbols in #if.
4117 * conform/conformtest.pl: If macro or constant types start
4118 "promoted:", expect the symbol to be of the following type
4119 promoted by the integer promotions.
4121 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4122 in one place. Also handle "macro-constant".
4124 * conform/conformtest.pl: Only accept expected macro values with
4125 "==". Parse all "macro" lines in one place.
4126 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4128 * conform/conformtest.pl: Handle braced types on "constant" lines
4129 instead of handling "typed-constant".
4130 * conform/data/signal.h-data: Use "constant" instead of
4133 * conform/conformtest.pl: Handle "optional-" at start of lines in
4134 one place rather than duplicating several cases. Handle each
4135 format of "macro" line with initial "optional-".
4137 * conform/conformtest.pl: Only accept expected constant or
4138 optional-constant values with "==". Parse all "constant" lines in
4139 one place. Parse all "optional-constant" lines in one place.
4140 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4141 * conform/data/fmtmsg.h-data: Likewise.
4142 * conform/data/netinet/in.h-data: Likewise.
4143 * conform/data/tar.h-data: Likewise.
4144 * conform/data/limits.h-data: Use "==" form on "constant" and
4145 "optional-constant" lines.
4147 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4148 Use -std=c99 for XOPEN2K.
4149 (@knownproblems): Remove.
4150 (newtoken): Don't check %isknown.
4152 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4153 Do not expect macro.
4154 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4155 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4156 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4157 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4158 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4159 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4160 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4161 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4162 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4163 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4164 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4165 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4166 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4167 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4168 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4169 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4170 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4171 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4172 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4173 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4174 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4175 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4176 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4177 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4178 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4179 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4180 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4181 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4182 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4183 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4184 [XPG3] (acosh): Likewise.
4185 [XPG3] (asinh): Likewise.
4186 [XPG3] (atanh): Likewise.
4187 [XPG3] (cbrt): Likewise.
4188 [XPG3] (expm1): Likewise.
4189 [XPG3] (ilogb): Likewise.
4190 [XPG3] (log1p): Likewise.
4191 [XPG3] (logb): Likewise.
4192 [XPG3] (nextafter): Likewise.
4193 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4194 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4195 [XPG3] (remainder): Likewise.
4196 [XPG3] (rint): Likewise.
4197 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4198 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4199 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4200 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4201 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4202 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4203 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4204 [UNIX98 || XOPEN2K] (scalb): Expect.
4205 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4206 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4207 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4208 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4209 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4210 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4211 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4212 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4213 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4214 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4215 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4216 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4217 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4218 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4219 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4220 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4221 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4222 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4223 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4224 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4225 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4226 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4227 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4228 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4229 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4230 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4231 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4232 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4233 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4234 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4235 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4236 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4237 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4238 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4239 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4240 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4241 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4242 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4243 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4244 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4245 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4246 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4247 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4248 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4249 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4250 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4251 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4252 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4253 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4254 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4255 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4256 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4257 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4258 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4259 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4260 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4261 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4262 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4263 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4264 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4265 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4266 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4267 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4268 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4269 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4270 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4271 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4272 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4273 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4274 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4275 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4276 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4277 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4278 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4279 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4280 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4281 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4282 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4283 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4284 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4285 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4286 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4287 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4288 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4289 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4290 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4291 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4292 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4293 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4294 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4295 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4296 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4297 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4298 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4299 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4300 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4301 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4302 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4303 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4304 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4305 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4306 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4307 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4308 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4309 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4310 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4311 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4312 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4313 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4314 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4315 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4316 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4317 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4318 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4319 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4320 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4321 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4322 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4323 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4324 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4325 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4326 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4327 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4328 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4329 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4330 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4331 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4332 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4333 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4334 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4335 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4336 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4337 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4338 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4339 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4340 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4341 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4343 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4344 _XOPEN_SOURCE_EXTENDED for XPG4.
4346 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4348 * Makeconfig (localtime): Remove variable.
4349 (inst_localtime-file): Likewise.
4351 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4372 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4376 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4377 comparisons to determine direction to adjust input.
4378 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4379 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4380 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4382 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4384 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4386 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4387 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4389 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4391 * math/libm-test.inc (nexttoward_test): Add more tests.
4393 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4396 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4397 in version GLIBC_2.1, not GLIBC_2.0.
4398 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4401 2012-04-30 Joseph Myers <joseph@codesourcery.com>
4404 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4406 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4407 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4408 * math/libm-test.inc (acos_test): Add more tests.
4409 (asin_test): Likewise.
4410 * sysdeps/i386/fpu/libm-test-ulps: Update.
4411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4414 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4416 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4417 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4418 * math/libm-test.inc (acos_test_tonearest): New function.
4419 (acos_test_towardzero): Likewise.
4420 (acos_test_downward): Likewise.
4421 (acos_test_upward): Likewise.
4422 (asin_test_tonearest): Likewise.
4423 (asin_test_towardzero): Likewise.
4424 (asin_test_downward): Likewise.
4425 (asin_test_upward): Likewise.
4426 (main): Call the new functions.
4427 * sysdeps/i386/fpu/libm-test-ulps: Update.
4428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4432 * math/e_exp10.c: Include <float.h>.
4433 (__ieee754_exp10): Handle underflow here rather than multiplying
4434 large negative argument by M_LN10.
4435 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4437 * math/e_exp10l.c: Include <float.h>.
4438 (__ieee754_exp10l): Handle underflow here rather than multiplying
4439 large negative argument by M_LN10l.
4440 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4441 spurious overflow exception on underflow.
4443 2012-04-29 Marek Polacek <polacek@redhat.com>
4445 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4446 (__fortify_function): New macro.
4447 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4448 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4449 __extern_always_inline.
4450 * libio/bits/stdio2.h: Likewise.
4451 * libio/bits/stdio.h: Likewise.
4452 * string/string.h: Likewise.
4453 * string/bits/string3.h: Likewise.
4454 * include/stdio.h: Likewise.
4455 * stdlib/bits/stdlib.h: Likewise.
4456 * stdlib/stdlib.h: Likewise.
4457 * rt/bits/mqueue2.h: Likewise.
4458 * rt/mqueue.h: Likewise.
4459 * posix/bits/unistd.h: Likewise.
4460 * posix/unistd.h: Likewise.
4461 * io/bits/poll2.h: Likewise.
4462 * io/bits/fcntl2.h: Likewise.
4463 * io/fcntl.h: Likewise.
4464 * io/sys/poll.h: Likewise.
4465 * misc/bits/syslog.h: Likewise.
4466 * misc/bits/syslog-ldbl.h: Likewise.
4467 * misc/sys/syslog.h: Likewise.
4468 * socket/bits/socket2.h: Likewise.
4469 * socket/sys/socket.h: Likewise.
4470 * debug/tst-chk1.c: Likewise.
4471 * wcsmbs/bits/wchar2.h: Likewise.
4472 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4473 * wcsmbs/wchar.h: Likewise.
4475 2012-04-29 Andreas Jaeger <aj@suse.de>
4477 * Makerules (tests): Remove enable-check-abi protection.
4478 (check-abi-warn): Remove.
4479 (check-abi-%): Remove check-abi-warn usage.
4481 * configure.in: Remove check-abi configure option.
4482 * configure: Regenerated.
4483 * config.make.in (enable-check-abi): Remove.
4485 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4488 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4489 double functions to double *_finite functions.
4492 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4493 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4495 * stdio-common/Makefile (tests): Add tst-sprintf3.
4496 * stdio-common/tst-sprintf3.c: New file.
4498 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4499 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4501 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4503 * conform/conformtest.pl: Remove duplicate typed-constant
4506 2012-04-28 David S. Miller <davem@davemloft.net>
4508 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4509 (check-abi-%): Remove AWK script prerequisite and explicit
4511 (check-abi): Rewrite to just diff the symlist with the abilist.
4512 (config-tls, config-abi-config): Delete, no longer used.
4513 (update-abi-%): Remove AWK script and explicit abilist directory.
4514 (update-abi): Rewrite to simply compare and conditionally copy the
4515 symlist and the sysdep abilist file. Remove update-abi-config
4517 * abilist/ld.abilist: Remove.
4518 * abilist/libBrokenLocale.abilist: Remove.
4519 * abilist/libanl.abilist: Remove.
4520 * abilist/libcrypt.abilist: Remove.
4521 * abilist/libdl.abilist: Remove.
4522 * abilist/librt.abilist: Remove.
4523 * abilist/libthread_db.abilist: Remove.
4524 * abilist/libutil.abilist: Remove.
4525 * scripts/extract-abilist.awk: Remove.
4526 * scripts/merge-abilist.awk: Remove.
4527 * sysdeps/generic/libcidn.abilist: New file.
4528 * sysdeps/generic/libnss_compat.abilist: New file.
4529 * sysdeps/generic/libnss_db.abilist: New file.
4530 * sysdeps/generic/libnss_dns.abilist: New file.
4531 * sysdeps/generic/libnss_files.abilist: New file.
4532 * sysdeps/generic/libnss_hesiod.abilist: New file.
4533 * sysdeps/generic/libnss_nis.abilist: New file.
4534 * sysdeps/generic/libnss_nisplus.abilist: New file.
4535 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4536 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4537 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4539 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4540 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4541 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4542 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4543 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4544 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4545 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4546 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4547 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4549 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4550 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4551 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4552 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4554 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4555 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4556 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4557 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4558 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4559 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4561 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4562 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4563 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4565 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4566 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4568 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4570 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4572 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4574 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4576 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4578 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4580 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4582 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4584 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4668 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4669 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4670 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4672 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4673 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4674 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4675 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4676 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4677 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4678 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4679 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4680 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4681 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4733 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4735 * conform/conformtest.pl: Fix typo in handling typed-constant from
4738 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4740 * README: Cut down references to pre-2.6 Linux kernels and
4741 Linuxthreads. Update lists of configurations in libc and ports
4742 and sort alphabetically. Say "or newer" with Linux kernel version
4745 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4747 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4750 * math/libm-test.inc (logb_test_downward): New test to expose
4751 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4754 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4757 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4759 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4760 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4762 2012-04-26 Joseph Myers <joseph@codesourcery.com>
4764 * sysdeps/unix/i386/brk.S: Remove file.
4765 * sysdeps/unix/i386/dl-brk.S: Likewise.
4766 * sysdeps/unix/i386/pipe.S: Likewise.
4767 * sysdeps/unix/i386/sigreturn.S: Likewise.
4768 * sysdeps/unix/i386/syscall.S: Likewise.
4769 * sysdeps/unix/i386/vfork.S: Likewise.
4770 * sysdeps/unix/i386/wait.S: Likewise.
4772 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4773 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4775 * configure.in (arm*-none*): Do not allow without
4776 --enable-hacker-mode.
4777 (netbsd*): Remove case setting base_os.
4778 (386bsd*): Likewise.
4779 (freebsd*): Likewise.
4783 (ultrix*): Likewise.
4784 (newsos*): Likewise.
4794 (solaris[2-9]*): Likewise.
4796 * configure: Regenerated.
4798 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4801 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4802 overflow or cancellation in calculating denominator.
4803 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4804 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4805 down expression to avoid unexpected rounding in newer GCCs.
4806 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4808 2012-04-26 David S. Miller <davem@davemloft.net>
4810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4811 long-double compat symbols.
4812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4826 2012-04-25 David S. Miller <davem@davemloft.net>
4828 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4829 HWCAP_* values only after the memory barriers have been defined.
4830 (atomic_full_barrier): Define.
4831 (atomic_read_barrier): Define.
4832 (atomic_write_barrier): Define.
4834 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4836 * shlib-versions: Add libgcc_s version information.
4837 * sysdeps/generic/libgcc_s.h: Remove.
4838 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4840 * sysdeps/gnu/unwind-resume.c: Likewise.
4841 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4843 2012-04-25 David S. Miller <davem@davemloft.net>
4845 * sysdeps/unix/sparc/brk.S: Delete.
4846 * sysdeps/unix/sparc/dl-brk.S: Delete.
4847 * sysdeps/unix/sparc/pipe.S: Delete.
4848 * sysdeps/unix/sparc/sysdep.S: Delete.
4849 * sysdeps/unix/sparc/sysdep.h: Delete.
4850 * sysdeps/unix/sparc/vfork.S: Delete.
4851 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4852 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4853 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4854 ret_ERRVAL, r0, r1, MOVE): Define.
4855 (JUMPTARGET): Remove.
4856 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4857 sysdeps/unix/sparc/sysdep.h
4858 (ENTRY, END): Remove.
4859 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4861 2012-04-25 Joseph Myers <joseph@codesourcery.com>
4863 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4864 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4867 * timezone/README: Update upstream location and email address for
4869 * timezone/zdump.c: Update from tzcode 2012b.
4870 * timezone/zic.c: Likewise.
4872 * configure.in (libc_cv_as_needed): Remove test.
4873 * configure: Regenerated.
4874 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4875 conditional definition.
4876 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4877 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4878 * config.make.in (have-as-needed): Remove variable.
4880 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4881 Paul Pluzhnikov <ppluzhnikov@google.com>
4883 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4886 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4888 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4889 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4890 * sysdeps/sh/strlen.S: Likewise.
4892 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4894 * sysdeps/unix/fork.S: Remove file.
4895 * sysdeps/unix/i386/fork.S: Likewise.
4896 * sysdeps/unix/sparc/fork.S: Likewise.
4898 * sysdeps/unix/system.c: Remove file.
4899 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4901 * sysdeps/unix/getegid.S: Remove file.
4902 * sysdeps/unix/geteuid.S: Likewise.
4904 2012-04-24 Roland McGrath <roland@hack.frob.com>
4906 * scripts/check-localplt.awk: New file.
4907 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4909 * scripts/data/localplt-generic.data: Add a comment.
4911 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4912 NODE when __dir_mkfile failed.
4913 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4914 Reported by Ludovic Courtès <ludo@gnu.org>.
4916 2012-04-24 Andreas Jaeger <aj@suse.de>
4918 * Makerules (common-clean): Also remove gen-as-const-headers
4921 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4923 * Makerules (native-compile): Do not change working directory for
4924 build. Use $(OUTPUT_OPTION) in command.
4925 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4927 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4930 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4931 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4932 * math/libm-test.inc (floor_test): Add more tests.
4933 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4935 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4937 * sysdeps/unix/getdents.c: Remove file.
4938 * sysdeps/unix/sysv/getdents.c: Likewise.
4939 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4941 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4942 sysdeps/unix/mman/syscalls.list.
4944 (mprotect): Likewise.
4947 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4948 * sysdeps/unix/mman/syscalls.list: Remove.
4949 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4951 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4952 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4953 * configure: Regenerated.
4954 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4956 * config.make.in (libgcc_s_suffix): Remove variable.
4958 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4960 * sysdeps/unix/sysv/gethostname.c: Move to ...
4961 * sysdeps/posix/gethostname.c: ... here.
4963 * sysdeps/unix/execve.S: Remove file.
4965 * sysdeps/unix/_exit.S: Remove file.
4967 2012-04-23 Andreas Jaeger <aj@suse.de>
4970 * manual/Makefile: Remove make dist support, there's no
4971 need for a stand-alone documentation tar ball.
4972 (TEXI2DVI): Define always, it's not in Makeconfig.
4976 (glibc-doc-$(edition).tar): Removed
4980 (ETAGS): Remove, it's in Makeconfig.
4981 (move-if-change): Remove, it's in Makeconfig.
4983 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4986 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4987 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4988 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4989 (strtod_l, strtof_l, strtold_l): Remove __wur.
4990 It is not necessarily an error to ignore strtol's return value.
4991 One can reliably look at the stored endptr to decide whether
4992 the number had valid syntax.
4994 2012-04-21 Andreas Jaeger <aj@suse.de>
4997 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4999 2012-04-21 Joseph Myers <joseph@codesourcery.com>
5001 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5002 * sysdeps/unix/sysv/Versions: Remove file.
5004 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5009 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
5012 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5013 version from __vm86.
5015 2012-04-20 Joseph Myers <joseph@codesourcery.com>
5017 * sysdeps/unix/common/lxstat.c: Remove file.
5018 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5020 * sysdeps/unix/sysv/Makefile: Remove file.
5022 * sysdeps/unix/sysv/direct.h: Remove file.
5024 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5025 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5026 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5027 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5028 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5029 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5030 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5032 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5034 * sysdeps/unix/xmknod.c: Remove file.
5035 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5037 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5039 * sysdeps/unix/sysv/i386/time.S: Remove file.
5041 * sysdeps/unix/fxstat.c: Remove file.
5042 * sysdeps/unix/xstat.c: Likewise.
5043 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5045 * sysdeps/unix/sysv/sigaction.c: Remove file.
5047 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5048 (sysdep_headers): Remove variable.
5049 [termio.h not in sysdep_headers] (generated): Likewise.
5050 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5051 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5052 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5053 * sysdeps/unix/sysv/tcflow.c: Likewise.
5054 * sysdeps/unix/sysv/tcflush.c: Likewise.
5055 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5056 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5057 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5058 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5059 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5061 * sysdeps/unix/siglist.c: Remove file.
5063 * sysdeps/unix/getppid.S: Remove file.
5065 * sysdeps/unix/mkdir.c: Remove file.
5066 * sysdeps/unix/rmdir.c: Likewise.
5068 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5070 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5072 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5073 errlist-compat value.
5075 2012-04-18 David S. Miller <davem@davemloft.net>
5077 * sysdeps/generic/memcopy.h (reg_char): Delete.
5078 * debug/strcat_chk.c: Use char, not reg_char.
5079 * debug/strcpy_chk.c: Likewise.
5080 * debug/strncat_chk.c: Likewise.
5081 * debug/strncpy_chk.c: Likewise.
5082 * string/memchr.c: Likewise.
5083 * string/memrchr.c: Likewise.
5084 * string/rawmemchr.c: Likewise.
5085 * string/strcat.c: Likewise.
5086 * string/strchr.c: Likewise.
5087 * string/strchrnul.c: Likewise.
5088 * string/strcmp.c: Likewise.
5089 * string/strcpy.c: Likewise.
5090 * string/strncat.c: Likewise.
5091 * string/strncmp.c: Likewise.
5092 * string/strncpy.c: Likewise.
5094 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5096 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5097 __builtin_memcopy is called when src and dest ranges are known to not
5100 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5102 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5103 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5104 fwd_align_merge macro call.
5105 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5106 bwd_align_merge macro call.
5107 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5109 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5111 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5112 bwd_align_merge macros.
5113 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5114 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5115 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5117 2012-04-18 David S. Miller <davem@davemloft.net>
5119 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5121 2012-04-18 Andreas Jaeger <aj@suse.de>
5124 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5125 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5126 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5128 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5129 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5130 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5132 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5133 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5134 Adjust for changed ldbl-128 files.
5136 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5137 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5138 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5140 2012-04-17 David S. Miller <davem@davemloft.net>
5142 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5144 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5146 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5147 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5148 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5149 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5150 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5151 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5153 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5156 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5157 * math/libm-test.inc: Add ilogb errno and exception tests.
5158 * math/w_ilogb.c: New file: ilogb wrapper.
5159 * math/w_ilogbf.c: New file: ilogbf wrapper.
5160 * math/w_ilogbl.c: New file: ilogbl wrapper.
5161 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5162 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5163 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5164 exception being thrown with 0.0 as argument.
5165 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5166 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5167 exception being thrown with 0.0 as argument.
5168 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5169 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5170 exception being thrown with 0.0 as argument.
5171 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5172 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5173 exception being thrown with 0.0 as argument.
5174 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5175 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
5176 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
5177 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5178 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5179 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5180 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5181 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5182 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5184 2012-04-17 Petr Baudis <pasky@ucw.cz>
5186 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5189 2012-04-16 Marek Polacek <polacek@redhat.com>
5191 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5193 2012-04-16 Marek Polacek <polacek@redhat.com>
5195 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5196 operands of fdivp instruction.
5198 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5200 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5201 * elf/tst-auditmod3b.c: Likewise.
5202 * elf/tst-auditmod4b.c: Likewise.
5203 * elf/tst-auditmod5b.c: Likewise.
5204 * elf/tst-auditmod6b.c: Likewise.
5205 * elf/tst-auditmod6c.c: Likewise.
5206 * elf/tst-auditmod7b.c: Likewise.
5207 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5208 * sysdeps/x86_64/preconfigure.in: Likewise.
5209 * sysdeps/x86_64/preconfigure: Regenerated.
5211 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5213 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5216 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
5218 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5219 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5221 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5224 * locale/iso-639.def: Fix gl language name. Spotted by
5227 2012-04-12 Roland McGrath <roland@hack.frob.com>
5230 * libio/libio.h (__io_write_fn): Update comment.
5232 2012-04-12 Petr Baudis <pasky@ucw.cz>
5235 * stdio.texi (Hook Functions): The user provided writer function
5236 is not allowed to return -1.
5238 2012-04-11 David S. Miller <davem@davemloft.net>
5240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5242 2012-04-11 Mike Frysinger <vapier@gentoo.org>
5244 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5245 Add a leading slash to rtkaio.
5247 2012-04-11 Jim Meyering <meyering@redhat.com>
5250 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5251 It is not necessarily an error to ignore fwrite's return
5252 value. One can reliably use ferror to test for errors after
5255 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5257 * bits/types.h (__snseconds_t): New type.
5258 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5260 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5261 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5262 (__SNSECONDS_T_TYPE): Likewise.
5263 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5264 (__SNSECONDS_T_TYPE): Likewise.
5265 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5266 (__SNSECONDS_T_TYPE): Likewise.
5268 2012-04-10 Andreas Jaeger <aj@suse.de>
5271 * manual/time.texi (Processor Time): Return type of times is
5272 elapsed real time since an arbitrary point in the past.
5273 (CPU Time): Move CLK_TCK from here...
5274 (Processor Time): ...to here. Correct description.
5275 * manual/conf.texi (Constants for Sysconf): Correct description of
5278 2012-04-10 David S. Miller <davem@davemloft.net>
5281 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5282 where the is a gap between DT_REL(A) and DT_JMPREL.
5284 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5286 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5287 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5288 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5290 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5292 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5293 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5294 (dl_main): Handle --inhibit-cache.
5295 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5297 * elf/dl-load.c (_dl_map_object): Use it.
5298 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5300 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5303 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5304 (__ieee754_powl): Saturate large exponents rather than testing for
5305 overflow of y*log2(x).
5306 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5307 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5311 * math/s_ctan.c: Include <float.h>.
5312 (__ctan): Avoid internal overflow or cancellation in calculating
5314 * math/s_ctanf.c: Likewise.
5315 * math/s_ctanl.c: Likewise.
5316 * math/s_ctanh.c: Likewise.
5317 * math/s_ctanhf.c: Likewise.
5318 * math/s_ctanhl.c: Likewise.
5319 * math/libm-test.inc (ctan_test): Add more tests.
5320 (ctanh_test): Likewise.
5321 * sysdeps/i386/fpu/libm-test-ulps: Update.
5322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5324 2012-04-09 Andreas Jaeger <aj@suse.de>
5327 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5328 is an optional BSD extension.
5331 * manual/stdio.texi (Opening Streams): Document additional fopen
5334 2012-04-09 Roland McGrath <roland@hack.frob.com>
5336 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5337 %eax without telling the compiler.
5339 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5342 * manual/install.texi: Use sourceware.org.
5344 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5347 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5348 (__ieee754_pow): Generate overflow and underflow using huge*huge
5349 and tiny*tiny rather than just returning constant infinity or zero
5350 for large exponents.
5351 * math/libm-test.inc (pow_test): Require overflow exceptions for
5352 applicable cases of large exponents.
5355 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5356 (__ieee754_pow): Use iterative multiplication algorithm only for
5357 integer exponents with absolute value below 1024. Check for odd
5358 integer exponents when using algorithm for real exponents.
5359 * math/libm-test.inc (pow_test): Add more tests.
5360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5362 2012-04-08 Joseph Myers <joseph@codesourcery.com>
5365 * math/libm-test.inc (exp_test): Do not allow overflow exception
5368 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5371 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5372 instead of __kernel_standard_f.
5374 2012-04-08 Mike Frysinger <vapier@gentoo.org>
5376 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5377 * sysdeps/x86_64/memset_chk.S: Likewise.
5379 2012-04-08 Andreas Jaeger <aj@suse.de>
5382 * manual/startup.texi (Environment Access): Describe return value
5383 for putenv and setenv.
5386 * manual/filesys.texi (Directory Entries): Add description for
5390 * manual/filesys.texi (Directory Entries): Clarify that it's file
5391 system not operating system in the description of DT_UNKNOWN.
5394 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5396 2012-04-08 Stephen Compall <s11@member.fsf.org>
5399 * manual/llio.texi (Opening and Closing Files): Add cross
5400 reference to explain mode argument.
5402 2012-04-07 Mike Frysinger <vapier@gentoo.org>
5404 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5405 * sysdeps/x86_64/memset_chk.S: Likewise.
5407 2012-04-07 David S. Miller <davem@davemloft.net>
5409 * elf/elf.h (R_SPARC_WDISP10): Define.
5410 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5412 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5413 R_SPARC_SIZE64 and R_SPARC_H34.
5415 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5417 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5418 conditions and remove no longer applicable assertion.
5420 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5422 * bits/byteswap.h: Include <features.h>.
5423 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5424 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5426 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5428 * bits/byteswap.h (__bswap_16): Removed.
5429 Include <bits/byteswap-16.h> to get __bswap_16.
5430 * sysdeps/i386/bits/byteswap.h: Likewise.
5431 * sysdeps/s390/bits/byteswap.h: Likewise.
5432 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5433 * bits/byteswap-16.h: New file.
5434 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5435 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5436 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5437 * string/Makefile (headers): Add bits/byteswap-16.h.
5439 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5442 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5444 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5445 * nss/tst-nss-static.c: New.
5447 2012-04-06 Robert Millan <rmh@gnu.org>
5450 * manual/llio.texi (File Position Primitive): lseek
5451 refers to WHENCE when it really means OFFSET.
5453 2012-04-06 Andreas Jaeger <aj@suse.de>
5455 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5456 strncmp declarations.
5458 * abilist/libc.abilist: Add __poll and __ppoll.
5460 2012-04-05 David S. Miller <davem@davemloft.net>
5462 * scripts/check-local-headers.sh: Accept a host triplet in the
5463 path matched by the exclude regexp.
5465 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5467 * sysdeps/powerpc/powerpc32/dl-machine.h
5468 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5469 * sysdeps/s390/s390-32/dl-machine.h
5470 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5471 * sysdeps/sparc/sparc32/dl-machine.h
5472 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5473 * sysdeps/sparc/sparc64/dl-machine.h
5474 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5476 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5478 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
5479 undefined symbol errors.
5481 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
5484 2012-04-05 Michael Matz <matz@suse.de>
5487 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5489 2012-04-05 Andreas Jaeger <aj@suse.de>
5492 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5495 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5497 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5498 which ROUND is no valid rounding mode.
5500 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5502 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5504 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5506 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5508 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5509 an exception using FPU order intentionally.
5511 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5513 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5514 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5515 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5516 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5518 2012-04-05 Simon Josefsson <simon@josefsson.org>
5521 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5522 EINVAL when BUFLEN is too smal.
5524 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5527 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5528 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5530 2012-04-03 Andreas Jaeger <aj@suse.de>
5533 * manual/setjmp.texi (System V contexts): Fix sentence.
5536 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5537 New macro for this case.
5538 [!__GNUC__] (__bswap_64): New inline function for this case.
5539 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5540 * bits/byteswap.h: Likewise.
5541 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5542 ull, guard with __GLIBC_HAVE_LONG_LONG.
5544 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5545 __GLIBC_HAVE_LONG_LONG.
5547 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5548 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5550 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5553 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5554 inptr and inend, rather than using last_ch.
5556 2012-04-02 David S. Miller <davem@davemloft.net>
5558 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5559 * stdio-common/printf-parse.h (read_int): Change return type to
5560 'int', return -1 on INT_MAX overflow.
5561 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5562 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5563 overflows INT_MAX. Check for overflow of in-format-string precision
5564 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5565 SIZE_MAX not INT_MAX for integer overflow test.
5566 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5567 skip the construct in the format string but do not record anything.
5568 * stdio-common/bug22.c: Adjust to test both width/prevision
5569 INT_MAX overflow as well as total length INT_MAX overflow. Check
5570 explicitly for proper errno values.
5572 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5574 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5576 * string/test-strcmp.c [! WIDE]: Likewise.
5577 * time/tst-mktime2.c: Likewise for INT_MAX.
5578 * string/test-string.h: #include <sys/param.h> for MIN.
5580 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5581 * sysdeps/i386/init-first.c (init): Likewise.
5582 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5583 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5584 * sysdeps/sh/init-first.c (init): Likewise.
5586 2012-04-01 Ulrich Drepper <drepper@gmail.com>
5588 * po/ru.po: Update from translation team.
5589 * po/vi.po: Likewise.
5591 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5593 * resolv/nss_dns/dns-host.c: Merge copyright years.
5595 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5597 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5598 Optimize memcpy with prefetch if
5599 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5600 src, dst pointers have unequal 16 byte alignments.
5602 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5605 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5606 from a CNAME entry and return the minimum ttl for the query.
5607 (gaih_getanswer_slice): Likewise.
5609 2012-03-30 Jeff Law <law@redhat.com>
5611 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5613 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5614 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5616 * resolv/nss_dns/dns-host.c: Update copyright year.
5618 2012-03-30 Ulrich Drepper <drepper@gmail.com>
5620 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5621 requests to save a system call. Fix check that all bytes are sent.
5623 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5624 comments for sendmmsg.
5626 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5629 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5630 with only 1 character between 0x0041 and 0x01b0.
5631 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5632 * wcsmbs/tst-mbsnrtowcs.c: New file.
5634 2012-03-29 David S. Miller <davem@davemloft.net>
5636 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5637 small copies by hand.
5639 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5642 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5643 _nss_compat_initgroups_dyn): Fall back to malloc/free
5644 for large group memberships.
5646 2012-03-28 David S. Miller <davem@davemloft.net>
5648 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5649 that branches into memcpy.
5650 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5651 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5652 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5653 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5654 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5656 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5658 * sysdeps/sparc/mempcpy.S: New file.
5660 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5661 the IFUNC routine in the libc case.
5662 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5664 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5665 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5666 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5667 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5668 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5669 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5670 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5671 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5673 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5674 loop to 256 bytes instead of 64 bytes and fix test signedness.
5676 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5677 * sysdeps/sparc/sparc32/Makefile: rather than here...
5678 * sysdeps/sparc/sparc64/Makefile: and here.
5680 2012-03-28 Ulrich Drepper <drepper@gmail.com>
5682 * malloc/mallocbug.c: Avoid warnings about unused variables.
5684 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5687 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5688 in the right place. Discard and retry query if response is
5689 larger than input buffer size.
5691 2012-03-28 Joseph Myers <joseph@codesourcery.com>
5696 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5697 x for large integer exponent.
5698 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5699 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5700 sign of result as needed afterwards.
5701 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5702 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5703 result for underflowing pow the same as for overflow.
5704 (__kernel_standard_l): Handle powl overflow and underflow here
5705 rather than calling __kernel_standard.
5706 * math/libm-test.inc (pow_test): Add more tests.
5721 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5722 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5723 (__kernel_standard_l): New function.
5724 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5726 * math/w_acosl.c (__acosl): Likewise.
5727 * math/w_asinl.c (__asinl): Likewise.
5728 * math/w_atan2l.c (__atan2l): Likewise.
5729 * math/w_atanhl.c (__atanhl): Likewise.
5730 * math/w_coshl.c (__coshl): Likewise.
5731 * math/w_exp10l.c (__exp10l): Likewise.
5732 * math/w_exp2l.c (__exp2l): Likewise.
5733 * math/w_fmodl.c (__fmodl): Likewise.
5734 * math/w_hypotl.c (__hypotl): Likewise.
5735 * math/w_j0l.c (__j0l, __y0l): Likewise.
5736 * math/w_j1l.c (__j1l, __y1l): Likewise.
5737 * math/w_jnl.c (__jnl, __ynl): Likewise.
5738 * math/w_lgammal.c (__lgammal): Likewise.
5739 * math/w_log10l.c (__log10l): Likewise.
5740 * math/w_log2l.c (__log2l): Likewise.
5741 * math/w_logl.c (__logl): Likewise.
5742 * math/w_powl.c (__powl): Likewise.
5743 * math/w_remainderl.c (__remainderl): Likewise.
5744 * math/w_scalbl.c (sysv_scalbl): Likewise.
5745 * math/w_sinhl.c (__sinhl): Likewise.
5746 * math/w_sqrtl.c (__sqrtl): Likewise.
5747 * math/w_tgammal.c (__tgammal): Likewise.
5748 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5749 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5750 * math/libm-test.inc (acos_test): Add more tests.
5751 (acosh_test): Likewise.
5752 (asin_test): Likewise.
5753 (atanh_test): Likewise.
5754 (exp_test): Likewise.
5755 (exp10_test): Likewise.
5756 (exp2_test): Likewise.
5757 (expm1_test): Likewise.
5758 (lgamma_test): Likewise.
5759 (log_test): Likewise.
5760 (log10_test): Likewise.
5761 (log1p_test): Likewise.
5762 (log2_test): Likewise.
5763 (pow_test): Do not allow some spurious overflow exceptions.
5764 (sqrt_test): Add more tests.
5765 (tgamma_test): Likewise.
5766 (y0_test): Likewise.
5767 (y1_test): Likewise.
5768 (yn_test): Likewise.
5770 2012-03-27 Anton Blanchard <anton@samba.org>
5772 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5774 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5775 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5776 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5778 2012-03-27 David S. Miller <davem@davemloft.net>
5780 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5782 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5785 2012-03-27 Andreas Jaeger <aj@suse.de>
5787 * sysdeps/x86_64/elf/configure.in: Moved to ...
5788 * sysdeps/x86_64/configure.in: ... here.
5789 * sysdeps/x86_64/elf/start.S: Moved to ...
5790 * sysdeps/x86_64/start.S: ... here.
5791 * sysdeps/x86_64/elf/configure: Delete.
5793 * sysdeps/x86_64/configure.in: Merge contents from
5794 sysdeps/i386/configure.in (without i686 check).
5796 * sysdeps/i386/elf/Versions: Merge into ...
5797 * sysdeps/i386/Versions: ... this.
5798 * sysdeps/i386/elf/Versions: Delete file.
5799 * sysdeps/i386/elf/start.S: Moved to ...
5800 * sysdeps/i386/start.S: ...here.
5801 * sysdeps/i386/elf/configure.in: Merge into...
5802 * sysdeps/i386/configure.in: ...here.
5803 * sysdeps/i386/elf/configure.in: Delete file.
5804 * sysdeps/i386/elf/configure: Delete file.
5806 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5807 * debug/backtracesyms.c: ... here.
5808 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5809 * debug/backtracesymsfd.c: ... here.
5810 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5811 * sysdeps/generic/ifunc-sel.h: ... here.
5813 * sysdeps/unix/i386/start.c: Delete file.
5814 * sysdeps/unix/sparc/start.c: Delete file.
5815 * sysdeps/unix/start.c: Delete file.
5817 * sysdeps/sh/elf/configure.in: Moved to ...
5818 * sysdeps/sh/configure.in: ... here.
5819 * sysdeps/sh/elf/start.S: Moved to ...
5820 * sysdeps/sh/start.S: ... here.
5821 * sysdeps/sh/elf/configure: Delete file.
5823 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5824 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5825 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5826 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5827 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5828 * sysdeps/powerpc/powerpc64/start.S: here.
5829 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5830 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5831 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5832 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5833 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5835 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5836 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5837 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5838 * sysdeps/powerpc/powerpc32/start.S: ... here.
5839 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5840 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5841 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5843 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5844 * sysdeps/powerpc/ifunc-sel.h: ... here.
5845 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5846 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5848 * sysdeps/sparc/elf/configure.in: Moved to ...
5849 * sysdeps/sparc/configure.in: ... here.
5850 * sysdeps/sparc/elf/configure: Delete file.
5851 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5852 * sysdeps/sparc/sparc32/start.S: ... here.
5853 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5854 * sysdeps/sparc/sparc64/start.S: ... here.
5855 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5856 * sysdeps/sparc/sparc32/Makefile: ... this.
5857 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5858 * sysdeps/sparc/sparc64/Makefile: ... this.
5860 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5861 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5862 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5863 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5864 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5865 * sysdeps/s390/s390-32/setjmp.S: ... here.
5866 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5867 * sysdeps/s390/s390-32/configure.in: ... here.
5868 * sysdeps/s390/s390-32/elf/configure: Delete file.
5869 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5870 * sysdeps/s390/s390-32/start.S: ... here.
5872 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5873 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5874 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5875 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5876 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5877 * sysdeps/s390/s390-64/setjmp.S: ... here.
5878 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5879 * sysdeps/s390/s390-64/configure.in: ... here
5880 * sysdeps/s390/s390-64/elf/configure: Delete file.
5881 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5882 * sysdeps/s390/s390-64/start.S: ... here.
5883 * sysdeps/s390/s390-64/elf/configure: Delete.
5885 * configure.in: Remove support for elf directories in sysdeps.
5887 * configure: Regenerated.
5888 * sysdeps/i386/configure: Regenerated.
5889 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5890 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5891 * sysdeps/s390/s390-32/configure: Regenerated.
5892 * sysdeps/s390/s390-64/configure: Regenerated.
5893 * sysdeps/sh/configure: Regenerated.
5894 * sysdeps/sparc/configure: Regenerated.
5895 * sysdeps/x86_64/configure: Regenerated.
5897 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5901 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5902 denormal result into account.
5904 2012-03-25 Roland McGrath <roland@hack.frob.com>
5906 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5907 Reported by Allan McRae <allan@archlinux.org>.
5909 2012-03-23 Jeff Law <law@redhat.com>
5911 * nss/getnssent.c (__nss_getent): Fix typo.
5913 2012-03-23 David S. Miller <davem@davemloft.net>
5915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5917 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5919 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5920 to pad to uint64_t for each field.
5921 (dl_tls_index): Replace unsigned long with uint64_t.
5923 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5924 Paul Pluzhnikov <ppluzhnikov@google.com>
5927 * grp/Makefile (otherlibs): Don't set it.
5928 * inet/Makefile (otherlibs): Likewise.
5929 * login/Makefile (otherlibs): Likewise.
5930 * nscd/Makefile (otherlibs): Likewise.
5931 * posix/Makefile (otherlibs): Likewise.
5932 * pwd/Makefile (otherlibs): Likewise.
5933 * rt/Makefile (otherlibs): Likewise.
5934 * sunrpc/Makefile (otherlibs): Likewise.
5935 * nss/Makefile (otherlibs): Likewise.
5936 Add libnss_files to routines and static-only-routines.
5937 ($(objpfx)getent): Remove rule.
5938 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5939 static-only-routines.
5941 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5944 * math/s_cexp.c: Include <float.h>.
5945 (__cexp): Handle exp result overflowing not necessarily
5946 overflowing both real and imaginary parts of result.
5947 * math/s_cexpf.c: Likewise.
5948 * math/s_cexpl.c: Likewise.
5949 * math/libm-test.inc (cexp_test): Add more tests.
5950 * sysdeps/i386/fpu/libm-test-ulps: Update.
5951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5953 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5955 * include/link.h (ELFW): New macro.
5956 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5957 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5959 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5961 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5964 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5966 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5968 (struct La_x32_retval): Likewise.
5970 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5972 * sysdeps/x86_64/preconfigure.in: New file.
5973 * sysdeps/x86_64/preconfigure: New generated file.
5975 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5978 * math/e_exp2l.c: Include <float.h>.
5979 (__ieee754_exp2l): Handle overflow and underflow cases
5980 separately. Only pass fractional part of argument to
5982 * math/libm-test.inc (exp2_test): Add more tests.
5984 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5985 negating x to take absolute value.
5986 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5988 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5989 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5991 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5992 computing low part if x was negated.
5993 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5995 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5997 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5999 (pltexit): Cast int_retval to ptrdiff_t.
6000 * elf/tst-auditmod3b.c: Likewise.
6001 * elf/tst-auditmod4b.c: Likewise.
6002 * elf/tst-auditmod5b.c: Likewise.
6003 * elf/tst-auditmod6b.c: Likewise.
6004 * elf/tst-auditmod6c.c: Likewise.
6005 * elf/tst-auditmod7b.c: Likewise.
6007 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6008 and x32_gnu_pltexit.
6010 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6012 (La_x32_regs): New macro.
6013 (La_x32_retval): Likewise.
6014 (la_x32_gnu_pltenter): New function prototype.
6015 (la_x32_gnu_pltexit): Likewise.
6017 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6019 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6024 * configure.in (libc_cv_cc_nofma): Check for option to disable
6025 generation of FMA instructions.
6026 * configure: Regenerate.
6027 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6028 * sysdeps/ieee754/dbl-64/Makefile: New file.
6029 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6030 Remove brandred-fma4.
6031 (CFLAGS-brandred-fma4.c): Remove.
6032 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6033 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6035 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6038 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6040 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6041 LLONG_MAX != LONG_MAX.
6042 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6043 (_fitoa_word): Likewise.
6044 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6045 LLONG_MAX != LONG_MAX.
6046 * stdio-common/_itowa.h: Include <_itoa.h>.
6047 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6048 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6049 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6050 only if not defined.
6051 (_ITOA_WORD_TYPE): Likewise.
6052 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6053 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6055 2012-03-21 David S. Miller <davem@davemloft.net>
6057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6059 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6061 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6062 of x86_64 when setting libc_cv_slibdir, libdir and
6064 * sysdeps/unix/sysv/linux/configure: Regenerated.
6066 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6068 * manual/lang.texi (Old Varargs): Remove section.
6069 (How Variadic): Update menu.
6070 (va_start): Do not mention varargs.h.
6072 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6073 Joseph Myers <joseph@codesourcery.com>
6075 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6077 * configure: Regenerated.
6079 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6081 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6082 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6085 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6088 * Makefile (files-for-dist): Remove NOTES.
6089 (NOTES): Remove rule.
6090 * README: Don't refer to NOTES.
6091 * manual/creature.texi: Don't include macros.texi.
6092 * manual/intro.texi (creature.texi): Remove comment referring to
6095 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6096 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6097 * configure: Regenerated.
6098 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6100 (libc_cv_as_i686): Likewise.
6101 (libc_cv_cc_avx): Likewise.
6102 (libc_cv_cc_sse2avx): Likewise.
6103 (libc_cv_cc_fma4): Likewise.
6104 (libc_cv_cc_novzeroupper): Likewise.
6105 * sysdeps/i386/configure: Regenerated.
6108 * sysdeps/i386/fpu/s_cexp.S: Remove.
6109 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6110 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6111 * math/libm-test.inc (cexp_test): Add more tests.
6112 * sysdeps/i386/fpu/libm-test-ulps: Update.
6113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6115 2012-03-21 Allan McRae <allan@archlinux.org>
6117 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6119 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6122 * math/w_exp2.c: Do not include <float.h>.
6123 (o_threshold, u_threshold): Remove.
6124 (__exp2): Calculate result before checking finiteness and calling
6126 * math/w_exp2f.c: Likewise.
6127 * math/w_exp2l.c: Likewise.
6128 * math/libm-test.inc (exp2_test): Require overflow exception for
6132 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6133 range of signed 64-bit integers before using fistpll. Remove
6134 checks for whether integers fit in mantissa bits.
6135 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6136 the range of signed 32-bit integers before using fistpl. Remove
6137 checks for whether integers fit in mantissa bits.
6138 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6139 (__ieee754_powl): Test for y outside the range of signed 64-bit
6140 integers before using fistpll. Reduce 64-bit values to 63-bit
6142 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6143 divide-by-zero is raised for zero to large negative powers.
6144 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6145 (__ieee754_powl): Test for y outside the range of signed 64-bit
6146 integers before using fistpll. Reduce 64-bit values to 63-bit
6148 * math/libm-test.inc (pow_test): Add more tests.
6150 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6152 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6153 <stdio-common/_itoa.h>.
6154 * debug/segfault.c: Likewise.
6155 * elf/dl-cache.c: Likewise.
6156 * elf/dl-minimal.c: Likewise.
6157 * elf/dl-misc.c: Likewise.
6158 * elf/dl-sysdep.c: Likewise.
6159 * elf/dl-version.c: Likewise.
6160 * elf/rtld.c: Likewise.
6161 * hurd/hurdsock.c: Likewise.
6162 * hurd/lookup-retry.c: Likewise.
6163 * malloc/malloc.c: Likewise.
6164 * malloc/mtrace.c: Likewise.
6165 * nscd/nscd_getgr_r.c: Likewise.
6166 * nscd/nscd_getpw_r.c: Likewise.
6167 * nscd/nscd_getserv_r.c: Likewise.
6168 * posix/getopt_init.c: Likewise.
6169 * posix/wordexp.c: Likewise.
6170 * stdio-common/_itoa.c: Likewise.
6171 * stdio-common/printf_fphex.c: Likewise.
6172 * stdio-common/vfprintf.c: Likewise.
6173 * string/_strerror.c: Likewise.
6174 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6175 * sysdeps/i386/i686/hp-timing.h: Likewise.
6176 * sysdeps/mach/_strerror.c: Likewise.
6177 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6178 * sysdeps/mach/hurd/sethostid.c: Likewise.
6179 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6180 * sysdeps/mach/xpg-strerror.c: Likewise.
6181 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6182 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6183 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6184 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6185 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6186 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6187 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6188 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6189 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6190 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6191 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6192 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6193 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6194 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6195 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6196 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6197 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6198 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6199 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6200 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6201 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6203 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6205 * stdio-common/_itoa.h: Moved to ...
6206 * sysdeps/generic/_itoa.h: Here.
6208 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6210 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6211 instead of "_itoa.h" and "_itowa.h".
6212 * stdio-common/vfprintf.: Likewise.
6214 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6216 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6218 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6219 (__signbit): Likwise.
6223 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6225 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6228 2012-03-20 Joseph Myers <joseph@codesourcery.com>
6230 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6231 OVERFLOW_EXCEPTION_OK.
6232 * math/libm-test.inc ("Philosophy"): Update comment about
6234 (OVERFLOW_EXCEPTION): Define.
6235 (OVERFLOW_EXCEPTION_OK): Likewise.
6236 (INVALID_EXCEPTION_OK): Renumber.
6237 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6238 (IGNORE_ZERO_INF_SIGN): Likewise.
6239 (test_exceptions): Handle FE_OVERFLOW.
6240 (exp10_test): Expect overflow exceptions.
6241 (exp2_test): Likewise.
6242 (expm1_test): Likewise.
6243 (nextafter_test): Likewise.
6244 (pow_test): Likewise.
6245 (scalbn_test): Likewise.
6246 (scalbln_test): Likewise.
6248 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6250 * sysdeps/x86_64/bits/atomic.h
6251 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6253 (atomic_exchange_acq): Likewise.
6254 (__arch_exchange_and_add_body): Likewise.
6255 (__arch_add_body): Likewise.
6256 (atomic_add_negative): Likewise.
6257 (atomic_add_zero): Likewise.
6259 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6261 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
6262 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6264 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6266 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6267 Check __x86_64__ instead of __WORDSIZE.
6269 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6271 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6273 2012-03-19 David S. Miller <davem@davemloft.net>
6275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6277 * sysdeps/sparc/fpu/fenv_private.h: New file.
6278 * sysdeps/sparc/fpu/math_private.h: Use it.
6279 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6281 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6282 (libc_feholdexcept_setroundl): Remove.
6283 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6285 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6286 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6288 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6290 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6291 int64_t instead of long int.
6292 (INSERT_WORDS64): Likwise.
6294 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6296 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6297 _Unwind_GetCFA return to _Unwind_Ptr first.
6299 2012-03-19 Joseph Myers <joseph@codesourcery.com>
6302 * math/s_clog.c: Include <float.h>.
6303 (__clog): Scale large or subnormal inputs.
6304 * math/s_clogf.c: Likewise.
6305 * math/s_clogl.c: Likewise.
6306 * math/s_clog10.c: Include <float.h>.
6307 (M_LOG10_2): Define.
6308 (__clog10): Scale large or subnormal inputs.
6309 * math/s_clog10f.c: Likewise.
6310 * math/s_clog10l.c: Likewise.
6311 * math/libm-test.inc (clog_test): Add more tests.
6312 (clog10_test): Likewise.
6313 * sysdeps/i386/fpu/libm-test-ulps: Update.
6314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6317 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6319 * math/libm-test.inc (atan2_test): Add another test.
6321 * Makerules (common-objdir-compile): Remove.
6322 * sysdeps/unix/Makefile (config-generated): Do not add
6323 $(unix-generated) to variable.
6324 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6325 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6327 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6329 [generic bits/local_lim.h] (before-compile): Do not append to
6331 [generic bits/local_lim.h] (common-generated): Likewise.
6332 [generic sys/param.h] (before-compile): Do not append to variable.
6333 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6334 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6335 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6336 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6338 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6339 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6340 [generic sys/param.h] ($(addprefix
6341 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6342 [generic sys/param.h] (common-generated): Do not append to
6344 [generic sys/param.h] (sysdep_headers): Likewise.
6345 [generic bits/errno.h] (before-compile): Do not append to
6347 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6349 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6350 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6351 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6352 [generic bits/errno.h] (common-generated): Do not append to
6354 [generic bits/ioctls.h] (before-compile): Do not append to
6356 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6358 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6359 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6360 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6362 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6363 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6364 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6365 [generic bits/ioctls.h] (common-generated): Do not append to
6367 [generic sys/syscall.h] (syscall.h): Remove variable.
6368 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6370 [generic sys/syscall.h] (before-compile): Do not append to
6372 [generic sys/syscall.h] (common-generated): Likewise.
6373 * sysdeps/unix/errnos-tmpl.c: Remove file.
6374 * sysdeps/unix/errnos.awk: Likewise.
6375 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6376 * sysdeps/unix/ioctls.awk: Likewise.
6377 * sysdeps/unix/mk-local_lim.c: Likewise.
6378 * sysdeps/unix/snarf-ioctls: Likewise.
6380 2012-03-19 Richard Henderson <rth@twiddle.net>
6382 * sysdeps/i386/fpu/fenv_private.h: New file.
6383 * sysdeps/i386/fpu/math_private.h: Use it.
6384 (math_opt_barrier, math_force_eval): Remove.
6385 (libc_feholdexcept_setround_53bit): Remove.
6386 (libc_feupdateenv_53bit): Remove.
6387 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6388 (math_opt_barrier, math_force_eval): Remove.
6389 (libc_feholdexcept): Remove.
6390 (libc_feholdexcept_setround): Remove.
6391 (libc_fetestexcept, libc_fesetenv): Remove.
6392 (libc_feupdateenv_test): Remove.
6393 (libc_feupdateenv, libc_feholdsetround): Remove.
6394 (libc_feresetround): Remove.
6396 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6397 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6399 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6400 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6401 (libc_feupdateenv_testl): New.
6402 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6403 (libc_feupdateenv_testf): New.
6404 (libc_feupdateenv): Use libc_feupdateenv_test.
6405 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6406 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6408 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6409 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6410 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6411 (libc_feresetround_noex): New.
6412 (libc_feresetround_noexf): New.
6413 (libc_feresetround_noexl): New.
6414 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6415 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6416 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6417 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6419 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6420 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6422 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6423 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6424 SET_RESTORE_ROUND_NOEX.
6425 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6426 SET_RESTORE_ROUND_NOEXF.
6427 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6428 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6429 (libc_feholdsetroundf): New.
6430 (libc_feresetround, libc_feresetroundf): New.
6432 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6433 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6434 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6436 * sysdeps/generic/math_private.h: Include <fenv.h>.
6437 (default_libc_feholdexcept): New.
6438 (default_libc_feholdexcept_setround): New.
6439 (default_libc_fesetenv, default_libc_feupdateenv): New.
6440 (libc_feholdexcept): Only define if undefined.
6441 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6442 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6443 (libc_feholdexcept_setroundl): Likewise.
6444 (libc_feholdexcept_setround_53bit): Likewise.
6445 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6446 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6447 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6448 (libc_feupdateenv_53bit): Likewise.
6449 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6450 (libc_feholdexcept): Convert from macro to inline function.
6451 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6452 (libc_fesetenv, libc_feupdateenv): Likewise.
6454 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6455 not previously defined.
6456 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6457 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6458 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6459 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6460 * sysdeps/ieee754/flt-32/math_private.h: New file.
6461 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6462 math_private.h below SET_FLOAT_WORD.
6463 (__isnan, __isinf_ns, __finite): Remove.
6464 (__isnanf, __isinf_nsf, __finitef): Remove.
6466 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6470 2012-03-17 David S. Miller <davem@davemloft.net>
6473 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6476 2012-03-16 David S. Miller <davem@davemloft.net>
6478 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6482 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6484 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6485 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6486 sysdep_routines when subdir is sysvipc.
6487 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6490 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6492 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6494 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6497 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6499 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6500 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6501 (__lround): Renamed to ...
6502 (__llround): This. Replace long int with long long int.
6503 Define lround functions as aliases of llround functions.
6504 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6506 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6508 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6509 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6510 adresses to uintptr_t. Replace "long int" and "unsigned long
6511 int" with "greg_t" on va_arg.
6513 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6515 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6516 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6518 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6519 Move e_machine check before EI_CLASS check. Handle x32
6520 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6521 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6522 SKIP_EM_IA_64 and include
6523 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6525 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6526 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6527 (add_system_dir): New macro.
6529 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6530 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6532 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6543 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6545 * math/w_j0f.c (j0f): Likewise.
6547 * math/w_j0l.c (__j0l): Likewise.
6549 * math/w_j1.c (j1): Likewise.
6551 * math/w_j1f.c (j1f): Likewise.
6553 * math/w_j1l.c (__j1l): Likewise.
6555 * math/w_jn.c (jn): Likewise.
6557 * math/w_jnf.c (jnf): Likewise.
6559 * math/w_jnl.c (__jnl): Likewise.
6561 * math/libm-test.inc (j0_test): Add more tests.
6562 (j1_test): Likewise.
6563 (jn_test): Likewise. Add trailing semicolon to existing test.
6564 (y0_test): Likewise.
6565 (y1_test): Likewise.
6566 * sysdeps/i386/fpu/libm-test-ulps: Update.
6567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6571 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6572 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6573 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6574 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6575 (__tanl): Set errno for infinite argument.
6576 * sysdeps/i386/fpu/mptan.c: Remove.
6577 * sysdeps/i386/fpu/s_tan.S: Likewise.
6578 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6579 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6580 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6581 * math/libm-test.inc (tan_test): Add more tests and enable more
6582 tests for double and long double.
6583 * sysdeps/i386/fpu/libm-test-ulps: Update.
6584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6586 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6588 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6589 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6591 2012-03-16 Roland McGrath <roland@hack.frob.com>
6593 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6594 * configure.in: Use it for both main tree and add-ons.
6595 * configure: Regenerated.
6597 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6599 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6601 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6603 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6607 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6608 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6609 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6610 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6611 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6613 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6614 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6616 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6617 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6618 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6619 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6620 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6621 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6622 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6623 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6624 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6625 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6626 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6627 * math/libm-test.inc (cos_test): Add more tests and enable more
6628 tests for long double.
6629 (sin_test): Likewise.
6630 (sincos_test): Likewise.
6631 * sysdeps/i386/fpu/libm-test-ulps: Update.
6632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6634 2012-03-16 David S. Miller <davem@davemloft.net>
6636 * sysdeps/sparc/fpu/math_private.h: New file.
6638 2012-03-15 David S. Miller <davem@davemloft.net>
6640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6650 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6654 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6655 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6657 * sysdeps/sparc/sparc-ifunc.h: New file.
6658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6682 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6684 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6685 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6686 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6687 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6692 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6693 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6696 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6697 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6698 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6699 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6700 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6701 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6703 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6705 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6709 2012-03-15 Andreas Jaeger <aj@suse.de>
6712 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6713 ieee754/flt-32 implementation for sin, cos and sincos.
6714 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6715 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6716 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6717 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6718 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6719 ieee754/flt-32 implementation for tan.
6721 * math/libm-test.inc (cos_test): Enable some large input tests for
6723 (sin_test): Likewise.
6724 (sincos_test): Likewise.
6725 (tan_test): Add tests for large input.
6727 * sysdeps/i386/fpu/libm-test-ulps: Update.
6729 2012-03-15 Andreas Jaeger <aj@suse.de>
6732 * math/libm-test.inc (cos_test): Add more test cases.
6733 (sin_test): Likewise.
6734 (sincos_test): Likewise.
6736 2012-03-15 Andreas Jaeger <aj@suse.de>
6739 * math/libm-test.inc (cos_test): Add a test case for large input
6741 (sin_test): Likewise.
6742 (sincos_test): Likewise.
6744 2012-03-15 Andreas Jaeger <aj@suse.de>,
6745 Joseph Myers <joseph@codesourcery.com>
6748 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6749 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6750 * sysdeps/i386/fpu/branred.c: Likewise.
6751 * sysdeps/i386/fpu/dosincos.c: Likewise.
6752 * sysdeps/i386/fpu/mpa.c: Likewise.
6753 * sysdeps/i386/fpu/s_cos.S: Likewise.
6754 * sysdeps/i386/fpu/s_sin.S: Likewise.
6755 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6756 * sysdeps/i386/fpu/sincos32.c: Likewise.
6758 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6760 (libc_feupdateenv_53bit): Define.
6761 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6763 (libc_feupdateenv_53bit): Define.
6765 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6766 53 bit (without extend i386 double precision).
6768 * math/libm-test.inc (sincos_test): Add tests for large input.
6772 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6774 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6778 2012-03-15 David S. Miller <davem@davemloft.net>
6780 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6781 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6782 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6783 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6807 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6808 fmin/fmax sysdep routines.
6809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6811 2012-03-14 David S. Miller <davem@davemloft.net>
6813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6814 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6815 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6816 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6817 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6818 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6819 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6820 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6821 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6822 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6825 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6826 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6827 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6828 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6829 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6830 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6831 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6832 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6833 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6834 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6835 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6836 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6837 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6838 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6839 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6840 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6841 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6885 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6890 * sysdeps/sparc/configure.in: New file.
6891 * sysdeps/sparc/configure: Generate.
6892 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6893 * configure: Regenerate.
6894 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6895 * config.make.in (have-as-vis3): New.
6896 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6897 available use -Av9d instead of -Av9a.
6898 * sysdeps/sparc/sparc64/Makefile: Likewise.
6899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6908 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6909 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6910 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6911 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6912 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6914 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6915 fzeros/fnegs to load 0x80000000 into a float register instead of
6917 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6919 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6923 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6924 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6925 ($(inst_includedir)/bits/syscall.h): Remove rule.
6926 ($(objpfx)bits/syscall.d): Include instead of
6927 $(objpfx)syscall-list.d.
6928 (generated): Change syscall-list.h and syscall-list.d to
6929 bits/syscall.h and bits/syscall.d.
6931 2012-03-14 Roland McGrath <roland@hack.frob.com>
6934 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6936 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6939 * math/s_csqrt.c: Include <float.h>.
6940 (__csqrt): Scale large or subnormal inputs.
6941 * math/s_csqrtf.c: Likewise.
6942 * math/s_csqrtl.c: Likewise.
6943 * math/libm-test.inc (csqrt_test): Add more tests.
6944 * sysdeps/i386/fpu/libm-test-ulps: Update.
6945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6948 * math/libm-test.inc (hypot_test): Add more tests.
6950 2012-03-13 David S. Miller <davem@davemloft.net>
6953 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6954 double-precision for the calculation instead of scaling.
6956 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6958 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6959 manipulate bits before adding and subtracting TWO52[sx].
6960 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6961 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6963 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6965 2012-03-13 David S. Miller <davem@davemloft.net>
6967 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6968 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6969 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6970 rtld-global-offsets.h
6971 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6973 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6976 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6978 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6979 'err' in the ifdef scope in which it is actually used.
6981 * nss/nss_db/db-init.c: Include string.h
6983 2012-03-12 David S. Miller <davem@davemloft.net>
6985 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6986 masking out of the most significant byte of random value used.
6987 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6988 Fix coding style in previous change.
6990 * sysdeps/unix/sysv/linux/kernel-features.h
6991 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6992 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6994 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6997 2012-03-11 David S. Miller <davem@davemloft.net>
6999 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7000 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7001 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7002 for 'resultvar' otherwise things get truncated on 64-bit.
7004 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7005 Fix masking out of the most significant byte of random value used.
7007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7009 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7013 2012-03-09 David S. Miller <davem@davemloft.net>
7015 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7016 variables with appropriate CPP guards.
7017 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7018 frame pointer, not the stack pointer. Correct layout comments. Fix test
7019 on resulting framesize and the management of the outregs buffer for pltexit.
7020 Preserve floating point return values across _dl_call_pltexit call.
7021 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7022 framesize and the management of the outregs buffer for pltexit.
7023 Preserve floating point return values across _dl_call_pltexit
7025 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7026 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7027 (print_exit): Fix format string for return register value.
7029 2012-03-10 Joseph Myers <joseph@codesourcery.com>
7031 * sunrpc/Makefile (others): Add rpcgen.
7032 ($(objpfx)rpcgen): Remove special build rule and dependency on
7034 * sunrpc/rpcgen.c: New file.
7036 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7039 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7040 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7041 * sysdeps/i386/crti.S: Likewise.
7042 * sysdeps/i386/crtn.S: Likewise.
7043 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7044 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7045 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7046 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7047 * sysdeps/sh/crti.S: Likewise.
7048 * sysdeps/sh/crtn.S: Likewise.
7049 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7052 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7054 * locale/programs/locfile-kw.gperf: Likewise.
7055 * locale/programs/charmap-kw.h: Regenerated.
7056 * locale/programs/locfile-kw.h: Likewise.
7059 * intl/plural.y: Replace FSF snail mail address with URL.
7060 * intl/plural.c: Regenerated.
7062 2012-03-09 Richard Henderson <rth@twiddle.net>
7064 * include/math_private.h: Remove file.
7065 * math/math_private.h: Move file ...
7066 * sysdeps/generic/math_private.h: ... here.
7068 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7069 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7070 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7072 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
7073 and <math_private.h>.
7074 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7075 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7076 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7077 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7078 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7079 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7080 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7081 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7082 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7083 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7084 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7085 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7086 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7087 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7088 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7089 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7090 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7091 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7092 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7093 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7094 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7095 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7096 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7097 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7098 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7099 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7100 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7101 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7102 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7103 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7104 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7105 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7106 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7107 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7108 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7109 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7110 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7111 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7112 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7113 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7114 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7115 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7116 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7117 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7118 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7119 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7120 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7121 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7122 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7123 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7124 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7125 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7126 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7127 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7128 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7129 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7130 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7131 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7132 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7133 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7134 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7135 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7136 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7137 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7138 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7139 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7140 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7141 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7142 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7143 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7144 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7145 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7146 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7147 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7148 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7149 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7150 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7151 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7152 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7153 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7154 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7155 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7156 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7157 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7158 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7159 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7160 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7161 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7162 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7163 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7164 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7165 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7166 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7167 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7168 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7169 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7170 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7171 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7172 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7173 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7174 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7175 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7176 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7177 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7178 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7179 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7180 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7181 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7182 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7183 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7184 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7185 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7186 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7187 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7188 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7189 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7190 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7191 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7192 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7193 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7194 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7195 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7196 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7197 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7198 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7199 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7200 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7201 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7202 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7203 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7204 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7205 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7206 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7207 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7208 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7209 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7210 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7211 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7212 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7213 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7214 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7215 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7216 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7217 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7218 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7219 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7220 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7221 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7222 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7223 * sysdeps/ieee754/k_standard.c: Likewise.
7224 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7225 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7226 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7227 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7228 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7229 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7230 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7231 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7232 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7233 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7234 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7235 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7236 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7237 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7238 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7239 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7240 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7241 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7242 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7243 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7244 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7245 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7246 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7247 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7248 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7249 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7250 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7251 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7252 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7253 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7254 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7255 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7256 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7257 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7258 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7259 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7260 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7261 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7262 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7263 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7265 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7266 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7267 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7268 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7270 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7271 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7272 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7274 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7275 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7276 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7277 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7278 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7279 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7280 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7281 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7282 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7283 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7284 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7285 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7286 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7287 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7288 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7289 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7290 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7291 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7292 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7293 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7294 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7295 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7296 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7297 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7298 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7300 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7301 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7302 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7303 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7304 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7305 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7306 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7307 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7308 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7309 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7310 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7311 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7312 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7313 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7314 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7315 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7316 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7317 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7318 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7319 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7320 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7321 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7322 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7323 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7324 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7325 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7326 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7327 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7328 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7329 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7330 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7331 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7332 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7333 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7334 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7335 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7336 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7337 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7338 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7339 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7340 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7341 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7342 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7343 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7344 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7345 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7346 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7347 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7348 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7349 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7350 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7351 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7352 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7353 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7354 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7355 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7356 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7357 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7358 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7359 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7360 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7361 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7362 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7363 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7364 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7365 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7366 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7367 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7368 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7369 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7370 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7371 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7372 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7373 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7374 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7375 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7376 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7377 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7378 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7379 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7380 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7381 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7382 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7383 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7384 * sysdeps/ieee754/s_lib_version.c: Likewise.
7385 * sysdeps/ieee754/s_matherr.c: Likewise.
7386 * sysdeps/ieee754/s_signgam.c: Likewise.
7387 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7388 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7389 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7390 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7391 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7392 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7393 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7394 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7395 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7396 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7397 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7398 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7399 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7400 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7401 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7402 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7403 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7404 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7405 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7406 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7407 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7409 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7411 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7412 * sunrpc/rpc_main.c: Likewise.
7413 * sunrpc/rpc_svcout.c: Likewise.
7415 2012-03-09 David S. Miller <davem@davemloft.net>
7417 * include/math_private.h: New file.
7419 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7421 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7422 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7423 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7424 from <bits/socket_type.h>.
7425 (enum __socket_type): Don't define here.
7426 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7431 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7434 * Makerules ($(inst_includedir)/%.h): New rule.
7435 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7436 (install-others): Remove variable setting.
7437 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7439 2012-03-08 Richard Henderson <rth@twiddle.net>
7441 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7442 from macro to inline function; merge with the
7443 !__LIBC_INTERNAL_MATH_INLINES version.
7444 (__ieee754_sqrtf): Likewise.
7446 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7448 (__rintf, __floor, __floorf): Likewise.
7450 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7451 macro to inline function.
7452 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7454 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7455 not <math/math_private.h>.
7457 2012-03-08 David S. Miller <davem@davemloft.net>
7459 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7461 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7463 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7465 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7467 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7468 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7470 2012-03-08 Ulrich Drepper <drepper@gmail.com>
7472 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7473 be defined individually, they must be defined as a block. Define
7474 S for printing a string instead of hidint the different by using a
7475 macro for adding the 'l'.
7476 * stdio-common/tst-fphex-wide.c: Adjust.
7478 2012-03-07 Marek Polacek <polacek@redhat.com>
7480 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7482 2012-03-08 Marek Polacek <polacek@redhat.com>
7485 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7486 * stdio-common/tst-fphex.c: Define a few macros to make the
7487 test reusable. Use them.
7488 * stdio-common/tst-fphex-wide.c: New file.
7490 2012-03-08 Joseph Myers <joseph@codesourcery.com>
7493 * manual/macros.texi (gnusystems): New macro.
7494 (nongnusystems): Likewise.
7495 (gnulinuxhurdsystems): Likewise.
7496 (gnuhurdsystems): Likewise..
7497 (gnulinuxsystems): Likewise.
7498 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7499 variants of the GNU system, not "GNU system".
7500 * manual/conf.texi: Likewise.
7501 * manual/errno.texi: Likewise. Update example of errno macro
7503 * manual/filesys.texi: Likewise.
7504 (getumask): Document as specific to GNU/Hurd.
7505 * manual/install.texi: Likewise. Reword some references to
7507 * manual/intro.texi: Likewise.
7508 * manual/io.texi: Likewise.
7509 (File Name Portability): Detail which constraints are inapplicable
7510 to all GNU systems and which are only inapplicable to GNU/Hurd.
7511 * manual/job.texi: Likewise.
7512 * manual/llio.texi: Likewise.
7513 (O_NOCTTY): Document as present on GNU/Linux.
7514 * manual/maint.texi: Likewise.
7515 * manual/memory.texi: Likewise.
7516 * manual/pattern.texi: Likewise.
7517 * manual/pipe.texi: Likewise.
7518 * manual/process.texi: Likewise.
7519 * manual/resource.texi: Likewise.
7520 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7522 * manual/setjmp.texi: Likewise.
7523 * manual/signal.texi: Likewise.
7524 * manual/startup.texi: Likewise.
7525 * manual/stdio.texi: Likewise.
7526 * manual/terminal.texi: Likewise.
7527 (ONLCR): Document as POSIX.
7528 (OXTABS): Document availability on GNU/Linux as XTABS.
7529 (ONOEOT): Document availability separately from other bits.
7530 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7531 * manual/time.texi: Likewise.
7532 * manual/users.texi: Likewise.
7533 * INSTALL: Regenerated.
7534 * sysdeps/gnu/errlist.c: Regenerated.
7536 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7537 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7538 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7540 * configure: Regenerated.
7542 2012-03-07 Joseph Myers <joseph@codesourcery.com>
7544 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7545 default includes instead of AC_HEADER_CHECK.
7546 * sysdeps/i386/configure: Regenerated.
7549 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7550 * math/s_cacoshf.c (__cacoshf): Likewise.
7551 * math/s_cacoshl.c (__cacoshl): Likewise.
7552 * math/s_casinh.c (__casinh): Set signs of result from argument.
7553 * math/s_casinhf.c (__casinhf): Likewise.
7554 * math/s_casinhl.c (__casinhl): Likewise.
7555 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7556 (casinh_test): Add more tests.
7557 * sysdeps/i386/fpu/libm-test-ulps: Update.
7558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7560 2012-03-07 Ulrich Drepper <drepper@gmail.com>
7562 * po/zh_TW.po: Update from translation team.
7564 * login/Makefile (distribute): Remove variable.
7565 * catgets/Makefile: Likewise.
7566 * mach/Makefile: Likewise.
7567 * malloc/Makefile: Likewise.
7568 * misc/Makefile: Likewise.
7569 * iconv/Makefile: Likewise.
7570 * nscd/Makefile: Likewise.
7571 * hurd/Makefile: Likewise.
7572 * manual/Makefile: Likewise.
7573 * locale/Makefile: Likewise.
7574 * intl/Makefile: Likewise.
7575 * conform/Makefile: Likewise.
7576 * nss/Makefile: Likewise.
7577 * time/Makefile: Likewise.
7578 * soft-fp/Makefile: Likewise.
7579 * dirent/Makefile: Likewise.
7580 * gmon/Makefile: Likewise.
7581 * po/Makefile: Likewise.
7582 * rt/Makefile: Likewise.
7583 * socket/Makefile: Likewise.
7584 * math/Makefile: Likewise.
7585 * signal/Makefile: Likewise.
7586 * debug/Makefile: Likewise.
7587 * elf/Makefile: Likewise.
7588 * timezone/Makefile: Likewise.
7589 * stdlib/Makefile: Likewise.
7590 * iconvdata/Makefile: Likewise.
7591 * sunrpc/Makefile: Likewise.
7592 * io/Makefile: Likewise.
7593 * argp/Makefile: Likewise.
7594 * inet/Makefile: Likewise.
7595 * hesiod/Makefile: Likewise.
7596 * grp/Makefile: Likewise.
7597 * csu/Makefile: Likewise.
7598 * wctype/Makefile: Likewise.
7599 * crypt/Makefile: Likewise.
7600 * libio/Makefile: Likewise.
7601 * string/Makefile: Likewise.
7602 * nis/Makefile: Likewise.
7603 * resolv/Makefile: Likewise.
7604 * stdio-common/Makefile: Likewise.
7605 * wcsmbs/Makefile: Likewise.
7606 * dlfcn/Makefile: Likewise.
7607 * posix/Makefile: Likewise.
7610 * timezone/Makefile: Don't install timezone files, just the programs
7613 2012-03-06 Ulrich Drepper <drepper@gmail.com>
7615 * nss/databases.def: Add missing gshadow entry.
7617 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7619 2012-03-06 Marek Polacek <polacek@redhat.com>
7622 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7623 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7624 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7625 * stdio-common/tst-long-dbl-fphex.c: New file.
7627 2012-03-06 David S. Miller <davem@davemloft.net>
7629 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7630 (set_obp_int): New function.
7631 (get_obp_int): New function.
7632 (__get_clockfreq_via_dev_openprom): Likewise.
7633 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7634 Avoid unused variable warnings on 'val' and use builtin_expect.
7635 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7637 (INLINE_CLONE_SYSCALL): Likewise.
7639 2012-03-05 David S. Miller <davem@davemloft.net>
7641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7643 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7647 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7649 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7651 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
7653 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7654 Replace gettimeofday with __vdso_gettimeofday.
7656 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7657 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7658 __vdso_clock_gettime and __vdso_getcpu.
7660 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7661 time with __vdso_time.
7663 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7665 * manual/lang.texi (size_t): Note types to which size_t may be
7666 equivalent with the GNU C Library, but do not describe when
7667 differences between them are significant.
7669 2012-03-05 Andreas Jaeger <aj@suse.de>
7671 * sysdeps/i386/fpu/libm-test-ulps: Update.
7673 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7676 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7677 (__ieee754_pow): Save and restore rounding mode and use
7678 round-to-nearest for main computations.
7679 * math/libm-test.inc (pow_test_tonearest): New function.
7680 (pow_test_towardzero): Likewise.
7681 (pow_test_downward): Likewise.
7682 (pow_test_upward): Likewise.
7683 (main): Call the new functions.
7684 * sysdeps/i386/fpu/libm-test-ulps: Update.
7685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7688 * math/libm-test.inc (cosh_test_tonearest): New function.
7689 (cosh_test_towardzero): Likewise.
7690 (cosh_test_downward): Likewise.
7691 (cosh_test_upward): Likewise.
7692 (sinh_test_tonearest): Likewise.
7693 (sinh_test_towardzero): Likewise.
7694 (sinh_test_downward): Likewise.
7695 (sinh_test_upward): Likewise.
7696 (main): Call the new functions.
7697 * sysdeps/i386/fpu/libm-test-ulps: Update.
7698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7700 2012-03-05 Tom de Vries <tom@codesourcery.com>
7702 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7703 default stack guard is set in last bytes.
7704 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7706 2012-03-05 Kees Cook <keescook@chromium.org>
7708 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7711 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7712 possibly allocate from heap instead of stack.
7713 * stdio-common/bug-vfprintf-nargs.c: New file.
7714 * stdio-common/Makefile (tests): Add nargs overflow test.
7716 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7720 2012-03-03 Marek Polacek <polacek@redhat.com>
7722 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7723 * math/math_private.h: Likewise.
7724 * stdlib/tst-strtod.c: Likewise.
7725 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7726 * sysdeps/x86_64/bits/atomic.h: Likewise.
7728 2012-03-02 David S. Miller <davem@davemloft.net>
7730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7734 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7735 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7736 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7737 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7739 2012-03-02 Roland McGrath <roland@hack.frob.com>
7742 * manual/examples/README: New file, says the example source files
7743 can be used under GPL>=2.
7744 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7745 line containing just "*/".
7746 * manual/examples/add.c: Add copyright header (GPL>=2).
7747 * manual/examples/argp-ex1.c: Likewise.
7748 * manual/examples/argp-ex2.c: Likewise.
7749 * manual/examples/argp-ex3.c: Likewise.
7750 * manual/examples/argp-ex4.c: Likewise.
7751 * manual/examples/atexit.c: Likewise.
7752 * manual/examples/db.c: Likewise.
7753 * manual/examples/dir.c: Likewise.
7754 * manual/examples/dir2.c: Likewise.
7755 * manual/examples/execinfo.c: Likewise.
7756 * manual/examples/filecli.c: Likewise.
7757 * manual/examples/filesrv.c: Likewise.
7758 * manual/examples/fmtmsgexpl.c: Likewise.
7759 * manual/examples/genpass.c: Likewise.
7760 * manual/examples/inetcli.c: Likewise.
7761 * manual/examples/inetsrv.c: Likewise.
7762 * manual/examples/isockad.c: Likewise.
7763 * manual/examples/longopt.c: Likewise.
7764 * manual/examples/memopen.c: Likewise.
7765 * manual/examples/memstrm.c: Likewise.
7766 * manual/examples/mkfsock.c: Likewise.
7767 * manual/examples/mkisock.c: Likewise.
7768 * manual/examples/mygetpass.c: Likewise.
7769 * manual/examples/pipe.c: Likewise.
7770 * manual/examples/popen.c: Likewise.
7771 * manual/examples/rprintf.c: Likewise.
7772 * manual/examples/search.c: Likewise.
7773 * manual/examples/select.c: Likewise.
7774 * manual/examples/setjmp.c: Likewise.
7775 * manual/examples/sigh1.c: Likewise.
7776 * manual/examples/sigusr.c: Likewise.
7777 * manual/examples/stpcpy.c: Likewise.
7778 * manual/examples/strdupa.c: Likewise.
7779 * manual/examples/strftim.c: Likewise.
7780 * manual/examples/strncat.c: Likewise.
7781 * manual/examples/subopt.c: Likewise.
7782 * manual/examples/swapcontext.c: Likewise.
7783 * manual/examples/termios.c: Likewise.
7784 * manual/examples/testopt.c: Likewise.
7785 * manual/examples/testpass.c: Likewise.
7786 * manual/examples/timeval_subtract.c: Likewise.
7789 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7791 * manual/timeval_subtract.c.texi: ... here, new file.
7793 2012-03-02 David S. Miller <davem@davemloft.net>
7795 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7797 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7800 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7801 (__sin): Save and restore rounding mode and use round-to-nearest
7802 for all computations.
7803 (__cos): Save and restore rounding mode and use round-to-nearest
7804 for all computations.
7805 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7807 (tan): Save and restore rounding mode and use round-to-nearest for
7809 * math/libm-test.inc (cos_test_tonearest): New function.
7810 (cos_test_towardzero): Likewise.
7811 (cos_test_downward): Likewise.
7812 (cos_test_upward): Likewise.
7813 (sin_test_tonearest): Likewise.
7814 (sin_test_towardzero): Likewise.
7815 (sin_test_downward): Likewise.
7816 (sin_test_upward): Likewise.
7817 (tan_test_tonearest): Likewise.
7818 (tan_test_towardzero): Likewise.
7819 (tan_test_downward): Likewise.
7820 (tan_test_upward): Likewise.
7821 (main): Call the new functions.
7822 * sysdeps/i386/fpu/libm-test-ulps: Update.
7823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7826 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7827 small n, then large n, before computing and testing k+n.
7828 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7829 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7831 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7833 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7834 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7835 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7836 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7837 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7838 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7839 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7840 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7841 * math/libm-test.inc (scalbn_test): Add more tests.
7842 (scalbln_test): Likewise.
7844 * manual/filesys.texi (mode_t): Describe constraints on size and
7845 signedness, not exact equivalence to a particular type.
7847 (ino64_t): Likewise.
7849 (nlink_t): Likewise.
7850 (blkcnt_t): Likewise.
7851 (blkcnt64_t): Likewise.
7852 * manual/llio.texi (off_t): Likewise.
7855 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7856 (__ieee754_exp): Save and restore rounding mode and use
7857 round-to-nearest for all computations.
7858 * math/libm-test.inc (exp_test_tonearest): New function.
7859 (exp_test_towardzero): Likewise.
7860 (exp_test_downward): Likewise.
7861 (exp_test_upward): Likewise.
7862 (main): Call the new functions.
7863 * sysdeps/i386/fpu/libm-test-ulps: Update.
7864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7866 2012-03-01 Chris Demetriou <cgd@google.com>
7868 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7869 have predictable order.
7871 2012-03-01 David S. Miller <davem@davemloft.net>
7873 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7875 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7876 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7877 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7878 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7880 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7881 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7882 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7884 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7885 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7886 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7887 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7888 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7892 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7893 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7894 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7896 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7897 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7898 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7899 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7900 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7901 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7902 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7903 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7904 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7905 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7906 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7907 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7908 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7909 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7910 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7911 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7912 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7913 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7914 * sysdeps/sparc/elf/configure: Regenerated.
7916 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7918 * configure.in (AS, LD): Require binutils 2.20 or later.
7919 * configure: Regenerated.
7920 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7921 as required minimum version.
7922 * INSTALL: Regenerated.
7926 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7927 before squaring exponent.
7928 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7929 bottom long double and 27 bits of top long double before squaring
7931 * math/libm-test.inc (erfc_test): Add more tests.
7932 * sysdeps/i386/fpu/libm-test-ulps: Update.
7933 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7936 2012-03-01 Kai Tietz <ktietz@redhat.com>
7938 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7939 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7940 containing bit-fields.
7941 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7942 * soft-fp/single.h (_FP_UNION_S): Likewise.
7943 * soft-fp/double.h (_FP_UNION_D): Likewise.
7945 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7948 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7949 not include ../strcmp.S.
7950 [USE_AS_STRNCASECMP_L]: Likewise.
7951 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7952 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7953 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7954 (__strncasecmp_l_ia32): Define as alias to
7955 __strncasecmp_l_nonascii.
7958 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7959 * sysdeps/i386/fpu/libm-test-ulps: Update.
7960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7962 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7965 2012-02-29 Jeff Law <law@redhat.com>
7967 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7970 2012-02-29 Marek Polacek <polacek@redhat.com>
7973 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7974 * elf/Makefile: Add rules to run tst-unused-dep.out.
7976 2012-02-28 David S. Miller <davem@davemloft.net>
7978 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7979 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7980 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7981 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7982 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7983 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7985 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7987 * math/libm-test.inc (llround_test): Move one test from
7988 lround_test. Use TEST_f_L in moved test.
7989 (lround_test): Move misplaced test to llround_test. Add testcase
7992 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7994 * sysdeps/x86_64/fpu/e_expf.S: New file.
7995 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7997 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8000 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8001 of remain_len that may cause incomplete multi-byte character and
8003 * posix/bug-regex33.c: New file.
8004 * posix/Makefile (tests): Add bug-regex33.
8006 2012-02-28 Joseph Myers <joseph@codesourcery.com>
8008 * manual/macros.texi: New file.
8009 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8010 * manual/libc.texinfo: Include macros.texi.
8011 * manual/creatute.texi: Likewise.
8012 * manual/install.texi: Likewise.
8013 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8014 @glibcadj{} in references to the GNU C Library.
8015 * manual/charset.texi: Likewise.
8016 * manual/conf.texi: Likewise.
8017 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8018 when not using those macros.
8019 * manual/creature.texi: Likewise.
8020 * manual/crypt.texi: Likewise.
8021 * manual/errno.texi: Likewise.
8022 * manual/filesys.texi: Likewise.
8023 * manual/header.texi: Likewise.
8024 * manual/install.texi: Likewise.
8025 * manual/intro.texi: Likewise.
8026 * manual/io.texi: Likewise.
8027 * manual/job.texi: Likewise.
8028 * manual/lang.texi: Likewise.
8029 * manual/libc.texiinfo: Likewise.
8030 * manual/llio.texi: Likewise.
8031 * manual/locale.texi: Likewise.
8032 * manual/maint.texi: Likewise.
8033 * manual/math.texi: Likewise.
8034 * manual/memory.texi: Likewise.
8035 * manual/message.texi: Likewise.
8036 * manual/nss.texi: Likewise.
8037 * manual/pattern.texi: Likewise.
8038 * manual/process.texi: Likewise.
8039 * manual/resource.texi: Likewise.
8040 * manual/search.texi: Likewise.
8041 * manual/setjmp.texi: Likewise.
8042 * manual/signal.texi: Likewise.
8043 * manual/socket.texi: Likewise.
8044 * manual/startup.texi: Likewise.
8045 * manual/stdio.texi: Likewise.
8046 * manual/string.texi: Likewise.
8047 * manual/sysinfo.texi: Likewise.
8048 * manual/syslog.texi: Likewise.
8049 * manual/terminal.texi: Likewise.
8050 * manual/time.texi: Likewise.
8051 * manual/users.texi: Likewise.
8052 * INSTALL: Regenerated.
8053 * NOTES: Regenerated.
8054 * sysdeps/gnu/errlist.c: Regenerated.
8056 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8058 * include/dirent.h: Include <dirstream.h> before
8061 2012-02-28 David S. Miller <davem@davemloft.net>
8063 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8064 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8065 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8066 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8068 2012-02-27 David S. Miller <davem@davemloft.net>
8070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8072 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8073 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8076 frame pointer instead of stack pointer relative arg slot.
8077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8078 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8079 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8081 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8084 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8086 2012-02-27 David S. Miller <davem@davemloft.net>
8088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8092 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8093 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8094 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8095 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8097 2012-02-27 Joseph Myers <joseph@codesourcery.com>
8099 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8100 later. Allow versions 5-9.
8101 * configure: Regenerated.
8102 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8103 required minimum version and 4.6 as recommended version. Do not
8104 mention bugs in GCC 2.7 and 2.8.
8105 * INSTALL: Regenerated.
8107 2012-02-27 David S. Miller <davem@davemloft.net>
8109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8113 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8114 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8115 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8116 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8118 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8119 manipulate bits before adding and subtracting TWO112[sx].
8120 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8122 2012-02-27 Roland McGrath <roland@hack.frob.com>
8125 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8126 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8127 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8128 being in POSIX, because they are in 1003.1-2008.
8130 * rt/tst-aio.c: Include <fcntl.h>.
8131 * rt/tst-aio7.c: Likewise.
8132 * rt/tst-aio64.c: Likewise.
8134 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8136 2012-02-27 Joseph Myers <joseph@codesourcery.com>
8138 * manual/install.texi (--with-headers): Describe headers as
8139 interface headers, not private headers.
8140 (Specific advice for GNU/Linux systems): Describe use of headers
8141 from "make headers_install", not private headers from older
8143 * INSTALL: Regenerated.
8144 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8146 * sysdeps/unix/sysv/linux/configure: Regenerated.
8148 * manual/llio.texi (fclean): Remove documentation.
8150 * manual/Makefile (libc-texi-generated): New variable. Include
8152 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8153 $(libc-texi-generated), not duplicated list of files.
8154 (version.texi, stamp-version): New rules.
8155 (realclean): Remove $(libc-texi-generated), not individual files
8156 from that list. Do not remove dir-add.texinfo.
8157 * manual/libc.texinfo: Comment out uses of edition numbers and
8158 references to printed manual. Remove last-updated dates.
8159 (EDITION): Comment out.
8161 (VERSION, UPDATED): Remove.
8162 (version.texi): Include.
8164 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8166 * sysdeps/posix/spawni.c: Include <signal.h>.
8167 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8168 * sysdeps/pthread/aio_fsync.c: Likewise.
8170 2012-02-26 Ulrich Drepper <drepper@gmail.com>
8172 * conform/Makefile (tests): Run only when not cross-compiling and
8173 when fast-check is not defined.
8175 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8176 * conform/data/limits.h-data: Fixes for POSIX2008.
8177 * conform/run-conformtest.sh: Run all tests.
8178 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8180 * include/bits/dlfcn.h: Likewise.
8181 * include/langinfo.h: Likewise.
8182 * include/monetary.h: Likewise.
8183 * include/sys/poll.h: Likewise.
8185 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8187 * posix/spawn.h: Define __need_sigset_t.
8188 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8189 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8190 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8191 to get sigevent_t only.
8192 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8194 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8195 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8196 process_vm_writev only for __USE_GNU.
8197 * termios/termios.h: Declare tcgetsid also for POSIX2008.
8199 * conform/Makefile: For now ignore errors from run-conformtest.
8200 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8201 POSIX to avoid namespace pollution. Don't prepend headers.
8202 * conform/data/aio.h-data: Fixes for POSIX testing.
8203 * conform/data/fcntl.h-data: Likewise.
8204 * conform/data/glob.h-data: Likewise.
8205 * conform/data/grp.h-data: Likewise.
8206 * conform/data/pthread.h-data: Likewise.
8207 * conform/data/pwd.h-data: Likewise.
8208 * conform/data/signal.h-data: Likewise.
8209 * conform/data/spawn.h-data: Likewise.
8210 * conform/data/stdio.h-data: Likewise.
8211 * conform/data/stdlib.h-data: Likewise.
8212 * conform/data/stropts.h-data: Likewise.
8213 * conform/data/sys/mman.h-data: Likewise.
8214 * conform/data/sys/stat.h-data: Likewise.
8215 * conform/data/sys/types.h-data: Likewise.
8216 * conform/data/sys/wait.h-data: Likewise.
8217 * conform/data/time.h-data: Likewise.
8218 * conform/data/unistd.h-data: Likewise.
8219 * conform/data/utime.h-data: Likewise.
8221 * io/sys/stat.h: fchmod was always in POSIX.
8222 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8223 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8224 * rt/aio.h: Define __need_timespec before including <time.h>.
8225 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8226 struct. Add forward declaration of pthread_attr_t and use it in
8228 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8229 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8230 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8231 always remove CLK_TCK definition.
8233 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8235 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8237 2012-02-25 Ulrich Drepper <drepper@gmail.com>
8239 * conform/run-conformtest.sh: New file.
8240 * conform/Makefile: Run run-conformtest for tests.
8241 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8244 * conform/data/uchar.h-data: New file.
8245 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8246 * conform/data/arpa/inet.h-data: Likewise.
8247 * conform/data/assert.h-data: Likewise.
8248 * conform/data/complex.h-data: Likewise.
8249 * conform/data/cpio.h-data: Likewise.
8250 * conform/data/ctype.h-data: Likewise.
8251 * conform/data/dirent.h-data: Likewise.
8252 * conform/data/dlfcn.h-data: Likewise.
8253 * conform/data/errno.h-data: Likewise.
8254 * conform/data/fcntl.h-data: Likewise.
8255 * conform/data/float.h-data: Likewise.
8256 * conform/data/fmtmsg.h-data: Likewise.
8257 * conform/data/fnmatch.h-data: Likewise.
8258 * conform/data/ftw.h-data: Likewise.
8259 * conform/data/glob.h-data: Likewise.
8260 * conform/data/grp.h-data: Likewise.
8261 * conform/data/iconv.h-data: Likewise.
8262 * conform/data/inttypes.h-data: Likewise.
8263 * conform/data/langinfo.h-data: Likewise.
8264 * conform/data/libgen.h-data: Likewise.
8265 * conform/data/limits.h-data: Likewise.
8266 * conform/data/locale.h-data: Likewise.
8267 * conform/data/math.h-data: Likewise.
8268 * conform/data/monetary.h-data: Likewise.
8269 * conform/data/mqueue.h-data: Likewise.
8270 * conform/data/ndbm.h-data: Likewise.
8271 * conform/data/net/if.h-data: Likewise.
8272 * conform/data/netdb.h-data: Likewise.
8273 * conform/data/netinet/in.h-data: Likewise.
8274 * conform/data/nl_types.h-data: Likewise.
8275 * conform/data/poll.h-data: Likewise.
8276 * conform/data/pthread.h-data: Likewise.
8277 * conform/data/pwd.h-data: Likewise.
8278 * conform/data/regex.h-data: Likewise.
8279 * conform/data/sched.h-data: Likewise.
8280 * conform/data/search.h-data: Likewise.
8281 * conform/data/semaphore.h-data: Likewise.
8282 * conform/data/setjmp.h-data: Likewise.
8283 * conform/data/signal.h-data: Likewise.
8284 * conform/data/spawn.h-data: Likewise.
8285 * conform/data/stdarg.h-data: Likewise.
8286 * conform/data/stdio.h-data: Likewise.
8287 * conform/data/stdlib.h-data: Likewise.
8288 * conform/data/string.h-data: Likewise.
8289 * conform/data/strings.h-data: Likewise.
8290 * conform/data/stropts.h-data: Likewise.
8291 * conform/data/sys/ipc.h-data: Likewise.
8292 * conform/data/sys/mman.h-data: Likewise.
8293 * conform/data/sys/msg.h-data: Likewise.
8294 * conform/data/sys/resource.h-data: Likewise.
8295 * conform/data/sys/select.h-data: Likewise.
8296 * conform/data/sys/sem.h-data: Likewise.
8297 * conform/data/sys/shm.h-data: Likewise.
8298 * conform/data/sys/socket.h-data: Likewise.
8299 * conform/data/sys/stat.h-data: Likewise.
8300 * conform/data/sys/statvfs.h-data: Likewise.
8301 * conform/data/sys/time.h-data: Likewise.
8302 * conform/data/sys/timeb.h-data: Likewise.
8303 * conform/data/sys/times.h-data: Likewise.
8304 * conform/data/sys/types.h-data: Likewise.
8305 * conform/data/sys/uio.h-data: Likewise.
8306 * conform/data/sys/un.h-data: Likewise.
8307 * conform/data/sys/utsname.h-data: Likewise.
8308 * conform/data/sys/wait.h-data: Likewise.
8309 * conform/data/syslog.h-data: Likewise.
8310 * conform/data/tar.h-data: Likewise.
8311 * conform/data/termios.h-data: Likewise.
8312 * conform/data/utime.h-data: Likewise.
8313 * conform/data/utmpx.h-data: Likewise.
8314 * conform/data/varargs.h-data: Likewise.
8315 * conform/data/wchar.h-data: Likewise.
8316 * conform/data/wctype.h-data: Likewise.
8317 * conform/data/wordexp.h-data: Likewise.
8319 * include/stropts.h: New file.
8320 * include/uchar.h: New file.
8321 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8322 * include/assert.h: Likewise.
8323 * include/ctype.h: Likewise.
8324 * include/dirent.h: Likewise.
8325 * include/dlfcn.h: Likewise.
8326 * include/fcntl.h: Likewise.
8327 * include/fnmatch.h: Likewise.
8328 * include/glob.h: Likewise.
8329 * include/grp.h: Likewise.
8330 * include/libio.h: Likewise.
8331 * include/locale.h: Likewise.
8332 * include/math.h: Likewise.
8333 * include/net/if.h: Likewise.
8334 * include/netdb.h: Likewise.
8335 * include/netinet/in.h: Likewise.
8336 * include/pthread.h: Likewise.
8337 * include/pwd.h: Likewise.
8338 * include/regex.h: Likewise.
8339 * include/sched.h: Likewise.
8340 * include/search.h: Likewise.
8341 * include/setjmp.h: Likewise.
8342 * include/signal.h: Likewise.
8343 * include/stdio.h: Likewise.
8344 * include/stdlib.h: Likewise.
8345 * include/string.h: Likewise.
8346 * include/sys/cdefs.h: Likewise.
8347 * include/sys/mman.h: Likewise.
8348 * include/sys/msg.h: Likewise.
8349 * include/sys/resource.h: Likewise.
8350 * include/sys/select.h: Likewise.
8351 * include/sys/socket.h: Likewise.
8352 * include/sys/stat.h: Likewise.
8353 * include/sys/statvfs.h: Likewise.
8354 * include/sys/time.h: Likewise.
8355 * include/sys/times.h: Likewise.
8356 * include/sys/uio.h: Likewise.
8357 * include/sys/utsname.h: Likewise.
8358 * include/sys/wait.h: Likewise.
8359 * include/termios.h: Likewise.
8360 * include/time.h: Likewise.
8361 * include/ulimit.h: Likewise.
8362 * include/unistd.h: Likewise.
8363 * include/utime.h: Likewise.
8364 * include/wchar.h: Likewise.
8365 * include/wctype.h: Likewise.
8366 * include/wordexp.h: Likewise.
8368 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8370 * time/time.h: TIME_UTC must be a macro.
8371 Make timespec_get available for ISO C11 only as well.
8373 2012-02-24 Ulrich Drepper <drepper@gmail.com>
8375 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8376 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8378 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8380 * configure.in: Use -o not -a in test for unsupported multi-arch.
8382 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8384 * manual/texinfo.tex: Update to version 2012-01-19.16.
8386 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8388 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8390 2012-02-24 Roland McGrath <roland@hack.frob.com>
8393 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8394 * manual/fdl-1.3.texi: New file.
8395 * manual/fdl-1.1.texi: File removed.
8398 * manual/libc.texinfo (FDL_VERSION): New @set.
8399 Use it for mention of FDL in cover text.
8400 (Documentation License): Use it in @include file name.
8402 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8403 Roland McGrath <roland@hack.frob.com>
8406 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8407 not LONG_LONG_MAX and LONG_LONG_MIN.
8408 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8409 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8411 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8413 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8417 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8418 manipulate bits before adding and subtracting TWO23[sx].
8419 * math/libm-test.inc (nearbyint_test): Add more tests.
8421 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8424 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8425 bits before adding and subtracting TWO23[sx].
8426 * math/libm-test.inc (rint_test): Add more tests.
8427 (rint_test_tonearest): Likewise.
8428 (rint_test_towardzero): Likewise.
8429 (rint_test_downward): Likewise.
8430 (rint_test_upward: Likewise.
8432 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8435 * include/stdc-predef.h: New file. Extracted from features.h.
8436 * include/features.h: Include stdc-predef.h.
8437 * Makefile (headers): Add stdc-predef.h.
8438 * CONFORMANCE (Compiler limitations): Update.
8440 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8442 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8444 2012-02-21 David S. Miller <davem@davemloft.net>
8446 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8447 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8449 2012-02-20 David S. Miller <davem@davemloft.net>
8451 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8452 using a normal save/restore sequence, rather than allocating a
8453 dummy stack frame just to store a frame pointer and restore.
8454 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8456 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8458 * manual/install.texi: Fix stray word in line-wrapped comment.
8460 2012-02-20 David S. Miller <davem@davemloft.net>
8462 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8463 both binutils and gcc support GOTDATA.
8465 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8466 "rd %pc" in the PIC register setup sequences.
8468 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8469 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8470 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8471 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8472 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8473 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8474 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8475 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8476 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8477 (SYSCALL_ERROR_HANDLER): Likewise.
8478 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8479 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8480 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8481 (SYSCALL_ERROR_HANDLER): Likewise.
8483 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8484 (HAVE_GCC_GOTDATA): New.
8485 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8486 relocation support in both binutils and gcc.
8487 * sysdeps/sparc/elf/configure: Regenerate.
8489 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8490 * sysdeps/sparc/sparc32/elf/configure: Delete.
8491 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8492 * sysdeps/sparc/sparc64/elf/configure: Delete.
8493 * sysdeps/sparc/elf/configure.in: New file.
8494 * sysdeps/sparc/elf/configure: Generate.
8496 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8497 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8498 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8499 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8500 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8502 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8504 * manual/install.texi: Do not mention specific glibc version
8506 * manual/libc.texinfo (VERSION, UPDATED): Update.
8507 (@copying): Use @copyright{} and range of years.
8509 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8512 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8513 [crti.S not in sysdirs] (generated): Do not append.
8514 [crti.S not in sysdirs] (omit-deps): Likewise.
8515 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8516 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8517 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8518 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8519 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8521 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8522 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8523 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8524 * csu/defs.awk: Remove file.
8525 * sysdeps/generic/initfini.c: Likewise.
8526 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8528 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8531 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8533 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8534 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8535 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8536 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8537 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8538 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8540 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8541 (__EPOLL_PACKED): Define to empty if not defined by
8543 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8544 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8547 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8549 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8550 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8551 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8552 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8554 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8555 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8558 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8560 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8562 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8563 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8564 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8567 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8569 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8570 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8572 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8574 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8575 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8577 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8579 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8582 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8584 * math/w_acos.c: Use non-signaling floating-point comparisons.
8585 * math/w_acosf.c: Likewise.
8586 * math/w_acosh.c: Likewise.
8587 * math/w_acoshf.c: Likewise.
8588 * math/w_acoshl.c: Likewise.
8589 * math/w_acosl.c: Likewise.
8590 * math/w_asin.c: Likewise.
8591 * math/w_asinf.c: Likewise.
8592 * math/w_asinl.c: Likewise.
8593 * math/w_atanh.c: Likewise.
8594 * math/w_atanhf.c: Likewise.
8595 * math/w_atanhl.c: Likewise.
8596 * math/w_exp2.c: Likewise.
8597 * math/w_exp2f.c: Likewise.
8598 * math/w_exp2l.c: Likewise.
8599 * math/w_j0.c: Likewise.
8600 * math/w_j0f.c: Likewise.
8601 * math/w_j0l.c: Likewise.
8602 * math/w_j1.c: Likewise.
8603 * math/w_j1f.c: Likewise.
8604 * math/w_j1l.c: Likewise.
8605 * math/w_jn.c: Likewise.
8606 * math/w_jnf.c: Likewise.
8607 * math/w_log.c: Likewise.
8608 * math/w_log10.c: Likewise.
8609 * math/w_log10f.c: Likewise.
8610 * math/w_log10l.c: Likewise.
8611 * math/w_log2.c: Likewise.
8612 * math/w_log2f.c: Likewise.
8613 * math/w_log2l.c: Likewise.
8614 * math/w_logf.c: Likewise.
8615 * math/w_logl.c: Likewise.
8616 * math/w_sqrt.c: Likewise.
8617 * math/w_sqrtf.c: Likewise.
8618 * math/w_sqrtl.c: Likewise.
8619 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8620 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8621 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8622 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8623 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8625 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8628 * manual/string.texi (strnlen): Use correct parameter name in
8629 equivalent expression.
8631 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8634 * manual/users.texi (seteuid): Consistently use neweuid for
8637 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8640 * manual/nss.texi (Services in the NSS configuration): Correct
8641 list of services in example configuration file.
8643 2012-02-19 Nick Bowler <nbowler@draconx.ca>
8646 * manual/arith.texi: Remove statements about negative zero
8647 behaving identically to zero.
8649 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8652 * manual/install.texi: Do not document upgrading from libc5.
8654 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8657 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8659 2012-02-18 David S. Miller <davem@davemloft.net>
8661 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8662 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8663 %o7 across the call.
8664 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8666 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8668 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8669 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8670 * sysdeps/sparc/crtn.S: Likewise.
8672 2012-02-17 Ulrich Drepper <drepper@gmail.com>
8674 * aout/Makefile: Remove.
8676 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8679 * manual/examples/argp-ex1.c (main): Format definition in GNU
8681 * manual/examples/argp-ex2.c (main): Likewise.
8682 * manual/examples/argp-ex3.c (main): Likewise.
8683 * manual/examples/argp-ex4.c (main): Likewise.
8684 * manual/examples/longopt.c (main): Use new-style prototype
8686 * manual/examples/strncat.c (main): Specify return type and use
8687 (void) for arguments.
8688 * manual/examples/subopt.c (main): Use char **argv argument.
8690 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8693 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8696 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8699 * manual/string.texi (strchr): Change when strchrnul is
8702 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8705 * manual/locale.texi (setlocale): Document LOCPATH.
8707 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8710 * manual/process.texi (execle): Move @dots{} before last argument.
8712 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
8715 * manual/charset.texi (Generic Charset Conversion): Fix typo
8716 (LC_TYPE -> LC_CTYPE).
8718 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8721 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8722 (scalbnf): Likewise.
8723 (scalbnl): Likewise.
8724 (scalbln): Likewise.
8725 (scalblnf): Likewise.
8726 (scalblnl): Likewise.
8727 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8731 * manual/filesys.texi (telldir): Use braces around return type.
8732 * manual/llio.texi (mmap): Add space after comma.
8734 * manual/math.texi (jn): Use @var{} on parameter names.
8740 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8742 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8744 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8745 (sched_get_priority_max): Likewise.
8746 * manual/signal.texi (sigvec): Add space after comma.
8747 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8749 (if_indextoname): Likewise.
8750 (if_freenameindex): Likewise.
8751 (sendto): Use ',' instead of '.' in prototype.
8752 * manual/startup.texi (syscall): Use @dots{} instead of literal
8754 * manual/stdio.texi (__fpending): Separate initial words of
8755 paragraph from @deftypefun line.
8756 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8758 (vsyslog): Use @var{} on parameter names.
8759 * manual/terminal.texi (stty): Use @var{} on parameter names.
8760 * manual/users.texi (getutmp): Use @var{} on parameter names.
8761 (getutmpx): Likewise.
8763 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8766 * manual/stdio.texi (fopen): Fix typos in description of
8769 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8772 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8773 get clock_id definition.
8775 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
8778 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8779 (madvise): Cast every argument to void on its own.
8781 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8784 * manual/startup.texi (Exit Status): Fix typo.
8786 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8789 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8790 * manual/examples/argp-ex2.c: Likewise.
8791 * manual/examples/argp-ex3.c: Likewise.
8793 2012-02-16 Richard Henderson <rth@redhat.com>
8795 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8796 * sysdeps/s390/s390-32/initfini.c: Remove.
8797 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8798 * sysdeps/s390/s390-64/initfini.c: Remove.
8800 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8802 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8803 compiler output for sysdeps/generic/initfini.c.
8804 * sysdeps/sh/elf/initfini.c: Remove file.
8806 2012-02-16 David S. Miller <davem@davemloft.net>
8809 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8811 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8812 * sysdeps/sparc/crti.S: New file.
8813 * sysdeps/sparc/crtn.S: New file.
8814 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8815 * sysdeps/sparc/sparc64/Makefile: Likewise.
8817 2012-02-15 Mike Frysinger <vapier@gentoo.org>
8820 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8822 2012-02-15 Roland McGrath <roland@hack.frob.com>
8825 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8827 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8828 (write, read, close): Likewise.
8829 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8831 2012-02-15 Joseph Myers <joseph@codesourcery.com>
8833 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8834 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8835 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8836 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8838 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8839 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8842 2012-02-14 Marek Polacek <polacek@redhat.com>
8844 * sysdeps/x86_64/crti.S: New file.
8845 * sysdeps/x86_64/crtn.S: New file.
8846 * sysdeps/x86_64/elf/initfini.c: Remove file.
8848 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8850 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8851 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8852 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8853 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8855 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8859 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8861 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8862 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8863 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8864 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8866 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8867 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8870 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8872 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8873 __feraiseexcept instead of feraiseexcept.
8875 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8876 nanosleep invocations.
8877 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8878 strings, and add error checking for a nanosleep invocations.
8880 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8882 Replace FSF snail mail address with URLs, as per GNU coding standards.
8883 Most of the snail mail addresses were wrong anyway, and omitting
8884 them makes the source code easier to maintain. Almost all of the
8885 changes are to license notices and to locale LC_IDENTIFICATION
8886 addresses, except for this one:
8887 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8888 not its snail mail address.
8890 2012-02-09 Richard Henderson <rth@twiddle.net>
8892 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8893 of kernel-features.h.
8895 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8897 2012-02-08 Marek Polacek <polacek@redhat.com>
8899 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8900 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8901 * sysdeps/gnu/_G_config.h: Likewise.
8902 * sysdeps/generic/_G_config.h: Likewise.
8904 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8906 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8910 * sysdeps/powerpc/powerpc32/crti.S: New file.
8911 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8912 * sysdeps/powerpc/powerpc64/crti.S: New file.
8913 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8915 * Makeconfig (have-initfini): Don't set.
8916 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8917 * configure.in (nopic_initfini): Don't substitute.
8918 * config.h.in (HAVE_INITFINI): Don't #undef.
8919 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8920 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8922 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8924 Support crti.S and crtn.S provided directly by architectures.
8925 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8926 [crti.S in sysdirs] (omit-deps): Likewise.
8927 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8928 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8929 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8930 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8931 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8932 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8933 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8934 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8935 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8936 compiler output for sysdeps/generic/initfini.c.
8937 * sysdeps/i386/elf/Makefile: Remove file.
8938 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8940 2012-02-07 Marek Polacek <polacek@redhat.com>
8942 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8943 * sysdeps/gnu/_G_config.h: Likewise.
8944 * sysdeps/mach/hurd/_G_config.h: Likewise.
8946 2012-02-07 Marek Polacek <polacek@redhat.com>
8948 * math/Makefile (tests): Add tst-CMPLX2.
8949 * math/tst-CMPLX2.c: New file.
8951 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8953 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8955 * math/libm-test.inc (jn_test): Add missing L suffix.
8957 2012-02-06 Marek Polacek <polacek@redhat.com>
8959 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8960 * sysdeps/i386/fpu/e_powf.S: Likewise.
8961 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8962 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8963 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8964 * sysdeps/i386/fpu/e_pow.S: Likewise.
8965 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8966 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8967 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8968 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8969 * sysdeps/i386/fpu/e_log2.S: Likewise.
8970 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8971 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8972 * sysdeps/i386/fpu/e_powl.S: Likewise.
8973 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8974 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8975 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8976 * sysdeps/i386/fpu/e_logl.S: Likewise.
8977 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8978 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8979 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8980 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8981 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8982 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8983 * sysdeps/i386/fpu/e_log.S: Likewise.
8984 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8985 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8986 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8987 * sysdeps/i386/fpu/e_logf.S: Likewise.
8988 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8989 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8990 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8991 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8992 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8993 * sysdeps/i386/fpu/e_log10.S: Likewise.
8994 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8995 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8996 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8997 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8998 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8999 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9000 * sysdeps/i386/asm-syntax.h: Likewise.
9001 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9002 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9003 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9004 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9005 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9006 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9007 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9008 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9009 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9010 * sysdeps/powerpc/sysdep.h: Likewise.
9011 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9012 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9014 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9017 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9019 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9021 * sysdeps/i386/sysdep.h: Include <features.h>.
9022 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9025 2012-02-05 Joseph Myers <joseph@codesourcery.com>
9027 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9029 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9032 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9034 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9035 (SETUP_PIC_REG): Use GET_PC_THUNK.
9036 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9039 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9041 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9042 for non-PIC compilation.
9043 (SETUP_PIC_REG): Add .p2align directive.
9044 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9045 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9046 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9047 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9048 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9049 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9050 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9051 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9052 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9053 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9054 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9055 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9056 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9057 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9058 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9059 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9060 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9061 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9062 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9063 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9064 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9065 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9066 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9067 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9068 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9069 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9070 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9071 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9072 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9073 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9074 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9075 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9076 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9077 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9078 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9079 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9080 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9081 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9082 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9083 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9084 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9086 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9088 * math/tst-CMPLX.c: Include <stdio.h>.
9090 2012-01-31 Joseph Myers <joseph@codesourcery.com>
9092 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9094 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9095 * sysdeps/sparc/bits/mathdef.h: Likewise.
9097 2012-01-31 Marek Polacek <polacek@redhat.com>
9099 * libio/libio.h: Don't define _PARAMS.
9100 * locale/programs/config.h: Don't define PARAMS.
9101 * stdlib/strtol_l.c: Likewise.
9102 (__strtol_l): Remove PARAMS from the prototype.
9104 2012-01-31 Ulrich Drepper <drepper@gmail.com>
9106 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9107 names. Just use the correct names. Remove unnecessary wrapper
9109 * malloc/arena.c: Likewise.
9110 * malloc/hooks.c: Likewise.
9112 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9113 ARENA_TEST says not to. Simplify test for creation of a new arena.
9114 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9116 2012-01-30 Ulrich Drepper <drepper@gmail.com>
9118 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9120 (update_get_addr): New function.
9121 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9122 GET_ADDR_MODULE parameter.
9124 2012-01-30 Joseph Myers <joseph@codesourcery.com>
9126 * crypt/cert.c: Remove __STDC__ conditionals.
9127 * crypt/crypt-entry.c: Likewise.
9128 * crypt/crypt_util.c: Likewise.
9129 * libio/filedoalloc.c: Likewise.
9130 * libio/fileops.c: Likewise.
9131 * libio/genops.c: Likewise.
9132 * libio/iofclose.c: Likewise.
9133 * libio/iofdopen.c: Likewise.
9134 * libio/iofopen.c: Likewise.
9135 * libio/iofopen64.c: Likewise.
9136 * libio/iogetdelim.c: Likewise.
9137 * libio/iopopen.c: Likewise.
9138 * libio/obprintf.c: Likewise.
9139 * libio/oldfileops.c: Likewise.
9140 * libio/oldiofclose.c: Likewise.
9141 * libio/oldiofdopen.c: Likewise.
9142 * libio/oldiofopen.c: Likewise.
9143 * libio/oldiopopen.c: Likewise.
9144 * libio/wfiledoalloc.c: Likewise.
9145 * libio/wgenops.c: Likewise.
9146 * locale/programs/xmalloc.c: Likewise.
9147 * misc/syslog.c: Likewise.
9148 * stdio-common/xbug.c: Likewise.
9149 * string/memchr.c: Likewise.
9150 * string/memcmp.c: Likewise.
9151 * string/memrchr.c: Likewise.
9152 * string/rawmemchr.c: Likewise.
9153 * sysdeps/posix/getcwd.c: Likewise.
9154 * time/strftime_l.c: Likewise.
9156 2012-01-30 Joseph Myers <joseph@codesourcery.com>
9158 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
9159 * config.make.in (config-cflags-sse2avx): Define.
9160 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9163 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9165 * scripts/config.guess: Update from upstream config git repository.
9166 * scripts/config.sub: Likewise.
9168 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9170 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9172 (R_TILEPRO_*, R_TILEGX_*): New macros.
9174 * scripts/firstversions.awk: Fix bug in version range handling.
9176 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9178 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9180 * include/sys/epoll.h: New file.
9181 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9184 2012-01-28 Ulrich Drepper <drepper@gmail.com>
9186 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9187 Avoid unnecessary __WORDSIZE == 64 test.
9188 (fmaxf): Use VEX format if possible.
9193 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9194 * math/math_private.h: Remove libc_fegetround* and
9196 * sysdeps/i386/configure.in: Check for -msse2avx.
9197 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9198 also if SSE2AVX is defined.
9199 Remove libc_fegetround* and libc_fesetround*.
9200 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9201 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9202 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9204 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9205 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9206 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9207 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9208 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9210 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9212 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9214 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9216 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9218 2012-01-27 Ulrich Drepper <drepper@gmail.com>
9221 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9223 * Makeconfig (libm): Define.
9224 * elf/Makefile: Add rules to build and run tst-relsort1.
9225 * elf/tst-relsort1.c: New file.
9226 * elf/tst-relsort1mod1.c: New file.
9227 * elf/tst-relsort1mod2.c: New file.
9229 2012-01-27 Joseph Myers <joseph@codesourcery.com>
9231 * math/s_ldexp.c: Remove __STDC__ conditionals.
9232 * math/s_ldexpf.c: Likewise.
9233 * math/s_ldexpl.c: Likewise.
9234 * math/s_nextafter.c: Likewise.
9235 * math/s_nexttowardf.c: Likewise.
9236 * math/s_significand.c: Likewise.
9237 * math/s_significandf.c: Likewise.
9238 * math/s_significandl.c: Likewise.
9239 * math/w_jnl.c: Likewise.
9240 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9241 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9242 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9243 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9244 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9245 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9246 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9247 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9248 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9249 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9250 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9251 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9252 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9253 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9254 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9255 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9256 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9257 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9258 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9259 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9260 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9261 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9262 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9263 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9264 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9265 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9266 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9267 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9268 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9269 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9270 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9271 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9272 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9273 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9274 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9275 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9276 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9277 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9278 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9279 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9280 * sysdeps/ieee754/k_standard.c: Likewise.
9281 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9282 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9283 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9284 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9285 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9286 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9287 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9288 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9289 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9290 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9291 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9292 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9293 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9294 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9295 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9296 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9297 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9298 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9299 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9300 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9301 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9302 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9303 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9304 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9305 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9306 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9307 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9308 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9309 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9310 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9311 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9312 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9313 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9314 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9315 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9316 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9317 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9318 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9319 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9320 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9321 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9322 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9323 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9324 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9325 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9326 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9327 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9328 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9329 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9330 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9331 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9332 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9333 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9334 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9335 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9336 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9337 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9338 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9339 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9340 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9341 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9342 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9343 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9344 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9345 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9346 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9347 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9348 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9349 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9351 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9352 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9353 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9354 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9355 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9356 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9357 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9358 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9359 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9360 * sysdeps/ieee754/s_matherr.c: Likewise.
9361 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9362 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9363 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9364 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9366 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9368 * crypt/md5.h: Remove __STDC__ conditionals.
9369 * libio/libioP.h: Likewise.
9370 * locale/programs/config.h: Likewise.
9371 * sysdeps/generic/sysdep.h: Likewise.
9372 * sysdeps/i386/asm-syntax.h: Likewise.
9373 * sysdeps/s390/asm-syntax.h: Likewise.
9374 * sysdeps/unix/sysdep.h: Likewise.
9375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9378 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9380 * libio/libio.h: Remove __STDC__ conditionals.
9381 * malloc/obstack.h: Likewise.
9382 * math/complex.h: Likewise.
9383 * math/math.h: Likewise.
9384 * sysdeps/generic/_G_config.h: Likewise.
9385 * sysdeps/gnu/_G_config.h: Likewise.
9386 * sysdeps/mach/hurd/_G_config.h: Likewise.
9387 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9388 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9389 * sysdeps/sparc/bits/mathdef.h: Likewise.
9391 2012-01-26 Ulrich Drepper <drepper@gmail.com>
9394 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
9395 Clean up HAS_* macros.
9396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
9397 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9399 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9401 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9402 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9403 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9404 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9405 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9407 2012-01-25 Joseph Myers <joseph@codesourcery.com>
9409 * elf/tst-unique3.cc (gets): Remove declaration.
9410 * elf/tst-unique3lib.cc (gets): Likewise.
9411 * elf/tst-unique3lib2.cc (gets): Likewise.
9412 * elf/tst-unique4.cc (gets): Likewise.
9414 2012-01-24 Ulrich Drepper <drepper@gmail.com>
9416 * include/stdio.h: Add C++ protection. Add gets declarations and
9418 * debug/tst-chk1.c: Don't declare gets here.
9419 * stdio-common/tst-gets.c: Likewise.
9421 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9423 * posix/glob: Remove directory.
9425 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9427 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9429 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9431 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9432 of the non-standard EPFNOSUPPORT.
9434 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9436 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9437 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9438 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9440 2012-01-21 Ulrich Drepper <drepper@gmail.com>
9442 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9444 2012-01-20 Ulrich Drepper <drepper@gmail.com>
9446 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9448 * nscd/grpcache.c (cache_addgr): Likewise.
9449 * nscd/hstcache.c (cache_addhst): Likewise.
9450 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9451 * nscd/pwdcache.c (cache_addpw): Likewise.
9452 * nscd/servicescache.c (cache_addserv): Likewise.
9454 2012-01-16 Ulrich Drepper <drepper@gmail.com>
9456 * malloc/malloc.c: Various cleanups.
9457 * malloc/hooks.c: Likewise.
9459 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9460 * stdlib/bug-fmtmsg1.c: New file.
9462 * stdlib/fmtmsg.c (init): Add missing unlock.
9463 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9465 2012-01-12 Marek Polacek <polacek@redhat.com>
9467 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9470 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9472 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9473 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9474 macro to ensure uniqueness of label name.
9475 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9476 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9478 2012-01-11 Ulrich Drepper <drepper@gmail.com>
9480 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9482 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9483 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9484 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9485 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9487 2012-01-10 Ulrich Drepper <drepper@gmail.com>
9489 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9491 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9492 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9493 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9495 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9497 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9498 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9499 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9500 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9502 * math/bits/math-finite.h: Add ldexp support.
9504 2012-01-10 Marek Polacek <polacek@redhat.com>
9506 * locale/programs/localedef.h (show_archive_content): Add noreturn
9509 2012-01-09 Ulrich Drepper <drepper@gmail.com>
9511 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9513 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9515 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9517 * io/Makefile (headers): Add bits/poll2.h.
9519 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9522 typo #include statement.
9524 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9526 * include/sys/cdefs.h: Define __attribute_alloc_size.
9527 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9528 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9529 * elf/pldd.c: Likewise.
9530 * iconv/iconv_charmap.c: Likewise.
9531 * iconv/iconvconfig.c: Likewise.
9532 * iconv/strtab.c: Likewise.
9533 * locale/programs/locale.c: Likewise.
9534 * locale/programs/localedef.h: Likewise.
9535 * locale/programs/simple-hash.c: Likewise.
9536 * nscd/nscd.h: Likewise.
9537 * nss/makedb.c: Likewise.
9538 * sysdeps/generic/ldconfig.h: Likewise.
9539 * locale/programs/localedef.c: Remove xmalloc prototype.
9540 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9542 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9544 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9547 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9549 * math/Makefile (tests): Add tst-CMPLX.
9550 * math/tst-CMPLX.c: New file.
9552 * math/complex.h (CMPLXL): Fix typo.
9554 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9555 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9557 * debug/tst-chk1.c: Add poll and ppoll tests.
9558 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9559 * include/sys/poll.h: Add hidden proto for ppoll.
9560 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9561 * sysdeps/mach/hurd/ppoll.c: Likewise.
9562 * io/ppoll.c: Likewise.
9563 * debug/poll_chk.c: New file.
9564 * debug/ppoll_chk.c: New file.
9565 * include/bits/poll2.h: New file.
9566 * io/bits/poll2.h: New file.
9569 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9571 * configure.in: static is always set to yes. Remove.
9572 * config.make.in: Don't set build-static.
9573 * Makeconfig: Remove use of build-static.
9574 * dlfcn/Makefile: Likewise.
9575 * elf/Makefile: Likewise.
9576 * math/Makefile: Likewise.
9577 * misc/Makefile: Likewise.
9578 * nptl/Makefile: Likewise.
9579 * sysdeps/mach/hurd/Makefile: Likewise.
9581 * configure.in: PWD_P is not used anymore.
9582 * config.make.in: Remove PWD_P entry.
9584 * configure.in: Remove last remnants of RANLIB.
9585 No need to check for signed size_t anymore.
9586 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9588 Remove __builtin_expect test because we require at least gcc 3.4.
9589 * aclocal.m4: Likewise.
9591 * wcsmbs/mbrtoc16.c: Implement using towc function.
9592 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9593 * wcsmbs/wcsmbsload.c: Likewise.
9594 * iconv/gconv_simple.c: Likewise.
9595 * iconv/gconv_int.h: Likewise.
9596 * iconv/gconv_builtin.h: Likewise.
9597 * iconv/iconv_prog.c: Remove CHAR16 handling.
9599 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9601 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9603 * configure.in: Remove --with-elf and --enable-bounded options.
9604 Dont set base_machine for ia64. More non-ELF conditions removed.
9605 Remove testing and setting of leading underscore information.
9606 * config.make.in (build-bounded): Set to no.
9607 * config.h.in: Remove NO_UNDERSCORES entry.
9608 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9610 * csu/start.c: Remove !NO_UNDERSCORE code.
9611 * locale/localeinfo.h: Likewise.
9612 * sysdeps/generic/machine-gmon.h: Likewise.
9613 * sysdeps/generic/sysdep.h: Likewise.
9614 * sysdeps/i386/sysdep.h: Likewise.
9615 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9616 * sysdeps/mach/sysdep.h: Likewise.
9617 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9618 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9619 * sysdeps/sh/sysdep.h: Likewise.
9620 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9621 * sysdeps/unix/i386/sysdep.S: Likewise.
9622 * sysdeps/unix/sparc/start.c: Likewise.
9623 * sysdeps/unix/sparc/sysdep.S: Likewise.
9624 * sysdeps/unix/sparc/sysdep.h: Likewise.
9625 * sysdeps/unix/start.c: Likewise.
9626 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9627 * sysdeps/x86_64/sysdep.h: Likewise.
9629 2012-01-07 Ulrich Drepper <drepper@gmail.com>
9632 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9634 * argp/argp-fmtstream.h: Use const instead __const.
9635 * argp/argp.h: Likewise.
9636 * assert/assert.h: Likewise.
9637 * bits/fenv.h: Likewise.
9638 * bits/sched.h: Likewise.
9639 * bits/sigset.h: Likewise.
9640 * bits/sigthread.h: Likewise.
9641 * catgets/nl_types.h: Likewise.
9642 * conform/data/pthread.h-data: Likewise.
9643 * crypt/crypt-private.h: Likewise.
9644 * crypt/crypt.h: Likewise.
9645 * crypt/crypt_util.c: Likewise.
9646 * ctype/ctype.h: Likewise.
9647 * debug/execinfo.h: Likewise.
9648 * debug/mbsnrtowcs_chk.c: Likewise.
9649 * debug/mbsrtowcs_chk.c: Likewise.
9650 * debug/wcsnrtombs_chk.c: Likewise.
9651 * debug/wcsrtombs_chk.c: Likewise.
9652 * debug/wcstombs_chk.c: Likewise.
9653 * dirent/dirent.h: Likewise.
9654 * dlfcn/dlfcn.h: Likewise.
9655 * elf/neededtest4.c: Likewise.
9656 * grp/grp.h: Likewise.
9657 * gshadow/gshadow.h: Likewise.
9658 * iconv/gconv.h: Likewise.
9659 * iconv/gconv_int.h: Likewise.
9660 * iconv/gconv_simple.c: Likewise.
9661 * iconv/iconv.h: Likewise.
9662 * iconv/loop.c: Likewise.
9663 * iconv/skeleton.c: Likewise.
9664 * include/aio.h: Likewise.
9665 * include/aliases.h: Likewise.
9666 * include/argz.h: Likewise.
9667 * include/arpa/inet.h: Likewise.
9668 * include/assert.h: Likewise.
9669 * include/dirent.h: Likewise.
9670 * include/dlfcn.h: Likewise.
9671 * include/execinfo.h: Likewise.
9672 * include/fcntl.h: Likewise.
9673 * include/fenv.h: Likewise.
9674 * include/glob.h: Likewise.
9675 * include/grp.h: Likewise.
9676 * include/libintl.h: Likewise.
9677 * include/mntent.h: Likewise.
9678 * include/netdb.h: Likewise.
9679 * include/pwd.h: Likewise.
9680 * include/rpc/netdb.h: Likewise.
9681 * include/sched.h: Likewise.
9682 * include/search.h: Likewise.
9683 * include/shadow.h: Likewise.
9684 * include/signal.h: Likewise.
9685 * include/stdio.h: Likewise.
9686 * include/stdlib.h: Likewise.
9687 * include/string.h: Likewise.
9688 * include/sys/socket.h: Likewise.
9689 * include/sys/stat.h: Likewise.
9690 * include/sys/statfs.h: Likewise.
9691 * include/sys/statvfs.h: Likewise.
9692 * include/sys/syslog.h: Likewise.
9693 * include/sys/time.h: Likewise.
9694 * include/sys/uio.h: Likewise.
9695 * include/time.h: Likewise.
9696 * include/unistd.h: Likewise.
9697 * include/utmp.h: Likewise.
9698 * include/wchar.h: Likewise.
9699 * include/wctype.h: Likewise.
9700 * inet/aliases.h: Likewise.
9701 * inet/arpa/inet.h: Likewise.
9702 * inet/netinet/ether.h: Likewise.
9703 * inet/netinet/in.h: Likewise.
9704 * intl/libintl.h: Likewise.
9705 * io/bits/fcntl2.h: Likewise.
9706 * io/fcntl.h: Likewise.
9707 * io/ftw.h: Likewise.
9708 * io/sys/poll.h: Likewise.
9709 * io/sys/stat.h: Likewise.
9710 * io/sys/statfs.h: Likewise.
9711 * io/sys/statvfs.h: Likewise.
9712 * io/utime.h: Likewise.
9713 * libio/bits/stdio.h: Likewise.
9714 * libio/bits/stdio2.h: Likewise.
9715 * libio/libio.h: Likewise.
9716 * libio/libioP.h: Likewise.
9717 * libio/stdio.h: Likewise.
9718 * locale/lc-ctype.c: Likewise.
9719 * locale/locale.h: Likewise.
9720 * login/utmp.h: Likewise.
9721 * malloc/arena.c: Likewise.
9722 * malloc/malloc.c: Likewise.
9723 * malloc/malloc.h: Likewise.
9724 * malloc/mcheck.c: Likewise.
9725 * malloc/mtrace.c: Likewise.
9726 * math/bits/mathcalls.h: Likewise.
9727 * math/fenv.h: Likewise.
9728 * math/math_private.h: Likewise.
9729 * misc/bits/error.h: Likewise.
9730 * misc/bits/syslog.h: Likewise.
9731 * misc/err.h: Likewise.
9732 * misc/error.h: Likewise.
9733 * misc/fstab.h: Likewise.
9734 * misc/mntent.h: Likewise.
9735 * misc/regexp.h: Likewise.
9736 * misc/search.h: Likewise.
9737 * misc/sgtty.h: Likewise.
9738 * misc/sys/mman.h: Likewise.
9739 * misc/sys/syslog.h: Likewise.
9740 * misc/sys/uio.h: Likewise.
9741 * misc/sys/xattr.h: Likewise.
9742 * misc/ttyent.h: Likewise.
9743 * nis/rpcsvc/ypclnt.h: Likewise.
9744 * nss/nss.h: Likewise.
9745 * posix/bits/unistd.h: Likewise.
9746 * posix/fnmatch.h: Likewise.
9747 * posix/glob.h: Likewise.
9748 * posix/sched.h: Likewise.
9749 * posix/spawn.h: Likewise.
9750 * posix/sys/wait.h: Likewise.
9751 * posix/unistd.h: Likewise.
9752 * posix/wordexp.h: Likewise.
9753 * pwd/pwd.h: Likewise.
9754 * resolv/netdb.h: Likewise.
9755 * resource/sys/resource.h: Likewise.
9756 * rt/aio.h: Likewise.
9757 * rt/bits/mqueue2.h: Likewise.
9758 * rt/mqueue.h: Likewise.
9759 * shadow/shadow.h: Likewise.
9760 * signal/signal.h: Likewise.
9761 * socket/send.c: Likewise.
9762 * socket/sendto.c: Likewise.
9763 * socket/sys/socket.h: Likewise.
9764 * stdio-common/printf.h: Likewise.
9765 * stdlib/bits/stdlib.h: Likewise.
9766 * stdlib/fmtmsg.h: Likewise.
9767 * stdlib/monetary.h: Likewise.
9768 * stdlib/stdlib.h: Likewise.
9769 * stdlib/ucontext.h: Likewise.
9770 * streams/stropts.h: Likewise.
9771 * string/argz.h: Likewise.
9772 * string/bits/string2.h: Likewise.
9773 * string/string.h: Likewise.
9774 * string/strings.h: Likewise.
9775 * sunrpc/rpc/auth.h: Likewise.
9776 * sunrpc/rpc/auth_des.h: Likewise.
9777 * sunrpc/rpc/clnt.h: Likewise.
9778 * sunrpc/rpc/netdb.h: Likewise.
9779 * sunrpc/rpc/pmap_clnt.h: Likewise.
9780 * sunrpc/rpc/xdr.h: Likewise.
9781 * sysdeps/generic/inttypes.h: Likewise.
9782 * sysdeps/generic/net/if.h: Likewise.
9783 * sysdeps/generic/sys/swap.h: Likewise.
9784 * sysdeps/gnu/net/if.h: Likewise.
9785 * sysdeps/gnu/utmpx.h: Likewise.
9786 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9787 * sysdeps/i386/i486/bits/string.h: Likewise.
9788 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9789 * sysdeps/s390/bits/string.h: Likewise.
9790 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9791 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9792 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9793 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9794 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9795 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9796 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9797 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9798 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9799 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9800 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9801 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9802 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9803 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9804 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9805 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9806 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9807 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9808 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9809 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9810 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9811 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9812 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9813 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9814 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9815 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9816 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9817 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9818 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9819 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9820 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9821 * sysvipc/sys/ipc.h: Likewise.
9822 * sysvipc/sys/msg.h: Likewise.
9823 * sysvipc/sys/sem.h: Likewise.
9824 * sysvipc/sys/shm.h: Likewise.
9825 * termios/termios.h: Likewise.
9826 * time/sys/time.h: Likewise.
9827 * time/time.h: Likewise.
9828 * wcsmbs/bits/wchar2.h: Likewise.
9829 * wcsmbs/uchar.h: Likewise.
9830 * wcsmbs/wchar.h: Likewise.
9831 * wctype/wctype.h: Likewise.
9834 * Makeconfig: Remove all but ELF support including AIX support.
9835 * Makerules: Likewise.
9836 * config.h.in: Likewise.
9837 * config.make.in: Likewise.
9838 * configure: Likewise.
9839 * configure.in: Likewise.
9840 * csu/Makefile: Likewise.
9841 * csu/version.c: Likewise.
9842 * debug/Makefile: Likewise.
9843 * dlfcn/Makefile: Likewise.
9844 * elf/Makefile: Likewise.
9845 * extra-lib.mk: Likewise.
9846 * iconv/Makefile: Likewise.
9847 * include/libc-symbols.h: Likewise.
9848 * include/shlib-compat.h: Likewise.
9849 * resolv/Makefile: Likewise.
9850 * resolv/res_libc.c: Likewise.
9851 * rt/Makefile: Likewise.
9852 * sysdeps/i386/asm-syntax.h: Likewise.
9853 * sysdeps/i386/sysdep.h: Likewise.
9854 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9855 * sysdeps/mach/sysdep.h: Likewise.
9856 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9857 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9858 * sysdeps/s390/asm-syntax.h: Likewise.
9859 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9860 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9861 * sysdeps/sh/sysdep.h: Likewise.
9862 * sysdeps/unix/sparc/sysdep.h: Likewise.
9863 * sysdeps/wordsize-32/divdi3.c: Likewise.
9864 * sysdeps/x86_64/sysdep.h: Likewise.
9866 * argp/Versions: Remove _argp_unlock_xxx.
9869 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9870 * abilist/libBrokenLocale.abilist: Likewise.
9871 * abilist/libanl.abilist: Likewise.
9872 * abilist/libc.abilist: Likewise.
9873 * abilist/libcrypt.abilist: Likewise.
9874 * abilist/libdl.abilist: Likewise.
9875 * abilist/libm.abilist: Likewise.
9876 * abilist/libnsl.abilist: Likewise.
9877 * abilist/libpthread.abilist: Likewise.
9878 * abilist/libresolv.abilist: Likewise.
9879 * abilist/librt.abilist: Likewise.
9880 * abilist/libthread_db.abilist: Likewise.
9881 * abilist/libutil.abilist: Likewise.
9882 * abilist/libnss_db.abilist: New file.
9884 * scripts/abilist.awk: Add support for indirect functions.
9886 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9888 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9890 * shlib-versions: Remove entries for ports architectures.
9892 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9894 * elf/stackguard-macros.h: Remove support for IA-64.
9895 * elf/tst-auditmod1.c: Likewise.
9896 * sysdeps/generic/ldsodefs.h: Likewise.
9898 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9899 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9903 * configure.in: Remove --enable-omitfp support.
9905 * config.make.in: Likewise.
9906 * Makeconfig: Likewise.
9907 * manual/install.texi: Likewise.
9909 In case anyone cares, the IA-64 architecture could move to ports.
9910 * sysdeps/ia64/*: Removed.
9911 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9912 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9915 * configure.in: Remove entries for unsupported architectures.
9918 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9919 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9921 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9922 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9923 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9924 fall back to using wcrtomb.
9925 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9926 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9928 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9929 * wcsmbs/tst-c16c32-1.c: New file.
9931 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9934 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9936 * elf/tst-unique3.cc: Add explicit declaration of gets.
9937 * elf/tst-unique3lib.cc: Likewise.
9938 * elf/tst-unique3lib2.cc: Likewise.
9939 * elf/tst-unique4.cc: Likewise.
9941 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9943 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9946 * assert/assert.h (static_assert): Don't define for C++.
9947 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9948 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9950 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9952 * iconv/loop.c (single loop): Fix assertion in storing of
9955 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9957 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9959 * posix/getconf.c: Update copyright year.
9960 * nss/getent.c: Likewise.
9961 * nss/makedb.c: Likewise.
9962 * iconv/iconvconfig.c: Likewise.
9963 * iconv/iconv_prog.c: Likewise.
9964 * elf/ldconfig.c: Likewise.
9965 * elf/pldd.c: Likewise.
9966 * elf/sotruss.ksh: Likewise.
9967 * catgets/gencat.c: Likewise.
9968 * csu/version.c: Likewise.
9969 * elf/ldd.bash.in: Likewise.
9970 * elf/sprof.c (print_version): Likewise.
9971 * locale/programs/locale.c: Likewise.
9972 * locale/programs/localedef.c: Likewise.
9973 * login/programs/pt_chown.c: Likewise.
9974 * nscd/nscd.c (print_version): Likewise.
9975 * debug/xtrace.sh: Likewise.
9976 * malloc/memusage.sh: Likewise.
9977 * malloc/mtrace.pl: Likewise.
9978 * debug/catchsegv.sh: Likewise.
9980 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9982 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9985 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9988 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9989 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9991 * iconv/gconv_int.h: Likewise.
9992 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9993 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9994 from libc for GLIBC_2.16.
9995 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9996 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9997 * wcsmbs/uchar.h: Really define mbstate_t.
9998 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9999 * wcsmbs/c16rtomb.c: New file.
10000 * wcsmbs/mbrtoc16.c: New file.
10001 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10002 for C/POSIX locale.
10003 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10004 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10006 * wcsmbs/wchar.h: Add missing __restrict.
10008 2011-12-23 Ulrich Drepper <drepper@gmail.com>
10011 * time/Makefile (routines): Add timespec_get.
10012 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10013 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10014 timespec for ISO C11.
10015 * time/timespec_get.c: New file.
10016 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10017 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10020 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10021 * stdlib/stdlib.h: Declare aligned_alloc.
10022 * Versions.def: Add GLIBC_2.16 for libc.
10023 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10026 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10029 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
10033 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10036 * assert/assert.h (static_assert): Define.
10038 * version.h: Update for 2.16 development version.
10041 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10044 * version.h (RELEASE): Bump for 2.15 release.
10045 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10047 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10048 Patch by Marek Polacek <mpolacek@redhat.com>.
10050 * bits/byteswap.h: Protect long long constants with __extension__.
10051 * sysdeps/i386/bits/byteswap.h: Likewise.
10052 * sysdeps/ia64/bits/byteswap.h: Likewise.
10053 * sysdeps/s390/bits/byteswap.h: Likewise.
10054 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10056 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10059 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10060 destination buffer.
10061 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10063 2011-12-23 Marek Polacek <polacek@redhat.com>
10065 * elf/dl-addr.c (determine_info): Add inline keyword.
10066 * elf/tst-auditmod4b.c (check_avx): Likewise.
10067 * elf/tst-auditmod6b.c (check_avx): Likewise.
10068 * elf/tst-auditmod6c.c (check_avx): Likewise.
10069 * elf/tst-auditmod7b.c (check_avx): Likewise.
10071 2011-12-23 Ulrich Drepper <drepper@gmail.com>
10073 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10076 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10079 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10080 processing for last bytes.
10082 2011-08-06 Bruno Haible <bruno@clisp.org>
10085 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10086 U+0385, not to U+1FEE.
10089 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10090 entry for U+00A5 U+0301.
10092 2011-12-22 Ulrich Drepper <drepper@gmail.com>
10095 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10096 buffer for the output is too small.
10098 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10102 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10103 SSE flags if possible.
10105 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10108 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10109 processing for last bytes.
10111 2011-12-22 Joseph Myers <joseph@codesourcery.com>
10113 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10114 (syscall-list-default-options, syscall-list-default-condition)
10115 (syscall-list-includes): Define.
10116 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10117 list of ABIs and options and #if conditions for each ABI. Do not
10118 handle common syscalls between ABIs specially.
10119 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10121 (syscall-list-variants, syscall-list-32bit-options)
10122 (syscall-list-32bit-condition, syscall-list-64bit-options)
10123 (syscall-list-64bit-condition): Define.
10124 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10125 (syscall-list-variants, syscall-list-32bit-options)
10126 (syscall-list-32bit-condition, syscall-list-64bit-options)
10127 (syscall-list-64bit-condition): Define.
10128 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10130 (syscall-list-variants, syscall-list-32bit-options)
10131 (syscall-list-32bit-condition, syscall-list-64bit-options)
10132 (syscall-list-64bit-condition): Define.
10133 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10135 (syscall-list-variants, syscall-list-32bit-options)
10136 (syscall-list-32bit-condition, syscall-list-64bit-options)
10137 (syscall-list-64bit-condition): Define.
10139 2011-12-22 Ulrich Drepper <drepper@gmail.com>
10141 * locale/iso-639.def: Add brx entry.
10144 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10145 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10147 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10148 __feraiseexcept_renamed.
10150 2011-12-21 Ulrich Drepper <drepper@gmail.com>
10153 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10154 EPOLLET with unsigned values.
10155 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10156 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10158 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10159 to large cancellation.
10160 * math/s_cacoshf.c: Likewise.
10161 * math/s_cacoshl.c: Likewise.
10163 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10167 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10168 * math/s_cacoshf.c: Likewise.
10169 * math/s_cacoshl.c: Likewise.
10171 2011-12-21 Ulrich Drepper <drepper@gmail.com>
10174 * iconv/gconv.h: Define __GCONV_SWAP.
10175 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10176 * iconvdata/utf-16.c: Likewise.
10177 * iconvdata/utf-32.c: Likewise.
10179 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10182 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10183 numerator after shifting it by one limb.
10185 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10187 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10188 under [__USE_EXTERN_INLINES].
10190 2011-12-17 Ulrich Drepper <drepper@gmail.com>
10193 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10195 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10197 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10198 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10200 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10201 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10202 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10203 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10204 for strncasecmp/strncasecmp_l compilation.
10205 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10206 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10208 2011-12-08 Marek Polacek <mpolacek@redhat.com>
10211 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10214 2011-12-17 Ulrich Drepper <drepper@gmail.com>
10217 * time/tzfile.c (__tzfile_read): Check values from file header.
10219 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10221 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10222 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10223 * powerpc/powerpc32/dl-start.S: Likewise.
10224 * powerpc/powerpc32/elf/start.S: Likewise.
10225 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10226 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10227 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10228 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10229 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10230 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10231 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10232 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10233 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10234 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10235 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10236 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10237 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10238 * powerpc/powerpc32/memset.S: Likewise.
10239 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10240 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10241 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10242 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10243 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10244 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10245 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10246 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10247 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10248 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10249 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10250 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10251 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10253 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10255 * math/libm-test.inc: Added more nearbyint tests.
10256 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10257 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10258 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10259 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10261 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10263 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10266 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10268 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10269 Add wcscpy-ssse3 wcscpy-c.
10270 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10271 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10272 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10273 * sysdeps/x86_64/wcschr.S: New file.
10274 * sysdeps/x86_64/wcsrchr.S: New file.
10275 * string/test-strcmp.c: Remove checking of wcscmp function for
10277 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10278 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10279 wcsrchr-sse2 wcsrchr-c.
10280 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10281 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10282 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10283 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10284 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10285 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10286 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10287 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10288 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10289 * wcsmbc/wcschr.c (WCSCHR): New macro.
10291 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10293 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10294 * wcsmbs/test-wcsrchr.c: New file.
10295 * string/test-strrchr.c: Add wcsrchr support.
10297 * wcsmbs/test-wcscpy.c: New file.
10298 * string/test-strcpy.c: Add wcscpy support.
10301 2011-12-10 Ulrich Drepper <drepper@gmail.com>
10303 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10306 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10309 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10311 2011-12-04 Ulrich Drepper <drepper@gmail.com>
10313 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
10314 Minor optimizations.
10316 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10317 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10318 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10320 2011-12-03 Ulrich Drepper <drepper@gmail.com>
10322 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10323 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10324 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10325 for gcc to avoid warnings.
10326 * inet/Makefile (tests): Add tst-checks.
10327 * inet/tst-checks.c: New file.
10329 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10332 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10335 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10336 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10338 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10340 2011-12-02 Ulrich Drepper <drepper@gmail.com>
10342 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10345 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10347 2011-11-29 Joseph Myers <joseph@codesourcery.com>
10349 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10350 conditional on GCC version.
10351 (__arch_compare_and_exchange_val_8_acq)
10352 (__arch_compare_and_exchange_val_16_acq)
10353 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10354 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10355 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10357 2011-12-02 Joseph Myers <joseph@codesourcery.com>
10359 * sysdeps/sh/backtrace.c: New file.
10361 2011-12-02 Andreas Schwab <schwab@redhat.com>
10363 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10366 2011-12-01 Andreas Schwab <schwab@redhat.com>
10368 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10369 falling back to utime.
10371 2011-11-30 Andreas Schwab <schwab@redhat.com>
10373 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10374 expectations for float.
10376 2011-11-29 Andreas Schwab <schwab@redhat.com>
10378 * locale/weight.h (findidx): Add parameter len.
10379 * locale/weightwc.h (findidx): Likewise.
10380 * posix/fnmatch_loop.c (FCT): Adjust caller.
10381 * posix/regcomp.c (build_equiv_class): Likewise.
10382 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10383 * posix/regexec.c (check_node_accept_bytes): Likewise.
10384 * string/strcoll_l.c (STRCOLL): Likewise.
10385 * string/strxfrm_l.c (STRXFRM): Likewise.
10387 2011-11-17 Ulrich Drepper <drepper@gmail.com>
10389 * Makefile.in: Remove CVSOPT handling.
10390 * configure.in: Remove use of AC_REVISION.
10391 * iconvdata/Makefile (distribute): No need to filter out CVS.
10392 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10395 2011-11-16 Andreas Schwab <schwab@redhat.com>
10397 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10398 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10399 [USE_AS_STRNCASECMP_L]: Likewise.
10400 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10401 NO_TLS_DIRECT_SEG_REFS.
10402 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10403 Fix argument offsets for non-PIC.
10404 [USE_AS_STRNCASECMP_L]: Likewise.
10405 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10406 NO_TLS_DIRECT_SEG_REFS.
10408 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10410 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
10412 * locale/loadlocale.c (_nl_load_locale): Likewise.
10414 2011-11-15 Andreas Schwab <schwab@redhat.com>
10416 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10417 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10418 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10419 (SYSCALL_GETTIME): Set errno on error.
10421 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10422 count references to noai6ai_cached.
10424 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10426 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10428 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10429 FD_CLOEXEC for /proc/self/maps.
10431 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10432 FD_CLOEXEC for /proc/meminfo.
10434 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10437 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10438 FD_CLOEXEC for given file.
10440 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10442 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10443 FD_CLOEXEC for /etc/hosts.
10444 (_gethtent): Likewise.
10446 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10448 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10449 cancellation and set FD_CLOEXEC for /etc/netgroup.
10451 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10452 reading /etc/publickey.
10454 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10455 allow cancellation when reading /etc/group.
10457 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10459 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10461 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10462 when using data file.
10464 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10466 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10467 (write_nis_obj): Use "c" and "e" in fopen.
10469 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10471 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10473 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10475 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10477 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10480 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10482 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10484 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10486 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10487 file parsing and set FD_CLOEXEC.
10489 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10491 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10493 2011-11-14 Andreas Schwab <schwab@redhat.com>
10495 * malloc/arena.c (arena_get2): Don't call reused_arena when
10496 _int_new_arena failed.
10498 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10500 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10501 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10502 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10503 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10504 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10505 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10506 to compile strcasecmp and strncasecmp.
10507 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10508 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10510 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10512 2011-11-13 Ulrich Drepper <drepper@gmail.com>
10514 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10515 locale-defines.sym to gen-as-const-headers.
10516 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10517 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10518 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10519 to compile strcasecmp and strncasecmp.
10520 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10521 strcasecmp_l and strncasecmp_l.
10522 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10523 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10524 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10525 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10526 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10527 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10528 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10529 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10530 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10531 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10532 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10534 2011-11-12 Ulrich Drepper <drepper@gmail.com>
10536 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10537 result of SYSDEP_GETTIME_CPU to retval.
10538 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10539 parameter list to macro. Remove trailing semicolon. Adjust users.
10541 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10544 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10546 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10548 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10549 from unused variable.
10551 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10553 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10556 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10559 * sunrpc/rpc_prot.c (rejected): Fix case value.
10561 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10562 unsigned long long int to avoid warnings in shift.
10564 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10566 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10569 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10570 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10571 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10573 * nis/nis_table.c (nis_list): Use variable of correct type for
10574 result of __follow_path call.
10576 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10578 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10579 of math functions ceil, trunc, floor, round, and sqrt, when
10580 avaliable on the platform.
10581 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10583 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10584 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10585 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10587 2011-10-30 Marek Polacek <mpolacek@redhat.com>
10589 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10590 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10592 2011-11-11 Roland McGrath <roland@hack.frob.com>
10594 * include/unistd.h: Fix __readlink return type.
10595 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10597 2011-11-11 Ulrich Drepper <drepper@gmail.com>
10599 * stdlib/ucontext.h: Undo last change for makecontext.
10601 2011-11-11 Andreas Schwab <schwab@redhat.com>
10603 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10605 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10606 * setjmp/setjmp.h: Mark functions as non-leaf.
10607 * setjmp/bits/setjmp2.h: Likewise.
10608 * stdlib/ucontext.h: Likewise.
10610 2011-11-10 Andreas Schwab <schwab@redhat.com>
10612 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10613 (reused_arena): Don't check arena limit.
10614 (arena_get2): Atomically check arena limit.
10616 2011-11-08 Ulrich Drepper <drepper@gmail.com>
10618 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10619 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10621 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10624 2011-11-07 Andreas Schwab <schwab@redhat.com>
10626 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10627 handler when locking.
10629 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10630 Fix size of allocated buffer.
10632 2011-11-04 Andreas Schwab <schwab@redhat.com>
10635 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10636 declarations for long double functions.
10637 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10639 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10641 2011-11-03 Andreas Schwab <schwab@redhat.com>
10643 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10646 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10649 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10651 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10653 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10655 * include/alloca.h (stackinfo_alloca_round): Define.
10656 (extend_alloca): Use it.
10657 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10658 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10661 * scripts/check-local-headers.sh: Ignore libaudit.h.
10663 * nscd/Makefile (extra-objs): Make recursively expanded.
10665 2011-11-01 Ulrich Drepper <drepper@gmail.com>
10667 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10668 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10670 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10671 * posix/tst-rfc3484-2.c: Likewise.
10672 * posix/tst-rfc3484-3.c: Likewise.
10674 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10676 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10678 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10679 process_vm_writev from libc using GLIBC_2.15 version.
10681 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10683 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10685 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10688 2011-10-31 Ulrich Drepper <drepper@gmail.com>
10691 * nss/getent.c (initgroups_keys): Show error message in case no group
10694 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10695 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10696 __bump_nl_timestamp.
10697 * nscd/connections (nscd_init): When host database is served open
10698 netlink socket and request notification about configuration changes.
10699 (main_loop_poll): Track netlink file descriptor and bump timestamp
10700 in case data becomes available.
10701 (main_loop_epoll): Likewise.
10702 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10703 (database_pers_head): Add extra_data fileds.
10704 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10705 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10706 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10708 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10709 in6ai data, call __free_in6ai.
10710 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10711 Add -DHAVE_NETLINK.
10712 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10713 interface information. Reuse previous data if netlink timestamp
10715 (__bump_nl_timestamp): New function.
10716 (__free_in6ai): New function.
10718 2011-10-30 Ulrich Drepper <drepper@gmail.com>
10720 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10721 close_not_cancel_no_status here.
10722 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10724 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10727 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10730 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10731 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10732 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10734 2011-07-03 Andreas Jaeger <aj@suse.de>
10737 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10738 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10739 * math/libm-test.inc (sin_test): Add test case.
10741 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10744 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10745 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10747 * elf/chroot_canon.c (chroot_canon): Cleanups.
10749 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10752 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10753 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10755 * string/test-strchr.c: Make usable for strchrnul testing.
10756 * string/test-strchrnul.c: New file.
10757 * string/Makefile (strop-tests): Add strchrnul.
10759 * po/it.po: Update from translation team.
10760 * po/es.po: Likewise.
10762 2011-10-28 Ulrich Drepper <drepper@gmail.com>
10764 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10765 the three constants needed as parameters. Drop the others.
10766 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10767 __m128i_strloadu_tolower.
10768 Create and initialize variable zero and use it in all the places
10769 where _mm_setzero_si128 was used.
10771 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10772 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10773 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10774 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10776 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10777 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10778 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10779 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10780 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10781 __mpranred, __mptan.
10782 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10783 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10784 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10785 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10786 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10787 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10788 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10789 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10790 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10792 2011-10-28 Andreas Schwab <schwab@redhat.com>
10794 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10795 redefine if SHARED.
10796 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10798 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10799 wide char related routines to wcsmbs subdir.
10801 2011-10-27 Andreas Schwab <schwab@redhat.com>
10804 * misc/sys/cdefs.h (__THROWNL): Define.
10805 * posix/unistd.h: Use __THREADNL instead of __THREAD
10806 for memory synchronization functions.
10808 2011-10-26 Roland McGrath <roland@hack.frob.com>
10811 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10813 * manual/stdio.texi (Obstack Streams): Node removed.
10815 2011-10-26 Andreas Schwab <schwab@redhat.com>
10817 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10818 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10819 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10821 * math/math_private.h (math_force_eval): Allow non-addressable
10823 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10825 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10827 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10828 file is not needed.
10830 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10831 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10832 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10833 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10834 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10835 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10836 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10837 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10839 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10840 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10841 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10842 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10843 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10844 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10845 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10846 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10847 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10848 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10849 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10850 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10851 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10852 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10853 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10854 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10855 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10856 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10857 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10859 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10860 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10862 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10863 place. Use VEX encoding when compiling for AVX.
10865 2011-10-25 Andreas Schwab <schwab@redhat.com>
10867 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10868 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10870 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10872 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10874 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10875 useless if() expression.
10876 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10877 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10878 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10879 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10880 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10881 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10882 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10883 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10884 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10885 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10886 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10887 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10888 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10889 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10890 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10891 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10892 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10893 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10894 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10896 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10898 2011-10-25 Andreas Schwab <schwab@redhat.com>
10900 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10902 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10904 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10906 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10907 .text section. Avoid duplicate constants.
10908 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10909 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10910 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10911 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10912 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10913 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10914 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10915 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10916 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10918 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10919 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10920 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10921 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10922 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10923 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10924 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10925 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10926 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10927 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10928 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10929 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10930 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10931 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10932 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10933 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10934 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10935 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10936 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10937 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10938 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10939 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10940 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10941 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10942 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10943 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10944 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10945 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10946 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10947 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10948 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10949 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10950 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10951 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10952 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10954 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10956 * sysdeps/x86_64/dla.h: Move to ...
10957 * sysdeps/x86_64/fpu/dla.h: ...here.
10958 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10959 situations. Use __builtin_fma only for gcc 4.6 and up.
10961 * config.make.in: Add have-mfma4 entry.
10962 * configure.in: Substitute libc_cv_cc_fma4.
10963 * math/Makefile (dbl-only-routines): Add sincostab.
10964 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10965 Use __sincostab not sincos.
10966 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10968 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10969 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10970 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10971 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10973 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10974 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10975 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10976 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10978 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10979 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10981 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10982 define aliases when function name is a macro.
10983 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10984 sysdeps/ieee754/dbl-64/sincos.tbl.
10985 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10986 fma4-enabled routines.
10987 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10988 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10989 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10990 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10991 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10992 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10993 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10994 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10995 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10996 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10997 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10998 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10999 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11000 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11001 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11002 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11003 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11004 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11005 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11006 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11007 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11008 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11009 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11010 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11011 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11012 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11013 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11014 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11015 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11016 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11018 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11020 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11021 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11022 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11023 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11024 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11025 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11026 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11027 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11029 2011-10-24 Andreas Schwab <schwab@redhat.com>
11031 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11033 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11035 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11037 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11039 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11041 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11042 Remove unused variable magic_bits.
11043 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11045 * string/strnlen.c: Define and use STRNLEN macro.
11046 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11047 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11048 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11049 * wcsmbs/wcslen.c: Define and use WCSLEN.
11050 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11051 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11052 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11053 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11054 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11055 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11056 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11058 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11061 strnlen-sse2-no-bsf.
11062 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11063 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11064 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11065 Add strnlen support.
11066 (USE_AS_STRNLEN): New macro.
11067 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11068 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11069 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11070 * sysdeps/x86_64/wcslen.S: New file.
11072 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11074 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11075 XMM-moves are used for copying on small sizes.
11077 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11079 * wcsmbs/Makefile (strop-tests): Add wcschr.
11080 * wcsmbs/test-wcschr.c: New file.
11081 * string/test-strchr.c: Update.
11082 Add wcschr support.
11085 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11087 * wcsmbs/Makefile (strop-tests): Add wcslen.
11088 * wcsmbs/test-wcslen.c: New file.
11089 * string/test-strlen.c: Update.
11090 Add wcslen support.
11093 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11095 * po/it.po: Update from translation team.
11097 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11099 * sysdeps/x86_64/wcscmp.S: Update.
11100 Fix wrong comparison semantics.
11101 wcscmp shall use signed comparison not unsigned.
11102 Don't use substraction to avoid overflow bug.
11103 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11104 * wcsmbc/wcscmp.c: Likewise.
11105 * string/test-strcmp.c: Likewise.
11106 Add new tests to check cases with negative values.
11108 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11110 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11111 * sysdeps/x86_64/dla.h: ...here. New file.
11112 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11113 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11114 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11115 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11116 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11117 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11118 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11119 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11120 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11122 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11124 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11125 __ynl_finite aliases.
11127 2011-10-22 Ulrich Drepper <drepper@gmail.com>
11129 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11131 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11133 [DLA_FMA] (EMULV): Use DLA_FMA.
11134 [DLA_FMA] (MUL12): Use EMULV.
11135 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11136 that are not needed.
11137 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11138 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11139 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11140 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11141 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11142 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11143 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11145 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11147 * math/s_nan.c: Undef __nan.
11148 * math/s_nanf.c: Undef __nanf.
11149 * math/s_nanl.c: Undef __nanl.
11150 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11153 2011-10-22 Ulrich Drepper <drepper@gmail.com>
11155 * math/s_catan.c: Add branch predictions.
11156 * math/s_catanf.c: Likewise.
11157 * math/s_catanh.c: Likewise.
11158 * math/s_catanhf.c: Likewise.
11159 * math/s_catanhl.c: Likewise.
11160 * math/s_catanl.c: Likewise.
11161 * math/s_cexp.c: Likewise.
11162 * math/s_cexpf.c: Likewise.
11163 * math/s_cexpl.c: Likewise.
11164 * math/s_clog.c: Likewise.
11165 * math/s_clog10.c: Likewise.
11166 * math/s_clog10f.c: Likewise.
11167 * math/s_clog10l.c: Likewise.
11168 * math/s_clogf.c: Likewise.
11169 * math/s_clogl.c: Likewise.
11170 * math/s_csqrt.c: Likewise.
11171 * math/s_csqrtf.c: Likewise.
11172 * math/s_csqrtl.c: Likewise.
11173 * math/s_ctanf.c: Likewise.
11174 * math/s_ctanh.c: Likewise.
11175 * math/s_ctanhf.c: Likewise.
11176 * math/s_ctanhl.c: Likewise.
11177 * math/s_ctanl.c: Likewise.
11179 * math/math_private.h: Define __nan, __nanf, __nanl.
11180 * math/s_cacosh.c: Include <math_private.h>.
11181 * math/s_cacoshl.c: Likewise.
11182 * math/s_casinh.c: Likewise.
11183 * math/s_casinhf.c: Likewise.
11184 * math/s_casinhl.c: Likewise.
11185 * math/s_ccos.c: Rely entire on ccosh.
11186 * math/s_ccosf.c: Rely entire on ccoshf.
11187 * math/s_ccosl.c: Rely entirely on ccoshl.
11188 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11189 Remove tests for FE_INVALID.
11190 * math/s_ccoshf.c: Likewise.
11191 * math/s_ccoshl.c: Likewise.
11192 * math/s_csin.c: Likewise.
11193 * math/s_csinf.c: Likewise.
11194 * math/s_csinh.c Likewise.
11195 * math/s_csinhf.c: Likewise.
11196 * math/s_csinhl.c: Likewise.
11197 * math/s_csinl.c: Likewise.
11198 * math/s_ctan.c: Likewise.
11199 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11200 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11201 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11203 2011-10-21 Ulrich Drepper <drepper@gmail.com>
11205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11206 compilation problems.
11208 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11211 2011-10-20 Ulrich Drepper <drepper@gmail.com>
11213 * sysdeps/i386/configure.in: Test for -mfma4 option.
11214 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11215 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11216 COMMON_CPUID_INDEX_80000001.
11217 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11218 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11219 use it if FMA3 is not supported.
11220 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11222 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11223 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11225 2011-10-20 Andreas Schwab <schwab@redhat.com>
11228 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11229 it would create a cycle with a link time dependency.
11231 2011-10-19 Ulrich Drepper <drepper@gmail.com>
11233 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11235 * string/Makefile (strop-tests): Add rawmemchr.
11236 * string/test-rawmemchr.c: New file.
11238 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11239 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11240 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11241 when compiling str{,n}casecmp and when AVX is available. Hook up
11242 new optimized code in initializers.
11244 2011-10-19 Andreas Schwab <schwab@redhat.com>
11246 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11247 __feraiseexcept instead of feraiseexcept.
11249 2011-10-18 Ulrich Drepper <drepper@gmail.com>
11251 * math/math_private.h: Define defaults for libc_fetestexcept and
11253 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11254 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11255 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11256 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11257 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11258 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11259 libc_fetestexcept and libc_feupdateenv.
11261 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11262 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11263 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11264 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11265 libc_feholdexcept_setround.
11267 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11268 Add s_nearbyint-c and s_nearbyintf-c.
11269 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11270 nearbyintf inlines.
11271 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11272 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11273 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11274 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11276 * math/math_private.h: Define defaults for libc_fegetround,
11277 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11278 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11279 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11280 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11281 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11282 standard functions.
11283 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11284 Remove comments and hacks for old compiler versions.
11285 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11286 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11287 libc_feholdexceptl.
11289 2011-10-18 Andreas Schwab <schwab@redhat.com>
11291 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
11292 (__feraiseexcept_renamed): Add __NTH.
11293 (feraiseexcept): Add __NTH. Rename local variables to fix
11294 namespace violations.
11296 2011-10-17 Ulrich Drepper <drepper@gmail.com>
11298 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11300 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11302 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11303 recently added interfaces.
11304 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11306 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11307 about macro parameter expansion.
11309 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11310 __NO_MATH_INLINES is defined. Cleanups.
11312 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11313 and __floorf is target has SSE4.1.
11314 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11315 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11316 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11317 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11319 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11321 (floorf): Likewise.
11323 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11325 2011-10-17 Andreas Schwab <schwab@redhat.com>
11327 * misc/sys/cdefs.h: Fix last change.
11329 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11332 2011-10-16 Ulrich Drepper <drepper@gmail.com>
11334 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11336 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11337 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11338 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11339 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11340 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11341 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11342 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11343 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11344 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11345 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11346 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11347 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11348 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11349 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11350 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11351 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11352 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11353 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11354 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11355 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11356 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11357 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11359 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11360 ceil, ceilf, floor, floorf.
11362 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11363 Perform IRELATIVE relocations last.
11365 * elf/do-rel.h: Add another parameter nrelative, replacing the
11366 local variable with the same name. Change name of the function
11367 to end in Rel or Rela (uppercase).
11368 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11369 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11370 elf_dynamic_do_##reloc function.
11372 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11374 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11375 is sufficient, at least on modern CPUs.
11377 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11379 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11380 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11382 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11384 * math/bits/math-finite.h: Add entries for exp.
11385 * math/e_expl.c: Add __*_finite alias.
11386 * sysdeps/i386/fpu/e_exp.S: Likewise.
11387 * sysdeps/i386/fpu/e_expf.S: Likewise.
11388 * sysdeps/i386/fpu/e_expl.c: Likewise.
11389 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11390 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11391 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11392 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11393 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11394 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11395 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11397 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11398 is sufficient, at least on modern CPUs.
11400 * ctype/ctype-info.c (__ctype_init): Define.
11401 * include/ctype.h (__ctype_init): Declare.
11402 (__ctype_b_loc): The variable is always initialized.
11403 (__ctype_toupper_loc): Likewise.
11404 (__ctype_tolower_loc): Likewise.
11405 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11406 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11408 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11410 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11412 * configure.in: Also look in $cxxmachine/include for C++ system
11415 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11417 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11418 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11419 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11420 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11421 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11422 (USE_AS_WMEMCMP): New macro.
11424 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11425 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11426 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11427 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11428 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11429 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11430 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11431 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11432 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11433 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11434 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11435 (USE_AS_WMEMCMP): New macro.
11436 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11437 * sysdeps/string/test-memcmp.c: Update.
11438 Fix simple_wmemcmp.
11440 * wcsmbs/wmemcmp.c: Update.
11441 (WMEMCMP): New macro.
11444 2011-10-12 Andreas Jaeger <aj@suse.de>
11447 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11449 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11451 * libio/iofwide.c (do_length): Avoid warning.
11453 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11455 2011-10-14 Ulrich Drepper <drepper@gmail.com>
11457 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11459 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11460 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11461 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11462 * sysdeps/i386/i686/fpu/e_log.S: New file.
11463 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11464 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11466 * ctype/ctype.h: Add support for inlined isXXX functions when
11467 compiling C++ code.
11469 2011-10-14 Andreas Schwab <schwab@redhat.com>
11471 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11473 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11475 2011-10-13 Roland McGrath <roland@hack.frob.com>
11478 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11480 2011-10-13 Andreas Schwab <schwab@redhat.com>
11482 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11483 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11486 * sysdeps/x86_64/memrchr.S: Check for zero size.
11488 * string/stratcliff.c: Add memrchr tests.
11490 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11492 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11493 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11494 rawmemchr-sse2 rawmemchr-sse2-bsf.
11495 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11496 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11497 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11498 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11499 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11500 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11501 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11502 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11503 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11504 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11505 * string/memrchr.c (MEMRCHR): New macro.
11507 2011-10-12 Ulrich Drepper <drepper@gmail.com>
11509 Add integration with gcc's -ffinite-math-only and optimize wrapper
11511 * Versions.def: Define GLIBC_2.15 version for libm.
11512 * math/Makefile (headers): Add bits/math-finite.h.
11513 * math/bits/math-finite.h: New file.
11514 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11515 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11516 * math/e_acoshl.c: Add __*_finite alias.
11517 * math/e_acosl.c: Likewise.
11518 * math/e_asinl.c: Likewise.
11519 * math/e_atan2l.c: Likewise.
11520 * math/e_atanhl.c: Likewise.
11521 * math/e_coshl.c: Likewise.
11522 * math/e_exp10.c: Likewise.
11523 * math/e_exp10f.c: Likewise.
11524 * math/e_exp10l.c: Likewise.
11525 * math/e_exp2l.c: Likewise.
11526 * math/e_fmodl.c: Likewise.
11527 * math/e_gammal_r.c: Likewise.
11528 * math/e_hypotl.c: Likewise.
11529 * math/e_j0l.c: Likewise.
11530 * math/e_j1l.c: Likewise.
11531 * math/e_jnl.c: Likewise.
11532 * math/e_lgammal_r.c: Likewise.
11533 * math/e_log10l.c: Likewise.
11534 * math/e_log2l.c: Likewise.
11535 * math/e_logl.c: Likewise.
11536 * math/e_powl.c: Likewise.
11537 * math/e_sinhl.c: Likewise.
11538 * math/e_sqrtl.c: Likewise.
11539 * math/e_scalb.c: Completely rewritten and optimized.
11540 * math/e_scalbf.c: Likewise.
11541 * math/e_scalbl.c: Likewise.
11542 * math/w_acos.c: Likewise.
11543 * math/w_acosf.c: Likewise.
11544 * math/w_acosl.c: Likewise.
11545 * math/w_acosh.c: Likewise.
11546 * math/w_acoshf.c: Likewise.
11547 * math/w_acoshl.c: Likewise.
11548 * math/w_asin.c: Likewise.
11549 * math/w_asinf.c: Likewise.
11550 * math/w_asinl.c: Likewise.
11551 * math/w_atan2.c: Likewise.
11552 * math/w_atan2f.c: Likewise.
11553 * math/w_atan2l.c: Likewise.
11554 * math/w_atanh.c: Likewise.
11555 * math/w_atanhf.c: Likewise.
11556 * math/w_atanhl.c: Likewise.
11557 * math/w_exp10.c: Likewise.
11558 * math/w_exp10f.c: Likewise.
11559 * math/w_exp10l.c: Likewise.
11560 * math/w_fmod.c: Likewise.
11561 * math/w_fmodf.c: Likewise.
11562 * math/w_fmodl.c: Likewise.
11563 * math/w_j0.c: Likewise.
11564 * math/w_j0f.c: Likewise.
11565 * math/w_j0l.c: Likewise.
11566 * math/w_j1.c: Likewise.
11567 * math/w_j1f.c: Likewise.
11568 * math/w_j1l.c: Likewise.
11569 * math/w_jn.c: Likewise.
11570 * math/w_jnf.c: Likewise.
11571 * math/w_log.c: Likewise.
11572 * math/w_logf.c: Likewise.
11573 * math/w_logl.c: Likewise.
11574 * math/w_log10.c: Likewise.
11575 * math/w_log10f.c: Likewise.
11576 * math/w_log10l.c: Likewise.
11577 * math/w_log2.c: Likewise.
11578 * math/w_log2f.c: Likewise.
11579 * math/w_log2l.c: Likewise.
11580 * math/w_pow.c: Likewise.
11581 * math/w_powf.c: Likewise.
11582 * math/w_powl.c: Likewise.
11583 * math/w_remainder.c: Likewise.
11584 * math/w_remainderf.c: Likewise.
11585 * math/w_remainderl.c: Likewise.
11586 * math/w_scalb.c: Likewise.
11587 * math/w_scalbf.c: Likewise.
11588 * math/w_scalbl.c: Likewise.
11589 * math/w_sqrt.c: Likewise.
11590 * math/w_sqrtf.c: Likewise.
11591 * math/w_sqrtl.c: Likewise.
11592 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11593 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11595 * math/math_private.h: Declare __kernel_standard_f.
11596 * math/w_cosh.c: Remove cruft and optimize a bit.
11597 * math/w_coshf.c: Likewise.
11598 * math/w_coshl.c: Likewise.
11599 * math/w_exp2.c: Likewise.
11600 * math/w_exp2f.c: Likewise.
11601 * math/w_exp2l.c: Likewise.
11602 * math/w_hypot.c: Likewise.
11603 * math/w_hypotf.c: Likewise.
11604 * math/w_hypotl.c: Likewise.
11605 * math/w_lgamma.c: Likewise.
11606 * math/w_lgamma_r.c: Likewise.
11607 * math/w_lgammaf.c: Likewise.
11608 * math/w_lgammaf_r.c: Likewise.
11609 * math/w_lgammal.c: Likewise.
11610 * math/w_lgammal_r.c: Likewise.
11611 * math/w_sinh.c: Likewise.
11612 * math/w_sinhf.c: Likewise.
11613 * math/w_sinhl.c: Likewise.
11614 * math/w_tgamma.c: Likewise.
11615 * math/w_tgammaf.c: Likewise.
11616 * math/w_tgammal.c: Likewise.
11617 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11618 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11619 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11620 Minor optimizations. Pretty printing. Remove cruft.
11621 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11622 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11623 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11624 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11625 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11626 * sysdeps/i386/fpu/e_asin.S: Likewise.
11627 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11628 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11629 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11630 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11631 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11632 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11633 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11634 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11635 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11636 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11637 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11638 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11639 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11640 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11641 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11642 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11643 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11644 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11645 * sysdeps/i386/fpu/e_log.S: Likewise.
11646 * sysdeps/i386/fpu/e_log10.S: Likewise.
11647 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11648 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11649 * sysdeps/i386/fpu/e_log2.S: Likewise.
11650 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11651 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11652 * sysdeps/i386/fpu/e_logf.S: Likewise.
11653 * sysdeps/i386/fpu/e_logl.S: Likewise.
11654 * sysdeps/i386/fpu/e_pow.S: Likewise.
11655 * sysdeps/i386/fpu/e_powf.S: Likewise.
11656 * sysdeps/i386/fpu/e_powl.S: Likewise.
11657 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11658 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11659 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11660 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11661 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11662 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11663 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11664 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11665 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11666 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11667 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11668 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11669 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11670 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11671 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11672 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11673 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11674 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11675 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11676 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11677 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11678 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11679 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11680 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11681 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11682 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11683 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11684 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11685 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11686 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11687 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11688 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11689 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11690 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11691 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11692 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11693 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11694 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11695 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11696 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11697 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11698 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11699 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11700 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11701 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11702 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11703 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11704 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11705 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11706 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11707 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11708 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11709 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11710 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11711 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11712 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11713 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11714 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11715 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11716 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11717 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11718 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11719 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11720 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11721 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11722 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11723 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11724 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11725 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11726 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11727 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11728 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11729 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11730 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11731 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11732 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11733 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11734 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11735 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11736 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11737 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11738 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11739 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11740 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11741 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11742 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11743 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11744 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11745 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11746 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11747 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11748 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11749 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11750 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11751 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11752 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11753 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11754 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11755 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11756 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11757 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11758 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11759 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11760 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11761 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11762 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11763 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11764 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11765 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11766 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11767 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11768 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11769 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11770 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11771 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11772 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11773 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11774 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11775 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11776 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11777 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11778 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11779 (__isnanf): Likewise.
11780 (__isinf_ns): Likewise.
11781 (__isinf_nsf): Likewise.
11782 (__finite): Likewise.
11783 (__finitef): Likewise.
11784 (__ieee754_sqrt): Define as macro.
11785 (__ieee754_sqrtf): Define as macro.
11786 (__ieee754_sqrtl): Define as macro.
11787 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11789 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11790 __FINITE_MATH_ONLY__ consistent.
11791 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11793 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11795 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11798 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11800 2011-10-09 Ulrich Drepper <drepper@gmail.com>
11802 * po/ja.po: Update from translation team.
11804 2011-10-08 Roland McGrath <roland@hack.frob.com>
11806 * locale/programs/locarchive.c (prepare_address_space): New function.
11807 (create_archive, enlarge_archive, open_archive): Use it.
11809 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11810 inside [SHARED], where it is used.
11812 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11814 * nss/getent.c (netgroup_keys): Remove unused variable.
11815 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11817 2011-10-08 Ulrich Drepper <drepper@gmail.com>
11819 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11820 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11821 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11822 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11823 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11824 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11825 * math/Makefile (libm-calls): Add s_isinf_ns.
11826 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11827 * math/multc3.c: Likewise.
11828 * math/s_casin.c: Likewise.
11829 * math/s_casinf.c: Likewise.
11830 * math/s_casinl.c: Likewise.
11831 * math/s_ccos.c: Likewise.
11832 * math/s_ccosf.c: Likewise.
11833 * math/s_ccosl.c: Likewise.
11834 * math/s_ctan.c: Likewise.
11835 * math/s_ctanf.c: Likewise.
11836 * math/s_ctanh.c: Likewise.
11837 * math/s_ctanhf.c: Likewise.
11838 * math/s_ctanhl.c: Likewise.
11839 * math/s_ctanl.c: Likewise.
11840 * math/w_fmod.c: Likewise.
11841 * math/w_fmodf.c: Likewise.
11842 * math/w_fmodl.c: Likewise.
11843 * math/w_remainder.c: Likewise.
11844 * math/w_remainderf.c: Likewise.
11845 * math/w_remainderl.c: Likewise.
11846 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11847 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11848 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11849 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11850 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11851 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11852 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11853 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11855 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11857 * stdio-common/printf_fphex.c: Likewise.
11858 * stdio-common/printf_size.c: Likewise.
11860 * math/e_exp10.c: Include math_private.h using <...> not "...".
11861 * math/e_exp10f.c: Likewise.
11862 * math/e_exp10l.c: Likewise.
11863 * math/e_exp2l.c: Likewise.
11864 * math/e_j0l.c: Likewise.
11865 * math/e_j1l.c: Likewise.
11866 * math/e_jnl.c: Likewise.
11867 * math/e_lgammal_r.c: Likewise.
11868 * math/e_rem_pio2l.c: Likewise.
11869 * math/e_scalb.c: Likewise.
11870 * math/e_scalbf.c: Likewise.
11871 * math/e_scalbl.c: Likewise.
11872 * math/k_cosl.c: Likewise.
11873 * math/k_sinl.c: Likewise.
11874 * math/k_tanl.c: Likewise.
11875 * math/s_cacoshf.c: Likewise.
11876 * math/s_catan.c: Likewise.
11877 * math/s_catanf.c: Likewise.
11878 * math/s_catanh.c: Likewise.
11879 * math/s_catanhf.c: Likewise.
11880 * math/s_catanhl.c: Likewise.
11881 * math/s_catanl.c: Likewise.
11882 * math/s_ccosh.c: Likewise.
11883 * math/s_ccoshf.c: Likewise.
11884 * math/s_ccoshl.c: Likewise.
11885 * math/s_cexp.c: Likewise.
11886 * math/s_cexpf.c: Likewise.
11887 * math/s_cexpl.c: Likewise.
11888 * math/s_clog.c: Likewise.
11889 * math/s_clog10.c: Likewise.
11890 * math/s_clog10f.c: Likewise.
11891 * math/s_clog10l.c: Likewise.
11892 * math/s_clogf.c: Likewise.
11893 * math/s_clogl.c: Likewise.
11894 * math/s_csin.c: Likewise.
11895 * math/s_csinf.c: Likewise.
11896 * math/s_csinh.c: Likewise.
11897 * math/s_csinhf.c: Likewise.
11898 * math/s_csinhl.c: Likewise.
11899 * math/s_csinl.c: Likewise.
11900 * math/s_csqrt.c: Likewise.
11901 * math/s_csqrtf.c: Likewise.
11902 * math/s_csqrtl.c: Likewise.
11903 * math/s_ctan.c: Likewise.
11904 * math/s_ctanf.c: Likewise.
11905 * math/s_ctanh.c: Likewise.
11906 * math/s_ctanhf.c: Likewise.
11907 * math/s_ctanhl.c: Likewise.
11908 * math/s_ctanl.c: Likewise.
11909 * math/s_ldexp.c: Likewise.
11910 * math/s_ldexpf.c: Likewise.
11911 * math/s_ldexpl.c: Likewise.
11912 * math/s_significand.c: Likewise.
11913 * math/s_significandf.c: Likewise.
11914 * math/s_significandl.c: Likewise.
11915 * math/w_acos.c: Likewise.
11916 * math/w_acosf.c: Likewise.
11917 * math/w_acosh.c: Likewise.
11918 * math/w_acoshf.c: Likewise.
11919 * math/w_acoshl.c: Likewise.
11920 * math/w_acosl.c: Likewise.
11921 * math/w_asin.c: Likewise.
11922 * math/w_asinf.c: Likewise.
11923 * math/w_asinl.c: Likewise.
11924 * math/w_atan2.c: Likewise.
11925 * math/w_atan2f.c: Likewise.
11926 * math/w_atan2l.c: Likewise.
11927 * math/w_atanh.c: Likewise.
11928 * math/w_atanhf.c: Likewise.
11929 * math/w_atanhl.c: Likewise.
11930 * math/w_cosh.c: Likewise.
11931 * math/w_coshf.c: Likewise.
11932 * math/w_coshl.c: Likewise.
11933 * math/w_dremf.c: Likewise.
11934 * math/w_exp10.c: Likewise.
11935 * math/w_exp10f.c: Likewise.
11936 * math/w_exp10l.c: Likewise.
11937 * math/w_exp2.c: Likewise.
11938 * math/w_exp2f.c: Likewise.
11939 * math/w_fmod.c: Likewise.
11940 * math/w_fmodf.c: Likewise.
11941 * math/w_fmodl.c: Likewise.
11942 * math/w_hypot.c: Likewise.
11943 * math/w_hypotf.c: Likewise.
11944 * math/w_hypotl.c: Likewise.
11945 * math/w_j0.c: Likewise.
11946 * math/w_j0f.c: Likewise.
11947 * math/w_j0l.c: Likewise.
11948 * math/w_j1.c: Likewise.
11949 * math/w_j1f.c: Likewise.
11950 * math/w_j1l.c: Likewise.
11951 * math/w_jn.c: Likewise.
11952 * math/w_jnf.c: Likewise.
11953 * math/w_jnl.c: Likewise.
11954 * math/w_lgamma.c: Likewise.
11955 * math/w_lgamma_r.c: Likewise.
11956 * math/w_lgammaf.c: Likewise.
11957 * math/w_lgammaf_r.c: Likewise.
11958 * math/w_lgammal.c: Likewise.
11959 * math/w_lgammal_r.c: Likewise.
11960 * math/w_log.c: Likewise.
11961 * math/w_log10.c: Likewise.
11962 * math/w_log10f.c: Likewise.
11963 * math/w_log10l.c: Likewise.
11964 * math/w_log2.c: Likewise.
11965 * math/w_log2f.c: Likewise.
11966 * math/w_log2l.c: Likewise.
11967 * math/w_logf.c: Likewise.
11968 * math/w_logl.c: Likewise.
11969 * math/w_pow.c: Likewise.
11970 * math/w_powf.c: Likewise.
11971 * math/w_powl.c: Likewise.
11972 * math/w_remainder.c: Likewise.
11973 * math/w_remainderf.c: Likewise.
11974 * math/w_remainderl.c: Likewise.
11975 * math/w_scalb.c: Likewise.
11976 * math/w_scalbf.c: Likewise.
11977 * math/w_scalbl.c: Likewise.
11978 * math/w_sinh.c: Likewise.
11979 * math/w_sinhf.c: Likewise.
11980 * math/w_sinhl.c: Likewise.
11981 * math/w_sqrt.c: Likewise.
11982 * math/w_sqrtf.c: Likewise.
11983 * math/w_sqrtl.c: Likewise.
11984 * math/w_tgamma.c: Likewise.
11985 * math/w_tgammaf.c: Likewise.
11986 * math/w_tgammal.c: Likewise.
11988 * po/ja.po: Update from translation team.
11990 2011-09-29 Andreas Jaeger <aj@suse.de>
11993 * sunrpc/netname.c (netname2host): Fix logic.
11997 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11999 * math/w_remainder.c (__remainder): Likewise.
12000 * math/w_remainderf.c (__remainderf): Likewise.
12001 * math/libm-test.inc (remainder_test): Add test cases.
12003 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12005 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12008 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12010 * string/test-memcmp.c: Avoid unncessary #defines.
12011 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12013 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12015 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12016 Use new sse2 version for core i3 - i7 as it's faster
12017 than sse42 version.
12018 (bit_Prefer_PMINUB_for_stringop): New.
12019 * sysdeps/x86_64/rawmemchr.S: Update.
12020 Replace with faster SSE2 version.
12021 * sysdeps/x86_64/memrchr.S: New file.
12022 * sysdeps/x86_64/memchr.S: Update.
12023 Replace with faster SSE2 version.
12025 2011-09-12 Marek Polacek <mpolacek@redhat.com>
12027 * elf/dl-load.c (lose): Add cast to avoid warning.
12029 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12031 * po/ca.po: Update from translation team.
12033 * inet/getnetgrent_r.c: Hook up nscd.
12034 * nscd/Makefile (routines): Add nscd_netgroup.
12035 (nscd-modules): Add netgroupcache.
12036 (CFLAGS-netgroupcache.c): Define.
12037 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12038 (cache_search): Add const to second parameter.
12039 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12041 (dbs): Add netgrdb entry.
12042 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12043 (verify_persistent_db): Handle netgrdb.
12044 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12045 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12047 (netgroup_response_header): Define.
12048 (innetgroup_response_header): Define.
12049 (datahead): Add netgroup_response_header and innetgroup_response_header
12051 * nscd/nscd.conf: Add entries for netgroup cache.
12052 * nscd/nscd.h (dbtype): Add netgrdb.
12053 (_PATH_NSCD_NETGROUP_DB): Define.
12054 (netgroup_iov_disabled): Declare.
12055 (xmalloc, xcalloc, xrealloc): Move declarations here.
12056 (cache_search): Adjust prototype.
12057 Add netgroup-related prototypes.
12058 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12059 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12060 (__nscd_innetgr): Declare.
12061 * nscd/selinux.c (perms): Use access_vector_t as element type and
12062 add netgroup-related initializers.
12063 * nscd/netgroupcache.c: New file.
12064 * nscd/nscd_netgroup.c: New file.
12065 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12066 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12067 For four parameters use innetgr.
12068 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12069 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12070 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12071 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12073 * nscd/connections.c (register_traced_file): Don't register file
12074 for disabled databases.
12076 2011-10-06 Ulrich Drepper <drepper@gmail.com>
12078 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12080 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12081 from tree and freeing node.
12083 2011-09-25 Jiri Olsa <jolsa@redhat.com>
12085 * nss/nsswitch.c (__nss_database_lookup): Handle
12086 nss_parse_service_list out of memory case.
12088 2011-09-15 Jiri Olsa <jolsa@redhat.com>
12090 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12091 out of memory case.
12093 2011-10-04 Andreas Schwab <schwab@redhat.com>
12095 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12096 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12098 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12099 elf_machine_rela, elf_machine_lazy_rel.
12100 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12101 (ELF_DYNAMIC_DO_REL): Likewise.
12102 (ELF_DYNAMIC_DO_RELA): Likewise.
12103 (ELF_DYNAMIC_RELOCATE): Likewise.
12104 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12105 to ELF_DYNAMIC_DO_REL.
12106 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12107 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12108 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12110 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12111 skip_ifunc, don't call ifunc function if non-zero.
12112 (elf_machine_rela): Likewise.
12113 (elf_machine_lazy_rel): Likewise.
12114 (elf_machine_lazy_rela): Likewise.
12115 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12116 (elf_machine_lazy_rel): Likewise.
12117 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12119 (elf_machine_lazy_rel): Likewise.
12120 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12122 (elf_machine_lazy_rel): Likewise.
12123 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12124 (elf_machine_lazy_rel): Likewise.
12125 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12126 (elf_machine_lazy_rel): Likewise.
12127 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12128 (elf_machine_lazy_rel): Likewise.
12129 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12130 (elf_machine_lazy_rel): Likewise.
12131 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12132 (elf_machine_lazy_rel): Likewise.
12133 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12134 (elf_machine_lazy_rel): Likewise.
12136 2011-09-28 Ulrich Drepper <drepper@gmail.com>
12138 * nss/nss_files/files-init.c (_nss_files_init): Use static
12139 initialization for all the *_traced_file variables.
12141 2011-09-28 Andreas Schwab <schwab@redhat.com>
12143 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12145 2011-09-27 Roland McGrath <roland@hack.frob.com>
12148 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12150 2011-09-27 Andreas Schwab <schwab@redhat.com>
12152 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12153 Reread the line before reparsing it.
12155 2011-09-26 Andreas Schwab <schwab@redhat.com>
12157 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12159 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12160 Maxim Kuvyrkov <maxim@codesourcery.com>
12161 Joseph Myers <joseph@codesourcery.com>
12163 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12164 if needed for __stack_chk_guard.
12166 2011-09-19 Roland McGrath <roland@hack.frob.com>
12168 * sysdeps/posix/spawni.c (script_execute): Always define it.
12169 It will be optimized away if unused.
12170 (maybe_script_execute): New function.
12171 (__spawni): Call it.
12173 * Makerules: Don't include tls.make.
12174 (config-tls): Always set to thread.
12175 * tls.make.c: File removed.
12177 2011-09-19 Mike Frysinger <vapier@gentoo.org>
12179 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12180 * config.make.in (CPPFLAGS-config): New substituted variable.
12182 2011-09-15 Ulrich Drepper <drepper@gmail.com>
12184 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12187 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12188 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12190 2011-09-15 Roland McGrath <roland@hack.frob.com>
12192 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12193 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12194 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12195 (CALL_FAIL): Likewise.
12196 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12197 (CALL_FAIL): Macro removed.
12198 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12200 2011-09-15 Ulrich Drepper <drepper@gmail.com>
12202 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12203 for __FINITE_MATH_ONLY__ == 1.
12205 2011-09-15 Andreas Schwab <schwab@redhat.com>
12207 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12208 __ieee754_sqrt instead of sqrt.
12209 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12210 __ieee754_sqrtf instead of sqrtf.
12211 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12212 __floorf instead of floorf.
12213 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12214 __floorf, __truncf instead of floorf, truncf.
12216 2011-09-14 Ulrich Drepper <drepper@gmail.com>
12218 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12220 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12221 __extern_always_inline.
12222 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12225 2011-09-14 Andreas Schwab <schwab@redhat.com>
12227 * elf/rtld.c (dl_main): Also relocate in dependency order when
12228 doing symbol dependency testing.
12230 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12232 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12233 Always define `refsym'.
12235 2011-09-13 Andreas Schwab <schwab@redhat.com>
12237 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12238 (__FD_ELT): Renamed from __FDELT.
12239 * misc/bits/select2.h (__FD_ELT): Likewise.
12240 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12241 __FD_MASK instead of __FDELT, __FDMASK.
12242 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12244 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12247 * elf/Makefile (gen-ldd): Fix pattern.
12249 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12250 (init_tls): Likewise.
12252 2011-09-12 Ulrich Drepper <drepper@gmail.com>
12254 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12256 2011-09-12 Andreas Schwab <schwab@redhat.com>
12258 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12259 `struct cmsghdr *' instead of `void *'.
12260 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12263 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12265 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12267 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12268 ldd_rewrite_script.
12270 2011-09-11 Ulrich Drepper <drepper@gmail.com>
12272 * configure.in: Remove --with-tls option.
12273 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12274 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12275 out in case it is missing.
12276 * sysdeps/ia64/elf/configure.in: Likewise.
12277 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12278 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12279 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12280 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12281 * sysdeps/sh/elf/configure.in: Likewise.
12282 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12283 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12284 * sysdeps/x86_64/elf/configure.in: Likewise.
12285 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12286 * sysdeps/mach/hurd/tls.h: Likewise.
12289 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12292 * configure.in: Fix use of AC_INIT.
12294 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12296 2011-09-10 Ulrich Drepper <drepper@gmail.com>
12298 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12300 * malloc/hooks.c: Likewise.
12303 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12304 variables statically.
12305 (narenas): Initialize.
12306 (list_lock): Initialize.
12307 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12308 initializtion of main_arena and list_lock. Small cleanups.
12309 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12310 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12311 Add initializers to main_arena and mp_.
12312 (malloc_state): Remove pagesize member. Change all users to use
12315 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12316 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12317 is always initialized.
12319 * malloc/malloc.c: Removed unused configurations and dead code.
12320 * malloc/arena.c: Likewise.
12321 * malloc/hooks.c: Likewise.
12322 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
12324 * include/tls.h: Removed. USE___THREAD must always be defined.
12325 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12326 * elf/dl-libc.c: Likewise.
12327 * elf/dl-tsd.c: Likewise.
12328 * include/errno.h: Likewise.
12329 * include/netdb.h: Likewise.
12330 * include/resolv.h: Likewise.
12331 * inet/herrno-loc.c: Likewise.
12332 * inet/herrno.c: Likewise.
12333 * malloc/arena.c: Likewise.
12334 * malloc/hooks.c: Likewise.
12335 * malloc/malloc.c: Likewise.
12336 * resolv/res-state.c: Likewise.
12337 * resolv/res_libc.c: Likewise.
12338 * sysdeps/i386/dl-machine.h: Likewise.
12339 * sysdeps/ia64/dl-machine.h: Likewise.
12340 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12341 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12342 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12343 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12344 * sysdeps/sh/dl-machine.h: Likewise.
12345 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12346 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12347 * sysdeps/unix/i386/sysdep.S: Likewise.
12348 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12349 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12350 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12351 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12352 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12353 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12354 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12355 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12356 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12357 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12358 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12359 * sysdeps/x86_64/dl-machine.h: Likewise.
12360 * tls.make.c: Likewise.
12362 * configure.in: Remove --with-__thread option. Make tests for
12363 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12364 tls_model attribute fail if no support is available. Remove
12366 * Makeconfig: Adjust for dropped configure option. All features are
12368 * Makerules: Likewise.
12369 * Versions.def: Likewise.
12370 * argp/argp-fmtstream.c: Likewise.
12371 * argp/argp-fmtstream.h: Likewise.
12372 * argp/argp-help.c: Likewise.
12373 * assert/assert.c: Likewise.
12374 * config.h.in: Likewise.
12375 * config.make.in: Likewise.
12376 * configure: Likewise.
12377 * configure.in: Likewise.
12378 * csu/Versions: Likewise.
12379 * csu/init.c: Likewise.
12380 * elf/tst-audit2.c: Likewise.
12381 * elf/tst-tls10.c: Likewise.
12382 * elf/tst-tls10.h: Likewise.
12383 * elf/tst-tls11.c: Likewise.
12384 * elf/tst-tls12.c: Likewise.
12385 * elf/tst-tls14.c: Likewise.
12386 * elf/tst-tlsmod11.c: Likewise.
12387 * elf/tst-tlsmod12.c: Likewise.
12388 * elf/tst-tlsmod13.c: Likewise.
12389 * elf/tst-tlsmod13a.c: Likewise.
12390 * elf/tst-tlsmod14a.c: Likewise.
12391 * elf/tst-tlsmod15b.c: Likewise.
12392 * elf/tst-tlsmod16a.c: Likewise.
12393 * elf/tst-tlsmod16b.c: Likewise.
12394 * elf/tst-tlsmod7.c: Likewise.
12395 * elf/tst-tlsmod8.c: Likewise.
12396 * elf/tst-tlsmod9.c: Likewise.
12397 * gmon/gmon.c: Likewise.
12398 * grp/fgetgrent_r.c: Likewise.
12399 * grp/putgrent.c: Likewise.
12400 * hurd/fopenport.c: Likewise.
12401 * include/libc-symbols.h: Likewise.
12402 * include/tls.h: Likewise.
12403 * intl/gettextP.h: Likewise.
12404 * intl/loadinfo.h: Likewise.
12405 * locale/global-locale.c: Likewise.
12406 * locale/localeinfo.h: Likewise.
12407 * mach/devstream.c: Likewise.
12408 * malloc/arena.c: Likewise.
12409 * malloc/set-freeres.c: Likewise.
12410 * misc/err.c: Likewise.
12411 * misc/getttyent.c: Likewise.
12412 * misc/mntent_r.c: Likewise.
12413 * posix/getopt.c: Likewise.
12414 * posix/wordexp.c: Likewise.
12415 * pwd/fgetpwent_r.c: Likewise.
12416 * resolv/Versions: Likewise.
12417 * resolv/res_hconf.c: Likewise.
12418 * shadow/fgetspent_r.c: Likewise.
12419 * shadow/putspent.c: Likewise.
12420 * stdio-common/printf_fphex.c: Likewise.
12421 * stdio-common/tmpfile.c: Likewise.
12422 * stdlib/abort.c: Likewise.
12423 * stdlib/fmtmsg.c: Likewise.
12424 * sunrpc/auth_unix.c: Likewise.
12425 * sunrpc/clnt_perr.c: Likewise.
12426 * sunrpc/clnt_tcp.c: Likewise.
12427 * sunrpc/clnt_udp.c: Likewise.
12428 * sunrpc/clnt_unix.c: Likewise.
12429 * sunrpc/openchild.c: Likewise.
12430 * sunrpc/svc_simple.c: Likewise.
12431 * sunrpc/svc_tcp.c: Likewise.
12432 * sunrpc/svc_udp.c: Likewise.
12433 * sunrpc/svc_unix.c: Likewise.
12434 * sunrpc/xdr.c: Likewise.
12435 * sunrpc/xdr_array.c: Likewise.
12436 * sunrpc/xdr_rec.c: Likewise.
12437 * sunrpc/xdr_ref.c: Likewise.
12438 * sunrpc/xdr_stdio.c: Likewise.
12440 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12442 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12444 2011-07-03 Andreas Jaeger <aj@suse.de>
12446 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12447 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12448 regenerate with gen-libm-tests.pl.
12450 2010-05-12 Petr Baudis <pasky@suse.cz>
12453 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12454 around j0() zero points by switching to j1().
12455 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12456 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12457 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12458 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12460 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12462 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12464 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12466 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12467 Patch in part by Pavel Roskin <proski@gnu.org>.
12470 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12472 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12473 Free memory block if necessary.
12476 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12477 be NULL. Don't lock in this case.
12479 2011-09-09 Roland McGrath <roland@hack.frob.com>
12481 * elf/elf.h (ELFOSABI_GNU): New macro.
12482 (ELFOSABI_LINUX): Define to that.
12484 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12486 * string/strncat.c (strncat): Undef the symbol in case it has been
12487 defined in bits/string.h.
12489 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12491 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12493 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12496 2011-08-17 Andreas Jaeger <aj@suse.de>
12498 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12500 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12501 Ian Lance Taylor <iant@google.com>
12503 * math/libm-test.inc (lround_test): New testcase.
12504 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12506 2011-09-08 Ulrich Drepper <drepper@gmail.com>
12508 * Makefile: Remove support for automatic cvs check-ins.
12509 * Makerules: Likewise.
12510 * config.make.in: Likewise.
12511 * configure.in: Likewise.
12512 * intl/Makefile: Likewise.
12513 * locale/Makefile: Likewise.
12514 * po/Makefile: Likewise.
12515 * posix/Makefile: Likewise.
12516 * sysdeps/gnu/Makefile: Likewise.
12517 * sysdeps/mach/hurd/Makefile: Likewise.
12518 * sysdeps/sparc/sparc32/Makefile: Likewise.
12521 * posix/Makefile (bug-regex32-ENV): Define.
12522 Patch by John Stanley <jpsinthemix@verizon.net>.
12524 * misc/Makefile (headers): Add bits/select2.h.
12525 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12526 * misc/bits/select2.h: New file.
12527 * include/bits/select2.h: New file.
12528 * debug/Makefile (routines): Add fdelt_chk.
12529 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12530 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12532 * debug/fdelt_chk.c: New file.
12534 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12535 * wcsmbs/test-wmemcmp.c: Likewise.
12536 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12537 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12539 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12541 * string/Makefile (strop-tests): Add memcmp.
12542 * string/test-wmemcmp.c: New file.
12543 * string/test-memcmp.c: Add wmemcmp support.
12545 2011-09-08 Roland McGrath <roland@hack.frob.com>
12548 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12551 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12552 garbage value in a __mach_port_mod_refs call in the cases of the
12553 task-self and thread-self ports.
12555 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12557 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12559 2011-09-08 Andreas Schwab <schwab@redhat.com>
12561 * elf/dl-load.c (lose): Check for non-null L.
12563 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12565 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12567 * elf/dl-libc.c (dlerror_run): Pass back error code from
12571 * elf/dl-load.c (lose): Free l_origin if it is valid.
12573 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12575 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12576 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12577 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12578 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12579 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12580 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12582 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12584 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12585 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12586 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12587 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12588 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12589 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12590 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12591 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12592 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12593 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12595 2011-08-15 Alan Modra <amodra@gmail.com>
12598 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12599 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12600 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12601 ppc_mcount to static-only-routines.
12602 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12604 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12605 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12607 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12609 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12610 for finite and infinity parameters.
12612 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12614 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12615 and add nop instructions for throughput optimization.
12616 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12618 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12620 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12621 aligned copy for power7 with vector-scalar instructions.
12622 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12624 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12626 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12629 2011-09-07 Andreas Schwab <schwab@redhat.com>
12632 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12635 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12637 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12638 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12639 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12640 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12643 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12645 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12646 Forgot to demangle the pointer.
12648 * sysdeps/i386/sysdep.h: Define atom_text_section.
12649 * sysdeps/x86_64/sysdep.h: Likewise.
12650 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12651 section with atom_text_section.
12652 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12653 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12654 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12655 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12656 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12658 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12659 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12660 already be defined. Change to take two parameters and don't assign
12661 result to variable. Adjust all users.
12662 Define INTERNAL_GETTIME if not already defined.
12663 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12665 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12666 HAVE_CLOCK_GETTIME_VSYSCALL.
12667 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12669 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12670 gettimeofday vsyscall, just use time.
12672 2011-09-06 Andreas Schwab <schwab@redhat.com>
12674 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12677 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12679 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12681 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12683 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12684 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12685 syscall if possible.
12687 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12689 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12690 e_ident. Don't pass to find_mapsXX.
12691 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12693 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12695 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12696 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12697 * sysdeps/x86_64/multiarch/strchr.S: Update.
12698 Check bit_slow_BSF bit.
12699 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12700 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12701 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12703 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12706 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12708 (tryshell): Define.
12709 (__spawni): Change last parameter to be flag. Test
12710 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12711 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12712 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12713 * posix/spawni.c: Likewise.
12714 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12715 * posix/spawnp.c: Likewise. Change normal version to use
12716 SPAWN_XFLAGS_USE_PATH.
12717 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12718 SPAWN_XFLAGS_TRY_SHELL.
12721 * posix/glob.h: Remove gcc 1.x support.
12724 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12726 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12728 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12729 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12731 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12732 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12733 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12734 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12735 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12736 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12738 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12740 * sysdeps/x86_64/wcscmp.S: New file.
12742 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12743 wcscmp-c wcscmp-sse2
12744 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12745 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12746 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12747 * wcsmbs/wcscmp.c: Allow renaming.
12749 2011-09-05 David S. Miller <davem@davemloft.net>
12751 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12752 stack slot, rather than the struct return pointer slot.
12753 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12754 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12756 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12758 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12760 * po/ja.po: Update from translation team.
12763 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12764 kernel in 64-bit binaries.
12766 2011-09-01 David S. Miller <davem@davemloft.net>
12768 * elf/elf.h (HWCAP_SPARC_*): Move to..
12769 * sysdeps/sparc/sysdep.h: this new file and add new values.
12770 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12771 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12772 _DL_HWCAP_COUNT to 24.
12773 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12775 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12776 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12777 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12778 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12779 instead of magic constants.
12780 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12782 2011-08-31 David S. Miller <davem@davemloft.net>
12784 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12785 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12786 Reimplement to do errno handling inline.
12787 (SYSCALL_ERROR_HANDLER): New macro.
12788 (__SYSCALL_STRING): Do not do errno handling in asm.
12789 (__CLONE_SYSCALL_STRING): Delete.
12790 (__INTERNAL_SYSCALL_STRING): Delete.
12791 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12792 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12793 (PSEUDO): Reimplement to do errno handling inline.
12794 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12795 (SYSCALL_ERROR_HANDLER): New macro.
12796 (__SYSCALL_STRING): Do not do errno handling in asm.
12797 (__CLONE_SYSCALL_STRING): Delete.
12798 (__INTERNAL_SYSCALL_STRING): Delete.
12799 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12800 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12802 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12803 (inline_syscall*): Add 'err' argument.
12804 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12805 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12806 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12807 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12809 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12810 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12812 2011-08-30 Andreas Schwab <schwab@redhat.com>
12814 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12816 2011-08-29 Jiri Olsa <jolsa@redhat.com>
12818 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12821 2011-08-24 David S. Miller <davem@davemloft.net>
12823 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12825 2011-08-24 Andreas Schwab <schwab@redhat.com>
12827 * elf/Makefile: Add rules to build and run unload8 test.
12828 * elf/unload8.c: New file.
12829 * elf/unload8mod1.c: New file.
12830 * elf/unload8mod1x.c: New file.
12831 * elf/unload8mod2.c: New file.
12832 * elf/unload8mod3.c: New file.
12834 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12837 2011-08-23 David S. Miller <davem@davemloft.net>
12839 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12840 subtract stack bias.
12841 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12842 %sp not %fp in calculations.
12843 (_JMPBUF_UNWINDS_ADJ): Likewise.
12845 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12846 (aio_suspend): Call it to force an exception region around the
12847 AIO_MISC_WAIT() invocation.
12849 2011-08-23 Andreas Schwab <schwab@redhat.com>
12851 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12854 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12856 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12858 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12859 and <dl-machine.h>.
12860 (Elf64_FuncDesc): Remove.
12862 2011-08-22 David S. Miller <davem@davemloft.net>
12864 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12865 sigaltstack check, add missing cfi directives.
12866 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12867 missing cfi directives, and sigaltstack handling.
12869 2011-08-16 Andreas Schwab <schwab@redhat.com>
12872 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12873 object is seen twice.
12874 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12876 * elf/Makefile (distribute): Add tst-initorder2.c.
12877 (tests): Add tst-initorder2.
12878 (modules-names): Add tst-initorder2a tst-initorder2b
12879 tst-initorder2c tst-initorder2d. Add rules to build them.
12880 ($(objpfx)tst-initorder2.out): New rule.
12881 * elf/tst-initorder2.c: New file.
12882 * elf/tst-initorder2.exp: New file.
12884 2011-08-22 Andreas Schwab <schwab@redhat.com>
12886 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12888 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12889 dependencies back to end of function.
12891 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12892 $(elfobjdir)/ld.so.
12894 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12896 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12897 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12898 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12899 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12900 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12901 of __vdso_gettimeofday.
12902 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12903 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12905 (_libc_vdso_platform_setup): Remove initialization of
12906 __vdso_gettimeofday and __vdso_time.
12908 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12910 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12911 and fgetc_unlocked.
12912 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12915 * elf/dl-open.c (add_to_global): Report additions to the global scope
12916 for LD_DEBUG=scopes.
12917 (dl_open_worker): Also print scope of newly loaded dependencies.
12918 (_dl_show_scope): Indicate if there is no scope.
12921 * stdio-common/Makefile (tests): Add bug24.
12922 * stdio-common/bug24.c: New file.
12924 2011-08-19 Andreas Jaeger <aj@suse.de>
12927 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12928 non-existant file when using close-on-exec mode.
12930 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12932 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12933 the very first instruction.
12935 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12936 the CFI state in the end.
12937 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12938 inclusion of dl-trampoline.h.
12939 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12941 2011-08-19 Andreas Schwab <schwab@redhat.com>
12943 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12944 expectations for long double.
12946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12947 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12949 2011-08-14 David S. Miller <davem@davemloft.net>
12951 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12952 artificual limit depends upon the system page size.
12954 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12956 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12957 * resolv/Makefile: Define CFLAGS-libresolv.
12959 2011-08-17 Andreas Schwab <schwab@redhat.com>
12961 * nss/makedb.c (compute_tables): Make variables used in nested
12964 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12966 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12967 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12968 if buffer was too small.
12970 * elf/pldd.c (main): Attach to all threads in the process.
12971 Rewrite /proc handling to use *at functions.
12973 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12975 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12976 specifies first scope to show.
12977 (dl_open_worker): Update callers. Move printing scope of new
12978 object to before the relocation.
12979 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12980 * sysdeps/generic/ldsodefs.h: Update declaration.
12982 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12983 string for the scope number.
12985 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12987 * nscd/servicescache.c (cache_addserv): Make sure written is always
12990 2011-08-14 Roland McGrath <roland@hack.frob.com>
12992 * sysdeps/i386/i486/bits/atomic.h
12993 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12994 statement expression, so as to suppress "set but not used" warning.
12995 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12997 * string/strncat.c (STRNCAT): Use prototype definition.
12999 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13000 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13002 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13003 (localedef-modules): Add localedef.
13004 (locale-modules): Add locale.
13006 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13007 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13008 to avoid a warning.
13010 2011-08-14 David S. Miller <davem@davemloft.net>
13012 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13013 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13015 2011-08-13 Ulrich Drepper <drepper@gmail.com>
13017 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
13018 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13019 * elf/rtld.c (dl_main): Set l_name of vDSO.
13020 Call _dl_show_scope when DL_DEBUG_SCOPES.
13021 (process_dl_debug): Recognize scopes flag and also set it for all.
13022 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13023 Declare _dl_show_scope.
13025 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13026 (do_dlopen): Pass caller_dlopen to dl_open.
13027 (__libc_dlopen_mode): Initialize caller_dlopen.
13029 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13030 of libc. Make tolower call locale-independent. Optimize a bit by
13031 using isdigit instead of isalnum.
13032 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13034 2011-08-12 Ulrich Drepper <drepper@gmail.com>
13036 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13037 was a dependency or dynamically loaded.
13039 2011-08-11 Ulrich Drepper <drepper@gmail.com>
13041 * intl/l10nflist.c: Allow architecture-specific pop function.
13042 * sysdeps/x86_64/l10nflist.c: New file.
13044 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13047 2011-08-10 Andreas Schwab <schwab@redhat.com>
13049 * include/dirent.h: Add libc_hidden_proto for scandirat and
13050 scandirat64. Don't declare __scandirat64.
13051 * dirent/scandirat.c: Add libc_hidden_def.
13052 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13053 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13055 2011-08-10 David S. Miller <davem@davemloft.net>
13057 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13059 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13060 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13061 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13063 2011-08-09 Ulrich Drepper <drepper@gmail.com>
13065 * Versions.def [libc]: Add GLIBC_2.15.
13066 * dirent/Makefile (routines): Add scandirat and scandirat64.
13067 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13069 * dirent/dirent.h: Declare scandirat and scandirat64.
13070 * dirent/scandirat.c: New file.
13071 * dirent/scandirat64.c: New file.
13072 * sysdeps/wordsize-64/scandirat.c: New file.
13073 * sysdeps/wordsize-64/scandirat64.c: New file.
13074 * dirent/opendir.c: Define opendirat.
13075 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13077 * dirent/scandir64.c: Adjust for scandir.c change.
13078 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13079 __scandirat64, and __scandir_cancel_handler.
13080 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13081 additional parameter and use openat instead of open (outside of ld.so).
13082 Add new __opendir as wrapper around __opendirat.
13083 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13084 here without requiring old scandirat implementation.
13086 2011-08-08 Ulrich Drepper <drepper@gmail.com>
13088 * dirent/scandir.c (cancel_handler): Renamed to
13089 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13090 defined. Adjust users.
13091 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13092 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13094 2011-08-04 Ulrich Drepper <drepper@gmail.com>
13096 * string/test-string.h (IMPL): Use __STRING to expand name and then
13099 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13102 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13104 * string/Makefile: Update.
13105 (strop-tests): Append strncat.
13106 * string/test-wcscmp.c: New file.
13107 New comprehensive test for wcscmp.
13108 * string/test-strcmp.c: Update.
13109 (WIDE): New define.
13111 2011-07-22 Andreas Schwab <schwab@redhat.com>
13113 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13116 2011-07-26 Andreas Schwab <schwab@redhat.com>
13118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13119 encoding to ACE if AI_IDN.
13121 2011-08-01 Jakub Jelinek <jakub@redhat.com>
13123 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13124 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13126 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13128 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13129 Fix overflow bug in strncat.
13130 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13132 * string/test-strncat.c: Update.
13133 Add new tests for checking overflow bugs.
13135 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13137 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13138 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13139 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13140 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13141 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13142 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13143 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13144 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13145 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13147 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13148 (USE_AS_STRCAT): Define.
13149 Add strcat and strncat support.
13150 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13152 2011-07-25 Andreas Schwab <schwab@redhat.com>
13154 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13155 __n bigger than INT_MAX+1.
13156 (__strncmp_g): Likewise.
13158 2011-07-23 Ulrich Drepper <drepper@gmail.com>
13160 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13161 * libio/stido.h: Likewise.
13163 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13165 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13168 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13169 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13170 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13171 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13172 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13175 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13178 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13180 (_dl_x86_64_save_sse): Likewise.
13182 2011-07-22 Ulrich Drepper <drepper@gmail.com>
13184 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13186 (_dl_x86_64_save_sse): Likewise.
13188 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13190 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13192 2011-07-21 Andreas Schwab <schwab@redhat.com>
13194 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13196 (_dl_x86_64_save_sse): Use correct AVX check.
13198 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13200 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13201 bug in strncpy/strncat.
13202 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13204 2011-07-21 Ulrich Drepper <drepper@gmail.com>
13206 * string/tester.c (test_strcat): Add tests for different alignments
13207 of source and destination.
13208 (test_strncat): Likewise.
13210 2011-07-20 Ulrich Drepper <drepper@gmail.com>
13213 * posix/glob.c (glob): Check passed in values before using them in
13214 expressions to avoid some overflows.
13215 (glob_in_dir): Likewise.
13218 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13219 check for AVX enablement so that we don't crash with old kernels and
13221 * elf/tst-audit4.c: Add same checks here.
13222 * elf/tst-audit6.c: Likewise.
13224 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
13226 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13228 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13230 2011-07-20 Ulrich Drepper <drepper@gmail.com>
13232 * po/cs.po: Update from translation team.
13233 * po/bg.po: Likewise.
13235 2011-07-12 Marek Polacek <mpolacek@redhat.com>
13237 * misc/sys/cdefs.h: Add support for const attribute.
13238 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13239 to gnu_dev_{major,minor,makedev} functions.
13241 2011-07-20 Marek Polacek <mpolacek@redhat.com>
13243 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13245 2011-07-20 Andreas Schwab <schwab@redhat.com>
13247 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13250 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13252 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13253 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13254 register in order to avoid conflicts with the soft frame pointer
13255 being held in r11 when necessary.
13256 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13257 (INTERNAL_VSYSCALL_NCS): Likewise.
13259 2011-07-14 Marek Polacek <mpolacek@redhat.com>
13261 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13262 * elf/dl-fini.c (_dl_fini): Adjust caller.
13263 * elf/dl-close.c (_dl_close_worker): Likewise.
13264 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13266 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13268 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13269 "aux_cache->nlibs < 0".
13271 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13272 in the reload-count case.
13274 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13276 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13277 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13278 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13279 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13280 * sysdeps/x86_64/multiarch/strcat.S: New file.
13281 * sysdeps/x86_64/multiarch/strncat.S: New file.
13282 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13283 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13284 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13285 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13286 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13287 (USE_AS_STRCAT): Define.
13288 Add strcat and strncat support.
13289 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13290 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13291 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13292 * string/strncat.c: Update.
13293 (USE_AS_STRNCAT): Define.
13294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13295 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13297 * sysdeps/x86_64/multiarch/init-arch.h
13298 (bit_Prefer_PMINUB_for_stringop): New.
13299 (index_Prefer_PMINUB_for_stringop): Likewise.
13300 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13301 bit_Prefer_PMINUB_for_stringop.
13303 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13305 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13307 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13308 of casting of buffer.
13309 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13310 buffer32 and buffer64.
13311 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13312 writes instead of casting of buffer.
13313 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13315 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13318 2011-07-19 Andreas Schwab <schwab@redhat.com>
13320 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13322 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13324 * nscd/nscd.c (termination_handler): Don't do anything for a database
13325 if it has not yet been initialized.
13327 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13329 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13331 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13333 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13335 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13337 * po/nl.po: Update from translation team.
13338 * po/sv.po: Likewise.
13340 2011-07-16 Roland McGrath <roland@hack.frob.com>
13342 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13343 now disallowed by GCC.
13345 * configure.in (use-default-link): Default to yes if a test -shared
13346 link meets our qualifications.
13347 * configure: Regenerated.
13349 * config.make.in (output-format): New variable.
13350 * configure.in: Check for ld --print-output-format support.
13351 * configure: Regenerated.
13352 * Makerules ($(common-objpfx)format.lds)
13353 [$(output-format) != unknown]: Just use $(output-format),
13354 instead of the linker-script munging.
13356 2011-07-14 Roland McGrath <roland@hack.frob.com>
13358 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13359 of $(common-objpfx)shlib.lds.
13360 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13362 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13363 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13365 * configure.in (-z relro check): Adjust test code to add a large
13366 writable data section after it.
13367 * configure: Regenerated.
13369 2011-07-11 Roland McGrath <roland@hack.frob.com>
13371 * configure.in (-z relro check): Fix test code to make the variable
13373 * configure: Regenerated.
13375 2011-07-11 Ulrich Drepper <drepper@gmail.com>
13377 * nscd/nscd.h (struct traced_file): Define.
13378 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13379 elements. Add traced_files.
13380 (inotify_fd): Declare.
13381 (register_traced_file): Declare.
13382 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13383 (inotify_fd): Export.
13384 (resolv_conf_descr): Remove.
13385 (nscd_init): Move inotify descriptor creation to main.
13386 Don't register files for notification here.
13387 (register_traced_file): New function.
13388 (invalidate_cache): Don't use reset_res to determine whether to call
13389 res_init, go through the list of registered files.
13390 (main_loop_poll): The inotify descriptors are now stored in the
13391 structures for the traced files.
13392 (main_loop_epoll): Likewise
13393 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13394 to __nss_disable_nscd.
13395 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13396 for a database anymore. Check the records for all the registered
13398 * nss/Makefile (libnss_files-routines): Add files-init.
13399 (libnss_db-routines): Add db-init.
13400 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13401 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13402 * nss/nss_db/db-init.c: New file.
13403 * nss/nss_files/files-init.c: New file.
13404 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13405 __nss_lookup_function.
13406 (__nss_lookup_function): Call nss_load_library.
13407 (nss_load_all_libraries): New function.
13408 (__nss_disable_nscd): Take parameter with callback function for files
13409 to register. Set is_nscd. Load all the DSOs for the NSS modules
13410 used for the cached services.
13411 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13412 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13413 options for features to all the files in nscd.
13415 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13417 2011-07-10 Roland McGrath <roland@hack.frob.com>
13419 * csu/elf-init.c (__libc_csu_init): Comment typo.
13421 2011-07-09 Ulrich Drepper <drepper@gmail.com>
13423 * po/pl.po: Update from translation team.
13424 * po/ja.po: Likewise.
13425 * po/ru.po: Likewise.
13426 * po/ko.po: Likewise.
13427 * po/fr.po: Likewise.
13429 2011-07-09 Roland McGrath <roland@hack.frob.com>
13431 * configure.in (.ctors/.dtors header and trailer check):
13432 Use an empirical test on a built program.
13433 * configure: Regenerated.
13435 * configure.in (-z relro check): Use an empirical test on a built DSO.
13436 Detect, but do not require, on ia64.
13437 * configure: Regenerated.
13439 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13440 Update tests that use readelf to use $READELF instead.
13441 * configure: Regenerated.
13443 2011-07-08 Ulrich Drepper <drepper@gmail.com>
13445 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13446 if the result is not used.
13448 2011-07-05 Andreas Jaeger <aj@suse.de>
13451 * stdlib/tst-strtod.c: Add testcase.
13453 2011-07-07 Ulrich Drepper <drepper@gmail.com>
13455 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
13456 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
13457 The latter has a higher limit. Take additional parameter to pass to
13459 (__pathconf): Pass file to __statfs_link_max.
13460 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13462 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13466 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13467 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13469 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13470 (__statfs_filesize_max): Likewise.
13471 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13473 2011-07-05 Andreas Jaeger <aj@suse.de>
13475 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13477 2011-07-06 Marek Polacek <mpolacek@redhat.com>
13479 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13481 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13484 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13486 * Makefile (strop-tests): Add strncat.
13487 * string/test-strncat.c: New file.
13489 2011-06-30 Marek Polacek <mpolacek@redhat.com>
13491 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13493 2011-06-21 Andreas Jaeger <aj@suse.de>
13495 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13496 Copy rule from iconvdata/Makefile.
13498 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13501 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13502 but no long options are defined, just return 'W'.
13504 2011-06-22 Marek Polacek <mpolacek@redhat.com>
13507 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13509 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13511 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13513 (innetgr): Likewise.
13515 2011-07-05 Roland McGrath <roland@hack.frob.com>
13517 * config.make.in (install_root): Default to $(DESTDIR).
13519 2011-07-05 Ulrich Drepper <drepper@gmail.com>
13521 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13523 2011-07-02 Roland McGrath <roland@hack.frob.com>
13525 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13527 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13528 containing directory rather than embedding absolute directory names.
13530 * scripts/check-local-headers.sh: Rewritten using awk.
13531 Match by word, not by line. Print error messages for matches.
13532 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13534 * Makerules [shlib-lds-flags empty]:
13535 ($(common-objpfx)libc_pic.opts): New target.
13536 ($(common-objpfx)libc_pic.os.clean): New target.
13537 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13539 * config.make.in (OBJCOPY): New variable.
13540 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13541 * configure: Regenerated.
13543 * config.make.in (use-default-link): New variable.
13544 * configure.in (use_default_link): Grok --with-default-link to set it.
13545 * configure: Regenerated.
13546 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13547 (shlib-lds, shlib-lds-flags): Define to empty.
13549 * Makerules (shlib-lds): New variable.
13550 (shlib-lds-flags): New variable.
13551 (build-shlib, build-moduile, build-module-asneeded): Use it.
13552 ($(common-objpfx)libc.so): Use $(shlib-lds).
13553 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13554 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13556 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13557 DT_FLAGS/DT_FLAGS_1 with zero flags.
13559 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13560 linker script munging.
13562 2011-07-02 Ulrich Drepper <drepper@gmail.com>
13564 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13566 * crypt/sha512.c (sha512_process_block): Perform total addition using
13567 128-bit if possible.
13568 (__sha512_finish_ctx): Likewise.
13569 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13571 * crypt/sha256.c (SWAP64): Define.
13572 (sha256_process_block): Perform total addition using 64-bit if
13574 (__sha256_finish_ctx): Likewise.
13576 2011-07-01 Ulrich Drepper <drepper@gmail.com>
13578 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13579 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13580 * nscd/hstcache.c (cache_addhst): Likewise.
13581 * nscd/grpcache.c (cache_addgr): Likewise.
13582 * nscd/aicache.c (addhstaiX): Likewise
13583 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13585 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
13587 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13588 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13589 * nscd/hstcache.c (cache_addhst): Likewise.
13590 * nscd/grpcache.c (cache_addgr): Likewise.
13591 * nscd/aicache.c (addhstaiX): Likewise
13593 2011-07-01 Andreas Schwab <schwab@redhat.com>
13595 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13596 domain only when needed.
13598 2011-06-30 Andreas Schwab <schwab@redhat.com>
13600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13601 is always restored.
13603 2011-06-29 Ulrich Drepper <drepper@gmail.com>
13605 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13606 are re-adding the entry.
13607 * nscd/servicescache.c (cache_addserv): Likewise.
13609 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13611 * sysdeps/generic/dl-irel.h: fix protection against multiple
13613 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13615 2011-06-28 Ulrich Drepper <drepper@gmail.com>
13618 * malloc/memusage.sh: Fix quoting in message.
13619 * debug/xtrace.sh: Likewise.
13621 * configure.in: Remove support for --experimental-malloc option, make
13623 * config.make.in: Likewise.
13624 * malloc/Makefile: Likewise.
13626 2011-06-27 Andreas Schwab <schwab@redhat.com>
13628 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13629 two-byte characters.
13631 2011-06-27 Roland McGrath <roland@hack.frob.com>
13633 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13634 AC_CACHE_CHECK invocation.
13635 * configure: Regenerated.
13637 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13639 2011-06-27 Ulrich Drepper <drepper@gmail.com>
13642 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13643 bit from old_res_options.
13645 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13647 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13648 value type for setfct.
13650 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13652 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13653 __gettimeofday instead of gettimeofday.
13655 2011-06-26 Ulrich Drepper <drepper@gmail.com>
13657 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13659 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13661 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13663 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13666 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13668 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13669 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13670 strcpy-sse2-unaligned strncpy-sse2-unaligned
13671 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13672 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13673 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13674 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13675 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13676 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13677 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13678 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13679 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13680 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13681 (STRCPY): Support SSE2 and SSSE3 versions.
13683 2011-06-24 Ulrich Drepper <drepper@gmail.com>
13686 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13687 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13688 kernels which artificially limit size of requests.
13690 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13692 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13693 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13694 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13695 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13696 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13697 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13698 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13699 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13700 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13701 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13702 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13703 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13704 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13705 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13706 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13708 Enable unaligned load optimization for Intel Core i3, i5 and i7
13710 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13712 (index_Fast_Unaligned_Load): Define.
13713 (HAS_FAST_UNALIGNED_LOAD): Define.
13715 2011-06-23 Marek Polacek <mpolacek@redhat.com>
13717 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13719 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13722 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13723 until it is clear that the information is realy needed.
13724 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13726 2011-06-22 Andreas Schwab <schwab@redhat.com>
13728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13730 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13732 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13733 /sys/devices/system/cpu/online if it is usable.
13735 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13736 reading the information from the /proc filesystem to once a second.
13738 2011-06-21 Andreas Jaeger <aj@suse.de>
13740 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13741 NULL after inclusion of kernel headers.
13743 2011-06-21 Ulrich Drepper <drepper@gmail.com>
13745 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13746 calls to internal_setent.
13749 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13750 addresses using gethostbyname4_r ignore IPv4 addresses.
13752 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13753 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13755 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13757 2011-06-20 David S. Miller <davem@davemloft.net>
13759 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13761 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13763 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13764 (elf_irel): Use it.
13765 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13766 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13767 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13768 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13769 * sysdeps/x86_64/dl-irel.h: Likewise.
13771 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13772 * elf/dl-sym.c: Likewise.
13774 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13776 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13777 need to dereference resplen2.
13779 2011-06-14 Andreas Schwab <schwab@redhat.com>
13781 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13783 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13785 * Makeconfig: Define vardbdir and inst_vardbdir.
13786 * nss/Makefile: Add rules to install db-Makefile.
13788 * nss/nss_db/db-XXX.c: Cleanup.
13790 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13791 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13793 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13794 * nss/makedb.c: Implement -g option to specify that value strings
13795 are generated and should not be added to table iterated over for
13797 * nss/nss_db/db-initgroups.c: New file.
13799 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13802 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13803 (internal_getgrouplist): Adjust to name change.
13804 Update use_initgroups_entry if this is not the first call.
13805 * nss/databases.def: Add initgroups entry.
13807 * nss/makedb.c (compute_tables): Check result of multiple hash table
13808 sizes to minimize maximum chain length.
13810 2011-06-14 Ulrich Drepper <drepper@gmail.com>
13812 * Versions.def: Add entry for libnss_db.
13813 * shlib-versions: Likewise.
13814 * nss/Makefile: Add rules to build libnss_db.
13815 * nss/Versions: Add libnss_db information. Organize libnss_files
13817 * nss/db-Makefile: Add gshadow support. Change rules for the new
13818 makedb progra. Some minor improvements to generate smaller files.
13819 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13821 * nss/makedb.c: ...here.
13822 Improve database format to be smaller and require less memory at
13824 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13826 * nss/nss_db/db-netgrp.c: Likewise.
13827 * nss/nss_db/db-open.c: Likewise.
13828 * nss/nss_files/flies-XXX.x: Adjust comments.
13829 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13830 * nss/nss_files/files-grp.c: Likewise.
13831 * nss/nss_files/files-hosts.c: Likewise.
13832 * nss/nss_files/files-network.c: Likewise.
13833 * nss/nss_files/files-proto.c: Likewise.
13834 * nss/nss_files/files-pwd.c: Likewise.
13835 * nss/nss_files/files-rpc.c: Likewise.
13836 * nss/nss_files/files-service.c: Likewise.
13837 * nss/nss_files/files-sgrp.c: Likewise.
13838 * nss/nss_files/files-spwd.c: Likewise.
13839 * nss/nss_db/db-alias.c: Removed.
13840 * nss/nss_db/dummy-db.h: Removed.
13842 2011-06-02 Ulrich Drepper <drepper@gmail.com>
13844 * nss/makedb.c: Rewritten to not use database library.
13845 * nss/Makefile: Update to build new makedb program.
13847 2011-06-14 Andreas Jaeger <aj@suse.de>
13849 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13850 memset declaration.
13852 2011-06-10 Andreas Schwab <schwab@redhat.com>
13854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13857 2011-06-10 Roland McGrath <roland@hack.frob.com>
13859 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13860 * elf/Makefile ($(objpfx)ld.so): Likewise.
13862 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13863 Don't list ld.so twice in dependencies.
13865 * posix/bug-regex31.c: Include <stdlib.h>.
13867 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13869 * nis/nss_compat/compat-spwd.c
13870 (getspent_next_nss_netgr): Remove unused variable.
13871 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13873 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13874 nonmembers" output to use the right array.
13876 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13878 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13880 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13881 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13882 * catgets/gencat.c (read_input_file): Likewise.
13883 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13885 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13886 variable definition inside #if's controlling its use.
13888 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13890 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13892 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13894 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13897 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13899 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13900 * configure: Regenerated.
13902 * Makerules: Revert last change.
13903 * elf/Makefile: Likewise.
13905 2011-06-09 Roland McGrath <roland@hack.frob.com>
13907 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13908 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13909 (reloc-link): Likewise.
13911 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13913 * elf/Makefile: Add rules to build pldd.
13914 * elf/pldd.c: New file.
13915 * elf/pldd-xx.c: New file.
13917 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13919 * version.h: Update for 2.15 development version.
13921 2011-06-07 David S. Miller <davem@davemloft.net>
13923 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13925 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13926 elf_machine_lazy_rel): Likewise.
13927 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13928 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13929 elf_machine_lazy_rel): Likewise.
13930 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13931 dl_hwcap via passed in argument.
13932 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13935 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13937 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13939 2011-06-06 Roland McGrath <roland@hack.frob.com>
13942 * manual/fdl-1.1.texi: New file, verbatim from:
13943 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13944 * manual/lgpl-2.1.texi: New file, verbatim from:
13945 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13946 * manual/Makefile (licenses): New variable, list those new file names.
13948 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13950 * manual/fdl.texi: File removed.
13951 * manual/lesser.texi: File removed.
13952 * manual/libc.texinfo (Copying, Documentation License):
13953 Use new @include file names, put @appendix directive before @include.
13955 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13958 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13959 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13960 (mq_open): Add __NTH.
13962 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13965 Assume Intel Core i3/i5/i7 processor if AVX is available.
13967 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13969 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13972 2011-05-31 Andreas Schwab <schwab@redhat.com>
13974 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13975 memory. Use alloca_account. Fix memory leak when retrying.
13977 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13979 * version.h (RELEASE): Bump for 2.14 release.
13980 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13982 * config.make.in (RANLIB): Remove entry.
13984 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13986 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13987 (libc.pot): Work around missing support for .ksh extension in xgettext.
13990 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13991 if both request failed.
13992 (send_dg): In case of server errors clear resplen or *resplen2.
13995 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13996 when there are multiple maps.
13997 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13998 (_dl_fini): Remove test here.
14000 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14002 2011-05-29 Ulrich Drepper <drepper@gmail.com>
14005 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14006 bit from old_res_options.
14007 (gaih_inet): Likewise.
14010 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
14013 * resolv/res_init.c (res_setoptions): Make the code more compact.
14016 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14020 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14022 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14025 * malloc/malloc.h: Declare malloc hook variables as volatile.
14027 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14031 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
14032 raise in the comment.
14033 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14034 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14035 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
14037 2011-05-28 Ulrich Drepper <drepper@gmail.com>
14040 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14041 grow the buffers more if it already has to be sufficient.
14042 (build_wcs_upper_buffer): Likewise.
14043 * posix/regexec.c (check_matching): Likewise.
14044 (clean_state_log_if_needed): Likewise.
14045 (extend_buffers): Don't enlarge buffers beyond size of the input
14047 Patches mostly by Emil Wojak <emil@wojak.eu>.
14048 * posix/bug-regex32.c: New file.
14049 * posix/Makefile (tests): Add bug-regex32.
14051 * locale/findlocale.c (_nl_find_locale): Return right away if
14052 _nl_explode_name failed.
14053 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14055 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14057 * debug/xtrace.sh: Unify messages.
14058 * malloc/memusage.sh: Likewise.
14061 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14062 time symbol from vDSO. Substitute with vsyscall if not available.
14063 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14066 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14067 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14068 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14069 Add sendmmsg and internal_sendmmsg.
14070 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14071 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14072 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14074 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14075 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14076 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14078 2011-05-27 Ulrich Drepper <drepper@gmail.com>
14081 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14082 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14084 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14088 * iconvdata/Makefile (tests): Add bug-iconv9.
14089 * iconvdata/bug-iconv9.c: New file.
14091 2011-05-27 Andreas Schwab <schwab@redhat.com>
14094 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14096 2011-05-25 Jakub Jelinek <jakub@redhat.com>
14098 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14099 (struct user_regs_struct): Change intcs field back to cs.
14101 2011-05-25 Ulrich Drepper <drepper@gmail.com>
14103 * po/ja.po: Update from translation team.
14105 2011-05-23 Ulrich Drepper <drepper@gmail.com>
14108 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14109 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14111 2011-05-20 Andreas Schwab <schwab@redhat.com>
14113 * stdlib/longlong.h: Update from GCC.
14115 2011-05-23 Andreas Schwab <schwab@redhat.com>
14117 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14119 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14120 Add parameter name.
14121 (__sysconf): Pass it down.
14123 2011-05-22 Ulrich Drepper <drepper@gmail.com>
14126 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14128 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14129 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14130 add in in __libc_use_alloca calls. Adjust callers.
14131 (glob): Use malloc in some situations.
14133 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14134 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14137 2011-05-21 Ulrich Drepper <drepper@gmail.com>
14139 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14140 and CLOCK_BOOTTIME_ALARM.
14143 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14146 * string/_strerror.c (__strerror_r): Print negative errors as signed
14150 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14151 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14152 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14154 * configure.in: Fix typo in redirection and correct removal of test
14155 files in two cases.
14158 * locale/setlocale.c (new_composite_name): Fix test to check for
14159 identical name of all categories.
14162 * libio/filedoalloc.c (local_isatty): New function.
14163 (_IO_file_doallocate): Use local_isatty.
14164 * stdio-common/perror.c (perror): In case a new stream is used
14165 forward the stream error.
14166 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14169 2011-05-20 Ulrich Drepper <drepper@gmail.com>
14172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14174 * include/alloca.h (extend_alloca_account): Define.
14177 * posix/regex.h: Fix comments with documentation of user-accessible
14178 fields after compilation and describe correct free'ing of pattern
14179 after re_compile_pattern.
14180 Patch by Reuben Thomas <rrt@sc3d.org>.
14182 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14184 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14185 and -mno-altivec to prevent the compiler from using Altivec and/or
14186 VSX instructions when the corresponding registers are not available.
14188 2011-05-19 Andreas Schwab <schwab@redhat.com>
14190 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14192 2011-05-19 Ulrich Drepper <drepper@gmail.com>
14194 * libio/freopen.c (freopen): Use __dup2, not dup2.
14195 * libio/freopen64.c (freopen64): Likewise.
14197 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14200 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14201 * math/Makefile (tests): Add test-powl.
14202 (CFLAGS-test-powl.c): Define.
14203 * math/test-powl.c: New file.
14205 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14207 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14209 2011-05-17 Ulrich Drepper <drepper@gmail.com>
14212 * iconvdata/gb18030.c: Update to GB18020-2005.
14214 2011-05-16 Ulrich Drepper <drepper@gmail.com>
14216 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14217 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14218 Patch by Aharon Robbins <arnold@skeeve.com>.
14221 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14225 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14226 through underflows.
14229 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14230 point to strings before performing equality test for error_one_per_line
14234 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14237 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14238 (struct user_fpregs_struct): Avoid __uint*_t types.
14241 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14242 symbol info. Use it instead of calling _dl_addr locally.
14243 (lock_and_info): New function.
14244 (tr_freehook): Call lock_and_info and pass symbol info as additional
14245 parameter to tr_where.
14246 (tr_mallochook): Likewise.
14247 (tr_reallochook): Likewise.
14248 (tr_memalignhook): Likewise.
14250 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14251 used and couldn't be at all thread-safe.
14253 2011-05-15 Ulrich Drepper <drepper@gmail.com>
14255 * libio/freopen.c (freopen): Don't close old file descriptor
14256 before the new one is opened. Instead dup the new file descriptor
14257 to the old one after the new stream is created.
14258 * libio/freopen64.c (freopen64): Likewise.
14259 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14260 * libio/fileops.c (_IO_new_file_close_it): Handle new
14261 _IO_FLAGS2_NOCLOSE flag.
14262 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14263 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14264 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14265 _IO_FLAGS2_NOCLOSE flag.
14266 * include/unistd.h: Add hidden_proto for dup3.
14267 Define __have_dup3.
14268 * io/dup3.c: Define hidden symbol.
14269 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14272 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14273 when an incomplete long option is used.
14274 * posix/tst-getopt_long1.c: New file.
14275 * posix/Makefile (tests): Add tst-getopt_long1.
14278 * scripts/config.guess: Update from autoconf-2.68.
14279 * scripts/config.sub: Likewise.
14282 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14284 (has_cpuclock): ...this. New function.
14285 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14286 macro here based on has_cpuclock code.
14289 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14290 First byte (not low byte) is now always NUL.
14291 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14293 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14294 Use non-cancelable interfaces.
14297 * locale/iso-639.def: Add entry for Sorani.
14300 * include/stdlib.h: Move include protection to the right place.
14301 Define abort_msg_s. Declare __abort_msg with it.
14302 * stdlib/abort.c (__abort_msg): Adjust type.
14303 * assert/assert.c (__assert_fail_base): New function. Majority
14304 of code from __assert_fail. Allocate memory for __abort_msg with
14306 (__assert_fail): Now call __assert_fail_base.
14307 * assert/assert-perr.c: Remove bulk of implementation. Use
14308 __assert_fail_base.
14309 * include/assert.hL Declare __assert_fail_base.
14310 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14312 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14314 2011-05-14 Ulrich Drepper <drepper@gmail.com>
14318 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14319 until all modules are registered in the DTV.
14320 * elf/Makefile: Add rules to build and run tst-tls19.
14321 * elf/tst-tls19.c: New file.
14322 * elf/tst-tls19mod1.c: New file.
14323 * elf/tst-tls19mod2.c: New file.
14324 * elf/tst-tls19mod3.c: New file.
14325 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14328 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14332 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14333 two-byte sequence errors.
14334 * iconvdata/Makefile (tests): Add bug-iconv8.
14335 * iconvdata/bug-iconv8.c: New file.
14338 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14341 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14344 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14345 (dummy_getcfa): New function.
14346 (init): Get _Unwind_GetCFA address, use dummy if not found.
14347 (backtrace_helper): In recursion check, also check whether CFA changes.
14348 (__backtrace): Completely initialize arg.
14350 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
14351 storing incomplete byte sequence in state object. Avoid testing for
14352 guaranteed too small input if we know there is enough data available.
14354 2011-05-11 Andreas Schwab <schwab@redhat.com>
14356 * Makeconfig (+link-pie): Indent.
14357 * Rules (binaries-pie): Define if $(have-fpie) and
14359 (binaries-shared): Also filter out $(binaries-pie).
14360 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14361 * nscd/Makefile (others-pie): Add nscd.
14362 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14363 ($(objpfx)nscd): Remove command override.
14364 * login/Makefile (others-pie): Add pt_chown.
14365 ($(objpfx)pt_chown): Remove command override.
14366 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14367 remove command overrides.
14369 2011-05-13 Ulrich Drepper <drepper@gmail.com>
14371 * libio/tst_putwc.c: Fix error messages.
14374 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14375 currently writing and seek to current position when not.
14376 * libio/Makefile (tests): Add bug-fclose1.
14377 * libio/bug-fclose1.c: New file.
14379 2011-05-12 Ulrich Drepper <drepper@gmail.com>
14382 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14383 don't set DF_1_NODELETE here.
14384 (do_lookup_x): When entering new entry test for copy relocation
14385 and if necessary set DF_1_NODELETE flag.
14386 * elf/tst-unique4.cc: New file.
14387 * elf/tst-unique4.h: New file.
14388 * elf/tst-unique4lib.cc: New file.
14389 * elf/Makefile: Add rules to build and run tst-unique4.
14390 Patch by Piotr Bury <pbury@goahead.com>.
14392 2011-05-11 Ulrich Drepper <drepper@gmail.com>
14395 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14398 * misc/mntent_r.c (addmntent): Flush the stream after the output
14401 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14402 (is_trusted_path_normalize): Skip initial colon. Append slash
14403 to empty buffer. Duplicate is_trusted_path code but allow
14404 constructed patch to be prefix.
14405 (is_dst): Allow $ORIGIN followed by /.
14406 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14407 Correct testing of result of is_trusted_path_normalize
14408 (decompose_rpath): Fix warning.
14410 2011-05-10 Ulrich Drepper <drepper@gmail.com>
14413 * grp/initgroups.c (internal_getgrouplist): When we found the service
14414 list through the initgroups entry in nsswitch.conf do not always
14415 continue on a successful lookup. Don't always use the
14416 __nss_group_database value if it is set.
14417 * nss/nsswitch.conf (initgroups): Change action for successful db
14418 lookup to continue for compatibility.
14420 2011-05-09 Ulrich Drepper <drepper@gmail.com>
14423 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14425 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14427 * iconvdata/tst-tables.sh: Likewise.
14428 * iconvdata/cp770.c: New file.
14429 * iconvdata/cp771.c: New file.
14430 * iconvdata/cp772.c: New file.
14431 * iconvdata/cp773.c: New file.
14432 * iconvdata/cp774.c: New file.
14433 * iconvdata/testdata/CP770: New file.
14434 * iconvdata/testdata/CP770..UTF8: New file.
14435 * iconvdata/testdata/CP771: New file.
14436 * iconvdata/testdata/CP771..UTF8: New file.
14437 * iconvdata/testdata/CP772: New file.
14438 * iconvdata/testdata/CP772..UTF8: New file.
14439 * iconvdata/testdata/CP773: New file.
14440 * iconvdata/testdata/CP773..UTF8: New file.
14441 * iconvdata/testdata/CP774: New file.
14442 * iconvdata/testdata/CP774..UTF8: New file.
14444 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14446 * iconvdata/gen-8bit-gap.sh: Likewise.
14447 * iconvdata/gen-8bit.sh: Likewise.
14449 * locale/iso-639.def: Add ary entry.
14452 * locale/C-translit.h.in: Add U20A1 transliteration.
14455 * locale/iso-639.def: Add wae entry.
14456 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14459 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14463 * locale/C-translit.h.in: Add entry for U20B9.
14464 Patch by pravin.d.s@gmail.com.
14466 2011-05-08 Ulrich Drepper <drepper@gmail.com>
14469 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14470 ENAMETOOLONG use generic getcwd.
14471 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14472 in rtld. Use *stat64.
14473 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
14474 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
14475 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
14476 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14477 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14478 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14479 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14480 __fstatat64 macros.
14481 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14482 * dirent/rewinddir.c: Add libc_hidden_def.
14483 * sysdeps/mach/hurd/rewinddir.c: Likewise.
14484 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
14486 * include/dirent.h (__alloc_dir): Add flags parameter.
14487 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14488 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14490 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14491 from fdopendir if O_CLOEXEC is already set.
14493 2011-03-15 Alan Modra <amodra@gmail.com>
14495 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14496 l_tls_firstbyte_offset non-zero. Save padding offset in
14497 l_tls_firstbyte_offset for later use.
14498 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14499 freeing static tls block.
14501 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14503 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14504 where #ifdef was intended. The intent is to prevent ARG_MAX from
14505 being defined by the kernel headers.
14507 2011-05-07 Ulrich Drepper <drepper@gmail.com>
14510 * resolv/resolv.h: Define RES_NOTLDQUERY.
14511 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14512 no-tld-query and set RES_NOTLDQUERY.
14513 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14514 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14515 modern BIND to search name as TLD unless forbidden.
14517 2011-05-07 Petr Baudis <pasky@suse.cz>
14518 Ulrich Drepper <drepper@gmail.com>
14521 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14522 (is_trusted_path): ...to here.
14523 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14524 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14525 using is_trusted_path_normalize() in setuid scripts.
14527 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14529 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14530 __BEGIN/__END_DECLS.
14532 2011-05-06 Ulrich Drepper <drepper@gmail.com>
14534 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14535 NSS_STATUS_NOTFOUND if no record was found.
14537 2011-05-05 Andreas Schwab <schwab@redhat.com>
14539 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14540 (headers-not-in-tirpc): Remove rpc/netdb.h
14541 * resolv/netdb.h: Revert last change.
14543 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14545 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14546 circular dependency between libgcc.a and libc.a.
14548 2011-05-05 Andreas Schwab <schwab@redhat.com>
14550 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14551 * nis/Makefile: Don't install rpcsvc/*.
14552 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14553 instead of <rpc/types.h>.
14554 (MAXHOSTNAMELEN): Define.
14556 2011-05-03 Andreas Schwab <schwab@redhat.com>
14558 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14560 2011-04-28 Maciej Babinski <mbabinski@google.com>
14563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14564 gethostbyname4_r when IPv6 results are possible.
14566 2011-05-02 Ulrich Drepper <drepper@gmail.com>
14569 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14570 _PC_PIPE_BUF handling.
14572 2011-04-30 Bruno Haible <bruno@clisp.org>
14575 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14576 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14578 * inet/getnameinfo.c (getnameinfo): Likewise.
14580 2011-04-29 Ulrich Drepper <drepper@gmail.com>
14582 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14583 to groups setting in database lookup.
14584 * nss/nsswitch.conf: Add initgroups entry.
14586 2011-04-22 Ulrich Drepper <drepper@gmail.com>
14589 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14591 Patch by Eric Blake <eblake@redhat.com>.
14593 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14595 * sunrpc/Makefile (need-export-routines): Add svc_run.
14596 (routines): Remove svc_run.
14597 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14598 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14599 * sunrpc/svc_run.c (svc_run): Likewise.
14600 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14602 2011-04-21 Ulrich Drepper <drepper@gmail.com>
14604 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14605 problem in reallocation in last patch.
14607 2011-04-20 Ulrich Drepper <drepper@gmail.com>
14609 * sunrpc/Makefile: Move inclusion of Rules.
14611 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14613 * nss/nss_files/files-initgroups.c: New file.
14614 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14615 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14616 _nss_files_initgroups_dyn.
14618 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14620 * elf/elf.h (R_ARM_IRELATIVE): Define.
14622 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14624 * po/ru.po: Update from translation team.
14626 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14628 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14631 2011-02-06 Mike Frysinger <vapier@gentoo.org>
14634 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14635 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14636 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14637 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14638 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14640 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14642 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14644 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14645 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14646 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14648 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14651 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14653 * stdlib/bug-getcontext.c: New file.
14654 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14656 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14658 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14659 instructions into .machine "z9-109".
14660 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14661 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14663 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14665 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14666 between environment variables and auxiliary vector.
14668 2011-04-16 Ulrich Drepper <drepper@gmail.com>
14670 * Makefile: Add rules to build linkobj/libc.so.
14671 * include/libc-symbols.h: Define libc_hidden_nolink.
14672 * include/rpc/auth.h: Mark functions which are to be hidden.
14673 * include/rpc/auth_des.h: Likewise.
14674 * include/rpc/auth_unix.h: Likewise.
14675 * include/rpc/clnt.h: Likewise.
14676 * include/rpc/des_crypt.h: Likewise.
14677 * include/rpc/key_prot.h: Likewise.
14678 * include/rpc/pmap_clnt.h: Likewise.
14679 * include/rpc/pmap_prot.h: Likewise.
14680 * include/rpc/pmap_rmt.h: Likewise.
14681 * include/rpc/rpc_msg.h: Likewise.
14682 * include/rpc/svc.h: Likewise.
14683 * include/rpc/svc_auth.h: Likewise.
14684 * include/rpc/xdr.h: Likewise.
14685 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14686 * nss/Makefile: Likewise.
14687 * sunrpc/Makefile: Don't install headers. Build library with normal
14688 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14689 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14690 for the compat linking library. Remove use of INTDEF/INTUSE.
14691 * sunrpc/auth_none.c: Likewise.
14692 * sunrpc/auth_unix.c: Likewise.
14693 * sunrpc/authdes_prot.c: Likewise.
14694 * sunrpc/authuxprot.c: Likewise.
14695 * sunrpc/clnt_gen.c: Likewise.
14696 * sunrpc/clnt_perr.c: Likewise.
14697 * sunrpc/clnt_raw.c: Likewise.
14698 * sunrpc/clnt_simp.c: Likewise.
14699 * sunrpc/clnt_tcp.c: Likewise.
14700 * sunrpc/clnt_udp.c: Likewise.
14701 * sunrpc/clnt_unix.c: Likewise.
14702 * sunrpc/des_crypt.c: Likewise.
14703 * sunrpc/des_soft.c: Likewise.
14704 * sunrpc/get_myaddr.c: Likewise.
14705 * sunrpc/key_call.c: Likewise.
14706 * sunrpc/key_prot.c: Likewise.
14707 * sunrpc/netname.c: Likewise.
14708 * sunrpc/pm_getmaps.c: Likewise.
14709 * sunrpc/pm_getport.c: Likewise.
14710 * sunrpc/pmap_clnt.c: Likewise.
14711 * sunrpc/pmap_prot.c: Likewise.
14712 * sunrpc/pmap_prot2.c: Likewise.
14713 * sunrpc/pmap_rmt.c: Likewise.
14714 * sunrpc/publickey.c: Likewise.
14715 * sunrpc/rpc_cmsg.c: Likewise.
14716 * sunrpc/rpc_common.c: Likewise.
14717 * sunrpc/rpc_dtable.c: Likewise.
14718 * sunrpc/rpc_prot.c: Likewise.
14719 * sunrpc/rpc_thread.c: Likewise.
14720 * sunrpc/rtime.c: Likewise.
14721 * sunrpc/svc.c: Likewise.
14722 * sunrpc/svc_auth.c: Likewise.
14723 * sunrpc/svc_authux.c: Likewise.
14724 * sunrpc/svc_raw.c: Likewise.
14725 * sunrpc/svc_run.c: Likewise.
14726 * sunrpc/svc_simple.c: Likewise.
14727 * sunrpc/svc_tcp.c: Likewise.
14728 * sunrpc/svc_udp.c: Likewise.
14729 * sunrpc/svc_unix.c: Likewise.
14730 * sunrpc/svcauth_des.c: Likewise.
14731 * sunrpc/xcrypt.c: Likewise.
14732 * sunrpc/xdr.c: Likewise.
14733 * sunrpc/xdr_array.c: Likewise.
14734 * sunrpc/xdr_float.c: Likewise.
14735 * sunrpc/xdr_intXX_t.c: Likewise.
14736 * sunrpc/xdr_mem.c: Likewise.
14737 * sunrpc/xdr_rec.c: Likewise.
14738 * sunrpc/xdr_ref.c: Likewise.
14739 * sunrpc/xdr_sizeof.c: Likewise.
14740 * sunrpc/xdr_stdio.c: Likewise.
14742 2011-04-10 Ulrich Drepper <drepper@gmail.com>
14745 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14746 * sysdeps/ia64/dl-tls.h: Likewise.
14747 * sysdeps/powerpc/dl-tls.h: Likewise.
14748 * sysdeps/s390/dl-tls.h: Likewise.
14749 * sysdeps/sh/dl-tls.h: Likewise.
14750 * sysdeps/sparc/dl-tls.h: Likewise.
14751 * sysdeps/x86_64/dl-tls.h: Likewise.
14752 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14754 2011-03-14 Andreas Schwab <schwab@redhat.com>
14756 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14757 rpath element also skip the following colon.
14758 (expand_dynamic_string_token): Add is_path parameter and pass
14759 down to DL_DST_REQUIRED and _dl_dst_substitute.
14760 (decompose_rpath): Call expand_dynamic_string_token with
14761 non-zero is_path. Ignore empty rpaths.
14762 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14765 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14770 2011-04-09 Ulrich Drepper <drepper@gmail.com>
14773 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14774 Patch by Filipe David Manana <fdmanana@apache.org>.
14776 2011-04-07 Andreas Schwab <schwab@redhat.com>
14778 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14779 Maintain aligned stack.
14780 (CHECK_RSP): Remove unused macro.
14782 2011-04-03 Ulrich Drepper <drepper@gmail.com>
14784 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14785 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14787 2011-04-02 Ulrich Drepper <drepper@gmail.com>
14789 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14791 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14793 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14796 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14797 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14798 * sysdeps/x86_64/memmove.c: New file.
14799 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14800 (memcpy): Renamed to ...
14801 (__new_memcpy): This.
14802 (memcpy): Provide GLIBC_2_14 memcpy.
14803 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14804 (memcpy): Provide GLIBC_2_2_5 memcpy.
14806 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14809 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14811 2011-03-30 Andreas Schwab <schwab@redhat.com>
14813 * misc/syncfs.c: New file.
14814 * misc/Makefile (routines): Add syncfs.
14815 * posix/unistd.h: Declare syncfs.
14816 * sysdeps/unix/syscalls.list: Add syncfs.
14818 2011-04-01 Andreas Schwab <schwab@redhat.com>
14820 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14822 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14823 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14824 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14825 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14826 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14827 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14828 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14830 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14832 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14833 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14834 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14835 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14836 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14837 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14838 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14840 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14841 sync_file_range.c with -fexceptions.
14842 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14843 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14844 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14845 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14846 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14847 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14848 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14849 sync_file_range as cancellation point
14850 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14851 now a wrapper around __call_sync_file_range with cancellation handling.
14852 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14853 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14854 function name to __call_sync_file_range.
14855 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14856 Add call_sync_file_range.
14858 2011-04-01 Andreas Schwab <schwab@redhat.com>
14860 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14863 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14865 * iconv/iconv.h: Fix typo in comment.
14866 * io/fcntl.h: Likewise.
14867 * libio/stdio.h: Likewise.
14868 * posix/spawn.h: Likewise.
14869 * posix/unistd.h: Likewise.
14870 * stdlib/stdlib.h: Likewise.
14871 * time/time.h: Likewise.
14872 * wcsmbs/wchar.h: Likewise.
14874 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14875 open_by_handle): Add.
14876 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14877 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14878 Augment a few comments.
14879 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14880 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14881 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14882 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14883 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14884 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14887 * io/fcntl.h (AT_EMPTY_PATH): Define.
14889 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14891 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14892 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14893 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14895 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14896 * Versions.def: Add GLIBC_2.14.
14897 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14900 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14902 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14904 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14906 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14909 * string/test-strncmp.c (do_page_test): New function.
14910 (check2): Likewise.
14911 (test_main): Call check2.
14912 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14914 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14917 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14918 Handle cache information in CPU leaf 4.
14919 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14921 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14924 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14925 character representation.
14926 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14928 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14930 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14931 END(__isnan) to END(__isnanf) to match function entry point/label
14932 EALIGN(__isnanf,...).
14934 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14936 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14938 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14941 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14942 copy from the symbol referenced in the relocation to initialize the
14944 Patch by Piotr Bury <pbury@goahead.com>.
14945 * elf/Makefile: Add rules to build and tst-unique3.
14946 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14947 * elf/tst-unique3.cc: New file.
14948 * elf/tst-unique3.h: New file.
14949 * elf/tst-unique3lib.cc: New file.
14950 * elf/tst-unique3lib2.cc: New file.
14952 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14954 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14956 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14957 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14960 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14962 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14963 to-be-loaded object along a path to loader is ld.so.
14965 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14966 Ulrich Drepper <drepper@gmail.com>
14968 * sysdeps/x86_64/memset.S: After aligning destination, code
14969 branches to different locations depending on the value of
14970 misalignment, when multiarch is enabled. Fix this.
14972 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14974 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14975 Set _x86_64_preferred_memory_instruction for AMD processsors.
14976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14977 Set bit_Prefer_SSE_for_memop for AMD processors.
14979 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14981 * libio/fmemopen.c (fmemopen): Optimize a bit.
14983 2011-03-03 Andreas Schwab <schwab@redhat.com>
14985 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14987 2011-03-03 Roland McGrath <roland@redhat.com>
14989 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14991 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14993 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14994 __bzero_ultra1 instead of __memset_ultra1.
14996 2011-02-23 Andreas Schwab <schwab@redhat.com>
14997 Ulrich Drepper <drepper@gmail.com>
15000 * include/link.h (struct link_map): Add l_orig_initfini.
15001 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15002 returning unsuccessfully.
15003 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15004 close of a file loaded at startup, restore the original l_initfini
15006 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15007 list, store the pointer.
15008 * elf/Makefile ($(objpfx)noload-mem): New rule.
15009 (noload-ENV): Define.
15010 (tests): Add $(objpfx)noload-mem.
15011 * elf/noload.c: Include <memcheck.h>.
15012 (main): Call mtrace. Close all opened handles.
15014 2011-02-17 Andreas Schwab <schwab@redhat.com>
15017 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15018 dependencies are missing.
15020 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15022 Fix __if_freereq crash: Unlike the generic version which uses free,
15024 * sysdeps/mach/hurd/ifreq.h: New file.
15026 2011-01-27 Petr Baudis <pasky@suse.cz>
15027 Ulrich Drepper <drepper@gmail.com>
15030 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15031 to extend_alloca().
15032 * stdio-common/bug23.c: New file.
15033 * stdio-common/Makefile (tests): Add bug23.
15035 2010-09-28 Andreas Schwab <schwab@redhat.com>
15036 Ulrich Drepper <drepper@gmail.com>
15039 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15040 before performing relro protection. At old place add assertion
15041 to make sure nothing changed.
15043 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15044 Glauber de Oliveira Costa <glommer@gmail.com>
15046 * elf/elf.h: Add new ARM TLS relocs.
15048 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15051 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15053 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15055 * sysdeps/wordsize-64/tst-writev.c: New file.
15057 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15059 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15060 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15061 insns in _dl_start to prevent a TOC reference before relocs are
15064 2011-02-15 Ulrich Drepper <drepper@gmail.com>
15067 * Makeconfig: Remove RANLIB definition.
15068 * Makerules: Don't use RANLIB.
15069 * aclocal.m4: Remove ranlib test.
15070 * configure.in: No need to check for ranlib.
15071 * elf/rtld-Rules: Don't use RANLIB.
15073 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15075 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15077 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15078 inclusion protection macro.
15080 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15081 SIGRTMIN and SIGRTMAX and print information in that case only when
15082 SIGRTMIN is defined.
15084 2011-02-11 Jakub Jelinek <jakub@redhat.com>
15086 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15087 arginfo fn returning -1.
15089 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15090 and thousands string is zero terminated.
15092 2011-02-03 Andreas Schwab <schwab@redhat.com>
15094 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15095 sysdeps/unix/sysv/linux/bits/socket.h.
15097 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15099 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15100 (__CPU_COUNT): Remove old macros.
15101 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15102 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15103 (__CPU_ALLOC, __CPU_FREE): Add macros.
15104 (__sched_cpualloc, __sched_cpufree): Add declarations.
15106 2011-02-05 Ulrich Drepper <drepper@gmail.com>
15108 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15109 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15110 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15111 (readdhstai): Return value of addhstaiX call.
15112 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15113 (addgrbyX): Return value returned by cache_addgr.
15114 (readdgrbyname): Return value returned by addgrbyX.
15115 (readdgrbygid): Likewise.
15116 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15117 (addpwbyX): Return value returned by cache_addpw.
15118 (readdpwbyname): Return value returned by addhstbyX.
15119 (readdpwbyuid): Likewise.
15120 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15121 (addservbyX): Return value returned by cache_addserv.
15122 (readdservbyname): Return value returned by addservbyX:
15123 (readdservbyport): Likewise.
15124 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15125 (addhstbyX): Return value returned by cache_addhst.
15126 (readdhstbyname): Return value returned by addhstbyX.
15127 (readdhstbyaddr): Likewise.
15128 (readdhstbynamev6): Likewise.
15129 (readdhstbyaddrv6): Likewise.
15130 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15131 (readdinitgroups): Return value returned by addinitgroupsX.
15132 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15133 (prune_cache): Keep track of timeout value of re-added entries.
15134 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15135 * nscd/nscd.h: Adjust prototypes of readd* functions.
15137 2011-02-04 Roland McGrath <roland@redhat.com>
15139 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15140 (nis_stats): Likewise.
15141 * nis/nis_modify.c (nis_modify): Likewise.
15142 * nis/nis_remove.c (nis_remove): Likewise.
15143 * nis/nis_add.c (nis_add): Likewise.
15145 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15147 * posix/fnmatch_loop.c: Add some consts.
15149 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15151 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15154 * config.make.in (config-cflags-novzeroupper): Define.
15155 * configure.in: Substitute libc_cv_cc_novzeroupper.
15156 * elf/Makefile (AVX-CFLAGS): Define.
15157 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15158 (CFLAGS-tst-auditmod4a.c): Likewise.
15159 (CFLAGS-tst-auditmod4b.c): Likewise.
15160 (CFLAGS-tst-auditmod6b.c): Likewise.
15161 (CFLAGS-tst-auditmod6c.c): Likewise.
15162 (CFLAGS-tst-auditmod7b.c): Likewise.
15163 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15165 2011-02-02 Ulrich Drepper <drepper@gmail.com>
15167 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15168 function to the callback.
15169 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15171 2011-02-02 Andreas Schwab <schwab@redhat.com>
15173 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15176 2011-01-19 Ulrich Drepper <drepper@gmail.com>
15179 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15181 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15183 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15186 * elf/Makefile: Add rules to build and run new test.
15187 * elf/tst-initorder.c: New file.
15188 * elf/tst-initorder.exp: New file.
15189 * elf/tst-initordera1.c: New file.
15190 * elf/tst-initordera2.c: New file.
15191 * elf/tst-initordera3.c: New file.
15192 * elf/tst-initordera4.c: New file.
15193 * elf/tst-initorderb1.c: New file.
15194 * elf/tst-initorderb2.c: New file.
15195 * elf/tst-order-a1.c: New file.
15196 * elf/tst-order-a2.c: New file.
15197 * elf/tst-order-a3.c: New file.
15198 * elf/tst-order-a4.c: New file.
15199 * elf/tst-order-b1.c: New file.
15200 * elf/tst-order-b2.c: New file.
15201 * elf/tst-order-main.c: New file.
15202 New test case by George Gensure <werkt0@gmail.com>.
15204 2010-10-01 Andreas Schwab <schwab@redhat.com>
15206 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15207 decoding ACE if AI_CANONIDN.
15209 2011-01-18 Ulrich Drepper <drepper@gmail.com>
15211 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15213 2011-01-17 Ulrich Drepper <drepper@gmail.com>
15215 * version.h (RELEASE): Bump for 2.13 release.
15216 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15218 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15220 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15222 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15223 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15224 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15225 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15226 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15227 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15229 * posix/getconf.c: Update copyright year.
15230 * catgets/gencat.c: Likewise.
15231 * csu/version.c: Likewise.
15232 * debug/catchsegv.sh: Likewise.
15233 * debug/xtrace.sh: Likewise.
15234 * elf/ldconfig.c: Likewise.
15235 * elf/ldd.bash.in: Likewise.
15236 * elf/sprof.c (print_version): Likewise.
15237 * iconv/iconv_prog.c: Likewise.
15238 * iconv/iconvconfig.c: Likewise.
15239 * locale/programs/locale.c: Likewise.
15240 * locale/programs/localedef.c: Likewise.
15241 * malloc/memusage.sh: Likewise.
15242 * malloc/mtrace.pl: Likewise.
15243 * nscd/nscd.c (print_version): Likewise.
15244 * nss/getent.c: Likewise.
15246 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15247 PF_CAIF, and PF_ALG.
15248 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15250 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15252 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15253 (modules-names): Use them.
15254 (ifunc-test-modules, ifunc-pie-tests): Define.
15255 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15256 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15257 (test-extras): Likewise.
15258 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15259 $(compile-command.c).
15260 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15261 (all-built-dso): Define.
15262 (check-textrel.out, check-execstack.out): Depend on it.
15264 * configure.in: Don't override --enable-multi-arch.
15266 2011-01-15 Ulrich Drepper <drepper@gmail.com>
15269 * nscd/hstcache.c (tryagain): Define.
15270 (cache_addhst): Return tryagain not notfound for temporary errors.
15271 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15274 2011-01-14 Ulrich Drepper <drepper@gmail.com>
15277 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15278 to make the syscall.
15279 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15282 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15283 and fall back to matching as normal character if the string ends before
15284 the matching ']' is found. This is what POSIX requires.
15285 * posix/testfnm.c: Adjust test result.
15286 * posix/globtest.sh: Adjust test result. Add new test.
15287 * posix/tst-fnmatch.input: Likewise.
15288 * posix/tst-fnmatch2.c: Add new test.
15290 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15292 * elf/Makefile (check-execstack): Revert last change. Depend on
15294 (check-execstack.h): New target.
15295 (generated): Add check-execstack.h.
15296 * elf/check-execstack.c: Include "check-execstack.h".
15297 (main): Revert last change.
15298 (handle_file): Return zero if GNU_STACK is absent and
15299 DEFAULT_STACK_PERMS doesn't include PF_X.
15301 2011-01-13 Ulrich Drepper <drepper@gmail.com>
15303 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15304 in child fails because the descriptor is already closed.
15305 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15306 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15307 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
15310 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15314 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15315 temporary buffer used to handle multi lookups locally.
15316 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
15318 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15320 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15323 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15325 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15326 alignment for SSE2.
15328 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15331 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15332 characters. When rounding increased number of integer digits recompute
15334 * stdio-common/tst-grouping.c: New file.
15335 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15337 2011-01-09 Ulrich Drepper <drepper@gmail.com>
15339 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15340 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15342 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15344 * bits/select.h: Likewise.
15346 2011-01-08 Ulrich Drepper <drepper@gmail.com>
15348 * po/ja.po: Update from translation team.
15350 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
15353 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15354 implementation just like for lxstat, fxstatat, et al.
15356 2010-12-27 Jim Meyering <meyering@redhat.com>
15359 * posix/regexec.c (build_trtable): Return failure indication upon
15360 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15362 2010-12-25 Ulrich Drepper <drepper@gmail.com>
15365 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15366 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15367 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15368 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15371 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15374 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15375 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15377 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15379 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15380 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15381 script has SORT_BY_INIT_PRIORITY.
15382 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15383 NO_CTORS_DTORS_SECTIONS is defined.
15384 * elf/soinit.c: Likewise.
15385 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15386 NO_CTORS_DTORS_SECTIONS is defined.
15387 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15388 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15389 * sysdeps/sh/init-first.c: Likewise.
15390 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15392 2010-12-24 Ulrich Drepper <drepper@gmail.com>
15394 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15395 always use the slow path.
15397 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15399 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15400 similar rule which adds the sysdep directories to the header search in
15401 order to pick up the correct platform stackinfo.h.
15402 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15403 perform test if it is, otherwise return successfully without testing.
15404 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15405 DEFAULT_STACK_PERMS define in stackinfo.h.
15406 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15407 defined in stackinfo.h.
15408 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15409 DEFAULT_STACK_PERMS defined in stackinfo.h.
15410 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15411 * sysdeps/ia64/stackinfo.h: Likewise.
15412 * sysdeps/s390/stackinfo.h: Likewise.
15413 * sysdeps/sh/stackinfo.h: Likewise.
15414 * sysdeps/sparc/stackinfo.h: Likewise.
15415 * sysdeps/x86_64/stackinfo.h: Likewise.
15416 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15417 PF_X for powerpc64. Retain PF_X for powerpc32.
15419 2010-12-19 Ulrich Drepper <drepper@gmail.com>
15421 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15423 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15424 GETDENTS_64BIT_ALIGNED.
15426 2010-12-14 Ulrich Drepper <dreper@gmail.com>
15428 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
15430 2010-12-10 Andreas Schwab <schwab@redhat.com>
15432 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15435 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15436 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15438 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15439 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15441 2010-12-09 Ulrich Drepper <drepper@gmail.com>
15444 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15447 2010-12-09 Jakub Jelinek <jakub@redhat.com>
15449 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15451 2010-12-03 Ulrich Drepper <drepper@gmail.com>
15453 * po/it.po: Update from translation team.
15455 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15457 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15460 2010-11-30 Ulrich Drepper <drepper@gmail.com>
15462 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15464 2010-11-24 Andreas Schwab <schwab@redhat.com>
15466 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15468 (gaih_getanswer_slice): Likewise.
15470 2010-10-20 Jakub Jelinek <jakub@redhat.com>
15472 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15474 2010-05-31 Petr Baudis <pasky@suse.cz>
15477 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15478 silently even in the chroot mode.
15480 2010-11-22 Ulrich Drepper <drepper@gmail.com>
15482 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15483 last patch a bit. Pretty printing
15485 2010-05-31 Petr Baudis <pasky@suse.cz>
15488 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15489 initialization of skip_initgroups_dyn.
15491 2010-11-19 Ulrich Drepper <drepper@gmail.com>
15493 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15494 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15496 2010-11-16 Ulrich Drepper <drepper@gmail.com>
15498 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15500 2010-11-11 Andreas Schwab <schwab@redhat.com>
15502 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15503 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15504 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15505 ($(objpfx)tst-fnmatch-mem): New rule.
15506 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15507 * posix/tst-fnmatch.c (main): Call mtrace.
15509 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15512 Support Intel processor model 6 and model 0x2c.
15514 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
15516 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15519 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15522 * string/test-strncasecmp.c (check_result): New function.
15523 (do_one_test): Use it.
15524 (check1): New function.
15525 (test_main): Use it.
15526 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15527 Support strcasecmp and strncasecmp.
15529 2010-11-08 Ulrich Drepper <drepper@gmail.com>
15532 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15533 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15535 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15537 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15539 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15541 * sysdeps/x86_64/multiarch/bzero.S: New file.
15542 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15543 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15544 * sysdeps/x86_64/multiarch/memset.S: New file.
15545 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15547 Set bit_Prefer_SSE_for_memop for Intel processors.
15548 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15550 (index_Prefer_SSE_for_memop): Define.
15551 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15553 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
15555 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15556 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15558 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15561 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15562 (__x86_64_raw_data_cache_size_half): Likewise.
15563 (__x86_64_raw_shared_cache_size): Likewise.
15564 (__x86_64_raw_shared_cache_size_half): Likewise.
15566 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15567 (__x86_64_raw_data_cache_size_half): Likewise.
15568 (__x86_64_raw_shared_cache_size): Likewise.
15569 (__x86_64_raw_shared_cache_size_half): Likewise.
15570 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15571 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15572 and __x86_64_raw_shared_cache_size_half. Round
15573 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15574 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15575 to multiple of 256 bytes.
15577 2010-11-03 Ulrich Drepper <drepper@gmail.com>
15580 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15581 of inacessible symlinks. Verify result of symlink before returning it.
15582 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15583 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15585 2010-10-28 Erich Ritz <erichritz@gmail.com>
15587 * math/math.h (isinf): Fix typo in comment.
15589 2010-11-01 Ulrich Drepper <drepper@gmail.com>
15591 * po/da.po: Update from translation team.
15593 2010-10-26 Ulrich Drepper <drepper@gmail.com>
15595 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15596 is added to the list.
15598 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15599 Ulrich Drepper <drepper@gmail.com>
15601 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15602 the global list here. Move code to...
15603 (_dl_add_to_namespace_list): ...here. New function.
15604 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15605 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15606 * elf/dl-load.c (lose): Don't remove the element from the list.
15607 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15608 (_dl_map_object): Likewise.
15610 2010-10-25 Ulrich Drepper <drepper@gmail.com>
15613 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15614 into all bytes of SSE register.
15615 Patch by Richard Li <richardpku@gmail.com>.
15617 2010-10-24 Ulrich Drepper <drepper@gmail.com>
15620 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15623 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15625 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15626 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15627 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15628 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15633 2010-10-22 Andreas Schwab <schwab@redhat.com>
15635 * include/dlfcn.h (__RTLD_SECURE): Define.
15636 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15637 mode & __RTLD_SECURE instead.
15638 (open_path): Rename preloaded parameter to secure.
15639 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15640 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15641 * elf/dl-deps.c (openaux): Likewise.
15642 * elf/rtld.c (struct map_args): Remove is_preloaded.
15643 (map_doit): Don't use it.
15644 (dl_main): Likewise.
15645 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15646 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15648 2010-09-09 Andreas Schwab <schwab@redhat.com>
15650 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15651 (sysd-rules-targets): Remove duplicates.
15652 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15653 rtld-%.$o dependency.
15655 2010-10-18 Andreas Schwab <schwab@redhat.com>
15657 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15658 _dl_map_object do it.
15660 2010-10-19 Ulrich Drepper <drepper@gmail.com>
15662 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15663 fast fma builtins, define the macros in the C99 standard.
15664 (FP_FAST_FMAF): Likewise.
15665 (FP_FAST_FMAL): Likewise.
15666 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15668 * bits/mathdef.h: Update copyright year.
15669 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15671 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15673 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15674 builtins, define the macros in the C99 standard.
15675 (FP_FAST_FMAF): Likewise.
15676 (FP_FAST_FMAL): Likewise.
15677 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15679 (FP_FAST_FMAF): Likewise.
15681 2010-10-15 Jakub Jelinek <jakub@redhat.com>
15684 * math/libm-test.inc (fma_test): Some new testcases.
15685 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15686 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15687 y and infinite z. Do multiplication by C already in long double.
15688 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15689 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15690 y and infinite z. Do bitwise or of inexact bit into u.d.
15691 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15692 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15693 * sysdeps/i386/fpu/s_fma.S: Removed.
15694 * sysdeps/i386/fpu/s_fmal.S: Removed.
15696 2010-10-16 Jakub Jelinek <jakub@redhat.com>
15699 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15700 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15701 computation is not scheduled after fetestexcept. Fix value
15702 of minimum denormal long double.
15704 2010-10-14 Jakub Jelinek <jakub@redhat.com>
15707 * math/libm-test.inc (fma_test): Add some more tests.
15708 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15711 2010-10-15 Andreas Schwab <schwab@redhat.com>
15713 * scripts/data/localplt-s390-linux-gnu.data: New file.
15714 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15716 2010-10-13 Jakub Jelinek <jakub@redhat.com>
15719 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15720 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15722 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15724 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15725 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15726 if one of x and y is very large and the other is subnormal.
15727 * sysdeps/s390/fpu/s_fmaf.c: New file.
15728 * sysdeps/s390/fpu/s_fma.c: New file.
15729 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15730 * sysdeps/powerpc/fpu/s_fma.S: New file.
15731 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15732 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15733 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15735 2010-10-12 Jakub Jelinek <jakub@redhat.com>
15738 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15740 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15741 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15742 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15743 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15744 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15745 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15746 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15748 2010-10-12 Ulrich Drepper <drepper@redhat.com>
15751 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15752 * posix/bug-regex31.input: Add test case.
15754 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15756 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15757 * posix/bug-regex31.input: New file.
15760 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15761 (parse_sub_exp): Fix last change, use postorder.
15763 * posix/bug-regex31.c: New file.
15764 * posix/Makefile: Add rules to build and run bug-regex31.
15766 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15769 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15772 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15773 to have entries in sys_siglist.
15776 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15779 2010-10-07 Jakub Jelinek <jakub@redhat.com>
15782 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15783 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15784 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15785 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15786 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15787 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15788 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15789 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15790 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15791 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15792 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15793 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15794 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15795 * math/ftestexcept.c (fetestexcept): Likewise.
15796 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15797 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15798 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15799 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15800 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15801 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15802 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15804 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15807 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15810 2010-10-06 Ulrich Drepper <drepper@gmail.com>
15812 * string/bug-strstr1.c: New file.
15813 * string/Makefile: Add rules to build and run bug-strstr1.
15815 2010-10-05 Eric Blake <eblake@redhat.com>
15818 * string/str-two-way.h (two_way_long_needle): Always clear memory
15819 when skipping input due to the shift table.
15821 2010-10-03 Ulrich Drepper <drepper@gmail.com>
15824 * malloc/mcheck.c: Handle large requests.
15827 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15828 for strncmp and strncasecmp.
15829 * string/stratcliff.c: Add tests for strcmp and strncmp.
15830 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15832 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15834 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15837 2010-09-30 Andreas Jaeger <aj@suse.de>
15839 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15840 (CGROUP_SUPER_MAGIC): Define.
15841 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15842 Handle btrfs and cgroup file systems.
15843 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15846 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
15848 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15849 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15851 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15854 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15855 trying to locate the ELF header.
15857 2010-09-27 Andreas Schwab <schwab@redhat.com>
15860 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15861 Mask out sign-bit copies when constructing f_fsid.
15863 2010-09-24 Petr Baudis <pasky@suse.cz>
15865 * debug/stack_chk_fail_local.c: Add missing licence exception.
15866 * debug/warning-nop.c: Likewise.
15868 2010-09-15 Joseph Myers <joseph@codesourcery.com>
15870 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15871 implementing getdents64 using getdents syscall, set d_type if
15872 __ASSUME_GETDENTS32_D_TYPE.
15874 2010-09-16 Andreas Schwab <schwab@redhat.com>
15876 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15877 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15879 2010-09-21 Ulrich Drepper <drepper@redhat.com>
15882 * posix/unistd.h: Undo change of feature selection for ftruncate from
15885 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15887 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15890 2010-09-20 Andreas Schwab <schwab@redhat.com>
15892 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15894 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15896 2010-09-14 Andreas Schwab <schwab@redhat.com>
15898 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15899 variables after CHECK_SP call.
15900 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15902 2010-09-13 Andreas Schwab <schwab@redhat.com>
15903 Ulrich Drepper <drepper@redhat.com>
15905 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15906 re-relocationg ld.so.
15907 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15908 _dl_init_paths call.
15909 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15912 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15914 * resolv/res_init.c (__res_vinit): Count the default server we added.
15916 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15917 Ulrich Drepper <drepper@redhat.com>
15920 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15921 (____longjmp_chk): Use %ebx for saving value across system call.
15924 2010-09-06 Andreas Schwab <schwab@redhat.com>
15926 * manual/Makefile: Don't mix pattern rules with normal rules.
15928 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15930 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15932 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15933 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15934 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15935 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15936 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15939 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15942 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15943 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15945 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15947 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15948 * sysdeps/x86_64/addmul_1.S: Likewise.
15949 * sysdeps/x86_64/lshift.S: Likewise.
15950 * sysdeps/x86_64/mul_1.S: Likewise.
15951 * sysdeps/x86_64/rshift.S: Likewise.
15952 * sysdeps/x86_64/sub_n.S: Likewise.
15953 * sysdeps/x86_64/submul_1.S: Likewise.
15955 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15957 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15958 Define __sched_param instead of SCHED_* and sched_param when
15959 <bits/sched.h> is included with __need_schedparam defined.
15960 * bits/sched.h [__need_schedparam]
15961 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15962 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15963 (__defined_schedparam): Define to 1.
15964 (__sched_param): New structure, identical to sched_param.
15965 (__need_schedparam): Undefine.
15967 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15969 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15970 (epoll_create1): Declare.
15972 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15974 2010-08-31 Andreas Schwab <schwab@redhat.com>
15977 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15978 shifting retval into place.
15980 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15982 * nis/rpcsvc/nis.h: Update copyright notice.
15983 * nis/rpcsvc/nis.x: Likewise.
15984 * nis/rpcsvc/nis_callback.h: Likewise.
15985 * nis/rpcsvc/nis_callback.x: Likewise.
15986 * nis/rpcsvc/nis_object.x: Likewise.
15987 * nis/rpcsvc/nis_tags.h: Likewise.
15988 * nis/rpcsvc/yp.h: Likewise.
15989 * nis/rpcsvc/yp.x: Likewise.
15990 * nis/rpcsvc/ypupd.h: Likewise.
15991 * nis/yp_xdr.c: Likewise.
15992 * nis/ypupdate_xdr.c: Likewise.
15994 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15995 mainly the body of pmap_getport. Add parameters to specify timeouts.
15996 (pmap_getport): Use __libc_rpc_getport.
15997 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15998 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15999 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16001 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16006 2010-08-27 Roland McGrath <roland@redhat.com>
16008 * sysdeps/i386/i686/multiarch/Makefile
16009 (CFLAGS-varshift.c): New variable.
16011 2010-08-27 Ulrich Drepper <drepper@redhat.com>
16013 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16014 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16016 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16018 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16020 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16022 * sysdeps/x86_64/strlen.S: Unroll the loop.
16023 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16024 strlen-sse2 strlen-sse2-bsf.
16025 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16026 __strlen_no_bsf if bit_Slow_BSF is set.
16027 (__strlen_sse42): Removed.
16028 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16029 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16031 2010-08-25 Roland McGrath <roland@redhat.com>
16033 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16034 * sysdeps/x86_64/multiarch/varshift.c: New file.
16035 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16036 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16037 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16038 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16040 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16042 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16043 strlen-sse2 strlen-sse2-bsf.
16044 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16045 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16046 (__strlen_sse2): Removed.
16047 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16048 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16050 bit_Slow_BSF for Atom.
16051 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16052 (index_Slow_BSF): Define.
16053 (HAS_SLOW_BSF): Define.
16055 2010-08-25 Ulrich Drepper <drepper@redhat.com>
16058 * resolv/res_init.c (__res_vinit): When no server address at all
16059 is given default to loopback.
16061 2010-08-24 Roland McGrath <roland@redhat.com>
16063 * configure.in: Remove config-name.h generation.
16064 * configure: Regenerated.
16065 * config-name.in: File removed.
16066 * scripts/config-uname.sh: New file.
16067 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16068 ($(objdir)config-name.h): New target.
16070 * sunrpc/rpc_parse.h: Avoid nested comment.
16072 2010-08-24 Richard Henderson <rth@redhat.com>
16073 Ulrich Drepper <drepper@redhat.com>
16074 H.J. Lu <hongjiu.lu@intel.com>
16076 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16078 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16079 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16080 _mm_alignr_epi8 with _mm_loadu_si128.
16081 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16082 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16083 (__m128i_shift_right): Removed.
16084 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16085 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16086 * sysdeps/x86_64/multiarch/varshift.h: New file.
16087 * sysdeps/x86_64/multiarch/varshift.S: New file.
16089 2010-08-21 Mike Frysinger <vapier@gentoo.org>
16091 * configure.in: Move assembler checks to before sysdep dir checking.
16093 2010-08-20 Petr Baudis <pasky@suse.cz>
16095 * LICENSES: Sync the sunrpc license.
16097 2010-08-19 Ulrich Drepper <drepper@redhat.com>
16099 * sunrpc/auth_des.c: Update copyright notice once again.
16100 * sunrpc/auth_none.c: Likewise.
16101 * sunrpc/auth_unix.c: Likewise.
16102 * sunrpc/authdes_prot.c: Likewise.
16103 * sunrpc/authuxprot.c: Likewise.
16104 * sunrpc/bindrsvprt.c: Likewise.
16105 * sunrpc/clnt_gen.c: Likewise.
16106 * sunrpc/clnt_perr.c: Likewise.
16107 * sunrpc/clnt_raw.c: Likewise.
16108 * sunrpc/clnt_simp.c: Likewise.
16109 * sunrpc/clnt_tcp.c: Likewise.
16110 * sunrpc/clnt_udp.c: Likewise.
16111 * sunrpc/clnt_unix.c: Likewise.
16112 * sunrpc/des_crypt.c: Likewise.
16113 * sunrpc/des_soft.c: Likewise.
16114 * sunrpc/get_myaddr.c: Likewise.
16115 * sunrpc/getrpcport.c: Likewise.
16116 * sunrpc/key_call.c: Likewise.
16117 * sunrpc/key_prot.c: Likewise.
16118 * sunrpc/openchild.c: Likewise.
16119 * sunrpc/pm_getmaps.c: Likewise.
16120 * sunrpc/pm_getport.c: Likewise.
16121 * sunrpc/pmap_clnt.c: Likewise.
16122 * sunrpc/pmap_prot.c: Likewise.
16123 * sunrpc/pmap_prot2.c: Likewise.
16124 * sunrpc/pmap_rmt.c: Likewise.
16125 * sunrpc/rpc/auth.h: Likewise.
16126 * sunrpc/rpc/auth_unix.h: Likewise.
16127 * sunrpc/rpc/clnt.h: Likewise.
16128 * sunrpc/rpc/des_crypt.h: Likewise.
16129 * sunrpc/rpc/key_prot.h: Likewise.
16130 * sunrpc/rpc/netdb.h: Likewise.
16131 * sunrpc/rpc/pmap_clnt.h: Likewise.
16132 * sunrpc/rpc/pmap_prot.h: Likewise.
16133 * sunrpc/rpc/pmap_rmt.h: Likewise.
16134 * sunrpc/rpc/rpc.h: Likewise.
16135 * sunrpc/rpc/rpc_des.h: Likewise.
16136 * sunrpc/rpc/rpc_msg.h: Likewise.
16137 * sunrpc/rpc/svc.h: Likewise.
16138 * sunrpc/rpc/svc_auth.h: Likewise.
16139 * sunrpc/rpc/types.h: Likewise.
16140 * sunrpc/rpc/xdr.h: Likewise.
16141 * sunrpc/rpc_clntout.c: Likewise.
16142 * sunrpc/rpc_cmsg.c: Likewise.
16143 * sunrpc/rpc_common.c: Likewise.
16144 * sunrpc/rpc_cout.c: Likewise.
16145 * sunrpc/rpc_dtable.c: Likewise.
16146 * sunrpc/rpc_hout.c: Likewise.
16147 * sunrpc/rpc_main.c: Likewise.
16148 * sunrpc/rpc_parse.c: Likewise.
16149 * sunrpc/rpc_parse.h: Likewise.
16150 * sunrpc/rpc_prot.c: Likewise.
16151 * sunrpc/rpc_sample.c: Likewise.
16152 * sunrpc/rpc_scan.c: Likewise.
16153 * sunrpc/rpc_scan.h: Likewise.
16154 * sunrpc/rpc_svcout.c: Likewise.
16155 * sunrpc/rpc_tblout.c: Likewise.
16156 * sunrpc/rpc_util.c: Likewise.
16157 * sunrpc/rpc_util.h: Likewise.
16158 * sunrpc/rpcinfo.c: Likewise.
16159 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16160 * sunrpc/rpcsvc/key_prot.x: Likewise.
16161 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16162 * sunrpc/rpcsvc/mount.x: Likewise.
16163 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16164 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16165 * sunrpc/rpcsvc/rex.x: Likewise.
16166 * sunrpc/rpcsvc/rstat.x: Likewise.
16167 * sunrpc/rpcsvc/rusers.x: Likewise.
16168 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16169 * sunrpc/rpcsvc/spray.x: Likewise.
16170 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16171 * sunrpc/rtime.c: Likewise.
16172 * sunrpc/svc.c: Likewise.
16173 * sunrpc/svc_auth.c: Likewise.
16174 * sunrpc/svc_authux.c: Likewise.
16175 * sunrpc/svc_raw.c: Likewise.
16176 * sunrpc/svc_run.c: Likewise.
16177 * sunrpc/svc_simple.c: Likewise.
16178 * sunrpc/svc_tcp.c: Likewise.
16179 * sunrpc/svc_udp.c: Likewise.
16180 * sunrpc/svc_unix.c: Likewise.
16181 * sunrpc/svcauth_des.c: Likewise.
16182 * sunrpc/xcrypt.c: Likewise.
16183 * sunrpc/xdr.c: Likewise.
16184 * sunrpc/xdr_array.c: Likewise.
16185 * sunrpc/xdr_float.c: Likewise.
16186 * sunrpc/xdr_mem.c: Likewise.
16187 * sunrpc/xdr_rec.c: Likewise.
16188 * sunrpc/xdr_ref.c: Likewise.
16189 * sunrpc/xdr_sizeof.c: Likewise.
16190 * sunrpc/xdr_stdio.c: Likewise.
16192 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16195 2010-08-19 Andreas Schwab <schwab@redhat.com>
16197 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16199 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
16201 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16202 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16203 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16204 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16205 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16206 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16207 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16208 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16209 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16210 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16211 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16212 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16213 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16214 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16216 2010-07-26 Anton Blanchard <anton@samba.org>
16218 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16219 * malloc/arena.c (heap_trim): Likewise.
16221 2010-08-16 Ulrich Drepper <drepper@redhat.com>
16223 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16225 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16226 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16228 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16230 * sysdeps/i386/elf/Makefile: New file.
16232 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16234 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16235 from fanotify_init.
16236 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16237 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16239 2010-08-15 Ulrich Drepper <drepper@redhat.com>
16241 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16243 * sysdeps/multiarch/strcmp.S: Likewise.
16245 2010-08-14 Ulrich Drepper <drepper@redhat.com>
16247 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16248 strncase_l-nonascii.
16249 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16250 Add strncase_l-ssse3.
16251 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16252 * sysdeps/x86_64/strcmp.S: Likewise.
16253 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16254 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16255 * sysdeps/x86_64/strncase.S: New file.
16256 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16257 * sysdeps/x86_64/strncase_l.S: New file.
16258 * string/Makefile (strop-tests): Add strncasecmp.
16259 * string/test-strncasecmp.c: New file.
16261 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16264 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16265 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16267 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16269 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16271 2010-08-12 Ulrich Drepper <drepper@redhat.com>
16273 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16274 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16275 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16277 2010-05-01 Alan Modra <amodra@gmail.com>
16279 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16280 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16281 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16282 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16283 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16284 tidying. Don't tail-call __sigjmp_save for static lib.
16285 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16287 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16288 (CALL_MCOUNT): Add eh info, and nop after bl.
16289 (TAIL_CALL_SYSCALL_ERROR): New macro.
16290 (PSEUDO_RET): Use it.
16291 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16292 Correct save location of integer regs and cr.
16293 (_dl_profile_resolve): Correct cr save location. Delete nops
16294 after bl when SHARED. Reduce cfi size a little by better
16295 placement of cfi directives.
16296 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16297 make a stack frame. Instead use parm save area as a temp.
16298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16299 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16301 Don't make a stack frame for parent, use parm save area.
16302 Increase child stack frame to 112 bytes. Don't save unused reg,
16303 and adjust reg usage. Set up cfi on error recovery and
16304 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16306 (__makecontext): Add dummy nop after jump to exit.
16307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16308 Use correct parm save area and cr save, reduce stack frame.
16309 Correct cfi for possible PSEUDO_RET frame setup.
16310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16311 Branch to local label emitted by PSEUDO_RET rather than
16314 2010-08-12 Andreas Schwab <schwab@redhat.com>
16317 * locale/programs/locale.c (print_assignment): New function.
16318 (show_locale_vars): Use it.
16320 2010-08-11 Ulrich Drepper <drepper@redhat.com>
16322 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16324 (struct statfs64): Likewise.
16325 (_STATFS_F_FLAGS): Define.
16326 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16327 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16328 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16329 (ST_VALID): Define locally.
16330 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16331 __statvfs_getflags, use the provided value.
16332 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16333 __ASSUME_STATFS_F_FLAGS.
16335 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16337 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16338 Add sys/fanotify.h.
16339 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16340 fanotify_mask for GLIBC_2.13.
16341 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16342 fanotify_init and fanotify_mark.
16343 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16344 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16346 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16348 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16349 prlimit64 for GLIBC_2.13.
16350 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16352 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16355 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16356 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16357 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16358 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16360 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16363 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16364 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16366 * nss/Makefile: Add rules to build and run tst-nss-test1.
16367 * shlib-versions: Add entry for libnss_test1.
16368 * nss/nss_test1.c: New file.
16369 * nss/tst-nss-test1.c: New file.
16371 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16372 (__nss_configure_lookup): Set appropriate entry in
16373 __nss_configure_lookup to true.
16374 * nss/nsswitch.h: Define enum with indeces of databases in
16375 databases and __nss_database_custom arrays. Declare
16376 __nss_database_custom.
16377 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16378 to avoid using nscd when custom rules are installed.
16379 * nss/getXXbyYY_r.c: Likewise.
16380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16382 * nss/nss_files/files-parse.c: Whitespace fixes.
16384 2010-08-09 Ulrich Drepper <drepper@redhat.com>
16387 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16388 * posix/fnmatch_loop.c: Likewise.
16390 2010-07-17 Andi Kleen <ak@linux.intel.com>
16392 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16393 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16394 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16395 * Versions.def [GLIBC_2.13]: Add.
16397 2010-08-06 Ulrich Drepper <drepper@redhat.com>
16399 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16400 Also fail if tpwd after pwuid call is NULL.
16402 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16404 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16405 when converting to ms.
16407 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16409 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16410 EOPNOTSUPP errors with ENOTTY.
16411 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16412 EOPNOTSUPP errors with ENOTTY.
16414 2010-07-31 Ulrich Drepper <drepper@redhat.com>
16416 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16417 Add strcasecmp_l-ssse3.
16418 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16420 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16421 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16422 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16424 2010-07-30 Ulrich Drepper <drepper@redhat.com>
16426 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16428 * string/Makefile (strop-tests): Add strcasecmp.
16429 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16430 strcasecmp_l-nonascii.
16431 (gen-as-const-headers): Add locale-defines.sym.
16432 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16433 * sysdeps/x86_64/strcasecmp.S: New file.
16434 * sysdeps/x86_64/strcasecmp_l.S: New file.
16435 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16436 * sysdeps/x86_64/locale-defines.sym: New file.
16437 * string/test-strcasecmp.c: New file.
16439 * string/test-strcasestr.c: Test both ends of the range of characters.
16440 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16442 2010-07-29 Roland McGrath <roland@redhat.com>
16445 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16447 2010-07-27 Ulrich Drepper <drepper@redhat.com>
16449 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16452 2010-07-27 Andreas Schwab <schwab@redhat.com>
16454 * manual/memory.texi (Malloc Tunable Parameters): Document
16457 2010-07-26 Roland McGrath <roland@redhat.com>
16460 * configure.in (-fgnu89-inline check): Set and substitute
16461 gnu89_inline, not libc_cv_gnu89_inline.
16462 * configure: Regenerated.
16463 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16465 2010-07-26 Ulrich Drepper <drepper@redhat.com>
16467 * string/test-strnlen.c: New file.
16468 * string/Makefile (strop-tests): Add strnlen.
16469 * string/tester.c (test_strnlen): Add a few more test cases.
16470 * string/tst-strlen.c: Better error reporting.
16472 * sysdeps/x86_64/strnlen.S: New file.
16474 2010-07-24 Ulrich Drepper <drepper@redhat.com>
16476 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16477 lower-latency instructions.
16479 2010-07-23 Ulrich Drepper <drepper@redhat.com>
16481 * string/test-strcasestr.c: New file.
16482 * string/test-strstr.c: New file.
16483 * string/Makefile (strop-tests): Add strstr and strcasestr.
16484 * string/str-two-way.h: Don't undefine MAX.
16485 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16487 2010-07-21 Andreas Schwab <schwab@redhat.com>
16489 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16490 strcasestr-nonascii.
16491 (CFLAGS-strcasestr-nonascii.c): Define.
16492 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16493 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16494 Remove unused attribute.
16496 2010-07-20 Roland McGrath <roland@redhat.com>
16498 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16499 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16500 ld.so.cache was broken. With it, there is no way to disable dsocaps
16501 like LD_HWCAP_MASK can disable hwcaps.
16503 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16505 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16507 2010-07-16 Ulrich Drepper <drepper@redhat.com>
16509 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16510 call in strcasestr.
16511 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16512 __strcasestr_sse42_nonascii.
16513 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16514 strcasestr-nonascii.c.
16515 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16517 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
16519 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16520 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16521 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16522 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16524 2010-07-09 Ulrich Drepper <drepper@redhat.com>
16526 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16529 2010-07-06 Andreas Schwab <schwab@redhat.com>
16532 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16535 2010-07-06 Ulrich Drepper <drepper@redhat.com>
16537 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16538 _PC_PIPE_BUF using F_GETPIPE_SZ.
16540 2010-07-05 Roland McGrath <roland@redhat.com>
16542 * manual/arith.texi (Rounding Functions): Fix rint description
16543 implicit in round description.
16545 2010-07-02 Ulrich Drepper <drepper@redhat.com>
16547 * elf/Makefile: Fix linking for a few tests to make recent linker
16550 2010-06-30 Andreas Schwab <schwab@redhat.com>
16552 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16553 $(common-objpfx)libc_nonshared.a.
16555 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
16557 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16558 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16559 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16560 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16561 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16562 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16563 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16564 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16579 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16580 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16581 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16582 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16583 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16584 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16585 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16586 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16587 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16588 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16589 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16590 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16606 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16608 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16609 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16610 * string/memmove.c (memmove): Renamed to ...
16611 (MEMMOVE): ...this. Default to memmove.
16612 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16613 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16615 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16616 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16617 mempcpy-ssse3-back memmove-ssse3-back.
16618 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16619 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16620 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16621 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16622 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16623 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16624 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16625 * sysdeps/x86_64/multiarch/memmove.c: New file.
16626 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16627 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16628 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16629 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16630 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16631 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16633 (index_Fast_Copy_Backward): Define.
16634 (HAS_ARCH_FEATURE): Define.
16635 (HAS_FAST_REP_STRING): Define.
16636 (HAS_FAST_COPY_BACKWARD): Define.
16638 2010-06-21 Andreas Schwab <schwab@redhat.com>
16640 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16641 Restore proper fallback handling.
16643 2010-06-19 Ulrich Drepper <drepper@redhat.com>
16646 * posix/group_member.c (__group_member): Correct checking loop.
16648 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16649 OOM in getpwuid_r correctly. Return error number when the caller
16650 should return, otherwise -1.
16651 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16652 call returning > 0 value.
16653 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16655 2010-06-07 Andreas Schwab <schwab@redhat.com>
16657 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16658 libc_nonshared.a from targets in modules-names.
16660 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16662 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16665 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
16667 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16668 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16669 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16670 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16672 2010-06-02 Andreas Schwab <schwab@redhat.com>
16674 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16676 2010-06-14 Ulrich Drepper <drepper@redhat.com>
16678 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16680 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16681 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16682 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16683 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16684 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16685 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16687 2010-06-14 Roland McGrath <roland@redhat.com>
16689 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16691 2010-06-07 Jakub Jelinek <jakub@redhat.com>
16693 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16694 __REDIRECT followed by __THROW.
16695 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16696 * posix/getopt.h (getopt): Likewise.
16698 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16700 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16701 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16702 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16704 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16705 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16707 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
16709 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16711 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16715 Properly check family and model.
16717 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16719 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16721 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
16723 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16725 2010-05-21 Ulrich Drepper <drepper@redhat.com>
16727 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16730 2010-05-19 Andreas Schwab <schwab@redhat.com>
16732 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16735 2010-05-21 Andreas Schwab <schwab@redhat.com>
16737 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16738 and internal_recvmmsg.
16739 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16740 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16741 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16742 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16744 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16745 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16746 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16748 2010-05-20 Andreas Schwab <schwab@redhat.com>
16750 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16752 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
16754 POWER7 optimizations.
16755 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16756 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16758 2010-05-19 Ulrich Drepper <drepper@redhat.com>
16760 * version.h: Update for 2.13 development version.
16762 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
16764 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16765 exceptions. Return 0.
16767 2010-05-07 Roland McGrath <roland@redhat.com>
16769 * elf/ldconfig.c (main): Add a const.
16771 2010-05-06 Ulrich Drepper <drepper@redhat.com>
16773 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16774 (args_options): Add no-idn option.
16775 (ahosts_keys_int): Add idn_flags to ai_flags.
16776 (parse_option): Handle 'i' option to clear idn_flags.
16778 * malloc/malloc.c (_int_free): Possible race in the most recently
16779 added check. Only act on the data if no current modification
16782 See ChangeLog.17 for earlier changes.