1 2013-03-19 Andreas Schwab <schwab@suse.de>
3 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4 * sysdeps/gnu/configure: Regenerate.
6 * configure.in: Substitute libc_cv_rtlddir.
7 * configure: Regenerate.
8 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11 * elf/Makefile (install-others, CFLAGS-interp.c)
12 (ldso_install, common-ldd-rewrite): Likewise.
13 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
14 $(inst_slibdir)/$(rtld-installed-name).
15 * scripts/rellns-sh: Add -p option.
16 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21 * manual/nptl.texi: Renamed to ...
22 * manual/threads.texi: ... this.
23 * manual/Makefile (chapters): Update.
25 2013-03-18 Roland McGrath <roland@hack.frob.com>
28 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29 on argument names, not just descriptions.
30 * iconv/iconv_prog.c (options): Likewise.
31 * iconv/iconvconfig.c (options): Likewise.
32 * malloc/memusagestat.c (options): Likewise.
33 * nss/getent.c (options): Likewise.
34 Reported by Benno Schulenberg <bensberg@justemail.net>.
36 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
38 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
39 implementation which is faster on all x86_64 architectures.
40 Tested on AMD, Intel Nehalem, SNB, IVB.
41 * sysdeps/x86_64/strnlen.S: Likewise.
43 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44 Remove all multiarch strlen and strnlen versions.
45 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46 Remove strlen and strnlen related parts.
48 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
52 * sysdeps/x86_64/multiarch/strlen.S: Remove.
53 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
54 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
55 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
56 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
59 2013-03-17 Carlos O'Donell <carlos@redhat.com>
61 * manual/memory.texi (Malloc Tunable Parameters):
62 Sort parameters alphabetically. Add comments for missing entries.
64 2013-03-17 David S. Miller <davem@davemloft.net>
66 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68 2013-03-16 Joseph Myers <joseph@codesourcery.com>
71 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
72 for arguments at most half maximum finite value.
73 * math/libm-test.inc (j0_test): Add more tests.
77 * sysdeps/i386/fpu/libm-test-ulps: Update.
78 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
82 1 / x and functions P and Q for arguments above 0x1p256L.
83 (__ieee754_y0l): Likewise.
84 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
85 (__ieee754_y1l): Likewise.
86 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
91 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
93 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
96 2013-03-15 Roland McGrath <roland@hack.frob.com>
98 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
99 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
100 zero since it's initialized to EXEC_PAGESIZE.
102 * sysdeps/unix/sysv/linux/ldsodefs.h
103 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
104 * sysdeps/generic/ldsodefs.h: ... here.
106 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
108 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
110 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
112 * math/test-snan.c: Renamed from
113 sysdeps/powerpc/fpu/test-powerpc-snan.c.
114 * math/Makefile (tests): Add test-snan.
115 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
118 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
119 SUFFIX. Initialize qNaN_var with __builtin_nan family of
121 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
122 __builtin_nan family of functions.
123 * math/libm-test.inc (initialize): Initialize qnan_value with
124 __builtin_nan family of functions.
125 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
127 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
129 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
130 storage class. Initialize qNaN_var and sNaN_var with
131 __builtin_nan and __builtin_nans families of functions,
134 * math/libm-test.inc (acosh_test): Also test with qNaN input.
135 (sqrt_test): Remove duplicate test with qNaN input.
136 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
137 (round_test, signbit_test, significand_test): Note missing +/-Inf
138 as well as qNaN tests.
140 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
141 qNaN_var. Fix a few strings, too.
142 * math/libm-test.inc (nan_value): Rename to qnan_value.
143 * math/gen-libm-test.pl (%beautify): Adjust to that.
144 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
145 * math/test-misc.c (main): Likewise.
146 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
147 to __qnan_bytes, and __qnan_union, respectively.
148 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
150 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
151 and lqnanval, respectively.
152 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
153 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
154 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
155 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
157 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
158 * math/test-misc.c (main) [__x86_64__]: Enable test for long
161 * math/test-misc.c (main): Fix copy'n'pastos.
162 * misc/tst-efgcvt.c (special): Likewise.
164 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
167 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
169 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
170 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
171 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
172 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
174 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
176 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
177 macro to return vdso values correctly in IFUNC implementations.
178 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
179 Optimization by using IFUNC.
181 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
182 Richard Henderson <rth@redhat.com>
183 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
185 * Makefile.in (bench): New target.
186 * NEWS: Mention the benchmark framework.
187 * Rules (bench): Likewise.
188 (binaries-bench): Generate binaries for functions to
190 * benchtests/Makefile: New makefile for benchmark tests.
191 * benchtests/bench-skeleton.c: New skeleton file for benchmark
193 * benchtests/exp-inputs: New input file for EXP function.
194 * benchtests/pow-inputs: New input file for POW function.
195 * scripts/bench.pl: New script to generate source files for
198 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
200 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
201 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
202 computations on mantissa. Use macros for rounding and
205 (__dbl_mp): Likewise.
206 (add_magnitudes): Likewise.
207 (sub_magnitudes): Likewise.
210 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
211 powers of two in terms of TWOPOW macro.
212 (mp_no): Make type of mantissa as MANTISSA_T.
213 [!RADIXI]: Define RADIXI.
214 [!TWO52]: Define TWO52.
215 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
217 * manual/nptl.texi (cindex): Modify threads to pthreads.
219 2013-03-15 Joseph Myers <joseph@codesourcery.com>
221 * sysdeps/x86_64/preconfigure: Regenerated.
223 2013-03-14 Joseph Myers <joseph@codesourcery.com>
226 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
228 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
229 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
231 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
232 * math/libm-test.inc (j0_test): Do not allow one spurious
236 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
238 * manual/Makefile (chapters): Add nptl.
239 * manual/debug.texi (Debugging Support): Add link to Threads
241 * manual/nptl.texi: New file.
243 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
245 2013-03-14 Petr Baudis <pasky@ucw.cz>
247 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
248 for non-NULL pointer before the memory validity test. Pointed
249 out by Holger Brunck <holger.brunck@keymile.com>.
251 2013-03-13 Andreas Schwab <schwab@suse.de>
253 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
256 2013-03-13 Joseph Myers <joseph@codesourcery.com>
258 * timezone/zic.c: Update from tzcode 2013b.
260 2013-03-12 Carlos O'Donell <carlos@redhat.com>
262 * manual/install.texi (Configuring and compiling):
263 Mention i686 and i586.
264 * INSTALL: Regenerate.
266 2013-03-12 Roland McGrath <roland@hack.frob.com>
268 * sysdeps/init_array/elf-init.c: New file.
270 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
271 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
273 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
274 __gmon_start__ as global, but as static with a .preinit_array pointer.
275 * sysdeps/init_array/gmon-start.c: New file. Use that.
276 * sysdeps/init_array/crti.S: New file, empty except for comments.
277 * sysdeps/init_array/crtn.S: Likewise.
279 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
281 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
284 Remove Prefer_SSE_for_memop.
285 * sysdeps/x86_64/multiarch/init-arch.h: Remove
286 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
287 HAS_PREFER_SSE_FOR_MEMOP.
288 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
290 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
291 Remove bzero, memset ifunc support.
292 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
293 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
294 * sysdeps/x86_64/multiarch/memset.S: Likewise.
295 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
297 2013-03-11 Andreas Schwab <schwab@suse.de>
300 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
303 (GLIBC_2.16): Remove pthread_atfork.
305 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
307 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
308 (ptestcases.h): Likewise.
310 2013-03-08 Roland McGrath <roland@hack.frob.com>
312 * Makeconfig ($(common-objpfx)config.status): Depend on
313 sysdeps/*/preconfigure{,.in} too.
315 2013-03-08 Joseph Myers <joseph@codesourcery.com>
317 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
318 (__free_hook): Use void * instead of __malloc_ptr_t.
319 (__malloc_hook): Likewise.
320 (__realloc_hook): Likewise.
321 (__memalign_hook): Likewise.
322 (__after_morecore_hook): Likewise.
323 * malloc/arena.c (save_malloc_hook): Likewise.
324 (save_free_hook): Likewise.
325 * malloc/hooks.c (malloc_hook_ini): Likewise.
326 (realloc_hook_ini): Likewise.
327 (memalign_hook_ini): Likewise.
328 * malloc/malloc.c (malloc_hook_ini): Likewise.
329 (realloc_hook_ini): Likewise.
330 (memalign_hook_ini): Likewise.
331 (__free_hook): Likewise.
332 (__malloc_hook): Likewise.
333 (__realloc_hook): Likewise.
334 (__memalign_hook): Likewise.
335 (__libc_malloc): Likewise.
336 (__libc_free): Likewise.
337 (__libc_realloc): Likewise.
338 (__libc_memalign): Likewise.
339 (__libc_valloc): Likewise.
340 (__libc_pvalloc): Likewise.
341 (__libc_calloc): Likewise.
342 (__posix_memalign): Likewise.
343 * malloc/morecore.c (__sbrk): Likewise.
344 (__default_morecore): Likewise.
346 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
348 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
349 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
352 * malloc/malloc.h (__malloc_size_t): Remove macro.
353 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
355 (old_memalign_hook): Likewise.
356 (old_realloc_hook): Likewise.
357 (struct hdr): Likewise.
359 (mallochook): Likewise.
360 (memalignhook): Likewise.
361 (reallochook): Likewise.
362 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
363 (tr_old_realloc_hook): Likewise.
364 (tr_old_memalign_hook): Likewise.
365 (tr_mallochook): Likewise.
366 (tr_reallochook): Likewise.
367 (tr_memalignhook): Likewise.
369 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
371 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
372 default_ldbl_pack and using as default implementation.
373 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
375 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
376 redundant definition.
377 (ldbl_insert_mantissa): Likewise.
378 (ldbl_canonicalize): Likewise.
379 (ldbl_nearbyint): Likewise.
380 (ldbl_pack): Rename to ldbl_pack_ppc.
381 (ldbl_unpack): Rename to ldbl_unpack_ppc.
382 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
383 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
385 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
388 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
389 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
390 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
391 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
392 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
393 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
394 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
396 2013-03-07 Andreas Jaeger <aj@suse.de>
398 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
401 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
403 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
404 Include mpa.h and declare __MPEXP.
405 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
406 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
407 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
408 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
409 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
410 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
411 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
413 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
414 (__slowpow): Use long double EXPL and LOGL functions to
416 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
417 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
418 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
419 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
420 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
421 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
424 intermediate variable to calculate exponent.
426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
430 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
431 [!NO__SQR]: Define __sqr.
432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
433 and NO__SQR. Remove all code except __mul and __sqr. Include
434 sysdeps/ieee754/dbl-64/mpa.c.
435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
438 * posix/Makefile (tests): Add tst-pathconf.
439 * posix/tst-pathconf.c: New test case.
440 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
442 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
444 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
446 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
448 2013-03-06 Andreas Jaeger <aj@suse.de>
450 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
451 definition via __MAP_ANONYMOUS.
453 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
454 it's not part of Linux headers.
456 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
457 (MAP_HUGE_MASK): Define.
459 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
461 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
462 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
464 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
465 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
467 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
468 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
470 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
472 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
473 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
474 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
475 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
476 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
477 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
479 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
482 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
483 Handle f2fs and efivarfs.
485 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
488 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
489 (EFIVARFS_MAGIC): Add.
490 (F2FS_LINK_MAX): Add.
492 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
494 * stdio-common/vfprintf.c: Replace __builtin_expect with
497 2013-03-06 Joseph Myers <joseph@codesourcery.com>
500 * sysdeps/generic/bp-sym.h: Remove file.
501 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
502 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
503 <bp-sym.h> and <bp-asm.h>.
504 (__longjmp): Don't use BP_SYM.
505 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
507 (memcpy): Don't use BP_SYM.
508 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
509 <bp-sym.h> and <bp-asm.h>.
510 (memcpy): Don't use BP_SYM.
511 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
513 (memcpy): Don't use BP_SYM.
514 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
516 (memset): Don't use BP_SYM.
517 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
518 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
519 (__bzero): Don't use BP_SYM.
520 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
521 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
522 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
523 <bp-sym.h> and <bp-asm.h>.
524 (memcmp): Don't use BP_SYM. Remove comment about bounded
526 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
527 <bp-sym.h> and <bp-asm.h>.
528 (memcpy): Don't use BP_SYM.
529 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
530 <bp-sym.h> and <bp-asm.h>.
531 (memset): Don't use BP_SYM.
532 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
533 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
534 (__bzero): Don't use BP_SYM.
535 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
536 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
537 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
538 <bp-sym.h> and <bp-asm.h>.
539 (strncmp): Don't use BP_SYM. Remove comment about bounded
541 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
542 <bp-sym.h> and <bp-asm.h>.
543 (memcpy): Don't use BP_SYM.
544 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
545 <bp-sym.h> and <bp-asm.h>.
546 (memset): Don't use BP_SYM.
547 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
548 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
549 (__bzero): Don't use BP_SYM.
550 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
551 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
552 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
553 <bp-sym.h> and <bp-asm.h>.
554 (__memchr): Don't use BP_SYM.
555 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
556 <bp-sym.h> and <bp-asm.h>.
557 (memcmp): Don't use BP_SYM. Remove comment about bounded
559 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
560 <bp-sym.h> and <bp-asm.h>.
561 (memcpy): Don't use BP_SYM.
562 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
563 <bp-sym.h> and <bp-asm.h>.
564 (__mempcpy): Don't use BP_SYM.
565 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
566 <bp-sym.h> and <bp-asm.h>.
567 (__memrchr): Don't use BP_SYM.
568 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
569 <bp-sym.h> and <bp-asm.h>.
570 (memset): Don't use BP_SYM.
572 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
573 <bp-sym.h> and <bp-asm.h>.
574 (__rawmemchr): Don't use BP_SYM.
575 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
576 <bp-sym.h> and <bp-asm.h>.
577 (__STRCMP): Don't use BP_SYM.
578 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
579 <bp-sym.h> and <bp-asm.h>.
580 (strchr): Don't use BP_SYM.
581 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
582 <bp-sym.h> and <bp-asm.h>.
583 (__strchrnul): Don't use BP_SYM.
584 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
585 <bp-sym.h> and <bp-asm.h>.
586 (strlen): Don't use BP_SYM.
587 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
588 <bp-sym.h> and <bp-asm.h>.
589 (strncmp): Don't use BP_SYM. Remove comment about bounded
591 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
592 <bp-sym.h> and <bp-asm.h>.
593 (__strnlen): Don't use BP_SYM.
594 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
595 <bp-sym.h> and <bp-asm.h>.
596 (__GI__setjmp): Don't use BP_SYM.
598 (__sigsetjmp): Likewise.
599 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
600 (L(start_addresses)): Don't use BP_SYM.
602 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
604 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
605 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
606 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
607 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
608 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
610 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
611 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
612 about bounded pointers.
613 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
614 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
615 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
617 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
618 about bounded pointers. Remove GKM FIXME comments.
619 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
620 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
622 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
623 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
624 Remove GKM FIXME comments.
625 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
626 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
627 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
629 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
630 about bounded pointers. Remove GKM FIXME comment.
631 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
633 (strncmp): Don't use BP_SYM. Remove comment about bounded
635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
636 <bp-sym.h> and <bp-asm.h>.
637 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
639 <bp-sym.h> and <bp-asm.h>.
640 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
643 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
645 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
648 2013-03-05 David S. Miller <davem@davemloft.net>
650 * po/es.po: Update from translation team.
652 2013-03-05 Andreas Jaeger <aj@suse.de>
654 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
656 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
658 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
659 <bits/mman-linux.h> to end of file.
660 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
662 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
663 <bits/mman-linux.h> to end of file.
664 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
666 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
667 <bits/mman-linux.h> to end of file.
669 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
670 (MCL_CURRENT, MCL_FUTURE): Define here.
672 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
675 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
677 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
679 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
681 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
682 fourth parameter needed for rt_sigprocmask syscall.
683 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
684 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
685 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
686 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
687 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
688 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
690 2013-03-04 Joseph Myers <joseph@codesourcery.com>
693 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
694 comment about bounded pointers.
695 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
696 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
698 2013-03-04 Andreas Jaeger <aj@suse.de>
700 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
703 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
704 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
705 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
706 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
707 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
708 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
710 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
713 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
714 __ieee754_sqrl instead of __sqrl.
716 2013-03-01 Joseph Myers <joseph@codesourcery.com>
718 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
719 * sysdeps/powerpc/fpu_control.h: ... here.
720 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
721 * sysdeps/powerpc/bits/fenvinline.h: ... here.
722 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
723 * sysdeps/powerpc/bits/mathinline.h: ... here.
725 2013-03-01 Roland McGrath <roland@hack.frob.com>
727 * elf/dl-hwcaps.c (_dl_important_hwcaps):
728 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
729 to just [NEED_DL_SYSINFO_DSO].
730 * elf/dl-support.c: Likewise.
731 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
732 * elf/rtld.c (dl_main): Likewise.
733 * elf/setup-vdso.h (setup_vdso): Likewise.
734 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
735 * sysdeps/unix/sysv/linux/dl-sysdep.c
736 (_dl_discover_osversion): Likewise.
738 2013-03-01 Carlos O'Donell <carlos@redhat.com>
740 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
741 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
743 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
745 * NEWS: Mention libm performance improvements and non-x86 PI
748 * csu/libc-start.c (__pthread_initialize_minimal): Change
750 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
752 2013-02-28 Joseph Myers <joseph@codesourcery.com>
755 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
756 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
757 <bp-sym.h> and <bp-asm.h>.
758 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
759 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
761 (memcpy): Don't use BP_SYM.
762 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
764 (__mpn_add_n): Don't use BP_SYM.
765 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
766 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
768 (__mpn_addmul_1): Don't use BP_SYM.
769 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
770 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
772 (_setjmp): Don't use BP_SYM.
773 (__novmx_setjmp): Likewise.
774 (__GI__setjmp): Likewise.
775 (__vmx_setjmp): Likewise.
776 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
778 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
779 (__bzero): Don't use BP_SYM.
780 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
781 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
782 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
783 <bp-sym.h> and <bp-asm.h>.
784 (memcpy): Don't use BP_SYM.
785 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
786 <bp-sym.h> and <bp-asm.h>.
787 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
788 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
789 <bp-sym.h> and <bp-asm.h>.
790 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
791 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
793 (__mpn_lshift): Don't use BP_SYM.
794 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
795 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
797 (memset): Don't use BP_SYM.
798 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
799 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
800 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
802 (__mpn_mul_1): Don't use BP_SYM.
803 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
804 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
805 <bp-sym.h> and <bp-asm.h>.
806 (memcmp): Don't use BP_SYM.
807 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
808 <bp-sym.h> and <bp-asm.h>.
809 (memcpy): Don't use BP_SYM.
810 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
811 <bp-sym.h> and <bp-asm.h>.
812 (memset): Don't use BP_SYM.
813 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
814 <bp-sym.h> and <bp-asm.h>.
815 (strncmp): Don't use BP_SYM.
816 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
817 <bp-sym.h> and <bp-asm.h>.
818 (memcpy): Don't use BP_SYM.
819 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
820 <bp-sym.h> and <bp-asm.h>.
821 (memset): Don't use BP_SYM.
822 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
823 <bp-sym.h> and <bp-asm.h>.
824 (__memchr): Don't use BP_SYM.
825 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
826 <bp-sym.h> and <bp-asm.h>.
827 (memcmp): Don't use BP_SYM.
828 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
829 <bp-sym.h> and <bp-asm.h>.
830 (memcpy): Don't use BP_SYM.
831 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
832 <bp-sym.h> and <bp-asm.h>.
833 (__mempcpy): Don't use BP_SYM.
834 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
835 <bp-sym.h> and <bp-asm.h>.
836 (__memrchr): Don't use BP_SYM.
837 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
838 <bp-sym.h> and <bp-asm.h>.
839 (memset): Don't use BP_SYM.
840 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
841 <bp-sym.h> and <bp-asm.h>.
842 (__rawmemchr): Don't use BP_SYM.
843 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
844 <bp-sym.h> and <bp-asm.h>.
845 (__STRCMP): Don't use BP_SYM.
846 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
847 <bp-sym.h> and <bp-asm.h>.
848 (strchr): Don't use BP_SYM.
849 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
850 <bp-sym.h> and <bp-asm.h>.
851 (__strchrnul): Don't use BP_SYM.
852 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
853 <bp-sym.h> and <bp-asm.h>.
854 (strlen): Don't use BP_SYM.
855 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
856 <bp-sym.h> and <bp-asm.h>.
857 (strncmp): Don't use BP_SYM.
858 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
859 <bp-sym.h> and <bp-asm.h>.
860 (__strnlen): Don't use BP_SYM.
861 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
863 (__mpn_rshift): Don't use BP_SYM.
864 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
865 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
866 <bp-sym.h> and <bp-asm.h>.
867 (__sigsetjmp): Don't use BP_SYM.
868 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
869 (L(start_addresses)): Don't use BP_SYM.
871 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
873 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
874 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
875 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
876 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
878 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
879 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
880 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
881 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
883 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
885 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
886 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
888 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
890 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
891 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
892 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
894 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
896 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
898 (strncmp): Don't use BP_SYM,
899 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
901 (__mpn_sub_n): Don't use BP_SYM.
902 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
903 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
905 (__mpn_submul_1): Don't use BP_SYM.
906 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
908 <bp-sym.h> and <bp-asm.h>.
909 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
911 <bp-sym.h> and <bp-asm.h>.
912 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
915 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
918 Use ZK to minimize writes to Z.
919 (sub_magnitudes): Simplify code a bit.
920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
921 Use ZK to minimize writes to Z.
922 (sub_magnitudes): Simplify code a bit.
924 2013-02-27 Roland McGrath <roland@hack.frob.com>
926 * csu/gmon-start.c: Add special exception to license text.
928 2013-02-27 Richard Henderson <rth@redhat.com>
930 * scripts/config.guess: Update from config.git.
931 * scripts/config.sub: Likewise.
933 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
935 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
937 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
939 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
941 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
943 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
945 2013-02-26 Roland McGrath <roland@hack.frob.com>
947 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
948 [$(build-shared = yes].
950 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
952 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
953 (__mul): Reduce iterations for calculating mantissa.
955 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
957 (__mpranred): Likewise.
960 * malloc/memusagestat.c (main): Draw graphs for heap and stack
961 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
963 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
965 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
966 Define __attribute__.
968 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
970 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
972 * posix/regex_internal.h (__attribute): Remove.
973 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
974 (re_string_context_at): Likewise.
975 (bitset_not): Use __attribute__ and mark function as possibly
977 (bitset_merge): Likewise.
978 (bitset_mask): Likewise.
979 (re_string_char_size_at): Likewise.
980 (re_string_wchar_at): Likewise.
981 (re_string_elem_size_at): Likewise.
983 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
985 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
989 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
994 (__dbl_mp): Likewise.
995 (add_magnitudes): Likewise.
996 (sub_magnitudes): Likewise.
1000 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1003 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1006 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1010 up changes with default code.
1011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1014 2013-02-24 Allan McRae <allan@archlinux.org>
1016 * manual/socket.texi (The Internet Namespace): Order menu items
1017 to match that in the file.
1019 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1020 node listing of the info page menu.
1022 2013-02-21 Joseph Myers <joseph@codesourcery.com>
1025 * sysdeps/i386/bp-asm.h: Remove file.
1026 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1027 (PARMS): Do not use macros from bp-asm.h.
1031 (__mpn_add_n): Do not use BP_SYM
1032 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1034 (PARMS): Do not use macros from bp-asm.h.
1037 (__mpn_addmul_1): Do not use BP_SYM
1038 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1040 (PARMS): Do not use macros from bp-asm.h.
1042 (_setjmp): Likewise. Do not use BP_SYM.
1043 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1045 (PARMS): Do not use macros from bp-asm.h.
1047 (setjmp): Likewise. Do not use BP_SYM.
1048 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1050 (PARMS): Do not use macros from bp-asm.h.
1051 (__frexp): Do not use BP_SYM.
1053 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1055 (PARMS): Do not use macros from bp-asm.h.
1056 (__frexpf): Do not use BP_SYM.
1058 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1060 (PARMS): Do not use macros from bp-asm.h.
1061 (__frexpl): Do not use BP_SYM.
1063 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1065 (PARMS): Do not use macros from bp-asm.h.
1066 (__remquo): Do not use BP_SYM.
1068 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1070 (PARMS): Do not use macros from bp-asm.h.
1071 (__remquof): Do not use BP_SYM.
1072 (remquof): Likewise.
1073 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1075 (PARMS): Do not use macros from bp-asm.h.
1076 (__remquol): Do not use BP_SYM.
1077 (remquol): Likewise.
1078 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1080 (PARMS): Do not use macros from bp-asm.h.
1083 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1084 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1086 (PARMS): Do not use macros from bp-asm.h.
1087 (strlen): Do not use BP_SYM.
1088 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1090 (PARMS): Do not use macros from bp-asm.h.
1094 (__mpn_add_n): Do not use BP_SYM.
1095 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1097 (PARMS): Do not use macros from bp-asm.h.
1100 (__mpn_addmul_1): Do not use BP_SYM.
1101 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1104 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1106 (PARMS): Do not use macros from bp-asm.h.
1109 (__mpn_lshift): Do not use BP_SYM.
1110 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1112 (PARMS): Do not use macros from bp-asm.h.
1116 (memcpy): Likewise. Do not use BP_SYM.
1117 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1118 libc_hidden_def and weak_alias.
1119 (mempcpy): Do not use BP_SYM in weak_alias.
1120 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1122 (PARMS): Do not use macros from bp-asm.h.
1125 [!BZERO_P] (CHR): Likewise.
1126 (memset): Likewise. Do not use BP_SYM.
1127 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1129 (PARMS): Do not use macros from bp-asm.h.
1132 (__mpn_mul_1): Do not use BP_SYM.
1133 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1135 (PARMS): Do not use macros from bp-asm.h.
1138 (__mpn_rshift): Do not use BP_SYM.
1139 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1141 (PARMS): Do not use macros from bp-asm.h.
1144 (strchr): Likewise. Do not use BP_SYM.
1145 (index): Do not use BP_SYM in weak_alias.
1146 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1148 (PARMS): Do not use macros from bp-asm.h.
1151 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1152 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1154 (PARMS): Do not use macros from bp-asm.h.
1155 (strlen): Do not use BP_SYM.
1156 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1158 (PARMS): Do not use macros from bp-asm.h.
1162 (__mpn_sub_n): Do not use BP_SYM.
1163 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1165 (PARMS): Do not use macros from bp-asm.h.
1168 (__mpn_submul_1): Do not use BP_SYM.
1169 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1171 (PARMS): Do not use macros from bp-asm.h.
1175 (__mpn_add_n): Do not use BP_SYM.
1176 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1179 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1181 (PARMS): Do not use macros from bp-asm.h.
1184 (memcmp): Do not use BP_SYM.
1185 (bcmp): Do not use BP_SYM in weak_alias.
1186 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1188 (PARMS): Do not use macros from bp-asm.h.
1192 (memcpy): Likewise. Do not use BP_SYM.
1193 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1195 (PARMS): Do not use macros from bp-asm.h.
1199 (memmove): Likewise. Do not use BP_SYM.
1200 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1202 (PARMS): Do not use macros from bp-asm.h.
1206 (__mempcpy): Likewise. Do not use BP_SYM.
1207 (mempcpy): Do not use BP_SYM in weak_alias.
1208 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1210 (PARMS): Do not use macros from bp-asm.h.
1213 [!BZERO_P] (CHR): Likewise.
1214 (memset): Likewise. Do not use BP_SYM.
1215 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1217 (PARMS): Do not use macros from bp-asm.h.
1219 (strcmp): Do not use BP_SYM.
1220 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1222 (PARMS): Do not use macros from bp-asm.h.
1225 [USE_AS_STRTOK_R] (SAVE): Likewise.
1226 (FUNCTION): Likewise. Do not use BP_SYM.
1227 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1229 (strtok_r): Likewise.
1230 (__GI___strtok_r): Likewise.
1231 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1232 (PARMS): Do not use macros from bp-asm.h.
1235 (__mpn_lshift): Do not use BP_SYM.
1236 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1237 (PARMS): Do not use macros from bp-asm.h.
1240 (__memchr): Do not use BP_SYM.
1241 (memchr): Do not use BP_SYM in weak_alias.
1242 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1243 (PARMS): Do not use macros from bp-asm.h.
1246 (memcmp): Do not use BP_SYM.
1247 (bcmp): Do not use BP_SYM in weak_alias.
1248 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1249 (PARMS): Do not use macros from bp-asm.h.
1252 (__mpn_mul_1): Do not use BP_SYM.
1253 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1255 (PARMS): Do not use macros from bp-asm.h.
1258 (__rawmemchr): Do not use BP_SYM.
1259 (rawmemchr): Do not use BP_SYM in weak_alias.
1260 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1261 (PARMS): Do not use macros from bp-asm.h.
1264 (__mpn_rshift): Do not use BP_SYM.
1265 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1266 (PARMS): Do not use macros from bp-asm.h.
1268 (__sigsetjmp): Likewise. Do not use BP_SYM.
1269 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1270 (_start): Do not use BP_SYM.
1271 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1272 (PARMS): Do not use macros from bp-asm.h.
1275 (__stpcpy): Likewise. Do not use BP_SYM.
1276 (stpcpy): Do not use BP_SYM in weak_alias.
1277 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1279 (PARMS): Do not use macros from bp-asm.h.
1283 (__stpncpy): Likewise. Do not use BP_SYM.
1284 (stpncpy): Do not use BP_SYM in weak_alias.
1285 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1286 (PARMS): Do not use macros from bp-asm.h.
1289 (strchr): Likewise. Do not use BP_SYM.
1290 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1292 (PARMS): Do not use macros from bp-asm.h.
1295 (__strchrnul): Likewise. Do not use BP_SYM.
1296 (strchrnul): Do not use BP_SYM in weak_alias.
1297 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1299 (PARMS): Do not use macros from bp-asm.h.
1301 (strcspn): Do not use BP_SYM.
1302 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1304 (PARMS): Do not use macros from bp-asm.h.
1307 (strpbrk): Likewise. Do not use BP_SYM.
1308 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1310 (PARMS): Do not use macros from bp-asm.h.
1313 (strrchr): Likewise. Do not use BP_SYM.
1314 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1315 (PARMS): Do not use macros from bp-asm.h.
1317 (strspn): Do not use BP_SYM.
1318 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1319 (PARMS): Do not use macros from bp-asm.h.
1323 (FUNCTION): Likewise. Do not use BP_SYM.
1324 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1326 (strtok_r): Likewise.
1327 (__GI___strtok_r): Likewise.
1328 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1329 (PARMS): Do not use macros from bp-asm.h.
1333 (__mpn_sub_n): Do not use BP_SYM.
1334 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1336 (PARMS): Do not use macros from bp-asm.h.
1339 (__mpn_submul_1): Do not use BP_SYM.
1340 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1342 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1344 (PARMS): Do not use macros from bp-asm.h.
1349 (__clone): Do not use BP_SYM.
1350 (clone): Do not use BP_SYM in weak_alias.
1351 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1353 (PARMS): Do not use macros from bp-asm.h.
1355 (__mmap64): Do not use BP_SYM.
1356 (mmap64): Do not use BP_SYM in weak_alias.
1357 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1358 <bp-sym.h> and <bp-asm.h>.
1359 (PARMS): Do not use macros from bp-asm.h.
1360 (__posix_fadvise64_l64): Do not use BP_SYM.
1361 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1362 (PARMS): Do not use macros from bp-asm.h.
1364 (semtimedop): Do not use BP_SYM.
1365 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1368 2013-02-21 Allan McRae <allan@archlinux.org>
1370 * manual/message.texi (Charset conversion in gettext):
1371 Move @end statement to beginning of line.
1373 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1380 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1385 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1387 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1388 tail-call to the resolved function if pltexit isn't needed.
1390 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1393 or Y being zero as being unlikely.
1394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1397 2013-02-20 Carlos O'Donell <carlos@redhat.com>
1399 * manual/nss.texi (System Databases and Name Service Switch):
1400 Remove frobnicate @pxref.
1402 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1404 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1405 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1407 2013-02-20 Petr Machata <pmachata@redhat.com>
1409 * elf/elf.h (R_ARM_TARGET1): New macro.
1410 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1411 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1412 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1413 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1414 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1415 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1416 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1417 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1418 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1419 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1420 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1421 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1422 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1423 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1424 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1425 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1426 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1427 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1428 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1429 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1430 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1431 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1432 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1433 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1434 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1435 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1436 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1437 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1438 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1439 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1440 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1441 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1442 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1443 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1444 (R_ARM_THM_GOT_BREL12): Likewise.
1445 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1446 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1447 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1448 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1449 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1450 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1451 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1452 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1453 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1455 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1457 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1458 __attribute_used__ to __attribute__ ((unused)).
1460 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1462 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1468 2013-02-19 Joseph Myers <joseph@codesourcery.com>
1471 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1473 (ENTER): Remove both macro definitions.
1475 (CHECK_BOUNDS_LOW): Likewise.
1476 (CHECK_BOUNDS_HIGH): Likewise.
1477 (CHECK_BOUNDS_BOTH): Likewise.
1478 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1479 (RETURN_BOUNDED_POINTER): Likewise.
1480 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1481 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1482 (POP_ERRNO_LOCATION_RETURN): Likewise.
1483 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1484 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1485 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1487 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1488 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1489 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1490 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1491 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1492 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1493 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1494 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1495 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1496 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1497 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1498 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1499 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1500 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1502 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1503 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1505 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1506 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1507 * sysdeps/i386/i586/memset.S (memset): Likewise.
1508 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1509 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1510 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1512 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1513 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1514 Change uses of L(2) to L(out).
1515 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1516 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1517 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1518 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1519 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1521 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1522 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1524 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1525 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1526 (RETURN): Do not use macro LEAVE.
1527 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1528 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1529 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1530 * sysdeps/i386/i686/memset.S (memset): Likewise.
1531 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1532 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1533 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1534 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1536 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1537 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1538 L(1_2) and L(1_3) into L(1).
1539 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1540 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1541 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1542 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1543 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1544 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1545 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1546 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1547 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1549 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1550 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1551 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1552 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1553 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1554 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1555 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1556 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1557 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1558 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1559 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1560 * sysdeps/i386/strspn.S (strspn): Likewise.
1561 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1563 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1564 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1565 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1566 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1568 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1569 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1570 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1572 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1574 2013-02-19 Jakub Jelinek <jakub@redhat.com>
1576 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1579 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1581 * math/atest-exp.c (exp_mpn): Remove ROUND.
1582 * math/atest-exp2.c (exp_mpn): Likewise.
1583 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1585 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1586 * stdlib/tst-tls-atexit-lib.c: Likewise.
1587 * stdlib/tst-tls-atexit.c: Likewise.
1589 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1591 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1592 and __attribute_alloc_size__.
1594 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1596 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1597 __attribute_alloc_size__.
1598 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1599 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1601 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1603 * include/programs/xmalloc.h: New file.
1604 * catgets/gencat.c: Include it.
1605 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1606 * elf/pldd.c: Likewise.
1607 * iconv/iconv_charmap.c: Likewise.
1608 * iconv/iconvconfig.c: Likewise.
1609 * iconv/strtab.c: Likewise.
1610 * locale/programs/locale.c: Likewise.
1611 * locale/programs/localedef.h: Likewise.
1612 * locale/programs/simple-hash.c: Likewise.
1613 * nscd/nscd.h: Likewise.
1614 * nss/makedb.c: Likewise.
1615 * sysdeps/generic/ldconfig.h: Likewise.
1617 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1619 * Versions.def: Add GLIBC_2.18.
1620 * include/link.h (struct link_map): New member l_tls_dtor_count.
1621 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1622 (__call_tls_dtors): Likewise.
1623 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1624 __cxa_thread_atexit_impl.
1625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1633 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1641 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1642 (tests): Add test case tst-tls-atexit.
1643 (modules-names): Add shared library for tst-tls-atexit.
1644 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1645 (GLIBC_PRIVATE): Add __call_tls_dtors.
1646 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1648 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1649 * stdlib/tst-tls-atexit.c: New test case.
1650 * stdlib/tst-tls-atexit-lib.c: New test case.
1652 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1654 * elf/Versions (ld): Add _dl_find_dso_for_object.
1655 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1656 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1657 (dl_open_worker): Use _dl_find_dso_for_object.
1658 * elf/dl-sym.c (do_sym): Likewise.
1659 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1661 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1663 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1664 Syntactic changes only.
1665 (_dl_runtime_profile): Do a tail-call to the resolved function.
1667 2013-02-17 Joseph Myers <joseph@codesourcery.com>
1670 * sysdeps/x86_64/bp-asm.h: Remove file.
1671 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1672 <bp-sym.h> and <bp-asm.h>.
1673 (__clone): Do not use BP_SYM.
1674 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1675 <bp-sym.h> and <bp-asm.h>.
1676 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1677 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1679 (_setjmp): Do not use BP_SYM.
1680 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1682 (setjmp): Do not use BP_SYM.
1683 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1685 (mempcpy): Do not use BP_SYM in weak_alias.
1686 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1688 (strchr): Do not use BP_SYM.
1689 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1691 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1692 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1693 (_start): Do not use BP_SYM.
1694 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1696 (strcat): Do not use BP_SYM.
1697 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1699 (STRCMP): Do not use BP_SYM.
1700 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1702 (STRCPY): Do not use BP_SYM.
1703 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1705 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1707 (FUNCTION): Do not use BP_SYM.
1708 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1710 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1712 2013-02-17 Andreas Jaeger <aj@suse.de>
1714 * time/Versions: Sort entries.
1715 * string/Versions: Likewise.
1716 * resolv/Versions: Likewise.
1717 * posix/Versions: Likewise.
1718 * iconv/Versions: Likewise.
1719 * elf/Versions: Likewise.
1720 * wcsmbs/Versions: Likewise.
1722 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1724 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1725 loop termination condition.
1727 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1728 variable to calculate EZ.
1731 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1732 the lower precision input.
1734 2013-02-15 Joseph Myers <joseph@codesourcery.com>
1737 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1738 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1739 (run-via-rtld-prefix): Do not handle %-bp tests.
1740 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1741 (all-object-suffixes): Remove .ob.
1742 (bppfx): Remove variable.
1743 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1744 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1745 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1746 [$(build-bounded) = yes] (libtype.ob): Likewise.
1747 * Makerules (elide-routines.ob): Remove variable.
1748 (do-tests-clean): Do not handle *-bp.out.
1749 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1750 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1751 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1752 (tests): Do not include $(tests-bp.out).
1753 (xtests): Do not include $(xtests-bp.out).
1754 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1755 [$(build-bounded) = yes] ($(addprefix
1756 $(objpfx),$(binaries-bounded))): Remove rule.
1757 ($(objpfx)%-bp.out): Remove rule.
1758 * config.make.in (build-bounded): Remove variable.
1759 * crypt/Makefile [$(build-bounded) = yes]
1760 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1761 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1763 [$(build-bounded) = yes] (install-lib): Likewise.
1764 [$(build-bounded) = yes] (generated): Likewise.
1765 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1767 * intl/Makefile [$(build-bounded) = yes]
1768 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1769 * math/Makefile [$(build-bounded) = yes]
1770 ($(tests:%=$(objpfx)%-bp): Likewise.
1771 * misc/Makefile [$(build-bounded) = yes]
1772 ($(objpfx)tst-tsearch-bp): Likewise.
1773 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1774 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1776 * string/Makefile (o-objects.ob): Remove variable.
1777 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1778 (CFLAGS-.ob): Remove variable.
1779 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1780 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1781 both definitions of variable.
1782 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1783 (ASFLAGS-.ob): Remove variable.
1785 2013-02-14 Joseph Myers <joseph@codesourcery.com>
1788 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1789 Remove __BOUNDED_POINTERS__ from condition.
1790 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1791 * string/bits/string2.h [!__NO_STRING_INLINES &&
1792 !__BOUNDED_POINTERS__]: Likewise.
1793 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1795 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1796 Remove conditional code.
1797 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1798 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1799 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1803 * csu/libc-start.c: Do not include <bp-sym.h>.
1804 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1805 * elf/dl-open.c: Do not include <bp-sym.h>.
1806 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1807 * math/fegetenv.c: Do not include <bp-sym.h>.
1808 (fegetenv): Do not use BP_SYM in versioned symbols.
1809 * nptl/sysdeps/pthread/bits/libc-lockP.h
1810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1813 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1815 (__pthread_mutex_destroy): Likewise.
1816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1817 (__pthread_mutex_lock): Likewise.
1818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1819 (__pthread_mutex_trylock): Likewise.
1820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1821 (__pthread_mutex_unlock): Likewise.
1822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1823 (__pthread_mutexattr_init): Likewise.
1824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1825 (__pthread_mutexattr_destroy): Likewise.
1826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1827 (__pthread_mutexattr_settype): Likewise.
1828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1829 (__pthread_rwlock_init): Likewise.
1830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1831 (__pthread_rwlock_destroy): Likewise.
1832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1833 (__pthread_rwlock_rdlock): Likewise.
1834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1835 (__pthread_rwlock_tryrdlock): Likewise.
1836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1837 (__pthread_rwlock_wrlock): Likewise.
1838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1839 (__pthread_rwlock_trywrlock): Likewise.
1840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1841 (__pthread_rwlock_unlock): Likewise.
1842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1843 (__pthread_key_create): Likewise.
1844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1845 (__pthread_setspecific): Likewise.
1846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1847 (__pthread_getspecific): Likewise.
1848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1851 (_pthread_cleanup_push_defer): Likewise.
1852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1853 (_pthread_cleanup_pop_restore): Likewise.
1854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1855 (pthread_setcancelstate): Likewise.
1856 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1858 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1859 (memchr): Do not use BP_SYM in weak_alias.
1860 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1861 (fegetenv): Do not use BP_SYM in versioned symbols.
1862 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1863 (fesetenv): Do not use BP_SYM in versioned symbols.
1864 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1865 (feupdateenv): Do not use BP_SYM in versioned symbols.
1866 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1867 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1868 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1869 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1870 (open64): Do not use BP_SYM in weak_alias.
1871 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1872 (fegetenv): Do not use BP_SYM in versioned symbols.
1873 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1874 (fesetenv): Do not use BP_SYM in versioned symbols.
1875 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1876 (feupdateenv): Do not use BP_SYM in versioned symbols.
1877 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1878 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1879 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1880 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1881 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1882 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1883 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1885 (__libc_start_main): Do not use BP_SYM.
1887 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1890 redundant return line.
1894 (sub_magnitudes): Likewise.
1900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1904 (sub_magnitudes): Likewise.
1911 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1913 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1914 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1917 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1918 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1919 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1920 of __mul for squares.
1921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1925 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1926 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1928 2013-02-13 Joseph Myers <joseph@codesourcery.com>
1931 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1933 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1934 prototype or function definition. Rename ubp_* variables and
1935 parameters. Remove argv definitions conditional on
1936 [__BOUNDED_POINTERS__].
1937 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1938 * elf/dl-runtime.c (_dl_fixup): Likewise.
1939 * include/set-hooks.h (RUN_HOOK): Likewise.
1940 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1942 * string/strcpy.c (strcpy): Do not use __unbounded.
1943 * sysdeps/generic/frame.h (struct layout): Likewise.
1944 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1945 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1946 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1947 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1948 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1949 (__backtrace): Likewise.
1950 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1952 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1953 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1954 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1956 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1957 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1958 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1959 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1960 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1961 Do not use __unbounded.
1962 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1963 Rename __unboundedrlimits parameter to rlimits in prototype.
1964 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1965 Do not use __unbounded.
1966 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1968 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1969 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1970 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1971 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1972 __ptrvalue or __unbounded.
1973 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1974 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1976 (__new_msgctl): Do not use __ptrvalue.
1977 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1979 (__libc_msgrcv): Do not use __ptrvalue.
1980 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1981 startup_info): Do not use __unbounded.
1982 (__libc_start_main): Likewise. Rename ubp_* variables and
1983 parameters. Remove argv definitions conditional on
1984 [__BOUNDED_POINTERS__].
1985 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1987 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1989 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1991 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1993 (__new_shmctl): Do not use __ptrvalue.
1994 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1995 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1997 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1998 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1999 (__libc_sigaction): Likewise.
2000 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2001 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2003 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2005 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
2007 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2009 * string/mempcpy.c: Implement by calling memcpy.
2011 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2013 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2015 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2018 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2019 values in the mantissa.
2021 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2022 minimize writes to Z.
2023 (sub_magnitudes): Simplify code a bit.
2025 2013-02-12 Roland McGrath <roland@hack.frob.com>
2027 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2028 from the message. The linker prefixes all warnings with that already.
2030 2013-02-12 Andreas Schwab <schwab@suse.de>
2033 * posix/regexec.c (extend_buffers): Add parameter min_len.
2034 (check_matching): Pass minimum needed length.
2035 (clean_state_log_if_needed): Likewise.
2036 (get_subexp): Likewise.
2037 * posix/Makefile (tests): Add bug-regex34.
2038 (bug-regex34-ENV): Define.
2039 * posix/bug-regex34.c: New file.
2042 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2043 elements compare against the byte sequence of it, not its name.
2044 * posix/Makefile (tests): Add bug-regex35.
2045 (bug-regex35-ENV): Define.
2046 * posix/bug-regex35.c: New file.
2048 2013-02-11 Tom de Vries <tom@codesourcery.com>
2050 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2052 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2053 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2054 (CHECK_EOL): Add undef.
2056 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
2058 * bits/stdlib-bsearch.h: New file.
2059 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2060 * stdlib/stdlib.h: Likewise.
2062 2013-02-11 Roland McGrath <roland@hack.frob.com>
2064 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2065 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2067 * manual/search.texi (Array Search Function): Add missing const in
2069 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2070 declaration to use rlim_t.
2071 (Basic Scheduling Functions): Remove erroneous const from
2072 sched_getparam prototype. Remove erroneous * from
2073 sched_get_priority_max and sched_get_priority_min prototypes.
2074 (Resource Usage): Fix summary @comment on vtimes to refer to
2075 sys/vtimes.h rather than vtimes.h.
2076 Add missing *s in vtimes prototype.
2077 (Limits on Resources): Fix ulimit prototype to return long int.
2078 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2079 prototypes to use long int rather than double.
2080 (BSD Random): Fix initstate and setstate to use char *, not void *.
2081 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2082 prototype to make second argument 'struct aiocb64 *const[]'.
2083 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2084 (Status of AIO Operations): Remove erroneous const in aio_return and
2085 aio_return64 prototypes.
2086 (Synchronizing I/O): Fix sync prototype to return void.
2087 * manual/startup.texi (Suboptions): Remove an erroneous const in
2088 getsubopt prototype.
2089 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2090 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2091 use size_t rather than int.
2092 (Scanning All Users): Likewise for getpwent_r.
2093 (Setting Groups): Add missing const to setgroups prototype.
2094 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2095 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2096 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2097 'const void *' rather than 'const char *'.
2098 (Host Address Functions): Likewise for inet_ntop.
2099 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2100 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2101 ssize_t for return value.
2102 (Sending Data): Likewise for send, sendto, sendmsg.
2103 (Socket Option Functions): Add a missing const in setsockopt prototype.
2104 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2105 use wchar_t for the argument.
2106 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2107 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2109 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2110 double/float/long double for second argument.
2111 Fix return types of significand, significandf, significandl.
2112 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2113 argument in fchmod prototype.
2114 (File Owner): Use uid_t and gid_t in fchown prototype.
2115 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2116 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2117 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2118 use 'const struct dirent **' as argument types to CMP function pointer
2120 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2121 (File Times): Fix summary magic @comment for struct utimbuf and utime
2122 to refer to utime.h, not time.h.
2123 * manual/string.texi (Argz Functions): Add missing const in
2124 argz_extract and argz_next prototypes.
2125 (Finding Tokens in a String): Likewise for basename.
2126 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2127 (Copying and Concatenation): Fix typo in wmemmove prototype.
2128 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2129 (Signal Stack): Remove erroneous const in sigstack prototype.
2130 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2132 (Simple Calendar Time): Likewise for stime.
2133 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2135 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2136 say sys/sysctl.h instead.
2137 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2138 and vsyslog prototypes.
2140 2013-02-11 Tom de Vries <tom@codesourcery.com>
2142 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2145 2013-02-11 Roland McGrath <roland@hack.frob.com>
2147 * misc/sys/mman.h: Fix typo in mremap comment.
2149 2013-02-08 Roland McGrath <roland@hack.frob.com>
2151 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2152 the '\0' terminator.
2154 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2157 * debug/segfault.c: Don't include <bp-checks.h>.
2158 * sysdeps/generic/bp-checks.h: Remove file.
2159 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2160 (__GETDENTS): Don't use CHECK_N.
2161 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2162 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2163 (__getgroups): Don't use CHECK_N.
2164 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2165 (setgroups): Don't use CHECK_N.
2166 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2167 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2168 (__libc_msgrcv): Don't use CHECK_N.
2169 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2170 (__libc_msgsnd): Don't use CHECK_N.
2171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2173 (__libc_pread): Don't use CHECK_N.
2174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2175 include <bp-checks.h>.
2176 (__libc_pread64): Don't use CHECK_N.
2177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2178 include <bp-checks.h>.
2179 (__libc_pwrite): Don't use CHECK_N.
2180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2181 include <bp-checks.h>.
2182 (__libc_pwrite64): Don't use CHECK_N.
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2185 (__libc_pread): Don't use CHECK_N.
2186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2187 include <bp-checks.h>.
2188 (__libc_pread64): Don't use CHECK_N.
2189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2190 include <bp-checks.h>.
2191 (__libc_pwrite): Don't use CHECK_N.
2192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2193 include <bp-checks.h>.
2194 (__libc_pwrite64): Don't use CHECK_N.
2195 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2196 (do_pread): Don't use CHECK_N.
2197 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2198 (do_pread64): Don't use CHECK_N.
2199 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2200 (do_pwrite): Don't use CHECK_N.
2201 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2202 (do_pwrite64): Don't use CHECK_N.
2203 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2204 (__libc_readv): Don't use CHECK_N.
2205 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2206 (semop): Don't use CHECK_N.
2207 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2209 (semtimedop): Don't use CHECK_N.
2210 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2211 (__libc_pread): Don't use CHECK_N.
2212 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2214 (__libc_pread64): Don't use CHECK_N.
2215 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2217 (__libc_pwrite): Don't use CHECK_N.
2218 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2220 (__libc_pwrite64): Don't use CHECK_N.
2221 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2223 (__libc_msgrcv): Don't use CHECK_N.
2224 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2225 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2226 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2227 (__libc_writev): Don't use CHECK_N.
2229 2013-02-08 Roland McGrath <roland@hack.frob.com>
2231 * string/strcpy.c: Removed unused variable.
2233 * Makeconfig (+sysdep-includes): Define with := rather than =.
2234 Use an existing include/ subdir of each sysdeps dir before it.
2236 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2238 * nscd/connection.c (register_traced_file): Comment function.
2239 [HAVE_INOTIFY] (union __inev): Define.
2240 [HAVE_INOTIFY] (inotify_check_files): New function.
2241 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2242 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2244 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2246 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2248 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2249 loaded if not already and that a failure is permanent.
2251 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2254 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2255 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2257 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2260 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2261 (CHECK_1_NULL_OK): Likewise.
2262 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2263 (__fxstat): Do not use CHECK_1.
2264 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2266 (___fxstat64): Do not use CHECK_1.
2267 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2269 (__fxstatat): Do not use CHECK_1.
2270 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2272 (__fxstatat64): Do not use CHECK_1.
2273 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2275 (__fxstat): Do not use CHECK_1.
2276 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2278 (__fxstatat): Do not use CHECK_1.
2279 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2281 (__getresgid): Do not use CHECK_1.
2282 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2284 (__getresuid): Do not use CHECK_1.
2285 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2287 (__lxstat): Do not use CHECK_1.
2288 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2290 (__old_msgctl): Do not use CHECK_1.
2291 (__new_msgctl): Likewise.
2292 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2294 (__new_setrlimit): Do not use CHECK_1.
2295 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2297 (__old_shmctl): Do not use CHECK_1.
2298 (__new_shmctl): Likewise.
2299 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2301 (__xstat): Do not use CHECK_1.
2302 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2303 (__lxstat): Do not use CHECK_1.
2304 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2306 (___lxstat64): Do not use CHECK_1.
2307 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2308 (__old_msgctl): Do not use CHECK_1.
2309 (__new_msgctl): Likewise.
2310 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2312 (__gettimeofday): Do not use CHECK_1.
2313 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2314 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2315 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2317 (__gettimeofday): Do not use CHECK_1.
2318 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2319 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2320 (__new_shmctl): Do not use CHECK_1.
2321 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2323 (do_sigtimedwait): Do not use CHECK_1.
2324 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2326 (do_sigwaitinfo): Do not use CHECK_1.
2327 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2329 (msgctl): Do not use CHECK_1.
2330 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2332 (shmctl): Do not use CHECK_1.
2333 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2334 (ustat): Do not use CHECK_1.
2335 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2337 (__fxstat): Do not use CHECK_1.
2338 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2340 (__fxstatat): Do not use CHECK_1.
2341 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2343 (__lxstat): Do not use CHECK_1.
2344 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2346 (__xstat): Do not use CHECK_1.
2347 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2348 (__xstat): Do not use CHECK_1.
2349 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2350 (___xstat64): Do not use CHECK_1.
2353 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2355 (CHECK_BOUNDS_HIGH): Likewise.
2356 * string/strcpy.c: Do not include <bp-checks.h>.
2357 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2359 2013-02-07 Roland McGrath <roland@hack.frob.com>
2361 * nscd/nscd-client.h (__nscd_drop_map_ref):
2362 Add __attribute__ ((unused)).
2363 * nis/nss-nisplus.h (niserr2nss): Likewise.
2365 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2366 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2368 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2369 Remove inline keyword.
2370 * include/rounding-mode.h (round_away): Likewise.
2371 * libio/wfileops.c (adjust_wide_data): Likewise.
2372 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2373 (__m128i_strloadu_tolower): Likewise.
2374 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2375 (__m128i_strloadu_tolower): Likewise.
2376 * time/mktime.c (ydhms_diff): Likewise.
2377 * locale/elem-hash.h (elem_hash): Likewise.
2378 * locale/setlocale.c (setdata): Likewise.
2379 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2380 (re_string_wchar_at): Likewise.
2381 (bitset_not, bitset_merge, bitset_mask): Likewise.
2382 [!(__GNUC__ > 3)] (inline): Remove macro.
2383 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2384 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2385 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2386 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2387 * string/memcmp.c (memcmp_bytes): Likewise.
2388 * locale/programs/locarchive.c (compute_hashval): Likewise.
2389 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2390 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2391 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2392 * nss/getent.c (print_rpc, print_protocols): Likewise.
2393 (print_passwd, print_group, print_aliases): Likewise.
2394 * nis/nss-nisplus.h (niserr2nss): Likewise.
2395 * nscd/connections.c (restart_p): Likewise.
2396 Change return type to bool.
2398 2013-02-05 Roland McGrath <roland@hack.frob.com>
2400 * Makeconfig (all-Depend-files): Add existing
2401 $(sorted-subdirs:=/Depend) files.
2402 (all-subdirs): Remove nss.
2403 * sysdeps/unix/inet/Subdirs: Add it here instead.
2404 * hesiod/Depend: New file.
2406 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2407 instead of calling alloca.
2409 * io/lseek.c (__lseek): Rename to __libc_lseek.
2410 Define __lseek as an alias.
2412 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2414 2013-02-04 Carlos O'Donell <carlos@redhat.com>
2416 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2417 else clause and remove check for non-standard endianness.
2419 2013-02-04 David S. Miller <davem@davemloft.net>
2421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2423 2013-02-04 Joseph Myers <joseph@codesourcery.com>
2426 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2427 (__ubp_memchr): Remove prototype.
2428 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2429 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2430 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2431 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2432 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2434 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2435 (__ubp_memchr): Likewise.
2436 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2437 (__ubp_memchr): Likewise.
2438 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2439 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2440 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2441 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2443 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2444 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2445 (__getcwd): Do not use CHECK_STRING.
2446 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2448 (__real_chown): Do not use CHECK_STRING.
2449 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2451 (fchownat): Do not use CHECK_STRING.
2452 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2454 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2456 (__lchown): Do not use CHECK_STRING.
2457 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2458 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2459 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2460 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2462 include <bp-checks.h>.
2463 (truncate64): Do not use CHECK_STRING.
2464 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2466 (__real_chown): Do not use CHECK_STRING.
2467 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2469 (__lchown): Do not use CHECK_STRING.
2470 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2472 (__chown): Do not use CHECK_STRING.
2473 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2475 (truncate64): Do not use CHECK_STRING.
2476 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2478 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2479 (__xmknod): Do not use CHECK_STRING.
2480 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2482 (__xmknodat): Do not use CHECK_STRING.
2483 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2484 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2486 2013-02-04 Andreas Schwab <schwab@suse.de>
2489 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2490 * include/netdb.h: Likewise for h_errno.
2491 * elf/tst-stackguard1.c: Include <tls.h>.
2493 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2495 * elf/link.h (struct link_map): Extend the l_addr comment.
2496 * include/link.h (struct link_map): Likewise.
2498 2013-02-01 Joseph Myers <joseph@codesourcery.com>
2501 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2502 (BOUNDED_1): Remove macro.
2503 * debug/backtrace.c: Don't include <bp-checks.h>.
2504 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2505 (__backtrace): Likewise.
2506 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2508 (__backtrace): Don't use BOUNDED_1.
2509 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2511 (__backtrace): Don't use BOUNDED_1.
2512 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2513 (__backtrace): Don't use BOUNDED_1.
2514 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2515 (shmat): Don't use BOUNDED_N.
2517 2013-01-31 Joseph Myers <joseph@codesourcery.com>
2520 * sysdeps/generic/bp-start.h: Remove file.
2521 * csu/libc-start.c: Don't include <bp-start.h>.
2522 (LIBC_START_MAIN): Set up __environ directly instead of using
2523 INIT_ARGV_and_ENVIRON.
2524 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2528 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2530 (CHECK_FCNTL): Likewise.
2531 (CHECK_N_PAGES): Likewise.
2534 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2536 (CHECK_SIGSET_NULL_OK): Likewise.
2537 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2539 (sigpending): Don't use CHECK_SIGSET.
2540 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2542 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2543 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2545 (do_sigsuspend): Don't use CHECK_SIGSET.
2546 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2548 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2549 (do_sigwait): Don't use CHECK_SIGSET.
2550 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2552 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2553 include <bp-checks.h>.
2554 (sigpending): Don't use CHECK_SIGSET.
2555 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2556 include <bp-checks.h>.
2557 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2558 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2560 (sigpending): Don't use CHECK_SIGSET.
2561 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2563 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2566 * sysdeps/generic/bp-semctl.h: Remove file.
2567 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2568 <bp-checks.h> and <bp-semctl.h>.
2569 (__old_semctl): Don't use CHECK_SEMCTL.
2570 (__new_semctl): Likewise.
2571 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2573 (__old_semctl): Don't use CHECK_SEMCTL.
2574 (__new_semctl): Likewise.
2575 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2576 <bp-checks.h> and <bp-semctl.h>.
2577 (__old_semctl): Don't use CHECK_SEMCTL.
2578 (__new_semctl): Likewise.
2579 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2580 <bp-checks.h> and <bp-semctl.h>.
2581 (semctl): Don't use CHECK_SEMCTL.
2584 * Makerules (elide-bp-thunks): Remove variable.
2585 (elide-routines.oS): Don't use $(elide-bp-thunks).
2586 (elide-routines.os): Likewise.
2587 (elide-routines.o): Likewise.
2588 (elide-routines.op): Likewise.
2589 (elide-routines.og): Likewise.
2590 (objects): Don't use $(bp-thunks).
2591 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2593 (common-generated): Do not add s-proto-bp.d.
2594 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2597 Do not generate makefile rules for bounded-pointer thunks.
2598 * sysdeps/generic/bp-thunks.h: Remove file.
2599 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2600 * sysdeps/unix/s-proto-bp.S: Likewise.
2603 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2604 parts of result separately when argument is not close to line from
2605 -i to i and one part of argument is small.
2606 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2607 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2608 * math/libm-test.inc (cacos_test): Add more tests.
2609 (casin_test): Likewise.
2610 (casinh_test): Likewise.
2611 * sysdeps/i386/fpu/libm-test-ulps: Update.
2612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2614 2013-01-31 David S. Miller <davem@davemloft.net>
2616 * po/de.po: Update from translation team.
2618 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2620 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2622 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2624 * configure.in (_AC_PROG_CC_C89): New definition.
2625 * configure: Regenerate.
2627 * configure.in (AC_PROG_CPP): New definition.
2628 * configure: Regenerate.
2630 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2632 * debug/tst-backtrace.h: New file.
2633 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2634 (ret): Remove variable.
2636 (FAIL): Remove macro.
2637 (NO_INLINE): Likewise.
2638 (fn1): Use match function instead of strstr.
2639 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2640 (ret): Remove variable.
2642 (FAIL): Remove macro.
2643 (NO_INLINE): Likewise.
2644 (fn): Use match function instead of strstr.
2645 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2646 (ret): Remove variable.
2648 (FAIL): Remove macro.
2649 (NO_INLINE): Likewise.
2650 (handle_signal): Use match function instead of strstr.
2651 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2652 (ret): Remove variable.
2654 (FAIL): Remove macro.
2655 (NO_INLINE): Likewise.
2656 (handle_signal): Use match function instead of strstr.
2658 2013-01-23 Roland McGrath <roland@hack.frob.com>
2660 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2662 2013-01-23 David S. Miller <davem@davemloft.net>
2664 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2665 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2666 argument of CAS if possible.
2667 * sysdeps/sparc/sparc64/bits/atomic.h
2668 (__arch_compare_and_exchange_val_32_acq): Likewise.
2669 (__arch_compare_and_exchange_val_64_acq): Likewise.
2671 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2673 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2674 * sysdeps/posix/ulimit.c: ... this.
2676 * sysdeps/unix/bsd/ulimit.c: Remove file.
2678 2013-01-23 Adam Conrad <adconrad@0c3.net>
2680 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2681 (LDFLAGS-tst-array5): Likewise.
2683 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2686 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2687 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2688 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2689 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2691 2013-01-21 David S. Miller <davem@davemloft.net>
2693 * sysdeps/sparc/backtrace.c: New file.
2694 * sysdeps/sparc/sparc32/backtrace.h: New file.
2695 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2696 * sysdeps/sparc/sparc64/backtrace.h: New file.
2697 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2698 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2701 2013-01-21 Andreas Schwab <schwab@suse.de>
2704 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2707 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2709 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2713 2013-01-18 Joseph Myers <joseph@codesourcery.com>
2714 Mark Mitchell <mark@codesourcery.com>
2715 Tom de Vries <tom@codesourcery.com>
2716 Paul Pluzhnikov <ppluzhnikov@google.com>
2718 * debug/tst-backtrace2.c: New file.
2719 * debug/tst-backtrace3.c: Likewise.
2720 * debug/tst-backtrace4.c: Likewise.
2721 * debug/tst-backtrace5.c: Likewise.
2722 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2723 (CFLAGS-tst-backtrace3.c): Likewise.
2724 (CFLAGS-tst-backtrace4.c): Likewise.
2725 (CFLAGS-tst-backtrace5.c): Likewise.
2726 (LDFLAGS-tst-backtrace2): Likewise.
2727 (LDFLAGS-tst-backtrace3): Likewise.
2728 (LDFLAGS-tst-backtrace4): Likewise.
2729 (LDFLAGS-tst-backtrace5): Likewise.
2730 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2731 tst-backtrace4 and tst-backtrace5.
2733 2013-01-18 Anton Blanchard <anton@samba.org>
2734 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2736 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2737 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2738 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2739 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2741 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2742 "+r" and remove output regs list as redundant. Add explicit inline
2743 asm to specify register of return val to work around compiler codegen
2744 bug. Remove (int) cast on return value. Add return type parameter to
2745 use in macro so that this macro does not truncate return value for
2747 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2748 pass to INTERNAL_VSYSCALL_NCS.
2749 (INLINE_VSYSCALL): Add 'long int' as return type to
2750 INTERNAL_VSYSCALL_NCS macro invocation.
2751 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2752 INTERNAL_VSYSCALL_NCS macro invocation.
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2755 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2758 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2759 Fix application of SIMD FP exception mask.
2761 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2762 mp_no from a power of two.
2763 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2764 __mpexp_twomm1. Use __pow_mp.
2766 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2769 2013-01-17 David S. Miller <davem@davemloft.net>
2771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2773 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2776 * include/complex.h: Condition contents on [!_COMPLEX_H].
2777 (__kernel_casinhf): New prototype.
2778 (__kernel_casinh): Likewise.
2779 (__kernel_casinhl): Likewise.
2780 * math/Makefile (libm_calls): Add k_casinh.
2781 * math/k_casinh.c: New file.
2782 * math/k_casinhf.c: Likewise.
2783 * math/k_casinhl.c: Likewise.
2784 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2785 finite nonzero arguments.
2786 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2787 finite nonzero arguments.
2788 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2789 finite nonzero arguments.
2790 * math/s_casinh.c: Do not include <float.h>.
2791 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2792 * math/s_casinhf.c: Do not include <float.h>.
2793 (__casinhf): Move code for finite nonzero arguments to
2795 * math/s_casinhl.c: Do not include <float.h>.
2796 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2798 (__casinhl): Move code for finite nonzero arguments to
2800 * math/libm-test.inc (cacos_test): Add more tests.
2801 * sysdeps/i386/fpu/libm-test-ulps: Update.
2802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2804 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2806 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2807 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2808 [!HAVE_MREMAP]: Remove [defined linux] case.
2809 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2811 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2813 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2815 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
2817 * elf/elf.h (R_386_SIZE32): New relocation.
2818 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2820 (elf_machine_rela): Likewise.
2821 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2822 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2824 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2826 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2827 (FP_FAST_FMA): Do not define.
2828 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2829 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2830 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2831 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2832 !_SOFT_FLOAT]: Likewise.
2833 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2834 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2836 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2837 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2838 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2839 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2840 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2841 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2844 2013-01-16 Andreas Schwab <schwab@suse.de>
2847 * include/stdlib.h (__mktemp): Add declaration.
2848 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2849 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2851 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2853 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2855 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2856 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2857 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2859 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2860 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2862 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2864 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2865 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2866 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2868 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2869 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2871 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2873 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2875 2013-01-15 David S. Miller <davem@davemloft.net>
2877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2878 trunc{,f} to libm-sysdep_routes.
2879 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2889 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2890 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2891 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2892 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2893 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2894 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2897 nearbyint{,f} to libm-sysdep_routes.
2898 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2909 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2911 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2912 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2914 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2915 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2916 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2918 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2919 libc_feholdexcept and libc_fesetenv.
2921 2013-01-15 Mike Frysinger <vapier@gentoo.org>
2923 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2925 2013-01-14 David S. Miller <davem@davemloft.net>
2927 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2928 (SPARC_ASM_VIS2_IFUNC): Likewise.
2929 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2931 use of 'siam' instruction.
2932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2938 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2940 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2952 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2965 routines to libm-sysdep_routines.
2966 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2969 fdim/fdimf to libm-sysdep_routines.
2970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2978 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2979 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2980 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2981 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2983 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2985 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2988 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2993 local variable MPTWO.
2994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2997 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2999 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3002 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3004 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3006 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3008 * manual/pattern.texi (glob_t): Document gl_flags.
3009 (glob64_t): Likewise.
3011 2013-01-11 David S. Miller <davem@davemloft.net>
3013 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3014 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3015 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
3016 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3017 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3018 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3019 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3020 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3021 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3022 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3023 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3024 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3025 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3027 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3028 sparc V9 rather than using V8 code.
3029 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3030 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3032 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3034 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3037 2013-01-11 Roland McGrath <roland@hack.frob.com>
3039 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3040 not in the main loop.
3041 * configure: Regenerated.
3043 2013-01-11 Joseph Myers <joseph@codesourcery.com>
3045 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3046 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3048 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3049 [!__GLIBC_HAVE_LONG_LONG] case.
3050 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3051 condition to just #else.
3052 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3053 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3054 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3055 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3057 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3058 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3059 #elif condition to just #else.
3060 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3061 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3062 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3063 #elif condition to just #else.
3065 2013-01-11 Steve Ellcey <sellcey@mips.com>
3067 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3068 (EF_MIPS_ARCH_64): Fix value.
3069 (EF_MIPS_ARCH_32R2): New.
3070 (EF_MIPS_ARCH_64R2): New.
3072 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3074 * Makeconfig (+link-pie-before-libc): New.
3075 (+link-pie-after-libc): Likewise.
3076 (+link-pie-tests): Likewise.
3077 (+link-pie): Rewritten.
3078 (link-before-libc): Remove $(config-LDFLAGS).
3079 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3080 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3081 (config-LDFLAGS): Renamed to ...
3082 (rtld-LDFLAGS): This.
3083 (rtld-tests-LDFLAGS): New macro.
3084 (link-libc-rpath-link): Likewise.
3085 (link-libc-tests-rpath-link): Likewise.
3086 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3087 (link-libc): Prepand $(link-libc-rpath-link).
3088 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3089 (test-program-prefix): New macro.
3090 (test-via-rtld-prefix): Likewise.
3091 (test-program-cmd): Likewise.
3092 (host-test-program-cmd): Likewise.
3093 * Makefile ($(common-objpfx)testrun.sh): Replace
3094 $(run-program-prefix) with $(test-program-prefix).
3095 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3097 ($(common-objpfx)shlib.lds): Likewise.
3098 (build-module-helper): Likewise.
3099 ($(common-objpfx)format.lds): Likewise.
3100 * Rules (binaries-pie-tests): New.
3101 (binaries-pie-notests): Likewise.
3102 (binaries-pie): Rewritten.
3103 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3104 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3105 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3106 (make-test-out): Replace $(host-built-program-cmd) with
3107 $(host-test-program-cmd).
3108 * config.make.in (build-hardcoded-path-in-tests): New variable.
3109 * configure.in (--enable-hardcoded-path-in-tests): New configure
3111 (hardcoded_path_in_tests): New AC_SUBST.
3112 * configure: Regenerated.
3113 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3114 $(built-program-cmd) with $(test-program-cmd).
3115 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3116 (test_program_cmd): This.
3117 * elf/Makefile ($(objpfx)order.out): Run test with
3118 $(test-program-prefix).
3119 ($(objpfx)order2.out): Likewise.
3120 ($(objpfx)tst-initorder.out): Likewise.
3121 ($(objpfx)tst-initorder2.out): Likewise.
3122 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3123 $(test-program-cmd).
3124 ($(objpfx)tst-array1-static.out): Likewise.
3125 ($(objpfx)tst-array2.out): Likewise.
3126 ($(objpfx)tst-array3.out): Likewise.
3127 ($(objpfx)tst-array4.out): Likewise.
3128 ($(objpfx)tst-array5.out): Likewise.
3129 ($(objpfx)tst-array5-static.out): Likewise.
3130 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3131 $(test-program-cmd).
3132 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3133 $(run-program-prefix) with $(test-program-prefix).
3134 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3135 (test_program_prefix): This.
3136 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3137 $(run-program-prefix) with $(test-program-prefix).
3138 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3139 (test_program_prefix): This.
3140 * iconvdata/tst-tables.sh: Likewise.
3141 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3142 $(run-program-prefix) with $(test-program-prefix).
3143 ($(objpfx)tst-translit.out): Likewise.
3144 ($(objpfx)tst-gettext2.out): Likewise.
3145 ($(objpfx)tst-gettext4.out): Likewise.
3146 ($(objpfx)tst-gettext6.out): Likewise.
3147 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3148 (test_program_prefix): This.
3149 * intl/tst-gettext2.sh: Likewise.
3150 * intl/tst-gettext4.sh Likewise.
3151 * intl/tst-gettext6.sh: Likewise.
3152 * intl/tst-translit.sh: Likewise.
3153 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3154 with $(test-program-cmd).
3155 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3156 $(run-program-prefix) with $(test-program-prefix).
3157 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3158 (test_program_prefix): This.
3159 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3160 $(run-program-prefix) with $(test-program-prefix).
3161 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3162 (test_program_prefix): This.
3163 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3164 * posix/Makefile ($(objpfx)globtest.out): Replace
3165 $(run-via-rtld-prefix) and $(test-wrapper) with
3166 $(test-program-prefix) and $(test-via-rtld-prefix).
3167 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3168 $(test-program-prefix).
3169 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3170 $(host-test-program-cmd).
3171 (tst-spawn-ARGS): Likewise.
3172 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3173 $(test-program-prefix).
3174 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3175 (test_via_rtld_prefix): This.
3176 (test_wrapper): Renamed to ...
3177 (test_program_prefix): This.
3178 (run_program_prefix): Replaced by test_program_prefix.
3179 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3180 (test_program_prefix): This.
3181 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3182 with $(host-test-program-cmd).
3183 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3184 $(run-program-prefix) with $(test-program-prefix).
3185 ($(objpfx)tst-printf.out): Likewise.
3186 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3187 $(test-program-cmd).
3188 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3189 (test_program_prefix): This.
3190 * stdio-common/tst-unbputc.sh: Likewise.
3191 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3192 $(run-program-prefix) with $(test-program-prefix).
3193 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3194 (test_program_prefix): This.
3195 * string/Makefile ($(objpfx)tst-svc.out): Replace
3196 $(built-program-cmd) with $(test-program-cmd).
3198 2013-01-11 Andreas Jaeger <aj@suse.de>
3201 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3202 value. Sync with Linux 3.7.
3204 2013-01-10 David S. Miller <davem@davemloft.net>
3206 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3207 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3208 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3210 2013-01-10 Roland McGrath <roland@hack.frob.com>
3212 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3214 * configure: Regenerated.
3216 2013-01-10 David S. Miller <davem@davemloft.net>
3218 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3219 sparc V9 rather than using V8 code.
3220 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3221 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3223 2013-01-10 Roland McGrath <roland@hack.frob.com>
3225 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3226 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3227 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3228 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3229 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3230 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3231 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3232 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3233 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3234 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3235 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3236 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3237 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3238 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3239 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3240 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3241 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3242 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3243 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3244 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3245 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3246 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3247 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3248 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3249 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3250 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3251 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3253 2013-01-10 David S. Miller <davem@davemloft.net>
3255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3257 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3259 * posix/Makefile (tests-static): New variable.
3260 (tests): Add $(tests-static).
3261 (tst-exec-static-ARGS): New variable.
3262 (tst-spawn-static-ARGS): Likewise.
3263 * posix/tst-exec-static.c: New file.
3264 * posix/tst-spawn-static.c: Likewise.
3265 * posix/tst-exec.c: Support run directly.
3266 * posix/tst-spawn.c: Likewise.
3268 2013-01-10 Joseph Myers <joseph@codesourcery.com>
3270 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3272 * math/bits/mathcalls.h (llrint): Likewise.
3273 (llround): Likewise.
3274 * stdlib/stdlib.h (struct drand48_data): Likewise.
3275 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3276 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3277 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3279 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3281 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3282 (elf_greg_t): Likewise.
3283 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3284 (__jmp_buf): Likewise.
3285 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3287 (llrint): Likewise, for all definitions.
3288 (llrintl): Likewise.
3290 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3291 Remove [__GNUC__] condition.
3292 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3293 condition to just [__USE_ISOC99].
3294 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3296 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3299 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3300 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3302 (_POSIX_V6_ILP32_OFF32): Likewise.
3303 (_XBS5_ILP32_OFF32): Likewise.
3304 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3305 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3307 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3309 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3311 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3312 doubles __mpexp_twomm1. Adjust usage.
3313 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3316 2013-01-10 Andreas Schwab <schwab@suse.de>
3319 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3320 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3322 2013-01-09 David S. Miller <davem@davemloft.net>
3325 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3326 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3327 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3328 TCP_FASTOPEN): Define.
3329 (tcp_repair_opt): New structure.
3330 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3332 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3333 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3334 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3335 (tcp_cookie_transactions): New structure.
3337 2013-01-09 Anton Blanchard <anton@samba.org>
3339 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3340 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3341 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3342 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3344 2013-01-09 Joseph Myers <joseph@codesourcery.com>
3346 * include/features.h (__USE_ANSI): Remove.
3348 2013-01-09 Roland McGrath <roland@hack.frob.com>
3350 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3352 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3354 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3356 * sysdeps/s390/fpu/libm-test-ulps: Update.
3358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3360 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3365 (__mp_dbl): Likewise.
3366 (__dbl_mp): Likewise.
3367 (add_magnitudes): Likewise.
3368 (sub_magnitudes): Likewise.
3374 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3379 (__mp_dbl): Likewise.
3380 (__dbl_mp): Likewise.
3381 (add_magnitudes): Likewise.
3382 (sub_magnitudes): Likewise.
3388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3393 (__mp_dbl): Likewise.
3394 (__dbl_mp): Likewise.
3395 (add_magnitudes): Likewise.
3396 (sub_magnitudes): Likewise.
3403 2013-01-08 Joseph Myers <joseph@codesourcery.com>
3405 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3406 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3407 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3408 2 && __USE_EXTERN_INLINES]: Likewise.
3410 2013-01-08 Andreas Jaeger <aj@suse.de>
3413 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3415 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3416 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3418 2013-01-07 Anton Blanchard <anton@samba.org>
3420 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3421 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3422 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3423 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3424 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3425 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3426 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3427 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3429 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3430 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3431 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3432 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3433 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3434 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3435 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3436 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3437 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3438 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3439 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3440 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3441 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3442 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3443 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3444 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3445 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3446 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3447 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3448 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3449 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3450 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3452 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3453 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3454 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3455 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3456 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3457 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3458 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3459 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3460 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3461 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3462 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3464 2013-01-07 Joseph Myers <joseph@codesourcery.com>
3466 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3467 (__MALLOC_PMT): Likewise.
3468 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3469 [__GNUC__], only on [_LIBC].
3470 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3471 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3472 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3473 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3474 forward declaration.
3475 (realloc_hook_ini): Likewise.
3476 (memalign_hook_ini): Likewise.
3477 (__libc_memalign): Do not use __MALLOC_PMT in variable
3479 (__libc_valloc): Likewise.
3480 (__libc_pvalloc): Likewise.
3481 (__libc_calloc): Likewise.
3482 (__posix_memalign): Likewise.
3485 * math/s_casinh.c: Include <float.h>.
3486 (__casinh): Do not do computation with squaring and square root
3487 for large arguments.
3488 * math/s_casinhf.c: Include <float.h>.
3489 (__casinhf): Do not do computation with squaring and square root
3490 for large arguments.
3491 * math/s_casinhl.c: Include <float.h>.
3492 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3493 (__casinhl): Do not do computation with squaring and square root
3494 for large arguments.
3495 * math/libm-test.inc (casin_test): Add more tests.
3496 (casinh_test): Likewise.
3497 * sysdeps/i386/fpu/libm-test-ulps: Update.
3498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3500 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3502 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3503 (__x86_64_raw_data_cache_size): Likewise.
3504 (__x86_64_data_cache_size_half): Likewise.
3505 (__x86_64_raw_data_cache_size_half): Likewise.
3506 (__x86_64_shared_cache_size): Likewise.
3507 (__x86_64_raw_shared_cache_size): Likewise.
3508 (__x86_64_shared_cache_size_half): Likewise.
3509 (__x86_64_raw_shared_cache_size_half): Likewise.
3510 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3512 (__x86_data_cache_size): This.
3513 (__x86_64_raw_data_cache_size): Renamed to ...
3514 (__x86_raw_data_cache_size): This.
3515 (__x86_64_data_cache_size_half): Renamed to ...
3516 (__x86_data_cache_size_half): This.
3517 (__x86_64_raw_data_cache_size_half): Renamed to ...
3518 (__x86_raw_data_cache_size_half): This.
3519 (__x86_64_shared_cache_size): Renamed to ...
3520 (__x86_shared_cache_size): This.
3521 (__x86_64_raw_shared_cache_size): Renamed to ...
3522 (__x86_raw_shared_cache_size): This.
3523 (__x86_64_shared_cache_size_half): Renamed to ...
3524 (__x86_shared_cache_size_half): This.
3525 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3526 (__x86_raw_shared_cache_size_half): This.
3527 * sysdeps/x86_64/memcpy.S: Updated.
3528 * sysdeps/x86_64/memset.S: Likewise.
3529 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3530 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3531 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3533 2013-01-04 David S. Miller <davem@davemloft.net>
3535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3537 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3539 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3540 1 to avoid redefinition warning.
3541 (__USE_GNU): Don't define.
3542 (init_signaling_nan): Protoize.
3544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3546 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3548 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3550 (__cpymn): Likewise.
3551 (norm): Remove commented code.
3553 (__mp_dbl): Likewise.
3555 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3556 (__cpymn): Likewise.
3557 (norm): Remove commented code.
3559 (__mp_dbl): Likewise.
3562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3563 mp_no value for 1.0 and 2.0.
3564 (norm): Use RADIXI instead of radixi.d.
3566 (__mul): Use 0.0 instead of zero.d.
3567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3568 mp_no value for 1.0 and 2.0.
3569 (norm): Use RADIXI instead of radixi.d.
3571 (__mul): Use 0.0 instead of zero.d.
3573 2013-01-04 Joseph Myers <joseph@codesourcery.com>
3576 * math/s_casinh.c (__casinh): Reduce finite argument to first
3577 quadrant then set signs of results at the end.
3578 * math/s_casinhf.c (__casinhf): Likewise.
3579 * math/s_casinhl.c (__casinhl): Likewise.
3580 * math/libm-test.inc (casin_test): Add more tests.
3581 (casinh_test): Likewise.
3582 * sysdeps/i386/fpu/libm-test-ulps: Update.
3583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3585 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3587 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3589 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3591 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3594 (__mp_dbl): Likewise.
3597 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3598 and adjust the header comment.
3600 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3601 variable name from declaration.
3603 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3606 Initialize COMMON_CPUID_INDEX_7 element.
3607 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3608 (CPUID_RTM): Likewise.
3609 (HAS_RTM): Likewise.
3610 (COMMON_CPUID_INDEX_7): New enum.
3612 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3615 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3616 size is zero, record memory as freed.
3618 2013-01-03 Andreas Jaeger <aj@suse.de>
3620 * po/ia.po: Add new Interlingua translation.
3622 2012-01-03 Allan McRae <allan@archlinux.org>
3624 * locale/programs/localedef.c: Fix description of '--posix' flag.
3626 2013-01-02 Joseph Myers <joseph@codesourcery.com>
3628 * NEWS: Update dates in second copyright notice.
3629 * README: Update copyright dates in example.
3630 * manual/libc.texinfo: Update copyright dates.
3631 * scripts/test-installation.pl: Update copyright date in --version
3634 * hurd/ctty-input.c: Fix copyright notice formatting.
3635 * hurd/ctty-output.c: Likewise.
3636 * hurd/dtable.c: Likewise.
3637 * hurd/hurd-raise.c: Likewise.
3638 * hurd/hurdprio.c: Likewise.
3639 * hurd/msgportdemux.c: Likewise.
3640 * misc/sys/file.h: Likewise.
3641 * misc/sys/ioctl.h: Likewise.
3642 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3643 * sysdeps/mach/hurd/chdir.c: Likewise.
3644 * sysdeps/mach/hurd/fchdir.c: Likewise.
3645 * sysdeps/mach/hurd/rename.c: Likewise.
3646 * sysdeps/mach/hurd/rmdir.c: Likewise.
3647 * sysdeps/mach/hurd/seekdir.c: Likewise.
3648 * sysdeps/mach/hurd/setsid.c: Likewise.
3649 * sysdeps/posix/wait3.c: Likewise.
3651 * All files with FSF copyright notices: Update copyright dates
3652 using scripts/update-copyrights.
3653 * intl/plural.c: Regenerated.
3654 * locale/programs/charmap-kw.h: Likewise.
3655 * locale/programs/locfile-kw.h: Likewise.
3657 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3659 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3662 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3663 calculation loop and add branch prediction.
3665 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3666 check access beyond bounds of m1np.
3668 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3670 (__inv): Remove local variable MPTWO to use the global
3672 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3673 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3675 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3676 MP3HALFS static const.
3678 2013-01-01 David S. Miller <davem@davemloft.net>
3680 * po/ca.po: Update from translation team.
3682 2013-01-01 Joseph Myers <joseph@codesourcery.com>
3684 * scripts/update-copyrights: New file.
3685 * Makeconfig: Reformat copyright notice.
3686 * ctype/ctype.h: Likewise.
3687 * debug/swprintf_chk.c: Likewise.
3688 * elf/dl-cache.c: Likewise.
3689 * elf/dl-debug.c: Likewise.
3690 * elf/dl-object.c: Likewise.
3691 * grp/initgroups.c: Likewise.
3692 * hurd/Makefile: Likewise.
3693 * hurd/hurd/signal.h: Likewise.
3694 * hurd/hurdfault.c: Likewise.
3695 * hurd/hurdioctl.c: Likewise.
3696 * hurd/hurdlookup.c: Likewise.
3697 * hurd/intr-msg.c: Likewise.
3698 * iconv/gconv_open.c: Likewise.
3699 * libio/swprintf.c: Likewise.
3700 * locale/lc-ctype.c: Likewise.
3701 * locale/nl_langinfo.c: Likewise.
3702 * mach/Machrules: Likewise.
3703 * mach/Makefile: Likewise.
3704 * malloc/obstack.h: Likewise.
3705 * manual/Makefile: Likewise.
3706 * manual/tsort.awk: Likewise.
3707 * misc/bits/stab.def: Likewise.
3708 * nis/nis_print_group_entry.c: Likewise.
3709 * nis/nis_table.c: Likewise.
3710 * nis/nss_compat/compat-pwd.c: Likewise.
3711 * nis/nss_compat/compat-spwd.c: Likewise.
3712 * po/Makefile: Likewise.
3713 * posix/fnmatch.c: Likewise.
3714 * posix/regex.h: Likewise.
3715 * resolv/Makefile: Likewise.
3716 * resolv/nss_dns/dns-network.c: Likewise.
3717 * resolv/res_hconf.c: Likewise.
3718 * scripts/gen-sorted.awk: Likewise.
3719 * soft-fp/soft-fp.h: Likewise.
3720 * stdio-common/printf.h: Likewise.
3721 * stdlib/monetary.h: Likewise.
3722 * stdlib/random.c: Likewise.
3723 * stdlib/random_r.c: Likewise.
3724 * sysdeps/generic/Makefile: Likewise.
3725 * sysdeps/gnu/Makefile: Likewise.
3726 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3727 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3728 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3729 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3730 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3731 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3732 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3733 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3734 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3735 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3736 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3737 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3738 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3739 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3740 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3741 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3742 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3743 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3744 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3745 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3746 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3747 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3748 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3749 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3750 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3751 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3752 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3753 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3754 * sysdeps/mach/hurd/errnos.awk: Likewise.
3755 * sysdeps/mach/hurd/fork.c: Likewise.
3756 * sysdeps/mach/hurd/getcwd.c: Likewise.
3757 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3758 * sysdeps/mach/hurd/mmap.c: Likewise.
3759 * sysdeps/mach/hurd/utimes.c: Likewise.
3760 * sysdeps/mach/hurd/xmknod.c: Likewise.
3761 * sysdeps/posix/profil.c: Likewise.
3762 * sysdeps/posix/readdir_r.c: Likewise.
3763 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3764 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3765 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3766 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3768 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3769 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3770 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3771 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3772 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3773 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3774 * sysdeps/pthread/lio_listio.c: Likewise.
3775 * sysdeps/sparc/dl-procinfo.h: Likewise.
3776 * sysdeps/unix/i386/sysdep.S: Likewise.
3777 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3778 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3779 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3780 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3782 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3783 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3784 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3785 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3786 * sysdeps/wordsize-32/divdi3.c: Likewise.
3787 * time/sys/time.h: Likewise.
3788 * wcsmbs/Makefile: Likewise.
3790 2013-01-01 David S. Miller <davem@davemloft.net>
3792 * po/fr.po: Update from translation team.
3794 * catgets/gencat.c: Update copyright year.
3795 * csu/version.c: Likewise.
3796 * debug/catchsegv.sh: Likewise.
3797 * debug/pcprofiledump.c: Likewise.
3798 * debug/xtrace.sh: Likewise.
3799 * elf/ldconfig.c: Likewise.
3800 * elf/ldd.bash.in: Likewise.
3801 * elf/pldd.c: Likewise.
3802 * elf/sotruss.ksh: Likewise.
3803 * elf/sprof.c: Likewise.
3804 * iconv/iconv_prog.c: Likewise.
3805 * iconv/iconvconfig.c: Likewise.
3806 * locale/programs/locale.c: Likewise.
3807 * locale/programs/localedef.c: Likewise.
3808 * login/programs/pt_chown.c: Likewise.
3809 * malloc/memusage.sh: Likewise.
3810 * malloc/memusagestat.c: Likewise.
3811 * malloc/mtrace.pl: Likewise.
3812 * nscd/nscd.c: Likewise.
3813 * nss/getent.c: Likewise.
3814 * nss/makedb.c: Likewise.
3815 * posix/getconf.c: Likewise.
3817 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3819 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3822 2012-12-30 Mike Frysinger <vapier@gentoo.org>
3824 * math/bits/mathcalls.h (modf): Use __nonnull.
3826 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3828 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3829 (split): Use macro CN instead of the bare value.
3830 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3832 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3833 instead of the bare value.
3836 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3838 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3840 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3842 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3844 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3845 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3846 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3847 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3849 2012-12-28 Andreas Jaeger <aj@suse.de>
3851 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3852 values are from Linux 3.7.
3854 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3855 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3857 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3859 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3862 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3864 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3865 variables with preprocessor constants.
3866 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3867 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3868 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3870 2012-12-27 Bruno Haible <bruno@clisp.org>
3873 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3876 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3878 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3879 and use variable directly.
3880 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3882 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3884 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3885 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3887 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3888 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3889 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3890 include directive. Remove local variable MPONE.
3891 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3892 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3893 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3895 2012-12-25 David S. Miller <davem@davemloft.net>
3897 * version.h (RELEASE): Set to "development".
3898 (VERSION): Set to "2.17.90".
3899 * NEWS: Add 2.18 section.
3901 2012-12-21 David S. Miller <davem@davemloft.net>
3903 * po/hr.po: Update from translation team.
3905 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3907 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3909 2012-12-19 Steve Ellcey <sellcey@mips.com>
3911 * NEWS: Mention new memcpy for MIPS.
3913 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3915 * manual/contrib.texi (Contributors): Spelling correction.
3917 2012-12-15 David S. Miller <davem@davemloft.net>
3919 * po/ru.po: Update from translation team.
3921 2012-12-13 David S. Miller <davem@davemloft.net>
3923 * NEWS: Mention IFUNC testsuite enhancements.
3925 * po/pl.po: Update from translation team.
3926 * po/bg.po: Likewise.
3928 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3929 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3931 2012-12-11 David S. Miller <davem@davemloft.net>
3933 * po/sv.po: Update from translation team.
3935 * po/vi.po: Update from translation team.
3937 * po/cs.po: Update from translation team.
3939 * po/de.po: Update from translation team.
3940 * po/eo.po: Likewise.
3941 * po/nl.po: Likewise.
3943 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3946 * manual/argp.texi (Argp Helper Functions): Move node to follow
3950 * manual/conf.texi (Limits on File System Capacity): Mention if
3951 terminating null is included in the max size.
3953 2012-12-10 Andreas Jaeger <aj@suse.de>
3955 * po/cs.po: Update from translation team.
3957 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3959 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3960 void pointer and cast to uintptr_t.
3961 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3963 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3964 * sysdeps/s390/s390-64/memset.S: Likewise.
3966 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
3969 * menual/message.texi (Message Translation): Fix typos.
3970 (Helper programs for gettext): Likewise.
3972 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3975 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3978 2012-12-07 David S. Miller <davem@davemloft.net>
3980 * po/libc.pot: Update.
3982 2012-12-07 Richard Henderson <rth@redhat.com>
3985 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3986 normal/normal case to before the switch.
3987 (_FP_DIV): Likewise.
3989 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3990 Mike Frysinger <vapier@gentoo.org>
3992 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3993 check for __NR_fadvise64_64.
3995 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3997 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3998 0, not just to plain "0" as a statement.
3999 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4002 2012-12-06 Joseph Myers <joseph@codesourcery.com>
4004 * NEWS: Use sourceware.org in Bugzilla URL.
4006 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4009 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4011 * stdio-common/tst-put-error.c (do_test): Add newline to the
4012 padded test to ensure flush.
4014 2012-12-05 Jeff Law <law@redhat.com>
4016 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4018 2012-12-05 Joseph Myers <joseph@codesourcery.com>
4020 * README: Don't refer to ports add-on as distributed separately.
4021 Mention AArch64 in list of systems supported in the ports add-on.
4023 * LICENSES: Add more non-FSF copyright and license notices.
4025 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4028 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4030 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4031 10000 as width of padded output.
4033 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4035 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4037 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4038 variable LX with __attribute__ ((unused)).
4039 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4041 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4042 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4043 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4044 with __attribute__ ((unused)).
4046 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
4048 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4050 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4052 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4053 (CFLAGS-nldbl-acos.c): New variable.
4054 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4055 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4056 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4057 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4058 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4059 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4060 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4061 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4062 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4063 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4064 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4065 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4066 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4067 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4068 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4069 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4070 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4071 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4072 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4073 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4074 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4075 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4076 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4077 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4078 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4079 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4080 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4081 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4082 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4083 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4084 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4085 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4086 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4087 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4088 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4089 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4090 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4091 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4092 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4093 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4094 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4095 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4096 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4097 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4098 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4099 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4100 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4101 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4102 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4103 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4104 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4105 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4106 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4107 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4108 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4109 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4110 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4111 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4112 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4113 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4114 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4115 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4116 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4117 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4118 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4119 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4120 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4121 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4122 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4123 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4124 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4125 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4126 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4127 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4128 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4129 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4130 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4131 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4132 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4133 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4134 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4135 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4136 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4137 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4138 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4139 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4140 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4141 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4142 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4143 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4144 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4145 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4146 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4147 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4148 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4149 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4150 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4153 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4156 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4157 whole low double instead of just low 47 bits when splitting values
4160 2012-12-03 Allan McRae <allan@archlinux.org>
4162 * manual/stdio.texi (Predefined Printf Handlers): Remove
4163 @hsep and @vsep usage.
4165 2012-12-03 Mike Frysinger <vapier@gentoo.org>
4167 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4168 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4170 2012-12-03 Jeff Law <law@redhat.com>
4172 * time/sys/time.h (settimeofday): Do not mark TV argument
4175 2012-12-01 Mike Frysinger <vapier@gentoo.org>
4177 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4178 when currently writing and seek to current position when not.
4179 * libio/Makefile (tests): Remove bug-fclose1.
4180 * libio/bug-fclose1.c: Delete.
4182 2012-12-01 Joseph Myers <joseph@codesourcery.com>
4184 * manual/arith.texi (feenableexcept): Fix typo.
4185 (fedisableexcept): Likewise.
4187 2012-11-30 Roland McGrath <roland@hack.frob.com>
4189 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4190 second, differently-typed declaration, rather than a cast.
4192 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4194 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4195 * include/rpc/svc.h: ... here.
4197 2012-11-30 Aurelien Jarno <aurel32@debian.org>
4200 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4201 depending n and resplen2 to catch cases where answer
4204 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4206 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4207 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4209 2012-11-29 Mike Frysinger <vapier@gentoo.org>
4211 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4213 2012-11-29 Roland McGrath <roland@hack.frob.com>
4215 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4217 2012-11-28 Jeff Law <law@redhat.com>
4220 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4221 dataset_temporary. Track alloca usage into alloca_used.
4222 If dataset is large allocate and release it via malloc/free.
4224 2012-06-04 Florian Weimer <fweimer@redhat.com>
4227 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4229 2012-11-28 David S. Miller <davem@davemloft.net>
4231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4233 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4236 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4237 of pi/2 rounded to nearest to 64 bits.
4238 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4240 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4243 2012-11-28 Jeff Law <law@redhat.com>
4244 Martin Osvald <mosvald@redhat.com>
4247 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4248 * sunrpc/svc.c: Include time.h.
4249 (__svc_accept_failed): New function.
4250 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4251 any reason other than EINTR, call __svc_accept_failed.
4252 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4253 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4255 2012-11-28 Andreas Schwab <schwab@suse.de>
4257 * scripts/abilist.awk: Also handle indirect functions in .opd
4260 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4263 * sysdeps/x86/fpu/powl_helper.c: New file.
4264 * sysdeps/x86/fpu/Makefile: Likewise.
4265 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4267 (__ieee754_powl): Use __powl_helper for finite arguments except
4268 integer exponents below 8.
4269 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4271 (__ieee754_powl): Use __powl_helper for finite arguments except
4272 integer exponents below 8.
4273 * math/libm-test.inc (pow_test): Add more tests and enable some
4274 previously disabled tests.
4275 * sysdeps/i386/fpu/libm-test-ulps: Update.
4276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4278 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4279 Carlos O'Donell <carlos_odonell@mentor.com>
4281 * nss/makedb.c (is_prime): Assert that input is odd and greater
4282 than 4. Note that fact in a comment too.
4283 (next_prime): Add 4 to input.
4285 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4288 * libio/Makefile (tests): Add test case tst-fwrite-error.
4289 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4290 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4291 * libio/tst-fwrite-error.c: New test case.
4293 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4295 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4296 before casting to void *.
4297 * include/libc-internal.h (__pointer_type): New macro.
4298 (__integer_if_pointer_type_sub): Likewise.
4299 (__integer_if_pointer_type): Likewise.
4300 (cast_to_integer): Likewise.
4301 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4302 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4303 before casting to atomic64_t.
4304 (atomic_exchange_acq): Likewise.
4305 (__arch_exchange_and_add_body): Likewise.
4306 (__arch_add_body): Likewise.
4307 (atomic_add_negative): Likewise.
4308 (atomic_add_zero): Likewise.
4310 2012-11-26 Joseph Myers <joseph@codesourcery.com>
4312 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4313 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4314 (add_fdes): Likewise.
4315 (linear_search_fdes): Likewise.
4316 (binary_search_unencoded_fdes): Likewise.
4318 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4320 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4322 2012-11-24 Adam Conrad <adconrad@0c3.net>
4324 * configure.in: Autodetect C++ header directories.
4325 * configure: Regenerated.
4327 2012-11-23 Mike Frysinger <vapier@gentoo.org>
4329 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4331 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4335 2012-11-22 Joseph Myers <joseph@codesourcery.com>
4337 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4338 LDBL_MANT_DIG == 106]: Disable some tests.
4339 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4341 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4345 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4346 input for small inputs. Return +/- pi/2 for large inputs.
4347 * math/libm-test.inc (atan_test): Add more tests.
4349 * sysdeps/generic/unwind-dw2-fde-glibc.c
4350 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4351 __attribute__ ((unused)).
4354 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4355 x * y if x and y are nonzero and z is zero.
4358 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4359 nonzero exponents with absolute value below 0x1p-117 to +/-
4363 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4364 up arguments below 2**-450, not just those below 2**-500.
4365 * math/libm-test.inc (hypot_test): Add another test.
4368 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4369 Return a+b for ratio over 2**120, not 2**60.
4370 * math/libm-test.inc (hypot_test): Add another test.
4372 * math/libm-test.inc (clog_test): Use
4373 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4374 (clog10_test): Likewise.
4377 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4379 2012-11-22 Andreas Schwab <schwab@suse.de>
4381 * sysdeps/i386/fpu/libm-test-ulps: Update.
4383 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4385 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4386 printf output with newline.
4388 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4391 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4392 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4393 -z nodlopen, -z initfirst and -z execstack support.
4394 * configure: Regenerated.
4396 * elf/elf.h (DF_1_NODIRECT): New macro.
4397 (DF_1_IGNMULDEF): Likewise.
4398 (DF_1_NOKSYMS): Likewise.
4399 (DF_1_NOHDR): Likewise.
4400 (DF_1_EDITED): Likewise.
4401 (DF_1_NORELOC): Likewise.
4402 (DF_1_SYMINTPOSE): Likewise.
4403 (DF_1_GLOBAUDIT): Likewise.
4404 (DF_1_SINGLETON): Likewise.
4405 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4406 DT_1_SUPPORTED_MASK bits.
4407 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4409 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4411 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4413 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4415 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4418 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4419 (sendmmsg): Move declarations...
4420 * socket/sys/socket.h: ... here.
4421 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4422 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4424 * socket/recvmmsg.c: ... this new file.
4425 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4426 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4427 definition of __sendmmsg hidden.
4428 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4429 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4430 Move ENOSYS stub into and include it from...
4431 * socket/sendmmsg.c: ... this new file.
4432 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4433 (sysdep_routines): Move recvmmsg and sendmmsg...
4434 * socket/Makefile (routines): ... here.
4435 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4436 (GLIBC_PRIVATE): Add __sendmmsg.
4437 * include/sys/socket.h (__sendmmsg): Add declarations.
4438 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4441 2012-11-20 Joseph Myers <joseph@codesourcery.com>
4443 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4444 variable I1 with __attribute__ ((unused)).
4445 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4447 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4449 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4450 DUMMY variables with __attribute__ ((unused)).
4452 * bits/byteswap.h: Include <bits/types.h>.
4453 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4455 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4457 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4458 string_t. Do not manually set errno.
4459 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4460 length with __strnlen. Make sure to both set errno and return it on
4463 2012-11-19 David S. Miller <davem@davemloft.net>
4465 With help from Joseph Myers.
4466 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4467 very large arguments properly.
4468 * math/libm-test.inc (atan_test): New tests.
4469 (atan2_test): New tests.
4470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4473 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4476 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4479 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4480 [POSIX] (EADDRNOTAVAIL): Likewise.
4481 [POSIX] (EAFNOSUPPORT): Likewise.
4482 [POSIX] (EALREADY): Likewise.
4483 [POSIX] (ECONNABORTED): Likewise.
4484 [POSIX] (ECONNREFUSED): Likewise.
4485 [POSIX] (ECONNRESET): Likewise.
4486 [POSIX] (EDESTADDRREQ): Likewise.
4487 [POSIX] (EDQUOT): Likewise.
4488 [POSIX] (EHOSTUNREACH): Likewise.
4489 [POSIX] (EIDRM): Likewise.
4490 [POSIX] (EISCONN): Likewise.
4491 [POSIX] (ELOOP): Likewise.
4492 [POSIX] (EMULTIHOP): Likewise.
4493 [POSIX] (ENETDOWN): Likewise.
4494 [POSIX] (ENETUNREACH): Likewise.
4495 [POSIX] (ENOBUFS): Likewise.
4496 [POSIX] (ENODATA): Likewise.
4497 [POSIX] (ENOLINK): Likewise.
4498 [POSIX] (ENOMSG): Likewise.
4499 [POSIX] (ENOPROTOOPT): Likewise.
4500 [POSIX] (ENOSR): Likewise.
4501 [POSIX] (ENOSTR): Likewise.
4502 [POSIX] (ENOTCONN): Likewise.
4503 [POSIX] (ENOTSOCK): Likewise.
4504 [POSIX] (EOPNOTSUPP): Likewise.
4505 [POSIX] (EOVERFLOW): Likewise.
4506 [POSIX] (EPROTO): Likewise.
4507 [POSIX] (EPROTONOSUPPORT): Likewise.
4508 [POSIX] (EPROTOTYPE): Likewise.
4509 [POSIX] (ESTALE): Likewise.
4510 [POSIX] (ETIME): Likewise.
4511 [POSIX] (ETXTBSY): Likewise.
4512 [POSIX] (EWOULDBLOCK): Likewise.
4513 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4514 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4515 [POSIX] (SEEK_CUR): Likewise.
4516 [POSIX] (SEEK_END): Likewise.
4517 [POSIX || UNIX98] (mode_t): Do not require.
4518 [POSIX] (off_t): Likewise.
4519 [POSIX] (pid_t): Likewise.
4520 [POSIX] (sys/stat.h): Do not allow header.
4521 [POSIX] (unistd.h): Likewise.
4522 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4523 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4524 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4525 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4527 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4528 sigevent): Specify elements.
4529 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4531 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4532 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4534 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4535 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4536 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4537 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4538 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4539 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4540 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4541 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4542 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4543 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4544 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4545 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4546 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4547 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4549 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4551 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4553 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4555 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4556 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4557 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4558 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4559 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4560 Specify lower bound on value.
4561 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4562 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4563 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4564 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4565 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4566 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4567 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4568 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4570 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4572 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4573 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4574 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4575 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4576 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4577 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4578 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4579 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4580 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4581 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4582 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4583 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4584 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4585 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4586 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4587 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4589 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4591 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4592 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4593 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4594 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4595 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4596 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4598 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4599 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4600 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4601 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4602 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4603 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4604 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4606 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4607 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4608 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4609 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4610 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4611 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4612 specify as optional.
4613 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4614 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4615 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4616 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4617 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4618 [XPG3] (NL_LANGMAX): Likewise.
4619 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4620 [POSIX || XPG3] (NL_NMAX): Likewise.
4621 [POSIX || XPG3] (NL_SETMAX): Likewise.
4622 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4623 [XPG3] (NZERO): Likewise.
4624 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4625 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4626 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4627 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4628 (REG_ERANGE): Expect.
4629 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4631 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4632 Use (void) in prototype.
4633 [POSIX] (*_t): Allow.
4634 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4635 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4636 (WRDE_BADVAL): Expect.
4638 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4640 [XPG3 || XPG4] (O_RSYNC): Likewise.
4641 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4643 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4644 [XPG3 || XPG4] (sigqueue): Likewise.
4645 [XPG3 || XPG4] (sigtimedwait): Likewise.
4646 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4647 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4648 [XPG3 || XPG4] (vsnprintf): Likewise.
4649 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4651 [XPG3 || XPG4] (blksize_t): Likewise.
4652 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4654 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4655 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4656 [XPG3 || XPG4] (struct itimerspec): Likewise.
4657 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4658 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4659 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4660 [XPG3 || XPG4] (clockid_t): Likewise.
4661 [XPG3 || XPG4] (timer_t): Likewise.
4662 [XPG3 || XPG4] (clock_getres): Likewise.
4663 [XPG3 || XPG4] (clock_gettime): Likewise.
4664 [XPG3 || XPG4] (clock_settime): Likewise.
4665 [XPG3 || XPG4] (nanosleep): Likewise.
4666 [XPG3 || XPG4] (timer_create): Likewise.
4667 [XPG3 || XPG4] (timer_delete): Likewise.
4668 [XPG3 || XPG4] (timer_gettime): Likewise.
4669 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4670 [XPG3 || XPG4] (timer_settime): Likewise.
4671 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4672 [XPG3 || XPG4] (getlogin_r): Likewise.
4673 [XPG3 || XPG4] (pread): Likewise.
4674 [XPG3 || XPG4] (pthread_atfork): Likewise.
4675 [XPG3 || XPG4] (pwrite): Likewise.
4678 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4681 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4683 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4684 finalizing MALLSTREAM.
4686 * sysdeps/mach/hurd/syncfs.c: New file.
4688 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4691 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4692 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4693 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4694 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4695 (_nss_dns_gethostbyname4_r): Likewise.
4696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4697 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4699 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4702 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4704 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4706 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4707 * elf/cache.c (print_entry): Print ",AArch64" for
4710 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4711 * elf/cache.c (print_entry): Print ",hard-float" for
4714 2012-11-18 David S. Miller <davem@davemloft.net>
4716 With help from Joseph Myers.
4717 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4719 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4721 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4722 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4724 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4725 * math/libm-test.inc (y0_test): New tests.
4726 (y1_test): New tests.
4727 * sysdeps/i386/fpu/libm-test-ulps: Update.
4728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4731 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4733 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4735 * configure: Regenerated.
4737 2012-11-17 David S. Miller <davem@davemloft.net>
4740 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4741 nonzero exponents with absolute value below 0x1p-128 to +/-
4744 2012-11-17 Joseph Myers <joseph@codesourcery.com>
4746 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4748 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4750 * posix/getconf-speclist.c: New file.
4751 * posix/posix-envs.def: Likewise.
4752 * posix/confstr.c (START_ENV_GROUP): New macro.
4753 (END_ENV_GROUP): Likewise.
4754 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4755 (KNOWN_PRESENT_ENV_STRING): Likewise.
4756 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4757 (UNKNOWN_ENVIRONMENT): Likewise.
4758 (confstr): Include posix-envs.def instead of handling
4759 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4760 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4761 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4762 (END_ENV_GROUP): Likewise.
4763 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4764 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4765 (UNKNOWN_ENVIRONMENT): Likewise.
4766 (__sysconf): Include posix-envs.def instead of handling associated
4767 cases directly here.
4768 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4769 preprocessing getconf-speclist.c rather than running getconf or
4770 generating empty file.
4772 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4774 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4776 2012-11-16 Andrej Lajovic <natrij@gmail.com>
4779 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4781 2012-11-16 David S. Miller <davem@davemloft.net>
4783 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4784 smaller than LDBL_EPSILON/2.0L, just return xm1.
4786 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4788 * elf/tst-array1.c (init): Set constructor priority to 1000.
4789 (fini): Set destructor priority to 1000.
4790 * elf/tst-array2dep.c: Likewise.
4792 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4795 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4796 (_IO_new_file_xsputn): Also return EOF if none of the input
4797 data was written when overflow failed.
4798 * libio/iopadn.c (_IO_padn): Likewise.
4799 * libio/iowpadn.c (_IO_wpadn): Likewise.
4800 * stdio-common/tst-put-error.c: Add copyright notice.
4801 (do_test): Add case for printing padded string.
4802 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4803 _IO_padn returned error.
4804 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4805 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4808 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4810 * libio/libioP.h: Add comment note that the references to C++
4811 bits are now obsolete.
4813 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4815 * math/libm-test.inc (check_complex): Use asprintf.
4817 2012-11-14 Joseph Myers <joseph@codesourcery.com>
4819 * debug/pcprofiledump.c (print_version): Update copyright year.
4820 * malloc/memusagestat.c (print_version): Likewise.
4822 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4825 * elf/Makefile (tests): Add tst-audit8.
4826 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4827 ($(objpfx)tst-audit8.out): New target.
4828 (tst-audit8-ENV): New variable.
4829 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4830 audit if l_reloc_result is NULL.
4831 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4832 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4833 * elf/tst-audit8.c: New file.
4835 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4837 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4838 * misc/Makefile (CFLAGS-select.c): Define.
4839 * posix/Makefile (CFLAGS-pause.c): Define.
4841 2012-11-13 David S. Miller <davem@davemloft.net>
4843 * crypt/Makefile: Move test targets after toplevel Rules
4844 inclusion. Grab any necessary sysdep routines when linking.
4845 * crypt/md5.c (md5_process_block): Remove define, we will always
4846 name it __md5_process_block.
4847 (md5_finish_ctx): Update md5_process_block call.
4848 (md5_stream): Likewise.
4849 (md5_process_bytes): Likewise.
4850 (md5_process_block): Rename to __md5_process_block and move to ...
4851 * crypt/md5-block.c: ... here.
4852 * crypt/sha256.c (sha256_process_block): Move to ...
4853 * crypt/sha256-block.c: ... here.
4854 * crypt/sha512.c (sha512_process_block): Move to ...
4855 * crypt/sha512-block.c: ... here.
4856 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4858 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4859 * sysdeps/sparc/sparc64/multiarch/Makefile
4860 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4862 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4863 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4865 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4866 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4867 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4868 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4869 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4870 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4871 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4872 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4873 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4875 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4876 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4878 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4880 2012-11-13 Joseph Myers <joseph@codesourcery.com>
4882 * timezone/tzselect.ksh: Update from tzcode git revision
4883 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4884 * timezone/zdump.c: Likewise.
4885 * timezone/zic.c: Likewise.
4886 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4887 in TZVERSION setting, not $(PKGVERSION).
4888 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4889 REPORT_BUGS_TO settings.
4892 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4895 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4897 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4898 detection to immediately after _FP_ROUND().
4899 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4902 2012-11-11 David S. Miller <davem@davemloft.net>
4904 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4906 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4907 __close rather than their public counterparts.
4909 2012-11-10 Joseph Myers <joseph@codesourcery.com>
4911 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4913 [UNIX98] (sem_timedwait): Do not expect.
4914 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4915 [XPG4 || UNIX98] (sockatmark): Do not expect.
4916 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4917 (clock_getcpuclockid): Do not expect.
4918 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4919 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4921 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4922 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4923 [UNIX98] (vwscanf): Likewise.
4924 [UNIX98] (vswscanf): Likewise.
4926 2012-11-09 Joseph Myers <joseph@codesourcery.com>
4928 * timezone/version.h: Remove file.
4929 * timezone/README: Do not refer to version.h.
4930 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4932 ($(objpfx)zdump.o): Likewise.
4933 ($(objpfx)version.h): New target.
4935 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4937 * timezone/README: Don't mention modification to tzselect.ksh.
4938 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4939 work on unmodified tzselect.ksh. Substitute version numbers in
4942 * Makefile (format-me): Remove.
4943 (INSTALL): Adjust indentation. Use commands directly instead of
4946 * aclocal.m4 (ACX_PKGVERSION): New macro.
4947 (ACX_BUGURL): Likewise.
4948 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4949 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4950 (REPORT_BUGS_TO): Likewise.
4951 * configure: Regenerated.
4952 * config.h.in (PKGVERSION): New macro.
4953 (REPORT_BUGS_TO): Likewise.
4954 * config.make.in (PKGVERSION): New variable.
4955 (PKGVERSION_TEXI): Likewise.
4956 (REPORT_BUGS_TO): Likewise.
4957 (REPORT_BUGS_TEXI): Likewise.
4958 * Makefile (format-me): Use -I$(common-objpfx)manual.
4959 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4960 ($(common-objpfx)manual/%): New target.
4961 (manual/%): Remove target.
4962 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4963 (print_version): Use PKGVERSION.
4964 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4965 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4967 ($(objpfx)xtrace): Likewise.
4968 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4969 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4970 (print_version): Use PKGVERSION.
4971 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4972 (do_version): Use PKGVERSION.
4973 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4975 (common-ldd-rewrite): Likewise.
4976 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4977 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4978 (print_version): Use PKGVERSION.
4979 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4980 * elf/pldd.c (argp_program_bug_address): Remove variable.
4981 (more_help): New function.
4982 (argp): Use more_help.
4983 (print_version): Use PKGVERSION.
4984 * elf/sln.c (main): Use PKGVERSION.
4985 (usage): Use REPORT_BUGS_TO.
4986 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4987 (top level): Use PKGVERSION.
4988 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4989 (print_version): Use PKGVERSION.
4990 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4991 (print_version): Use PKGVERSION.
4992 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4993 (print_version): Use PKGVERSION.
4994 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4995 (print_version): Use PKGVERSION.
4996 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4997 (print_version): Use PKGVERSION.
4998 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4999 (print_version): Use PKGVERSION.
5000 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5002 ($(objpfx)memusage): Likewise.
5003 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5004 (do_version): Use PKGVERSION.
5005 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5006 (print_version): Use PKGVERSION.
5007 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5008 ($PKGVERSION): New variable.
5009 ($REPORT_BUGS_TO): Likewise.
5010 (usage): Use $REPORT_BUGS_TO.
5011 (top level): Use $PKGVERSION.
5012 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5013 ($(objpfx)pkgvers.texi): New rule.
5014 ($(objpfx)stamp-pkgvers): Likewise.
5015 * manual/install.texi: Include pkgvers.texi.
5016 (--with-pkgversion): Document new configure option.
5017 (--with-bugurl): Likewise.
5018 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5019 than necessarily for this particular distribution. Use
5020 REPORT_BUGS_TO for where to report bugs.
5021 * INSTALL: Regenerated.
5022 * manual/libc.texinfo: Include pkgvers.texi.
5023 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5024 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5025 (print_version): Use PKGVERSION.
5026 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5027 (print_version): Use PKGVERSION.
5028 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5029 (print_version): Use PKGVERSION.
5030 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5031 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5033 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5034 (print_version): Use PKGVERSION.
5035 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5036 (print_version): Use PKGVERSION.
5037 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5040 * timezone/checktab.awk: Update from tzcode 2012i.
5041 * timezone/ialloc.c: Likewise.
5042 * timezone/private.h: Likewise.
5043 * timezone/scheck.c: Likewise.
5044 * timezone/tzfile.h: Likewise.
5045 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5046 (TZVERSION): Hardcode tzcode version number.
5047 * timezone/zdump.c: Update from tzcode 2012i.
5048 * timezone/zic.c: Likewise.
5049 * timezone/version.h: New file.
5050 * timezone/README: Describe version.h. Update upstream location.
5053 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5054 (mktemp): Enable declaration.
5055 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5056 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5057 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5058 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5060 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5062 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5064 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5066 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5068 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5072 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5073 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5074 for copies of such integer values.
5075 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5076 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5078 2012-11-09 Andreas Jaeger <aj@suse.de>
5080 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5081 definitions and declarations that are provided by
5082 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5084 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5086 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5087 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5088 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5091 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5093 * elf/elf.h: Update comment before AArch64 relocations.
5095 2012-11-07 David S. Miller <davem@davemloft.net>
5097 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5098 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5099 (__start_context): Declare.
5100 (__makecontext_ret): Delete.
5101 (__makecontext): Hook up __start_context instead of
5103 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5104 (sysdep_routines): Add __start_context when in stdlib.
5106 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5108 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5109 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5110 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5112 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5113 (READELF): New variable. Use it instead of hardcoded "readelf".
5115 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5117 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5118 * sysdeps/x86/Makefile: Here.
5119 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5120 * sysdeps/x86/tst-xmmymm.sh: This.
5122 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5124 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5126 [UNIX98] (pthread_barrier_t): Do not expect.
5127 [UNIX98] (pthread_barrierattr_t): Likewise.
5128 [UNIX98] (pthread_spinlock_t): Likewise.
5129 [UNIX98] (pthread_barrier_destroy): Likewise.
5130 [UNIX98] (pthread_barrier_init): Likewise.
5131 [UNIX98] (pthread_barrier_wait): Likewise.
5132 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5133 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5134 [UNIX98] (pthread_barrierattr_init): Likewise.
5135 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5136 [UNIX98] (pthread_getcpuclockid): Likewise.
5137 [UNIX98] (pthread_mutex_timedlock): Likewise.
5138 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5139 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5140 [UNIX98] (pthread_sigmask): Likewise.
5141 [UNIX98] (pthread_spin_destroy): Likewise.
5142 [UNIX98] (pthread_spin_init): Likewise.
5143 [UNIX98] (pthread_spin_lock): Likewise.
5144 [UNIX98] (pthread_spin_trylock): Likewise.
5145 [UNIX98] (pthread_spin_unlock): Likewise.
5146 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5148 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5149 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5150 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5151 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5152 [XPG3 || XPG4] (pthread_key_t): Likewise.
5153 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5154 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5155 [XPG3 || XPG4] (pthread_once_t): Likewise.
5156 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5157 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5158 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5159 [XPG3 || XPG4] (pthread_t): Likewise.
5161 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5163 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5165 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5166 Change function return type to int.
5168 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5169 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5170 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5171 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5172 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5173 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5174 [!POSIX] (posix_madvise): Likewise.
5175 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5177 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5178 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5180 (posix_mem_offset): Likewise.
5181 (posix_typed_mem_get_info): Likewise.
5182 (posix_typed_mem_open): Likewise.
5184 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5185 Change condition to [XOPEN2K8].
5187 * conform/conformtest.pl: Preprocess allow-header data with -x c
5188 instead of from stdin.
5189 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5190 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5191 [C99-based standards] (cerfc): Likewise.
5192 [C99-based standards] (cexp2): Likewise.
5193 [C99-based standards] (cexpm1): Likewise.
5194 [C99-based standards] (clog10): Likewise.
5195 [C99-based standards] (clog1p): Likewise.
5196 [C99-based standards] (clog2): Likewise.
5197 [C99-based standards] (clgamma): Likewise.
5198 [C99-based standards] (ctgamma): Likewise.
5199 [C99-based standards] (cerff): Likewise.
5200 [C99-based standards] (cerfcf): Likewise.
5201 [C99-based standards] (cexp2f): Likewise.
5202 [C99-based standards] (cexpm1f): Likewise.
5203 [C99-based standards] (clog10f): Likewise.
5204 [C99-based standards] (clog1pf): Likewise.
5205 [C99-based standards] (clog2f): Likewise.
5206 [C99-based standards] (clgammaf): Likewise.
5207 [C99-based standards] (ctgammaf): Likewise.
5208 [C99-based standards] (cerfl): Likewise.
5209 [C99-based standards] (cerfcl): Likewise.
5210 [C99-based standards] (cexp2l): Likewise.
5211 [C99-based standards] (cexpm1l): Likewise.
5212 [C99-based standards] (clog10l): Likewise.
5213 [C99-based standards] (clog1pl): Likewise.
5214 [C99-based standards] (clog2l): Likewise.
5215 [C99-based standards] (clgammal): Likewise.
5216 [C99-based standards] (ctgammal): Likewise.
5217 * conform/data/inttypes.h-data [C99-based standards]: Include
5218 stdint.h-data. Remove all expectations for stdint.h contents.
5219 [C99-based standards] (PRI*): Do not allow.
5220 [C99-based standards] (SCN*): Likewise.
5221 [C99-based standards] (*_t): Likewise.
5222 [C99-based-standards] (PRId8): Expect macro.
5223 [C99-based-standards] (PRIi8): Likewise.
5224 [C99-based-standards] (PRIo8): Likewise.
5225 [C99-based-standards] (PRIu8): Likewise.
5226 [C99-based-standards] (PRIx8): Likewise.
5227 [C99-based-standards] (PRIX8): Likewise.
5228 [C99-based-standards] (SCNd8): Likewise.
5229 [C99-based-standards] (SCNi8): Likewise.
5230 [C99-based-standards] (SCNo8): Likewise.
5231 [C99-based-standards] (SCNu8): Likewise.
5232 [C99-based-standards] (SCNx8): Likewise.
5233 [C99-based-standards] (PRIdLEAST8): Likewise.
5234 [C99-based-standards] (PRIiLEAST8): Likewise.
5235 [C99-based-standards] (PRIoLEAST8): Likewise.
5236 [C99-based-standards] (PRIuLEAST8): Likewise.
5237 [C99-based-standards] (PRIxLEAST8): Likewise.
5238 [C99-based-standards] (PRIXLEAST8): Likewise.
5239 [C99-based-standards] (SCNdLEAST8): Likewise.
5240 [C99-based-standards] (SCNiLEAST8): Likewise.
5241 [C99-based-standards] (SCNoLEAST8): Likewise.
5242 [C99-based-standards] (SCNuLEAST8): Likewise.
5243 [C99-based-standards] (SCNxLEAST8): Likewise.
5244 [C99-based-standards] (PRIdFAST8): Likewise.
5245 [C99-based-standards] (PRIiFAST8): Likewise.
5246 [C99-based-standards] (PRIoFAST8): Likewise.
5247 [C99-based-standards] (PRIuFAST8): Likewise.
5248 [C99-based-standards] (PRIxFAST8): Likewise.
5249 [C99-based-standards] (PRIXFAST8): Likewise.
5250 [C99-based-standards] (SCNdFAST8): Likewise.
5251 [C99-based-standards] (SCNiFAST8): Likewise.
5252 [C99-based-standards] (SCNoFAST8): Likewise.
5253 [C99-based-standards] (SCNuFAST8): Likewise.
5254 [C99-based-standards] (SCNxFAST8): Likewise.
5255 [C99-based-standards] (PRId16): Likewise.
5256 [C99-based-standards] (PRIi16): Likewise.
5257 [C99-based-standards] (PRIo16): Likewise.
5258 [C99-based-standards] (PRIu16): Likewise.
5259 [C99-based-standards] (PRIx16): Likewise.
5260 [C99-based-standards] (PRIX16): Likewise.
5261 [C99-based-standards] (SCNd16): Likewise.
5262 [C99-based-standards] (SCNi16): Likewise.
5263 [C99-based-standards] (SCNo16): Likewise.
5264 [C99-based-standards] (SCNu16): Likewise.
5265 [C99-based-standards] (SCNx16): Likewise.
5266 [C99-based-standards] (PRIdLEAST16): Likewise.
5267 [C99-based-standards] (PRIiLEAST16): Likewise.
5268 [C99-based-standards] (PRIoLEAST16): Likewise.
5269 [C99-based-standards] (PRIuLEAST16): Likewise.
5270 [C99-based-standards] (PRIxLEAST16): Likewise.
5271 [C99-based-standards] (PRIXLEAST16): Likewise.
5272 [C99-based-standards] (SCNdLEAST16): Likewise.
5273 [C99-based-standards] (SCNiLEAST16): Likewise.
5274 [C99-based-standards] (SCNoLEAST16): Likewise.
5275 [C99-based-standards] (SCNuLEAST16): Likewise.
5276 [C99-based-standards] (SCNxLEAST16): Likewise.
5277 [C99-based-standards] (PRIdFAST16): Likewise.
5278 [C99-based-standards] (PRIiFAST16): Likewise.
5279 [C99-based-standards] (PRIoFAST16): Likewise.
5280 [C99-based-standards] (PRIuFAST16): Likewise.
5281 [C99-based-standards] (PRIxFAST16): Likewise.
5282 [C99-based-standards] (PRIXFAST16): Likewise.
5283 [C99-based-standards] (SCNdFAST16): Likewise.
5284 [C99-based-standards] (SCNiFAST16): Likewise.
5285 [C99-based-standards] (SCNoFAST16): Likewise.
5286 [C99-based-standards] (SCNuFAST16): Likewise.
5287 [C99-based-standards] (SCNxFAST16): Likewise.
5288 [C99-based-standards] (PRId32): Likewise.
5289 [C99-based-standards] (PRIi32): Likewise.
5290 [C99-based-standards] (PRIo32): Likewise.
5291 [C99-based-standards] (PRIu32): Likewise.
5292 [C99-based-standards] (PRIx32): Likewise.
5293 [C99-based-standards] (PRIX32): Likewise.
5294 [C99-based-standards] (SCNd32): Likewise.
5295 [C99-based-standards] (SCNi32): Likewise.
5296 [C99-based-standards] (SCNo32): Likewise.
5297 [C99-based-standards] (SCNu32): Likewise.
5298 [C99-based-standards] (SCNx32): Likewise.
5299 [C99-based-standards] (PRIdLEAST32): Likewise.
5300 [C99-based-standards] (PRIiLEAST32): Likewise.
5301 [C99-based-standards] (PRIoLEAST32): Likewise.
5302 [C99-based-standards] (PRIuLEAST32): Likewise.
5303 [C99-based-standards] (PRIxLEAST32): Likewise.
5304 [C99-based-standards] (PRIXLEAST32): Likewise.
5305 [C99-based-standards] (SCNdLEAST32): Likewise.
5306 [C99-based-standards] (SCNiLEAST32): Likewise.
5307 [C99-based-standards] (SCNoLEAST32): Likewise.
5308 [C99-based-standards] (SCNuLEAST32): Likewise.
5309 [C99-based-standards] (SCNxLEAST32): Likewise.
5310 [C99-based-standards] (PRIdFAST32): Likewise.
5311 [C99-based-standards] (PRIiFAST32): Likewise.
5312 [C99-based-standards] (PRIoFAST32): Likewise.
5313 [C99-based-standards] (PRIuFAST32): Likewise.
5314 [C99-based-standards] (PRIxFAST32): Likewise.
5315 [C99-based-standards] (PRIXFAST32): Likewise.
5316 [C99-based-standards] (SCNdFAST32): Likewise.
5317 [C99-based-standards] (SCNiFAST32): Likewise.
5318 [C99-based-standards] (SCNoFAST32): Likewise.
5319 [C99-based-standards] (SCNuFAST32): Likewise.
5320 [C99-based-standards] (SCNxFAST32): Likewise.
5321 [C99-based-standards] (PRId64): Likewise.
5322 [C99-based-standards] (PRIi64): Likewise.
5323 [C99-based-standards] (PRIo64): Likewise.
5324 [C99-based-standards] (PRIu64): Likewise.
5325 [C99-based-standards] (PRIx64): Likewise.
5326 [C99-based-standards] (PRIX64): Likewise.
5327 [C99-based-standards] (SCNd64): Likewise.
5328 [C99-based-standards] (SCNi64): Likewise.
5329 [C99-based-standards] (SCNo64): Likewise.
5330 [C99-based-standards] (SCNu64): Likewise.
5331 [C99-based-standards] (SCNx64): Likewise.
5332 [C99-based-standards] (PRIdLEAST64): Likewise.
5333 [C99-based-standards] (PRIiLEAST64): Likewise.
5334 [C99-based-standards] (PRIoLEAST64): Likewise.
5335 [C99-based-standards] (PRIuLEAST64): Likewise.
5336 [C99-based-standards] (PRIxLEAST64): Likewise.
5337 [C99-based-standards] (PRIXLEAST64): Likewise.
5338 [C99-based-standards] (SCNdLEAST64): Likewise.
5339 [C99-based-standards] (SCNiLEAST64): Likewise.
5340 [C99-based-standards] (SCNoLEAST64): Likewise.
5341 [C99-based-standards] (SCNuLEAST64): Likewise.
5342 [C99-based-standards] (SCNxLEAST64): Likewise.
5343 [C99-based-standards] (PRIdFAST64): Likewise.
5344 [C99-based-standards] (PRIiFAST64): Likewise.
5345 [C99-based-standards] (PRIoFAST64): Likewise.
5346 [C99-based-standards] (PRIuFAST64): Likewise.
5347 [C99-based-standards] (PRIxFAST64): Likewise.
5348 [C99-based-standards] (PRIXFAST64): Likewise.
5349 [C99-based-standards] (SCNdFAST64): Likewise.
5350 [C99-based-standards] (SCNiFAST64): Likewise.
5351 [C99-based-standards] (SCNoFAST64): Likewise.
5352 [C99-based-standards] (SCNuFAST64): Likewise.
5353 [C99-based-standards] (SCNxFAST64): Likewise.
5354 [C99-based-standards] (PRIdMAX): Likewise.
5355 [C99-based-standards] (PRIiMAX): Likewise.
5356 [C99-based-standards] (PRIoMAX): Likewise.
5357 [C99-based-standards] (PRIuMAX): Likewise.
5358 [C99-based-standards] (PRIxMAX): Likewise.
5359 [C99-based-standards] (PRIXMAX): Likewise.
5360 [C99-based-standards] (SCNdMAX): Likewise.
5361 [C99-based-standards] (SCNiMAX): Likewise.
5362 [C99-based-standards] (SCNoMAX): Likewise.
5363 [C99-based-standards] (SCNuMAX): Likewise.
5364 [C99-based-standards] (SCNxMAX): Likewise.
5365 [C99-based-standards] (PRIdPTR): Likewise.
5366 [C99-based-standards] (PRIiPTR): Likewise.
5367 [C99-based-standards] (PRIoPTR): Likewise.
5368 [C99-based-standards] (PRIuPTR): Likewise.
5369 [C99-based-standards] (PRIxPTR): Likewise.
5370 [C99-based-standards] (PRIXPTR): Likewise.
5371 [C99-based-standards] (SCNdPTR): Likewise.
5372 [C99-based-standards] (SCNiPTR): Likewise.
5373 [C99-based-standards] (SCNoPTR): Likewise.
5374 [C99-based-standards] (SCNuPTR): Likewise.
5375 [C99-based-standards] (SCNxPTR): Likewise.
5376 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5378 * conform/data/stdint.h-data: Update comments to clarify
5380 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5382 [C99-based standards] (INT8_MAX): Likewise.
5383 [C99-based standards] (INT16_MIN): Likewise.
5384 [C99-based standards] (INT16_MAX): Likewise.
5385 [C99-based standards] (INT32_MIN): Likewise.
5386 [C99-based standards] (INT32_MAX): Likewise.
5387 [C99-based standards] (INT64_MIN): Likewise.
5388 [C99-based standards] (INT64_MAX): Likewise.
5389 [C99-based standards] (UINT8_MAX): Likewise.
5390 [C99-based standards] (UINT16_MAX): Likewise.
5391 [C99-based standards] (UINT32_MAX): Likewise.
5392 [C99-based standards] (UINT64_MAX): Likewise.
5393 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5394 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5395 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5396 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5397 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5398 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5399 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5400 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5401 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5402 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5403 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5404 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5405 [C99-based standards] (INT_FAST8_MIN): Likewise.
5406 [C99-based standards] (INT_FAST8_MAX): Likewise.
5407 [C99-based standards] (INT_FAST16_MIN): Likewise.
5408 [C99-based standards] (INT_FAST16_MAX): Likewise.
5409 [C99-based standards] (INT_FAST32_MIN): Likewise.
5410 [C99-based standards] (INT_FAST32_MAX): Likewise.
5411 [C99-based standards] (INT_FAST64_MIN): Likewise.
5412 [C99-based standards] (INT_FAST64_MAX): Likewise.
5413 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5414 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5415 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5416 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5417 [C99-based standards] (INTPTR_MIN): Likewise.
5418 [C99-based standards] (INTPTR_MAX): Likewise.
5419 [C99-based standards] (UINTPTR_MAX): Likewise.
5420 [C99-based standards] (INTMAX_MIN): Likewise.
5421 [C99-based standards] (INTMAX_MAX): Likewise.
5422 [C99-based standards] (UINTMAX_MAX): Likewise.
5423 [C99-based standards] (PTRDIFF_MIN): Likewise.
5424 [C99-based standards] (PTRDIFF_MAX): Likewise.
5425 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5426 [C99-based standards] (SIZE_MAX): Likewise.
5427 [C99-based standards] (WCHAR_MAX): Likewise.
5428 [C99-based standards] (WINT_MAX): Likewise.
5429 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5430 constraint on value.
5431 [C99-based standards] (WCHAR_MIN): Likewise.
5432 [C99-based standards] (WINT_MIN): Likewise.
5433 [C99-based standards] (*_t): Allow.
5434 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5435 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5436 Include math.h-data and complex.h-data. Remove all expectations
5437 of math.h and complex.h contents.
5438 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5440 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5441 (struct tm): Expect tag.
5442 [C99-based-standards] (wcstof): Expect function.
5443 [C99-based-standards] (wcstold): Likewise.
5444 [C99-based-standards] (wcstoll): Likewise.
5445 [C99-based-standards] (wcstoull): Likewise.
5446 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5447 macro-int-constant. Specify type.
5448 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5449 constraint on value.
5450 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5452 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5454 [ISO C standards]: Do not allow headers.
5455 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5456 wcs[abcdefghijklmnopqrstuvwxyz]*.
5457 [ISO C standards] (*_t): Do not allow.
5458 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5460 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5461 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5463 [ISO C standards]: Do not allow headers.
5464 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5465 is[abcdefghijklmnopqrstuvwxyz]*.
5466 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5467 to[abcdefghijklmnopqrstuvwxyz]*.
5468 [ISO C standards] (*_t): Do not allow.
5469 * conform/data/stdalign.h-data: New file.
5470 * conform/data/stdbool.h-data: Likewise.
5471 * conform/data/stdnoreturn.h-data: Likewise.
5473 2012-11-07 Roland McGrath <roland@hack.frob.com>
5476 * manual/filesys.texi (Directory Entries): Typo fix.
5477 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5479 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5481 * elf/elf.h (EM_AARCH64): New macro.
5482 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5483 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5484 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5485 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5486 (R_AARCH64_TLSDESC): Likewise.
5487 (NT_ARM_TLS): Likewise.
5488 (NT_ARM_HW_BREAK): Likewise.
5489 (NT_ARM_HW_WATCH): Likewise.
5491 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5494 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5495 (__ieee754_powl): Saturate nonzero exponents with absolute value
5496 below 0x1p-79 to +/- 0x1p-79.
5497 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5498 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5499 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5500 nonzero exponents with absolute value below 0x1p-32 to +/-
5502 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5503 (__ieee754_powl): Saturate nonzero exponents with absolute value
5504 below 0x1p-79 to +/- 0x1p-79.
5505 * math/libm-test.inc (pow_test): Add more tests.
5507 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5509 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5510 _dl_s390_cap_flags with kernel. Increase string length.
5511 (_dl_s390_platforms): Add z196 and zEC12.
5513 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5515 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5516 Change XOPEN21K to XOPEN2K.
5518 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5520 * string/memmove.c: Use memcpy when possible.
5522 2012-11-06 Andreas Jaeger <aj@suse.de>
5524 * po/eo.po: Update from translation team.
5526 2012-11-06 Joseph Myers <joseph@codesourcery.com>
5529 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5530 exponent and small x and y exponents, scale x or y up. Increase
5531 by 2 the exponent used in scaling up.
5532 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5533 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5534 * math/libm-test.inc (fma_test): Add more tests.
5535 (fma_test_towardzero): Likewise.
5536 (fma_test_downward): Likewise.
5537 (fma_test_upward): Likewise.
5539 2012-11-05 Joseph Myers <joseph@codesourcery.com>
5542 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5546 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5547 namespace for names of struct fields.
5548 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5550 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5551 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5553 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5556 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5558 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5560 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5564 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5567 2012-11-04 Joseph Myers <joseph@codesourcery.com>
5570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5571 definitely overflow as x * y not x * y + z.
5572 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5573 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5574 * math/libm-test.inc (fma_test): Add more tests.
5575 (fma_test_towardzero): Likewise.
5576 (fma_test_downward): Likewise.
5577 (fma_test_upward): Likewise.
5579 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5583 * include/stub-tag.h: Remove file.
5584 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5586 * manual/maint.texi (Porting): Don't reference it.
5587 * Makerules ($(objpfx)stubs): Likewise.
5588 * dirent/closedir.c: Don't include <stub-tag.h>.
5589 * dirent/dirfd.c: Likewise.
5590 * dirent/fdopendir.c: Likewise.
5591 * dirent/getdents.c: Likewise.
5592 * dirent/getdents64.c: Likewise.
5593 * dirent/opendir.c: Likewise.
5594 * dirent/readdir.c: Likewise.
5595 * dirent/readdir64.c: Likewise.
5596 * dirent/readdir64_r.c: Likewise.
5597 * dirent/readdir_r.c: Likewise.
5598 * dirent/rewinddir.c: Likewise.
5599 * dirent/seekdir.c: Likewise.
5600 * dirent/telldir.c: Likewise.
5601 * gmon/profil.c: Likewise.
5602 * grp/setgroups.c: Likewise.
5603 * inet/if_index.c: Likewise.
5604 * io/access.c: Likewise.
5605 * io/chdir.c: Likewise.
5606 * io/chmod.c: Likewise.
5607 * io/chown.c: Likewise.
5608 * io/close.c: Likewise.
5609 * io/dup.c: Likewise.
5610 * io/dup2.c: Likewise.
5611 * io/dup3.c: Likewise.
5612 * io/euidaccess.c: Likewise.
5613 * io/faccessat.c: Likewise.
5614 * io/fchdir.c: Likewise.
5615 * io/fchmod.c: Likewise.
5616 * io/fchmodat.c: Likewise.
5617 * io/fchown.c: Likewise.
5618 * io/fchownat.c: Likewise.
5619 * io/fcntl.c: Likewise.
5620 * io/flock.c: Likewise.
5621 * io/fstatfs.c: Likewise.
5622 * io/fstatfs64.c: Likewise.
5623 * io/fstatvfs.c: Likewise.
5624 * io/fstatvfs64.c: Likewise.
5625 * io/futimens.c: Likewise.
5626 * io/fxstat.c: Likewise.
5627 * io/fxstat64.c: Likewise.
5628 * io/fxstatat.c: Likewise.
5629 * io/fxstatat64.c: Likewise.
5630 * io/getcwd.c: Likewise.
5631 * io/isatty.c: Likewise.
5632 * io/lchmod.c: Likewise.
5633 * io/lchown.c: Likewise.
5634 * io/link.c: Likewise.
5635 * io/linkat.c: Likewise.
5636 * io/lseek.c: Likewise.
5637 * io/lseek64.c: Likewise.
5638 * io/lxstat64.c: Likewise.
5639 * io/mkdir.c: Likewise.
5640 * io/mkdirat.c: Likewise.
5641 * io/mkfifo.c: Likewise.
5642 * io/mkfifoat.c: Likewise.
5643 * io/open.c: Likewise.
5644 * io/open64.c: Likewise.
5645 * io/openat.c: Likewise.
5646 * io/openat64.c: Likewise.
5647 * io/pipe.c: Likewise.
5648 * io/pipe2.c: Likewise.
5649 * io/poll.c: Likewise.
5650 * io/posix_fadvise.c: Likewise.
5651 * io/posix_fadvise64.c: Likewise.
5652 * io/posix_fallocate.c: Likewise.
5653 * io/posix_fallocate64.c: Likewise.
5654 * io/read.c: Likewise.
5655 * io/readlink.c: Likewise.
5656 * io/readlinkat.c: Likewise.
5657 * io/rmdir.c: Likewise.
5658 * io/sendfile.c: Likewise.
5659 * io/sendfile64.c: Likewise.
5660 * io/statfs.c: Likewise.
5661 * io/statfs64.c: Likewise.
5662 * io/statvfs.c: Likewise.
5663 * io/statvfs64.c: Likewise.
5664 * io/symlink.c: Likewise.
5665 * io/symlinkat.c: Likewise.
5666 * io/ttyname.c: Likewise.
5667 * io/ttyname_r.c: Likewise.
5668 * io/umask.c: Likewise.
5669 * io/unlink.c: Likewise.
5670 * io/unlinkat.c: Likewise.
5671 * io/utime.c: Likewise.
5672 * io/utimensat.c: Likewise.
5673 * io/write.c: Likewise.
5674 * io/xmknod.c: Likewise.
5675 * io/xmknodat.c: Likewise.
5676 * io/xstat.c: Likewise.
5677 * io/xstat64.c: Likewise.
5678 * login/getpt.c: Likewise.
5679 * login/grantpt.c: Likewise.
5680 * login/unlockpt.c: Likewise.
5681 * math/e_acoshl.c: Likewise.
5682 * math/e_acosl.c: Likewise.
5683 * math/e_asinl.c: Likewise.
5684 * math/e_atan2l.c: Likewise.
5685 * math/e_atanhl.c: Likewise.
5686 * math/e_coshl.c: Likewise.
5687 * math/e_expl.c: Likewise.
5688 * math/e_fmodl.c: Likewise.
5689 * math/e_gammal_r.c: Likewise.
5690 * math/e_hypotl.c: Likewise.
5691 * math/e_j0l.c: Likewise.
5692 * math/e_j1l.c: Likewise.
5693 * math/e_jnl.c: Likewise.
5694 * math/e_lgammal_r.c: Likewise.
5695 * math/e_log10l.c: Likewise.
5696 * math/e_log2l.c: Likewise.
5697 * math/e_logl.c: Likewise.
5698 * math/e_powl.c: Likewise.
5699 * math/e_rem_pio2l.c: Likewise.
5700 * math/e_sinhl.c: Likewise.
5701 * math/e_sqrtl.c: Likewise.
5702 * math/fclrexcpt.c: Likewise.
5703 * math/fedisblxcpt.c: Likewise.
5704 * math/feenablxcpt.c: Likewise.
5705 * math/fegetenv.c: Likewise.
5706 * math/fegetexcept.c: Likewise.
5707 * math/fegetround.c: Likewise.
5708 * math/feholdexcpt.c: Likewise.
5709 * math/fesetenv.c: Likewise.
5710 * math/fesetround.c: Likewise.
5711 * math/feupdateenv.c: Likewise.
5712 * math/fgetexcptflg.c: Likewise.
5713 * math/fraiseexcpt.c: Likewise.
5714 * math/fsetexcptflg.c: Likewise.
5715 * math/ftestexcept.c: Likewise.
5716 * math/k_cosl.c: Likewise.
5717 * math/k_rem_pio2l.c: Likewise.
5718 * math/k_sinl.c: Likewise.
5719 * math/k_tanl.c: Likewise.
5720 * math/s_asinhl.c: Likewise.
5721 * math/s_atanl.c: Likewise.
5722 * math/s_cbrtl.c: Likewise.
5723 * math/s_erfl.c: Likewise.
5724 * math/s_expm1l.c: Likewise.
5725 * math/s_log1pl.c: Likewise.
5726 * math/s_tanhl.c: Likewise.
5727 * misc/acct.c: Likewise.
5728 * misc/brk.c: Likewise.
5729 * misc/chflags.c: Likewise.
5730 * misc/chroot.c: Likewise.
5731 * misc/fchflags.c: Likewise.
5732 * misc/fgetxattr.c: Likewise.
5733 * misc/flistxattr.c: Likewise.
5734 * misc/fremovexattr.c: Likewise.
5735 * misc/fsetxattr.c: Likewise.
5736 * misc/fsync.c: Likewise.
5737 * misc/ftruncate.c: Likewise.
5738 * misc/futimes.c: Likewise.
5739 * misc/futimesat.c: Likewise.
5740 * misc/getdomain.c: Likewise.
5741 * misc/getdtsz.c: Likewise.
5742 * misc/gethostid.c: Likewise.
5743 * misc/gethostname.c: Likewise.
5744 * misc/getloadavg.c: Likewise.
5745 * misc/getpagesize.c: Likewise.
5746 * misc/getsysstats.c: Likewise.
5747 * misc/getxattr.c: Likewise.
5748 * misc/gtty.c: Likewise.
5749 * misc/ioctl.c: Likewise.
5750 * misc/lgetxattr.c: Likewise.
5751 * misc/listxattr.c: Likewise.
5752 * misc/llistxattr.c: Likewise.
5753 * misc/lremovexattr.c: Likewise.
5754 * misc/lsetxattr.c: Likewise.
5755 * misc/lutimes.c: Likewise.
5756 * misc/madvise.c: Likewise.
5757 * misc/mincore.c: Likewise.
5758 * misc/mlock.c: Likewise.
5759 * misc/mlockall.c: Likewise.
5760 * misc/mmap.c: Likewise.
5761 * misc/mprotect.c: Likewise.
5762 * misc/msync.c: Likewise.
5763 * misc/munlock.c: Likewise.
5764 * misc/munlockall.c: Likewise.
5765 * misc/munmap.c: Likewise.
5766 * misc/preadv.c: Likewise.
5767 * misc/preadv64.c: Likewise.
5768 * misc/ptrace.c: Likewise.
5769 * misc/pwritev.c: Likewise.
5770 * misc/pwritev64.c: Likewise.
5771 * misc/readv.c: Likewise.
5772 * misc/reboot.c: Likewise.
5773 * misc/remap_file_pages.c: Likewise.
5774 * misc/removexattr.c: Likewise.
5775 * misc/revoke.c: Likewise.
5776 * misc/select.c: Likewise.
5777 * misc/setdomain.c: Likewise.
5778 * misc/setegid.c: Likewise.
5779 * misc/seteuid.c: Likewise.
5780 * misc/sethostid.c: Likewise.
5781 * misc/sethostname.c: Likewise.
5782 * misc/setregid.c: Likewise.
5783 * misc/setreuid.c: Likewise.
5784 * misc/setxattr.c: Likewise.
5785 * misc/sstk.c: Likewise.
5786 * misc/stty.c: Likewise.
5787 * misc/swapoff.c: Likewise.
5788 * misc/swapon.c: Likewise.
5789 * misc/sync.c: Likewise.
5790 * misc/syncfs.c: Likewise.
5791 * misc/syscall.c: Likewise.
5792 * misc/truncate.c: Likewise.
5793 * misc/ualarm.c: Likewise.
5794 * misc/usleep.c: Likewise.
5795 * misc/ustat.c: Likewise.
5796 * misc/utimes.c: Likewise.
5797 * misc/vhangup.c: Likewise.
5798 * misc/writev.c: Likewise.
5799 * posix/_exit.c: Likewise.
5800 * posix/alarm.c: Likewise.
5801 * posix/execve.c: Likewise.
5802 * posix/fexecve.c: Likewise.
5803 * posix/fork.c: Likewise.
5804 * posix/fpathconf.c: Likewise.
5805 * posix/getaddrinfo.c: Likewise.
5806 * posix/getegid.c: Likewise.
5807 * posix/geteuid.c: Likewise.
5808 * posix/getgid.c: Likewise.
5809 * posix/getgroups.c: Likewise.
5810 * posix/getlogin.c: Likewise.
5811 * posix/getlogin_r.c: Likewise.
5812 * posix/getpgid.c: Likewise.
5813 * posix/getpid.c: Likewise.
5814 * posix/getppid.c: Likewise.
5815 * posix/getresgid.c: Likewise.
5816 * posix/getresuid.c: Likewise.
5817 * posix/getsid.c: Likewise.
5818 * posix/getuid.c: Likewise.
5819 * posix/glob64.c: Likewise.
5820 * posix/nanosleep.c: Likewise.
5821 * posix/pathconf.c: Likewise.
5822 * posix/pause.c: Likewise.
5823 * posix/posix_madvise.c: Likewise.
5824 * posix/pread.c: Likewise.
5825 * posix/pread64.c: Likewise.
5826 * posix/pwrite.c: Likewise.
5827 * posix/pwrite64.c: Likewise.
5828 * posix/sched_getaffinity.c: Likewise.
5829 * posix/sched_getp.c: Likewise.
5830 * posix/sched_gets.c: Likewise.
5831 * posix/sched_primax.c: Likewise.
5832 * posix/sched_primin.c: Likewise.
5833 * posix/sched_rr_gi.c: Likewise.
5834 * posix/sched_setaffinity.c: Likewise.
5835 * posix/sched_setp.c: Likewise.
5836 * posix/sched_sets.c: Likewise.
5837 * posix/sched_yield.c: Likewise.
5838 * posix/setgid.c: Likewise.
5839 * posix/setlogin.c: Likewise.
5840 * posix/setpgid.c: Likewise.
5841 * posix/setresgid.c: Likewise.
5842 * posix/setresuid.c: Likewise.
5843 * posix/setsid.c: Likewise.
5844 * posix/setuid.c: Likewise.
5845 * posix/sleep.c: Likewise.
5846 * posix/spawni.c: Likewise.
5847 * posix/sysconf.c: Likewise.
5848 * posix/times.c: Likewise.
5849 * posix/wait.c: Likewise.
5850 * posix/wait3.c: Likewise.
5851 * posix/wait4.c: Likewise.
5852 * posix/waitpid.c: Likewise.
5853 * resolv/gai_sigqueue.c: Likewise.
5854 * resource/getpriority.c: Likewise.
5855 * resource/getrlimit.c: Likewise.
5856 * resource/getrusage.c: Likewise.
5857 * resource/nice.c: Likewise.
5858 * resource/setpriority.c: Likewise.
5859 * resource/setrlimit.c: Likewise.
5860 * resource/ulimit.c: Likewise.
5861 * rt/aio_cancel.c: Likewise.
5862 * rt/aio_fsync.c: Likewise.
5863 * rt/aio_read.c: Likewise.
5864 * rt/aio_sigqueue.c: Likewise.
5865 * rt/aio_suspend.c: Likewise.
5866 * rt/aio_write.c: Likewise.
5867 * rt/clock_getres.c: Likewise.
5868 * rt/clock_gettime.c: Likewise.
5869 * rt/clock_nanosleep.c: Likewise.
5870 * rt/clock_settime.c: Likewise.
5871 * rt/lio_listio.c: Likewise.
5872 * rt/mq_close.c: Likewise.
5873 * rt/mq_getattr.c: Likewise.
5874 * rt/mq_notify.c: Likewise.
5875 * rt/mq_open.c: Likewise.
5876 * rt/mq_receive.c: Likewise.
5877 * rt/mq_send.c: Likewise.
5878 * rt/mq_setattr.c: Likewise.
5879 * rt/mq_timedreceive.c: Likewise.
5880 * rt/mq_timedsend.c: Likewise.
5881 * rt/mq_unlink.c: Likewise.
5882 * rt/shm_open.c: Likewise.
5883 * rt/shm_unlink.c: Likewise.
5884 * rt/timer_create.c: Likewise.
5885 * rt/timer_delete.c: Likewise.
5886 * rt/timer_getoverr.c: Likewise.
5887 * rt/timer_gettime.c: Likewise.
5888 * rt/timer_settime.c: Likewise.
5889 * setjmp/__longjmp.c: Likewise.
5890 * setjmp/setjmp.c: Likewise.
5891 * signal/kill.c: Likewise.
5892 * signal/killpg.c: Likewise.
5893 * signal/raise.c: Likewise.
5894 * signal/sigaction.c: Likewise.
5895 * signal/sigaltstack.c: Likewise.
5896 * signal/sigblock.c: Likewise.
5897 * signal/sigignore.c: Likewise.
5898 * signal/sigintr.c: Likewise.
5899 * signal/signal.c: Likewise.
5900 * signal/sigpause.c: Likewise.
5901 * signal/sigpending.c: Likewise.
5902 * signal/sigqueue.c: Likewise.
5903 * signal/sigreturn.c: Likewise.
5904 * signal/sigset.c: Likewise.
5905 * signal/sigsetmask.c: Likewise.
5906 * signal/sigstack.c: Likewise.
5907 * signal/sigsuspend.c: Likewise.
5908 * signal/sigtimedwait.c: Likewise.
5909 * signal/sigvec.c: Likewise.
5910 * signal/sigwait.c: Likewise.
5911 * signal/sigwaitinfo.c: Likewise.
5912 * signal/sysv_signal.c: Likewise.
5913 * socket/accept.c: Likewise.
5914 * socket/accept4.c: Likewise.
5915 * socket/bind.c: Likewise.
5916 * socket/connect.c: Likewise.
5917 * socket/getpeername.c: Likewise.
5918 * socket/getsockname.c: Likewise.
5919 * socket/getsockopt.c: Likewise.
5920 * socket/isfdtype.c: Likewise.
5921 * socket/listen.c: Likewise.
5922 * socket/recv.c: Likewise.
5923 * socket/recvfrom.c: Likewise.
5924 * socket/recvmsg.c: Likewise.
5925 * socket/send.c: Likewise.
5926 * socket/sendmsg.c: Likewise.
5927 * socket/sendto.c: Likewise.
5928 * socket/setsockopt.c: Likewise.
5929 * socket/shutdown.c: Likewise.
5930 * socket/sockatmark.c: Likewise.
5931 * socket/socket.c: Likewise.
5932 * socket/socketpair.c: Likewise.
5933 * stdio-common/ctermid.c: Likewise.
5934 * stdio-common/cuserid.c: Likewise.
5935 * stdio-common/remove.c: Likewise.
5936 * stdio-common/rename.c: Likewise.
5937 * stdio-common/renameat.c: Likewise.
5938 * stdio-common/tempname.c: Likewise.
5939 * stdlib/getcontext.c: Likewise.
5940 * stdlib/makecontext.c: Likewise.
5941 * stdlib/setcontext.c: Likewise.
5942 * stdlib/swapcontext.c: Likewise.
5943 * stdlib/system.c: Likewise.
5944 * streams/fattach.c: Likewise.
5945 * streams/fdetach.c: Likewise.
5946 * streams/getmsg.c: Likewise.
5947 * streams/getpmsg.c: Likewise.
5948 * streams/putmsg.c: Likewise.
5949 * streams/putpmsg.c: Likewise.
5950 * sysdeps/unix/bsd/getpt.c: Likewise.
5951 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5952 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5953 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5956 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5957 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5958 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5959 * sysvipc/msgctl.c: Likewise.
5960 * sysvipc/msgget.c: Likewise.
5961 * sysvipc/msgrcv.c: Likewise.
5962 * sysvipc/msgsnd.c: Likewise.
5963 * sysvipc/semctl.c: Likewise.
5964 * sysvipc/semget.c: Likewise.
5965 * sysvipc/semop.c: Likewise.
5966 * sysvipc/semtimedop.c: Likewise.
5967 * sysvipc/shmat.c: Likewise.
5968 * sysvipc/shmctl.c: Likewise.
5969 * sysvipc/shmdt.c: Likewise.
5970 * sysvipc/shmget.c: Likewise.
5971 * termios/tcdrain.c: Likewise.
5972 * termios/tcflow.c: Likewise.
5973 * termios/tcflush.c: Likewise.
5974 * termios/tcgetattr.c: Likewise.
5975 * termios/tcgetpgrp.c: Likewise.
5976 * termios/tcsendbrk.c: Likewise.
5977 * termios/tcsetattr.c: Likewise.
5978 * termios/tcsetpgrp.c: Likewise.
5979 * time/adjtime.c: Likewise.
5980 * time/clock.c: Likewise.
5981 * time/getitimer.c: Likewise.
5982 * time/gettimeofday.c: Likewise.
5983 * time/setitimer.c: Likewise.
5984 * time/settimeofday.c: Likewise.
5985 * time/stime.c: Likewise.
5986 * time/time.c: Likewise.
5988 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5990 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5993 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5995 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5997 2012-11-03 Joseph Myers <joseph@codesourcery.com>
6000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6001 FE_TONEAREST before applying Dekker multiplication and Knuth
6002 addition. Clear inexact exceptions and check for exact zero
6004 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6005 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6006 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6007 * math/libm-test.inc (fma_test): Add more tests.
6008 (fma_test_towardzero): Likewise.
6009 (fma_test_downward): Likewise.
6010 (fma_test_upward): Likewise.
6011 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6013 (libc_fesetround): New macro.
6014 (libc_fesetroundf): Likewise.
6015 (libc_fesetroundl): Likewise.
6016 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6018 (libc_fesetround_387): Likewise.
6019 (libc_fesetroundf): New macro.
6020 (libc_fesetround): Likewise.
6021 (libc_fesetroundl): Likewise.
6022 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6024 (libc_fesetroundf): New macro.
6025 (libc_fesetround): Likewise.
6026 (libc_fesetroundl): Likewise.
6027 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6028 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6029 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6031 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6032 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6034 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6035 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6037 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6041 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6042 integer constant usable in #if and use that to give value to enum
6044 (FE_DIVBYZERO): Likewise.
6045 (FE_UNDERFLOW): Likewise.
6046 (FE_OVERFLOW): Likewise.
6047 (FE_INVALID): Likewise.
6048 (FE_INVALID_SNAN): Likewise.
6049 (FE_INVALID_ISI): Likewise.
6050 (FE_INVALID_IDI): Likewise.
6051 (FE_INVALID_ZDZ): Likewise.
6052 (FE_INVALID_IMZ): Likewise.
6053 (FE_INVALID_COMPARE): Likewise.
6054 (FE_INVALID_SOFTWARE): Likewise.
6055 (FE_INVALID_SQRT): Likewise.
6056 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6057 (FE_TONEAREST): Likewise.
6058 (FE_TOWARDZERO): Likewise.
6059 (FE_UPWARD): Likewise.
6060 (FE_DOWNWARD): Likewise.
6061 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6062 (FE_DIVBYZERO): Likewise.
6063 (FE_OVERFLOW): Likewise.
6064 (FE_UNDERFLOW): Likewise.
6065 (FE_INEXACT): Likewise.
6066 (FE_TONEAREST): Likewise.
6067 (FE_DOWNWARD): Likewise.
6068 (FE_UPWARD): Likewise.
6069 (FE_TOWARDZERO): Likewise.
6070 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6071 (FE_UNDERFLOW): Likewise.
6072 (FE_OVERFLOW): Likewise.
6073 (FE_DIVBYZERO): Likewise.
6074 (FE_INVALID): Likewise.
6075 (FE_TONEAREST): Likewise.
6076 (FE_TOWARDZERO): Likewise.
6077 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6078 (FE_OVERFLOW): Likewise.
6079 (FE_UNDERFLOW): Likewise.
6080 (FE_DIVBYZERO): Likewise.
6081 (FE_INEXACT): Likewise.
6082 (FE_TONEAREST): Likewise.
6083 (FE_TOWARDZERO): Likewise.
6084 (FE_UPWARD): Likewise.
6085 (FE_DOWNWARD): Likewise.
6086 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6087 (FE_DIVBYZERO): Likewise.
6088 (FE_OVERFLOW): Likewise.
6089 (FE_UNDERFLOW): Likewise.
6090 (FE_INEXACT): Likewise.
6091 (FE_TONEAREST): Likewise.
6092 (FE_DOWNWARD): Likewise.
6093 (FE_UPWARD): Likewise.
6094 (FE_TOWARDZERO): Likewise.
6096 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6098 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6100 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6102 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6103 commands. Quote $PWD.
6104 (blacklist_exports): Don't use remove_newlines. Replace "declare
6106 (remove_newlines): Remove.
6108 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6110 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6111 * stdlib/stdlib.h (atof): Moved to ...
6112 * include/bits/stdlib-float.h: Here. New file.
6113 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6114 * stdlib/bits/stdlib-float.h: New file.
6115 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6117 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6120 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6122 * conform/conformtest.pl (@headers): Add fenv.h.
6123 * conform/data/fenv.h-data: New file.
6124 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6125 include of <math/fenv.h>.
6127 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6128 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6129 && !UNIX98]. Enables tests for XOPEN2K8.
6130 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6131 POSIX2008]: Likewise.
6133 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6134 (struct rusage): Do not expect type or its members.
6137 * math/math.h (FP_NAN): Define macro to integer constant usable in
6138 #if and use that to give value to enum constant.
6139 (FP_INFINITE): Likewise.
6140 (FP_ZERO): Likewise.
6141 (FP_SUBNORMAL): Likewise.
6142 (FP_NORMAL): Likewise.
6144 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6146 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6147 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6150 2012-11-02 Roland McGrath <roland@hack.frob.com>
6152 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6153 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6154 autoconf-time if not.
6155 * configure.in: Remove AC_PREREQ.
6157 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6159 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6160 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6161 of the internal implementation.
6163 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6165 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6166 except include of <misc/sys/syslog.h>.
6168 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6171 function returns with a NULL context exit with zero.
6173 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6175 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6177 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6179 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6180 (run_program_cmd): This.
6181 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6182 (tst_langinfo): New variable. Use it.
6184 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6186 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6187 floating point opcodes.
6189 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6191 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6194 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6196 * sysdeps/mach/hurd/powerpc: Remove directory.
6197 * sysdeps/mach/powerpc: Likewise.
6199 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6201 * scripts/check-local-headers.sh: Ignore c++ headers.
6203 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6205 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6206 __libc_cleanup_region_start argument.
6208 2012-11-01 Joseph Myers <joseph@codesourcery.com>
6212 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6213 x * y using scaling, not as x * y + z.
6214 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6215 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6216 * math/libm-test.inc (fma_test): Add more tests.
6217 (fma_test_towardzero): Likewise.
6218 (fma_test_downward): Likewise.
6219 (fma_test_upward): Likewise.
6221 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6223 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6225 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6227 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6230 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6232 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6234 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6241 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6244 Fix the order of the list for glibc 2.17.
6245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6248 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6252 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6255 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6256 for low part of x being zero before using __atanl (y).
6257 * math/libm-test.inc (atan2_test): Add another test.
6259 * manual/install.texi (Configuring and compiling): Document
6260 general use of test-wrapper and test-wrapper-env.
6261 * INSTALL: Regenerated.
6263 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6264 (__fma): Do not extract and scale down low bits on after-rounding
6265 systems when result rounded to normal precision would have normal
6267 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6268 (__fmal): Do not extract and scale down low bits on after-rounding
6269 systems when result rounded to normal precision would have normal
6271 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6272 (__fmal): Do not extract and scale down low bits on after-rounding
6273 systems when result rounded to normal precision would have normal
6275 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6277 (fma_test): Add more tests.
6278 (fma_test_towardzero): Likewise.
6279 (fma_test_downward): Likewise.
6280 (fma_test_upward): Likewise.
6282 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6284 * sysdeps/i386/tininess.h: Renamed to ...
6285 * sysdeps/x86/tininess.h: This.
6286 * sysdeps/x86_64/tininess.h: Removed.
6288 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6290 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6291 input. Use $(build-program-cmd).
6292 ($(objpfx)tst-array1-static.out): Likewise.
6293 ($(objpfx)tst-array2.out): Likewise.
6294 ($(objpfx)tst-array3.out): Likewise.
6295 ($(objpfx)tst-array4.out): Likewise.
6296 ($(objpfx)tst-array5.out): Likewise.
6297 ($(objpfx)tst-array5-static.out): Likewise.
6299 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6301 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6304 * nss/nsswitch.h (nss_interface_function): Provide new
6305 macro for use with NSS functions.
6306 * grp/initgroups.c: Use new macro.
6307 * nss/getXXbyYY.c: Likewise.
6308 * nss/getXXbyYY_r.c: Likewise.
6309 * nss/getXXent.c: Likewise.
6310 * nss/getXXent_r.c: Likewise.
6311 * sysdeps/posix/getaddrinfo.c: Likewise.
6313 2012-10-30 Andreas Jaeger <aj@suse.de>
6315 * po/ru.po: Update Russion translation from translation project.
6317 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6321 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6322 result and shift together with sticky bit instead of replicating
6323 round-to-nearest rounding.
6324 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6325 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6326 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6327 missing underflow exceptions.
6328 (fma_test_towardzero): Add more tests.
6329 (fma_test_downward): Likewise.
6330 (fma_test_upward): Likewise.
6333 * sysdeps/generic/tininess.h: New file.
6334 * sysdeps/i386/tininess.h: Likewise.
6335 * sysdeps/sh/tininess.h: Likewise.
6336 * sysdeps/x86_64/tininess.h: Likewise.
6337 * stdlib/tst-strtod-underflow.c: Likewise.
6338 * stdlib/tst-tininess.c: Likewise.
6339 * stdlib/strtod_l.c: Include <tininess.h>.
6340 (round_and_return): Do not set errno for exact underflow cases.
6341 Force an underflow exception when setting errno for underflow.
6342 Determine underflow based on rounding to normal precision if
6343 TININESS_AFTER_ROUNDING.
6344 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6345 ERANGE for exact underflow cases.
6346 * stdlib/Makefile (tests): Add tst-tininess and
6347 tst-strtod-underflow.
6348 ($(objpfx)tst-tininess): Use $(link-libm).
6349 ($(objpfx)tst-strtod-underflow): Likewise.
6351 2012-10-30 Andreas Jaeger <aj@suse.de>
6354 * elf/Makefile (tests): Remove conditional for have-initfini-array
6355 since this is now always required and the variable does not exist
6357 (tests-static): Likewise.
6358 (modules-names): Likewise.
6360 * po/eo.po: Add Esperanto translation from translation project.
6362 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6363 merged with constructor/destructor.
6364 (init_array): Likewise.
6365 * elf/tst-array2dep.c (fini_array): Likewise.
6366 (init_array): Likewise.
6368 2012-10-29 Mike Frysinger <vapier@gentoo.org>
6370 * manual/message.texi: Delete @cartouche tags.
6372 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6374 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6376 * sysdeps/mach/hurd/fsync.c: Likewise.
6378 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6379 [_POSIX_REALTIME_SIGNALS]: Change condition to
6380 [_POSIX_REALTIME_SIGNALS > 0].
6382 2012-10-27 Andreas Jaeger <aj@suse.de>
6384 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6385 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6386 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6387 [__WORDSIZE != 64]: Likewise.
6389 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6391 * iconvdata/tst-table.sh: Remove ${SHELL}.
6392 * iconvdata/tst-tables.sh: Likewise.
6394 2012-10-25 David S. Miller <davem@davemloft.net>
6396 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6397 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6400 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6402 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6403 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6404 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6407 2012-10-25 Roland McGrath <roland@hack.frob.com>
6409 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6410 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6413 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6414 Jim Blandy <jimb@codesourcery.com>
6416 * scripts/cross-test-ssh.sh: New file.
6417 * manual/install.texi (Configuring and compiling): Document use of
6419 * INSTALL: Regenerated.
6421 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6423 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6426 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6428 * Makeconfig (run-program-prefix): Fix comment.
6430 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6431 Jim Blandy <jimb@codesourcery.com>
6433 * Makeconfig (test-wrapper): New variable,
6434 (test-wrapper-env): Likewise.
6435 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6436 (run-built-tests): Define to yes.
6437 (run-program-prefix): Use $(test-wrapper).
6438 (built-program-cmd): Likewise.
6439 * Rules (make-test-out): Use $(test-wrapper-env) and
6440 $(host-built-program-cmd).
6441 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6442 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6444 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6445 $(test-wrapper-env) to tst-rtld-load-self.sh.
6446 ($(objpfx)order2.out): Use $(test-wrapper).
6447 ($(objpfx)tst-initorder.out): Likewise.
6448 ($(objpfx)tst-initorder2.out): Likewise.
6449 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6450 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6451 (test_wrapper_env): New variable. Use it to run ld.so.
6452 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6453 Use it to run ld.so.
6454 (test_wrapper_env): Likewise.
6455 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6456 $(test-wrapper) to run-iconv-test.sh.
6457 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6458 (ICONV): Use $test_wrapper.
6459 * posix/Makefile ($(objpfx)globtest.out): Pass
6460 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6461 globtest.sh, not $(run-program-prefix).
6462 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6463 (test_wrapper): Likewise.
6464 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6465 set together with run_via_rtld_prefix.
6466 (run_program_prefix): Define in terms of test_wrapper and
6467 run_via_rtld_prefix.
6469 2012-10-24 Roland McGrath <roland@hack.frob.com>
6471 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6472 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6476 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6477 Declare __clock_getres, __clock_gettime, __clock_settime,
6478 __clock_nanosleep, and __clock_getcpuclockid.
6479 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6480 Remove librt_hidden_def (clock_gettime).
6481 * sysdeps/unix/clock_gettime.c: Likewise.
6482 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6483 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6484 * rt/clock_getres.c: Define __clock_getres as an alias.
6485 * sysdeps/posix/clock_getres.c: Likewise.
6486 * rt/clock_settime.c: Define __clock_settime as an alias.
6487 * sysdeps/unix/clock_settime.c: Likewise.
6488 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6489 * sysdeps/unix/clock_nanosleep.c: Likewise.
6490 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6491 * rt/clock-compat.c: New file.
6492 * rt/Makefile (librt-routines): Add clock-compat and move
6493 $(clock-routines) to ...
6494 (routines): ... here, new variable.
6495 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6496 Don't add get_clockfreq here.
6497 * rt/Versions (libc: GLIBC_2.17): New version set.
6498 Add clock_* symbols here.
6499 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6500 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6501 (GLIBC_2.17): Add clock_* symbols.
6502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6504 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6513 * NEWS: Mention the move.
6515 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6516 Use __open, __read, __close rather than their public counterparts.
6517 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6518 (__get_clockfreq_via_cpuinfo): Likewise.
6519 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6520 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6522 * config.h.in (HAVE_IFUNC): New #undef.
6523 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6525 * configure: Regenerated.
6527 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6529 * configure.in: Move READELF check to start of file.
6530 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6531 libc_cv_asm_gnu_indirect_function in the process.
6532 * configure: Regenerated.
6534 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6536 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6537 send the output to /dev/null.
6538 (libc_cv_cc_with_libunwind): Likewise.
6539 (libc_cv_as_noexecstack): Likewise.
6540 * configure: Regenerate.
6542 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6544 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6546 * posix/globtest.sh (TMPDIR): Do not set.
6547 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6548 (testout): Likewise.
6550 2012-10-24 Andreas Jaeger <aj@suse.de>
6552 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6553 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6554 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6555 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6556 posix_fadvise64, posix_fallocate64.
6558 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6559 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6560 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6562 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6564 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6566 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6567 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6568 <bits/fcntl-linux.h>.
6569 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6571 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6572 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6573 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6574 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6575 [__WORDSIZE != 64]: Likewise.
6577 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6579 * Makeconfig (run-built-tests): New variable.
6580 * Rules [$(cross-compiling) = yes]: Change condition to
6581 [$(run-built-tests) = no].
6582 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6583 to [$(run-built-tests) = yes].
6584 * elf/Makefile [$(cross-compiling) = no]: Likewise
6585 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6586 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6587 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6588 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6589 * io/Makefile [$(cross-compiling) = no]: Likewise.
6590 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6591 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6592 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6593 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6594 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6595 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6596 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6597 * string/Makefile [$(cross-compiling) = no]: Likewise.
6599 * posix/Makefile ($(objpfx)globtest.out): Pass
6600 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6601 $(rtld-installed-name).
6602 * posix/globtest.sh (elf_objpfx): Remove variable.
6603 (rtld_installed_name): Likewise.
6604 (library_path): Likewise.
6605 (run_program_prefix): New variable. Use for running globtest
6608 2012-10-23 Jim Blandy <jimb@codesourcery.com>
6609 Joseph Myers <joseph@codesourcery.com>
6611 * Makeconfig (host-built-program-cmd): New variable.
6612 * elf/Makefile (tst-stackguard1-ARGS): Use
6613 $(host-built-program-cmd).
6614 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6615 (tst-spawn-ARGS): Likewise.
6616 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6618 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6619 Jim Blandy <jimb@codesourcery.com>
6621 * Makeconfig (run-via-rtld-prefix): New variable.
6622 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6623 (built-program-cmd): Likewise.
6625 2012-10-22 Andreas Jaeger <aj@suse.de>
6627 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6628 __O_RSYNC if it exists, otherwise to O_SYNC.
6630 2012-10-22 Jim Blandy <jimb@codesourcery.com>
6631 Joseph Myers <joseph@codesourcery.com>
6633 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6635 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6637 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6640 2012-10-22 Andreas Jaeger <aj@suse.de>
6642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6644 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6649 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6650 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6652 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6654 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6657 2012-10-21 Jim Blandy <jimb@codesourcery.com>
6658 Joseph Myers <joseph@codesourcery.com>
6660 * config.make.in (NM): New variable.
6662 2012-10-21 Andreas Jaeger <aj@suse.de>
6664 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6665 definitions and declarations that are provided by
6666 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6668 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6671 * elf/Makefile (tests-static): Add tst-leaks1-static.
6672 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6673 ($(objpfx)tst-leaks1-static): New rule.
6674 ($(objpfx)tst-leaks1-static-mem): Likewise.
6675 (tst-leaks1-static-ENV): New macro.
6676 * elf/dl-open.c (dl_open_worker): Check the main application
6677 only if SHARED is defined.
6678 * elf/tst-leaks1-static.c: New file.
6680 2012-10-20 Andreas Jaeger <aj@suse.de>
6682 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6683 generic values for Linux.
6684 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6685 and declarations that are provided by <bits/fcntl-linux.h> and
6686 include <bits/fcntl-linux.h>.
6687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6688 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6690 2012-10-20 Roland McGrath <roland@hack.frob.com>
6692 * io/fcntl.h: Move include of <bits/types.h> to the top and
6693 include it unconditionally.
6695 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6697 * wcsmbs/Makefile (tests-ifunc): New variable.
6698 (tests): Add $(tests-ifunc).
6699 * wcsmbs/test-wcschr-ifunc.c: New file.
6700 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6701 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6702 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6703 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6704 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6706 * string/Makefile (tests-ifunc): New variable.
6707 (tests): Add $(tests-ifunc).
6708 * string/test-memccpy.c (TEST_NAME): New macro.
6709 * string/test-memchr.c (TEST_NAME): Likewise.
6710 * string/test-memcmp.c (TEST_NAME): Likewise.
6711 * string/test-memcpy.c (TEST_NAME): Likewise.
6712 * string/test-memmem.c (TEST_NAME): Likewise.
6713 * string/test-memmove.c (TEST_NAME): Likewise.
6714 * string/test-memset.c (TEST_NAME): Likewise.
6715 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6716 * string/test-stpcpy.c (TEST_NAME): Likewise.
6717 * string/test-stpncpy.c (TEST_NAME): Likewise.
6718 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6719 * string/test-strcasestr.c (TEST_NAME): Likewise.
6720 * string/test-strcat.c (TEST_NAME): Likewise.
6721 * string/test-strchr.c (TEST_NAME): Likewise.
6722 * string/test-strcmp.c(TEST_NAME): Likewise.
6723 * string/test-strcpy.c (TEST_NAME): Likewise.
6724 * string/test-strcspn.c (TEST_NAME): Likewise.
6725 * string/test-strlen.c (TEST_NAME): Likewise.
6726 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6727 * string/test-strncmp.c (TEST_NAME): Likewise.
6728 * string/test-strncpy.c (TEST_NAME): Likewise.
6729 * string/test-strnlen.c (TEST_NAME): Likewise.
6730 * string/test-strpbrk.c (TEST_NAME): Likewise.
6731 * string/test-strrchr.c (TEST_NAME): Likewise.
6732 * string/test-strspn.c (TEST_NAME): Likewise.
6733 * string/test-strstr.c (TEST_NAME): Likewise.
6734 * string/test-bcopy-ifunc.c: New file.
6735 * string/test-bzero-ifunc.c: Likewise.
6736 * string/test-memccpy-ifunc.c: Likewise.
6737 * string/test-memchr-ifunc.c: Likewise.
6738 * string/test-memcmp-ifunc.c: Likewise.
6739 * string/test-memcpy-ifunc.c: Likewise.
6740 * string/test-memmem-ifunc.c: Likewise.
6741 * string/test-memmove-ifunc.c: Likewise.
6742 * string/test-mempcpy-ifunc.c: Likewise.
6743 * string/test-memset-ifunc.c: Likewise.
6744 * string/test-rawmemchr-ifunc.c: Likewise.
6745 * string/test-stpcpy-ifunc.c: Likewise.
6746 * string/test-stpncpy-ifunc.c: Likewise.
6747 * string/test-strcasecmp-ifunc.c: Likewise.
6748 * string/test-strcasestr-ifunc.c: Likewise.
6749 * string/test-strcat-ifunc.c: Likewise.
6750 * string/test-strchr-ifunc.c: Likewise.
6751 * string/test-strchrnul-ifunc.c: Likewise.
6752 * string/test-strcmp-ifunc.c: Likewise.
6753 * string/test-strcpy-ifunc.c: Likewise.
6754 * string/test-strcspn-ifunc.c: Likewise.
6755 * string/test-strlen-ifunc.c: Likewise.
6756 * string/test-strncasecmp-ifunc.c: Likewise.
6757 * string/test-strncat-ifunc.c: Likewise.
6758 * string/test-strncmp-ifunc.c: Likewise.
6759 * string/test-strncpy-ifunc.c: Likewise.
6760 * string/test-strnlen-ifunc.c: Likewise.
6761 * string/test-strpbrk-ifunc.c: Likewise.
6762 * string/test-strrchr-ifunc.c: Likewise.
6763 * string/test-strspn-ifunc.c: Likewise.
6764 * string/test-strstr-ifunc.c: Likewise.
6766 * debug/Makefile (tests-ifunc): New variable.
6767 (tests): Add $(tests-ifunc).
6768 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6769 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6770 * debug/test-stpcpy_chk-ifunc.c: New file.
6771 * debug/test-strcpy_chk-ifunc.c: Likewise.
6773 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6776 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6777 header is not read in.
6779 2012-10-19 Joseph Myers <joseph@codesourcery.com>
6781 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6782 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6783 directly. Pass built executable to script as
6784 $(built-program-cmd).
6785 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6786 $testprogram without using LD_LIBRARY_PATH and $ldso.
6788 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6789 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6790 $(rtld-installed-name).
6791 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6792 (rtld_installed_name): Likewise.
6793 (library_path): Likewise.
6794 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6795 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6796 $(run-program-prefix) to tst-tables.sh.
6797 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6798 it to run tst-table-from and tst-table-to.
6799 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6800 Pass it to tst-table.sh.
6801 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6802 $(run-program-prefix) to tst-gettext.sh.
6803 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6805 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6807 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6809 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6810 to run tst-gettext2.
6811 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6812 to run tst-translit.
6813 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6814 $(run-program-prefix) to tst-mtrace.sh.
6815 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6817 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6818 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6819 $(rtld-installed-name).
6820 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6821 (rtld_installed_name): Likewise.
6822 (run_program_prefix): New variable. Use it to run wordexp-test.
6824 * Makeconfig (ARCH): Remove all definitions.
6825 (machine): Likewise.
6826 [ARCH]: Remove conditional code.
6827 [!objdir]: Give error.
6828 [!objdir] (objpfx): Remove.
6829 [!objdir] (common-objpfx): Likewise.
6830 [!objdir] (common-objdir): Likewise.
6831 * configure.in (config_makefile): Remove. Hardcode Makefile in
6832 AC_CONFIG_FILES call.
6833 * configure: Regenerated.
6836 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6838 (testout): Likewise.
6840 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6841 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6842 $(rtld-installed-name).
6843 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6844 (rtld_installed_name): Likwise.
6845 (runit): Remove function.
6846 (run_getconf): New variable, Use it for running getconf binary.
6848 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6851 * string/test-memmem.c (check_result): New function.
6852 (do_one_test): Use it.
6853 (check1): New function.
6854 (test_main): Use it.
6856 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6858 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6860 2012-10-18 Joseph Myers <joseph@codesourcery.com>
6862 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6863 (_G_LSEEK64): Likewise.
6864 (_G_MMAP64): Likewise.
6865 (_G_FSTAT64): Likewise.
6866 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6867 (_G_LSEEK64): Likewise.
6868 (_G_MMAP64): Likewise.
6869 (_G_FSTAT64): Likewise.
6870 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6871 unconditional. Call __mmap64 directly.
6872 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6873 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6875 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6876 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6878 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6879 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6881 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6882 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6884 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6885 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6887 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6888 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6889 __fxstat64 directly.
6890 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6891 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6893 (freopen64) [!_G_OPEN64]: Remove conditional code.
6894 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6896 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6897 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6899 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6900 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6902 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6903 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6905 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6906 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6908 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6909 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6911 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6912 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6914 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6916 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6919 * manual/memory.texi (Malloc Tunable Parameters): Add note
6920 about free list pointers overwriting some perturb bytes.
6921 Wording suggested by Roland McGrath.
6923 2012-10-17 Joseph Myers <joseph@codesourcery.com>
6925 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6926 (lgamma_test): Likewise.
6927 (tgamma_test): Likewise.
6929 2012-10-16 Florian Weimer <fweimer@redhat.com>
6932 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6933 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6935 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6937 * NEWS: Mention BZ #14716.
6938 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6939 when removing AVAILABLE1_USES_J macro.
6941 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6943 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6944 (__bswap_64): __uint64_t for unsigned 64-bit int.
6946 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6948 * include/string.h (memmem): Declare libc hidden alias.
6949 * string/memmem.c (memmem): Define libc hidden alias.
6950 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6951 __read, __close instead of open, read, close.
6953 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6955 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6956 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6958 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6959 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6960 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6962 (__rawmemchr_sse2): Likewise.
6963 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6964 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6965 (__strchr_sse2): Likewise.
6966 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6967 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6968 (__strcasecmp_sse2): Likewise.
6969 (__strncasecmp_sse2): Likewise.
6970 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6971 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6972 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6973 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6974 (__strrchr_sse2): Likewise.
6975 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6977 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6978 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6979 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6980 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6981 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6982 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6983 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6984 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6985 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6986 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6987 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6988 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6989 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6990 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6991 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6992 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6993 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6994 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6995 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6996 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6997 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6998 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6999 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7000 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7001 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7002 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7003 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7004 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7005 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7006 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7008 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7010 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7011 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7012 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7013 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7015 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7017 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7018 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7019 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7020 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7022 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7023 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7024 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7025 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7026 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7027 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7028 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7029 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7030 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7031 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7032 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7033 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7034 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7035 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7036 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7037 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7038 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7039 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7040 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7041 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7042 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7043 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7044 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7045 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7046 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7047 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7048 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7049 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7050 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7051 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7052 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7053 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7054 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7055 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7056 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7057 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7058 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7059 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7060 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7061 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7062 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7064 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7065 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7066 * include/ifunc-impl-list.h: New file.
7067 * misc/ifunc-impl-list.c: Likewise.
7068 * misc/Makefile (routines): Add ifunc-impl-list.
7069 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7070 * string/test-string.h: Include <ifunc-impl-list.h>.
7071 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7072 impl_array): New variables.
7073 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7075 (test_init): Call __libc_ifunc_impl_list to initialize
7076 func_list if TEST_IFUNC and TEST_NAME are defined.
7078 * string/Makefile (strop-tests): Add bcopy and bzero.
7079 * string/test-bcopy.c: New file.
7080 * string/test-bzero.c: Likewise.
7081 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7083 * string/test-memset.c: Support bzero test if TEST_BZERO is
7085 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7087 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7089 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7092 2012-10-10 Joseph Myers <joseph@codesourcery.com>
7094 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7095 * configure: Regenerated.
7097 * Makeconfig (+link-static-before-libc): Don't include
7098 $(link-static-libc).
7100 * libio/libio.h (_IO_pos_t): Remove.
7102 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7104 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7107 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7109 * crypt/crypt-entry.c: Include fips-private.h.
7110 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7111 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7112 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7113 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7115 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7117 * crypt/crypt-private.h: Include stdbool.h.
7118 (_ufc_setup_salt_r): Return bool.
7119 * crypt/crypt-entry.c: Include errno.h.
7120 (__crypt_r): Return NULL with EINVAL for bad salt.
7121 * crypt/crypt_util.c (bad_for_salt): New.
7122 (_ufc_setup_salt_r): Check that salt is long enough and within
7123 the specified alphabet.
7124 * crypt/badsalttest.c: New file.
7125 * crypt/Makefile (tests): Add it.
7126 ($(objpfx)badsalttest): New.
7128 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7130 * NEWS: Add entry for BZ #14602.
7132 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7134 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7136 * math/libm-test.inc: Update comment listing what functions and
7138 (isgreater_test): New function.
7139 (isgreaterequal_test): Likewise.
7140 (isless_test): Likewise.
7141 (islessequal_test): Likewise.
7142 (islessgreater_test): Likewise.
7143 (isunordered_test): Likewise.
7144 (main): Call the new functions.
7146 2012-10-09 Roland McGrath <roland@hack.frob.com>
7148 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7149 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7150 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7151 * sysdeps/i386/configure: Regenerated.
7152 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7153 * sysdeps/mach/configure: Regenerated.
7154 * sysdeps/mach/hurd/configure: Regenerated.
7155 * sysdeps/powerpc/configure: Regenerated.
7156 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7157 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7158 * sysdeps/s390/s390-32/configure: Regenerated.
7159 * sysdeps/s390/s390-64/configure: Regenerated.
7160 * sysdeps/sh/configure: Regenerated.
7161 * sysdeps/sparc/configure: Regenerated.
7162 * sysdeps/unix/sysv/linux/configure: Regenerated.
7163 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7164 * sysdeps/x86_64/configure: Regenerated.
7166 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7167 defined. Don't check if MAP is NULL.
7169 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7171 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7172 (_G_stat64): Likewise.
7173 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7174 (_G_stat64): Likewise.
7175 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7176 instead of struct _G_stat64.
7177 * libio/fileops.c (mmap_remap_check): Likewise.
7178 (decide_maybe_mmap): Likewise.
7179 (_IO_new_file_seekoff): Likewise.
7180 (_IO_file_stat): Likewise.
7181 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7183 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7184 instead of struct _G_stat64.
7185 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7187 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7190 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7192 (CHECK_EOL): New macro.
7193 (two_way_short_needle): Check beginning of haystack for EOL. Use
7195 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7196 Replace with CHECK_EOL.
7197 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7198 Replace with CHECK_EOL.
7200 2012-10-08 Joseph Myers <joseph@codesourcery.com>
7202 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7204 * math/libm-test.inc: Update comment listing what functions and
7206 (finite_test): New function.
7207 (isinf_test): Likewise.
7208 (isnan_test): Likewise.
7209 (fpclassify_test): Test subnormal input.
7210 (isfinite_test): Likewise.
7211 (isnormal_test): Likewise.
7212 (main): Call the new functions.
7214 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7217 * Makerules (%.dynsym): Force C locale when running
7218 $(OBJDUMP) --dynamic-syms.
7220 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7222 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7225 2012-10-06 David S. Miller <davem@davemloft.net>
7227 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7228 upper 32-bits of the length value in %o2 since we use branch-on-register
7229 tests which consider the entire 64-bit register.
7231 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7233 * string/test-strstr.c (check2): Add a test for page boundary.
7235 2012-10-05 David S. Miller <davem@davemloft.net>
7237 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7238 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7240 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7242 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7243 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7244 and bzero when HWCAP_SPARC_CRYPTO is present.
7246 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7249 * string/test-strstr.c (check2): New function.
7250 (test_main): Call check2.
7252 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7254 * string/bug-strcasestr1.c (do_test): Moved to ...
7255 * string/test-strcasestr.c (check1): Here. New function.
7256 (do_one_test): Break out result checking code into ...
7257 (check_result): This. New function.
7258 (do_one_test): Call check_result.
7259 (test_main): Call check1.
7260 * string/bug-strchr1.c (do_test): Moved to ...
7261 * string/test-strchr.c (check1): Here. New function.
7262 (do_one_test): Break out result checking code into ...
7263 (check_result): This. New function.
7264 (do_one_test): Call check_result.
7265 (test_main): Call check1.
7266 * string/bug-strstr1.c (main): Moved to ...
7267 * string/test-strstr.c (check1): Here. New function.
7268 (do_one_test): Break out result checking code into ...
7269 (check_result): This. New function.
7270 (do_one_test): Call check_result.
7271 (test_main): Call check1.
7272 * string/bug-strcasestr1.c: Removed.
7273 * string/bug-strchr1.c: Likewise.
7274 * string/bug-strstr1.c: Likewise.
7276 * elf/Makefile (dl-routines): Add hwcaps.
7277 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7278 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7279 (_dl_important_hwcaps): Moved to ...
7280 * elf/dl-hwcaps.c: Here. New file.
7281 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7284 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7285 if IS_IN_rtld isn't defined.
7287 * elf/dl-support.c (_dl_sysinfo_map): New.
7288 Include "get-dynamic-info.h" and "setup-vdso.h".
7289 (_dl_non_dynamic_init): Call setup_vdso.
7290 * elf/dynamic-link.h: Don't include <assert.h>.
7291 (elf_get_dynamic_info): Moved to ...
7292 * elf/get-dynamic-info.h: Here. New file.
7293 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7294 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7295 * elf/setup-vdso.h: Here. New file.
7296 * elf/rtld.c: Include "setup-vdso.h".
7297 (dl_main): Call setup_vdso.
7299 2012-10-05 Joseph Myers <joseph@codesourcery.com>
7301 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7302 creal in comment listing functions tested. List finite, isinf,
7303 isnan, isless, islessequal, isgreater, isgreaterequal,
7304 islessgreater, isunordered, lgamma_r and pow10 as functions and
7305 macros not tested. Mention which functions not tested are aliases
7306 for other functions. Fix typo. Note that signs of NaNs are not
7309 * scripts/config.guess: Update from config.git.
7310 * scripts/config.sub: Likewise.
7312 2012-10-04 Roland McGrath <roland@hack.frob.com>
7314 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7315 * misc/madvise.c (madvise): Renamed to __madvise.
7316 Make madvise a weak alias.
7317 * include/sys/mman.h: Declare __madvise.
7318 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7319 * sysdeps/unix/syscalls.list
7320 (madvise): Make __madvise the strong name, and madvise a weak alias.
7321 * sysdeps/unix/sysv/linux/syscalls.list
7322 (madvise, mmap): Remove redundant entries.
7323 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7324 * malloc/malloc.c (mtrim): Likewise.
7325 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7327 2012-10-03 Roland McGrath <roland@hack.frob.com>
7329 * sysdeps/mach/hurd/dl-cache.c: File removed.
7330 * config.h.in (USE_LDCONFIG): New #undef.
7331 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7332 * configure: Regenerated.
7333 * elf/Makefile (dl-routines): Add dl-cache only under
7334 [$(use-ldconfig) = yes].
7335 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7336 cache on [USE_LDCONFIG].
7337 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7339 * elf/rtld.c (dl_main): Likewise.
7341 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7343 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7344 _SC_LEVEL4_CACHE_LINESIZE.
7346 2012-10-03 Roland McGrath <roland@hack.frob.com>
7348 * sysdeps/unix/bsd/confstr.h: File removed.
7350 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
7352 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7355 2012-10-02 Roland McGrath <roland@hack.frob.com>
7357 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7358 Make 'mapoff' field ElfW(Off) rather than off_t.
7360 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7362 * nscd/Makefile: Remove nscd-cflags and all its users.
7363 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7364 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7367 * malloc.c (malloc_printerr): Clarify error message.
7369 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7373 Set bit_FMA_Usable if FMA is supported.
7374 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7376 (bit_FMA4_Usable): Updated.
7377 (index_FMA_Usable): New macro.
7378 (CPUID_FMA): Likewise
7379 (HAS_FMA): Defined with bit_FMA_Usable.
7381 2012-10-01 Roland McGrath <roland@hack.frob.com>
7383 * bits/types.h (__swblk_t): Type removed.
7384 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7385 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7386 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7387 (__SWBLK_T_TYPE): Likewise.
7388 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7389 (__SWBLK_T_TYPE): Likewise.
7390 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7391 (__SWBLK_T_TYPE): Likewise.
7392 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7393 (__SWBLK_T_TYPE): Likewise.
7395 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
7396 Honza Horak <hhorak@redhat.com>
7398 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7399 (xdr_mapname): Use YPMAXMAP as maxsize.
7400 (xdr_peername): Use YPMAXPEER as maxsize.
7401 (xdr_keydat): Use YPAXRECORD as maxsize.
7402 (xdr_valdat): Use YPMAXRECORD as maxsize.
7404 2012-10-01 Roland McGrath <roland@hack.frob.com>
7406 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7408 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7409 * csu/init-first.c: ... here.
7410 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7411 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7412 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7413 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7414 * sysdeps/i386/init-first.c: File removed.
7415 * sysdeps/sh/init-first.c: File removed.
7417 2012-10-01 Joseph Myers <joseph@codesourcery.com>
7420 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7421 if x * y might underflow to zero and z is zero.
7422 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7423 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7424 * math/libm-test.inc (min_subnorm_value): New variable.
7425 (fma_test): Add more tests.
7426 (fma_test_towardzero): Likewise.
7427 (fma_test_downward): Likewise
7428 (fma_test_upward): Likewise.
7429 (initialize): Set min_subnorm_value.
7431 2012-09-29 Joseph Myers <joseph@codesourcery.com>
7434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7436 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7437 mode for addition resulting in exact zero.
7438 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7439 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7441 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7442 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7443 * math/libm-test.inc (fma_test): Add more tests.
7444 (fma_test_towardzero): New function.
7445 (fma_test_downward): Likewise.
7446 (fma_test_upward): Likewise.
7447 (main): Call the new functions.
7449 2012-09-28 David S. Miller <davem@davemloft.net>
7451 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7453 2012-09-28 Roland McGrath <roland@hack.frob.com>
7455 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7458 * sysdeps/gnu/_G_config.h: Moved to ...
7459 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7460 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7461 * sysdeps/generic/_G_config.h: ... here.
7463 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7465 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7467 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7468 Conditionalize target on [libnss_test1.so-version].
7470 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7472 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7473 (elfobjdir): Move out of conditionals.
7475 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7476 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7477 (__nss_lookup_function): Conditionalize label remove_from_tree on
7478 [!DO_STATIC_NSS || SHARED], matching its only use.
7480 2012-09-28 David S. Miller <davem@davemloft.net>
7482 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7483 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7485 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7487 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7488 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7489 when HWCAP_SPARC_CRYPTO is present.
7491 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7493 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7495 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7498 * stdio-common/vfprintf.c (process_string_arg): Revert
7501 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7503 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7505 * stdio-common/tst-sprintf.c: Include <locale.h>
7506 (main): Test sprintf's handling of incomplete multibyte
7509 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7511 * elf/dl-runtime.c (VERSYMIDX): Removed.
7512 * elf/dl-version.c (VERSYMIDX): Likewise.
7513 * elf/do-rel.h (VERSYMIDX): Likewise.
7515 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7516 * elf/rtld.c (VALIDX): Likewise.
7517 (ADDRIDX): Likewise.
7518 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7519 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7520 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7521 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7523 (ADDRIDX): Likewise.
7525 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7527 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7529 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7532 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7534 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7535 addresses are in the same scope as 192.0.2/24.
7536 * posix/gai.conf: Document new scope table defaults.
7538 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7541 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7542 for ftell. Compute offsets from write pointers instead.
7543 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7545 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7548 * libio/Makefile (tests): New test case tst-fseek.
7549 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7550 combination works in wide mode.
7551 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7552 state when the external buffer state changes.
7554 2012-09-27 David S. Miller <davem@davemloft.net>
7557 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7558 pass reloc->r_addend in as the 'high' argument to
7559 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7563 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7565 * rt/tst-aio2.c: Include <pthread.h>.
7566 * rt/tst-aio3.c: Likewise.
7568 2012-09-27 Steve Ellcey <sellcey@mips.com>
7570 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7572 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7574 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7575 contents on [SHARED].
7577 2012-09-26 Marek Polacek <polacek@redhat.com>
7581 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7582 for C++ and GCC <4.3 as well as for non GCC compilers.
7584 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7586 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7588 2012-09-25 Roland McGrath <roland@hack.frob.com>
7590 * Makefile.in (all, install): Declare with .PHONY.
7591 Reported by Michael Hope <michael.hope@linaro.org>.
7593 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7595 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7596 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7598 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7600 (sydep_routines): Add the new and the internal functions.
7601 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7602 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7604 (GLIBC_2.17): Add the new function.
7605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7606 (GLIBC_2.17): Likewise.
7607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7608 (GLIBC_2.17): Likewise.
7609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7610 (GLIBC_2.17): Likewise.
7611 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7613 2012-09-25 Alan Modra <amodra@gmail.com>
7615 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7616 Add release barrier before setting once_control to say
7617 initialisation is done. Add hints on lwarx. Use macro in
7619 (clear_once_control): Add release barrier.
7621 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7624 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7626 * math/s_clog10.c (__clog10): Likewise.
7627 * math/s_clog10f.c (__clog10f): Likewise.
7628 * math/s_clog10l.c (__clog10l): Likewise.
7629 * math/s_clogf.c (__clogf): Likewise.
7630 * math/s_clogl.c (__clogl): Likewise.
7631 * math/Makefile (libm-calls): Add x2y2m1.
7632 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7633 (__x2y2m1): Likewise.
7634 (__x2y2m1l): Likewise.
7635 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7636 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7637 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7638 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7639 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7640 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7641 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7642 * sysdeps/i386/fpu/libm-test-ulps: Update.
7643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7646 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7647 int as type of variable DEPTH.
7648 (glob): Use size_t instead of int as type of variables NEWCOUNT
7651 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7653 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7655 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7656 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7657 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7658 macros for using routine as __sincosf_ia32.
7659 Use macro for function declaration and weak_alias.
7660 * sysdeps/i386/fpu/libm-test-ulps: Update.
7662 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7665 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7667 * math/s_cexpf.c (__cexpf): Likewise.
7668 * math/s_csinf.c (__csinf): Likewise.
7669 * math/s_csinhf.c (__csinhf): Likewise.
7670 * math/s_ctanf.c (__ctanf): Likewise.
7671 * math/s_ctanhf.c (__ctanhf): Likewise.
7672 * math/s_ccosh.c (__ccoshf): Likewise.
7673 * math/s_cexp.c (__cexpl): Likewise.
7674 * math/s_csin.c (__csin): Likewise.
7675 * math/s_csinh.c (__csinh): Likewise.
7676 * math/s_ctan.c (__ctan): Likewise.
7677 * math/s_ctanh.c (ctanh): Likewise.
7678 * math/s_ccoshl.c (__ccoshl): Likewise.
7679 * math/s_cexpl.c (__cexpl): Likewise.
7680 * math/s_csinl.c (__csinl): Likewise.
7681 * math/s_csinhl.c (__csinhl): Likewise.
7682 * math/s_ctanl.c (__ctanl): Likewise.
7683 * math/s_ctanhl.c (__ctanhl): Likewise.
7685 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7687 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7688 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7689 (_IO_off_t): Define to __off_t, not _G_off_t.
7690 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7691 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7692 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7693 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7694 type of __dummy and __dummy2 fields.
7695 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7696 (_G_ssize_t): Likewise.
7697 (_G_off_t): Likewise.
7698 (_G_pid_t): Likewise.
7699 (_G_uid_t): Likewise.
7700 (_G_wchar_t): Likewise.
7701 (_G_wint_t): Likewise.
7702 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7703 (_G_ssize_t): Likewise.
7704 (_G_off_t): Likewise.
7705 (_G_pid_t): Likewise.
7706 (_G_uid_t): Likewise.
7707 (_G_wchar_t): Likewise.
7708 (_G_wint_t): Likewise.
7709 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7710 (_G_ssize_t): Likewise.
7711 (_G_off_t): Likewise.
7712 (_G_pid_t): Likewise.
7713 (_G_uid_t): Likewise.
7714 (_G_wchar_t): Likewise.
7715 (_G_wint_t): Likewise.
7717 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7719 * malloc/arena.c: Include malloc-sysdep.h.
7720 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7721 is sufficient to shrink the heap or an unmap is needed.
7722 * sysdeps/generic/malloc-sysdep.h: New file. Define
7723 new function check_may_shrink_heap.
7724 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7725 new function check_may_shrink_heap.
7727 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7729 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7732 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7734 * catgets/test-gencat.sh: Add "set -e".
7735 * elf/tst-pathopt.sh: Likewise.
7736 * grp/tst_fgetgrent.sh: Likewise.
7737 * iconvdata/run-iconv-test.sh: Likewise.
7738 * intl/tst-gettext.sh: Likewise.
7739 * intl/tst-gettext2.sh: Likewise.
7740 * intl/tst-gettext4.sh: Likewise.
7741 * intl/tst-gettext6.sh: Likewise.
7742 * intl/tst-translit.sh: Likewise.
7743 * io/ftwtest-sh: Likewise.
7744 * libio/test-freopen.sh: Likewise.
7745 * malloc/tst-mtrace.sh: Likewise.
7746 * posix/globtest.sh: Likewise.
7747 * posix/tst-getconf.sh: Likewise.
7748 * posix/wordexp-tst.sh: Likewise.
7749 * stdio-common/tst-printf.sh: Likewise.
7750 * stdio-common/tst-unbputc.sh: Likewise.
7751 * stdlib/tst-fmtmsg.sh: Likewise.
7752 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7753 * catgets/Makefile: Do not specify -e option when running
7754 testsuite shell scripts.
7755 * elf/Makefile: Likewise.
7756 * grp/Makefile: Likewise.
7757 * iconvdata/Makefile: Likewise.
7758 * intl/Makefile: Likewise.
7759 * io/Makefile: Likewise.
7760 * libio/Makefile: Likewise.
7761 * malloc/Makefile: Likewise.
7762 * posix/Makefile: Likewise.
7763 * stdio-common/Makefile: Likewise.
7764 * stdlib/Makefile: Likewise.
7765 * sysdeps/x86_64/Makefile: Likewise.
7767 * io/ftwtest-sh: Add copyright header.
7768 * posix/globtest.sh: Likewise.
7769 * posix/tst-getconf.sh: Likewise.
7770 * posix/wordexp-tst.sh: Likewise.
7771 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7773 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7776 * Makeconfig (+link): Defined as $(+link-static) if
7777 $(build-shared) isn't yes.
7778 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7780 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7782 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7785 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7786 new chunk size with MALLOC_ALIGN_MASK.
7788 2012-09-24 Joseph Myers <joseph@codesourcery.com>
7791 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7793 (__printf_fphex): Determine rounding using get_rounding_mode and
7795 * stdio-common/tst-printf-round.c (struct hex_test): New
7797 (hex_tests): New variable.
7798 (test_hex_in_one_mode): New function.
7799 (do_test): Also run tests for hex float output.
7801 2012-09-21 Joseph Myers <joseph@codesourcery.com>
7803 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7804 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7805 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7806 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7807 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7808 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7809 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7810 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7812 2012-09-20 Joseph Myers <joseph@codesourcery.com>
7814 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7815 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7816 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7817 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7819 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7822 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7824 * elf/tst-rtld-load-self.sh: New test.
7825 * elf/Makefile: Run it.
7827 2012-09-18 Joseph Myers <joseph@codesourcery.com>
7829 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7830 (tst-writev-ENV): Remove.
7831 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7833 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7835 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7837 2012-09-17 Joseph Myers <joseph@codesourcery.com>
7839 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7841 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7843 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7844 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7845 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7848 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7851 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7852 * config.make.in (have-cpp-asm-debuginfo): Removed.
7853 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7854 * configure: Regenerated.
7856 2012-09-14 Joseph Myers <joseph@codesourcery.com>
7859 * stdio-common/printf_fp.c: Include <stdbool.h> and
7861 (___printf_fp): Determine rounding using get_rounding_mode and
7863 * stdio-common/tst-printf-round.c: New file.
7864 * stdio-common/Makefile (tests): Add tst-printf-round.
7865 (link-libm): New variable.
7866 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7868 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7871 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7872 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7874 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7877 2012-09-13 Joseph Myers <joseph@codesourcery.com>
7879 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7880 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7881 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7882 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7884 2012-09-12 Joseph Myers <joseph@codesourcery.com>
7887 * include/rounding-mode.h: New file.
7888 * sysdeps/generic/get-rounding-mode.h: Likewise.
7889 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7890 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7891 (MAX_VALUE): New macro.
7892 (MIN_VALUE): Likewise.
7893 (overflow_value): New function.
7894 (underflow_value): Likewise.
7895 (round_and_return): Use overflow_value and underflow_value to
7896 determine return values in overflow and underflow cases. Use
7897 round_away to determine rounding depending on rounding mode.
7898 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7899 determine return values in overflow and underflow cases.
7900 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7901 (struct test_results): New structure.
7902 (struct test): Use struct test_results to store expected results
7903 for all rounding modes.
7904 (TEST): Include expected results for all rounding modes.
7905 (test_in_one_mode): New function.
7906 (do_test): Use test_in_one_mode to compute and check results.
7907 Check results for all rounding modes.
7908 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7911 2012-12-09 Allan McRae <allan@archlinux.org>
7913 * sysdeps/i386/fpu/libm-test-ulps: Update
7915 2012-09-11 Joseph Myers <joseph@codesourcery.com>
7917 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7918 (_G_int32_t): Likewise.
7919 (_G_uint16_t): Likewise.
7920 (_G_uint32_t): Likewise.
7921 (_G_HAVE_BOOL): Likewise.
7922 (_G_HAVE_ATEXIT): Likewise.
7923 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7924 (_G_HAVE_IO_FILE_OPEN): Likewise.
7925 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7926 (_G_int32_t): Likewise.
7927 (_G_uint16_t): Likewise.
7928 (_G_uint32_t): Likewise.
7929 (_G_HAVE_BOOL): Likewise.
7930 (_G_HAVE_ATEXIT): Likewise.
7931 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7932 (_G_HAVE_IO_FILE_OPEN): Likewise.
7933 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7934 (_G_int32_t): Likewise.
7935 (_G_uint16_t): Likewise.
7936 (_G_uint32_t): Likewise.
7937 (_G_HAVE_BOOL): Likewise.
7938 (_G_HAVE_ATEXIT): Likewise.
7939 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7940 (_G_HAVE_IO_FILE_OPEN): Likewise.
7942 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7944 * csu/libc-tls.c: Update copyright years.
7946 2012-09-10 Joseph Myers <joseph@codesourcery.com>
7948 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7949 [!_G_USING_THUNKS]: Remove conditional code.
7950 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7951 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7953 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7954 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7955 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7956 (_G_VTABLE_LABEL_PREFIX): Likewise.
7957 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7958 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7959 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7960 (_G_VTABLE_LABEL_PREFIX): Likewise.
7961 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7962 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7963 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7964 (_G_VTABLE_LABEL_PREFIX): Likewise.
7965 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7967 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7969 * libio/Makefile: Include ../Makeconfig before tests.
7970 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7971 only if $(build-shared) is yes.
7973 * iconv/gconv_db.c: Update copyright years.
7975 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7977 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7978 unwind info if defined PIC. Fix special cases description.
7979 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7981 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7983 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7985 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7987 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7989 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7992 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7993 (LDLIBS-tst-chk4): This.
7994 (LDFLAGS-tst-chk5): Renamed to ...
7995 (LDLIBS-tst-chk5): This.
7996 (LDFLAGS-tst-chk6): Renamed to ...
7997 (LDLIBS-tst-chk6): This.
7998 (LDFLAGS-tst-lfschk4): Renamed to ...
7999 (LDLIBS-tst-lfschk4): This.
8000 (LDFLAGS-tst-lfschk5): Renamed to ...
8001 (LDLIBS-tst-lfschk5): This.
8002 (LDFLAGS-tst-lfschk6): Renamed to ...
8003 (LDLIBS-tst-lfschk6): This.
8005 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8006 on $(common-objpfx)soversions.mk.
8008 2012-09-07 Joseph Myers <joseph@codesourcery.com>
8011 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8014 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8016 * malloc/arena.c (arena_get_retry): New function that gets
8017 another arena for the caller to try its request on.
8018 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8019 current arena cannot fulfill the request.
8020 (__libc_memalign): Likewise.
8021 (__libc_memalign): Likewise.
8022 (__libc_pvalloc): Likewise.
8023 (__libc_calloc): Likewise.
8025 2012-09-05 John Tobey <john.tobey@gmail.com>
8028 * manual/arith.texi (Operations on Complex): Fix description
8031 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8034 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8038 * manual/memory.texi (Memory): Make order of menu items match
8041 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8043 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8044 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8045 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8047 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8049 * csu/libc-tls.c (static_dtv): Renamed to ...
8050 (_dl_static_dtv): This. Make it global.
8051 (_dl_initial_dtv): Removed.
8052 (__libc_setup_tls): Updated.
8053 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8054 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8057 2012-09-06 Petr Machata <pmachata@redhat.com>
8059 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8060 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8061 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8062 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8064 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8067 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8068 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8071 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8074 * Makeconfig (link-static-before-libc): Replace $(+prector)
8076 (link-static-after-libc): Replace $(+postctor) with
8078 (link-bounded): Replace $(+prector)/$(+postctor) with
8079 $(+prectorT)/$(+postctorT).
8080 (+prectorT): New macro.
8081 (+postctorT): Likewise.
8083 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8085 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8086 (round_str): Handle values above the maximum for IBM long double
8088 * stdlib/tst-strtod-round.c (tests): Regenerated.
8090 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8092 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8094 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8095 zarch_nohighgprs around the zarch optimized routines.
8096 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8097 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8098 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8101 2012-09-05 David S. Miller <davem@davemloft.net>
8103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8105 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8106 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8107 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8108 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8111 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8113 * malloc/arena.c: Fold copyright years.
8114 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8116 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8118 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8120 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8122 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8124 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8126 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8127 change internal state upon failure.
8129 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8131 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8132 * malloc/memusage.c (mmap): Likewise.
8133 (mmap64, mremap): Likewise. Adjust name in comment.
8135 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8137 * libio/fileops.c: Fix typos in comments.
8138 * libio/oldfileops.c: Likewise.
8139 * libio/wfileops.c: Likewise.
8141 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8144 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8145 (tst-malloc-usable-ENV): Set environment for test case.
8146 * malloc/hooks.c (malloc_check_get_size): New function to get
8148 * malloc/malloc.c (musable): Use malloc_check_get_size.
8149 * malloc/tst-malloc-usable.c: New test case.
8151 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8153 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8155 2012-09-05 Allan McRae <allan@archlinux.org>
8158 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8159 determine header location.
8160 * configure: Regenerated.
8162 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8164 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8166 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8167 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8171 2012-09-04 David S. Miller <davem@davemloft.net>
8173 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8174 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8175 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8177 2012-09-04 Florian Weimer <fweimer@redhat.com>
8179 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8182 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8184 2012-09-04 Joseph Myers <joseph@codesourcery.com>
8187 * libio/iogetdelim.c: Include <limits.h>.
8188 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8189 + len + 1 would overflow.
8191 2012-09-03 Andreas Jaeger <aj@suse.de>
8193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8194 * sysdeps/i386/fpu/libm-test-ulps: Update.
8196 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8198 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8199 Add s_sinf-sse2, s_conf-sse2.
8201 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8202 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8203 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8204 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8206 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8207 for using routine as __sinf_ia32.
8208 Use macro for function declaration and weak_alias.
8209 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8210 for using routine as __cosf_ia32.
8211 Use macro for function declaration and weak_alias.
8213 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8214 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8216 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8217 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8218 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8220 * math/libm-test.inc (cos_test): Add more test cases.
8221 (sin_test): Likewise.
8222 (sincos_test): Likewise.
8224 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8226 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8227 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8229 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8231 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8234 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8235 first element of the GOT.
8236 (elf_machine_load_address): Return the difference between
8237 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8239 2012-09-01 Allan McRae <allan@archlinux.org>
8242 * configure.in (AWK): Require gawk version 3.0 or later.
8243 * configure: Regenerated.
8245 2012-09-01 Joseph Myers <joseph@codesourcery.com>
8247 * sysdeps/unix/sysv/linux/kernel-features.h
8248 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8249 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8250 [__NR_clock_getres]: Make code unconditional.
8251 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8252 (clock_getcpuclockid): Remove code left unreachable by removal of
8254 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8256 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8257 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8258 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8259 Make code unconditional.
8260 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8261 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8262 * sysdeps/unix/sysv/linux/clock_settime.c
8263 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8265 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8266 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8268 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8271 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8272 scripts/test-installation.pl.
8274 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8275 and $ld_so_version if it is set.
8277 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8280 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8281 failure if reading from procfs failed.
8282 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8284 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8286 * sysdeps/unix/sysv/linux/kernel-features.h
8287 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8288 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8289 Remove conditional code.
8290 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8291 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8292 Remove conditional code.
8293 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8294 * sysdeps/unix/sysv/linux/i386/fxstat.c
8295 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8296 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8297 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8298 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8299 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8300 * sysdeps/unix/sysv/linux/i386/lxstat.c
8301 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8302 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8303 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8304 Remove conditional code.
8305 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8306 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8307 Remove conditional code.
8308 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8309 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8310 <kernel-features.h>.
8311 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8313 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8314 Remove conditional code.
8315 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8316 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8319 2012-08-27 Mike Frysinger <vapier@gentoo.org>
8322 * NEWS: Add fixed bug number.
8324 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8327 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8328 underflowing exponent in case of negative sign.
8329 * stdlib/tst-strtod-round-data: Add more tests.
8330 * stdlib/tst-strtod-round.c (tests): Regenerated.
8333 * stdlib/strtod_l.c (NDIG): Remove.
8334 (HEXNDIG): Likewise.
8335 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8336 smallest representable value.
8337 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8338 lie within an exact representation of 1/2 ulp of the result.
8339 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8341 (TENS_P9_IDX): Define unconditionally.
8342 (TENS_P9_SIZE): Likewise.
8343 (TENS_P10_IDX): Likewise.
8344 (TENS_P10_SIZE): Likewise.
8345 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8346 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8347 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8348 entries for 10^2^13 and 10^2^14.
8349 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8350 (TENS_P13_IDX): Define.
8351 (TENS_P13_SIZE): Likewise.
8352 (TENS_P14_IDX): Likewise.
8353 (TENS_P14_SIZE): Likewise.
8354 (_fpioconst_pow10): Change array size to
8355 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8357 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8358 1024]: Add entries for 10^2^13 and 10^2^14.
8359 [LAST_POW10 > _LAST_POW10]: Remove #error.
8360 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8361 (_fpioconst_pow10): Change array size to
8362 FPIOCONST_POW10_ARRAY_SIZE.
8363 * stdlib/gen-fpioconst.c: New file.
8364 * stdlib/gen-tst-strtod-round.c: Likewise.
8365 * stdlib/tst-strtod-round-data: Likewise.
8366 * stdlib/tst-strtod-round.c: Likewise.
8367 * stdlib/Makefile (tests): Add tst-strtod-round.
8370 * stdlib/strtod_l.c: Include <stdint.h>.
8371 (NDEBUG): Do not define.
8372 (round_and_return): Change EXPONENT parameter to type intmax_t.
8373 Rearrange calculations to avoid internal overflow possibilities.
8374 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8375 Rearrange calculations to avoid internal overflow possibilities.
8376 Assert that number fits inside MPNSIZE limbs.
8377 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8378 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8379 calculations and add assertions to avoid internal overflow
8380 possibilities. Add casts to avoid signed/unsigned operations.
8381 * stdlib/tst-strtod-overflow.c: New file.
8382 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8384 2012-08-25 Marek Polacek <polacek@redhat.com>
8386 * time/time.h: Fix some typos in comments.
8388 2012-08-23 Roland McGrath <roland@hack.frob.com>
8390 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8391 * posix/tst-rfc3484-2.c: Likewise.
8392 * posix/tst-rfc3484-3.c: Likewise.
8394 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8396 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8397 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8399 2012-08-23 Joseph Myers <joseph@codesourcery.com>
8401 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8402 #include of fxstatat64.c.
8404 2012-08-22 Roland McGrath <roland@hack.frob.com>
8406 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8407 * shadow/getspent_r.c: Likewise.
8408 * shadow/getspnam.c: Likewise.
8409 * shadow/getspnam_r.c: Likewise.
8410 * gshadow/getsgent.c: Likewise.
8411 * gshadow/getsgent_r.c: Likewise.
8412 * gshadow/getsgnam.c: Likewise.
8413 * gshadow/getsgnam_r.c: Likewise.
8414 * inet/getnetbyad.c: Likewise.
8415 * inet/getnetbyad_r.c: Likewise.
8416 * inet/getnetbynm.c: Likewise.
8417 * inet/getnetbynm_r.c: Likewise.
8418 * inet/getnetent.c: Likewise.
8419 * inet/getnetent_r.c: Likewise.
8420 * inet/getproto.c: Likewise.
8421 * inet/getproto_r.c: Likewise.
8422 * inet/getprtent.c: Likewise.
8423 * inet/getprtent_r.c: Likewise.
8424 * inet/getprtname.c: Likewise.
8425 * inet/getprtname_r.c: Likewise.
8426 * inet/getrpcbyname.c: Likewise.
8427 * inet/getrpcbyname_r.c: Likewise.
8428 * inet/getrpcbynumber.c: Likewise.
8429 * inet/getrpcbynumber_r.c: Likewise.
8430 * inet/getrpcent.c: Likewise.
8431 * inet/getrpcent_r.c: Likewise.
8432 * inet/getaliasent.c: Likewise.
8433 * inet/getaliasent_r.c: Likewise.
8434 * inet/getaliasname.c: Likewise.
8435 * inet/getaliasname_r.c: Likewise.
8436 * nscd/getgrgid_r.c: Likewise.
8437 * nscd/getgrnam_r.c: Likewise.
8438 * nscd/gethstbyad_r.c: Likewise.
8439 * nscd/gethstbynm3_r.c: Likewise.
8440 * nscd/getpwnam_r.c: Likewise.
8441 * nscd/getpwuid_r.c: Likewise.
8442 * nscd/getsrvbynm_r.c: Likewise.
8443 * nscd/getsrvbypt_r.c: Likewise.
8444 * nscd/gai.c: Likewise.
8446 * configure.in (build_nscd): New substituted variable, set
8447 by --disable-build-nscd and defaults to $use_nscd.
8448 * configure: Regenerated.
8449 * config.make.in (build-nscd): New substituted variable.
8450 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8451 Change conditional to require [$(build-nscd) = yes] as well.
8452 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8455 * configure.in (use_nscd): New substituted variable, set by
8456 --disable-nscd. If enabled, define USE_NSCD.
8457 * configure: Regenerated.
8458 * config.h.in: Add USE_NSCD.
8459 * config.make.in (use-nscd): New substituted variable.
8460 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8461 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8462 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8463 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8464 (CFLAGS-getgrnam_r.c): Likewise.
8465 (CFLAGS-initgroups.c): Likewise.
8466 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8467 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8469 * inet/getnetgrent_r.c
8470 (nscd_setnetgrent): New function, broken out of ...
8471 (setnetgrent): ... here. Call it.
8472 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8473 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8474 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8475 * nscd/Makefile (routines, aux): Move definitions after include of
8476 Makeconfig. Conditionalize on [$(use-nscd) != no].
8477 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8478 Conditionalize on [USE_NSCD].
8479 (is_nscd, nscd_init_cb): Likewise.
8480 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8481 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8482 * nss/nss_db/db-init.c: Likewise.
8483 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8485 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8486 (make_request): Use it.
8487 (cache_valid_p): New function.
8488 (__check_pf): Use it.
8489 * NEWS: Add item for --disable-nscd.
8491 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8493 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8494 to support sed >= 4.2.1-20-ga9bf076.
8495 * configure: Regenerated.
8497 2012-08-22 Roland McGrath <roland@hack.frob.com>
8499 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8500 Conditionalize whole body on [IREL].
8502 2012-08-22 Jeff Law <law@redhat.com>
8505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8506 if the family is PF_UNSPEC.
8508 2012-08-22 Mike Frysinger <vapier@gentoo.org>
8510 * Makerules (lib-version): Rename from V.
8511 (install-lib-nosubdir): Change V to lib-version.
8513 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8516 * powerpc32/power6/wcschr.c: New file.
8517 * powerpc32/power6/wcscpy.c: New file.
8518 * powerpc32/power6/wcsrchr.c: New file.
8519 * powerpc64/power6/wcschr.c: New file.
8520 * powerpc64/power6/wcscpy.c: New file.
8521 * powerpc64/power6/wcsrchr.c: New file.
8523 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8525 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8526 (two_way_short_needle): Use it.
8527 * string/strstr.c (AVAILABLE1_USES_J): Define.
8528 * string/strcasestr.c: Likewise.
8530 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8532 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8535 * NEWS: Add an entry.
8536 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8537 define their defaults.
8538 (two_way_short_needle): Detect end-of-string on-the-fly.
8539 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8540 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8541 * string/bug-strcasestr1.c: New test.
8542 * string/Makefile: Run it.
8544 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8547 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8548 the first character.
8550 2012-08-21 Roland McGrath <roland@hack.frob.com>
8552 * csu/elf-init.c (__libc_csu_irel): Function removed.
8553 * csu/libc-start.c (apply_irel): New function.
8554 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8556 2012-08-21 Joseph Myers <joseph@codesourcery.com>
8558 * sysdeps/unix/sysv/linux/kernel-features.h
8559 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8560 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8561 <kernel-features.h>.
8562 [__NR_fadvise64_64]: Make code unconditional.
8563 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8564 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8565 !__NR_fadvise64_64)]: Likewise.
8566 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8567 !__NR_fadvise64_64))]: Likewise.
8568 [__NR_fadvise64]: Make code unconditional.
8569 [!__NR_fadvise64]: Remove conditional code.
8570 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8571 <kernel-features.h>.
8572 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8574 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8577 not include <kernel-features.h>.
8578 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8580 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8582 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8583 include <kernel-features.h>.
8584 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8586 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8589 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8591 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8592 slight instruction rearrangements per scrollpipe analysis.
8593 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8595 2012-08-20 Roland McGrath <roland@hack.frob.com>
8597 * manual/syslog.texi (syslog; vsyslog, closelog):
8598 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8599 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8601 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8602 DSOCAPS to match condition on defining it.
8604 2012-08-20 Joseph Myers <joseph@codesourcery.com>
8606 * sysdeps/unix/sysv/linux/kernel-features.h
8607 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8609 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8610 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8612 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8613 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8615 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8616 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8618 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8619 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8621 * sysdeps/unix/sysv/linux/kernel-features.h
8622 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8623 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8625 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8626 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8627 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8628 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8629 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8630 Make code unconditional.
8631 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8632 (__mmap64) [!__NR_mmap2]: Likewise.
8633 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8634 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8635 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8636 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8637 [__NR_mmap2]: Make code unconditional.
8638 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8639 (__mmap64) [!__NR_mmap2]: Likewise.
8641 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8643 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8645 2012-08-18 Andreas Jaeger <aj@suse.de>
8647 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8649 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8651 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8652 * include/unistd.h (__have_sock_cloexec): Likewise.
8653 (__have_pipe2): Likewise.
8654 (__have_dup3): Likewise.
8656 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8659 * include/unistd.h (__have_pipe2): Change define into an extern int.
8660 (__have_dup3): Likewise.
8661 * socket/have_sock_cloexec.c: Include fcntl.h.
8662 (__have_pipe2): New variable.
8663 (__have_dup3): Likewise.
8665 2012-08-17 Mike Frysinger <vapier@gentoo.org>
8667 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8669 2012-08-17 Marek Polacek <polacek@redhat.com>
8671 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8672 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8674 2012-08-17 Roland McGrath <roland@hack.frob.com>
8676 * configure.in: Add AC_SUBST for sysheaders.
8677 * configure: Regenerated.
8678 * config.make.in (sysheaders): New substituted variable.
8680 * sysdeps/unix/mkfifo.c: Moved ...
8681 * sysdeps/posix/mkfifo.c: ... here.
8682 * sysdeps/unix/mkfifoat.c: Moved ...
8683 * sysdeps/posix/mkfifoat.c: ... here.
8685 * sysdeps/unix/utime.c: Moved ...
8686 * sysdeps/posix/utime.c: ... here.
8688 * sysdeps/unix/time.c: Moved ...
8689 * sysdeps/posix/time.c: ... here.
8690 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8691 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8693 * sysdeps/unix/nice.c: Moved ...
8694 * sysdeps/posix/nice.c: ... here.
8696 * sysdeps/unix/alarm.c: Moved ...
8697 * sysdeps/posix/alarm.c: ... here.
8699 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8701 2012-08-17 Jeff Law <law@redhat.com>
8703 * intl/Makefile (codeset_mo): New variable.
8704 ($(codeset_mo)): New target.
8705 (tst-codeset.out): Depend on that. Remove explicit rule.
8706 (tst-gettext3.out, tst-gettext5.out): Likewise.
8707 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8708 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8709 * intl/tst-codeset.sh: Remove.
8710 * intl/tst-gettext3.sh: Likewise.
8711 * intl/tst-gettext5.sh: Likewise.
8713 2012-08-17 Roland McGrath <roland@hack.frob.com>
8715 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8716 * sysdeps/unix/syscalls.list: ... here.
8718 * sysdeps/posix/getaddrinfo.c
8719 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8720 (gaiconf_init, gaiconf_reload): Use them.
8722 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8723 Define using time_t rather than struct timespec.
8725 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8726 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8728 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8730 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8731 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8734 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8735 __libc_cleanup_push argument.
8737 * bits/param.h: New file.
8738 * misc/sys/param.h: New file.
8739 * include/sys/param.h: New file.
8740 * misc/Makefile (headers): Add bits/param.h.
8741 * sysdeps/generic/sys/param.h: File removed.
8742 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8743 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8744 * sysdeps/mach/hurd/bits/param.h: New file.
8745 * sysdeps/mach/hurd/sys/param.h: File removed.
8747 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8750 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8752 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8753 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8756 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8757 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8758 rather than -D_IO_MTSAFE_IO conditionally.
8759 * stdio-common/Makefile (CPPFLAGS): Likewise.
8760 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8761 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8762 Use $(libio-mtsafe).
8763 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8765 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8766 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8767 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8768 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8769 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8770 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8771 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8772 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8773 (CFLAGS-fread_u_chk.c): Likewise.
8774 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8775 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8776 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8777 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8778 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8779 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8780 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8781 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8782 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8784 * libio/Makefile: Test [$(libc-reentrant) = yes]
8785 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8788 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8789 * sysdeps/pthread/configure: File removed.
8790 * sysdeps/pthread/Makeconfig: New file.
8791 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8792 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8794 2012-08-16 Gary Benson <gbenson@redhat.com>
8796 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8797 unmapping the first object in a namespace.
8799 2012-08-16 Roland McGrath <roland@hack.frob.com>
8801 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8802 (__internal_setnetgrent): ... this. Add internal_function to
8803 definition. Add libc_hidden_def.
8804 (setnetgrent): Update caller.
8805 (internal_endnetgrent): Renamed to ...
8806 (__internal_endnetgrent): ... this. Add internal_function to
8807 definition. Add libc_hidden_def.
8808 (endnetgrent): Update caller.
8809 (internal_getnetgrent_r): Renamed to ...
8810 (__internal_getnetgrent_r): ... this. Add internal_function to
8811 definition. Add libc_hidden_def.
8812 (__getnetgrent_r): Update caller.
8813 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8815 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8817 * stdlib/longlong.h: Update from GCC.
8819 2012-08-16 Roland McGrath <roland@hack.frob.com>
8821 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8822 on _QL, which is set by umul_ppmm but never used.
8823 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8824 variables, which are set by GMP macros but never used.
8825 * stdio-common/_itowa.c (_itowa): Likewise.
8826 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8827 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8829 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8831 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8832 struct La_sh_regs is not constant.
8833 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8834 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8835 and struct La_sparc64_regs are not constant.
8837 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8839 * sysdeps/unix/sysv/linux/kernel-features.h
8840 (__ASSUME_POSIX_TIMERS): Remove.
8841 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8842 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8843 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8844 Make code unconditional.
8845 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8846 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8847 Make code unconditional.
8848 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8849 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8850 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8851 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8852 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8853 Make code unconditional.
8854 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8855 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8856 (__libc_missing_posix_timers): Remove.
8858 2012-08-15 Roland McGrath <roland@hack.frob.com>
8860 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8861 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8863 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8865 * elf/dl-sym.c: Include <stdlib.h>.
8867 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8868 constants, which avoids warnings in 32-bit builds.
8870 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8871 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8873 * misc/lseek.c: File moved to ...
8874 * io/lseek.c: ... here.
8876 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8878 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8879 shifting LEN more than 31 bits at once.
8881 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8884 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8885 segmentation fault for a case of two empty input strings.
8886 * string/test-strncasecmp.c (check1): Renamed to...
8888 (bz14195): Add new testcase for two empty input strings and N > 0.
8889 (test_main): Call new testcase, adapt for renamed function.
8891 2012-08-15 Andreas Jaeger <aj@suse.de>
8894 * crypt/md5test2.c: New test, based on test supplied by Serge
8895 Belyshev <belyshev@depni.sinp.msu.ru>.
8896 * crypt/Makefile (xtests): Add md5test-giant..
8897 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8899 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8902 * crypt/md5.c (md5_process_block): Don't assume the buffer
8903 length is less than 2**32.
8904 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8905 length is less than 2**64.
8907 2012-08-15 Roland McGrath <roland@hack.frob.com>
8909 * string/str-two-way.h: Include <sys/param.h>.
8910 (MAX): Macro removed.
8912 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8913 Move #define and #undef of memmove to just before and after
8914 including <string.h>.
8916 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8917 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8918 and after including <string.h>. Move declarations of
8919 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8920 to before #include "string/memmove.c".
8922 * include/dirent.h: Declare __getdirentries.
8924 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8925 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8927 2012-08-14 Mike Frysinger <vapier@gentoo.org>
8929 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8930 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8931 * sysdeps/i386/configure: Regenerated.
8932 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8933 STABS_CURRENT_FILE, and STABS_FUN.
8934 (END): Remove call to STABS_FUN_END.
8935 (STABS_CURRENT_FILE1): Delete.
8936 (STABS_CURRENT_FILE): Likewise.
8937 (STABS_FUN): Likewise.
8938 (STABS_FUN_END): Likewise.
8939 (STABS_FUN2): Likewise.
8940 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8941 * sysdeps/x86_64/configure: Regenerated.
8943 2012-08-14 Roland McGrath <roland@hack.frob.com>
8945 * elf/dl-open.c: Include <atomic.h>.
8946 * elf/dl-lookup.c: Likewise.
8948 2012-08-14 Joseph Myers <joseph@codesourcery.com>
8950 * sysdeps/unix/sysv/linux/kernel-features.h
8951 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8952 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8954 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8956 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8957 condition on __ASSUME_CLONE_THREAD_FLAGS.
8959 2012-08-14 Andreas Jaeger <aj@suse.de>
8961 * sysdeps/i386/fpu/libm-test-ulps: Update.
8963 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8965 * include/atomic.h (atomic_exchange_and_add): Split into ...
8966 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8969 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8973 2012-08-13 Jeff Law <law@redhat.com>
8975 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8976 null byte in the output string.
8978 2012-08-10 Joseph Myers <joseph@codesourcery.com>
8980 * sysdeps/unix/sysv/linux/kernel-features.h
8981 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8982 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8983 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8984 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8985 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8986 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8987 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8989 2012-08-09 Jeff Law <law@redhat.com>
8992 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8993 When avoid_arena is set, don't retry in the that arena. Pick the
8994 next one, whatever it might be.
8995 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8996 (arena_lock): Pass in new parameter to arena_get2.
8997 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8999 (__libc_malloc): Unify retrying after main arena failure with
9000 __libc_memalign version.
9001 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9003 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9006 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9007 to __redirect_strstr.
9008 (__strstr_sse42): Use typeof __redirect_strstr.
9009 (__strstr_ia32): Likewise.
9010 (__libc_strstr): New prototype.
9011 (strstr): Renamed to ...
9012 (__libc_strstr): This.
9013 (strstr): New strong alias of __libc_strstr.
9014 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9015 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9018 (__libc_time): New prototype.
9019 (time_ifunc): Replace time with __libc_time.
9020 (time): New strong alias and hidden definition of __libc_time.
9021 (__GI_time): Remove strong alias.
9022 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9024 (memmove): Redefined to __redirect_memmove.
9025 (__memmove_sse2): Use typeof __redirect_memmove.
9026 (__memmove_ssse3): Likewise.
9027 (__memmove_ssse3_back): Likewise.
9028 (__libc_memmove): New prototype.
9029 (memmove): Renamed to ...
9030 (__libc_memmove): This.
9031 (memmove): New strong alias of __libc_memmove.
9033 2012-08-08 Mark Salter <msalter@redhat.com>
9036 (R_MN10300_TLS_GD): Define.
9037 (R_MN10300_TLS_LD): Likewise.
9038 (R_MN10300_TLS_LDO): Likewise.
9039 (R_MN10300_TLS_GOTIE): Likewise.
9040 (R_MN10300_TLS_IE): Likewise.
9041 (R_MN10300_TLS_LE): Likewise.
9042 (R_MN10300_TLS_DTPMOD): Likewise.
9043 (R_MN10300_TLS_DTPOFF): Likewise.
9044 (R_MN10300_TLS_TPOFF): Likewise.
9045 (R_MN10300_SYM_DIFF): Likewise.
9046 (R_MN10300_ALIGN): Likewise.
9047 (R_MN10300_NUM): Update.
9049 2012-08-08 Joseph Myers <joseph@codesourcery.com>
9051 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9054 2012-08-08 Roland McGrath <roland@hack.frob.com>
9056 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9058 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9059 sysdeps/unix -> sysdeps/posix move.
9060 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9062 2012-08-07 Allan McRae <allan@archlinux.org>
9065 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9066 (SUNOS_CPP): Likewise.
9067 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9069 (open_input): Call CPP using execvp.
9071 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9073 * sysdeps/unix/sysv/linux/kernel-features.h
9074 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9075 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9076 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9077 (__ASSUME_WAITID_SYSCALL): Likewise.
9078 * sysdeps/unix/sysv/linux/dl-execstack.c
9079 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9081 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9083 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9084 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9085 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9087 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9089 [__ASSUME_WAITID_SYSCALL]: Likewise.
9090 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9092 2012-08-07 Roland McGrath <roland@hack.frob.com>
9094 * sysdeps/unix/closedir.c: Renamed to ...
9095 * sysdeps/posix/closedir.c: ... here.
9096 * sysdeps/unix/dirfd.c: Renamed to ...
9097 * sysdeps/posix/dirfd.c: ... here.
9098 * sysdeps/unix/dirstream.h: Renamed to ...
9099 * sysdeps/posix/dirstream.h: ... here.
9100 * sysdeps/unix/fdopendir.c: Renamed to ...
9101 * sysdeps/posix/fdopendir.c: ... here.
9102 * sysdeps/unix/opendir.c: Renamed to ...
9103 * sysdeps/posix/opendir.c: ... here.
9104 * sysdeps/unix/readdir.c: Renamed to ...
9105 * sysdeps/posix/readdir.c: ... here.
9106 * sysdeps/unix/readdir_r.c: Renamed to ...
9107 * sysdeps/posix/readdir_r.c: ... here.
9108 * sysdeps/unix/rewinddir.c: Renamed to ...
9109 * sysdeps/posix/rewinddir.c: ... here.
9110 * sysdeps/unix/seekdir.c: Renamed to ...
9111 * sysdeps/posix/seekdir.c: ... here.
9112 * sysdeps/unix/telldir.c: Renamed to ...
9113 * sysdeps/posix/telldir.c: ... here.
9114 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9115 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9116 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9117 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9119 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9120 * bits/fcntl.h: ... here.
9122 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9124 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9125 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9126 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9127 (struct flock): Move l_start, l_len to the beginning.
9128 Use __pid_t for l_pid.
9129 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9130 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9131 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9132 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9133 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9134 [__USE_LARGEFILE64] (struct flock64): New type.
9135 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9137 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9138 * bits/dirent.h: ... here.
9140 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9141 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9143 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9145 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9146 Change from 2.6.0 to 2.6.16.
9147 * sysdeps/unix/sysv/linux/configure: Regenerated.
9148 * sysdeps/unix/sysv/linux/kernel-features.h
9149 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9150 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9152 (__ASSUME_UTIMES): Likewise.
9153 (__ASSUME_CLONE_STOPPED): Remove.
9154 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9155 architectures, not kernel version.
9156 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9157 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9158 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9159 (__ASSUME_WAITID_SYSCALL): Likewise.
9160 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9161 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9162 * README: State 2.6.16 as minimum Linux kernel version. Do not
9163 refer to older versions.
9165 2012-08-06 Roland McGrath <roland@hack.frob.com>
9167 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9168 Define alphasort64 as an alias.
9169 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9170 Define versionsort64 as an alias.
9171 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9172 Define scandir64 as an alias.
9173 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9174 Define scandirat64 as an alias.
9175 * dirent/alphasort64.c (alphasort64):
9176 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9177 * dirent/versionsort64.c: Likewise.
9178 * dirent/scandir64.c: Likewise.
9179 * dirent/scandirat64.c: Likewise.
9180 * sysdeps/wordsize-64/alphasort.c: File removed.
9181 * sysdeps/wordsize-64/alphasort64.c: File removed.
9182 * sysdeps/wordsize-64/scandir.c: File removed.
9183 * sysdeps/wordsize-64/scandir64.c: File removed.
9184 * sysdeps/wordsize-64/scandirat.c: File removed.
9185 * sysdeps/wordsize-64/scandirat64.c: File removed.
9186 * sysdeps/wordsize-64/versionsort.c: File removed.
9187 * sysdeps/wordsize-64/versionsort64.c: File removed.
9188 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9189 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9190 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9191 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9192 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9193 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9194 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9195 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9197 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9198 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9199 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9200 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9201 [defined __arch64__ || defined __sparcv9]
9202 (__INO_T_MATCHES_INO64_T): New macro.
9203 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9204 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9205 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9206 * sysdeps/unix/sysv/linux/bits/dirent.h
9207 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9208 (_DIRENT_MATCHES_DIRENT64): New macro.
9210 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9211 Define lockf64 as an alias.
9212 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9213 Define fseeko64 as an alias.
9214 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9215 Define ftello64 as an alias.
9216 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9217 Define _IO_fgetpos64 and fgetpos64 as aliases.
9218 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9219 Define _IO_fsetpos64 and fsetpos64 as aliases.
9220 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9221 Conditionalize body on this.
9222 * libio/fseeko64.c: Likewise.
9223 * libio/ftello64.c: Likewise.
9224 * libio/iofgetpos64.c: Likewise.
9225 * libio/iofsetpos64.c: Likewise.
9226 * sysdeps/wordsize-64/lockf.c: File removed.
9227 * sysdeps/wordsize-64/lockf64.c: File removed.
9228 * sysdeps/wordsize-64/fseeko.c: File removed.
9229 * sysdeps/wordsize-64/fseeko64.c: File removed.
9230 * sysdeps/wordsize-64/ftello.c: File removed.
9231 * sysdeps/wordsize-64/ftello64.c: File removed.
9232 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9233 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9234 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9235 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9236 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9237 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9238 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9239 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9240 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9241 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9242 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9243 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9244 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9245 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9247 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9248 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9249 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9250 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9251 [defined __arch64__ || defined __sparcv9]
9252 (__OFF_T_MATCHES_OFF64_T): New macro.
9253 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9254 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9255 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9256 (__OFF_T_MATCHES_OFF64_T): New macro.
9258 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9260 * stdlib/secure-getenv.c (__secure_getenv): Replace
9261 GLIBC_2_16 with GLIBC_2_17.
9263 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9265 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9266 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9268 2012-08-03 David S. Miller <davem@davemloft.net>
9270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9272 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9274 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9276 (__ASSUME_CORRECT_SI_PID): Likewise.
9277 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9278 (__ASSUME_TMPFS_NAME): Likewise.
9279 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9280 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9281 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9282 (HAVE_AUX_SECURE): Make definition unconditional.
9283 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9284 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9286 2012-08-03 Roland McGrath <roland@hack.frob.com>
9288 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9289 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9290 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9291 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9292 __eloop_threshold instead of SYMLOOP_MAX.
9294 * sysdeps/generic/eloop-threshold.h: New file.
9295 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9297 * elf/chroot_canon.c (chroot_canon): Likewise.
9299 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9302 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9303 Change to 2.6.0 everywhere.
9304 * sysdeps/unix/sysv/linux/configure: Regenerated.
9305 * sysdeps/unix/sysv/linux/kernel-features.h
9306 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9307 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9309 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9310 (__ASSUME_FUTEX_REQUEUE): Remove.
9311 (__ASSUME_STATFS64): Define unconditionally.
9312 (__ASSUME_AT_SECURE): Likewise.
9313 (__ASSUME_CORRECT_SI_PID): Likewise.
9314 (__ASSUME_TGKILL): Define without depending on kernel version for
9316 (__ASSUME_UTIMES): Likewise.
9317 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9319 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9320 (__ASSUME_TMPFS_NAME): Likewise.
9321 * README: Update reference to Linux kernel versions.
9323 2012-08-02 Marek Polacek <polacek@redhat.com>
9326 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9327 libc_cv_asm_type_prefix with %.
9328 * configure: Regenerated.
9329 * include/libc-symbols.h: Remove comment about
9330 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9331 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9332 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9333 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9334 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9335 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9336 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9337 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9338 * elf/tst-unique2mod1.c: Likewise.
9339 * elf/tst-unique1mod2.c: Likewise.
9340 * elf/tst-unique1mod1.c: Likewise.
9341 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9342 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9343 Replace ASM_TYPE_DIRECTIVE with .type.
9344 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9345 * sysdeps/i386/sysdep.h: Likewise.
9346 * sysdeps/x86_64/sysdep.h: Likewise.
9347 * sysdeps/sh/sysdep.h: Likewise.
9348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9349 Do not define ASM_TYPE_DIRECTIVE.
9350 * sysdeps/powerpc/sysdep.h: Likewise.
9351 * sysdeps/powerpc/powerpc32/sysdep.h:
9352 Replace ASM_TYPE_DIRECTIVE with .type.
9353 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9354 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9355 * sysdeps/i386/fpu/e_powf.S: Likewise.
9356 * sysdeps/i386/fpu/e_expl.S: Likewise.
9357 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9358 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9359 * sysdeps/i386/fpu/e_pow.S: Likewise.
9360 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9361 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9362 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9363 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9364 * sysdeps/i386/fpu/e_log2.S: Likewise.
9365 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9366 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9367 * sysdeps/i386/fpu/e_powl.S: Likewise.
9368 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9369 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9370 * sysdeps/i386/fpu/e_logl.S: Likewise.
9371 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9372 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9373 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9374 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9375 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9376 * sysdeps/i386/fpu/e_log.S: Likewise.
9377 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9378 * sysdeps/i386/fpu/e_logf.S: Likewise.
9379 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9380 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9381 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9382 * sysdeps/i386/fpu/e_log10.S: Likewise.
9383 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9384 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9385 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9386 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9387 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9388 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9389 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9390 * sysdeps/i386/i686/strtok.S: Likewise.
9391 * sysdeps/i386/i386-mcount.S: Likewise.
9392 * sysdeps/i386/strtok.S: Likewise.
9393 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9394 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9395 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9396 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9397 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9398 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9399 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9400 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9401 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9402 * sysdeps/x86_64/_mcount.S: Likewise.
9403 * sysdeps/x86_64/strtok.S: Likewise.
9404 * sysdeps/sh/_mcount.S: Likewise.
9406 2012-08-01 Roland McGrath <roland@hack.frob.com>
9408 * libio/iofopen.c: Include <fcntl.h>.
9409 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9410 (_IO_fopen64, fopen64): Define as aliases.
9411 * libio/iofopen64.c: Include <fcntl.h>.
9412 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9413 Conditionalize body on this.
9414 * sysdeps/wordsize-64/iofopen.c: File removed.
9415 * sysdeps/wordsize-64/iofopen64.c: File removed.
9417 2012-08-01 Marek Polacek <polacek@redhat.com>
9419 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9420 Use dlfcn directly instead of a variable.
9421 (binfmt-subdir): Do not define.
9424 2012-08-01 Joseph Myers <joseph@codesourcery.com>
9426 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9427 Remove all definitions.
9428 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9429 <kernel-features.h>.
9430 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9431 (miss_F_GETOWN_EX): Remove all definitions.
9432 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9434 [!__ASSUME_FCNTL64]: Remove conditional code.
9435 [__ASSUME_FCNTL64]: Make code unconditional.
9436 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9437 <kernel-features.h>.
9438 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9439 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9440 (lockf64) [__NR_fcntl64]: Make code unconditional.
9441 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9443 * sysdeps/unix/sysv/linux/kernel-features.h
9444 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9445 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9446 Make code unconditional.
9447 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9448 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9450 [__NR_vfork]: Make code unconditional.
9451 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9452 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9454 [__NR_vfork]: Make code unconditional.
9455 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9456 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9458 2012-08-01 Roland McGrath <roland@hack.frob.com>
9460 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9461 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9463 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9464 Define mkstemp64 as an alias.
9465 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9466 Define mkstemps64 as an alias.
9467 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9468 Define mkostemp64 as an alias.
9469 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9470 Define mkostemps64 as an alias.
9471 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9472 Conditionalize body on this.
9473 * misc/mkostemp64.c: Likewise.
9474 * misc/mkostemps64.c: Likewise.
9475 * misc/mkstemps64.c: Likewise.
9476 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9477 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9478 * sysdeps/wordsize-64/mkostemp.c: File removed.
9479 * sysdeps/wordsize-64/mkstemp.c: File removed.
9480 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9481 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9482 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9483 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9486 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9487 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9488 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9489 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9491 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9492 compat_symbol macros from <shlib-compat.h> rather than the underlying
9493 default_symbol_version and symbol_version macros, so that DEFAULT
9494 lines in shlib-versions are respected.
9495 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9497 2012-08-01 Florian Weimer <fweimer@redhat.com>
9499 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9500 Declare with warn_unused_result.
9501 (setgid, setregid, setegid, setresgid): Likewise.
9502 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9504 * WUR-REPORT: Remove set*id functions.
9506 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9508 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9510 2012-07-31 Roland McGrath <roland@hack.frob.com>
9512 * include/sys/socket.h (__libc_accept, __libc_accept4):
9513 Add attribute_hidden.
9514 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9516 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9518 * inet/getnetgrent_r.c (setup): Likewise.
9520 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9522 2012-07-31 David S. Miller <davem@davemloft.net>
9524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9526 2012-07-31 Joseph Myers <joseph@codesourcery.com>
9529 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9530 value between 1.0 and 2.0 and smaller part has absolute value less
9532 * math/s_clog10.c (__clog10): Likewise.
9533 * math/s_clog10f.c (__clog10f): Likewise.
9534 * math/s_clog10l.c (__clog10l): Likewise.
9535 * math/s_clogf.c (__clogf): Likewise.
9536 * math/s_clogl.c (__clogl): Likewise.
9537 * math/libm-test.inc (clog_test): Add more tests.
9538 (clog10_test): Likewise.
9539 * sysdeps/i386/fpu/libm-test-ulps: Update.
9540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9542 2012-07-31 Florian Weimer <fweimer@redhat.com>
9544 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9545 Exit with zero in case no suitable GID is found, and write a
9546 message to standard error.
9548 2012-07-30 Roland McGrath <roland@hack.frob.com>
9550 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9552 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9553 (MAXPATHLEN): Removed.
9554 (NOGROUP, NODEV): New macros.
9555 (setbit, clrbit, isset, isclr): New macros.
9556 (howmany, roundup, powerof2): New macros.
9557 (DEV_BSIZE): New macro.
9559 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9560 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9562 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9563 definition on [!__NO_LONG_DOUBLE_MATH].
9565 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9566 PTR_MANGLE and PTR_DEMANGLE.
9568 * socket/accept4.c (accept4): Rename to __libc_accept4.
9569 Define accept4 as a weak alias.
9571 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9572 on [_DIRENT_HAVE_D_TYPE].
9573 * io/ftw.c (ftw_dir): Likewise.
9575 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9577 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9579 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9580 Use the BSD numbers rather than the arbitrary ones we had.
9581 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9582 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9583 (SIGXCPU, SIGXFSZ): New macros.
9586 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9587 initializer on [_LIBC_REENTRANT].
9589 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9590 definitions inside [_POSIX_MAPPED_FILES].
9592 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9594 * dirent/opendir.c: Include <fcntl.h>.
9596 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9597 (__libc_getspecific): Likewise.
9598 (__libc_key_create): Likewise.
9600 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9601 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9602 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9603 (tmpfile64): Define as alias.
9604 * sysdeps/wordsize-64/tmpfile.c: File removed.
9605 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9606 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9607 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9609 * stdio-common/vfscanf.c: Include <stdbool.h>.
9610 * nss/makedb.c: Likewise.
9611 * stdio-common/_i18n_number.h: Likewise.
9612 * argp/argp-help.c: Likewise.
9613 * posix/wordexp.c: Likewise.
9614 * sysdeps/posix/spawni.c: Likewise.
9615 * nss/nss_files/files-initgroups.c: Likewise.
9616 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9617 * nss/nss_files/files-initgroups.c: Likewise.
9618 * nss/nss_db/db-netgrp.c: Likewise.
9619 * nss/nss_db/db-initgroups.c: Likewise.
9620 * io/fchmodat.c: Include <sys/stat.h>.
9622 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9623 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9625 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9628 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9629 Add multiple inclusion protection.
9631 2012-07-27 David S. Miller <davem@davemloft.net>
9633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9635 2012-07-27 Gary Benson <gbenson@redhat.com>
9638 * elf/rtld.c: Include <stap-probe.h>.
9639 (dl_main): Added static probes "init_start" and "init_complete".
9640 * elf/dl-load.c: Include <stap-probe.h>.
9641 (lose): Take new parameter "nsid".
9642 Added static probe "map_failed".
9643 (_dl_map_object_from_fd): Pass namespace id to lose.
9644 Added static probe "map_start".
9645 (open_verify): Pass namespace id to lose.
9646 * elf/dl-open.c: Include <stap-probe.h>.
9647 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9648 and "reloc_complete".
9649 * elf/dl-close.c: Include <stap-probe.h>.
9650 (_dl_close_worker): Added static probes "unmap_start" and
9652 * elf/rtld-debugger-interface.txt: New file documenting the above.
9654 2012-07-26 Roland McGrath <roland@hack.frob.com>
9656 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9657 rather than a string variable.
9658 * sunrpc/rpc_main.c (h_output): Likewise.
9659 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9661 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9663 * inet/check_native.c: New file.
9665 2012-07-26 Joseph Myers <joseph@codesourcery.com>
9668 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9669 if larger part has absolute value 1.0.
9670 * math/s_clog10.c (__clog10): Likewise.
9671 * math/s_clog10f.c (__clog10f): Likewise.
9672 * math/s_clog10l.c (__clog10l): Likewise.
9673 * math/s_clogf.c (__clogf): Likewise.
9674 * math/s_clogl.c (__clogl): Likewise.
9675 * math/libm-test.inc (clog_test): Add more tests.
9676 (clog10_test): Likewise.
9677 * sysdeps/i386/fpu/libm-test-ulps: Update.
9678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9680 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9681 (pltexit): Likewise.
9682 (La_regs): Likewise.
9683 (La_retval): Likewise.
9684 (int_retval): Likewise.
9685 Update #error for removed macros to refer only to definitions in
9687 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9689 (pltexit): Likewise.
9690 (La_regs): Likewise.
9691 (La_retval): Likewise.
9692 (int_retval): Likewise.
9693 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9695 (pltexit): Likewise.
9696 (La_regs): Likewise.
9697 (La_retval): Likewise.
9698 (int_retval): Likewise.
9699 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9701 (pltexit): Likewise.
9702 (La_regs): Likewise.
9703 (La_retval): Likewise.
9704 (int_retval): Likewise.
9705 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9707 (pltexit): Likewise.
9708 (La_regs): Likewise.
9709 (La_retval): Likewise.
9710 (int_retval): Likewise.
9711 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9713 (pltexit): Likewise.
9714 (La_regs): Likewise.
9715 (La_retval): Likewise.
9716 (int_retval): Likewise.
9717 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9719 (pltexit): Likewise.
9720 (La_regs): Likewise.
9721 (La_retval): Likewise.
9722 (int_retval): Likewise.
9723 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9724 macro definitions in tst-audit.h.
9725 * sysdeps/i386/tst-audit.h: New file.
9726 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9727 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9728 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9729 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9730 * sysdeps/sh/tst-audit.h: Likewise.
9731 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9732 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9733 * sysdeps/x86_64/tst-audit.h: Likewise.
9735 2012-07-26 Andreas Jaeger <aj@suse.de>
9737 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9740 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9741 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9742 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9744 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9745 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9746 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9748 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9751 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9753 (si_call_addr, si_syscall, si_arch): Define new macro.
9754 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9756 (si_call_addr, si_syscall, si_arch): Define new marcro.
9757 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9759 (si_call_addr, si_syscall, si_arch): Define new macro.
9760 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9762 (si_call_addr, si_syscall, si_arch): Define new macro.
9764 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9767 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9768 Change to 2.4.21 where previously 2.4.1.
9769 * sysdeps/unix/sysv/linux/configure: Regenerated.
9770 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9771 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9772 Linux kernel version.
9773 (__ASSUME_STD_AUXV): Remove.
9774 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9776 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9777 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9778 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9779 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9780 (__ASSUME_NETLINK_SUPPORT): Likewise.
9781 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9782 (__no_netlink_support): Remove conditional definition.
9783 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9785 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9786 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9787 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9788 (if_nameindex_ioctl): Remove.
9789 (if_nameindex_netlink): Do not handle __no_netlink_support.
9790 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9792 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9793 Remove conditional code.
9794 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9796 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9798 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9799 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9800 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9802 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9803 [!__ASSUME_STD_AUXV]: Remove conditional code.
9804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9805 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9806 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9808 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9809 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9811 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9813 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9814 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9816 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9818 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9821 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9824 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9826 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9828 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9830 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9833 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9835 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9838 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9840 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9842 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9844 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9847 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9849 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9851 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9853 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9856 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9858 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9859 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9860 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9861 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9862 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9863 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9864 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9865 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9866 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9867 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9868 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9869 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9870 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9871 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9872 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9873 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9874 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9875 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9876 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9877 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9878 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9879 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9880 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9882 2012-07-25 Florian Weimer <fweimer@redhat.com>
9884 * Versions.def: Add GLIBC_2.17.
9885 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9886 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9887 Introduce __libc_secure_getenv.
9888 * stdlib/Versions (2.17): Add secure_getenv
9889 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9890 * stdlib/secure-getenv.c: Rename __secure_getenv to
9891 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9892 symbol __secure_getenv for GLIBC_2.0.
9893 * stdlib/tst-secure-getenv.c: New.
9894 * stdlib/Makefile (tests): Add testcase.
9895 * manual/startup.texi (Environment Access): Document
9897 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9898 __libc_secure_getenv.
9899 * inet/ruserpass.c (ruserpass): Likewise.
9900 * malloc/mtrace.c (mtrace): Likewise.
9901 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9902 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9903 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9904 * sysdeps/posix/tempname.c: Likewise. Evaluate
9906 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9907 __secure_getenv to __libc_secure_getenv.
9908 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9915 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9921 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9923 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9924 (struct La_i86_retval): Likewise.
9925 (struct La_x86_64_regs): Likewise.
9926 (struct La_x86_64_retval): Likewise.
9927 (struct La_x32_regs): Likewise.
9928 (struct La_x32_retval): Likewise.
9929 (struct La_ppc32_regs): Likewise.
9930 (struct La_ppc32_retval): Likewise.
9931 (struct La_ppc64_regs): Likewise.
9932 (struct La_ppc64_retval): Likewise.
9933 (struct La_sh_regs): Likewise.
9934 (struct La_sh_retval): Likewise.
9935 (struct La_s390_32_regs): Likewise.
9936 (struct La_s390_32_retval): Likewise.
9937 (struct La_s390_64_regs): Likewise.
9938 (struct La_s390_64_retval): Likewise.
9939 (struct La_sparc32_regs): Likewise.
9940 (struct La_sparc32_retval): Likewise.
9941 (struct La_sparc64_regs): Likewise.
9942 (struct La_sparc64_retval): Likewise.
9943 (struct audit_ifaces): Remove architecture-specific pltenter and
9945 * sysdeps/i386/ldsodefs.h: New file.
9946 * sysdeps/powerpc/ldsodefs.h: Likewise.
9947 * sysdeps/s390/ldsodefs.h: Likewise.
9948 * sysdeps/sh/ldsodefs.h: Likewise.
9949 * sysdeps/sparc/ldsodefs.h: Likewise.
9950 * sysdeps/x86_64/ldsodefs.h: Likewise.
9952 2012-07-25 Marek Polacek <polacek@redhat.com>
9955 * math/libm-test.inc (yn_test): Add another test.
9956 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9957 to ERANGE when the result is +-Inf.
9958 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9959 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9960 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9961 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9963 2012-07-24 Joseph Myers <joseph@codesourcery.com>
9965 * conform/data/time.h-data (NULL): Use macro-constant. Require
9967 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9969 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9971 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9973 * configure.in <sysdeps resolving>: Correct printing
9975 * configure: Regenerate.
9977 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9979 * math/w_ilogb.c: Include <limits.h>.
9980 * math/w_ilogbl.c: Likewise.
9982 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9984 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9985 va_copy. Document allowing for unavailable va_copy only as
9986 pre-C99 compatibility.
9987 * manual/string.texi (Copying and Concatenation): Use va_copy
9988 instead of __va_copy in concat example.
9990 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9992 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9993 (__sendto): Use create_address_port. Initialize APORT and deallocate
9996 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9997 with O_NOLINK passed to __file_name_lookup.
9999 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10000 with O_NOLINK passed to __file_name_lookup.
10002 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10003 negative N or less than NGIDS.
10005 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10006 type to string_t. Set ERANGE as errno and return it if NAME is not big
10007 enough. Use memcpy instead of strncpy.
10009 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10011 * elf/Makefile (check-data): Remove.
10012 (localplt.data): New vpath directive.
10013 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10014 instead of $(check-data).
10015 * scripts/data/localplt-generic.data: Move to ...
10016 * sysdeps/generic/localplt.data: ... here.
10017 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10018 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10019 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10022 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10025 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10028 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10031 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10034 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10038 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10040 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10041 PPC32 and PPC64 files.
10042 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10043 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10045 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10047 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10048 __makecontext_ret to ...
10049 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10050 ... here and call exit if uc_link is NULL. New file.
10051 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10052 __makecontext_ret.S.
10053 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10054 __makecontext_ret to ...
10055 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10056 ... here and call exit if uc_link is NULL. New file.
10057 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10058 __makecontext_ret.S.
10060 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10062 * elf/elf.h (R_390_IRELATIVE): New definition.
10063 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10064 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10065 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10066 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10067 (elf_machine_lazy_rel): Likewise.
10068 * sysdeps/s390/dl-irel.h: New file.
10069 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10070 * sysdeps/s390/s390-64/memset.S: New asm code.
10071 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10072 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10073 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10074 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10075 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10076 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10077 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10078 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10079 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10080 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10081 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10082 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10083 * sysdeps/s390/s390-32/memset.S: New asm code.
10084 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10086 2012-07-17 Marek Polacek <polacek@redhat.com>
10089 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10090 * sysdeps/s390/s390-64/configure.in: Likewise.
10091 * sysdeps/sparc/configure.in: Likewise.
10092 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10093 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10094 * sysdeps/i386/configure.in: Likewise.
10095 * sysdeps/x86_64/configure.in: Likewise.
10096 * sysdeps/sh/configure.in: Likewise.
10097 * sysdeps/s390/s390-32/configure: Regenerated.
10098 * sysdeps/s390/s390-64/configure: Likewise.
10099 * sysdeps/x86_64/configure: Likewise.
10100 * sysdeps/sh/configure: Likewise.
10101 * sysdeps/powerpc/powerpc64/configure: Likewise.
10102 * sysdeps/powerpc/powerpc32/configure: Likewise.
10103 * sysdeps/sparc/configure: Likwise.
10104 * sysdeps/i386/configure: Likewise.
10106 * elf/dl-open.c: Comment fixes.
10108 2012-07-17 Joseph Myers <joseph@codesourcery.com>
10110 * Makefile [CXX] (check-data): Remove.
10111 [CXX] (c++-types.data): New vpath directive.
10112 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10113 vpath. Do not allow for C++ type data being missing.
10114 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10115 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10116 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10117 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10118 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10119 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10120 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10123 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10126 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10129 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10132 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10135 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10138 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10141 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10144 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10145 definitions to architecture-specific files.
10146 (TLS_IE): Likewise.
10147 (TLS_LD): Likewise.
10148 (TLS_GD): Likewise.
10149 * sysdeps/i386/tls-macros.h: New file.
10150 * sysdeps/powerpc/tls-macros.h: Likewise.
10151 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10152 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10153 * sysdeps/sh/tls-macros.h: Likewise.
10154 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10155 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10156 * sysdeps/x86_64/tls-macros.h: Likewise.
10158 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10160 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10161 zero value for regular exit case.
10163 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10164 (__start_context): Preserve zero value for regular exit case.
10166 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10167 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10169 * manual/setjmp.texi (setcontext): Clarify normal process
10170 termination when uc_link is the null pointer.
10171 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10174 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10176 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10177 preprocessor. Test for each exception mask separately.
10179 2012-07-16 Andreas Jaeger <aj@suse.de>
10181 * po/ru.po: Update from translation team.
10183 2012-07-15 Joseph Myers <joseph@codesourcery.com>
10185 * conform/data/string.h-data (NULL): Use macro-constant. Require
10187 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10188 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10189 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10190 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10191 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10193 2012-07-13 Andreas Jaeger <aj@suse.de>
10195 * po/fr.po: Update from translation team.
10197 2012-07-12 Marek Polacek <polacek@redhat.com>
10200 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10201 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10204 2012-07-12 Joseph Myers <joseph@codesourcery.com>
10207 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10208 Change to 2.4.1 where previously 2.4.0.
10209 * sysdeps/unix/sysv/linux/configure: Regenerated.
10210 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10211 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10213 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10214 (__ASSUME_AT_CLKTCK): Remove.
10215 (__ASSUME_AT_PAGESIZE): Likewise.
10216 (__ASSUME_AT_XID): Likewise.
10217 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10218 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10219 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10221 (HAVE_AUX_PAGESIZE): Likewise.
10222 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10223 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10224 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10226 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10230 the temporary buffer used to invoke __gethostbyname2_r,
10231 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10232 host_data / struct gaih_addrtuple.
10233 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10234 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10235 header file nss/nsswitch.h.
10236 * nss/nsswitch.h (global scope): Add definition of implementation
10237 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10238 resolv/nss_dns/dns-host.c).
10240 2012-07-11 Andreas Jaeger <aj@suse.de>
10242 * po/fr.po: Update from translation team.
10244 * po/sv.po: Update from translation team
10245 * po/fr.po: Another update from translation team.
10247 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10249 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10250 for subnormals or multiply small sinh result by itself.
10251 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10254 2012-07-11 David S. Miller <davem@davemloft.net>
10256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10258 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10261 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10262 (INTERNAL_MARK): Shift it here.
10264 2012-07-10 Marek Polacek <polacek@redhat.com>
10267 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10268 libc_cv_asm_global_directive with .globl.
10269 * configure: Regenerated.
10270 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10272 * sysdeps/i386/configure: Regenerated.
10273 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10275 * sysdeps/x86_64/configure: Regenerated.
10276 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10277 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10278 * elf/tst-unique2mod2.c: Likewise.
10279 * elf/tst-unique2mod1.c: Likewise.
10280 * elf/tst-unique1mod2.c: Likewise.
10281 * elf/tst-unique1mod1.c: Likewise.
10282 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10283 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10284 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10285 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10286 * sysdeps/mach/sysdep.h: Likewise.
10287 * sysdeps/i386/sysdep.h: Likewise.
10288 * sysdeps/i386/i386-mcount.S: Likewise.
10289 * sysdeps/x86_64/_mcount.S: Likewise.
10290 * sysdeps/x86_64/sysdep.h: Likewise.
10291 * sysdeps/sh/_mcount.S: Likewise.
10292 * sysdeps/sh/sysdep.h: Likewise.
10293 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10294 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10295 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10296 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10297 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10298 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10299 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10300 * locale/localeinfo.h: Likewise.
10301 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10302 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10304 2012-07-09 Roland McGrath <roland@hack.frob.com>
10307 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10309 * manual/message.texi (The Uniforum approach): Likewise.
10310 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10311 (glibc iconv Implementation): Likewise.
10313 2012-07-09 Joseph Myers <joseph@codesourcery.com>
10316 * math/s_clog.c (__clog): Avoid scaling a value down where that
10317 could result in underflow.
10318 * math/s_clog10.c (__clog10): Likewise.
10319 * math/s_clog10f.c (__clog10f): Likewise.
10320 * math/s_clog10l.c (__clog10l): Likewise.
10321 * math/s_clogf.c (__clogf): Likewise.
10322 * math/s_clogl.c (__clogl): Likewise.
10323 * math/libm-test.inc (clog_test): Add more tests.
10324 (clog10_test): Likewise.
10325 * sysdeps/i386/fpu/libm-test-ulps: Update.
10326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10328 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10331 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10332 by 7 not 8 to examine high bit of fractional part.
10335 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10336 for call to __mcount_internal.
10337 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10338 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10339 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10341 2012-07-06 Joseph Myers <joseph@codesourcery.com>
10344 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10345 approximation for values within 0x1p-13f of an odd multiple of
10347 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10348 exception. Add more tests.
10349 * sysdeps/i386/fpu/libm-test-ulps: Update.
10352 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10353 inputs and return -1 for them. Do not check for +Inf in case not
10354 reachable for +Inf.
10355 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10356 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10357 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10358 and return -1 for them. Do not check for +Inf in case not
10359 reachable for +Inf.
10360 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10362 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10363 and return -1 for them. Do not check for +Inf in case not
10364 reachable for +Inf.
10365 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10366 spurious underflow.
10367 * sysdeps/i386/fpu/libm-test-ulps: Update.
10368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10370 2012-07-06 Mike Frysinger <vapier@gentoo.org>
10372 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10374 2012-07-05 Joseph Myers <joseph@codesourcery.com>
10378 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10379 could result in spurious underflow. Scale down values above
10380 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10381 * math/s_csqrtf.c (__csqrtf): Likewise.
10382 * math/s_csqrtl.c (__csqrtl): Likewise.
10383 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10384 spurious underflow.
10385 * sysdeps/i386/fpu/libm-test-ulps: Update.
10386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10388 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10390 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10392 * catgets/xopen-msg.awk: New file.
10393 * catgets/xopen-msg.sed: Removed.
10395 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10397 * intl/po2test.awk: New file.
10398 * intl/po2test.sed: Removed.
10400 2012-07-04 Joseph Myers <joseph@codesourcery.com>
10403 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10404 or multiply small sinh result by itself.
10405 * math/s_ctanf.c (__ctanf): Likewise.
10406 * math/s_ctanh.c (__ctanh): Likewise.
10407 * math/s_ctanhf.c (__ctanhf): Likewise.
10408 * math/s_ctanhl.c (__ctanhl): Likewise.
10409 * math/s_ctanl.c (__ctanl): Likewise.
10410 * math/libm-test.inc (ctan_test_tonearest): New function.
10411 (ctan_test_towardzero): Likewise.
10412 (ctan_test_downward): Likewise.
10413 (ctan_test_upward): Likewise.
10414 (ctanh_test_tonearest): Likewise.
10415 (ctanh_test_towardzero): Likewise.
10416 (ctanh_test_downward): Likewise.
10417 (ctanh_test_upward): Likewise.
10418 (main): Call these new functions.
10419 * sysdeps/i386/fpu/libm-test-ulps: Update.
10420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10422 2012-07-03 Mike Frysinger <vapier@gentoo.org>
10424 * .gitignore: Delete /ports entry.
10426 2012-07-03 Andreas Jaeger <aj@suse.de>
10428 * po/bg.po: Update from translation team.
10429 * po/cs.po: Likewise.
10430 * po/de.po: Likewise.
10431 * po/hr.po: Likewise.
10432 * po/nl.pl: Likewise.
10433 * po/pl.po: Likewise.
10434 * po/vi.po: Likewise.
10436 2012-07-03 Joseph Myers <joseph@codesourcery.com>
10438 * Makeconfig [!+link] (+link-before-libc): New variable.
10439 [!+link] (+link-after-libc): Likewise.
10440 [!+link] (+link-tests): Likewise.
10441 [!+link] (+link): Define in terms of $(+link-before-libc) and
10442 $(+link-after-libc).
10443 [!+link-static] (+link-static-before-libc): New variable.
10444 [!+link-static] (+link-static-after-libc): Likewise.
10445 [!+link-static] (+link-static-tests): Likewise.
10446 [!+link-static] (+link-static): Define in terms of
10447 $(+link-static-before-libc) and $(+link-static-after-libc).
10448 [build-shared] (link-libc-before-gnulib): New variable.
10449 [build-shared] (link-libc-tests): Likewise.
10450 [build-shared] (link-libc): Define in terms of
10451 $(link-libc-before-gnulib).
10452 [!build-shared] (link-libc-tests): New variable.
10453 (link-libc-static-tests): New variable.
10454 [!gnulib] (gnulib-arch): New variable.
10455 [!gnulib] (gnulib-tests): Likewise.
10456 [!gnulib] (static-gnulib-arch): Likewise.
10457 [!gnulib] (static-gnulib-tests): Likewise.
10458 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10459 Define with "=" instead of ":=".
10460 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10461 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10462 * Rules (binaries-all-notests): New variable.
10463 (binaries-all-tests): Likewise.
10464 (binaries-static-notests): Likewise.
10465 (binaries-static-tests): Likewise.
10466 (binaries-all): Define using $(binaries-all-notests) and
10467 $(binaries-all-tests).
10468 (binaries-static): Define using $(binaries-static-notests) and
10469 $(binaries-static-tests).
10470 (binaries-shared-tests): New variable.
10471 (binaries-shared-notests): Likewise.
10472 (binaries-shared): Remove variable.
10473 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10474 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10475 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10476 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10477 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10478 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10479 * elf/Makefile (sln-modules): New variable.
10480 (extra-objs): Add $(sln-modules:=.o).
10481 (ldconfig-modules): Add static-stubs.
10482 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10483 * elf/static-stubs.c: New file.
10486 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10487 by 7 not 8 to examine high bit of fractional part. Use volatile
10488 variables when splitting into final array of floats if
10489 __FLT_EVAL_METHOD__ != 0.
10490 * math/libm-test.inc (cos_test): Add another test.
10491 (sin_test): Likewise.
10492 * sysdeps/i386/fpu/libm-test-ulps: Update.
10495 * math/libm-test.inc (cosh_test): Add more tests.
10497 * version.h (RELEASE): Set to "development".
10498 (VERSION): Set to "2.16.90".
10500 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10502 * NEWS: Update copyright. Remove last-updated date.
10503 Mention math library bug fixes and timezone data changes.
10504 * README: Mention GNU/Hurd, x32, and HPPA support status.
10506 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10508 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10510 2012-06-27 Andreas Jaeger <aj@suse.de>
10512 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10514 2012-06-25 Andreas Jaeger <aj@suse.de>
10516 * sysdeps/s390/fpu/libm-test-ulps: Update.
10518 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10519 Thomas Schwinge <thomas@codesourcery.com>
10521 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10522 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10523 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10526 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10528 * sysdeps/mach/start.c: Remove file.
10529 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10530 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10531 * sysdeps/sh/init-first.c: Likewise.
10533 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10534 registers for frame unwinding purposes, add CFI directives.
10535 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10536 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10537 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10540 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10541 __fortify_fail returning.
10542 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10544 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10545 sysdeps/sh/____longjmp_chk.S.
10546 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10547 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10548 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10549 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10551 * sysdeps/sh/abort-instr.h: New file.
10552 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10553 process in case exit returns.
10555 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10556 initialize the GOT register before use.
10558 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10559 calculation of ARGC > 4.
10561 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10562 meaningful names to some local labels.
10564 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10565 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10567 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10568 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10569 (__arch_compare_and_exchange_val_16_acq): Likewise.
10570 (__arch_compare_and_exchange_val_32_acq): Likewise.
10571 (atomic_exchange_and_add): Fix gUSA sequence.
10572 (atomic_add): Likewise.
10573 (atomic_add_negative): Likewise.
10574 (atomic_add_zero): Likewise.
10575 (atomic_bit_test_set): Likewise.
10577 2012-06-22 Andreas Schwab <schwab@redhat.com>
10580 * include/link.h (struct link_map): Add l_free_initfini.
10581 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10583 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10584 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10585 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10588 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10590 * configure.in: Use AC_LANG_SOURCE.
10591 * configure: Regenerate.
10593 2012-06-22 Roland McGrath <roland@hack.frob.com>
10595 * configure.in (libc_cv_localstatedir): New substituted variable.
10596 * configure: Regenerated.
10597 * config.make.in (localstatedir): New variable, substituted from
10598 libc_cv_localstatedir.
10599 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10600 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10601 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10602 * sysdeps/gnu/configure: Regenerated.
10604 2012-06-21 Jeff Law <law@redhat.com>
10607 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10608 free. Simplify list management for _LIBC case.
10610 2012-06-21 Joseph Myers <joseph@codesourcery.com>
10613 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10614 Clear sign bit of 64-bit integer value before comparing against
10617 * sysdeps/mach/configure: Regenerated.
10619 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10622 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10624 2012-06-21 Jeff Law <law@redhat.com>
10627 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10628 uint16_t for elements in the "seen" array to avoid char overflows.
10629 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10630 * elf/dl-open.c (dl_open_worker): Likewise.
10632 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10634 * scripts/list-sources.sh: Scan PORTS for translations.
10635 * po/libc.pot: Regenerated.
10637 2012-06-21 Andreas Jaeger <aj@suse.de>
10640 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10642 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10643 * bits/byteswap-16.h (__bswap_16): Likewise.
10644 * bits/byteswap.h (__bswap_constant_16): Likewise.
10646 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10649 * sysdeps/i386/fpu_control.h: Removed.
10650 * sysdeps/x86_64/fpu_control.h: Moved to ...
10651 * sysdeps/x86/fpu_control.h: Here.
10653 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10654 (_FPU_SETCW): Likewise.
10656 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10659 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10660 * sysdeps/x86/fpu/bits/mathinline.h: This.
10661 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10665 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10666 functions if __x86_64__ is defined.
10668 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10670 * string/endian.h: Add !__ASSEMBLER__ condition for including
10671 conversion interfaces.
10673 2012-06-15 Joseph Myers <joseph@codesourcery.com>
10676 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10677 of ABS(x) in calculating zero to negative powers other than odd
10679 * math/libm-test.inc (pow_test): Add more tests.
10681 2012-06-15 Andreas Jaeger <aj@suse.de>
10683 * manual/contrib.texi (Contributors): Update entry of Liubov
10684 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10687 2012-06-15 Cyril Hrubis <metan@ucw.cz>
10689 * string/string.h: Add __wur to GNU version of strerror_r.
10691 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10694 * string/Makefile (tests): Add tst-strtok_r.
10695 * string/tst-strtok_r.c: New file.
10696 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10697 RAX_LP/RDX_LP on SAVE_PTR.
10699 2012-06-14 Roland McGrath <roland@hack.frob.com>
10701 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10703 2012-06-14 Joseph Myers <joseph@codesourcery.com>
10705 * libm_test.inc (csqrt_test): Allow more spurious underflow
10707 (j0_test): Likewise.
10708 (j1_test): Likewise.
10709 (y0_test): Likewise.
10710 (y1_test): Likewise.
10712 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10714 * po/Makefile (libc.pot): Use UTF-8 charset.
10716 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10719 Suppress sign-conversion warning from FD_SET.
10720 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10721 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10722 not unsigned long int.
10723 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10725 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10729 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10730 __extern_always_inline instead of __extern_inline.
10731 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10732 (__signbit): Likewise.
10733 (__signbitl): Support C++ namespace.
10734 (lrintf): New inline function.
10736 (llrintf): Likewise.
10737 (llrint): Likewise.
10747 (floorf): Likewise.
10748 (nearbyint): Likewise.
10749 (nearbyintf): Likewise.
10751 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10753 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10754 non-default versions.
10756 2012-06-11 Roland McGrath <roland@hack.frob.com>
10759 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10761 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10763 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10764 (FE_UPWARD, FE_DOWNWARD): Don't define.
10765 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10766 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10768 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10770 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10771 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10773 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10775 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10776 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10777 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10778 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10780 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10783 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10784 * sysdeps/i386/fpu/Implies: New file.
10785 * sysdeps/x86_64/fpu/Implies: Likewise.
10786 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10787 * sysdeps/x86/fpu/bits/fenv.h: This.
10789 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10792 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10795 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10796 character 0xffff that matches the last element of the
10799 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10801 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10804 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10806 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10807 values higher than 25.6283.
10809 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10811 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10812 subnormal exponent extraction and add some __builtin_expect.
10813 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10814 Fix for subnormal mantissa calculation.
10816 2012-06-04 Mike Frysinger <vapier@gentoo.org>
10818 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10819 cpu2 is -1 and errno is not ENOSYS.
10821 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10824 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10825 * sysdeps/x86/bits/string.h: This.
10826 * sysdeps/x86_64/bits/string.h: Removed.
10828 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10829 if not compiling for x86-64, but compiling for >= i486.
10831 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10832 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10834 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10835 New macro from Linux kernel 3.4.0.
10836 (FP_XSTATE_MAGIC2): Likewise.
10837 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10838 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10839 (struct _fpx_sw_bytes): New struct.
10840 (struct _xsave_hdr): Likewise.
10841 (struct _ymmh_state): Likewise.
10842 (struct _xstate): Likewise.
10844 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10845 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10846 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10847 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10848 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10849 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10851 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10852 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10853 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10854 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10855 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10856 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10858 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10861 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10862 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10863 (sysdep_headers): Include sys/platform/ppc.h.
10864 * sysdeps/powerpc/test-gettimebase.c: Test for
10865 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10866 * manual/Makefile (appendices): Include platform.texi.
10867 * manual/contrib.texi (Contributors): Update @node pointers.
10868 * manual/maint.texi (Maintenance): Likewise.
10869 (Platform): New node.
10870 * manual/platform.texi: New file. Document the new features.
10872 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10873 Jakub Jelinek <jakub@redhat.com>
10876 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10877 where __builtin_expect is unavailable.
10879 2012-06-03 David S. Miller <davem@davemloft.net>
10881 * stdlib/longlong.h: Updated from GCC.
10883 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10886 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10887 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10890 (GLIBC_2.16): Likewise.
10892 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10894 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10896 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10899 (default-abi): New variable.
10900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10901 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10903 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10905 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10907 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10910 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10911 definition. Document in comment.
10913 2012-06-01 David S. Miller <davem@davemloft.net>
10915 * stdlib/longlong.h: Updated from GCC.
10917 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10920 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10921 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10922 sys/debugreg.h sys/io.h here.
10923 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10924 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10926 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10927 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10928 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10929 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10930 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10931 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10933 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10934 Define only if __x86_64__ is defined.
10936 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10939 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10940 Use int64_t for variable i.
10941 * math/libm-test.inc (fmod_test): Add more tests.
10943 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10944 z computation is not scheduled after fetestexcept.
10945 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10946 Use math_force_eval instead of asm to ensure calculation scheduled
10947 before exception test.
10948 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10949 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10951 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10953 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10954 computation is not scheduled after fetestexcept.
10956 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10959 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10960 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10962 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10964 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10965 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10967 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10970 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10972 (__WCHAR_MIN): Support __WORDSIZE == 64.
10973 (__WCHAR_MAX): Likewise.
10975 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10976 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10979 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10980 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10983 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10984 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10986 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10987 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10989 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10990 Defined to 1 if __x86_64__ isn't defined.
10991 (_STAT_VER_LINUX_OLD): New.
10992 (st_atime): Remove duplicate.
10993 (st_mtime): Likewise.
10994 (st_ctime): Likewise.
10996 2012-05-31 David S. Miller <davem@davemloft.net>
10998 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11001 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11003 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11007 * elf/dl-reloc.c: Include <_itoa.h>.
11008 (_dl_reloc_bad_type): Remove use of INTUSE.
11009 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11010 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11011 * stdio-common/psiginfo.c (psiginfo): Likewise.
11012 * stdio-common/psignal.c (psignal): Likewise.
11013 * string/strsignal.c (strsignal): Likewise.
11014 * include/signal.h (_sys_siglist): Declare hidden proto.
11015 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11016 INTVARDEF with libc_hidden_data_def.
11017 * stdio-common/itoa-udigits.c: Likewise.
11018 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11019 (_itoa_lower_digits_internal): Remove declaration.
11020 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11021 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11022 (_sys_sigabbrev_internal): Remove aliases.
11023 (_sys_siglist): Define hidden alias.
11025 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11027 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11030 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11033 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11034 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11036 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11037 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11038 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11039 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11040 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11041 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11043 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11044 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11045 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11047 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11055 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11056 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11057 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11059 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11060 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11061 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11062 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11063 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11064 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11066 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11067 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11069 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11070 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11072 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11073 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11074 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11076 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11077 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11079 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11081 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11082 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11083 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11085 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11087 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11089 2012-05-31 Joseph Myers <joseph@codesourcery.com>
11091 * math/math.h (M_El): Use two more decimal places.
11092 (M_LOG2El): Likewise.
11093 (M_LOG10El): Likewise.
11094 (M_LN2l): Likewise.
11095 (M_LN10l): Likewise.
11097 (M_PI_2l): Likewise.
11098 (M_PI_4l): Likewise.
11099 (M_1_PIl): Likewise.
11100 (M_2_PIl): Likewise.
11101 (M_2_SQRTPIl): Likewise.
11102 (M_SQRT2l): Likewise.
11103 (M_SQRT1_2l): Likewise.
11105 2012-05-31 David S. Miller <davem@davemloft.net>
11107 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11108 values between float registers.
11109 * sysdeps/sparc/sparc64/memset.S: Likewise.
11110 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11112 2012-05-31 Mike Frysinger <vapier@gentoo.org>
11114 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11115 -D_FORTIFY_SOURCE=1.
11116 (CPPFLAGS-tst-longjmp_chk.c): Define.
11117 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11118 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11119 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11120 CFLAGS-tst-wchar-h.c.
11122 2012-05-31 Marek Polacek <polacek@redhat.com>
11125 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11126 __endmntent_internal): Remove declaration.
11127 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11128 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11129 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11131 2012-05-30 David S. Miller <davem@davemloft.net>
11133 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11134 (___Q_simulate_exceptions): Use real FP ops rather than writing
11136 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11139 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11142 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11143 * sysdeps/x86/bits/xtitypes.h: This.
11145 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11146 * sysdeps/x86/bits/wordsize.h: This.
11148 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11149 * sysdeps/x86/bits/huge_vall.h: This.
11151 * sysdeps/i386/bits/select.h: Removed.
11152 * sysdeps/x86_64/bits/select.h: Renamed to ...
11153 * sysdeps/x86/bits/select.h: This.
11155 * sysdeps/i386/bits/setjmp.h: Removed.
11156 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11157 * sysdeps/x86/bits/setjmp.h: This.
11159 * sysdeps/i386/bits/mathdef.h: Removed.
11160 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11161 * sysdeps/x86/bits/mathdef.h: This.
11163 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11166 * include/sys/socket.h (__connect_internal)
11167 (__libc_sa_len_internal): Remove declaration.
11168 (__connect, __libc_sa_len): Declare hidden_proto.
11169 (SA_LEN): Remove use of INTUSE.
11170 * socket/connect.c: Add libc_hidden_def.
11171 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11172 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11173 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11175 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11176 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11177 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11178 of adding _internal alias.
11180 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11183 * sysdeps/i386/bits/link.h: Removed.
11184 * sysdeps/i386/bits/linkmap.h: Likewise.
11185 * sysdeps/x86_64/bits/link.h: Renamed to ...
11186 * sysdeps/x86/bits/link.h: This.
11187 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11188 * sysdeps/x86/bits/linkmap.h: This.
11190 * sysdeps/i386/bits/endian.h: Removed.
11191 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11192 * sysdeps/x86/bits/endian.h: This.
11194 * sysdeps/i386/bits/byteswap.h: Removed.
11195 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11196 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11197 * sysdeps/x86/bits/byteswap.h: This.
11198 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11199 * sysdeps/x86/bits/byteswap-16.h: This.
11200 * sysdeps/i386/Implies: Add x86.
11201 * sysdeps/x86_64/Implies: Likewise.
11203 2012-05-30 David S. Miller <davem@davemloft.net>
11205 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11206 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11207 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11208 (FP_TRAPPING_EXCEPTIONS): Define.
11209 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11210 (FP_TRAPPING_EXCEPTIONS): Define.
11211 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11212 subnormals only when inexact has been signalled or underflow
11213 exceptions are enabled.
11214 (_FP_PACK_CANONICAL): Likewise.
11216 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11219 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11220 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11222 2012-05-30 Richard Henderson <rth@twiddle.net>
11224 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11225 with #ifndef NOT_IN_libc.
11227 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11228 marked to avoid plt entry.
11230 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11233 * Makeconfig (default-abi): New macro.
11234 (abi-includes): Likewise.
11235 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11236 $(abi-$(default-abi)-lib-soname) for soname if defined.
11237 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11239 * Makefile (installed-stubs): Likewise.
11240 * include/stubs-biarch.h: Removed.
11241 * scripts/lib-names.awk: Only handle one library at a time.
11242 * scripts/soversions.awk: Remove WORDSIZE support.
11243 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11245 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11247 (syscall-list-default-condition): Likewise.
11248 (syscall-list-default-condition): Likewise.
11249 (syscall-list-includes): Likewise.
11250 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11251 syscall-list-* with abi-*. Handle undefined abi-variants.
11252 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11253 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11254 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11255 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11256 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11257 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11259 (syscall-list-32-options): Likewise.
11260 (syscall-list-32-condition): Likewise.
11261 (syscall-list-64-options): Likewise.
11262 (syscall-list-64-condition): Likewise.
11263 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11265 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11268 (abi-64-ld-soname): New macro.
11269 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11270 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11273 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11274 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11276 2012-05-30 Joseph Myers <joseph@codesourcery.com>
11278 * sysdeps/unix/sysv/linux/kernel-features.h
11279 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11280 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11281 include <kernel-features.h>.
11282 [!__NR_ftruncate64]: Remove conditional code.
11283 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11284 [__NR_ftruncate64]: Make code unconditional.
11285 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11286 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11287 include <kernel-features.h>.
11288 [!__NR_ftruncate64]: Remove conditional code.
11289 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11290 [__NR_ftruncate64]: Make code unconditional.
11291 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11293 include <kernel-features.h>.
11294 [!__NR_ftruncate64]: Remove conditional code.
11295 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11296 [__NR_ftruncate64]: Make code unconditional.
11297 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11299 include <kernel-features.h>.
11300 [!__NR_ftruncate64]: Remove conditional code.
11301 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11302 [__NR_ftruncate64]: Make code unconditional.
11303 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11305 * configure.in (libc_cv_fpie): Weaken to a compile test using
11306 LIBC_TRY_CC_OPTION.
11307 * configure: Regenerated.
11309 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11324 2012-05-27 David S. Miller <davem@davemloft.net>
11326 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11328 (__Q_simulate_exceptions): Return void. Change to simulate
11329 exceptions by writing into the %fsr.
11330 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11331 (__Qp_handle_exceptions): Likewise.
11333 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11334 __Qp_handle_exceptions.
11335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11336 __Qp_handle_exceptions.
11337 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11338 as unused and give dummy FP_RND_NEAREST initializer.
11339 (FP_INHIBIT_RESULTS): Define.
11340 (___Q_simulate_exceptions): Update declaration.
11341 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11343 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11344 as unused and give dummy FP_RND_NEAREST initializer.
11345 (__Qp_handle_exceptions): Update declaration.
11346 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11349 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11351 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11352 the temporary FPU control word.
11353 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11354 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11355 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11356 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11357 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11358 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11359 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11360 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11361 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11362 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11363 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11365 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11367 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11370 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11372 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11373 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11374 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11375 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11377 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11378 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11381 2012-05-27 Ulrich Drepper <drepper@gmail.com>
11383 * po/h.po: Update from translation team.
11385 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11387 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11389 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11390 handling of denormals.
11391 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11392 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11393 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11394 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11395 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11396 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11397 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11400 2012-05-26 Marek Polacek <polacek@redhat.com>
11403 * math/libm-test.inc (fma_test): Don't always expect underflow
11406 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11409 * elf/tst-execstack.c: Include stackinfo.h.
11410 (do_test): Adjust test case to ensure that pthread_getattr_np
11411 behaviour remains the same after marking stack executable.
11413 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11415 * sysdeps/unix/sysv/linux/kernel-features.h
11416 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11417 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11419 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11420 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11421 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11423 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11424 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11426 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11428 * configure.in: Define the default includes to being none.
11429 * configure: Regenerated.
11431 2012-05-25 Roland McGrath <roland@hack.frob.com>
11433 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11434 * sysdeps/x86_64/setjmp.S: Likewise.
11435 * sysdeps/i386/bsd-setjmp.S: Likewise.
11436 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11437 * sysdeps/i386/setjmp.S: Likewise.
11438 * sysdeps/i386/__longjmp.S: Likewise.
11439 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11440 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11442 * include/stap-probe.h: New file.
11443 * configure.in: Handle --enable-systemtap.
11444 * configure: Regenerated.
11445 * config.h.in (USE_STAP_PROBE): New #undef.
11446 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11447 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11448 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11450 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11453 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11454 to 2.4.0 where earlier.
11455 * sysdeps/unix/sysv/linux/configure: Regenerated.
11456 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11457 <kernel-features.h>.
11458 [__ASSUME_32BITUIDS]: Make code unconditional.
11459 [!__ASSUME_32BITUIDS]: Remove conditional code.
11460 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11461 <kernel-features.h>.
11462 [__ASSUME_32BITUIDS]: Make code unconditional.
11463 [!__ASSUME_32BITUIDS]: Remove conditional code.
11464 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11465 [__ASSUME_32BITUIDS]: Make code unconditional.
11466 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11467 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11468 <kernel-features.h>.
11469 [__ASSUME_32BITUIDS]: Make code unconditional.
11470 [!__ASSUME_32BITUIDS]: Remove conditional code.
11471 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11472 <kernel-features.h>.
11473 [__ASSUME_32BITUIDS]: Make code unconditional.
11474 [!__ASSUME_32BITUIDS]: Remove conditional code.
11475 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11476 <kernel-features.h>.
11477 [__ASSUME_32BITUIDS]: Make code unconditional.
11478 [!__ASSUME_32BITUIDS]: Remove conditional code.
11479 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11480 <kernel-features.h>.
11481 [__ASSUME_32BITUIDS]: Make code unconditional.
11482 [!__ASSUME_32BITUIDS]: Remove conditional code.
11483 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11484 <kernel-features.h>.
11485 [__ASSUME_32BITUIDS]: Make code unconditional.
11486 [!__ASSUME_32BITUIDS]: Remove conditional code.
11487 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11488 <kernel-features.h>.
11489 [__ASSUME_32BITUIDS]: Make code unconditional.
11490 [!__ASSUME_32BITUIDS]: Remove conditional code.
11491 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11492 <kernel-features.h>.
11493 [__ASSUME_32BITUIDS]: Make code unconditional.
11494 [!__ASSUME_32BITUIDS]: Remove conditional code.
11495 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11496 <kernel-features.h>.
11497 [__ASSUME_32BITUIDS]: Make code unconditional.
11498 [!__ASSUME_32BITUIDS]: Remove conditional code.
11499 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11500 <kernel-features.h>.
11501 [__ASSUME_32BITUIDS]: Make code unconditional.
11502 [!__ASSUME_32BITUIDS]: Remove conditional code.
11503 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11504 <kernel-features.h>.
11505 [__ASSUME_32BITUIDS]: Make code unconditional.
11506 [!__ASSUME_32BITUIDS]: Remove conditional code.
11507 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11508 <kernel-features.h>.
11509 [__NR_setresgid] (__setresgid): Do not declare.
11510 [__ASSUME_32BITUIDS]: Make code unconditional.
11511 [!__ASSUME_32BITUIDS]: Remove conditional code.
11512 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11513 <kernel-features.h>.
11514 [__NR_setresuid] (__setresuid): Do not declare.
11515 [__ASSUME_32BITUIDS]: Make code unconditional.
11516 [!__ASSUME_32BITUIDS]: Remove conditional code.
11517 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11518 <kernel-features.h>.
11519 [__ASSUME_32BITUIDS]: Make code unconditional.
11520 [!__ASSUME_32BITUIDS]: Remove conditional code.
11521 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11522 <kernel-features.h>.
11523 [__ASSUME_32BITUIDS]: Make code unconditional.
11524 [!__ASSUME_32BITUIDS]: Remove conditional code.
11525 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11526 <kernel-features.h>.
11527 [__ASSUME_32BITUIDS]: Make code unconditional.
11528 [!__ASSUME_32BITUIDS]: Remove conditional code.
11529 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11530 <kernel-features.h>.
11531 [__ASSUME_32BITUIDS]: Make code unconditional.
11532 [!__ASSUME_32BITUIDS]: Remove conditional code.
11533 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11534 <kernel-features.h>.
11535 [__ASSUME_32BITUIDS]: Make code unconditional.
11536 [!__ASSUME_32BITUIDS]: Remove conditional code.
11537 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11538 <kernel-features.h>.
11539 [__ASSUME_32BITUIDS]: Make code unconditional.
11540 [!__ASSUME_32BITUIDS]: Remove conditional code.
11541 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11542 <kernel-features.h>.
11543 [__ASSUME_32BITUIDS]: Make code unconditional.
11544 [!__ASSUME_32BITUIDS]: Remove conditional code.
11545 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11546 <kernel-features.h>.
11547 [__ASSUME_32BITUIDS]: Make code unconditional.
11548 [!__ASSUME_32BITUIDS]: Remove conditional code.
11549 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11550 <kernel-features.h>.
11551 [__ASSUME_32BITUIDS]: Make code unconditional.
11552 [!__ASSUME_32BITUIDS]: Remove conditional code.
11553 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11554 <kernel-features.h>.
11555 [__ASSUME_32BITUIDS]: Make code unconditional.
11556 [!__ASSUME_32BITUIDS]: Remove conditional code.
11557 * sysdeps/unix/sysv/linux/kernel-features.h
11558 (__ASSUME_SETRESUID_SYSCALL): Remove.
11559 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11560 (__ASSUME_32BITUIDS): Likewise.
11561 (__ASSUME_LDT_WORKS): Likewise.
11562 (__ASSUME_O_DIRECTORY): Likewise.
11563 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11564 architecture but not kernel version.
11565 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11566 (__ASSUME_MMAP2_SYSCALL): Likewise.
11567 (__ASSUME_STAT64_SYSCALL): Likewise.
11568 (__ASSUME_IPC64): Likewise.
11569 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11570 <kernel-features.h>.
11571 [__ASSUME_32BITUIDS]: Make code unconditional.
11572 [!__ASSUME_32BITUIDS]: Remove conditional code.
11573 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11574 <kernel-features.h>.
11575 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11576 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11577 132096]: Remove conditional code.
11578 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11579 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11580 <kernel-features.h>.
11581 [__ASSUME_32BITUIDS]: Make code unconditional.
11582 [!__ASSUME_32BITUIDS]: Remove conditional code.
11583 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11584 <kernel-features.h>.
11585 [__ASSUME_32BITUIDS]: Make code unconditional.
11586 [!__ASSUME_32BITUIDS]: Remove conditional code.
11587 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11588 <kernel-features.h>.
11589 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11591 (__setresgid): Do not declare.
11592 [__ASSUME_32BITUIDS]: Make code unconditional.
11593 [!__ASSUME_32BITUIDS]: Remove conditional code.
11594 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11595 <kernel-features.h>.
11596 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11598 (__setresuid): Do not declare.
11599 [__ASSUME_32BITUIDS]: Make code unconditional.
11600 [!__ASSUME_32BITUIDS]: Remove conditional code.
11601 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11602 <kernel-features.h>.
11603 [__ASSUME_32BITUIDS]: Make code unconditional.
11604 [!__ASSUME_32BITUIDS]: Remove conditional code.
11605 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11606 <kernel-features.h>.
11607 [__ASSUME_32BITUIDS]: Make code unconditional.
11608 [!__ASSUME_32BITUIDS]: Remove conditional code.
11610 2012-05-25 Richard Henderson <rth@twiddle.net>
11612 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11613 dl_hwcap to ifunc resolver.
11614 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11616 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11617 dl_hwcap to ifunc resolver.
11618 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11620 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11623 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11624 for |x| <= 2**-26, not 2**-57.
11625 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11628 2012-05-24 Jeff Law <law@redhat.com>
11630 * stdio-common/Makefile (tests): Add bug25.
11631 * stdio-common/bug25.c: New test.
11633 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11636 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11637 multiple of MALLOC_ALIGNMENT in size.
11638 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11640 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11642 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11644 (FILENAME_MAX): Use macro-int-constant.
11645 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11646 (_IOFBF): Use macro-int-constant.
11647 (_IOLBF): Likewise.
11648 (_IONBF): Likewise.
11649 (SEEK_CUR): Likewise.
11650 (SEEK_END): Likewise.
11651 (SEEK_SET): Likewise.
11652 (TMP_MAX): Likewise.
11653 (EOF): Use macro-int-constant. Require < 0.
11654 (NULL): Use macro-constant. Require == 0.
11655 (stdin): Require type to be FILE *.
11656 (stdout): Likewise.
11657 (stderr): Likewise.
11658 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11659 macro-int-constant.
11660 (EXIT_SUCCESS): Likewise.
11661 (NULL): Use macro-constant. Require == 0.
11662 (RAND_MAX): Use macro-int-constant.
11663 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11664 [C99-based standards] (strtof): Require function.
11665 [C99-based standards] (strtold): Likewise.
11666 [C99-based standards] (strtoll): Likewise.
11667 [C99-based standards] (strtoull): Likewise.
11668 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11669 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11670 [ISO || ISO99 || ISO11] (math.h): Likewise.
11671 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11672 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11673 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11675 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11678 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11679 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11680 * intl/dgettext.c (DCGETTEXT): Likewise.
11681 * intl/gettext.c (DCGETTEXT): Likewise.
11682 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11683 * posix/regex_internal.h (gettext): Likewise.
11684 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11685 Remove declaration.
11686 * include/argz.h (__argz_count_internal)
11687 (__argz_stringify_internal): Remove declaration.
11688 (__argz_count, __argz_stringify): Declare hidden proto.
11689 * intl/dcgettext.c: Remove use of INTDEF.
11690 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11691 * string/argz-stringify.c: Likewise.
11692 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11693 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11694 Declare hidden proto.
11695 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11696 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11697 Declare hidden proto.
11698 * include/stdio.h (__asprintf_internal): Don't declare.
11699 (__asprintf): Don't define as macro. Declare hidden proto.
11700 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11701 (__fsetlocking): Declare hidden proto.
11702 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11703 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11705 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11706 (_IO_setlinebuf): Remove use of INTUSE.
11707 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11708 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11709 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11710 Remove declaration.
11711 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11712 (_IO_do_flush): Remove use of INTUSE.
11713 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11714 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11715 (_IO_adjust_column, _IO_least_wmarker)
11716 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11717 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11718 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11719 (_IO_default_doallocate, _IO_wdefault_doallocate)
11720 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11721 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11722 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11723 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11724 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11725 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11726 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11727 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11728 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11729 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11730 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11731 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11732 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11734 (_IO_flush_all_internal, _IO_adjust_column_internal)
11735 (_IO_default_uflow_internal, _IO_default_finish_internal)
11736 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11737 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11738 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11739 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11740 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11741 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11742 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11743 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11744 (_IO_file_close_internal, _IO_file_close_it_internal)
11745 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11746 (_IO_file_init_internal, _IO_file_attach_internal)
11747 (_IO_file_fopen_internal, _IO_file_read_internal)
11748 (_IO_file_sync_internal, _IO_file_seek_internal)
11749 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11750 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11751 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11752 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11753 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11754 (_IO_list_all_internal, _IO_link_in_internal)
11755 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11756 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11757 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11758 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11759 (_IO_do_write_internal, _IO_padn_internal)
11760 (_IO_getline_info_internal, _IO_getline_internal)
11761 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11762 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11763 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11764 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11765 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11766 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11767 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11768 with libc_hidden_ver, remove use of INTUSE.
11769 * libio/genops.c: Likewise.
11770 * libio/freopen.c: Likewise.
11771 * libio/freopen64.c: Likewise.
11772 * libio/iofclose.c: Likewise.
11773 * libio/iofdopen.c: Likewise.
11774 * libio/iofflush.c: Likewise.
11775 * libio/iofflush_u.c: Likewise.
11776 * libio/iofgets.c: Likewise.
11777 * libio/iofgets_u.c: Likewise.
11778 * libio/iofopen.c: Likewise.
11779 * libio/iofopncook.c: Likewise.
11780 * libio/iofread.c: Likewise.
11781 * libio/iofread_u.c: Likewise.
11782 * libio/ioftell.c: Likewise.
11783 * libio/iofwrite.c: Likewise.
11784 * libio/iogetline.c: Likewise.
11785 * libio/iogets.c: Likewise.
11786 * libio/iogetwline.c: Likewise.
11787 * libio/iopadn.c: Likewise.
11788 * libio/iopopen.c: Likewise.
11789 * libio/ioseekoff.c: Likewise.
11790 * libio/ioseekpos.c: Likewise.
11791 * libio/iosetbuffer.c: Likewise.
11792 * libio/iosetvbuf.c: Likewise.
11793 * libio/ioungetc.c: Likewise.
11794 * libio/ioungetwc.c: Likewise.
11795 * libio/iovdprintf.c: Likewise.
11796 * libio/iovsprintf.c: Likewise.
11797 * libio/iovsscanf.c: Likewise.
11798 * libio/memstream.c: Likewise.
11799 * libio/obprintf.c: Likewise.
11800 * libio/oldfileops.c: Likewise.
11801 * libio/oldiofclose.c: Likewise.
11802 * libio/oldiofdopen.c: Likewise.
11803 * libio/oldiofopen.c: Likewise.
11804 * libio/oldiopopen.c: Likewise.
11805 * libio/oldstdfiles.c: Likewise.
11806 * libio/putc.c: Likewise.
11807 * libio/setbuf.c: Likewise.
11808 * libio/setlinebuf.c: Likewise.
11809 * libio/stdfiles.c: Likewise.
11810 * libio/strops.c: Likewise.
11811 * libio/vasprintf.c: Likewise.
11812 * libio/vscanf.c: Likewise.
11813 * libio/vsnprintf.c: Likewise.
11814 * libio/vswprintf.c: Likewise.
11815 * libio/wfiledoalloc.c: Likewise.
11816 * libio/wfileops.c: Likewise.
11817 * libio/wgenops.c: Likewise.
11818 * libio/wmemstream.c: Likewise.
11819 * libio/wstrops.c: Likewise.
11820 * libio/__fpurge.c: Likewise.
11821 * libio/__fsetlocking.c: Likewise.
11822 * assert/assert.c: Likewise.
11823 * debug/fgets_chk.c: Likewise.
11824 * debug/fgets_u_chk.c: Likewise.
11825 * debug/fread_chk.c: Likewise.
11826 * debug/fread_u_chk.c: Likewise.
11827 * debug/gets_chk.c: Likewise.
11828 * debug/obprintf_chk.c: Likewise.
11829 * debug/vasprintf_chk.c: Likewise.
11830 * debug/vdprintf_chk.c: Likewise.
11831 * debug/vsnprintf_chk.c: Likewise.
11832 * debug/vsprintf_chk.c: Likewise.
11833 * malloc/mtrace.c: Likewise.
11834 * misc/error.c: Likewise.
11835 * misc/syslog.c: Likewise.
11836 * stdio-common/asprintf.c: Likewise.
11837 * stdio-common/fxprintf.c: Likewise.
11838 * stdio-common/getw.c: Likewise.
11839 * stdio-common/isoc99_fscanf.c: Likewise.
11840 * stdio-common/isoc99_scanf.c: Likewise.
11841 * stdio-common/isoc99_vfscanf.c: Likewise.
11842 * stdio-common/isoc99_vscanf.c: Likewise.
11843 * stdio-common/isoc99_vsscanf.c: Likewise.
11844 * stdio-common/printf-prs.c: Likewise.
11845 * stdio-common/printf_fp.c: Likewise.
11846 * stdio-common/printf_fphex.c: Likewise.
11847 * stdio-common/printf_size.c: Likewise.
11848 * stdio-common/putw.c: Likewise.
11849 * stdio-common/scanf.c: Likewise.
11850 * stdio-common/sprintf.c: Likewise.
11851 * stdio-common/tmpfile.c: Likewise.
11852 * stdio-common/vfprintf.c: Likewise.
11853 * stdio-common/vfscanf.c: Likewise.
11854 * stdlib/strfmon_l.c: Likewise.
11855 * sunrpc/openchild.c: Likewise.
11856 * sunrpc/xdr_stdio.c: Likewise.
11857 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11858 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11860 2012-05-24 Roland McGrath <roland@hack.frob.com>
11862 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11864 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11865 in the third column, to generate for the shared library an IFUNC
11866 that uses _dl_vdso_vsym.
11867 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11868 * Makeconfig (object-suffixes-noshared): New variable.
11870 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11871 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11872 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11873 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11876 * include/sys/time.h (__gettimeofday): Remove macro.
11877 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11878 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11880 (__gettimeofday): Add libc_hidden_def.
11881 (gettimeofday): Add libc_hidden_weak.
11882 * sysdeps/mach/gettimeofday.c: Likewise.
11883 * sysdeps/posix/gettimeofday.c: Likewise.
11884 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11885 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11886 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11887 (__gettimeofday_internal): Remove strong_alias.
11888 (__gettimeofday): Add libc_hidden_def.
11889 (gettimeofday): Add libc_hidden_weak.
11890 * sysdeps/unix/syscalls.list (gettimeofday):
11891 Remove __gettimeofday_internal alias.
11893 2012-05-24 Daniel Jacobowitz <drow@false.org>
11894 H.J. Lu <hongjiu.lu@intel.com>
11897 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11898 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11899 (largebin_index_32_big): New.
11900 (largebin_index): Use it for 16-byte alignment.
11901 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11902 correction with front_misalign.
11904 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11932 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11933 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11935 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11939 * math/libm-test.inc (exp_test): Add test from bug 14036.
11940 (pow_test): Add test from bug 10846.
11942 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11944 (special_function): Do not include flags in test name.
11945 (parse_args): Likewise.
11946 * sysdeps/i386/fpu/libm-test-ulps: Update.
11947 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11948 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11949 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11952 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11954 * math/libm-test.inc ("Philosophy"): Update comment about
11956 (UNDERFLOW_EXCEPTION): New macro.
11957 (UNDERFLOW_EXCEPTION_OK): Likewise.
11958 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11959 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11960 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11961 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11962 (INVALID_EXCEPTION_OK): Update value.
11963 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11964 (OVERFLOW_EXCEPTION_OK): Likewise.
11965 (IGNORE_ZERO_INF_SIGN): Likewise.
11966 (test_exceptions): Handle underflow exceptions.
11967 (acos_test): Update for underflow exception expectations.
11968 (cexp_test): Likewise.
11969 (clog_test): Likewise.
11970 (clog10_test): Likewise.
11971 (csqrt_test): Likewise.
11972 (ctan_test): Likewise.
11973 (ctanh_test): Likewise.
11974 (exp_test): Likewise.
11975 (exp10_test): Likewise.
11976 (exp2_test): Likewise.
11977 (expm1_test): Likewise.
11978 (fma_test): Likewise.
11979 (j0_test): Likewise.
11980 (jn_test): Likewise.
11981 (nexttoward_test): Likewise.
11982 (pow_test): Likewise.
11983 (scalbn_test): Likewise.
11984 (scalbln_test): Likewise.
11985 (tan_test): Likewise.
11986 (y1_test): Likewise.
11987 * sysdeps/i386/fpu/libm-test-ulps: Update.
11988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11990 2012-05-23 David S. Miller <davem@davemloft.net>
11992 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11993 (__libc_sigaction): Remove unused local variables.
11995 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11997 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11999 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12001 mktime: avoid signed integer overflow
12002 * time/mktime.c (__mktime_internal): Do not mishandle the case
12003 where diff == INT_MIN.
12005 mktime: simplify computation of average
12006 * time/mktime.c (ranged_convert): Use new time_t_avg function
12007 instead of rolling our own (probably-slower) code.
12009 mktime: do not assume signed right shift propagates sign bit
12010 * time/mktime.c (isdst_differ): New static function.
12011 (__mktime_internal): No need to normalize tm_isdst now.
12012 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12015 mktime: merge another wrapv change from gnulib
12016 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12017 from some compilers.
12019 mktime: remove incorrect attempt at unusual arithmetics
12020 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12021 The code didn't really work on such machines anyway.
12022 (TYPE_MINIMUM): Assume two's complement.
12023 (twos_complement_arithmetic): Verify that long_int and time_t
12024 are two's complement (or unsigned, in the latter case).
12026 mktime: check signed shifts on long_int and time_t, too
12027 * time/mktime.c (SHR): Check that shifts work as desired
12028 on the types long_int and time_t too, as SHR is used on
12031 mktime: do not assume 'long' is wide enough
12032 * time/mktime.c (verify): Move decl up.
12033 (long_int): New type.
12034 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12035 to remove assumption in the code that 'long' is wide enough to
12036 store year values. This assumption is not true on x32 and on
12037 some non-glibc platforms.
12039 mktime: merge wrapv change from gnulib
12040 * time/mktime.c (WRAPV): New macro.
12041 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12042 (guess_time_tm, __mktime_internal): Do not assume that signed
12043 integer overflow wraps around; modern compilers generate code
12044 where this assumption is no longer valid.
12046 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12048 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12049 Replace "jmp L(pseudo_end)" with "ret".
12050 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12053 2012-05-23 Andreas Jaeger <aj@suse.de>
12055 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12056 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12058 2012-05-23 Andreas Jaeger <aj@suse.de>
12059 Maximilian Attems <max@stro.at>
12061 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12064 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12066 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12067 code so that pseudo_end is just ret and the stack pointer is
12068 correct also for static library in error case.
12070 2012-05-23 Joseph Myers <joseph@codesourcery.com>
12072 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12073 move to syscalls.list.
12074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12079 * manual/install.texi (Running make install): Do not mention Linux
12080 kernel version for which pt_chown is not needed.
12081 (Linux): Do not mention problems with nscd with 2.0 kernels.
12082 * INSTALL: Regenerated.
12084 2012-05-23 Andreas Jaeger <aj@suse.de>
12086 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12087 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12089 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12090 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12091 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12092 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12093 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12094 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12095 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12096 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12097 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12098 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12099 * sysdeps/unix/sysv/linux/bits/in.h
12100 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12102 2012-05-22 Roland McGrath <roland@hack.frob.com>
12104 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12105 (PREPARE_VERSION): Just use assert instead, it will be elided
12106 under [NDEBUG] anyway.
12108 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12110 * sysdeps/unix/sysv/linux/Makefile: Include
12111 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12112 (sysdep_routines): Remove sysctl.
12113 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12114 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12115 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12116 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12117 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12119 2012-05-22 Andreas Jaeger <aj@suse.de>
12121 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12122 that pseudo_end is just ret and the stack pointer is correct also
12123 for static library in error case.
12125 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12128 * nss/nsswitch.c (defconfig_entries): New variable.
12129 (__nss_database_lookup): Don't leak defconfig entries.
12130 (nss_parse_service_list): Don't leak on error paths.
12131 (free_database_entries): New function.
12132 (free_defconfig): New function.
12133 (free_mem): Move common code to free_database_entries.
12135 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12137 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12139 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12141 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12142 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12143 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12145 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12146 (INTERNAL_SYSCALL_TYPES): Likewise.
12147 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12148 (LOAD_REGS_TYPES_[1-6]): Likewise.
12149 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12150 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12152 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12154 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12155 copysignl for GLIBC_2_0.
12156 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12157 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12158 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12159 logbl for GLIBC_2_0.
12160 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12161 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12163 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12165 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12166 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12168 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12171 * time/mktime.c: Update copyright years.
12173 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12175 mktime: merge comment-quoting-style change from gnulib
12176 * time/mktime.c: Quote 'like this' in comments.
12177 The GNU coding standards suggest that we no longer quote `like this',
12178 as "`" and "'" are typically rendered asymmetrically nowadays.
12179 The typical gnulib style is to quote 'like this' when quoting
12180 code, and "like this" when quoting English.
12182 * time/mktime.c (compile-command): Add "-I.".
12184 mktime: merge mktime-internal.h change from gnulib
12185 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12187 mktime: merge time_r change from gnulib
12188 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12190 mktime: merge DEBUG change from gnulib
12191 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12192 case system <time.h> has a #define.
12194 mktime: merge <sys/types.h> change from gnulib
12195 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12196 since <time.t> is now guaranteed to define time_t.
12198 mktime: merge HAVE_CONFIG_H change from gnulib
12199 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12201 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12203 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12206 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12208 (struct rusage): Use anonymous union to pad each field to
12211 2012-05-21 David S. Miller <davem@davemloft.net>
12213 * Makefules (o-iterator): Remove .s cases.
12214 (compile-command.s): Delete.
12215 (COMPILE.s): Delete.
12216 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12218 2012-05-21 Joseph Myers <joseph@codesourcery.com>
12220 * configure.in (libc_cv_predef_stack_protector): Only consider
12221 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12222 * configure: Regenerated.
12224 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12226 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12227 New macro. Use R*LP on int and pointer.
12228 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12229 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12230 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12231 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12233 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12234 [__WORDSIZE_TIME64_COMPAT32] instead of
12235 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12236 (struct utmp): Likewise.
12237 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12238 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12240 (__WORDSIZE_TIME64_COMPAT32): This.
12241 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12242 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12243 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12244 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12245 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12246 (__WORDSIZE_TIME64_COMPAT32): New macro.
12248 2012-05-21 Andreas Jaeger <aj@suse.de>
12250 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12251 only if [SHARED]. Add prototype for __wcschr_ia32.
12253 2012-05-21 Roland McGrath <roland@hack.frob.com>
12255 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12256 of %rbp unmolested in the jmp_buf while mangling the low bits.
12257 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12258 unmolested high bits of %rbp while demangling the low bits.
12259 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12261 2012-05-21 Andreas Jaeger <aj@suse.de>
12263 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12264 * sunrpc/svc_simple.c: Use it for registerrpc.
12265 * sunrpc/xcrypt.c: Use it for passwd2des.
12267 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12269 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12271 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12272 Don't define if [__SYSCALL_WORDSIZE != 32].
12273 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12276 2012-05-21 Bruno Haible <bruno@clisp.org>
12277 Andreas Jaeger <aj@suse.de>
12279 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12280 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12281 inptr and inend for must_buffer_ch.
12282 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12283 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12284 * stdio-common/Makefile (tests): Remove bug15.
12285 (bug15-ENV): Remove macro.
12286 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12289 2012-05-19 Andreas Jaeger <aj@suse.de>
12290 Roland McGrath <roland@hack.frob.com>
12292 * manual/contrib.texi: Completely rewritten. It contains now an
12293 alphabetical list of contributors and their contributions.
12295 2012-05-21 Richard Henderson <rth@twiddle.net>
12297 * misc/getauxval.c (__getauxval): Use unsigned long int.
12298 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12299 (getauxval): Use unsigned long int.
12301 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12303 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12305 2012-05-21 Roland McGrath <roland@hack.frob.com>
12307 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12308 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12309 __alignof__ (long double).
12311 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12315 2012-05-20 Richard Henderson <rth@twiddle.net>
12317 * misc/getauxval.c: New file.
12318 * misc/sys/auxv.h: New file.
12319 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12320 (routines): Add getauxval.
12321 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12322 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12323 * elf/dl-sysdep.c (_dl_auxv): Remove.
12324 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12325 * elf/dl-support.c (_dl_auxv): New variable.
12326 (_dl_aux_init): Initialize it.
12327 * manual/startup.texi (Auxiliary Vector): New node.
12328 * sysdeps/generic/bits/hwcap.h: New file.
12329 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12330 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12331 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12332 * sysdeps/sparc/sysdep.h: ... here. Include it.
12333 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12334 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12340 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12346 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12350 2012-05-19 David S. Miller <davem@davemloft.net>
12352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12354 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12357 * math/s_ccosh.c: Include <float.h>
12358 (__ccosh): Avoid internal overflow calculating sinh and cosh
12359 values before multiplying by sin and cos values.
12360 * math/s_ccoshf.c: Likewise.
12361 * math/s_ccoshl.c: Likewise.
12362 * math/s_csin.c: Likewise.
12363 * math/s_csinf.c: Likewise.
12364 * math/s_csinl.c: Likewise.
12365 * math/s_csinh.c: Likewise.
12366 * math/s_csinhf.c: Likewise.
12367 * math/s_csinhl.c: Likewise.
12368 * math/libm-test.inc (ccos_test): Add more tests.
12369 (ccosh_test): Likewise.
12370 (csin_test): Likewise.
12371 (csinh_test): Likewise.
12372 * sysdeps/i386/fpu/libm-test-ulps: Update.
12373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12375 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12377 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12378 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12380 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12382 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12384 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12385 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12386 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12387 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12388 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12389 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12390 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12391 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12392 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12393 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12394 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12395 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12396 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12397 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12398 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12399 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12400 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12401 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12402 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12403 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12404 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12405 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12406 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12407 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12408 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12409 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12410 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12411 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12412 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12413 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12414 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12416 2012-05-18 Andreas Jaeger <aj@suse.de>
12418 * csu/.gitignore: Delete.
12420 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12422 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12423 (timex): Use __syscall_slong_t.
12425 2012-05-18 Andreas Jaeger <aj@suse.de>
12426 Carlos O'Donell <carlos_odonell@mentor.com>
12428 * manual/install.texi (Configuring and compiling): Update
12429 description about files modified in the source directory.
12430 * INSTALL: Regenerated.
12432 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12434 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12435 value. Use "or" to set return value to -1.
12436 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12437 negate return value.
12439 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12441 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12442 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12443 failure if the compiler has Graphite support disabled.
12444 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12446 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12447 CFLAGS-memmove.c): Likewise.
12448 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12451 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12453 * sysdeps/x86_64/x32/_itoa.h: New file.
12455 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12456 getdents system call only if kernel and user dirents have the
12457 same d_ino and d_off.
12459 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12460 LLONG_MAX != LONG_MAX.
12461 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12462 (_fitoa_word): Likewise.
12464 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12466 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12467 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12468 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12470 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12471 include <bits/wordsize.h>. Check __x86_64__ instead of
12473 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12474 if __x86_64__ is defined. Use anonymous union on fpstate.
12476 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12479 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12481 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12482 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12483 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12484 Refer to _rtld_local_ro instead of _rtld_global_ro.
12485 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12487 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12489 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12491 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12492 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12493 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12495 * sysdeps/powerpc/powerpc32/dl-machine.c
12496 (__elf_machine_runtime_setup) [PROF]: Don't reference
12499 2012-05-18 Andreas Jaeger <aj@suse.de>
12501 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12502 function only available for GCCs before 3.4 since GCC 3.4
12503 introduced a builtin.
12505 (llrintf): Likewise.
12506 (llrint): Likewise.
12513 (nearbyint): Likewise.
12514 (nearbyintf): Likewise.
12518 (floorf): Likewise.
12520 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12522 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12523 on both fields and cast pointer to __syscall_ulong_t.
12525 * bits/types.h (__fsword_t): New type.
12526 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12527 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12528 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12529 (__FSWORD_T_TYPE): Likewise.
12530 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12531 (__FSWORD_T_TYPE): Likewise.
12532 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12533 (__FSWORD_T_TYPE): Likewise.
12534 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12535 (__FSWORD_T_TYPE): Likewise.
12536 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12537 __SWORD_TYPE with __fsword_t.
12538 (statfs64): Likewise.
12540 2012-05-17 David S. Miller <davem@davemloft.net>
12542 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12544 2012-05-17 Andreas Jaeger <aj@suse.de>
12546 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12549 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12551 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12553 2012-05-17 Andreas Jaeger <aj@suse.de>
12555 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12558 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12560 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12562 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12564 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12565 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12567 2012-05-17 Andreas Jaeger <aj@suse.de>
12568 Carlos O'Donell <carlos_odonell@mentor.com>
12571 * sysdeps/x86_64/multiarch/init-arch.h
12572 (bit_YMM_Usable): Rename to...
12573 (bit_AVX_Usable): ... this.
12574 (bit_FMA4_Usable): New macro.
12575 (bit_XMM_state): New macro.
12576 (bit_YMM_state): New macro.
12577 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12578 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12579 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12580 (CPUID_OSXSAVE): New macro.
12581 (CPUID_AVX): New macro.
12582 (CPUID_FMA4): New macro.
12583 (index_YMM_Usable): Rename to...
12584 (index_AVX_Usable): ... this.
12585 (HAS_AVX): Use HAS_ARCH_FEATURE.
12586 (HAS_FMA4): Likewise.
12587 (HAS_YMM_USABLE): Remove.
12588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12589 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12591 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12592 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12593 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12594 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12595 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12597 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12599 * math/libm-test.c: Support platforms without multiple rounding modes.
12600 * math/bug-nextafter.c: Support platforms without FP exceptions.
12601 * math/bug-nexttoward.c: Likewise.
12602 * math/test-fenv.c: Likewise.
12603 * math/test-misc.c: Likewise.
12604 * stdlib/bug-getcontext.c: Likewise.
12606 2012-05-17 Andreas Jaeger <aj@suse.de>
12608 * manual/examples/search.c (critter_cmp): Change signature to
12610 * manual/string.texi (Collation Functions): Likewise.
12612 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12614 * bits/types.h: Fold copyright years.
12615 * bits/typesizes.h: Likewise.
12616 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12617 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12618 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12619 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12620 * time/time.h: Likewise.
12622 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12625 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12626 in instead of returning them. Return void.
12627 (__libc_mallinfo): Accumulate over all arenas.
12628 (__malloc_stats): Adjust for change in int_mallinfo interface.
12630 2012-05-16 Roland McGrath <roland@hack.frob.com>
12633 * configure.in (NM): Add AC_CHECK_TOOL for it.
12634 (libc_extra_cflags): New substituted variable.
12635 Check for -fstack-protector being used implicitly.
12636 * configure: Regenerated.
12637 * config.make.in (config-extra-cflags): New variable,
12638 gets @libc_extra_cflags@.
12639 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12642 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12643 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12644 * configure: Regenerated.
12645 * config.make.in (CPPUNDEFS): New substituted variable.
12646 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12647 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12648 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12650 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12652 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12653 (mq_attr): Use __syscall_slong_t.
12655 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12657 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12658 Check __x86_64__ instead of __WORDSIZE.
12659 (_STAT_VER_LINUX): Likewise.
12660 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12661 __syscall_ulong_t and __syscall_slong_t.
12662 (stat64): Likewise.
12664 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12666 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12668 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12670 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12672 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12674 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12677 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12678 include <bits/wordsize.h>. Check __x86_64__ instead of
12680 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12682 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12684 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12685 include <bits/wordsize.h>. Check __x86_64__ instead of
12687 (user_regs_struct): Use "__extension__ unsigned long long"
12688 instead of "unsigned long" if __x86_64__ is defined.
12689 (user): Likewise. Pad after pointer field if __ILP32__ is
12692 2012-05-16 Joseph Myers <joseph@codesourcery.com>
12694 * configure.in (makeinfo): Require version 4.5 or later. Allow
12696 * configure: Regenerated.
12697 * manual/install.texi (texinfo): Increase version requirement to
12699 * INSTALL: Regenerated.
12701 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12703 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12705 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12707 * sysdeps/x86_64/x32/ffs.c: New file.
12709 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12711 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12712 defined. Use __syscall_ulong_t.
12713 (shminfo): Use __syscall_ulong_t.
12714 (shm_info): Likewise.
12716 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12719 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12721 (msgqnum_t): Use __syscall_ulong_t.
12722 (msglen_t): Likewise.
12723 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12726 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12727 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12729 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12731 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12732 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12734 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12737 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12738 include <bits/wordsize.h>. Check __x86_64__ instead of
12741 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12742 "unsigned long long int" if __x86_64__ is defined.
12743 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12745 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12746 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12747 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12749 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12751 (GET_PC): Cast to uintptr_t first.
12752 (GET_FRAME): Likewise.
12753 (GET_STACK): Likewise.
12755 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12756 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12757 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12758 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12759 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12760 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12761 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12762 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12763 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12764 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12765 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12766 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12767 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12768 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12769 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12770 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12771 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12772 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12773 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12774 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12775 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12776 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12777 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12778 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12779 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12780 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12781 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12782 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12783 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12785 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12787 * Makerules (+depfiles): Also collect depfiles from .oS in
12789 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12790 .oS, $(libnldbl-routines)).
12792 * Makerules (native-compile-mkdep-flags): Define.
12793 * sunrpc/Makefile (extra-objs): Add $(addprefix
12794 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12795 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12796 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12797 calling $(make-target-directory).
12799 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12801 * bits/types.h (__snseconds_t): Removed.
12802 * time/time.h (struct timespec): Replace __snseconds_t with
12804 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12805 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12807 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12808 (__SNSECONDS_T_TYPE): Likewise.
12809 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12810 (__SNSECONDS_T_TYPE): Likewise.
12811 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12812 (__SNSECONDS_T_TYPE): Likewise.
12814 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12816 * sysdeps/mach/hurd/bits/typesizes.h
12817 (__SYSCALL_SLONG_TYPE): New macro.
12818 (__SYSCALL_ULONG_TYPE): Likewise.
12820 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12822 * bits/types.h (__syscall_slong_t): New type.
12823 (__syscall_ulong_t): Likewise.
12825 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12826 (__SYSCALL_ULONG_TYPE): Likewise.
12827 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12828 (__SYSCALL_SLONG_TYPE): Likewise.
12829 (__SYSCALL_ULONG_TYPE): Likewise.
12830 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12831 (__SYSCALL_SLONG_TYPE): Likewise.
12832 (__SYSCALL_ULONG_TYPE): Likewise.
12833 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12834 (__SYSCALL_SLONG_TYPE): Likewise.
12835 (__SYSCALL_ULONG_TYPE): Likewise.
12837 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12839 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12840 Add sigaltstack-offsets.sym.
12841 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12842 <sigaltstack-offsets.h>.
12843 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12844 longjmp_msg pointer.
12845 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12846 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12848 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12850 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12852 * elf/stackguard-macros.h: Remove file.
12853 * sysdeps/generic/stackguard-macros.h: New file.
12854 * sysdeps/i386/stackguard-macros.h: Likewise.
12855 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12856 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12857 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12858 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12859 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12860 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12861 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12862 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12863 <elf/stackguard-macros.h>.
12866 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12867 __aligned__ in attribute.
12868 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12869 (gregset_t): Likewise.
12871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12873 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12874 * sysdeps/x86_64/64/Implies-after: Here. New file.
12875 * sysdeps/x86_64/x32/Implies-after: New file.
12877 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12879 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12880 and access return value for _dl_profile_fixup. Use R10_LP to
12883 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12885 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12887 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12889 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12890 * sysdeps/x86_64/x32/sysdep.h: New file.
12892 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12894 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12895 * sysdeps/x86_64/setjmp.S: Likewise.
12897 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12899 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12900 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12901 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12902 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12903 remove unused global constant.
12905 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12907 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12908 include of <not-cancel.h>.
12910 2012-05-15 Roland McGrath <roland@hack.frob.com>
12912 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12914 2012-05-15 Jeff Law <law@redhat.com>
12915 Andreas Jaeger <aj@suse.de>
12918 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12920 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12921 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12922 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12923 code changing __hst_map_handle.map.
12925 2012-05-15 Roland McGrath <roland@hack.frob.com>
12927 * configure.in (sysnames): Look for Implies-before and Implies-after
12929 * configure: Regenerated.
12931 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12933 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12934 8-byte data alignment with LP_SIZE alignment.
12936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12938 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12941 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12943 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12945 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12947 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12948 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12949 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12951 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12953 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12955 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12956 (stackinfo_sub_sp): Likewise.
12958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12960 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12965 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12968 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12970 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12973 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12975 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12977 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12979 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12980 into R11_LP and load __x86_64_shared_cache_size_half into
12983 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12985 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12988 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12992 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12996 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12997 powerpc32/power7/fpu/s_logb.c via #include.
12998 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12999 powerpc32/power7/fpu/s_logbf.c via #include.
13000 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13001 powerpc32/power7/fpu/s_logbl.c via #include.
13003 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13005 * README.libm: Remove file.
13007 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13009 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13010 count for x32. Use R*_LP and omit operand-size suffix.
13012 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13014 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13015 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13016 * sysdeps/x86_64/x32/shlib-versions: New file.
13018 2012-05-14 Roland McGrath <roland@hack.frob.com>
13020 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13021 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13022 Use _dl_fatal_printf instead.
13024 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13026 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13027 set if not set by the user. Do not allow for being unset.
13028 * sysdeps/unix/sysv/linux/configure: Regenerated.
13030 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13032 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13033 the `q' suffix from lea and replace .quad with ASM_ADDR.
13035 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13037 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13038 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13040 (PTR_DEMANGLE): Likewise.
13042 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13044 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13046 (ASM_ADDR): Likewise.
13047 (RAX_LP): Likewise.
13048 (RBP_LP): Likewise.
13049 (RBX_LP): Likewise.
13050 (RCX_LP): Likewise.
13051 (RDI_LP): Likewise.
13052 (RSI_LP): Likewise.
13053 (RSP_LP): Likewise.
13056 (R10_LP): Likewise.
13057 (R10_LP): Likewise.
13058 (R11_LP): Likewise.
13059 (R12_LP): Likewise.
13060 (R13_LP): Likewise.
13061 (R14_LP): Likewise.
13062 (R15_LP): Likewise.
13064 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13066 * sysdeps/x86_64/x32/dl-machine.h: New file.
13068 2012-05-14 Andreas Jaeger <aj@suse.de>
13070 * manual/Makefile (subdir): Remove export of subdir.
13071 (all): Remove target.
13072 (.PHONY): Remove all from list.
13073 (mkinstalldirs): Remove.
13074 (.PHONY): Remove installdirs from list.
13075 ($(inst_infodir)/libc.info): Use make-target-directory.
13076 (installdirs): Remove.
13077 (subdir_%): Remove.
13078 (glibc-targets): Remove.
13081 ($(objpfx)stubs ../po/manual.pot): Remove.
13082 ($(objpfx)stamp%): Remove.
13083 (make-target-directory): Remove.
13084 (subdir_install): Remove.
13085 (routines): Remove.
13092 * manual/.gitignore: Remove, it's not needed anymore.
13093 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13095 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13097 (texis): Renamed to $(objpfx)texis.
13098 (texis-path): New, contains path to generated files.
13099 (chapters.%): Use texis-path for complete path, add extra argument
13101 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13102 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13103 (summary,texi, stamp-summary): Use complete path of
13104 files. Generate files in build dir.
13105 (dir-add.texi): Build in build dir.
13106 (libm-err.texi,stamp-libm-err): Likewise.
13107 (version.texi, stamp-version): Likewise.
13108 (.%c.texi): Likewise.
13109 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13110 (mostlyclean): Remove target.
13111 (realclean): Remove target.
13112 (generated): Add new variable with contents from mostlyclean and
13113 realclean, remove entries duplicated in common-mostlyclean, add
13114 stamp-libm-err and stamp-version.
13115 (generated-dirs): Add libc directory.
13116 ($(inst_infodir)/libc.info): Install files from build dir.
13118 * manual/install.texi (Configuring and compiling): Adjust since
13119 the info files are not part of the tar ball anymore.
13121 2012-05-14 Andreas Jaeger <aj@suse.de>
13123 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13126 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13129 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13130 to 2.2.0 where earlier.
13131 * sysdeps/unix/sysv/linux/configure: Regenerated.
13132 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13133 Remove conditional code.
13134 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13135 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13136 Remove conditional code.
13137 [!__NR_lchown]: Likewise.
13138 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13139 [__NR_lchown]: Likewise.
13140 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13141 comment referencing __ASSUME_LCHOWN_SYSCALL.
13142 * sysdeps/unix/sysv/linux/i386/sigaction.c
13143 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13144 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13145 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13146 Remove conditional code.
13147 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13148 (__protocol_available): Remove #if 0 code.
13149 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13151 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13152 * sysdeps/unix/sysv/linux/kernel-features.h
13153 (__ASSUME_GETCWD_SYSCALL): Don't define.
13154 (__ASSUME_REALTIME_SIGNALS): Likewise.
13155 (__ASSUME_PREAD_SYSCALL): Likewise.
13156 (__ASSUME_PWRITE_SYSCALL): Likewise.
13157 (__ASSUME_POLL_SYSCALL): Likewise.
13158 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13159 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13161 (__ASSUME_SIOCGIFNAME): Don't define.
13162 (__ASSUME_MSG_NOSIGNAL): Likewise.
13163 (__ASSUME_SENDFILE): Define unconditionally.
13164 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13165 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13167 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13168 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13169 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13170 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13171 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13172 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13173 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13175 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13176 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13178 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13179 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13181 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13182 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13184 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13185 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13187 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13188 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13190 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13191 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13193 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13194 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13196 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13197 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13198 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13199 Remove conditional code.
13200 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13201 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13202 Remove conditional code.
13203 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13204 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13205 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13206 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13207 Remove conditional code.
13208 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13209 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13210 Remove conditional code.
13211 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13212 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13213 Remove conditional code.
13214 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13215 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13216 Remove conditional code.
13217 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13218 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13219 Remove conditional code.
13220 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13221 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13222 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13223 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13224 * sysdeps/unix/sysv/linux/sigaction.c
13225 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13226 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13227 * sysdeps/unix/sysv/linux/sigpending.c
13228 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13229 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13230 * sysdeps/unix/sysv/linux/sigprocmask.c
13231 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13232 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13233 * sysdeps/unix/sysv/linux/sigsuspend.c
13234 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13235 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13236 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13237 (__libc_missing_rt_sigs): Remove.
13238 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13239 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13240 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13241 Remove conditional code.
13242 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13243 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13245 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13246 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13247 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13248 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13250 2012-05-14 Andreas Jaeger <aj@suse.de>
13252 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13253 it's not used in glibc.
13254 (__coshm1): Likewise.
13255 (__acosh1p): Likewise.
13258 * manual/string.texi (Copying and Concatenation): Add missing
13259 variable in concat example.
13260 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13262 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13265 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13266 __builtin_clzl with __builtin_clzll.
13268 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13271 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13274 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13276 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13277 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13278 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13279 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13281 2012-05-14 Mike Frysinger <vapier@gentoo.org>
13283 * NEWS: Update ia64 info.
13285 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13287 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13290 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13292 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13293 * sysdeps/unix/syscalls.list (dup3): Likewise.
13294 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13295 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13297 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13299 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13300 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13302 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13304 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13306 (TLS_IE): Use mov/add instead of movq/addq to load thread
13308 (TLS_GD_PREFIX): New.
13311 2012-05-11 David S. Miller <davem@davemloft.net>
13313 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13314 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13315 (_FPU_SETCW): Likewise.
13317 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13319 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13320 is 32-byte aligned.
13322 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13325 * iconvdata/gb18030.c: Update tables.
13326 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13327 characters specially.
13328 (BODY for TO_LOOP): Add encoding of missing ranges.
13330 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13333 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13334 * sysdeps/mach/hurd/dup3.c: Likewise.
13335 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13336 * sysdeps/powerpc/memmove.c:: Likewise.
13338 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13340 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13341 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13343 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13345 * elf/elf.h (R_X86_64_RELATIVE64): New.
13346 (R_X86_64_NUM): Updated.
13347 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13348 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13349 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13350 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13351 tst-quad1pie tst-quad2pie
13352 (modules-names): Add tst-quadmod1 tst-quadmod2.
13353 ($(objpfx)tst-quad1): New dependency.
13354 ($(objpfx)tst-quad2): Likewise.
13355 ($(objpfx)tst-quad1pie): Likewise.
13356 ($(objpfx)tst-quad2pie): Likewise.
13357 * sysdeps/x86_64/tst-quad1.c: New file.
13358 * sysdeps/x86_64/tst-quad1pie.c: New file.
13359 * sysdeps/x86_64/tst-quad2.c: Likewise.
13360 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13361 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13362 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13363 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13364 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13366 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13368 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13369 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13370 * streams/stropts.h (t_scalar_t): Define type.
13372 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13373 (_PATH_PRESERVE): Set to "/var/lib".
13374 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13376 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13379 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13380 if __dir_mkfile succeeded.
13382 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13383 checking for _hurd_dtablesize. Unlock it right after having
13384 finished _hurd_dtable allocation.
13386 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13388 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13389 * sysdeps/mach/hurd/configure: Regenerated.
13390 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13391 special-casing to...
13392 * sysdeps/gnu/configure.in: ... this new file.
13393 * sysdeps/unix/sysv/linux/configure: Regenerated.
13394 * sysdeps/gnu/configure: New generated file.
13396 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13397 for Linux: use nsec instead of usec, as well as:
13398 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13399 members of type struct timespec.
13400 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13402 (struct stat64): Likewise.
13403 (_STATBUF_ST_NSEC): New macro.
13404 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13406 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13407 __strtoul_internal rather than strtoul.
13409 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13411 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13414 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13416 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13417 which preserves existing values.
13418 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13420 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13422 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13423 TIMEOUT values. Return EINVAL for NFDS values either negative or
13424 greater than FD_SETSIZE.
13426 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13428 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13429 allocated, call __vm_protect to finish enabling the existing space, and
13430 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13431 allocate the remainder.
13433 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13435 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13436 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13438 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13440 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13441 sysdeps/mach/hurd/readlink.c.
13443 * posix/tst-sysconf.c (posix_options): Only use
13444 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13445 _POSIX_SYNCHRONIZED_IO when they are defined
13446 * sysdeps/mach/hurd/bits/posix_opt.h:
13447 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13448 (_XOPEN_REALTIME): Undefine macro.
13449 (_XOPEN_REALTIME_THREADS): Undefine macro.
13450 (_XOPEN_SHM): Undefine macro.
13451 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13453 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13455 (_POSIX_ASYNC_IO): Undefine macro.
13456 (_POSIX_PRIORITIZED_IO): Undefine macro.
13457 (_POSIX_SPIN_LOCKS): Define macro to -1.
13459 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13460 SA_NODEFER, SA_RESETHAND.
13461 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13462 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13465 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13467 * elf/Makefile (pldd-modules): Define unconditionally.
13469 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13471 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13473 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13475 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13476 Return ENOENT when name is empty.
13477 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13479 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13481 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13483 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13485 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13487 Fix mlock in all cases except non-readable pages.
13488 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13489 instead of VM_PROT_ALL as parameter to __vm_wire function.
13491 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13492 (__mkdir): When path is `/', just fail with EEXIST.
13493 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13495 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13497 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13498 <sys/uio.h> (for writev).
13499 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13500 and <sys/param.h> (for MIN).
13502 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13504 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13505 REQUESTED_TIME. Properly set the remaining time and return EINTR
13508 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13510 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13511 Depend on against $(link-rpcuserlibs).
13513 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13515 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13516 (__libc_stack_end): Do not use attribute_relro.
13517 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13518 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13519 to libthread-provided value.
13520 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13523 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13526 * bits/libc-lock.h (__libc_once_get): New macro.
13527 * sysdeps/mach/bits/libc-lock.h: Likewise.
13528 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13529 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13530 instead of using implementation details.
13532 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13533 * libio/freopen.c: Likewise.
13534 * libio/freopen64.c: Likewise.
13535 * misc/syslog.c: Likewise.
13536 * nscd/connections.c: Likewise.
13537 * nscd/netgroupcache.c: Likewise.
13538 * sysdeps/posix/getcwd.c: Likewise.
13540 2012-05-10 Roland McGrath <roland@hack.frob.com>
13542 * math/w_ilogbf.c: Add #include <limits.h>.
13544 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13546 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13547 path instead of returning without unlocking.
13549 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13550 immediate-write ioctls.
13551 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13553 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13555 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13556 __builtin_frame_address instead of making assumptions about the
13557 location of the return address relative to DATA. Force early load of
13558 the return address.
13559 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13560 __builtin_frame_address.
13563 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13564 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13565 implement dup3 and do some further code clean-ups.
13566 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13567 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13569 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13571 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13573 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13574 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13575 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13576 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13577 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13580 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13581 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13582 when handler == SIG_ERR, not when handler != SIG_ERR.
13584 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13586 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13587 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13590 accept4 for GNU Hurd.
13591 * include/sys/socket.h (__libc_accept4): New prototype.
13592 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13593 to implement __libc_accept4.
13594 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13596 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13598 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13599 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13600 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13601 signal-defines.sym.
13603 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13605 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13607 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13609 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13610 assertion on O_CLOEXEC flag.
13611 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13612 * hurd/intern-fd.c: Likewise.
13613 * hurd/port2fd.c: Likewise.
13615 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13618 * bits/in.h (IPV6_PKTINFO): Define new macro.
13619 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13621 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13626 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13627 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13628 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13629 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13630 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13631 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13632 * math/libm-test.inc (logb_test) : Additional logb tests.
13634 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13635 Andreas Jaeger <aj@suse.de>
13637 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13638 * configure: Regenerated.
13639 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13640 * config.make.in (link-obsolete-rpc): New substituted variable.
13641 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13642 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13643 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13644 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13645 so that libc.a contains the symbols.
13646 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13647 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13648 * sunrpc/auth_none.c: Likewise.
13649 * sunrpc/auth_unix.c: Likewise.
13650 * sunrpc/authdes_prot.c: Likewise.
13651 * sunrpc/authuxprot.c: Likewise.
13652 * sunrpc/clnt_gen.c: Likewise.
13653 * sunrpc/clnt_perr.c: Likewise.
13654 * sunrpc/clnt_raw.c: Likewise.
13655 * sunrpc/clnt_simp.c: Likewise.
13656 * sunrpc/clnt_tcp.c: Likewise.
13657 * sunrpc/clnt_udp.c: Likewise.
13658 * sunrpc/clnt_unix.c: Likewise.
13659 * sunrpc/des_crypt.c: Likewise.
13660 * sunrpc/des_soft.c: Likewise.
13661 * sunrpc/get_myaddr.c: Likewise.
13662 * sunrpc/key_call.c: Likewise.
13663 * sunrpc/key_prot.c: Likewise.
13664 * sunrpc/netname.c: Likewise.
13665 * sunrpc/pm_getmaps.c: Likewise.
13666 * sunrpc/pm_getport.c: Likewise.
13667 * sunrpc/pmap_clnt.c: Likewise.
13668 * sunrpc/pmap_prot.c: Likewise.
13669 * sunrpc/pmap_prot2.c: Likewise.
13670 * sunrpc/pmap_rmt.c: Likewise.
13671 * sunrpc/publickey.c: Likewise.
13672 * sunrpc/rpc_cmsg.c: Likewise.
13673 * sunrpc/rpc_common.c: Likewise.
13674 * sunrpc/rpc_dtable.c: Likewise.
13675 * sunrpc/rpc_prot.c: Likewise.
13676 * sunrpc/rpc_thread.c: Likewise.
13677 * sunrpc/rtime.c: Likewise.
13678 * sunrpc/svc.c: Likewise.
13679 * sunrpc/svc_auth.c: Likewise.
13680 * sunrpc/svc_raw.c: Likewise.
13681 * sunrpc/svc_run.c: Likewise.
13682 * sunrpc/svc_tcp.c: Likewise.
13683 * sunrpc/svc_udp.c: Likewise.
13684 * sunrpc/svc_unix.c: Likewise.
13685 * sunrpc/svcauth_des.c: Likewise.
13686 * sunrpc/xcrypt.c: Likewise.
13687 * sunrpc/xdr.c: Likewise.
13688 * sunrpc/xdr_array.c: Likewise.
13689 * sunrpc/xdr_float.c: Likewise.
13690 * sunrpc/xdr_intXX_t.c: Likewise.
13691 * sunrpc/xdr_mem.c: Likewise.
13692 * sunrpc/xdr_rec.c: Likewise.
13693 * sunrpc/xdr_ref.c: Likewise.
13694 * sunrpc/xdr_sizeof.c: Likewise.
13695 * sunrpc/xdr_stdio.c: Likewise.
13697 2012-05-10 Roland McGrath <roland@hack.frob.com>
13699 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13700 change. Update copyright years.
13702 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13704 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13706 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13707 Joseph Myers <joseph@codesourcery.com>
13708 Paul Pluzhnikov <ppluzhnikov@google.com>
13711 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13713 [cross-compiling] (extra-libs): Likewise.
13714 [cross-compiling] (extra-libs-others): Likewise.
13715 [cross-compiling] (librpcsvc-routines): Likewise.
13716 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13717 [cross-compiling] (omit-deps): Likewise.
13718 (sunrpc-CPPFLAGS): New variable.
13719 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13720 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13721 (cross-rpcgen-objs): New variable.
13722 (extra-objs): Append $(cross-rpcgen-objs).
13723 ($(cross-rpcgen-objs)): New rule.
13724 ($(objpfx)cross-rpcgen): Likewise.
13725 (rpcgen-cmd): Define to use $(built-program-file). Expand
13727 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13728 ($(objpfx)x%.stmp): Likewise.
13729 * sunrpc/proto.h [IS_IN_build] (_): Define.
13730 [IS_IN_build] (_libc_intl_domainname): Likewise.
13732 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13734 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13735 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13736 and R_X86_64_TPOFF64.
13738 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13740 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13741 sysdeps/unix/sysv/syscalls.list.
13744 * sysdeps/unix/sysv/syscalls.list: Remove file.
13746 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13749 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13750 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13751 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13752 (__LC_IDENTIFICATION): Make these macros useful in #if
13753 expressions, as required by C99.
13755 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13757 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13758 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13761 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13763 * stdlib/longlong.h: Updated from GCC.
13765 2012-05-09 Andreas Jaeger <aj@suse.de>
13767 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13768 default is first entry.
13769 (run_mode): Set type.
13770 (main): Remove informal message about syslog.
13771 (options): Fix typo.
13774 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13777 (llrintf): Likewise.
13778 (llrint): Likewise.
13781 (nearbyint): Likewise.
13782 (nearbyintf): Likewise.
13784 2012-05-09 Andreas Jaeger <aj@suse.de>
13785 Pedro Alves <palves@redhat.com>
13787 * nscd/nscd.c (run_mode): Use enum.
13788 (main): Cleanup coding style issue.
13790 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
13791 Andreas Jaeger <aj@suse.de>
13793 * nscd/nscd.c (go_background): Replaced with...
13794 (run_mode): ... this.
13795 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13796 (options): Add -F --foreground.
13797 (main): Implement it.
13798 (parse_opt): Parse it.
13800 2012-05-09 Andreas Jaeger <aj@suse.de>
13803 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13804 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13805 -Wconversion warning.
13806 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13809 2012-05-09 Joseph Myers <joseph@codesourcery.com>
13811 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13813 (LC_ALL): Use macro-int-constant.
13814 (LC_COLLATE): Likewise.
13815 (LC_CTYPE): Likewise.
13816 (LC_MESSAGES): Likewise.
13817 (LC_MONETARY): Likewise.
13818 (LC_NUMERIC): Likewise.
13819 (LC_TIME): Likewise.
13820 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13821 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13822 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13823 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13825 [C99-based standards] (float_t): Expect type.
13826 [C99-based standards] (double_t): Expect type.
13827 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13829 [C99-based standards] (HUGE_VALL): Likewise.
13830 [C99-based standards] (INFINITY): Likewise.
13831 [C99-based standards] (NAN): Likewise.
13832 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13833 [C99-based standards] (FP_NAN): Likewise.
13834 [C99-based standards] (FP_NORMAL): Likewise.
13835 [C99-based standards] (FP_SUBNORMAL): Likewise.
13836 [C99-based standards] (FP_ZERO): Likewise.
13837 [C99-based standards] (FP_FAST_FMA): Use
13838 optional-macro-int-constant. Specify type. Require == 1.
13839 [C99-based standards] (FP_FAST_FMAF): Likewise.
13840 [C99-based standards] (FP_FAST_FMAL): Likewise.
13841 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13842 [C99-based standards] (FP_ILOGBNAN): Likewise.
13843 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13845 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13846 [C99-based standards] (math_errhandling): Specify type.
13847 [ISO99 || ISO11] (signgam): Do not allow.
13848 [non-C99-based standards] (copysignf): Do not allow.
13849 [non-C99-based standards] (exp2f): Likewise.
13850 [non-C99-based standards] (log2f): Likewise.
13851 [non-C99-based standards] (modff): Allow.
13852 [non-C99-based standards] (erff): Do not allow.
13853 [non-C99-based standards] (erfcf): Likewise.
13854 [non-C99-based standards] (gammaf): Likewise.
13855 [non-C99-based standards] (hypotf): Likewise.
13856 [non-C99-based standards] (j0f): Likewise.
13857 [non-C99-based standards] (j1f): Likewise.
13858 [non-C99-based standards] (jnf): Likewise.
13859 [non-C99-based standards] (lgammaf): Likewise.
13860 [non-C99-based standards] (tgammaf): Likewise.
13861 [non-C99-based standards] (y0f): Likewise.
13862 [non-C99-based standards] (y1f): Likewise.
13863 [non-C99-based standards] (ynf): Likewise.
13864 [non-C99-based standards] (isnanf): Likewise.
13865 [non-C99-based standards] (acoshf): Likewise.
13866 [non-C99-based standards] (asinhf): Likewise.
13867 [non-C99-based standards] (atanhf): Likewise.
13868 [non-C99-based standards] (cbrtf): Likewise.
13869 [non-C99-based standards] (expm1f): Likewise.
13870 [non-C99-based standards] (ilogbf): Likewise.
13871 [non-C99-based standards] (log1pf): Likewise.
13872 [non-C99-based standards] (logbf): Likewise.
13873 [non-C99-based standards] (nextafterf): Likewise.
13874 [non-C99-based standards] (remainderf): Likewise.
13875 [non-C99-based standards] (rintf): Likewise.
13876 [non-C99-based standards] (scalbf): Likewise.
13877 [non-C99-based standards] (copysignl): Likewise.
13878 [non-C99-based standards] (exp2l): Likewise.
13879 [non-C99-based standards] (log2l): Likewise.
13880 [non-C99-based standards] (modfl): Allow.
13881 [non-C99-based standards] (erfl): Do not allow.
13882 [non-C99-based standards] (erfcl): Likewise.
13883 [non-C99-based standards] (gammal): Likewise.
13884 [non-C99-based standards] (hypotl): Likewise.
13885 [non-C99-based standards] (j0l): Likewise.
13886 [non-C99-based standards] (j1l): Likewise.
13887 [non-C99-based standards] (jnl): Likewise.
13888 [non-C99-based standards] (lgammal): Likewise.
13889 [non-C99-based standards] (tgammal): Likewise.
13890 [non-C99-based standards] (y0l): Likewise.
13891 [non-C99-based standards] (y1l): Likewise.
13892 [non-C99-based standards] (ynl): Likewise.
13893 [non-C99-based standards] (isnanl): Likewise.
13894 [non-C99-based standards] (acoshl): Likewise.
13895 [non-C99-based standards] (asinhl): Likewise.
13896 [non-C99-based standards] (atanhl): Likewise.
13897 [non-C99-based standards] (cbrtl): Likewise.
13898 [non-C99-based standards] (expm1l): Likewise.
13899 [non-C99-based standards] (ilogbl): Likewise.
13900 [non-C99-based standards] (log1pl): Likewise.
13901 [non-C99-based standards] (logbl): Likewise.
13902 [non-C99-based standards] (nextafterl): Likewise.
13903 [non-C99-based standards] (remainderl): Likewise.
13904 [non-C99-based standards] (rintl): Likewise.
13905 [non-C99-based standards] (scalbl): Likewise.
13906 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13907 [non-C99-based standards] (FP_*): Do not allow.
13908 [C99-based standards] (FP_*): Change to
13909 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13910 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13912 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13913 (SIG_ERR): Likewise.
13914 [X/Open-based standards] (SIG_HOLD): Likewise.
13915 (SIG_IGN): Likewise.
13916 (SIGABRT): Use macro-int-constant. Specify type. Require
13918 (SIGFPE): Likewise.
13919 (SIGILL): Likewise.
13920 (SIGINT): Likewise.
13921 (SIGSEGV): Likewise.
13922 (SIGTER): Likewise.
13923 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13924 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13925 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13926 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13927 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13928 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13929 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13930 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13931 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13932 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13933 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13934 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13935 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13936 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13937 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13938 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13939 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13940 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13941 [X/Open-based standards] (SIGTRAP): Likewise.
13942 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13943 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13944 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13945 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13946 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13949 2012-05-08 Ian Wienand <ianw@vmware.com>
13952 * time/tzset.c (__tzset_parse_tz): Update default rules for
13953 daylight time changes in the Energy Policy Act of 2005.
13955 2012-05-09 Andreas Jaeger <aj@suse.de>
13958 * elf/ldconfig.c (parse_conf): Change string to make clear that
13959 ldconfig only issued a warning if ld.so.conf does not exist.
13961 2012-05-08 David S. Miller <davem@davemloft.net>
13963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13964 movxtod instead of popping the value on the stack.
13966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13968 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13970 * config.h.in: Add HAVE_ARM_PCS_VFP.
13972 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
13975 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13976 checking but the checks are disabled for any reason.
13978 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13980 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13981 and ELF64_R_TYPE with ELFW(R_TYPE).
13983 2012-05-08 Joseph Myers <joseph@codesourcery.com>
13985 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13986 (ulimit): Likewise.
13988 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13989 (settimeofday): Likewise.
13991 2012-05-08 Mike Frysinger <vapier@gentoo.org>
13993 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13994 a struct th_u2 inside the union, and move tu_block/tu_code into
13995 a new th_u3 union of tu_block/tu_code inside of that. Move
13996 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13997 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13998 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13999 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14000 (th_stuff): Change to th_u1.tu_stuff.
14002 (th_msg): Change to th_u1.th_u2.tu_data.
14004 2012-05-07 David S. Miller <davem@davemloft.net>
14006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14009 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14010 (SETUP_PIC_REG): Use it.
14011 (SETUP_PIC_REG_LEAF): Use it.
14013 2012-05-07 Joseph Myers <joseph@codesourcery.com>
14017 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14019 (EXPL_FINITE): Likewise.
14020 (FLDLOG): Likewise.
14021 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14022 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14024 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14026 (EXPL_FINITE): Likewise.
14027 (FLDLOG): Likewise.
14028 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14029 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14031 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14032 test of -max_value argument for long double.
14033 * sysdeps/i386/fpu/libm-test-ulps: Update.
14034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14036 2012-05-06 David S. Miller <davem@davemloft.net>
14038 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14039 quad soft-float symbols whose references which are compiler
14041 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14043 2012-05-06 Joseph Myers <joseph@codesourcery.com>
14047 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14049 (EXPL_FINITE): Likewise.
14050 (FLDLOG): Likewise.
14053 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14054 Adjust comments for base varying.
14055 (__expl_finite): Change alias to EXPL_FINITE.
14056 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14058 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14059 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14060 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14061 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14062 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14064 (EXPL_FINITE): Likewise.
14065 (FLDLOG): Likewise.
14068 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14069 Adjust comments for base varying.
14070 (__expl_finite): Change alias to EXPL_FINITE.
14071 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14073 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14076 * math/libm-test.inc (check_float_internal): Correct ulp
14077 calculation for subnormal expected results.
14079 2012-05-06 Andreas Jaeger <aj@suse.de>
14081 * Makeconfig (+math-flags): New, set to -frounding-math.
14082 (+cflags): Add +math-flags so that all of glibc gets compiled with
14085 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14087 2012-05-05 Joseph Myers <joseph@codesourcery.com>
14089 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14095 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14096 (__ieee754_expl): Allow for and saturate large arguments.
14097 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14098 (u_threshold): Likewise.
14099 (__exp): Call __ieee754_exp before checking for overflow and
14101 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14102 (u_threshold): Likewise.
14103 (__expf): Call __ieee754_expf before checking for overflow and
14105 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14106 (u_threshold): Likewise.
14107 (__expl): Call __ieee754_expl before checking for overflow and
14109 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14110 (__ieee754_expl): Allow for and saturate large arguments.
14111 * math/libm-test.inc (exp_test): Add another test. Do not allow
14112 missing overflow exception on overflow.
14113 (expm1_test): Do not allow missing overflow exception on overflow.
14115 * sysdeps/i386/fpu/e_expl.c: Move to ...
14116 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14117 rather than using inline asm.
14118 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14119 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14120 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14122 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14125 (signal): Likewise.
14129 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14131 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14132 sysdeps/unix/common/syscalls.list.
14133 (fchmod): Likewise.
14134 (fchown): Likewise.
14135 (ftruncate): Likewise.
14136 (getrusage): Likewise.
14137 (gettimeofday): Likewise.
14138 (setpgid): Likewise.
14139 (setregid): Likewise.
14140 (setreuid): Likewise.
14141 (sigaction): Likewise.
14142 (truncate): Likewise.
14143 (vhangup): Likewise.
14144 * sysdeps/unix/common/syscalls.list: Remove file.
14145 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14146 * sysdeps/unix/sysv/linux/Implies: Likewise.
14148 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14150 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14152 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14156 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14159 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14162 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14165 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14168 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14171 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14174 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14178 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14182 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14185 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14189 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14193 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14195 * sysdeps/unix/common/bits/dirent.h: Remove file.
14196 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14198 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14199 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14200 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14201 * sysdeps/unix/bsd/isatty.c: Likewise.
14202 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14203 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14204 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14206 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14209 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14210 long double comparison inaccuracies.
14211 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14214 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14216 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14217 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14219 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14222 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14223 nonzero digits before rounding a hex value.
14224 * stdlib/tst-strtod.c (tests): Add another test.
14226 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14228 * sysdeps/s390/fpu/libm-test-ulps: Update.
14230 2012-05-03 Andreas Jaeger <aj@suse.de>
14232 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14233 does not get optimized out.
14234 (malloc_opt_barrier): New.
14236 2012-05-03 Andreas Jaeger <aj@suse.de>
14237 Roland McGrath <roland@hack.frob.com>
14239 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14240 intermediate file deletion.
14241 (generated): Add .symlist files.
14243 2012-05-03 Joseph Myers <joseph@codesourcery.com>
14246 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14247 Redirect under this condition.
14248 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14249 [__USE_GNU] (__dprintf_chk): Not under this condition.
14250 [__USE_GNU] (__vdprintf_chk): Likewise.
14251 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14252 under this condition.
14253 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14254 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14255 [__USE_XOPEN2K8] (vdprintf): Likewise.
14256 [__USE_GNU] (__dprintf_chk): Not under this condition.
14257 [__USE_GNU] (__vdprintf_chk): Likewise.
14258 [__USE_GNU] (dprintf): Likewise.
14259 [__USE_GNU] (vdprintf): Likewise.
14261 2012-05-03 Roland McGrath <roland@hack.frob.com>
14263 * elf/Makefile (common-generated): Set this instead of generated for
14264 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14265 $(all-built-dso)-derived lists.
14267 2012-05-03 Andreas Jaeger <aj@suse.de>
14269 * sysdeps/i386/fpu/libm-test-ulps: Update.
14272 * FAQ.in: Likewise.
14273 * scripts/gen-FAQ.pl: Likewise.
14274 * manual/install.texi (Installation): Point to online location of
14276 * Makefile (files-for-dist): Remove FAQ.
14279 2012-05-02 Allan McRae <allan@archlinux.org>
14281 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14282 (LDFLAGS-reldepmod5.so): Likewise.
14283 (LDFLAGS-reldep6mod1.so): Likewise.
14284 (LDFLAGS-reldep6mod4.so): Likewise.
14285 (LDFLAGS-reldep8mod3.so): Likewise.
14286 (LDFLAGS-unload4mod1.so): Likewise.
14287 (LDFLAGS-unload4mod2.so): Likewise.
14288 (LDFLAGS-tst-initorder): Likewise.
14289 (LDFLAGS-tst-initordera2.so): Likewise.
14290 (LDFLAGS-tst-initordera3.so): Likewise.
14291 (LDFLAGS-tst-initordera4.so): Likewise.
14292 (LDFLAGS-tst-initorderb2.so): Likewise.
14293 (LDFLAGS-noload): Likewise.
14294 (LDFLAGS-next): Likewise.
14295 (LDFLAGS-order2mod1.so): Likewise.
14296 (LDFLAGS-order2mod2.so): Likewise.
14297 (LDFLAGS-tst-initorder2): Likewise.
14298 (LDFLAGS-tst-initorder2a.so): Likewise.
14299 (LDFLAGS-tst-initorder2b.so): Likewise.
14300 (LDFLAGS-tst-initorder2c.so): Likewise.
14301 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14303 2012-05-02 David S. Miller <davem@davemloft.net>
14305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14307 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14310 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14312 2012-05-02 Andreas Jaeger <aj@suse.de>
14314 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14315 since we manipulate rounding mode.
14316 (CPPFLAGS-test-idouble.c): Likewise.
14317 (CPPFLAGS-test-ifloat.c): Likewise.
14318 (CFLAGS-test-ldouble.c): Likewise.
14319 (CFLAGS-test-double.c): Likewise.
14320 (CFLAGS-test-float.c): Likewise.
14321 (CFLAGS-test-misc.c): Likewise.
14322 (CFLAGS-test-test-fenv.c): Likewise.
14324 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14328 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14329 comparisons to determine direction to adjust input.
14331 2012-05-01 Roland McGrath <roland@hack.frob.com>
14333 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14334 output to the target.
14336 * scripts/localplt.awk: New file.
14337 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14338 (check-localplt-CFLAGS): Variable removed.
14339 ($(all-built-dso:=.jmprel)): New static pattern rule.
14340 (generated): Add those targets.
14341 (localplt-built-dso): New variable.
14342 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14344 * elf/check-localplt.c: File removed.
14346 * scripts/check-execstack.awk: New file.
14347 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14348 (check-execstack-CFLAGS): Variable removed.
14349 ($(objpfx)check-execstack.h): Target removed.
14350 ($(objpfx)execstack-default): New target.
14351 (generated): Add that instead of check-execstack.h.
14352 ($(all-built-dso:=.phdr)): New static pattern rule.
14353 (generated): Add those targets.
14354 * elf/check-execstack.c: File removed.
14356 * scripts/check-textrel.awk: New file.
14357 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14358 (check-textrel-CFLAGS): Variable removed.
14359 (all-built-dso): Use := to define.o
14360 ($(all-built-dso:=.dyn)): New static pattern rule.
14361 (generated): Add those targets.
14362 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14363 * config.make.in (READELF): New substituted variable.
14364 * elf/check-textrel.c: File removed.
14366 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14368 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14370 * conform/data/ctype.h-data [C99-based standards] (isblank):
14372 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14373 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14374 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14375 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14376 Specify type. Require positive value.
14377 (EILSEQ): Likewise.
14378 (ERANGE): Likewise.
14379 [ISO || POSIX] (EILSEQ): Do not expect.
14380 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14381 Specify type. Require positive value.
14382 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14383 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14384 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14385 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14386 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14387 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14388 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14389 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14390 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14391 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14392 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14393 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14394 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14395 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14396 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14397 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14398 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14399 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14400 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14401 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14402 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14403 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14404 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14405 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14406 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14407 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14408 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14409 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14410 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14411 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14412 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14413 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14414 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14415 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14416 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14417 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14418 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14419 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14420 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14421 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14422 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14423 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14424 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14425 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14426 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14427 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14428 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14429 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14430 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14431 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14432 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14433 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14434 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14435 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14436 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14437 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14438 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14439 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14440 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14441 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14442 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14443 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14444 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14445 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14446 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14447 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14448 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14449 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14450 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14451 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14452 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14453 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14454 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14455 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14456 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14457 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14458 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14460 (FLT_ROUNDS): Expect as macro, not constant.
14461 (FLT_MANT_DIG): Use macro-int-constant.
14462 (DBL_MANT_DIG): Likewise.
14463 (LDBL_MANT_DIG): Likewise.
14464 (FLT_DIG): Likewise.
14465 (DBL_DIG): Likewise.
14466 (LDBL_DIG): Likewise.
14467 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14468 (DBL_MIN_EXP): Likewise.
14469 (LDBL_MIN_EXP): Likewise.
14470 (FLT_MAX_EXP): Use macro-int-constant.
14471 (DBL_MAX_EXP): Likewise.
14472 (LDBL_MAX_EXP): Likewise.
14473 (FLT_MAX_10_EXP): Likewise.
14474 (DBL_MAX_10_EXP): Likewise.
14475 (LDBL_MAX_10_EXP): Likewise.
14476 (FLT_MAX): Use macro-constant.
14477 (DBL_MAX): Likewise.
14478 (LDBL_MAX): Likewise.
14479 (FLT_EPSILON): Use macro-constant. Give upper bound.
14480 (DBL_EPSILON): Likewise.
14481 (LDBL_EPSILON): Likewise.
14482 (FLT_MIN): Likewise.
14483 (DBL_MIN): Likewise.
14484 (LDBL_MIN): Likewise.
14485 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14486 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14487 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14488 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14489 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14490 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14491 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14492 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14493 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14494 [ISO11] (FLT_TRUE_MIN): Likewise.
14495 [ISO11] (LDBL_TRUE_MIN): Likewise.
14496 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14497 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14498 (SCHAR_MIN): Use macro-int-constant. Specify type.
14499 (SCHAR_MAX): Likewise.
14500 (UCHAR_MAX): Likewise.
14501 (CHAR_MIN): Likewise.
14502 (CHAR_MAX): Likewise.
14503 (MB_LEN_MAX): Use macro-int-constant.
14504 (SHRT_MIN): Use macro-int-constant. Specify type.
14505 (SHRT_MAX): Likewise.
14506 (USHRT_MAX): Likewise.
14507 (INT_MAX): Likewise.
14508 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14510 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14512 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14514 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14515 bound negative. Suffix upper bound with "L".
14516 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14518 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14520 [C99-based standards] (LLONG_MAX): Likewise.
14521 [C99-based standards] (ULLONG_MAX): Likewise.
14522 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14524 [ISO11] (max_align_t): Require type.
14525 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14527 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14528 from $CFLAGS, without defining away __attribute__ calls.
14529 (checknamespace): Use $CFLAGS_namespace.
14531 * conform/conformtest.pl (@keywords): Only include C99 keywords
14532 for standards based on C99 or C11.
14534 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14536 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14539 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14540 usability of symbols in #if.
14542 * conform/conformtest.pl: If macro or constant types start
14543 "promoted:", expect the symbol to be of the following type
14544 promoted by the integer promotions.
14546 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14547 in one place. Also handle "macro-constant".
14549 * conform/conformtest.pl: Only accept expected macro values with
14550 "==". Parse all "macro" lines in one place.
14551 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14553 * conform/conformtest.pl: Handle braced types on "constant" lines
14554 instead of handling "typed-constant".
14555 * conform/data/signal.h-data: Use "constant" instead of
14558 * conform/conformtest.pl: Handle "optional-" at start of lines in
14559 one place rather than duplicating several cases. Handle each
14560 format of "macro" line with initial "optional-".
14562 * conform/conformtest.pl: Only accept expected constant or
14563 optional-constant values with "==". Parse all "constant" lines in
14564 one place. Parse all "optional-constant" lines in one place.
14565 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14566 * conform/data/fmtmsg.h-data: Likewise.
14567 * conform/data/netinet/in.h-data: Likewise.
14568 * conform/data/tar.h-data: Likewise.
14569 * conform/data/limits.h-data: Use "==" form on "constant" and
14570 "optional-constant" lines.
14572 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14573 Use -std=c99 for XOPEN2K.
14574 (@knownproblems): Remove.
14575 (newtoken): Don't check %isknown.
14577 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14578 Do not expect macro.
14579 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14580 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14581 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14582 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14583 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14584 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14585 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14586 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14587 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14588 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14589 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14590 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14591 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14592 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14593 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14594 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14595 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14596 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14597 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14598 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14599 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14600 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14601 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14602 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14603 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14604 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14605 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14606 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14607 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14608 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14609 [XPG3] (acosh): Likewise.
14610 [XPG3] (asinh): Likewise.
14611 [XPG3] (atanh): Likewise.
14612 [XPG3] (cbrt): Likewise.
14613 [XPG3] (expm1): Likewise.
14614 [XPG3] (ilogb): Likewise.
14615 [XPG3] (log1p): Likewise.
14616 [XPG3] (logb): Likewise.
14617 [XPG3] (nextafter): Likewise.
14618 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14619 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14620 [XPG3] (remainder): Likewise.
14621 [XPG3] (rint): Likewise.
14622 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14623 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14624 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14625 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14626 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14627 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14628 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14629 [UNIX98 || XOPEN2K] (scalb): Expect.
14630 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14631 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14632 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14633 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14634 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14635 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14636 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14637 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14638 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14639 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14640 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14641 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14642 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14643 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14644 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14645 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14646 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14647 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14648 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14649 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14650 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14651 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14652 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14653 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14654 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14655 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14656 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14657 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14658 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14659 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14660 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14661 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14662 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14663 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14664 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14665 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14666 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14667 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14668 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14669 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14670 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14671 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14672 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14673 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14674 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14675 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14676 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14677 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14678 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14679 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14680 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14681 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14682 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14683 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14684 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14685 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14686 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14687 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14688 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14689 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14690 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14691 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14692 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14693 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14694 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14695 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14696 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14697 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14698 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14699 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14700 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14701 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14702 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14703 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14704 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14705 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14706 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14707 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14708 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14709 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14710 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14711 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14712 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14713 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14714 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14715 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14716 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14717 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14718 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14719 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14720 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14721 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14722 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14723 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14724 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14725 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14726 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14727 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14728 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14729 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14730 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14731 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14732 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14733 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14734 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14735 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14736 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14737 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14738 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14739 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14740 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14741 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14742 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14743 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14744 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14745 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14746 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14747 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14748 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14749 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14750 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14751 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14752 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14753 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14754 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14755 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14756 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14757 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14758 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14759 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14760 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14761 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14762 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14763 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14764 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14765 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14766 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14768 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14769 _XOPEN_SOURCE_EXTENDED for XPG4.
14771 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14773 * Makeconfig (localtime): Remove variable.
14774 (inst_localtime-file): Likewise.
14776 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14797 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14801 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14802 comparisons to determine direction to adjust input.
14803 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14804 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14805 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14807 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14809 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14811 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14812 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14814 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14816 * math/libm-test.inc (nexttoward_test): Add more tests.
14818 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14821 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14822 in version GLIBC_2.1, not GLIBC_2.0.
14823 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14826 2012-04-30 Joseph Myers <joseph@codesourcery.com>
14829 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14831 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14832 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14833 * math/libm-test.inc (acos_test): Add more tests.
14834 (asin_test): Likewise.
14835 * sysdeps/i386/fpu/libm-test-ulps: Update.
14836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14839 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14841 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14842 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14843 * math/libm-test.inc (acos_test_tonearest): New function.
14844 (acos_test_towardzero): Likewise.
14845 (acos_test_downward): Likewise.
14846 (acos_test_upward): Likewise.
14847 (asin_test_tonearest): Likewise.
14848 (asin_test_towardzero): Likewise.
14849 (asin_test_downward): Likewise.
14850 (asin_test_upward): Likewise.
14851 (main): Call the new functions.
14852 * sysdeps/i386/fpu/libm-test-ulps: Update.
14853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14857 * math/e_exp10.c: Include <float.h>.
14858 (__ieee754_exp10): Handle underflow here rather than multiplying
14859 large negative argument by M_LN10.
14860 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14862 * math/e_exp10l.c: Include <float.h>.
14863 (__ieee754_exp10l): Handle underflow here rather than multiplying
14864 large negative argument by M_LN10l.
14865 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14866 spurious overflow exception on underflow.
14868 2012-04-29 Marek Polacek <polacek@redhat.com>
14870 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14871 (__fortify_function): New macro.
14872 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14873 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14874 __extern_always_inline.
14875 * libio/bits/stdio2.h: Likewise.
14876 * libio/bits/stdio.h: Likewise.
14877 * string/string.h: Likewise.
14878 * string/bits/string3.h: Likewise.
14879 * include/stdio.h: Likewise.
14880 * stdlib/bits/stdlib.h: Likewise.
14881 * stdlib/stdlib.h: Likewise.
14882 * rt/bits/mqueue2.h: Likewise.
14883 * rt/mqueue.h: Likewise.
14884 * posix/bits/unistd.h: Likewise.
14885 * posix/unistd.h: Likewise.
14886 * io/bits/poll2.h: Likewise.
14887 * io/bits/fcntl2.h: Likewise.
14888 * io/fcntl.h: Likewise.
14889 * io/sys/poll.h: Likewise.
14890 * misc/bits/syslog.h: Likewise.
14891 * misc/bits/syslog-ldbl.h: Likewise.
14892 * misc/sys/syslog.h: Likewise.
14893 * socket/bits/socket2.h: Likewise.
14894 * socket/sys/socket.h: Likewise.
14895 * debug/tst-chk1.c: Likewise.
14896 * wcsmbs/bits/wchar2.h: Likewise.
14897 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14898 * wcsmbs/wchar.h: Likewise.
14900 2012-04-29 Andreas Jaeger <aj@suse.de>
14902 * Makerules (tests): Remove enable-check-abi protection.
14903 (check-abi-warn): Remove.
14904 (check-abi-%): Remove check-abi-warn usage.
14906 * configure.in: Remove check-abi configure option.
14907 * configure: Regenerated.
14908 * config.make.in (enable-check-abi): Remove.
14910 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14913 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14914 double functions to double *_finite functions.
14917 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14918 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14920 * stdio-common/Makefile (tests): Add tst-sprintf3.
14921 * stdio-common/tst-sprintf3.c: New file.
14923 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14924 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14926 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14928 * conform/conformtest.pl: Remove duplicate typed-constant
14931 2012-04-28 David S. Miller <davem@davemloft.net>
14933 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14934 (check-abi-%): Remove AWK script prerequisite and explicit
14936 (check-abi): Rewrite to just diff the symlist with the abilist.
14937 (config-tls, config-abi-config): Delete, no longer used.
14938 (update-abi-%): Remove AWK script and explicit abilist directory.
14939 (update-abi): Rewrite to simply compare and conditionally copy the
14940 symlist and the sysdep abilist file. Remove update-abi-config
14942 * abilist/ld.abilist: Remove.
14943 * abilist/libBrokenLocale.abilist: Remove.
14944 * abilist/libanl.abilist: Remove.
14945 * abilist/libcrypt.abilist: Remove.
14946 * abilist/libdl.abilist: Remove.
14947 * abilist/librt.abilist: Remove.
14948 * abilist/libthread_db.abilist: Remove.
14949 * abilist/libutil.abilist: Remove.
14950 * scripts/extract-abilist.awk: Remove.
14951 * scripts/merge-abilist.awk: Remove.
14952 * sysdeps/generic/libcidn.abilist: New file.
14953 * sysdeps/generic/libnss_compat.abilist: New file.
14954 * sysdeps/generic/libnss_db.abilist: New file.
14955 * sysdeps/generic/libnss_dns.abilist: New file.
14956 * sysdeps/generic/libnss_files.abilist: New file.
14957 * sysdeps/generic/libnss_hesiod.abilist: New file.
14958 * sysdeps/generic/libnss_nis.abilist: New file.
14959 * sysdeps/generic/libnss_nisplus.abilist: New file.
14960 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14961 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14962 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14964 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14965 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14966 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14967 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14968 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14969 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14970 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14971 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14972 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14974 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14975 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14976 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14977 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14979 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14980 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14981 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14982 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14983 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14984 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14986 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14987 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14988 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14990 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15015 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15093 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15094 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15095 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15097 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15098 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15099 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15100 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15101 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15102 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15103 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15104 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15105 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15106 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15158 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15160 * conform/conformtest.pl: Fix typo in handling typed-constant from
15163 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15165 * README: Cut down references to pre-2.6 Linux kernels and
15166 Linuxthreads. Update lists of configurations in libc and ports
15167 and sort alphabetically. Say "or newer" with Linux kernel version
15170 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15172 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15175 * math/libm-test.inc (logb_test_downward): New test to expose
15176 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15179 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15182 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15184 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15185 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15187 2012-04-26 Joseph Myers <joseph@codesourcery.com>
15189 * sysdeps/unix/i386/brk.S: Remove file.
15190 * sysdeps/unix/i386/dl-brk.S: Likewise.
15191 * sysdeps/unix/i386/pipe.S: Likewise.
15192 * sysdeps/unix/i386/sigreturn.S: Likewise.
15193 * sysdeps/unix/i386/syscall.S: Likewise.
15194 * sysdeps/unix/i386/vfork.S: Likewise.
15195 * sysdeps/unix/i386/wait.S: Likewise.
15197 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15198 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15200 * configure.in (arm*-none*): Do not allow without
15201 --enable-hacker-mode.
15202 (netbsd*): Remove case setting base_os.
15203 (386bsd*): Likewise.
15204 (freebsd*): Likewise.
15207 (sunos*): Likewise.
15208 (ultrix*): Likewise.
15209 (newsos*): Likewise.
15210 (dynix*): Likewise.
15216 (minix*): Likewise.
15217 (irix4*): Likewise.
15218 (irix6*): Likewise.
15219 (solaris[2-9]*): Likewise.
15221 * configure: Regenerated.
15223 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15226 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15227 overflow or cancellation in calculating denominator.
15228 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15229 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15230 down expression to avoid unexpected rounding in newer GCCs.
15231 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15233 2012-04-26 David S. Miller <davem@davemloft.net>
15235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15236 long-double compat symbols.
15237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15251 2012-04-25 David S. Miller <davem@davemloft.net>
15253 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15254 HWCAP_* values only after the memory barriers have been defined.
15255 (atomic_full_barrier): Define.
15256 (atomic_read_barrier): Define.
15257 (atomic_write_barrier): Define.
15259 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15261 * shlib-versions: Add libgcc_s version information.
15262 * sysdeps/generic/libgcc_s.h: Remove.
15263 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15265 * sysdeps/gnu/unwind-resume.c: Likewise.
15266 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15268 2012-04-25 David S. Miller <davem@davemloft.net>
15270 * sysdeps/unix/sparc/brk.S: Delete.
15271 * sysdeps/unix/sparc/dl-brk.S: Delete.
15272 * sysdeps/unix/sparc/pipe.S: Delete.
15273 * sysdeps/unix/sparc/sysdep.S: Delete.
15274 * sysdeps/unix/sparc/sysdep.h: Delete.
15275 * sysdeps/unix/sparc/vfork.S: Delete.
15276 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15277 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15278 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15279 ret_ERRVAL, r0, r1, MOVE): Define.
15280 (JUMPTARGET): Remove.
15281 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15282 sysdeps/unix/sparc/sysdep.h
15283 (ENTRY, END): Remove.
15284 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15286 2012-04-25 Joseph Myers <joseph@codesourcery.com>
15288 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15289 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15292 * timezone/README: Update upstream location and email address for
15294 * timezone/zdump.c: Update from tzcode 2012b.
15295 * timezone/zic.c: Likewise.
15297 * configure.in (libc_cv_as_needed): Remove test.
15298 * configure: Regenerated.
15299 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15300 conditional definition.
15301 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15302 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15303 * config.make.in (have-as-needed): Remove variable.
15305 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15306 Paul Pluzhnikov <ppluzhnikov@google.com>
15308 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15311 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15313 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15314 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15315 * sysdeps/sh/strlen.S: Likewise.
15317 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15319 * sysdeps/unix/fork.S: Remove file.
15320 * sysdeps/unix/i386/fork.S: Likewise.
15321 * sysdeps/unix/sparc/fork.S: Likewise.
15323 * sysdeps/unix/system.c: Remove file.
15324 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15326 * sysdeps/unix/getegid.S: Remove file.
15327 * sysdeps/unix/geteuid.S: Likewise.
15329 2012-04-24 Roland McGrath <roland@hack.frob.com>
15331 * scripts/check-localplt.awk: New file.
15332 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15334 * scripts/data/localplt-generic.data: Add a comment.
15336 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15337 NODE when __dir_mkfile failed.
15338 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15339 Reported by Ludovic Courtès <ludo@gnu.org>.
15341 2012-04-24 Andreas Jaeger <aj@suse.de>
15343 * Makerules (common-clean): Also remove gen-as-const-headers
15346 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15348 * Makerules (native-compile): Do not change working directory for
15349 build. Use $(OUTPUT_OPTION) in command.
15350 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15352 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15355 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15356 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15357 * math/libm-test.inc (floor_test): Add more tests.
15358 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15360 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15362 * sysdeps/unix/getdents.c: Remove file.
15363 * sysdeps/unix/sysv/getdents.c: Likewise.
15364 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15366 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15367 sysdeps/unix/mman/syscalls.list.
15369 (mprotect): Likewise.
15371 (munmap): Likewise.
15372 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15373 * sysdeps/unix/mman/syscalls.list: Remove.
15374 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15376 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15377 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15378 * configure: Regenerated.
15379 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15380 $(libgcc_s_suffix).
15381 * config.make.in (libgcc_s_suffix): Remove variable.
15383 2012-04-23 Joseph Myers <joseph@codesourcery.com>
15385 * sysdeps/unix/sysv/gethostname.c: Move to ...
15386 * sysdeps/posix/gethostname.c: ... here.
15388 * sysdeps/unix/execve.S: Remove file.
15390 * sysdeps/unix/_exit.S: Remove file.
15392 2012-04-23 Andreas Jaeger <aj@suse.de>
15395 * manual/Makefile: Remove make dist support, there's no
15396 need for a stand-alone documentation tar ball.
15397 (TEXI2DVI): Define always, it's not in Makeconfig.
15400 (edition): Removed.
15401 (glibc-doc-$(edition).tar): Removed
15405 (ETAGS): Remove, it's in Makeconfig.
15406 (move-if-change): Remove, it's in Makeconfig.
15408 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
15411 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15412 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15413 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15414 (strtod_l, strtof_l, strtold_l): Remove __wur.
15415 It is not necessarily an error to ignore strtol's return value.
15416 One can reliably look at the stored endptr to decide whether
15417 the number had valid syntax.
15419 2012-04-21 Andreas Jaeger <aj@suse.de>
15422 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15424 2012-04-21 Joseph Myers <joseph@codesourcery.com>
15426 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15427 * sysdeps/unix/sysv/Versions: Remove file.
15429 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15432 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15434 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
15437 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15438 version from __vm86.
15440 2012-04-20 Joseph Myers <joseph@codesourcery.com>
15442 * sysdeps/unix/common/lxstat.c: Remove file.
15443 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15445 * sysdeps/unix/sysv/Makefile: Remove file.
15447 * sysdeps/unix/sysv/direct.h: Remove file.
15449 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15450 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15451 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15452 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15453 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15454 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15455 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15457 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15459 * sysdeps/unix/xmknod.c: Remove file.
15460 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15462 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15464 * sysdeps/unix/sysv/i386/time.S: Remove file.
15466 * sysdeps/unix/fxstat.c: Remove file.
15467 * sysdeps/unix/xstat.c: Likewise.
15468 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15470 * sysdeps/unix/sysv/sigaction.c: Remove file.
15472 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15473 (sysdep_headers): Remove variable.
15474 [termio.h not in sysdep_headers] (generated): Likewise.
15475 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15476 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15477 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15478 * sysdeps/unix/sysv/tcflow.c: Likewise.
15479 * sysdeps/unix/sysv/tcflush.c: Likewise.
15480 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15481 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15482 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15483 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15484 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15486 * sysdeps/unix/siglist.c: Remove file.
15488 * sysdeps/unix/getppid.S: Remove file.
15490 * sysdeps/unix/mkdir.c: Remove file.
15491 * sysdeps/unix/rmdir.c: Likewise.
15493 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15495 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15497 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15498 errlist-compat value.
15500 2012-04-18 David S. Miller <davem@davemloft.net>
15502 * sysdeps/generic/memcopy.h (reg_char): Delete.
15503 * debug/strcat_chk.c: Use char, not reg_char.
15504 * debug/strcpy_chk.c: Likewise.
15505 * debug/strncat_chk.c: Likewise.
15506 * debug/strncpy_chk.c: Likewise.
15507 * string/memchr.c: Likewise.
15508 * string/memrchr.c: Likewise.
15509 * string/rawmemchr.c: Likewise.
15510 * string/strcat.c: Likewise.
15511 * string/strchr.c: Likewise.
15512 * string/strchrnul.c: Likewise.
15513 * string/strcmp.c: Likewise.
15514 * string/strcpy.c: Likewise.
15515 * string/strncat.c: Likewise.
15516 * string/strncmp.c: Likewise.
15517 * string/strncpy.c: Likewise.
15519 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15521 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15522 __builtin_memcopy is called when src and dest ranges are known to not
15525 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15527 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15528 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15529 fwd_align_merge macro call.
15530 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15531 bwd_align_merge macro call.
15532 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15534 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15536 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15537 bwd_align_merge macros.
15538 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15539 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15540 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15542 2012-04-18 David S. Miller <davem@davemloft.net>
15544 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15546 2012-04-18 Andreas Jaeger <aj@suse.de>
15549 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15550 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15551 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15553 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15554 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15555 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15557 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15558 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15559 Adjust for changed ldbl-128 files.
15561 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15562 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15563 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15565 2012-04-17 David S. Miller <davem@davemloft.net>
15567 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15569 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15571 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15572 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15573 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15574 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15575 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15576 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15578 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15581 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15582 * math/libm-test.inc: Add ilogb errno and exception tests.
15583 * math/w_ilogb.c: New file: ilogb wrapper.
15584 * math/w_ilogbf.c: New file: ilogbf wrapper.
15585 * math/w_ilogbl.c: New file: ilogbl wrapper.
15586 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15587 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15588 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15589 exception being thrown with 0.0 as argument.
15590 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15591 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15592 exception being thrown with 0.0 as argument.
15593 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15594 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15595 exception being thrown with 0.0 as argument.
15596 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15597 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15598 exception being thrown with 0.0 as argument.
15599 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15600 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15601 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15602 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15603 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15604 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15605 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15606 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15607 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15609 2012-04-17 Petr Baudis <pasky@ucw.cz>
15611 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15614 2012-04-16 Marek Polacek <polacek@redhat.com>
15616 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15618 2012-04-16 Marek Polacek <polacek@redhat.com>
15620 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15621 operands of fdivp instruction.
15623 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15625 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15626 * elf/tst-auditmod3b.c: Likewise.
15627 * elf/tst-auditmod4b.c: Likewise.
15628 * elf/tst-auditmod5b.c: Likewise.
15629 * elf/tst-auditmod6b.c: Likewise.
15630 * elf/tst-auditmod6c.c: Likewise.
15631 * elf/tst-auditmod7b.c: Likewise.
15632 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15633 * sysdeps/x86_64/preconfigure.in: Likewise.
15634 * sysdeps/x86_64/preconfigure: Regenerated.
15636 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15638 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15641 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
15643 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15644 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15646 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15649 * locale/iso-639.def: Fix gl language name. Spotted by
15652 2012-04-12 Roland McGrath <roland@hack.frob.com>
15655 * libio/libio.h (__io_write_fn): Update comment.
15657 2012-04-12 Petr Baudis <pasky@ucw.cz>
15660 * stdio.texi (Hook Functions): The user provided writer function
15661 is not allowed to return -1.
15663 2012-04-11 David S. Miller <davem@davemloft.net>
15665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15667 2012-04-11 Mike Frysinger <vapier@gentoo.org>
15669 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15670 Add a leading slash to rtkaio.
15672 2012-04-11 Jim Meyering <meyering@redhat.com>
15675 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15676 It is not necessarily an error to ignore fwrite's return
15677 value. One can reliably use ferror to test for errors after
15680 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15682 * bits/types.h (__snseconds_t): New type.
15683 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15685 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15686 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15687 (__SNSECONDS_T_TYPE): Likewise.
15688 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15689 (__SNSECONDS_T_TYPE): Likewise.
15690 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15691 (__SNSECONDS_T_TYPE): Likewise.
15693 2012-04-10 Andreas Jaeger <aj@suse.de>
15696 * manual/time.texi (Processor Time): Return type of times is
15697 elapsed real time since an arbitrary point in the past.
15698 (CPU Time): Move CLK_TCK from here...
15699 (Processor Time): ...to here. Correct description.
15700 * manual/conf.texi (Constants for Sysconf): Correct description of
15703 2012-04-10 David S. Miller <davem@davemloft.net>
15706 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15707 where the is a gap between DT_REL(A) and DT_JMPREL.
15709 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15711 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15712 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15713 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15715 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15717 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15718 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15719 (dl_main): Handle --inhibit-cache.
15720 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15722 * elf/dl-load.c (_dl_map_object): Use it.
15723 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15725 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15728 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15729 (__ieee754_powl): Saturate large exponents rather than testing for
15730 overflow of y*log2(x).
15731 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15732 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15736 * math/s_ctan.c: Include <float.h>.
15737 (__ctan): Avoid internal overflow or cancellation in calculating
15739 * math/s_ctanf.c: Likewise.
15740 * math/s_ctanl.c: Likewise.
15741 * math/s_ctanh.c: Likewise.
15742 * math/s_ctanhf.c: Likewise.
15743 * math/s_ctanhl.c: Likewise.
15744 * math/libm-test.inc (ctan_test): Add more tests.
15745 (ctanh_test): Likewise.
15746 * sysdeps/i386/fpu/libm-test-ulps: Update.
15747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15749 2012-04-09 Andreas Jaeger <aj@suse.de>
15752 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15753 is an optional BSD extension.
15756 * manual/stdio.texi (Opening Streams): Document additional fopen
15759 2012-04-09 Roland McGrath <roland@hack.frob.com>
15761 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15762 %eax without telling the compiler.
15764 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15767 * manual/install.texi: Use sourceware.org.
15769 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15772 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15773 (__ieee754_pow): Generate overflow and underflow using huge*huge
15774 and tiny*tiny rather than just returning constant infinity or zero
15775 for large exponents.
15776 * math/libm-test.inc (pow_test): Require overflow exceptions for
15777 applicable cases of large exponents.
15780 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15781 (__ieee754_pow): Use iterative multiplication algorithm only for
15782 integer exponents with absolute value below 1024. Check for odd
15783 integer exponents when using algorithm for real exponents.
15784 * math/libm-test.inc (pow_test): Add more tests.
15785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15787 2012-04-08 Joseph Myers <joseph@codesourcery.com>
15790 * math/libm-test.inc (exp_test): Do not allow overflow exception
15793 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15796 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15797 instead of __kernel_standard_f.
15799 2012-04-08 Mike Frysinger <vapier@gentoo.org>
15801 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15802 * sysdeps/x86_64/memset_chk.S: Likewise.
15804 2012-04-08 Andreas Jaeger <aj@suse.de>
15807 * manual/startup.texi (Environment Access): Describe return value
15808 for putenv and setenv.
15811 * manual/filesys.texi (Directory Entries): Add description for
15815 * manual/filesys.texi (Directory Entries): Clarify that it's file
15816 system not operating system in the description of DT_UNKNOWN.
15819 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15821 2012-04-08 Stephen Compall <s11@member.fsf.org>
15824 * manual/llio.texi (Opening and Closing Files): Add cross
15825 reference to explain mode argument.
15827 2012-04-07 Mike Frysinger <vapier@gentoo.org>
15829 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15830 * sysdeps/x86_64/memset_chk.S: Likewise.
15832 2012-04-07 David S. Miller <davem@davemloft.net>
15834 * elf/elf.h (R_SPARC_WDISP10): Define.
15835 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15837 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15838 R_SPARC_SIZE64 and R_SPARC_H34.
15840 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15842 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15843 conditions and remove no longer applicable assertion.
15845 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15847 * bits/byteswap.h: Include <features.h>.
15848 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15849 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15851 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15853 * bits/byteswap.h (__bswap_16): Removed.
15854 Include <bits/byteswap-16.h> to get __bswap_16.
15855 * sysdeps/i386/bits/byteswap.h: Likewise.
15856 * sysdeps/s390/bits/byteswap.h: Likewise.
15857 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15858 * bits/byteswap-16.h: New file.
15859 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15860 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15861 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15862 * string/Makefile (headers): Add bits/byteswap-16.h.
15864 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15867 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15869 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15870 * nss/tst-nss-static.c: New.
15872 2012-04-06 Robert Millan <rmh@gnu.org>
15875 * manual/llio.texi (File Position Primitive): lseek
15876 refers to WHENCE when it really means OFFSET.
15878 2012-04-06 Andreas Jaeger <aj@suse.de>
15880 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15881 strncmp declarations.
15883 * abilist/libc.abilist: Add __poll and __ppoll.
15885 2012-04-05 David S. Miller <davem@davemloft.net>
15887 * scripts/check-local-headers.sh: Accept a host triplet in the
15888 path matched by the exclude regexp.
15890 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15892 * sysdeps/powerpc/powerpc32/dl-machine.h
15893 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15894 * sysdeps/s390/s390-32/dl-machine.h
15895 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15896 * sysdeps/sparc/sparc32/dl-machine.h
15897 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15898 * sysdeps/sparc/sparc64/dl-machine.h
15899 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15901 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15903 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15904 undefined symbol errors.
15906 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15909 2012-04-05 Michael Matz <matz@suse.de>
15912 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15914 2012-04-05 Andreas Jaeger <aj@suse.de>
15917 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15920 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15922 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15923 which ROUND is no valid rounding mode.
15925 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15927 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15929 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15931 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15933 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15934 an exception using FPU order intentionally.
15936 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15938 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15939 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15940 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15941 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15943 2012-04-05 Simon Josefsson <simon@josefsson.org>
15946 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15947 EINVAL when BUFLEN is too smal.
15949 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15952 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15953 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15955 2012-04-03 Andreas Jaeger <aj@suse.de>
15958 * manual/setjmp.texi (System V contexts): Fix sentence.
15961 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15962 New macro for this case.
15963 [!__GNUC__] (__bswap_64): New inline function for this case.
15964 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15965 * bits/byteswap.h: Likewise.
15966 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15967 ull, guard with __GLIBC_HAVE_LONG_LONG.
15969 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15970 __GLIBC_HAVE_LONG_LONG.
15972 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15973 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15975 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15978 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15979 inptr and inend, rather than using last_ch.
15981 2012-04-02 David S. Miller <davem@davemloft.net>
15983 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15984 * stdio-common/printf-parse.h (read_int): Change return type to
15985 'int', return -1 on INT_MAX overflow.
15986 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15987 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15988 overflows INT_MAX. Check for overflow of in-format-string precision
15989 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15990 SIZE_MAX not INT_MAX for integer overflow test.
15991 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15992 skip the construct in the format string but do not record anything.
15993 * stdio-common/bug22.c: Adjust to test both width/prevision
15994 INT_MAX overflow as well as total length INT_MAX overflow. Check
15995 explicitly for proper errno values.
15997 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15999 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16001 * string/test-strcmp.c [! WIDE]: Likewise.
16002 * time/tst-mktime2.c: Likewise for INT_MAX.
16003 * string/test-string.h: #include <sys/param.h> for MIN.
16005 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16006 * sysdeps/i386/init-first.c (init): Likewise.
16007 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16008 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16009 * sysdeps/sh/init-first.c (init): Likewise.
16011 2012-04-01 Ulrich Drepper <drepper@gmail.com>
16013 * po/ru.po: Update from translation team.
16014 * po/vi.po: Likewise.
16016 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16018 * resolv/nss_dns/dns-host.c: Merge copyright years.
16020 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16022 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16023 Optimize memcpy with prefetch if
16024 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16025 src, dst pointers have unequal 16 byte alignments.
16027 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16030 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16031 from a CNAME entry and return the minimum ttl for the query.
16032 (gaih_getanswer_slice): Likewise.
16034 2012-03-30 Jeff Law <law@redhat.com>
16036 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16038 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16039 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16041 * resolv/nss_dns/dns-host.c: Update copyright year.
16043 2012-03-30 Ulrich Drepper <drepper@gmail.com>
16045 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16046 requests to save a system call. Fix check that all bytes are sent.
16048 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16049 comments for sendmmsg.
16051 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16054 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16055 with only 1 character between 0x0041 and 0x01b0.
16056 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16057 * wcsmbs/tst-mbsnrtowcs.c: New file.
16059 2012-03-29 David S. Miller <davem@davemloft.net>
16061 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16062 small copies by hand.
16064 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16067 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16068 _nss_compat_initgroups_dyn): Fall back to malloc/free
16069 for large group memberships.
16071 2012-03-28 David S. Miller <davem@davemloft.net>
16073 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16074 that branches into memcpy.
16075 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16076 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16077 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16078 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16079 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16081 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16082 implementation too.
16083 * sysdeps/sparc/mempcpy.S: New file.
16085 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16086 the IFUNC routine in the libc case.
16087 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16089 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16090 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16091 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16092 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16093 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16094 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16095 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16096 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16098 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16099 loop to 256 bytes instead of 64 bytes and fix test signedness.
16101 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16102 * sysdeps/sparc/sparc32/Makefile: rather than here...
16103 * sysdeps/sparc/sparc64/Makefile: and here.
16105 2012-03-28 Ulrich Drepper <drepper@gmail.com>
16107 * malloc/mallocbug.c: Avoid warnings about unused variables.
16109 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16112 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16113 in the right place. Discard and retry query if response is
16114 larger than input buffer size.
16116 2012-03-28 Joseph Myers <joseph@codesourcery.com>
16121 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16122 x for large integer exponent.
16123 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16124 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16125 sign of result as needed afterwards.
16126 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16127 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16128 result for underflowing pow the same as for overflow.
16129 (__kernel_standard_l): Handle powl overflow and underflow here
16130 rather than calling __kernel_standard.
16131 * math/libm-test.inc (pow_test): Add more tests.
16146 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16147 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16148 (__kernel_standard_l): New function.
16149 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16151 * math/w_acosl.c (__acosl): Likewise.
16152 * math/w_asinl.c (__asinl): Likewise.
16153 * math/w_atan2l.c (__atan2l): Likewise.
16154 * math/w_atanhl.c (__atanhl): Likewise.
16155 * math/w_coshl.c (__coshl): Likewise.
16156 * math/w_exp10l.c (__exp10l): Likewise.
16157 * math/w_exp2l.c (__exp2l): Likewise.
16158 * math/w_fmodl.c (__fmodl): Likewise.
16159 * math/w_hypotl.c (__hypotl): Likewise.
16160 * math/w_j0l.c (__j0l, __y0l): Likewise.
16161 * math/w_j1l.c (__j1l, __y1l): Likewise.
16162 * math/w_jnl.c (__jnl, __ynl): Likewise.
16163 * math/w_lgammal.c (__lgammal): Likewise.
16164 * math/w_log10l.c (__log10l): Likewise.
16165 * math/w_log2l.c (__log2l): Likewise.
16166 * math/w_logl.c (__logl): Likewise.
16167 * math/w_powl.c (__powl): Likewise.
16168 * math/w_remainderl.c (__remainderl): Likewise.
16169 * math/w_scalbl.c (sysv_scalbl): Likewise.
16170 * math/w_sinhl.c (__sinhl): Likewise.
16171 * math/w_sqrtl.c (__sqrtl): Likewise.
16172 * math/w_tgammal.c (__tgammal): Likewise.
16173 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16174 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16175 * math/libm-test.inc (acos_test): Add more tests.
16176 (acosh_test): Likewise.
16177 (asin_test): Likewise.
16178 (atanh_test): Likewise.
16179 (exp_test): Likewise.
16180 (exp10_test): Likewise.
16181 (exp2_test): Likewise.
16182 (expm1_test): Likewise.
16183 (lgamma_test): Likewise.
16184 (log_test): Likewise.
16185 (log10_test): Likewise.
16186 (log1p_test): Likewise.
16187 (log2_test): Likewise.
16188 (pow_test): Do not allow some spurious overflow exceptions.
16189 (sqrt_test): Add more tests.
16190 (tgamma_test): Likewise.
16191 (y0_test): Likewise.
16192 (y1_test): Likewise.
16193 (yn_test): Likewise.
16195 2012-03-27 Anton Blanchard <anton@samba.org>
16197 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16199 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16200 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16201 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16203 2012-03-27 David S. Miller <davem@davemloft.net>
16205 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16207 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16208 have-as-vis3 check.
16210 2012-03-27 Andreas Jaeger <aj@suse.de>
16212 * sysdeps/x86_64/elf/configure.in: Moved to ...
16213 * sysdeps/x86_64/configure.in: ... here.
16214 * sysdeps/x86_64/elf/start.S: Moved to ...
16215 * sysdeps/x86_64/start.S: ... here.
16216 * sysdeps/x86_64/elf/configure: Delete.
16218 * sysdeps/x86_64/configure.in: Merge contents from
16219 sysdeps/i386/configure.in (without i686 check).
16221 * sysdeps/i386/elf/Versions: Merge into ...
16222 * sysdeps/i386/Versions: ... this.
16223 * sysdeps/i386/elf/Versions: Delete file.
16224 * sysdeps/i386/elf/start.S: Moved to ...
16225 * sysdeps/i386/start.S: ...here.
16226 * sysdeps/i386/elf/configure.in: Merge into...
16227 * sysdeps/i386/configure.in: ...here.
16228 * sysdeps/i386/elf/configure.in: Delete file.
16229 * sysdeps/i386/elf/configure: Delete file.
16231 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16232 * debug/backtracesyms.c: ... here.
16233 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16234 * debug/backtracesymsfd.c: ... here.
16235 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16236 * sysdeps/generic/ifunc-sel.h: ... here.
16238 * sysdeps/unix/i386/start.c: Delete file.
16239 * sysdeps/unix/sparc/start.c: Delete file.
16240 * sysdeps/unix/start.c: Delete file.
16242 * sysdeps/sh/elf/configure.in: Moved to ...
16243 * sysdeps/sh/configure.in: ... here.
16244 * sysdeps/sh/elf/start.S: Moved to ...
16245 * sysdeps/sh/start.S: ... here.
16246 * sysdeps/sh/elf/configure: Delete file.
16248 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16249 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16250 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16251 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16252 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16253 * sysdeps/powerpc/powerpc64/start.S: here.
16254 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16255 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16256 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16257 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16258 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16260 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16261 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16262 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16263 * sysdeps/powerpc/powerpc32/start.S: ... here.
16264 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16265 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16266 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16268 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16269 * sysdeps/powerpc/ifunc-sel.h: ... here.
16270 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16271 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16273 * sysdeps/sparc/elf/configure.in: Moved to ...
16274 * sysdeps/sparc/configure.in: ... here.
16275 * sysdeps/sparc/elf/configure: Delete file.
16276 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16277 * sysdeps/sparc/sparc32/start.S: ... here.
16278 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16279 * sysdeps/sparc/sparc64/start.S: ... here.
16280 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16281 * sysdeps/sparc/sparc32/Makefile: ... this.
16282 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16283 * sysdeps/sparc/sparc64/Makefile: ... this.
16285 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16286 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16287 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16288 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16289 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16290 * sysdeps/s390/s390-32/setjmp.S: ... here.
16291 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16292 * sysdeps/s390/s390-32/configure.in: ... here.
16293 * sysdeps/s390/s390-32/elf/configure: Delete file.
16294 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16295 * sysdeps/s390/s390-32/start.S: ... here.
16297 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16298 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16299 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16300 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16301 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16302 * sysdeps/s390/s390-64/setjmp.S: ... here.
16303 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16304 * sysdeps/s390/s390-64/configure.in: ... here
16305 * sysdeps/s390/s390-64/elf/configure: Delete file.
16306 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16307 * sysdeps/s390/s390-64/start.S: ... here.
16308 * sysdeps/s390/s390-64/elf/configure: Delete.
16310 * configure.in: Remove support for elf directories in sysdeps.
16312 * configure: Regenerated.
16313 * sysdeps/i386/configure: Regenerated.
16314 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16315 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16316 * sysdeps/s390/s390-32/configure: Regenerated.
16317 * sysdeps/s390/s390-64/configure: Regenerated.
16318 * sysdeps/sh/configure: Regenerated.
16319 * sysdeps/sparc/configure: Regenerated.
16320 * sysdeps/x86_64/configure: Regenerated.
16322 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16326 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16327 denormal result into account.
16329 2012-03-25 Roland McGrath <roland@hack.frob.com>
16331 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16332 Reported by Allan McRae <allan@archlinux.org>.
16334 2012-03-23 Jeff Law <law@redhat.com>
16336 * nss/getnssent.c (__nss_getent): Fix typo.
16338 2012-03-23 David S. Miller <davem@davemloft.net>
16340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16342 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16344 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16345 to pad to uint64_t for each field.
16346 (dl_tls_index): Replace unsigned long with uint64_t.
16348 2012-03-23 Daniel Jacobowitz <dmj@google.com>
16349 Paul Pluzhnikov <ppluzhnikov@google.com>
16352 * grp/Makefile (otherlibs): Don't set it.
16353 * inet/Makefile (otherlibs): Likewise.
16354 * login/Makefile (otherlibs): Likewise.
16355 * nscd/Makefile (otherlibs): Likewise.
16356 * posix/Makefile (otherlibs): Likewise.
16357 * pwd/Makefile (otherlibs): Likewise.
16358 * rt/Makefile (otherlibs): Likewise.
16359 * sunrpc/Makefile (otherlibs): Likewise.
16360 * nss/Makefile (otherlibs): Likewise.
16361 Add libnss_files to routines and static-only-routines.
16362 ($(objpfx)getent): Remove rule.
16363 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16364 static-only-routines.
16366 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16369 * math/s_cexp.c: Include <float.h>.
16370 (__cexp): Handle exp result overflowing not necessarily
16371 overflowing both real and imaginary parts of result.
16372 * math/s_cexpf.c: Likewise.
16373 * math/s_cexpl.c: Likewise.
16374 * math/libm-test.inc (cexp_test): Add more tests.
16375 * sysdeps/i386/fpu/libm-test-ulps: Update.
16376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16378 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16380 * include/link.h (ELFW): New macro.
16381 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16382 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16384 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16386 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16389 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16391 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16393 (struct La_x32_retval): Likewise.
16395 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16397 * sysdeps/x86_64/preconfigure.in: New file.
16398 * sysdeps/x86_64/preconfigure: New generated file.
16400 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16403 * math/e_exp2l.c: Include <float.h>.
16404 (__ieee754_exp2l): Handle overflow and underflow cases
16405 separately. Only pass fractional part of argument to
16407 * math/libm-test.inc (exp2_test): Add more tests.
16409 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16410 negating x to take absolute value.
16411 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16413 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16414 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16416 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16417 computing low part if x was negated.
16418 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16420 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16422 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16423 la_x32_gnu_pltexit.
16424 (pltexit): Cast int_retval to ptrdiff_t.
16425 * elf/tst-auditmod3b.c: Likewise.
16426 * elf/tst-auditmod4b.c: Likewise.
16427 * elf/tst-auditmod5b.c: Likewise.
16428 * elf/tst-auditmod6b.c: Likewise.
16429 * elf/tst-auditmod6c.c: Likewise.
16430 * elf/tst-auditmod7b.c: Likewise.
16432 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16433 and x32_gnu_pltexit.
16435 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16436 __ELF_NATIVE_CLASS.
16437 (La_x32_regs): New macro.
16438 (La_x32_retval): Likewise.
16439 (la_x32_gnu_pltenter): New function prototype.
16440 (la_x32_gnu_pltexit): Likewise.
16442 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16444 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16449 * configure.in (libc_cv_cc_nofma): Check for option to disable
16450 generation of FMA instructions.
16451 * configure: Regenerate.
16452 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16453 * sysdeps/ieee754/dbl-64/Makefile: New file.
16454 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16455 Remove brandred-fma4.
16456 (CFLAGS-brandred-fma4.c): Remove.
16457 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16458 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16460 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16463 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16465 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16466 LLONG_MAX != LONG_MAX.
16467 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16468 (_fitoa_word): Likewise.
16469 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16470 LLONG_MAX != LONG_MAX.
16471 * stdio-common/_itowa.h: Include <_itoa.h>.
16472 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16473 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16474 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16475 only if not defined.
16476 (_ITOA_WORD_TYPE): Likewise.
16477 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16478 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16480 2012-03-21 David S. Miller <davem@davemloft.net>
16482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16484 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16486 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16487 of x86_64 when setting libc_cv_slibdir, libdir and
16489 * sysdeps/unix/sysv/linux/configure: Regenerated.
16491 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16493 * manual/lang.texi (Old Varargs): Remove section.
16494 (How Variadic): Update menu.
16495 (va_start): Do not mention varargs.h.
16497 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16498 Joseph Myers <joseph@codesourcery.com>
16500 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16502 * configure: Regenerated.
16504 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16506 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16507 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16510 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16513 * Makefile (files-for-dist): Remove NOTES.
16514 (NOTES): Remove rule.
16515 * README: Don't refer to NOTES.
16516 * manual/creature.texi: Don't include macros.texi.
16517 * manual/intro.texi (creature.texi): Remove comment referring to
16520 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16521 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16522 * configure: Regenerated.
16523 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16524 LIBC_TRY_CC_OPTION.
16525 (libc_cv_as_i686): Likewise.
16526 (libc_cv_cc_avx): Likewise.
16527 (libc_cv_cc_sse2avx): Likewise.
16528 (libc_cv_cc_fma4): Likewise.
16529 (libc_cv_cc_novzeroupper): Likewise.
16530 * sysdeps/i386/configure: Regenerated.
16533 * sysdeps/i386/fpu/s_cexp.S: Remove.
16534 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16535 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16536 * math/libm-test.inc (cexp_test): Add more tests.
16537 * sysdeps/i386/fpu/libm-test-ulps: Update.
16538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16540 2012-03-21 Allan McRae <allan@archlinux.org>
16542 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16544 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16547 * math/w_exp2.c: Do not include <float.h>.
16548 (o_threshold, u_threshold): Remove.
16549 (__exp2): Calculate result before checking finiteness and calling
16551 * math/w_exp2f.c: Likewise.
16552 * math/w_exp2l.c: Likewise.
16553 * math/libm-test.inc (exp2_test): Require overflow exception for
16557 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16558 range of signed 64-bit integers before using fistpll. Remove
16559 checks for whether integers fit in mantissa bits.
16560 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16561 the range of signed 32-bit integers before using fistpl. Remove
16562 checks for whether integers fit in mantissa bits.
16563 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16564 (__ieee754_powl): Test for y outside the range of signed 64-bit
16565 integers before using fistpll. Reduce 64-bit values to 63-bit
16567 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16568 divide-by-zero is raised for zero to large negative powers.
16569 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16570 (__ieee754_powl): Test for y outside the range of signed 64-bit
16571 integers before using fistpll. Reduce 64-bit values to 63-bit
16573 * math/libm-test.inc (pow_test): Add more tests.
16575 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16577 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16578 <stdio-common/_itoa.h>.
16579 * debug/segfault.c: Likewise.
16580 * elf/dl-cache.c: Likewise.
16581 * elf/dl-minimal.c: Likewise.
16582 * elf/dl-misc.c: Likewise.
16583 * elf/dl-sysdep.c: Likewise.
16584 * elf/dl-version.c: Likewise.
16585 * elf/rtld.c: Likewise.
16586 * hurd/hurdsock.c: Likewise.
16587 * hurd/lookup-retry.c: Likewise.
16588 * malloc/malloc.c: Likewise.
16589 * malloc/mtrace.c: Likewise.
16590 * nscd/nscd_getgr_r.c: Likewise.
16591 * nscd/nscd_getpw_r.c: Likewise.
16592 * nscd/nscd_getserv_r.c: Likewise.
16593 * posix/getopt_init.c: Likewise.
16594 * posix/wordexp.c: Likewise.
16595 * stdio-common/_itoa.c: Likewise.
16596 * stdio-common/printf_fphex.c: Likewise.
16597 * stdio-common/vfprintf.c: Likewise.
16598 * string/_strerror.c: Likewise.
16599 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16600 * sysdeps/i386/i686/hp-timing.h: Likewise.
16601 * sysdeps/mach/_strerror.c: Likewise.
16602 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16603 * sysdeps/mach/hurd/sethostid.c: Likewise.
16604 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16605 * sysdeps/mach/xpg-strerror.c: Likewise.
16606 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16607 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16608 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16609 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16610 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16611 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16612 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16613 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16614 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16615 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16616 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16617 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16618 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16619 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16620 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16621 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16622 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16623 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16624 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16625 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16626 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16628 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16630 * stdio-common/_itoa.h: Moved to ...
16631 * sysdeps/generic/_itoa.h: Here.
16633 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16635 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16636 instead of "_itoa.h" and "_itowa.h".
16637 * stdio-common/vfprintf.: Likewise.
16639 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16641 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16643 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16644 (__signbit): Likwise.
16645 (llrintf): Likwise.
16648 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16650 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16653 2012-03-20 Joseph Myers <joseph@codesourcery.com>
16655 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16656 OVERFLOW_EXCEPTION_OK.
16657 * math/libm-test.inc ("Philosophy"): Update comment about
16659 (OVERFLOW_EXCEPTION): Define.
16660 (OVERFLOW_EXCEPTION_OK): Likewise.
16661 (INVALID_EXCEPTION_OK): Renumber.
16662 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16663 (IGNORE_ZERO_INF_SIGN): Likewise.
16664 (test_exceptions): Handle FE_OVERFLOW.
16665 (exp10_test): Expect overflow exceptions.
16666 (exp2_test): Likewise.
16667 (expm1_test): Likewise.
16668 (nextafter_test): Likewise.
16669 (pow_test): Likewise.
16670 (scalbn_test): Likewise.
16671 (scalbln_test): Likewise.
16673 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16675 * sysdeps/x86_64/bits/atomic.h
16676 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16678 (atomic_exchange_acq): Likewise.
16679 (__arch_exchange_and_add_body): Likewise.
16680 (__arch_add_body): Likewise.
16681 (atomic_add_negative): Likewise.
16682 (atomic_add_zero): Likewise.
16684 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16686 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16687 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16689 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16691 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16692 Check __x86_64__ instead of __WORDSIZE.
16694 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16696 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16698 2012-03-19 David S. Miller <davem@davemloft.net>
16700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16702 * sysdeps/sparc/fpu/fenv_private.h: New file.
16703 * sysdeps/sparc/fpu/math_private.h: Use it.
16704 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16706 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16707 (libc_feholdexcept_setroundl): Remove.
16708 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16710 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16711 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16713 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16715 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16716 int64_t instead of long int.
16717 (INSERT_WORDS64): Likwise.
16719 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16721 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16722 _Unwind_GetCFA return to _Unwind_Ptr first.
16724 2012-03-19 Joseph Myers <joseph@codesourcery.com>
16727 * math/s_clog.c: Include <float.h>.
16728 (__clog): Scale large or subnormal inputs.
16729 * math/s_clogf.c: Likewise.
16730 * math/s_clogl.c: Likewise.
16731 * math/s_clog10.c: Include <float.h>.
16732 (M_LOG10_2): Define.
16733 (__clog10): Scale large or subnormal inputs.
16734 * math/s_clog10f.c: Likewise.
16735 * math/s_clog10l.c: Likewise.
16736 * math/libm-test.inc (clog_test): Add more tests.
16737 (clog10_test): Likewise.
16738 * sysdeps/i386/fpu/libm-test-ulps: Update.
16739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16742 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16744 * math/libm-test.inc (atan2_test): Add another test.
16746 * Makerules (common-objdir-compile): Remove.
16747 * sysdeps/unix/Makefile (config-generated): Do not add
16748 $(unix-generated) to variable.
16749 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16750 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16752 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16754 [generic bits/local_lim.h] (before-compile): Do not append to
16756 [generic bits/local_lim.h] (common-generated): Likewise.
16757 [generic sys/param.h] (before-compile): Do not append to variable.
16758 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16759 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16760 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16761 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16763 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16764 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16765 [generic sys/param.h] ($(addprefix
16766 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16767 [generic sys/param.h] (common-generated): Do not append to
16769 [generic sys/param.h] (sysdep_headers): Likewise.
16770 [generic bits/errno.h] (before-compile): Do not append to
16772 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16774 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16775 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16776 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16777 [generic bits/errno.h] (common-generated): Do not append to
16779 [generic bits/ioctls.h] (before-compile): Do not append to
16781 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16783 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16784 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16785 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16787 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16788 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16789 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16790 [generic bits/ioctls.h] (common-generated): Do not append to
16792 [generic sys/syscall.h] (syscall.h): Remove variable.
16793 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16795 [generic sys/syscall.h] (before-compile): Do not append to
16797 [generic sys/syscall.h] (common-generated): Likewise.
16798 * sysdeps/unix/errnos-tmpl.c: Remove file.
16799 * sysdeps/unix/errnos.awk: Likewise.
16800 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16801 * sysdeps/unix/ioctls.awk: Likewise.
16802 * sysdeps/unix/mk-local_lim.c: Likewise.
16803 * sysdeps/unix/snarf-ioctls: Likewise.
16805 2012-03-19 Richard Henderson <rth@twiddle.net>
16807 * sysdeps/i386/fpu/fenv_private.h: New file.
16808 * sysdeps/i386/fpu/math_private.h: Use it.
16809 (math_opt_barrier, math_force_eval): Remove.
16810 (libc_feholdexcept_setround_53bit): Remove.
16811 (libc_feupdateenv_53bit): Remove.
16812 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16813 (math_opt_barrier, math_force_eval): Remove.
16814 (libc_feholdexcept): Remove.
16815 (libc_feholdexcept_setround): Remove.
16816 (libc_fetestexcept, libc_fesetenv): Remove.
16817 (libc_feupdateenv_test): Remove.
16818 (libc_feupdateenv, libc_feholdsetround): Remove.
16819 (libc_feresetround): Remove.
16821 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16822 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16824 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16825 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16826 (libc_feupdateenv_testl): New.
16827 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16828 (libc_feupdateenv_testf): New.
16829 (libc_feupdateenv): Use libc_feupdateenv_test.
16830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16831 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16833 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16834 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16835 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16836 (libc_feresetround_noex): New.
16837 (libc_feresetround_noexf): New.
16838 (libc_feresetround_noexl): New.
16839 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16840 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16841 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16842 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16844 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16845 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16847 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16848 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16849 SET_RESTORE_ROUND_NOEX.
16850 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16851 SET_RESTORE_ROUND_NOEXF.
16852 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16853 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16854 (libc_feholdsetroundf): New.
16855 (libc_feresetround, libc_feresetroundf): New.
16857 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16858 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16859 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16861 * sysdeps/generic/math_private.h: Include <fenv.h>.
16862 (default_libc_feholdexcept): New.
16863 (default_libc_feholdexcept_setround): New.
16864 (default_libc_fesetenv, default_libc_feupdateenv): New.
16865 (libc_feholdexcept): Only define if undefined.
16866 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16867 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16868 (libc_feholdexcept_setroundl): Likewise.
16869 (libc_feholdexcept_setround_53bit): Likewise.
16870 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16871 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16872 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16873 (libc_feupdateenv_53bit): Likewise.
16874 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16875 (libc_feholdexcept): Convert from macro to inline function.
16876 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16877 (libc_fesetenv, libc_feupdateenv): Likewise.
16879 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16880 not previously defined.
16881 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16882 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16883 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16884 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16885 * sysdeps/ieee754/flt-32/math_private.h: New file.
16886 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16887 math_private.h below SET_FLOAT_WORD.
16888 (__isnan, __isinf_ns, __finite): Remove.
16889 (__isnanf, __isinf_nsf, __finitef): Remove.
16891 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16895 2012-03-17 David S. Miller <davem@davemloft.net>
16898 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16901 2012-03-16 David S. Miller <davem@davemloft.net>
16903 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16907 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16909 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16910 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16911 sysdep_routines when subdir is sysvipc.
16912 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16913 __getshmlba helper.
16915 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16917 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16919 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16922 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16924 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16925 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16926 (__lround): Renamed to ...
16927 (__llround): This. Replace long int with long long int.
16928 Define lround functions as aliases of llround functions.
16929 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16931 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16933 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16934 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16935 adresses to uintptr_t. Replace "long int" and "unsigned long
16936 int" with "greg_t" on va_arg.
16938 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16940 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16941 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16943 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16944 Move e_machine check before EI_CLASS check. Handle x32
16945 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16946 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16947 SKIP_EM_IA_64 and include
16948 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16950 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16951 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16952 (add_system_dir): New macro.
16954 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16955 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16957 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16968 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16970 * math/w_j0f.c (j0f): Likewise.
16972 * math/w_j0l.c (__j0l): Likewise.
16974 * math/w_j1.c (j1): Likewise.
16976 * math/w_j1f.c (j1f): Likewise.
16978 * math/w_j1l.c (__j1l): Likewise.
16980 * math/w_jn.c (jn): Likewise.
16982 * math/w_jnf.c (jnf): Likewise.
16984 * math/w_jnl.c (__jnl): Likewise.
16986 * math/libm-test.inc (j0_test): Add more tests.
16987 (j1_test): Likewise.
16988 (jn_test): Likewise. Add trailing semicolon to existing test.
16989 (y0_test): Likewise.
16990 (y1_test): Likewise.
16991 * sysdeps/i386/fpu/libm-test-ulps: Update.
16992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16996 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16997 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16998 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16999 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17000 (__tanl): Set errno for infinite argument.
17001 * sysdeps/i386/fpu/mptan.c: Remove.
17002 * sysdeps/i386/fpu/s_tan.S: Likewise.
17003 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17004 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17005 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17006 * math/libm-test.inc (tan_test): Add more tests and enable more
17007 tests for double and long double.
17008 * sysdeps/i386/fpu/libm-test-ulps: Update.
17009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17011 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17013 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17014 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17016 2012-03-16 Roland McGrath <roland@hack.frob.com>
17018 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17019 * configure.in: Use it for both main tree and add-ons.
17020 * configure: Regenerated.
17022 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17024 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17026 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17028 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17032 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17033 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17034 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17035 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17036 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17038 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17039 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17040 != 0 for prec == 2.
17041 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17042 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17043 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17044 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17045 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17046 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17047 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17048 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17049 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17050 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17051 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17052 * math/libm-test.inc (cos_test): Add more tests and enable more
17053 tests for long double.
17054 (sin_test): Likewise.
17055 (sincos_test): Likewise.
17056 * sysdeps/i386/fpu/libm-test-ulps: Update.
17057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17059 2012-03-16 David S. Miller <davem@davemloft.net>
17061 * sysdeps/sparc/fpu/math_private.h: New file.
17063 2012-03-15 David S. Miller <davem@davemloft.net>
17065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17075 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17079 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17080 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17082 * sysdeps/sparc/sparc-ifunc.h: New file.
17083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17109 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17110 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17112 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17121 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17122 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17123 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17124 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17125 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17126 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17128 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17130 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17134 2012-03-15 Andreas Jaeger <aj@suse.de>
17137 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17138 ieee754/flt-32 implementation for sin, cos and sincos.
17139 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17140 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17141 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17142 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17143 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17144 ieee754/flt-32 implementation for tan.
17146 * math/libm-test.inc (cos_test): Enable some large input tests for
17148 (sin_test): Likewise.
17149 (sincos_test): Likewise.
17150 (tan_test): Add tests for large input.
17152 * sysdeps/i386/fpu/libm-test-ulps: Update.
17154 2012-03-15 Andreas Jaeger <aj@suse.de>
17157 * math/libm-test.inc (cos_test): Add more test cases.
17158 (sin_test): Likewise.
17159 (sincos_test): Likewise.
17161 2012-03-15 Andreas Jaeger <aj@suse.de>
17164 * math/libm-test.inc (cos_test): Add a test case for large input
17166 (sin_test): Likewise.
17167 (sincos_test): Likewise.
17169 2012-03-15 Andreas Jaeger <aj@suse.de>,
17170 Joseph Myers <joseph@codesourcery.com>
17173 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17174 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17175 * sysdeps/i386/fpu/branred.c: Likewise.
17176 * sysdeps/i386/fpu/dosincos.c: Likewise.
17177 * sysdeps/i386/fpu/mpa.c: Likewise.
17178 * sysdeps/i386/fpu/s_cos.S: Likewise.
17179 * sysdeps/i386/fpu/s_sin.S: Likewise.
17180 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17181 * sysdeps/i386/fpu/sincos32.c: Likewise.
17183 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17185 (libc_feupdateenv_53bit): Define.
17186 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17188 (libc_feupdateenv_53bit): Define.
17190 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17191 53 bit (without extend i386 double precision).
17193 * math/libm-test.inc (sincos_test): Add tests for large input.
17197 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17199 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17203 2012-03-15 David S. Miller <davem@davemloft.net>
17205 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17206 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17207 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17208 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17232 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17233 fmin/fmax sysdep routines.
17234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17236 2012-03-14 David S. Miller <davem@davemloft.net>
17238 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17241 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17242 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17243 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17244 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17245 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17248 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17249 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17258 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17259 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17260 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17261 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17262 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17263 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17264 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17265 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17266 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17310 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17315 * sysdeps/sparc/configure.in: New file.
17316 * sysdeps/sparc/configure: Generate.
17317 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17318 * configure: Regenerate.
17319 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17320 * config.make.in (have-as-vis3): New.
17321 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17322 available use -Av9d instead of -Av9a.
17323 * sysdeps/sparc/sparc64/Makefile: Likewise.
17324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17333 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17334 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17335 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17336 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17337 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17339 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17340 fzeros/fnegs to load 0x80000000 into a float register instead of
17342 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17344 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17346 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17348 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17349 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17350 ($(inst_includedir)/bits/syscall.h): Remove rule.
17351 ($(objpfx)bits/syscall.d): Include instead of
17352 $(objpfx)syscall-list.d.
17353 (generated): Change syscall-list.h and syscall-list.d to
17354 bits/syscall.h and bits/syscall.d.
17356 2012-03-14 Roland McGrath <roland@hack.frob.com>
17359 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17361 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17364 * math/s_csqrt.c: Include <float.h>.
17365 (__csqrt): Scale large or subnormal inputs.
17366 * math/s_csqrtf.c: Likewise.
17367 * math/s_csqrtl.c: Likewise.
17368 * math/libm-test.inc (csqrt_test): Add more tests.
17369 * sysdeps/i386/fpu/libm-test-ulps: Update.
17370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17373 * math/libm-test.inc (hypot_test): Add more tests.
17375 2012-03-13 David S. Miller <davem@davemloft.net>
17378 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17379 double-precision for the calculation instead of scaling.
17381 2012-03-13 Joseph Myers <joseph@codesourcery.com>
17383 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17384 manipulate bits before adding and subtracting TWO52[sx].
17385 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17386 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17388 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17390 2012-03-13 David S. Miller <davem@davemloft.net>
17392 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17393 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17394 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17395 rtld-global-offsets.h
17396 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17398 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17401 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17403 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17404 'err' in the ifdef scope in which it is actually used.
17406 * nss/nss_db/db-init.c: Include string.h
17408 2012-03-12 David S. Miller <davem@davemloft.net>
17410 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17411 masking out of the most significant byte of random value used.
17412 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17413 Fix coding style in previous change.
17415 * sysdeps/unix/sysv/linux/kernel-features.h
17416 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17417 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17419 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17422 2012-03-11 David S. Miller <davem@davemloft.net>
17424 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17425 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17426 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17427 for 'resultvar' otherwise things get truncated on 64-bit.
17429 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17430 Fix masking out of the most significant byte of random value used.
17432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17434 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17438 2012-03-09 David S. Miller <davem@davemloft.net>
17440 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17441 variables with appropriate CPP guards.
17442 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17443 frame pointer, not the stack pointer. Correct layout comments. Fix test
17444 on resulting framesize and the management of the outregs buffer for pltexit.
17445 Preserve floating point return values across _dl_call_pltexit call.
17446 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17447 framesize and the management of the outregs buffer for pltexit.
17448 Preserve floating point return values across _dl_call_pltexit
17450 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17451 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17452 (print_exit): Fix format string for return register value.
17454 2012-03-10 Joseph Myers <joseph@codesourcery.com>
17456 * sunrpc/Makefile (others): Add rpcgen.
17457 ($(objpfx)rpcgen): Remove special build rule and dependency on
17459 * sunrpc/rpcgen.c: New file.
17461 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17464 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17465 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17466 * sysdeps/i386/crti.S: Likewise.
17467 * sysdeps/i386/crtn.S: Likewise.
17468 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17469 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17470 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17471 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17472 * sysdeps/sh/crti.S: Likewise.
17473 * sysdeps/sh/crtn.S: Likewise.
17474 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17477 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17479 * locale/programs/locfile-kw.gperf: Likewise.
17480 * locale/programs/charmap-kw.h: Regenerated.
17481 * locale/programs/locfile-kw.h: Likewise.
17484 * intl/plural.y: Replace FSF snail mail address with URL.
17485 * intl/plural.c: Regenerated.
17487 2012-03-09 Richard Henderson <rth@twiddle.net>
17489 * include/math_private.h: Remove file.
17490 * math/math_private.h: Move file ...
17491 * sysdeps/generic/math_private.h: ... here.
17493 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17494 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17495 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17497 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17498 and <math_private.h>.
17499 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17500 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17501 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17502 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17503 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17504 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17505 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17506 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17507 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17508 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17509 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17510 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17511 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17512 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17513 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17514 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17515 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17516 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17517 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17518 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17519 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17520 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17521 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17522 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17523 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17524 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17525 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17526 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17527 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17528 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17529 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17530 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17531 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17532 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17533 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17534 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17535 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17536 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17537 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17538 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17539 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17540 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17541 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17542 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17543 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17544 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17545 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17546 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17547 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17548 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17549 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17550 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17551 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17552 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17553 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17554 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17555 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17556 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17557 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17558 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17559 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17560 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17561 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17562 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17563 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17564 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17565 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17566 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17567 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17568 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17569 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17570 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17571 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17572 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17573 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17575 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17576 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17577 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17578 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17579 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17580 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17581 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17582 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17583 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17584 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17585 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17586 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17587 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17588 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17589 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17590 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17591 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17592 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17593 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17594 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17595 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17596 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17597 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17598 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17599 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17600 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17601 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17602 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17603 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17604 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17605 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17606 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17607 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17608 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17609 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17610 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17611 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17612 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17613 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17614 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17615 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17616 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17617 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17618 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17619 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17620 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17621 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17622 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17623 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17624 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17625 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17626 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17627 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17628 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17629 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17630 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17631 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17632 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17633 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17634 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17635 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17636 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17637 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17638 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17639 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17640 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17641 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17642 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17643 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17644 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17645 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17646 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17647 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17648 * sysdeps/ieee754/k_standard.c: Likewise.
17649 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17650 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17651 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17652 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17653 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17654 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17655 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17656 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17657 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17658 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17659 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17660 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17661 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17662 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17663 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17664 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17665 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17666 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17667 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17668 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17669 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17670 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17671 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17672 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17673 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17674 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17675 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17676 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17677 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17678 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17679 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17680 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17681 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17682 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17683 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17684 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17685 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17686 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17687 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17688 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17689 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17690 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17691 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17692 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17693 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17694 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17695 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17696 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17697 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17698 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17699 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17700 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17701 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17702 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17703 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17704 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17705 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17706 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17707 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17708 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17709 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17710 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17711 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17712 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17713 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17714 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17715 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17716 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17717 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17718 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17719 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17720 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17721 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17722 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17723 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17724 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17725 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17726 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17727 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17728 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17729 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17730 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17731 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17732 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17733 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17734 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17735 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17736 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17737 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17738 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17739 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17740 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17741 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17742 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17743 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17744 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17745 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17746 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17747 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17748 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17749 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17750 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17751 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17752 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17753 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17754 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17755 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17756 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17757 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17758 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17759 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17760 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17761 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17762 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17763 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17764 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17765 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17766 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17767 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17768 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17769 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17770 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17771 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17772 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17773 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17774 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17775 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17776 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17777 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17778 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17779 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17780 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17781 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17782 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17783 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17784 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17785 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17786 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17787 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17788 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17789 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17790 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17791 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17792 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17793 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17794 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17795 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17796 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17797 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17798 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17799 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17800 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17801 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17802 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17803 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17804 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17805 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17806 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17807 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17808 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17809 * sysdeps/ieee754/s_lib_version.c: Likewise.
17810 * sysdeps/ieee754/s_matherr.c: Likewise.
17811 * sysdeps/ieee754/s_signgam.c: Likewise.
17812 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17813 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17814 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17815 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17816 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17817 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17818 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17819 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17820 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17821 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17822 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17823 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17824 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17825 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17826 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17827 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17828 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17829 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17830 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17831 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17832 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17834 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17836 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17837 * sunrpc/rpc_main.c: Likewise.
17838 * sunrpc/rpc_svcout.c: Likewise.
17840 2012-03-09 David S. Miller <davem@davemloft.net>
17842 * include/math_private.h: New file.
17844 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17846 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17847 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17848 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17849 from <bits/socket_type.h>.
17850 (enum __socket_type): Don't define here.
17851 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17853 bits/socket_type.h.
17856 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17857 checking __USE_GNU.
17859 * Makerules ($(inst_includedir)/%.h): New rule.
17860 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17861 (install-others): Remove variable setting.
17862 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17864 2012-03-08 Richard Henderson <rth@twiddle.net>
17866 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17867 from macro to inline function; merge with the
17868 !__LIBC_INTERNAL_MATH_INLINES version.
17869 (__ieee754_sqrtf): Likewise.
17871 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17872 to inline function.
17873 (__rintf, __floor, __floorf): Likewise.
17875 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17876 macro to inline function.
17877 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17879 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17880 not <math/math_private.h>.
17882 2012-03-08 David S. Miller <davem@davemloft.net>
17884 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17886 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17888 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17890 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17892 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17893 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17895 2012-03-08 Ulrich Drepper <drepper@gmail.com>
17897 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17898 be defined individually, they must be defined as a block. Define
17899 S for printing a string instead of hidint the different by using a
17900 macro for adding the 'l'.
17901 * stdio-common/tst-fphex-wide.c: Adjust.
17903 2012-03-07 Marek Polacek <polacek@redhat.com>
17905 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17907 2012-03-08 Marek Polacek <polacek@redhat.com>
17910 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17911 * stdio-common/tst-fphex.c: Define a few macros to make the
17912 test reusable. Use them.
17913 * stdio-common/tst-fphex-wide.c: New file.
17915 2012-03-08 Joseph Myers <joseph@codesourcery.com>
17918 * manual/macros.texi (gnusystems): New macro.
17919 (nongnusystems): Likewise.
17920 (gnulinuxhurdsystems): Likewise.
17921 (gnuhurdsystems): Likewise..
17922 (gnulinuxsystems): Likewise.
17923 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17924 variants of the GNU system, not "GNU system".
17925 * manual/conf.texi: Likewise.
17926 * manual/errno.texi: Likewise. Update example of errno macro
17928 * manual/filesys.texi: Likewise.
17929 (getumask): Document as specific to GNU/Hurd.
17930 * manual/install.texi: Likewise. Reword some references to
17932 * manual/intro.texi: Likewise.
17933 * manual/io.texi: Likewise.
17934 (File Name Portability): Detail which constraints are inapplicable
17935 to all GNU systems and which are only inapplicable to GNU/Hurd.
17936 * manual/job.texi: Likewise.
17937 * manual/llio.texi: Likewise.
17938 (O_NOCTTY): Document as present on GNU/Linux.
17939 * manual/maint.texi: Likewise.
17940 * manual/memory.texi: Likewise.
17941 * manual/pattern.texi: Likewise.
17942 * manual/pipe.texi: Likewise.
17943 * manual/process.texi: Likewise.
17944 * manual/resource.texi: Likewise.
17945 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17947 * manual/setjmp.texi: Likewise.
17948 * manual/signal.texi: Likewise.
17949 * manual/startup.texi: Likewise.
17950 * manual/stdio.texi: Likewise.
17951 * manual/terminal.texi: Likewise.
17952 (ONLCR): Document as POSIX.
17953 (OXTABS): Document availability on GNU/Linux as XTABS.
17954 (ONOEOT): Document availability separately from other bits.
17955 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17956 * manual/time.texi: Likewise.
17957 * manual/users.texi: Likewise.
17958 * INSTALL: Regenerated.
17959 * sysdeps/gnu/errlist.c: Regenerated.
17961 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17962 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17963 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17965 * configure: Regenerated.
17967 2012-03-07 Joseph Myers <joseph@codesourcery.com>
17969 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17970 default includes instead of AC_HEADER_CHECK.
17971 * sysdeps/i386/configure: Regenerated.
17974 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17975 * math/s_cacoshf.c (__cacoshf): Likewise.
17976 * math/s_cacoshl.c (__cacoshl): Likewise.
17977 * math/s_casinh.c (__casinh): Set signs of result from argument.
17978 * math/s_casinhf.c (__casinhf): Likewise.
17979 * math/s_casinhl.c (__casinhl): Likewise.
17980 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17981 (casinh_test): Add more tests.
17982 * sysdeps/i386/fpu/libm-test-ulps: Update.
17983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17985 2012-03-07 Ulrich Drepper <drepper@gmail.com>
17987 * po/zh_TW.po: Update from translation team.
17989 * login/Makefile (distribute): Remove variable.
17990 * catgets/Makefile: Likewise.
17991 * mach/Makefile: Likewise.
17992 * malloc/Makefile: Likewise.
17993 * misc/Makefile: Likewise.
17994 * iconv/Makefile: Likewise.
17995 * nscd/Makefile: Likewise.
17996 * hurd/Makefile: Likewise.
17997 * manual/Makefile: Likewise.
17998 * locale/Makefile: Likewise.
17999 * intl/Makefile: Likewise.
18000 * conform/Makefile: Likewise.
18001 * nss/Makefile: Likewise.
18002 * time/Makefile: Likewise.
18003 * soft-fp/Makefile: Likewise.
18004 * dirent/Makefile: Likewise.
18005 * gmon/Makefile: Likewise.
18006 * po/Makefile: Likewise.
18007 * rt/Makefile: Likewise.
18008 * socket/Makefile: Likewise.
18009 * math/Makefile: Likewise.
18010 * signal/Makefile: Likewise.
18011 * debug/Makefile: Likewise.
18012 * elf/Makefile: Likewise.
18013 * timezone/Makefile: Likewise.
18014 * stdlib/Makefile: Likewise.
18015 * iconvdata/Makefile: Likewise.
18016 * sunrpc/Makefile: Likewise.
18017 * io/Makefile: Likewise.
18018 * argp/Makefile: Likewise.
18019 * inet/Makefile: Likewise.
18020 * hesiod/Makefile: Likewise.
18021 * grp/Makefile: Likewise.
18022 * csu/Makefile: Likewise.
18023 * wctype/Makefile: Likewise.
18024 * crypt/Makefile: Likewise.
18025 * libio/Makefile: Likewise.
18026 * string/Makefile: Likewise.
18027 * nis/Makefile: Likewise.
18028 * resolv/Makefile: Likewise.
18029 * stdio-common/Makefile: Likewise.
18030 * wcsmbs/Makefile: Likewise.
18031 * dlfcn/Makefile: Likewise.
18032 * posix/Makefile: Likewise.
18035 * timezone/Makefile: Don't install timezone files, just the programs
18038 2012-03-06 Ulrich Drepper <drepper@gmail.com>
18040 * nss/databases.def: Add missing gshadow entry.
18042 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18044 2012-03-06 Marek Polacek <polacek@redhat.com>
18047 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18048 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18049 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18050 * stdio-common/tst-long-dbl-fphex.c: New file.
18052 2012-03-06 David S. Miller <davem@davemloft.net>
18054 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18055 (set_obp_int): New function.
18056 (get_obp_int): New function.
18057 (__get_clockfreq_via_dev_openprom): Likewise.
18058 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18059 Avoid unused variable warnings on 'val' and use builtin_expect.
18060 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18062 (INLINE_CLONE_SYSCALL): Likewise.
18064 2012-03-05 David S. Miller <davem@davemloft.net>
18066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18068 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18072 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18073 only for |x| >= 40.
18074 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18076 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
18078 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18079 Replace gettimeofday with __vdso_gettimeofday.
18081 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18082 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18083 __vdso_clock_gettime and __vdso_getcpu.
18085 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18086 time with __vdso_time.
18088 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18090 * manual/lang.texi (size_t): Note types to which size_t may be
18091 equivalent with the GNU C Library, but do not describe when
18092 differences between them are significant.
18094 2012-03-05 Andreas Jaeger <aj@suse.de>
18096 * sysdeps/i386/fpu/libm-test-ulps: Update.
18098 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18101 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18102 (__ieee754_pow): Save and restore rounding mode and use
18103 round-to-nearest for main computations.
18104 * math/libm-test.inc (pow_test_tonearest): New function.
18105 (pow_test_towardzero): Likewise.
18106 (pow_test_downward): Likewise.
18107 (pow_test_upward): Likewise.
18108 (main): Call the new functions.
18109 * sysdeps/i386/fpu/libm-test-ulps: Update.
18110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18113 * math/libm-test.inc (cosh_test_tonearest): New function.
18114 (cosh_test_towardzero): Likewise.
18115 (cosh_test_downward): Likewise.
18116 (cosh_test_upward): Likewise.
18117 (sinh_test_tonearest): Likewise.
18118 (sinh_test_towardzero): Likewise.
18119 (sinh_test_downward): Likewise.
18120 (sinh_test_upward): Likewise.
18121 (main): Call the new functions.
18122 * sysdeps/i386/fpu/libm-test-ulps: Update.
18123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18125 2012-03-05 Tom de Vries <tom@codesourcery.com>
18127 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18128 default stack guard is set in last bytes.
18129 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18131 2012-03-05 Kees Cook <keescook@chromium.org>
18133 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18136 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18137 possibly allocate from heap instead of stack.
18138 * stdio-common/bug-vfprintf-nargs.c: New file.
18139 * stdio-common/Makefile (tests): Add nargs overflow test.
18141 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18145 2012-03-03 Marek Polacek <polacek@redhat.com>
18147 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18148 * math/math_private.h: Likewise.
18149 * stdlib/tst-strtod.c: Likewise.
18150 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18151 * sysdeps/x86_64/bits/atomic.h: Likewise.
18153 2012-03-02 David S. Miller <davem@davemloft.net>
18155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18159 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18160 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18161 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18162 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18164 2012-03-02 Roland McGrath <roland@hack.frob.com>
18167 * manual/examples/README: New file, says the example source files
18168 can be used under GPL>=2.
18169 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18170 line containing just "*/".
18171 * manual/examples/add.c: Add copyright header (GPL>=2).
18172 * manual/examples/argp-ex1.c: Likewise.
18173 * manual/examples/argp-ex2.c: Likewise.
18174 * manual/examples/argp-ex3.c: Likewise.
18175 * manual/examples/argp-ex4.c: Likewise.
18176 * manual/examples/atexit.c: Likewise.
18177 * manual/examples/db.c: Likewise.
18178 * manual/examples/dir.c: Likewise.
18179 * manual/examples/dir2.c: Likewise.
18180 * manual/examples/execinfo.c: Likewise.
18181 * manual/examples/filecli.c: Likewise.
18182 * manual/examples/filesrv.c: Likewise.
18183 * manual/examples/fmtmsgexpl.c: Likewise.
18184 * manual/examples/genpass.c: Likewise.
18185 * manual/examples/inetcli.c: Likewise.
18186 * manual/examples/inetsrv.c: Likewise.
18187 * manual/examples/isockad.c: Likewise.
18188 * manual/examples/longopt.c: Likewise.
18189 * manual/examples/memopen.c: Likewise.
18190 * manual/examples/memstrm.c: Likewise.
18191 * manual/examples/mkfsock.c: Likewise.
18192 * manual/examples/mkisock.c: Likewise.
18193 * manual/examples/mygetpass.c: Likewise.
18194 * manual/examples/pipe.c: Likewise.
18195 * manual/examples/popen.c: Likewise.
18196 * manual/examples/rprintf.c: Likewise.
18197 * manual/examples/search.c: Likewise.
18198 * manual/examples/select.c: Likewise.
18199 * manual/examples/setjmp.c: Likewise.
18200 * manual/examples/sigh1.c: Likewise.
18201 * manual/examples/sigusr.c: Likewise.
18202 * manual/examples/stpcpy.c: Likewise.
18203 * manual/examples/strdupa.c: Likewise.
18204 * manual/examples/strftim.c: Likewise.
18205 * manual/examples/strncat.c: Likewise.
18206 * manual/examples/subopt.c: Likewise.
18207 * manual/examples/swapcontext.c: Likewise.
18208 * manual/examples/termios.c: Likewise.
18209 * manual/examples/testopt.c: Likewise.
18210 * manual/examples/testpass.c: Likewise.
18211 * manual/examples/timeval_subtract.c: Likewise.
18214 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18216 * manual/timeval_subtract.c.texi: ... here, new file.
18218 2012-03-02 David S. Miller <davem@davemloft.net>
18220 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18222 2012-03-02 Joseph Myers <joseph@codesourcery.com>
18225 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18226 (__sin): Save and restore rounding mode and use round-to-nearest
18227 for all computations.
18228 (__cos): Save and restore rounding mode and use round-to-nearest
18229 for all computations.
18230 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18232 (tan): Save and restore rounding mode and use round-to-nearest for
18234 * math/libm-test.inc (cos_test_tonearest): New function.
18235 (cos_test_towardzero): Likewise.
18236 (cos_test_downward): Likewise.
18237 (cos_test_upward): Likewise.
18238 (sin_test_tonearest): Likewise.
18239 (sin_test_towardzero): Likewise.
18240 (sin_test_downward): Likewise.
18241 (sin_test_upward): Likewise.
18242 (tan_test_tonearest): Likewise.
18243 (tan_test_towardzero): Likewise.
18244 (tan_test_downward): Likewise.
18245 (tan_test_upward): Likewise.
18246 (main): Call the new functions.
18247 * sysdeps/i386/fpu/libm-test-ulps: Update.
18248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18251 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18252 small n, then large n, before computing and testing k+n.
18253 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18254 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18256 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18258 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18259 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18260 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18261 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18262 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18263 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18264 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18265 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18266 * math/libm-test.inc (scalbn_test): Add more tests.
18267 (scalbln_test): Likewise.
18269 * manual/filesys.texi (mode_t): Describe constraints on size and
18270 signedness, not exact equivalence to a particular type.
18272 (ino64_t): Likewise.
18274 (nlink_t): Likewise.
18275 (blkcnt_t): Likewise.
18276 (blkcnt64_t): Likewise.
18277 * manual/llio.texi (off_t): Likewise.
18280 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18281 (__ieee754_exp): Save and restore rounding mode and use
18282 round-to-nearest for all computations.
18283 * math/libm-test.inc (exp_test_tonearest): New function.
18284 (exp_test_towardzero): Likewise.
18285 (exp_test_downward): Likewise.
18286 (exp_test_upward): Likewise.
18287 (main): Call the new functions.
18288 * sysdeps/i386/fpu/libm-test-ulps: Update.
18289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18291 2012-03-01 Chris Demetriou <cgd@google.com>
18293 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18294 have predictable order.
18296 2012-03-01 David S. Miller <davem@davemloft.net>
18298 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18300 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18301 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18302 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18303 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18305 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18306 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18307 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18309 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18310 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18311 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18312 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18313 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18317 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18318 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18319 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18321 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18322 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18323 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18324 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18325 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18326 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18327 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18328 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18329 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18330 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18331 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18332 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18333 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18334 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18335 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18336 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18337 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18338 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18339 * sysdeps/sparc/elf/configure: Regenerated.
18341 2012-03-01 Joseph Myers <joseph@codesourcery.com>
18343 * configure.in (AS, LD): Require binutils 2.20 or later.
18344 * configure: Regenerated.
18345 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18346 as required minimum version.
18347 * INSTALL: Regenerated.
18351 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18352 before squaring exponent.
18353 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18354 bottom long double and 27 bits of top long double before squaring
18356 * math/libm-test.inc (erfc_test): Add more tests.
18357 * sysdeps/i386/fpu/libm-test-ulps: Update.
18358 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18361 2012-03-01 Kai Tietz <ktietz@redhat.com>
18363 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18364 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18365 containing bit-fields.
18366 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18367 * soft-fp/single.h (_FP_UNION_S): Likewise.
18368 * soft-fp/double.h (_FP_UNION_D): Likewise.
18370 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18373 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18374 not include ../strcmp.S.
18375 [USE_AS_STRNCASECMP_L]: Likewise.
18376 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18377 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18378 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18379 (__strncasecmp_l_ia32): Define as alias to
18380 __strncasecmp_l_nonascii.
18383 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18384 * sysdeps/i386/fpu/libm-test-ulps: Update.
18385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18387 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18390 2012-02-29 Jeff Law <law@redhat.com>
18392 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18393 out of bounds read.
18395 2012-02-29 Marek Polacek <polacek@redhat.com>
18398 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18399 * elf/Makefile: Add rules to run tst-unused-dep.out.
18401 2012-02-28 David S. Miller <davem@davemloft.net>
18403 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18404 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18405 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18406 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18407 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18408 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18410 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18412 * math/libm-test.inc (llround_test): Move one test from
18413 lround_test. Use TEST_f_L in moved test.
18414 (lround_test): Move misplaced test to llround_test. Add testcase
18417 2012-02-28 Ulrich Drepper <drepper@gmail.com>
18419 * sysdeps/x86_64/fpu/e_expf.S: New file.
18420 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18422 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18425 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18426 of remain_len that may cause incomplete multi-byte character and
18428 * posix/bug-regex33.c: New file.
18429 * posix/Makefile (tests): Add bug-regex33.
18431 2012-02-28 Joseph Myers <joseph@codesourcery.com>
18433 * manual/macros.texi: New file.
18434 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18435 * manual/libc.texinfo: Include macros.texi.
18436 * manual/creatute.texi: Likewise.
18437 * manual/install.texi: Likewise.
18438 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18439 @glibcadj{} in references to the GNU C Library.
18440 * manual/charset.texi: Likewise.
18441 * manual/conf.texi: Likewise.
18442 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18443 when not using those macros.
18444 * manual/creature.texi: Likewise.
18445 * manual/crypt.texi: Likewise.
18446 * manual/errno.texi: Likewise.
18447 * manual/filesys.texi: Likewise.
18448 * manual/header.texi: Likewise.
18449 * manual/install.texi: Likewise.
18450 * manual/intro.texi: Likewise.
18451 * manual/io.texi: Likewise.
18452 * manual/job.texi: Likewise.
18453 * manual/lang.texi: Likewise.
18454 * manual/libc.texiinfo: Likewise.
18455 * manual/llio.texi: Likewise.
18456 * manual/locale.texi: Likewise.
18457 * manual/maint.texi: Likewise.
18458 * manual/math.texi: Likewise.
18459 * manual/memory.texi: Likewise.
18460 * manual/message.texi: Likewise.
18461 * manual/nss.texi: Likewise.
18462 * manual/pattern.texi: Likewise.
18463 * manual/process.texi: Likewise.
18464 * manual/resource.texi: Likewise.
18465 * manual/search.texi: Likewise.
18466 * manual/setjmp.texi: Likewise.
18467 * manual/signal.texi: Likewise.
18468 * manual/socket.texi: Likewise.
18469 * manual/startup.texi: Likewise.
18470 * manual/stdio.texi: Likewise.
18471 * manual/string.texi: Likewise.
18472 * manual/sysinfo.texi: Likewise.
18473 * manual/syslog.texi: Likewise.
18474 * manual/terminal.texi: Likewise.
18475 * manual/time.texi: Likewise.
18476 * manual/users.texi: Likewise.
18477 * INSTALL: Regenerated.
18478 * NOTES: Regenerated.
18479 * sysdeps/gnu/errlist.c: Regenerated.
18481 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18483 * include/dirent.h: Include <dirstream.h> before
18486 2012-02-28 David S. Miller <davem@davemloft.net>
18488 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18489 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18490 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18491 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18493 2012-02-27 David S. Miller <davem@davemloft.net>
18495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18497 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18498 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18501 frame pointer instead of stack pointer relative arg slot.
18502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18503 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18504 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18506 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18509 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18511 2012-02-27 David S. Miller <davem@davemloft.net>
18513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18517 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18518 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18519 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18520 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18522 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18524 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18525 later. Allow versions 5-9.
18526 * configure: Regenerated.
18527 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18528 required minimum version and 4.6 as recommended version. Do not
18529 mention bugs in GCC 2.7 and 2.8.
18530 * INSTALL: Regenerated.
18532 2012-02-27 David S. Miller <davem@davemloft.net>
18534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18538 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18539 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18540 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18541 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18543 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18544 manipulate bits before adding and subtracting TWO112[sx].
18545 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18547 2012-02-27 Roland McGrath <roland@hack.frob.com>
18550 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18551 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18552 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18553 being in POSIX, because they are in 1003.1-2008.
18555 * rt/tst-aio.c: Include <fcntl.h>.
18556 * rt/tst-aio7.c: Likewise.
18557 * rt/tst-aio64.c: Likewise.
18559 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18561 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18563 * manual/install.texi (--with-headers): Describe headers as
18564 interface headers, not private headers.
18565 (Specific advice for GNU/Linux systems): Describe use of headers
18566 from "make headers_install", not private headers from older
18568 * INSTALL: Regenerated.
18569 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18571 * sysdeps/unix/sysv/linux/configure: Regenerated.
18573 * manual/llio.texi (fclean): Remove documentation.
18575 * manual/Makefile (libc-texi-generated): New variable. Include
18577 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18578 $(libc-texi-generated), not duplicated list of files.
18579 (version.texi, stamp-version): New rules.
18580 (realclean): Remove $(libc-texi-generated), not individual files
18581 from that list. Do not remove dir-add.texinfo.
18582 * manual/libc.texinfo: Comment out uses of edition numbers and
18583 references to printed manual. Remove last-updated dates.
18584 (EDITION): Comment out.
18586 (VERSION, UPDATED): Remove.
18587 (version.texi): Include.
18589 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18591 * sysdeps/posix/spawni.c: Include <signal.h>.
18592 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18593 * sysdeps/pthread/aio_fsync.c: Likewise.
18595 2012-02-26 Ulrich Drepper <drepper@gmail.com>
18597 * conform/Makefile (tests): Run only when not cross-compiling and
18598 when fast-check is not defined.
18600 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18601 * conform/data/limits.h-data: Fixes for POSIX2008.
18602 * conform/run-conformtest.sh: Run all tests.
18603 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18605 * include/bits/dlfcn.h: Likewise.
18606 * include/langinfo.h: Likewise.
18607 * include/monetary.h: Likewise.
18608 * include/sys/poll.h: Likewise.
18610 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18612 * posix/spawn.h: Define __need_sigset_t.
18613 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18614 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18615 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18616 to get sigevent_t only.
18617 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18618 only for __USE_GNU.
18619 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18620 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18621 process_vm_writev only for __USE_GNU.
18622 * termios/termios.h: Declare tcgetsid also for POSIX2008.
18624 * conform/Makefile: For now ignore errors from run-conformtest.
18625 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18626 POSIX to avoid namespace pollution. Don't prepend headers.
18627 * conform/data/aio.h-data: Fixes for POSIX testing.
18628 * conform/data/fcntl.h-data: Likewise.
18629 * conform/data/glob.h-data: Likewise.
18630 * conform/data/grp.h-data: Likewise.
18631 * conform/data/pthread.h-data: Likewise.
18632 * conform/data/pwd.h-data: Likewise.
18633 * conform/data/signal.h-data: Likewise.
18634 * conform/data/spawn.h-data: Likewise.
18635 * conform/data/stdio.h-data: Likewise.
18636 * conform/data/stdlib.h-data: Likewise.
18637 * conform/data/stropts.h-data: Likewise.
18638 * conform/data/sys/mman.h-data: Likewise.
18639 * conform/data/sys/stat.h-data: Likewise.
18640 * conform/data/sys/types.h-data: Likewise.
18641 * conform/data/sys/wait.h-data: Likewise.
18642 * conform/data/time.h-data: Likewise.
18643 * conform/data/unistd.h-data: Likewise.
18644 * conform/data/utime.h-data: Likewise.
18646 * io/sys/stat.h: fchmod was always in POSIX.
18647 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18648 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18649 * rt/aio.h: Define __need_timespec before including <time.h>.
18650 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18651 struct. Add forward declaration of pthread_attr_t and use it in
18653 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18654 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18655 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18656 always remove CLK_TCK definition.
18658 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18660 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18662 2012-02-25 Ulrich Drepper <drepper@gmail.com>
18664 * conform/run-conformtest.sh: New file.
18665 * conform/Makefile: Run run-conformtest for tests.
18666 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18669 * conform/data/uchar.h-data: New file.
18670 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18671 * conform/data/arpa/inet.h-data: Likewise.
18672 * conform/data/assert.h-data: Likewise.
18673 * conform/data/complex.h-data: Likewise.
18674 * conform/data/cpio.h-data: Likewise.
18675 * conform/data/ctype.h-data: Likewise.
18676 * conform/data/dirent.h-data: Likewise.
18677 * conform/data/dlfcn.h-data: Likewise.
18678 * conform/data/errno.h-data: Likewise.
18679 * conform/data/fcntl.h-data: Likewise.
18680 * conform/data/float.h-data: Likewise.
18681 * conform/data/fmtmsg.h-data: Likewise.
18682 * conform/data/fnmatch.h-data: Likewise.
18683 * conform/data/ftw.h-data: Likewise.
18684 * conform/data/glob.h-data: Likewise.
18685 * conform/data/grp.h-data: Likewise.
18686 * conform/data/iconv.h-data: Likewise.
18687 * conform/data/inttypes.h-data: Likewise.
18688 * conform/data/langinfo.h-data: Likewise.
18689 * conform/data/libgen.h-data: Likewise.
18690 * conform/data/limits.h-data: Likewise.
18691 * conform/data/locale.h-data: Likewise.
18692 * conform/data/math.h-data: Likewise.
18693 * conform/data/monetary.h-data: Likewise.
18694 * conform/data/mqueue.h-data: Likewise.
18695 * conform/data/ndbm.h-data: Likewise.
18696 * conform/data/net/if.h-data: Likewise.
18697 * conform/data/netdb.h-data: Likewise.
18698 * conform/data/netinet/in.h-data: Likewise.
18699 * conform/data/nl_types.h-data: Likewise.
18700 * conform/data/poll.h-data: Likewise.
18701 * conform/data/pthread.h-data: Likewise.
18702 * conform/data/pwd.h-data: Likewise.
18703 * conform/data/regex.h-data: Likewise.
18704 * conform/data/sched.h-data: Likewise.
18705 * conform/data/search.h-data: Likewise.
18706 * conform/data/semaphore.h-data: Likewise.
18707 * conform/data/setjmp.h-data: Likewise.
18708 * conform/data/signal.h-data: Likewise.
18709 * conform/data/spawn.h-data: Likewise.
18710 * conform/data/stdarg.h-data: Likewise.
18711 * conform/data/stdio.h-data: Likewise.
18712 * conform/data/stdlib.h-data: Likewise.
18713 * conform/data/string.h-data: Likewise.
18714 * conform/data/strings.h-data: Likewise.
18715 * conform/data/stropts.h-data: Likewise.
18716 * conform/data/sys/ipc.h-data: Likewise.
18717 * conform/data/sys/mman.h-data: Likewise.
18718 * conform/data/sys/msg.h-data: Likewise.
18719 * conform/data/sys/resource.h-data: Likewise.
18720 * conform/data/sys/select.h-data: Likewise.
18721 * conform/data/sys/sem.h-data: Likewise.
18722 * conform/data/sys/shm.h-data: Likewise.
18723 * conform/data/sys/socket.h-data: Likewise.
18724 * conform/data/sys/stat.h-data: Likewise.
18725 * conform/data/sys/statvfs.h-data: Likewise.
18726 * conform/data/sys/time.h-data: Likewise.
18727 * conform/data/sys/timeb.h-data: Likewise.
18728 * conform/data/sys/times.h-data: Likewise.
18729 * conform/data/sys/types.h-data: Likewise.
18730 * conform/data/sys/uio.h-data: Likewise.
18731 * conform/data/sys/un.h-data: Likewise.
18732 * conform/data/sys/utsname.h-data: Likewise.
18733 * conform/data/sys/wait.h-data: Likewise.
18734 * conform/data/syslog.h-data: Likewise.
18735 * conform/data/tar.h-data: Likewise.
18736 * conform/data/termios.h-data: Likewise.
18737 * conform/data/utime.h-data: Likewise.
18738 * conform/data/utmpx.h-data: Likewise.
18739 * conform/data/varargs.h-data: Likewise.
18740 * conform/data/wchar.h-data: Likewise.
18741 * conform/data/wctype.h-data: Likewise.
18742 * conform/data/wordexp.h-data: Likewise.
18744 * include/stropts.h: New file.
18745 * include/uchar.h: New file.
18746 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18747 * include/assert.h: Likewise.
18748 * include/ctype.h: Likewise.
18749 * include/dirent.h: Likewise.
18750 * include/dlfcn.h: Likewise.
18751 * include/fcntl.h: Likewise.
18752 * include/fnmatch.h: Likewise.
18753 * include/glob.h: Likewise.
18754 * include/grp.h: Likewise.
18755 * include/libio.h: Likewise.
18756 * include/locale.h: Likewise.
18757 * include/math.h: Likewise.
18758 * include/net/if.h: Likewise.
18759 * include/netdb.h: Likewise.
18760 * include/netinet/in.h: Likewise.
18761 * include/pthread.h: Likewise.
18762 * include/pwd.h: Likewise.
18763 * include/regex.h: Likewise.
18764 * include/sched.h: Likewise.
18765 * include/search.h: Likewise.
18766 * include/setjmp.h: Likewise.
18767 * include/signal.h: Likewise.
18768 * include/stdio.h: Likewise.
18769 * include/stdlib.h: Likewise.
18770 * include/string.h: Likewise.
18771 * include/sys/cdefs.h: Likewise.
18772 * include/sys/mman.h: Likewise.
18773 * include/sys/msg.h: Likewise.
18774 * include/sys/resource.h: Likewise.
18775 * include/sys/select.h: Likewise.
18776 * include/sys/socket.h: Likewise.
18777 * include/sys/stat.h: Likewise.
18778 * include/sys/statvfs.h: Likewise.
18779 * include/sys/time.h: Likewise.
18780 * include/sys/times.h: Likewise.
18781 * include/sys/uio.h: Likewise.
18782 * include/sys/utsname.h: Likewise.
18783 * include/sys/wait.h: Likewise.
18784 * include/termios.h: Likewise.
18785 * include/time.h: Likewise.
18786 * include/ulimit.h: Likewise.
18787 * include/unistd.h: Likewise.
18788 * include/utime.h: Likewise.
18789 * include/wchar.h: Likewise.
18790 * include/wctype.h: Likewise.
18791 * include/wordexp.h: Likewise.
18793 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18795 * time/time.h: TIME_UTC must be a macro.
18796 Make timespec_get available for ISO C11 only as well.
18798 2012-02-24 Ulrich Drepper <drepper@gmail.com>
18800 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18801 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18803 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18805 * configure.in: Use -o not -a in test for unsupported multi-arch.
18807 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18809 * manual/texinfo.tex: Update to version 2012-01-19.16.
18811 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18813 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18815 2012-02-24 Roland McGrath <roland@hack.frob.com>
18818 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18819 * manual/fdl-1.3.texi: New file.
18820 * manual/fdl-1.1.texi: File removed.
18823 * manual/libc.texinfo (FDL_VERSION): New @set.
18824 Use it for mention of FDL in cover text.
18825 (Documentation License): Use it in @include file name.
18827 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18828 Roland McGrath <roland@hack.frob.com>
18831 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18832 not LONG_LONG_MAX and LONG_LONG_MIN.
18833 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18834 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18836 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18838 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18842 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18843 manipulate bits before adding and subtracting TWO23[sx].
18844 * math/libm-test.inc (nearbyint_test): Add more tests.
18846 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18849 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18850 bits before adding and subtracting TWO23[sx].
18851 * math/libm-test.inc (rint_test): Add more tests.
18852 (rint_test_tonearest): Likewise.
18853 (rint_test_towardzero): Likewise.
18854 (rint_test_downward): Likewise.
18855 (rint_test_upward: Likewise.
18857 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18860 * include/stdc-predef.h: New file. Extracted from features.h.
18861 * include/features.h: Include stdc-predef.h.
18862 * Makefile (headers): Add stdc-predef.h.
18863 * CONFORMANCE (Compiler limitations): Update.
18865 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18867 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18869 2012-02-21 David S. Miller <davem@davemloft.net>
18871 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18872 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18874 2012-02-20 David S. Miller <davem@davemloft.net>
18876 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18877 using a normal save/restore sequence, rather than allocating a
18878 dummy stack frame just to store a frame pointer and restore.
18879 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18881 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18883 * manual/install.texi: Fix stray word in line-wrapped comment.
18885 2012-02-20 David S. Miller <davem@davemloft.net>
18887 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18888 both binutils and gcc support GOTDATA.
18890 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18891 "rd %pc" in the PIC register setup sequences.
18893 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18894 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18895 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18896 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18897 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18898 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18899 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18900 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18901 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18902 (SYSCALL_ERROR_HANDLER): Likewise.
18903 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18904 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18905 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18906 (SYSCALL_ERROR_HANDLER): Likewise.
18908 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18909 (HAVE_GCC_GOTDATA): New.
18910 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18911 relocation support in both binutils and gcc.
18912 * sysdeps/sparc/elf/configure: Regenerate.
18914 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18915 * sysdeps/sparc/sparc32/elf/configure: Delete.
18916 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18917 * sysdeps/sparc/sparc64/elf/configure: Delete.
18918 * sysdeps/sparc/elf/configure.in: New file.
18919 * sysdeps/sparc/elf/configure: Generate.
18921 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18922 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18923 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18924 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18925 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18927 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18929 * manual/install.texi: Do not mention specific glibc version
18931 * manual/libc.texinfo (VERSION, UPDATED): Update.
18932 (@copying): Use @copyright{} and range of years.
18934 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18937 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18938 [crti.S not in sysdirs] (generated): Do not append.
18939 [crti.S not in sysdirs] (omit-deps): Likewise.
18940 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18941 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18942 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18943 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18944 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18946 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18947 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18948 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18949 * csu/defs.awk: Remove file.
18950 * sysdeps/generic/initfini.c: Likewise.
18951 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18953 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18956 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18958 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18959 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18960 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18961 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18962 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18963 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18965 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18966 (__EPOLL_PACKED): Define to empty if not defined by
18968 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18972 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18974 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18975 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18976 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18977 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18979 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18983 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18985 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18987 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18988 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18989 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18992 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18994 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18995 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18997 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18999 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19000 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19002 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19004 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19007 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19009 * math/w_acos.c: Use non-signaling floating-point comparisons.
19010 * math/w_acosf.c: Likewise.
19011 * math/w_acosh.c: Likewise.
19012 * math/w_acoshf.c: Likewise.
19013 * math/w_acoshl.c: Likewise.
19014 * math/w_acosl.c: Likewise.
19015 * math/w_asin.c: Likewise.
19016 * math/w_asinf.c: Likewise.
19017 * math/w_asinl.c: Likewise.
19018 * math/w_atanh.c: Likewise.
19019 * math/w_atanhf.c: Likewise.
19020 * math/w_atanhl.c: Likewise.
19021 * math/w_exp2.c: Likewise.
19022 * math/w_exp2f.c: Likewise.
19023 * math/w_exp2l.c: Likewise.
19024 * math/w_j0.c: Likewise.
19025 * math/w_j0f.c: Likewise.
19026 * math/w_j0l.c: Likewise.
19027 * math/w_j1.c: Likewise.
19028 * math/w_j1f.c: Likewise.
19029 * math/w_j1l.c: Likewise.
19030 * math/w_jn.c: Likewise.
19031 * math/w_jnf.c: Likewise.
19032 * math/w_log.c: Likewise.
19033 * math/w_log10.c: Likewise.
19034 * math/w_log10f.c: Likewise.
19035 * math/w_log10l.c: Likewise.
19036 * math/w_log2.c: Likewise.
19037 * math/w_log2f.c: Likewise.
19038 * math/w_log2l.c: Likewise.
19039 * math/w_logf.c: Likewise.
19040 * math/w_logl.c: Likewise.
19041 * math/w_sqrt.c: Likewise.
19042 * math/w_sqrtf.c: Likewise.
19043 * math/w_sqrtl.c: Likewise.
19044 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19045 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19046 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19047 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19048 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19050 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19053 * manual/string.texi (strnlen): Use correct parameter name in
19054 equivalent expression.
19056 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19059 * manual/users.texi (seteuid): Consistently use neweuid for
19062 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19065 * manual/nss.texi (Services in the NSS configuration): Correct
19066 list of services in example configuration file.
19068 2012-02-19 Nick Bowler <nbowler@draconx.ca>
19071 * manual/arith.texi: Remove statements about negative zero
19072 behaving identically to zero.
19074 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19077 * manual/install.texi: Do not document upgrading from libc5.
19079 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19082 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19084 2012-02-18 David S. Miller <davem@davemloft.net>
19086 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19087 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19088 %o7 across the call.
19089 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19091 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19092 SETUP_PIC_REG_LEAF.
19093 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19094 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19095 * sysdeps/sparc/crtn.S: Likewise.
19097 2012-02-17 Ulrich Drepper <drepper@gmail.com>
19099 * aout/Makefile: Remove.
19101 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19104 * manual/examples/argp-ex1.c (main): Format definition in GNU
19106 * manual/examples/argp-ex2.c (main): Likewise.
19107 * manual/examples/argp-ex3.c (main): Likewise.
19108 * manual/examples/argp-ex4.c (main): Likewise.
19109 * manual/examples/longopt.c (main): Use new-style prototype
19111 * manual/examples/strncat.c (main): Specify return type and use
19112 (void) for arguments.
19113 * manual/examples/subopt.c (main): Use char **argv argument.
19115 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19118 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19121 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19124 * manual/string.texi (strchr): Change when strchrnul is
19127 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19130 * manual/locale.texi (setlocale): Document LOCPATH.
19132 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19135 * manual/process.texi (execle): Move @dots{} before last argument.
19137 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
19140 * manual/charset.texi (Generic Charset Conversion): Fix typo
19141 (LC_TYPE -> LC_CTYPE).
19143 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19146 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19147 (scalbnf): Likewise.
19148 (scalbnl): Likewise.
19149 (scalbln): Likewise.
19150 (scalblnf): Likewise.
19151 (scalblnl): Likewise.
19152 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19153 (vwarnx): Likewise.
19156 * manual/filesys.texi (telldir): Use braces around return type.
19157 * manual/llio.texi (mmap): Add space after comma.
19158 (mmap64): Likewise.
19159 * manual/math.texi (jn): Use @var{} on parameter names.
19165 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19167 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19169 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19170 (sched_get_priority_max): Likewise.
19171 * manual/signal.texi (sigvec): Add space after comma.
19172 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19174 (if_indextoname): Likewise.
19175 (if_freenameindex): Likewise.
19176 (sendto): Use ',' instead of '.' in prototype.
19177 * manual/startup.texi (syscall): Use @dots{} instead of literal
19179 * manual/stdio.texi (__fpending): Separate initial words of
19180 paragraph from @deftypefun line.
19181 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19183 (vsyslog): Use @var{} on parameter names.
19184 * manual/terminal.texi (stty): Use @var{} on parameter names.
19185 * manual/users.texi (getutmp): Use @var{} on parameter names.
19186 (getutmpx): Likewise.
19188 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19191 * manual/stdio.texi (fopen): Fix typos in description of
19194 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19197 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19198 get clock_id definition.
19200 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
19203 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19204 (madvise): Cast every argument to void on its own.
19206 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19209 * manual/startup.texi (Exit Status): Fix typo.
19211 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19214 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19215 * manual/examples/argp-ex2.c: Likewise.
19216 * manual/examples/argp-ex3.c: Likewise.
19218 2012-02-16 Richard Henderson <rth@redhat.com>
19220 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19221 * sysdeps/s390/s390-32/initfini.c: Remove.
19222 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19223 * sysdeps/s390/s390-64/initfini.c: Remove.
19225 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19227 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19228 compiler output for sysdeps/generic/initfini.c.
19229 * sysdeps/sh/elf/initfini.c: Remove file.
19231 2012-02-16 David S. Miller <davem@davemloft.net>
19234 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19236 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19237 * sysdeps/sparc/crti.S: New file.
19238 * sysdeps/sparc/crtn.S: New file.
19239 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19240 * sysdeps/sparc/sparc64/Makefile: Likewise.
19242 2012-02-15 Mike Frysinger <vapier@gentoo.org>
19245 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19247 2012-02-15 Roland McGrath <roland@hack.frob.com>
19250 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19252 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19253 (write, read, close): Likewise.
19254 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19256 2012-02-15 Joseph Myers <joseph@codesourcery.com>
19258 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19259 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19260 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19261 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19263 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19267 2012-02-14 Marek Polacek <polacek@redhat.com>
19269 * sysdeps/x86_64/crti.S: New file.
19270 * sysdeps/x86_64/crtn.S: New file.
19271 * sysdeps/x86_64/elf/initfini.c: Remove file.
19273 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19275 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19276 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19277 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19278 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19280 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19284 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19286 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19287 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19288 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19289 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19291 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19295 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19297 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19298 __feraiseexcept instead of feraiseexcept.
19300 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19301 nanosleep invocations.
19302 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19303 strings, and add error checking for a nanosleep invocations.
19305 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19307 Replace FSF snail mail address with URLs, as per GNU coding standards.
19308 Most of the snail mail addresses were wrong anyway, and omitting
19309 them makes the source code easier to maintain. Almost all of the
19310 changes are to license notices and to locale LC_IDENTIFICATION
19311 addresses, except for this one:
19312 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19313 not its snail mail address.
19315 2012-02-09 Richard Henderson <rth@twiddle.net>
19317 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19318 of kernel-features.h.
19320 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19322 2012-02-08 Marek Polacek <polacek@redhat.com>
19324 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19325 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19326 * sysdeps/gnu/_G_config.h: Likewise.
19327 * sysdeps/generic/_G_config.h: Likewise.
19329 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19331 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19335 * sysdeps/powerpc/powerpc32/crti.S: New file.
19336 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19337 * sysdeps/powerpc/powerpc64/crti.S: New file.
19338 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19340 * Makeconfig (have-initfini): Don't set.
19341 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19342 * configure.in (nopic_initfini): Don't substitute.
19343 * config.h.in (HAVE_INITFINI): Don't #undef.
19344 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19345 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19347 2012-02-08 Joseph Myers <joseph@codesourcery.com>
19349 Support crti.S and crtn.S provided directly by architectures.
19350 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19351 [crti.S in sysdirs] (omit-deps): Likewise.
19352 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19353 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19354 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19355 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19356 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19357 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19358 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19359 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19360 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19361 compiler output for sysdeps/generic/initfini.c.
19362 * sysdeps/i386/elf/Makefile: Remove file.
19363 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19365 2012-02-07 Marek Polacek <polacek@redhat.com>
19367 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19368 * sysdeps/gnu/_G_config.h: Likewise.
19369 * sysdeps/mach/hurd/_G_config.h: Likewise.
19371 2012-02-07 Marek Polacek <polacek@redhat.com>
19373 * math/Makefile (tests): Add tst-CMPLX2.
19374 * math/tst-CMPLX2.c: New file.
19376 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19378 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19380 * math/libm-test.inc (jn_test): Add missing L suffix.
19382 2012-02-06 Marek Polacek <polacek@redhat.com>
19384 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19385 * sysdeps/i386/fpu/e_powf.S: Likewise.
19386 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19387 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19388 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19389 * sysdeps/i386/fpu/e_pow.S: Likewise.
19390 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19391 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19392 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19393 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19394 * sysdeps/i386/fpu/e_log2.S: Likewise.
19395 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19396 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19397 * sysdeps/i386/fpu/e_powl.S: Likewise.
19398 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19399 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19400 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19401 * sysdeps/i386/fpu/e_logl.S: Likewise.
19402 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19403 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19404 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19405 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19406 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19407 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19408 * sysdeps/i386/fpu/e_log.S: Likewise.
19409 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19410 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19411 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19412 * sysdeps/i386/fpu/e_logf.S: Likewise.
19413 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19414 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19415 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19416 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19417 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19418 * sysdeps/i386/fpu/e_log10.S: Likewise.
19419 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19420 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19421 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19422 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19423 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19424 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19425 * sysdeps/i386/asm-syntax.h: Likewise.
19426 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19427 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19428 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19429 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19430 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19431 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19432 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19433 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19434 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19435 * sysdeps/powerpc/sysdep.h: Likewise.
19436 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19437 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19439 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19442 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19444 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19446 * sysdeps/i386/sysdep.h: Include <features.h>.
19447 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19450 2012-02-05 Joseph Myers <joseph@codesourcery.com>
19452 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19454 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19457 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19459 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19460 (SETUP_PIC_REG): Use GET_PC_THUNK.
19461 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19464 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19466 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19467 for non-PIC compilation.
19468 (SETUP_PIC_REG): Add .p2align directive.
19469 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19470 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19471 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19472 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19473 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19474 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19475 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19476 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19477 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19478 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19479 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19480 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19481 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19482 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19483 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19484 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19485 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19486 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19487 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19488 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19489 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19490 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19491 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19492 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19493 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19494 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19495 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19496 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19497 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19498 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19499 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19500 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19501 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19502 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19503 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19504 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19505 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19506 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19507 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19508 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19509 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19511 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19513 * math/tst-CMPLX.c: Include <stdio.h>.
19515 2012-01-31 Joseph Myers <joseph@codesourcery.com>
19517 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19519 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19520 * sysdeps/sparc/bits/mathdef.h: Likewise.
19522 2012-01-31 Marek Polacek <polacek@redhat.com>
19524 * libio/libio.h: Don't define _PARAMS.
19525 * locale/programs/config.h: Don't define PARAMS.
19526 * stdlib/strtol_l.c: Likewise.
19527 (__strtol_l): Remove PARAMS from the prototype.
19529 2012-01-31 Ulrich Drepper <drepper@gmail.com>
19531 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19532 names. Just use the correct names. Remove unnecessary wrapper
19534 * malloc/arena.c: Likewise.
19535 * malloc/hooks.c: Likewise.
19537 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19538 ARENA_TEST says not to. Simplify test for creation of a new arena.
19539 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19541 2012-01-30 Ulrich Drepper <drepper@gmail.com>
19543 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19545 (update_get_addr): New function.
19546 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19547 GET_ADDR_MODULE parameter.
19549 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19551 * crypt/cert.c: Remove __STDC__ conditionals.
19552 * crypt/crypt-entry.c: Likewise.
19553 * crypt/crypt_util.c: Likewise.
19554 * libio/filedoalloc.c: Likewise.
19555 * libio/fileops.c: Likewise.
19556 * libio/genops.c: Likewise.
19557 * libio/iofclose.c: Likewise.
19558 * libio/iofdopen.c: Likewise.
19559 * libio/iofopen.c: Likewise.
19560 * libio/iofopen64.c: Likewise.
19561 * libio/iogetdelim.c: Likewise.
19562 * libio/iopopen.c: Likewise.
19563 * libio/obprintf.c: Likewise.
19564 * libio/oldfileops.c: Likewise.
19565 * libio/oldiofclose.c: Likewise.
19566 * libio/oldiofdopen.c: Likewise.
19567 * libio/oldiofopen.c: Likewise.
19568 * libio/oldiopopen.c: Likewise.
19569 * libio/wfiledoalloc.c: Likewise.
19570 * libio/wgenops.c: Likewise.
19571 * locale/programs/xmalloc.c: Likewise.
19572 * misc/syslog.c: Likewise.
19573 * stdio-common/xbug.c: Likewise.
19574 * string/memchr.c: Likewise.
19575 * string/memcmp.c: Likewise.
19576 * string/memrchr.c: Likewise.
19577 * string/rawmemchr.c: Likewise.
19578 * sysdeps/posix/getcwd.c: Likewise.
19579 * time/strftime_l.c: Likewise.
19581 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19583 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19584 * config.make.in (config-cflags-sse2avx): Define.
19585 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19588 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19590 * scripts/config.guess: Update from upstream config git repository.
19591 * scripts/config.sub: Likewise.
19593 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19595 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19597 (R_TILEPRO_*, R_TILEGX_*): New macros.
19599 * scripts/firstversions.awk: Fix bug in version range handling.
19601 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19603 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19605 * include/sys/epoll.h: New file.
19606 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19609 2012-01-28 Ulrich Drepper <drepper@gmail.com>
19611 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19612 Avoid unnecessary __WORDSIZE == 64 test.
19613 (fmaxf): Use VEX format if possible.
19618 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19619 * math/math_private.h: Remove libc_fegetround* and
19621 * sysdeps/i386/configure.in: Check for -msse2avx.
19622 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19623 also if SSE2AVX is defined.
19624 Remove libc_fegetround* and libc_fesetround*.
19625 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19626 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19627 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19629 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19630 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19631 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19632 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19633 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19635 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19637 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19639 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19641 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19643 2012-01-27 Ulrich Drepper <drepper@gmail.com>
19646 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19648 * Makeconfig (libm): Define.
19649 * elf/Makefile: Add rules to build and run tst-relsort1.
19650 * elf/tst-relsort1.c: New file.
19651 * elf/tst-relsort1mod1.c: New file.
19652 * elf/tst-relsort1mod2.c: New file.
19654 2012-01-27 Joseph Myers <joseph@codesourcery.com>
19656 * math/s_ldexp.c: Remove __STDC__ conditionals.
19657 * math/s_ldexpf.c: Likewise.
19658 * math/s_ldexpl.c: Likewise.
19659 * math/s_nextafter.c: Likewise.
19660 * math/s_nexttowardf.c: Likewise.
19661 * math/s_significand.c: Likewise.
19662 * math/s_significandf.c: Likewise.
19663 * math/s_significandl.c: Likewise.
19664 * math/w_jnl.c: Likewise.
19665 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19666 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19667 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19668 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19669 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19670 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19671 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19672 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19673 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19674 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19675 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19676 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19677 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19678 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19679 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19680 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19681 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19682 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19683 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19684 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19685 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19686 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19687 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19688 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19689 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19690 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19691 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19692 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19693 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19694 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19695 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19696 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19697 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19698 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19699 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19700 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19701 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19702 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19703 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19704 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19705 * sysdeps/ieee754/k_standard.c: Likewise.
19706 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19707 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19708 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19709 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19710 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19711 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19712 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19713 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19714 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19715 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19716 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19717 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19718 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19719 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19720 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19721 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19722 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19723 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19724 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19725 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19726 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19727 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19728 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19729 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19730 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19731 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19732 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19733 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19734 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19735 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19736 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19737 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19738 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19739 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19740 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19741 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19742 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19743 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19744 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19745 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19746 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19747 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19748 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19749 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19750 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19751 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19752 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19753 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19754 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19755 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19756 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19757 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19758 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19759 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19760 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19761 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19762 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19763 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19764 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19765 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19766 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19767 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19768 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19769 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19770 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19771 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19772 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19773 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19774 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19775 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19776 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19777 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19778 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19779 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19780 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19781 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19782 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19783 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19784 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19785 * sysdeps/ieee754/s_matherr.c: Likewise.
19786 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19787 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19788 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19789 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19791 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19793 * crypt/md5.h: Remove __STDC__ conditionals.
19794 * libio/libioP.h: Likewise.
19795 * locale/programs/config.h: Likewise.
19796 * sysdeps/generic/sysdep.h: Likewise.
19797 * sysdeps/i386/asm-syntax.h: Likewise.
19798 * sysdeps/s390/asm-syntax.h: Likewise.
19799 * sysdeps/unix/sysdep.h: Likewise.
19800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19803 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19805 * libio/libio.h: Remove __STDC__ conditionals.
19806 * malloc/obstack.h: Likewise.
19807 * math/complex.h: Likewise.
19808 * math/math.h: Likewise.
19809 * sysdeps/generic/_G_config.h: Likewise.
19810 * sysdeps/gnu/_G_config.h: Likewise.
19811 * sysdeps/mach/hurd/_G_config.h: Likewise.
19812 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19813 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19814 * sysdeps/sparc/bits/mathdef.h: Likewise.
19816 2012-01-26 Ulrich Drepper <drepper@gmail.com>
19819 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19820 Clean up HAS_* macros.
19821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19822 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19824 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19826 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19827 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19828 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19829 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19830 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19832 2012-01-25 Joseph Myers <joseph@codesourcery.com>
19834 * elf/tst-unique3.cc (gets): Remove declaration.
19835 * elf/tst-unique3lib.cc (gets): Likewise.
19836 * elf/tst-unique3lib2.cc (gets): Likewise.
19837 * elf/tst-unique4.cc (gets): Likewise.
19839 2012-01-24 Ulrich Drepper <drepper@gmail.com>
19841 * include/stdio.h: Add C++ protection. Add gets declarations and
19843 * debug/tst-chk1.c: Don't declare gets here.
19844 * stdio-common/tst-gets.c: Likewise.
19846 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19848 * posix/glob: Remove directory.
19850 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19852 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19854 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19856 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19857 of the non-standard EPFNOSUPPORT.
19859 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19861 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19862 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19863 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19865 2012-01-21 Ulrich Drepper <drepper@gmail.com>
19867 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19869 2012-01-20 Ulrich Drepper <drepper@gmail.com>
19871 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19873 * nscd/grpcache.c (cache_addgr): Likewise.
19874 * nscd/hstcache.c (cache_addhst): Likewise.
19875 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19876 * nscd/pwdcache.c (cache_addpw): Likewise.
19877 * nscd/servicescache.c (cache_addserv): Likewise.
19879 2012-01-16 Ulrich Drepper <drepper@gmail.com>
19881 * malloc/malloc.c: Various cleanups.
19882 * malloc/hooks.c: Likewise.
19884 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19885 * stdlib/bug-fmtmsg1.c: New file.
19887 * stdlib/fmtmsg.c (init): Add missing unlock.
19888 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19890 2012-01-12 Marek Polacek <polacek@redhat.com>
19892 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19895 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19897 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19898 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19899 macro to ensure uniqueness of label name.
19900 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19901 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19903 2012-01-11 Ulrich Drepper <drepper@gmail.com>
19905 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19907 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19908 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19909 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19910 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19912 2012-01-10 Ulrich Drepper <drepper@gmail.com>
19914 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19916 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19917 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19918 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19920 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19922 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19923 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19924 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19925 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19927 * math/bits/math-finite.h: Add ldexp support.
19929 2012-01-10 Marek Polacek <polacek@redhat.com>
19931 * locale/programs/localedef.h (show_archive_content): Add noreturn
19934 2012-01-09 Ulrich Drepper <drepper@gmail.com>
19936 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19938 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19940 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19942 * io/Makefile (headers): Add bits/poll2.h.
19944 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19947 typo #include statement.
19949 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19951 * include/sys/cdefs.h: Define __attribute_alloc_size.
19952 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19953 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19954 * elf/pldd.c: Likewise.
19955 * iconv/iconv_charmap.c: Likewise.
19956 * iconv/iconvconfig.c: Likewise.
19957 * iconv/strtab.c: Likewise.
19958 * locale/programs/locale.c: Likewise.
19959 * locale/programs/localedef.h: Likewise.
19960 * locale/programs/simple-hash.c: Likewise.
19961 * nscd/nscd.h: Likewise.
19962 * nss/makedb.c: Likewise.
19963 * sysdeps/generic/ldconfig.h: Likewise.
19964 * locale/programs/localedef.c: Remove xmalloc prototype.
19965 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19967 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19969 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19972 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19974 * math/Makefile (tests): Add tst-CMPLX.
19975 * math/tst-CMPLX.c: New file.
19977 * math/complex.h (CMPLXL): Fix typo.
19979 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19980 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19982 * debug/tst-chk1.c: Add poll and ppoll tests.
19983 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19984 * include/sys/poll.h: Add hidden proto for ppoll.
19985 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19986 * sysdeps/mach/hurd/ppoll.c: Likewise.
19987 * io/ppoll.c: Likewise.
19988 * debug/poll_chk.c: New file.
19989 * debug/ppoll_chk.c: New file.
19990 * include/bits/poll2.h: New file.
19991 * io/bits/poll2.h: New file.
19994 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19996 * configure.in: static is always set to yes. Remove.
19997 * config.make.in: Don't set build-static.
19998 * Makeconfig: Remove use of build-static.
19999 * dlfcn/Makefile: Likewise.
20000 * elf/Makefile: Likewise.
20001 * math/Makefile: Likewise.
20002 * misc/Makefile: Likewise.
20003 * nptl/Makefile: Likewise.
20004 * sysdeps/mach/hurd/Makefile: Likewise.
20006 * configure.in: PWD_P is not used anymore.
20007 * config.make.in: Remove PWD_P entry.
20009 * configure.in: Remove last remnants of RANLIB.
20010 No need to check for signed size_t anymore.
20011 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20013 Remove __builtin_expect test because we require at least gcc 3.4.
20014 * aclocal.m4: Likewise.
20016 * wcsmbs/mbrtoc16.c: Implement using towc function.
20017 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20018 * wcsmbs/wcsmbsload.c: Likewise.
20019 * iconv/gconv_simple.c: Likewise.
20020 * iconv/gconv_int.h: Likewise.
20021 * iconv/gconv_builtin.h: Likewise.
20022 * iconv/iconv_prog.c: Remove CHAR16 handling.
20024 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20026 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20028 * configure.in: Remove --with-elf and --enable-bounded options.
20029 Dont set base_machine for ia64. More non-ELF conditions removed.
20030 Remove testing and setting of leading underscore information.
20031 * config.make.in (build-bounded): Set to no.
20032 * config.h.in: Remove NO_UNDERSCORES entry.
20033 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20035 * csu/start.c: Remove !NO_UNDERSCORE code.
20036 * locale/localeinfo.h: Likewise.
20037 * sysdeps/generic/machine-gmon.h: Likewise.
20038 * sysdeps/generic/sysdep.h: Likewise.
20039 * sysdeps/i386/sysdep.h: Likewise.
20040 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20041 * sysdeps/mach/sysdep.h: Likewise.
20042 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20043 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20044 * sysdeps/sh/sysdep.h: Likewise.
20045 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20046 * sysdeps/unix/i386/sysdep.S: Likewise.
20047 * sysdeps/unix/sparc/start.c: Likewise.
20048 * sysdeps/unix/sparc/sysdep.S: Likewise.
20049 * sysdeps/unix/sparc/sysdep.h: Likewise.
20050 * sysdeps/unix/start.c: Likewise.
20051 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20052 * sysdeps/x86_64/sysdep.h: Likewise.
20054 2012-01-07 Ulrich Drepper <drepper@gmail.com>
20057 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20059 * argp/argp-fmtstream.h: Use const instead __const.
20060 * argp/argp.h: Likewise.
20061 * assert/assert.h: Likewise.
20062 * bits/fenv.h: Likewise.
20063 * bits/sched.h: Likewise.
20064 * bits/sigset.h: Likewise.
20065 * bits/sigthread.h: Likewise.
20066 * catgets/nl_types.h: Likewise.
20067 * conform/data/pthread.h-data: Likewise.
20068 * crypt/crypt-private.h: Likewise.
20069 * crypt/crypt.h: Likewise.
20070 * crypt/crypt_util.c: Likewise.
20071 * ctype/ctype.h: Likewise.
20072 * debug/execinfo.h: Likewise.
20073 * debug/mbsnrtowcs_chk.c: Likewise.
20074 * debug/mbsrtowcs_chk.c: Likewise.
20075 * debug/wcsnrtombs_chk.c: Likewise.
20076 * debug/wcsrtombs_chk.c: Likewise.
20077 * debug/wcstombs_chk.c: Likewise.
20078 * dirent/dirent.h: Likewise.
20079 * dlfcn/dlfcn.h: Likewise.
20080 * elf/neededtest4.c: Likewise.
20081 * grp/grp.h: Likewise.
20082 * gshadow/gshadow.h: Likewise.
20083 * iconv/gconv.h: Likewise.
20084 * iconv/gconv_int.h: Likewise.
20085 * iconv/gconv_simple.c: Likewise.
20086 * iconv/iconv.h: Likewise.
20087 * iconv/loop.c: Likewise.
20088 * iconv/skeleton.c: Likewise.
20089 * include/aio.h: Likewise.
20090 * include/aliases.h: Likewise.
20091 * include/argz.h: Likewise.
20092 * include/arpa/inet.h: Likewise.
20093 * include/assert.h: Likewise.
20094 * include/dirent.h: Likewise.
20095 * include/dlfcn.h: Likewise.
20096 * include/execinfo.h: Likewise.
20097 * include/fcntl.h: Likewise.
20098 * include/fenv.h: Likewise.
20099 * include/glob.h: Likewise.
20100 * include/grp.h: Likewise.
20101 * include/libintl.h: Likewise.
20102 * include/mntent.h: Likewise.
20103 * include/netdb.h: Likewise.
20104 * include/pwd.h: Likewise.
20105 * include/rpc/netdb.h: Likewise.
20106 * include/sched.h: Likewise.
20107 * include/search.h: Likewise.
20108 * include/shadow.h: Likewise.
20109 * include/signal.h: Likewise.
20110 * include/stdio.h: Likewise.
20111 * include/stdlib.h: Likewise.
20112 * include/string.h: Likewise.
20113 * include/sys/socket.h: Likewise.
20114 * include/sys/stat.h: Likewise.
20115 * include/sys/statfs.h: Likewise.
20116 * include/sys/statvfs.h: Likewise.
20117 * include/sys/syslog.h: Likewise.
20118 * include/sys/time.h: Likewise.
20119 * include/sys/uio.h: Likewise.
20120 * include/time.h: Likewise.
20121 * include/unistd.h: Likewise.
20122 * include/utmp.h: Likewise.
20123 * include/wchar.h: Likewise.
20124 * include/wctype.h: Likewise.
20125 * inet/aliases.h: Likewise.
20126 * inet/arpa/inet.h: Likewise.
20127 * inet/netinet/ether.h: Likewise.
20128 * inet/netinet/in.h: Likewise.
20129 * intl/libintl.h: Likewise.
20130 * io/bits/fcntl2.h: Likewise.
20131 * io/fcntl.h: Likewise.
20132 * io/ftw.h: Likewise.
20133 * io/sys/poll.h: Likewise.
20134 * io/sys/stat.h: Likewise.
20135 * io/sys/statfs.h: Likewise.
20136 * io/sys/statvfs.h: Likewise.
20137 * io/utime.h: Likewise.
20138 * libio/bits/stdio.h: Likewise.
20139 * libio/bits/stdio2.h: Likewise.
20140 * libio/libio.h: Likewise.
20141 * libio/libioP.h: Likewise.
20142 * libio/stdio.h: Likewise.
20143 * locale/lc-ctype.c: Likewise.
20144 * locale/locale.h: Likewise.
20145 * login/utmp.h: Likewise.
20146 * malloc/arena.c: Likewise.
20147 * malloc/malloc.c: Likewise.
20148 * malloc/malloc.h: Likewise.
20149 * malloc/mcheck.c: Likewise.
20150 * malloc/mtrace.c: Likewise.
20151 * math/bits/mathcalls.h: Likewise.
20152 * math/fenv.h: Likewise.
20153 * math/math_private.h: Likewise.
20154 * misc/bits/error.h: Likewise.
20155 * misc/bits/syslog.h: Likewise.
20156 * misc/err.h: Likewise.
20157 * misc/error.h: Likewise.
20158 * misc/fstab.h: Likewise.
20159 * misc/mntent.h: Likewise.
20160 * misc/regexp.h: Likewise.
20161 * misc/search.h: Likewise.
20162 * misc/sgtty.h: Likewise.
20163 * misc/sys/mman.h: Likewise.
20164 * misc/sys/syslog.h: Likewise.
20165 * misc/sys/uio.h: Likewise.
20166 * misc/sys/xattr.h: Likewise.
20167 * misc/ttyent.h: Likewise.
20168 * nis/rpcsvc/ypclnt.h: Likewise.
20169 * nss/nss.h: Likewise.
20170 * posix/bits/unistd.h: Likewise.
20171 * posix/fnmatch.h: Likewise.
20172 * posix/glob.h: Likewise.
20173 * posix/sched.h: Likewise.
20174 * posix/spawn.h: Likewise.
20175 * posix/sys/wait.h: Likewise.
20176 * posix/unistd.h: Likewise.
20177 * posix/wordexp.h: Likewise.
20178 * pwd/pwd.h: Likewise.
20179 * resolv/netdb.h: Likewise.
20180 * resource/sys/resource.h: Likewise.
20181 * rt/aio.h: Likewise.
20182 * rt/bits/mqueue2.h: Likewise.
20183 * rt/mqueue.h: Likewise.
20184 * shadow/shadow.h: Likewise.
20185 * signal/signal.h: Likewise.
20186 * socket/send.c: Likewise.
20187 * socket/sendto.c: Likewise.
20188 * socket/sys/socket.h: Likewise.
20189 * stdio-common/printf.h: Likewise.
20190 * stdlib/bits/stdlib.h: Likewise.
20191 * stdlib/fmtmsg.h: Likewise.
20192 * stdlib/monetary.h: Likewise.
20193 * stdlib/stdlib.h: Likewise.
20194 * stdlib/ucontext.h: Likewise.
20195 * streams/stropts.h: Likewise.
20196 * string/argz.h: Likewise.
20197 * string/bits/string2.h: Likewise.
20198 * string/string.h: Likewise.
20199 * string/strings.h: Likewise.
20200 * sunrpc/rpc/auth.h: Likewise.
20201 * sunrpc/rpc/auth_des.h: Likewise.
20202 * sunrpc/rpc/clnt.h: Likewise.
20203 * sunrpc/rpc/netdb.h: Likewise.
20204 * sunrpc/rpc/pmap_clnt.h: Likewise.
20205 * sunrpc/rpc/xdr.h: Likewise.
20206 * sysdeps/generic/inttypes.h: Likewise.
20207 * sysdeps/generic/net/if.h: Likewise.
20208 * sysdeps/generic/sys/swap.h: Likewise.
20209 * sysdeps/gnu/net/if.h: Likewise.
20210 * sysdeps/gnu/utmpx.h: Likewise.
20211 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20212 * sysdeps/i386/i486/bits/string.h: Likewise.
20213 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20214 * sysdeps/s390/bits/string.h: Likewise.
20215 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20216 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20217 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20218 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20219 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20220 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20221 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20222 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20223 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20224 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20225 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20226 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20227 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20228 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20229 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20230 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20231 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20232 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20233 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20234 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20235 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20236 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20237 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20238 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20239 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20240 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20241 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20242 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20243 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20244 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20245 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20246 * sysvipc/sys/ipc.h: Likewise.
20247 * sysvipc/sys/msg.h: Likewise.
20248 * sysvipc/sys/sem.h: Likewise.
20249 * sysvipc/sys/shm.h: Likewise.
20250 * termios/termios.h: Likewise.
20251 * time/sys/time.h: Likewise.
20252 * time/time.h: Likewise.
20253 * wcsmbs/bits/wchar2.h: Likewise.
20254 * wcsmbs/uchar.h: Likewise.
20255 * wcsmbs/wchar.h: Likewise.
20256 * wctype/wctype.h: Likewise.
20259 * Makeconfig: Remove all but ELF support including AIX support.
20260 * Makerules: Likewise.
20261 * config.h.in: Likewise.
20262 * config.make.in: Likewise.
20263 * configure: Likewise.
20264 * configure.in: Likewise.
20265 * csu/Makefile: Likewise.
20266 * csu/version.c: Likewise.
20267 * debug/Makefile: Likewise.
20268 * dlfcn/Makefile: Likewise.
20269 * elf/Makefile: Likewise.
20270 * extra-lib.mk: Likewise.
20271 * iconv/Makefile: Likewise.
20272 * include/libc-symbols.h: Likewise.
20273 * include/shlib-compat.h: Likewise.
20274 * resolv/Makefile: Likewise.
20275 * resolv/res_libc.c: Likewise.
20276 * rt/Makefile: Likewise.
20277 * sysdeps/i386/asm-syntax.h: Likewise.
20278 * sysdeps/i386/sysdep.h: Likewise.
20279 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20280 * sysdeps/mach/sysdep.h: Likewise.
20281 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20282 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20283 * sysdeps/s390/asm-syntax.h: Likewise.
20284 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20285 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20286 * sysdeps/sh/sysdep.h: Likewise.
20287 * sysdeps/unix/sparc/sysdep.h: Likewise.
20288 * sysdeps/wordsize-32/divdi3.c: Likewise.
20289 * sysdeps/x86_64/sysdep.h: Likewise.
20291 * argp/Versions: Remove _argp_unlock_xxx.
20294 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20295 * abilist/libBrokenLocale.abilist: Likewise.
20296 * abilist/libanl.abilist: Likewise.
20297 * abilist/libc.abilist: Likewise.
20298 * abilist/libcrypt.abilist: Likewise.
20299 * abilist/libdl.abilist: Likewise.
20300 * abilist/libm.abilist: Likewise.
20301 * abilist/libnsl.abilist: Likewise.
20302 * abilist/libpthread.abilist: Likewise.
20303 * abilist/libresolv.abilist: Likewise.
20304 * abilist/librt.abilist: Likewise.
20305 * abilist/libthread_db.abilist: Likewise.
20306 * abilist/libutil.abilist: Likewise.
20307 * abilist/libnss_db.abilist: New file.
20309 * scripts/abilist.awk: Add support for indirect functions.
20311 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20313 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20315 * shlib-versions: Remove entries for ports architectures.
20317 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20319 * elf/stackguard-macros.h: Remove support for IA-64.
20320 * elf/tst-auditmod1.c: Likewise.
20321 * sysdeps/generic/ldsodefs.h: Likewise.
20323 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20324 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20328 * configure.in: Remove --enable-omitfp support.
20330 * config.make.in: Likewise.
20331 * Makeconfig: Likewise.
20332 * manual/install.texi: Likewise.
20334 In case anyone cares, the IA-64 architecture could move to ports.
20335 * sysdeps/ia64/*: Removed.
20336 * sysdeps/unix/sysv/linux/ia64/*: Removed.
20337 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20340 * configure.in: Remove entries for unsupported architectures.
20343 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20344 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20346 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20347 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20348 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20349 fall back to using wcrtomb.
20350 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20351 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20353 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20354 * wcsmbs/tst-c16c32-1.c: New file.
20356 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20359 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20361 * elf/tst-unique3.cc: Add explicit declaration of gets.
20362 * elf/tst-unique3lib.cc: Likewise.
20363 * elf/tst-unique3lib2.cc: Likewise.
20364 * elf/tst-unique4.cc: Likewise.
20366 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20368 2012-01-06 Joseph Myers <joseph@codesourcery.com>
20371 * assert/assert.h (static_assert): Don't define for C++.
20372 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20373 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20375 2012-01-03 Ulrich Drepper <drepper@gmail.com>
20377 * iconv/loop.c (single loop): Fix assertion in storing of
20380 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20382 2012-01-01 Ulrich Drepper <drepper@gmail.com>
20384 * posix/getconf.c: Update copyright year.
20385 * nss/getent.c: Likewise.
20386 * nss/makedb.c: Likewise.
20387 * iconv/iconvconfig.c: Likewise.
20388 * iconv/iconv_prog.c: Likewise.
20389 * elf/ldconfig.c: Likewise.
20390 * elf/pldd.c: Likewise.
20391 * elf/sotruss.ksh: Likewise.
20392 * catgets/gencat.c: Likewise.
20393 * csu/version.c: Likewise.
20394 * elf/ldd.bash.in: Likewise.
20395 * elf/sprof.c (print_version): Likewise.
20396 * locale/programs/locale.c: Likewise.
20397 * locale/programs/localedef.c: Likewise.
20398 * login/programs/pt_chown.c: Likewise.
20399 * nscd/nscd.c (print_version): Likewise.
20400 * debug/xtrace.sh: Likewise.
20401 * malloc/memusage.sh: Likewise.
20402 * malloc/mtrace.pl: Likewise.
20403 * debug/catchsegv.sh: Likewise.
20405 2011-12-30 Jakub Jelinek <jakub@redhat.com>
20407 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20410 2011-12-24 Ulrich Drepper <drepper@gmail.com>
20413 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20414 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20416 * iconv/gconv_int.h: Likewise.
20417 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20418 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20419 from libc for GLIBC_2.16.
20420 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20421 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20422 * wcsmbs/uchar.h: Really define mbstate_t.
20423 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20424 * wcsmbs/c16rtomb.c: New file.
20425 * wcsmbs/mbrtoc16.c: New file.
20426 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20427 for C/POSIX locale.
20428 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20429 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20431 * wcsmbs/wchar.h: Add missing __restrict.
20433 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20436 * time/Makefile (routines): Add timespec_get.
20437 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20438 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20439 timespec for ISO C11.
20440 * time/timespec_get.c: New file.
20441 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20442 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20445 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20446 * stdlib/stdlib.h: Declare aligned_alloc.
20447 * Versions.def: Add GLIBC_2.16 for libc.
20448 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20451 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20454 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20458 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20461 * assert/assert.h (static_assert): Define.
20463 * version.h: Update for 2.16 development version.
20466 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20469 * version.h (RELEASE): Bump for 2.15 release.
20470 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20472 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20473 Patch by Marek Polacek <mpolacek@redhat.com>.
20475 * bits/byteswap.h: Protect long long constants with __extension__.
20476 * sysdeps/i386/bits/byteswap.h: Likewise.
20477 * sysdeps/ia64/bits/byteswap.h: Likewise.
20478 * sysdeps/s390/bits/byteswap.h: Likewise.
20479 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20481 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20484 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20485 destination buffer.
20486 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20488 2011-12-23 Marek Polacek <polacek@redhat.com>
20490 * elf/dl-addr.c (determine_info): Add inline keyword.
20491 * elf/tst-auditmod4b.c (check_avx): Likewise.
20492 * elf/tst-auditmod6b.c (check_avx): Likewise.
20493 * elf/tst-auditmod6c.c (check_avx): Likewise.
20494 * elf/tst-auditmod7b.c (check_avx): Likewise.
20496 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20498 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20501 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20504 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20505 processing for last bytes.
20507 2011-08-06 Bruno Haible <bruno@clisp.org>
20510 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20511 U+0385, not to U+1FEE.
20514 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20515 entry for U+00A5 U+0301.
20517 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20520 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20521 buffer for the output is too small.
20523 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20527 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20528 SSE flags if possible.
20530 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20533 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20534 processing for last bytes.
20536 2011-12-22 Joseph Myers <joseph@codesourcery.com>
20538 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20539 (syscall-list-default-options, syscall-list-default-condition)
20540 (syscall-list-includes): Define.
20541 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20542 list of ABIs and options and #if conditions for each ABI. Do not
20543 handle common syscalls between ABIs specially.
20544 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20546 (syscall-list-variants, syscall-list-32bit-options)
20547 (syscall-list-32bit-condition, syscall-list-64bit-options)
20548 (syscall-list-64bit-condition): Define.
20549 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20550 (syscall-list-variants, syscall-list-32bit-options)
20551 (syscall-list-32bit-condition, syscall-list-64bit-options)
20552 (syscall-list-64bit-condition): Define.
20553 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20555 (syscall-list-variants, syscall-list-32bit-options)
20556 (syscall-list-32bit-condition, syscall-list-64bit-options)
20557 (syscall-list-64bit-condition): Define.
20558 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20560 (syscall-list-variants, syscall-list-32bit-options)
20561 (syscall-list-32bit-condition, syscall-list-64bit-options)
20562 (syscall-list-64bit-condition): Define.
20564 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20566 * locale/iso-639.def: Add brx entry.
20569 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20570 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20572 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20573 __feraiseexcept_renamed.
20575 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20578 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20579 EPOLLET with unsigned values.
20580 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20581 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20583 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20584 to large cancellation.
20585 * math/s_cacoshf.c: Likewise.
20586 * math/s_cacoshl.c: Likewise.
20588 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20592 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20593 * math/s_cacoshf.c: Likewise.
20594 * math/s_cacoshl.c: Likewise.
20596 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20599 * iconv/gconv.h: Define __GCONV_SWAP.
20600 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20601 * iconvdata/utf-16.c: Likewise.
20602 * iconvdata/utf-32.c: Likewise.
20604 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20607 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20608 numerator after shifting it by one limb.
20610 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20612 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20613 under [__USE_EXTERN_INLINES].
20615 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20618 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20620 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20622 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20623 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20625 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20626 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20627 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20628 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20629 for strncasecmp/strncasecmp_l compilation.
20630 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20631 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20633 2011-12-08 Marek Polacek <mpolacek@redhat.com>
20636 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20639 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20642 * time/tzfile.c (__tzfile_read): Check values from file header.
20644 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20646 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20647 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20648 * powerpc/powerpc32/dl-start.S: Likewise.
20649 * powerpc/powerpc32/elf/start.S: Likewise.
20650 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20651 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20652 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20653 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20654 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20655 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20656 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20657 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20658 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20659 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20660 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20661 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20662 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20663 * powerpc/powerpc32/memset.S: Likewise.
20664 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20665 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20666 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20667 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20668 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20669 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20670 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20671 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20672 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20673 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20674 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20675 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20676 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20678 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20680 * math/libm-test.inc: Added more nearbyint tests.
20681 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20682 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20683 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20684 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20686 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20688 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20691 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20693 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20694 Add wcscpy-ssse3 wcscpy-c.
20695 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20696 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20697 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20698 * sysdeps/x86_64/wcschr.S: New file.
20699 * sysdeps/x86_64/wcsrchr.S: New file.
20700 * string/test-strcmp.c: Remove checking of wcscmp function for
20702 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20703 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20704 wcsrchr-sse2 wcsrchr-c.
20705 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20706 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20707 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20708 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20709 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20710 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20711 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20712 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20713 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20714 * wcsmbc/wcschr.c (WCSCHR): New macro.
20716 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20718 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20719 * wcsmbs/test-wcsrchr.c: New file.
20720 * string/test-strrchr.c: Add wcsrchr support.
20722 * wcsmbs/test-wcscpy.c: New file.
20723 * string/test-strcpy.c: Add wcscpy support.
20726 2011-12-10 Ulrich Drepper <drepper@gmail.com>
20728 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20731 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20734 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20736 2011-12-04 Ulrich Drepper <drepper@gmail.com>
20738 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20739 Minor optimizations.
20741 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20742 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20743 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20745 2011-12-03 Ulrich Drepper <drepper@gmail.com>
20747 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20748 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20749 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20750 for gcc to avoid warnings.
20751 * inet/Makefile (tests): Add tst-checks.
20752 * inet/tst-checks.c: New file.
20754 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20757 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20760 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20761 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20763 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20765 2011-12-02 Ulrich Drepper <drepper@gmail.com>
20767 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20770 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20772 2011-11-29 Joseph Myers <joseph@codesourcery.com>
20774 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20775 conditional on GCC version.
20776 (__arch_compare_and_exchange_val_8_acq)
20777 (__arch_compare_and_exchange_val_16_acq)
20778 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20779 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20780 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20782 2011-12-02 Joseph Myers <joseph@codesourcery.com>
20784 * sysdeps/sh/backtrace.c: New file.
20786 2011-12-02 Andreas Schwab <schwab@redhat.com>
20788 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20791 2011-12-01 Andreas Schwab <schwab@redhat.com>
20793 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20794 falling back to utime.
20796 2011-11-30 Andreas Schwab <schwab@redhat.com>
20798 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20799 expectations for float.
20801 2011-11-29 Andreas Schwab <schwab@redhat.com>
20803 * locale/weight.h (findidx): Add parameter len.
20804 * locale/weightwc.h (findidx): Likewise.
20805 * posix/fnmatch_loop.c (FCT): Adjust caller.
20806 * posix/regcomp.c (build_equiv_class): Likewise.
20807 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20808 * posix/regexec.c (check_node_accept_bytes): Likewise.
20809 * string/strcoll_l.c (STRCOLL): Likewise.
20810 * string/strxfrm_l.c (STRXFRM): Likewise.
20812 2011-11-17 Ulrich Drepper <drepper@gmail.com>
20814 * Makefile.in: Remove CVSOPT handling.
20815 * configure.in: Remove use of AC_REVISION.
20816 * iconvdata/Makefile (distribute): No need to filter out CVS.
20817 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20820 2011-11-16 Andreas Schwab <schwab@redhat.com>
20822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20823 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20824 [USE_AS_STRNCASECMP_L]: Likewise.
20825 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20826 NO_TLS_DIRECT_SEG_REFS.
20827 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20828 Fix argument offsets for non-PIC.
20829 [USE_AS_STRNCASECMP_L]: Likewise.
20830 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20831 NO_TLS_DIRECT_SEG_REFS.
20833 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20835 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20837 * locale/loadlocale.c (_nl_load_locale): Likewise.
20839 2011-11-15 Andreas Schwab <schwab@redhat.com>
20841 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20842 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20843 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20844 (SYSCALL_GETTIME): Set errno on error.
20846 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20847 count references to noai6ai_cached.
20849 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20851 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20853 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20854 FD_CLOEXEC for /proc/self/maps.
20856 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20857 FD_CLOEXEC for /proc/meminfo.
20859 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20862 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20863 FD_CLOEXEC for given file.
20865 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20867 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20868 FD_CLOEXEC for /etc/hosts.
20869 (_gethtent): Likewise.
20871 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20873 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20874 cancellation and set FD_CLOEXEC for /etc/netgroup.
20876 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20877 reading /etc/publickey.
20879 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20880 allow cancellation when reading /etc/group.
20882 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20884 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20886 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20887 when using data file.
20889 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20891 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20892 (write_nis_obj): Use "c" and "e" in fopen.
20894 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20896 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20898 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20900 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20902 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20905 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20907 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20909 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20911 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20912 file parsing and set FD_CLOEXEC.
20914 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20916 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20918 2011-11-14 Andreas Schwab <schwab@redhat.com>
20920 * malloc/arena.c (arena_get2): Don't call reused_arena when
20921 _int_new_arena failed.
20923 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20925 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20926 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20927 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20928 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20929 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20930 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20931 to compile strcasecmp and strncasecmp.
20932 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20933 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20935 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20937 2011-11-13 Ulrich Drepper <drepper@gmail.com>
20939 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20940 locale-defines.sym to gen-as-const-headers.
20941 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20942 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20943 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20944 to compile strcasecmp and strncasecmp.
20945 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20946 strcasecmp_l and strncasecmp_l.
20947 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20948 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20949 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20950 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20951 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20952 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20953 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20954 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20955 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20956 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20957 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20959 2011-11-12 Ulrich Drepper <drepper@gmail.com>
20961 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20962 result of SYSDEP_GETTIME_CPU to retval.
20963 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20964 parameter list to macro. Remove trailing semicolon. Adjust users.
20966 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20969 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20971 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20973 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20974 from unused variable.
20976 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20978 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20981 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20984 * sunrpc/rpc_prot.c (rejected): Fix case value.
20986 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20987 unsigned long long int to avoid warnings in shift.
20989 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20991 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20994 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20995 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20996 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20998 * nis/nis_table.c (nis_list): Use variable of correct type for
20999 result of __follow_path call.
21001 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21003 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21004 of math functions ceil, trunc, floor, round, and sqrt, when
21005 avaliable on the platform.
21006 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21008 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21009 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21010 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21012 2011-10-30 Marek Polacek <mpolacek@redhat.com>
21014 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21015 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21017 2011-11-11 Roland McGrath <roland@hack.frob.com>
21019 * include/unistd.h: Fix __readlink return type.
21020 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21022 2011-11-11 Ulrich Drepper <drepper@gmail.com>
21024 * stdlib/ucontext.h: Undo last change for makecontext.
21026 2011-11-11 Andreas Schwab <schwab@redhat.com>
21028 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21030 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21031 * setjmp/setjmp.h: Mark functions as non-leaf.
21032 * setjmp/bits/setjmp2.h: Likewise.
21033 * stdlib/ucontext.h: Likewise.
21035 2011-11-10 Andreas Schwab <schwab@redhat.com>
21037 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21038 (reused_arena): Don't check arena limit.
21039 (arena_get2): Atomically check arena limit.
21041 2011-11-08 Ulrich Drepper <drepper@gmail.com>
21043 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21044 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21046 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21049 2011-11-07 Andreas Schwab <schwab@redhat.com>
21051 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21052 handler when locking.
21054 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21055 Fix size of allocated buffer.
21057 2011-11-04 Andreas Schwab <schwab@redhat.com>
21060 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21061 declarations for long double functions.
21062 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21064 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21066 2011-11-03 Andreas Schwab <schwab@redhat.com>
21068 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21071 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21074 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21076 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21078 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21080 * include/alloca.h (stackinfo_alloca_round): Define.
21081 (extend_alloca): Use it.
21082 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21083 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21086 * scripts/check-local-headers.sh: Ignore libaudit.h.
21088 * nscd/Makefile (extra-objs): Make recursively expanded.
21090 2011-11-01 Ulrich Drepper <drepper@gmail.com>
21092 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21093 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21095 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21096 * posix/tst-rfc3484-2.c: Likewise.
21097 * posix/tst-rfc3484-3.c: Likewise.
21099 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21101 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21103 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21104 process_vm_writev from libc using GLIBC_2.15 version.
21106 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21108 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21110 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21113 2011-10-31 Ulrich Drepper <drepper@gmail.com>
21116 * nss/getent.c (initgroups_keys): Show error message in case no group
21119 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21120 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21121 __bump_nl_timestamp.
21122 * nscd/connections (nscd_init): When host database is served open
21123 netlink socket and request notification about configuration changes.
21124 (main_loop_poll): Track netlink file descriptor and bump timestamp
21125 in case data becomes available.
21126 (main_loop_epoll): Likewise.
21127 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21128 (database_pers_head): Add extra_data fileds.
21129 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21130 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21131 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21133 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21134 in6ai data, call __free_in6ai.
21135 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21136 Add -DHAVE_NETLINK.
21137 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21138 interface information. Reuse previous data if netlink timestamp
21140 (__bump_nl_timestamp): New function.
21141 (__free_in6ai): New function.
21143 2011-10-30 Ulrich Drepper <drepper@gmail.com>
21145 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21146 close_not_cancel_no_status here.
21147 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21149 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21152 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21155 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21156 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21157 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21159 2011-07-03 Andreas Jaeger <aj@suse.de>
21162 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21163 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21164 * math/libm-test.inc (sin_test): Add test case.
21166 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21169 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21170 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21172 * elf/chroot_canon.c (chroot_canon): Cleanups.
21174 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21177 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21178 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21180 * string/test-strchr.c: Make usable for strchrnul testing.
21181 * string/test-strchrnul.c: New file.
21182 * string/Makefile (strop-tests): Add strchrnul.
21184 * po/it.po: Update from translation team.
21185 * po/es.po: Likewise.
21187 2011-10-28 Ulrich Drepper <drepper@gmail.com>
21189 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21190 the three constants needed as parameters. Drop the others.
21191 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21192 __m128i_strloadu_tolower.
21193 Create and initialize variable zero and use it in all the places
21194 where _mm_setzero_si128 was used.
21196 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21197 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21198 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21199 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21201 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21202 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21203 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21204 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21205 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21206 __mpranred, __mptan.
21207 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21208 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21209 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21210 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21211 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21212 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21213 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21214 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21215 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21217 2011-10-28 Andreas Schwab <schwab@redhat.com>
21219 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21220 redefine if SHARED.
21221 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21223 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21224 wide char related routines to wcsmbs subdir.
21226 2011-10-27 Andreas Schwab <schwab@redhat.com>
21229 * misc/sys/cdefs.h (__THROWNL): Define.
21230 * posix/unistd.h: Use __THREADNL instead of __THREAD
21231 for memory synchronization functions.
21233 2011-10-26 Roland McGrath <roland@hack.frob.com>
21236 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21238 * manual/stdio.texi (Obstack Streams): Node removed.
21240 2011-10-26 Andreas Schwab <schwab@redhat.com>
21242 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21243 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21244 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21246 * math/math_private.h (math_force_eval): Allow non-addressable
21248 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21250 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21252 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21253 file is not needed.
21255 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21256 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21257 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21258 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21259 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21260 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21261 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21262 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21264 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21265 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21266 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21267 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21268 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21269 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21270 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21271 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21272 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21273 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21274 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21275 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21276 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21277 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21278 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21279 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21280 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21281 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21282 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21284 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21285 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21287 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21288 place. Use VEX encoding when compiling for AVX.
21290 2011-10-25 Andreas Schwab <schwab@redhat.com>
21292 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21293 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21295 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21297 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21299 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21300 useless if() expression.
21301 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21302 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21303 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21304 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21305 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21306 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21307 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21308 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21309 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21310 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21311 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21312 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21313 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21314 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21315 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21316 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21317 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21318 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21319 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21321 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21323 2011-10-25 Andreas Schwab <schwab@redhat.com>
21325 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21327 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21329 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21331 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21332 .text section. Avoid duplicate constants.
21333 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21334 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21335 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21336 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21337 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21338 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21339 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21340 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21341 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21342 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21343 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21344 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21345 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21346 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21347 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21348 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21349 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21350 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21351 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21352 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21353 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21354 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21355 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21356 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21357 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21358 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21359 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21360 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21361 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21362 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21363 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21364 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21365 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21366 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21367 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21368 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21369 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21370 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21371 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21372 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21373 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21374 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21375 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21376 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21377 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21379 2011-10-24 Ulrich Drepper <drepper@gmail.com>
21381 * sysdeps/x86_64/dla.h: Move to ...
21382 * sysdeps/x86_64/fpu/dla.h: ...here.
21383 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21384 situations. Use __builtin_fma only for gcc 4.6 and up.
21386 * config.make.in: Add have-mfma4 entry.
21387 * configure.in: Substitute libc_cv_cc_fma4.
21388 * math/Makefile (dbl-only-routines): Add sincostab.
21389 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21390 Use __sincostab not sincos.
21391 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21393 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21394 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21395 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21396 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21398 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21399 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21400 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21401 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21403 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21404 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21406 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21407 define aliases when function name is a macro.
21408 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21409 sysdeps/ieee754/dbl-64/sincos.tbl.
21410 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21411 fma4-enabled routines.
21412 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21413 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21414 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21415 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21416 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21417 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21418 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21419 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21420 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21421 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21422 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21423 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21424 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21425 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21426 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21427 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21428 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21429 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21430 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21431 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21432 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21433 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21434 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21435 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21436 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21437 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21438 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21439 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21440 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21441 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21443 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21445 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21446 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21447 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21448 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21449 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21450 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21451 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21452 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21454 2011-10-24 Andreas Schwab <schwab@redhat.com>
21456 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21458 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21460 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21462 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21464 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21466 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21467 Remove unused variable magic_bits.
21468 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21470 * string/strnlen.c: Define and use STRNLEN macro.
21471 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21472 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21473 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21474 * wcsmbs/wcslen.c: Define and use WCSLEN.
21475 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21476 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21477 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21478 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21479 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21480 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21481 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21483 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21486 strnlen-sse2-no-bsf.
21487 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21488 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21489 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21490 Add strnlen support.
21491 (USE_AS_STRNLEN): New macro.
21492 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21493 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21494 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21495 * sysdeps/x86_64/wcslen.S: New file.
21497 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21499 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21500 XMM-moves are used for copying on small sizes.
21502 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21504 * wcsmbs/Makefile (strop-tests): Add wcschr.
21505 * wcsmbs/test-wcschr.c: New file.
21506 * string/test-strchr.c: Update.
21507 Add wcschr support.
21510 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21512 * wcsmbs/Makefile (strop-tests): Add wcslen.
21513 * wcsmbs/test-wcslen.c: New file.
21514 * string/test-strlen.c: Update.
21515 Add wcslen support.
21518 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21520 * po/it.po: Update from translation team.
21522 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21524 * sysdeps/x86_64/wcscmp.S: Update.
21525 Fix wrong comparison semantics.
21526 wcscmp shall use signed comparison not unsigned.
21527 Don't use substraction to avoid overflow bug.
21528 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21529 * wcsmbc/wcscmp.c: Likewise.
21530 * string/test-strcmp.c: Likewise.
21531 Add new tests to check cases with negative values.
21533 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21535 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21536 * sysdeps/x86_64/dla.h: ...here. New file.
21537 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21538 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21539 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21540 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21541 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21542 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21543 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21544 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21545 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21547 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21549 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21550 __ynl_finite aliases.
21552 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21556 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21558 [DLA_FMA] (EMULV): Use DLA_FMA.
21559 [DLA_FMA] (MUL12): Use EMULV.
21560 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21561 that are not needed.
21562 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21563 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21564 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21565 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21566 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21567 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21568 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21570 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21572 * math/s_nan.c: Undef __nan.
21573 * math/s_nanf.c: Undef __nanf.
21574 * math/s_nanl.c: Undef __nanl.
21575 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21578 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21580 * math/s_catan.c: Add branch predictions.
21581 * math/s_catanf.c: Likewise.
21582 * math/s_catanh.c: Likewise.
21583 * math/s_catanhf.c: Likewise.
21584 * math/s_catanhl.c: Likewise.
21585 * math/s_catanl.c: Likewise.
21586 * math/s_cexp.c: Likewise.
21587 * math/s_cexpf.c: Likewise.
21588 * math/s_cexpl.c: Likewise.
21589 * math/s_clog.c: Likewise.
21590 * math/s_clog10.c: Likewise.
21591 * math/s_clog10f.c: Likewise.
21592 * math/s_clog10l.c: Likewise.
21593 * math/s_clogf.c: Likewise.
21594 * math/s_clogl.c: Likewise.
21595 * math/s_csqrt.c: Likewise.
21596 * math/s_csqrtf.c: Likewise.
21597 * math/s_csqrtl.c: Likewise.
21598 * math/s_ctanf.c: Likewise.
21599 * math/s_ctanh.c: Likewise.
21600 * math/s_ctanhf.c: Likewise.
21601 * math/s_ctanhl.c: Likewise.
21602 * math/s_ctanl.c: Likewise.
21604 * math/math_private.h: Define __nan, __nanf, __nanl.
21605 * math/s_cacosh.c: Include <math_private.h>.
21606 * math/s_cacoshl.c: Likewise.
21607 * math/s_casinh.c: Likewise.
21608 * math/s_casinhf.c: Likewise.
21609 * math/s_casinhl.c: Likewise.
21610 * math/s_ccos.c: Rely entire on ccosh.
21611 * math/s_ccosf.c: Rely entire on ccoshf.
21612 * math/s_ccosl.c: Rely entirely on ccoshl.
21613 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21614 Remove tests for FE_INVALID.
21615 * math/s_ccoshf.c: Likewise.
21616 * math/s_ccoshl.c: Likewise.
21617 * math/s_csin.c: Likewise.
21618 * math/s_csinf.c: Likewise.
21619 * math/s_csinh.c Likewise.
21620 * math/s_csinhf.c: Likewise.
21621 * math/s_csinhl.c: Likewise.
21622 * math/s_csinl.c: Likewise.
21623 * math/s_ctan.c: Likewise.
21624 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21625 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21626 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21628 2011-10-21 Ulrich Drepper <drepper@gmail.com>
21630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21631 compilation problems.
21633 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21636 2011-10-20 Ulrich Drepper <drepper@gmail.com>
21638 * sysdeps/i386/configure.in: Test for -mfma4 option.
21639 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21640 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21641 COMMON_CPUID_INDEX_80000001.
21642 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21643 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21644 use it if FMA3 is not supported.
21645 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21647 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21648 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21650 2011-10-20 Andreas Schwab <schwab@redhat.com>
21653 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21654 it would create a cycle with a link time dependency.
21656 2011-10-19 Ulrich Drepper <drepper@gmail.com>
21658 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21660 * string/Makefile (strop-tests): Add rawmemchr.
21661 * string/test-rawmemchr.c: New file.
21663 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21664 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21665 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21666 when compiling str{,n}casecmp and when AVX is available. Hook up
21667 new optimized code in initializers.
21669 2011-10-19 Andreas Schwab <schwab@redhat.com>
21671 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21672 __feraiseexcept instead of feraiseexcept.
21674 2011-10-18 Ulrich Drepper <drepper@gmail.com>
21676 * math/math_private.h: Define defaults for libc_fetestexcept and
21678 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21679 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21680 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21681 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21682 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21683 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21684 libc_fetestexcept and libc_feupdateenv.
21686 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21687 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21688 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21689 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21690 libc_feholdexcept_setround.
21692 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21693 Add s_nearbyint-c and s_nearbyintf-c.
21694 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21695 nearbyintf inlines.
21696 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21697 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21698 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21699 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21701 * math/math_private.h: Define defaults for libc_fegetround,
21702 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21703 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21704 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21705 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21706 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21707 standard functions.
21708 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21709 Remove comments and hacks for old compiler versions.
21710 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21711 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21712 libc_feholdexceptl.
21714 2011-10-18 Andreas Schwab <schwab@redhat.com>
21716 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21717 (__feraiseexcept_renamed): Add __NTH.
21718 (feraiseexcept): Add __NTH. Rename local variables to fix
21719 namespace violations.
21721 2011-10-17 Ulrich Drepper <drepper@gmail.com>
21723 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21725 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21727 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21728 recently added interfaces.
21729 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21731 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21732 about macro parameter expansion.
21734 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21735 __NO_MATH_INLINES is defined. Cleanups.
21737 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21738 and __floorf is target has SSE4.1.
21739 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21740 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21741 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21742 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21744 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21746 (floorf): Likewise.
21748 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21750 2011-10-17 Andreas Schwab <schwab@redhat.com>
21752 * misc/sys/cdefs.h: Fix last change.
21754 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21757 2011-10-16 Ulrich Drepper <drepper@gmail.com>
21759 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21761 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21762 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21763 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21764 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21765 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21766 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21767 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21768 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21769 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21770 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21771 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21772 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21773 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21774 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21775 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21776 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21777 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21778 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21779 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21780 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21781 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21782 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21784 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21785 ceil, ceilf, floor, floorf.
21787 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21788 Perform IRELATIVE relocations last.
21790 * elf/do-rel.h: Add another parameter nrelative, replacing the
21791 local variable with the same name. Change name of the function
21792 to end in Rel or Rela (uppercase).
21793 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21794 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21795 elf_dynamic_do_##reloc function.
21797 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21799 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21800 is sufficient, at least on modern CPUs.
21802 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21804 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21805 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21807 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21809 * math/bits/math-finite.h: Add entries for exp.
21810 * math/e_expl.c: Add __*_finite alias.
21811 * sysdeps/i386/fpu/e_exp.S: Likewise.
21812 * sysdeps/i386/fpu/e_expf.S: Likewise.
21813 * sysdeps/i386/fpu/e_expl.c: Likewise.
21814 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21815 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21816 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21817 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21818 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21819 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21820 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21822 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21823 is sufficient, at least on modern CPUs.
21825 * ctype/ctype-info.c (__ctype_init): Define.
21826 * include/ctype.h (__ctype_init): Declare.
21827 (__ctype_b_loc): The variable is always initialized.
21828 (__ctype_toupper_loc): Likewise.
21829 (__ctype_tolower_loc): Likewise.
21830 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21831 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21833 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21835 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21837 * configure.in: Also look in $cxxmachine/include for C++ system
21840 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21842 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21843 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21844 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21845 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21846 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21847 (USE_AS_WMEMCMP): New macro.
21849 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21850 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21851 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21852 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21853 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21854 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21855 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21856 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21857 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21858 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21859 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21860 (USE_AS_WMEMCMP): New macro.
21861 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21862 * sysdeps/string/test-memcmp.c: Update.
21863 Fix simple_wmemcmp.
21865 * wcsmbs/wmemcmp.c: Update.
21866 (WMEMCMP): New macro.
21869 2011-10-12 Andreas Jaeger <aj@suse.de>
21872 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21874 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21876 * libio/iofwide.c (do_length): Avoid warning.
21878 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21880 2011-10-14 Ulrich Drepper <drepper@gmail.com>
21882 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21884 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21885 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21886 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21887 * sysdeps/i386/i686/fpu/e_log.S: New file.
21888 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21889 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21891 * ctype/ctype.h: Add support for inlined isXXX functions when
21892 compiling C++ code.
21894 2011-10-14 Andreas Schwab <schwab@redhat.com>
21896 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21898 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21900 2011-10-13 Roland McGrath <roland@hack.frob.com>
21903 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21905 2011-10-13 Andreas Schwab <schwab@redhat.com>
21907 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21908 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21911 * sysdeps/x86_64/memrchr.S: Check for zero size.
21913 * string/stratcliff.c: Add memrchr tests.
21915 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21917 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21918 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21919 rawmemchr-sse2 rawmemchr-sse2-bsf.
21920 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21921 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21922 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21923 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21924 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21925 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21926 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21927 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21928 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21929 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21930 * string/memrchr.c (MEMRCHR): New macro.
21932 2011-10-12 Ulrich Drepper <drepper@gmail.com>
21934 Add integration with gcc's -ffinite-math-only and optimize wrapper
21936 * Versions.def: Define GLIBC_2.15 version for libm.
21937 * math/Makefile (headers): Add bits/math-finite.h.
21938 * math/bits/math-finite.h: New file.
21939 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21940 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21941 * math/e_acoshl.c: Add __*_finite alias.
21942 * math/e_acosl.c: Likewise.
21943 * math/e_asinl.c: Likewise.
21944 * math/e_atan2l.c: Likewise.
21945 * math/e_atanhl.c: Likewise.
21946 * math/e_coshl.c: Likewise.
21947 * math/e_exp10.c: Likewise.
21948 * math/e_exp10f.c: Likewise.
21949 * math/e_exp10l.c: Likewise.
21950 * math/e_exp2l.c: Likewise.
21951 * math/e_fmodl.c: Likewise.
21952 * math/e_gammal_r.c: Likewise.
21953 * math/e_hypotl.c: Likewise.
21954 * math/e_j0l.c: Likewise.
21955 * math/e_j1l.c: Likewise.
21956 * math/e_jnl.c: Likewise.
21957 * math/e_lgammal_r.c: Likewise.
21958 * math/e_log10l.c: Likewise.
21959 * math/e_log2l.c: Likewise.
21960 * math/e_logl.c: Likewise.
21961 * math/e_powl.c: Likewise.
21962 * math/e_sinhl.c: Likewise.
21963 * math/e_sqrtl.c: Likewise.
21964 * math/e_scalb.c: Completely rewritten and optimized.
21965 * math/e_scalbf.c: Likewise.
21966 * math/e_scalbl.c: Likewise.
21967 * math/w_acos.c: Likewise.
21968 * math/w_acosf.c: Likewise.
21969 * math/w_acosl.c: Likewise.
21970 * math/w_acosh.c: Likewise.
21971 * math/w_acoshf.c: Likewise.
21972 * math/w_acoshl.c: Likewise.
21973 * math/w_asin.c: Likewise.
21974 * math/w_asinf.c: Likewise.
21975 * math/w_asinl.c: Likewise.
21976 * math/w_atan2.c: Likewise.
21977 * math/w_atan2f.c: Likewise.
21978 * math/w_atan2l.c: Likewise.
21979 * math/w_atanh.c: Likewise.
21980 * math/w_atanhf.c: Likewise.
21981 * math/w_atanhl.c: Likewise.
21982 * math/w_exp10.c: Likewise.
21983 * math/w_exp10f.c: Likewise.
21984 * math/w_exp10l.c: Likewise.
21985 * math/w_fmod.c: Likewise.
21986 * math/w_fmodf.c: Likewise.
21987 * math/w_fmodl.c: Likewise.
21988 * math/w_j0.c: Likewise.
21989 * math/w_j0f.c: Likewise.
21990 * math/w_j0l.c: Likewise.
21991 * math/w_j1.c: Likewise.
21992 * math/w_j1f.c: Likewise.
21993 * math/w_j1l.c: Likewise.
21994 * math/w_jn.c: Likewise.
21995 * math/w_jnf.c: Likewise.
21996 * math/w_log.c: Likewise.
21997 * math/w_logf.c: Likewise.
21998 * math/w_logl.c: Likewise.
21999 * math/w_log10.c: Likewise.
22000 * math/w_log10f.c: Likewise.
22001 * math/w_log10l.c: Likewise.
22002 * math/w_log2.c: Likewise.
22003 * math/w_log2f.c: Likewise.
22004 * math/w_log2l.c: Likewise.
22005 * math/w_pow.c: Likewise.
22006 * math/w_powf.c: Likewise.
22007 * math/w_powl.c: Likewise.
22008 * math/w_remainder.c: Likewise.
22009 * math/w_remainderf.c: Likewise.
22010 * math/w_remainderl.c: Likewise.
22011 * math/w_scalb.c: Likewise.
22012 * math/w_scalbf.c: Likewise.
22013 * math/w_scalbl.c: Likewise.
22014 * math/w_sqrt.c: Likewise.
22015 * math/w_sqrtf.c: Likewise.
22016 * math/w_sqrtl.c: Likewise.
22017 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22018 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22020 * math/math_private.h: Declare __kernel_standard_f.
22021 * math/w_cosh.c: Remove cruft and optimize a bit.
22022 * math/w_coshf.c: Likewise.
22023 * math/w_coshl.c: Likewise.
22024 * math/w_exp2.c: Likewise.
22025 * math/w_exp2f.c: Likewise.
22026 * math/w_exp2l.c: Likewise.
22027 * math/w_hypot.c: Likewise.
22028 * math/w_hypotf.c: Likewise.
22029 * math/w_hypotl.c: Likewise.
22030 * math/w_lgamma.c: Likewise.
22031 * math/w_lgamma_r.c: Likewise.
22032 * math/w_lgammaf.c: Likewise.
22033 * math/w_lgammaf_r.c: Likewise.
22034 * math/w_lgammal.c: Likewise.
22035 * math/w_lgammal_r.c: Likewise.
22036 * math/w_sinh.c: Likewise.
22037 * math/w_sinhf.c: Likewise.
22038 * math/w_sinhl.c: Likewise.
22039 * math/w_tgamma.c: Likewise.
22040 * math/w_tgammaf.c: Likewise.
22041 * math/w_tgammal.c: Likewise.
22042 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22043 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22044 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22045 Minor optimizations. Pretty printing. Remove cruft.
22046 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22047 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22048 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22049 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22050 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22051 * sysdeps/i386/fpu/e_asin.S: Likewise.
22052 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22053 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22054 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22055 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22056 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22057 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22058 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22059 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22060 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22061 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22062 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22063 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22064 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22065 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22066 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22067 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22068 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22069 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22070 * sysdeps/i386/fpu/e_log.S: Likewise.
22071 * sysdeps/i386/fpu/e_log10.S: Likewise.
22072 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22073 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22074 * sysdeps/i386/fpu/e_log2.S: Likewise.
22075 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22076 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22077 * sysdeps/i386/fpu/e_logf.S: Likewise.
22078 * sysdeps/i386/fpu/e_logl.S: Likewise.
22079 * sysdeps/i386/fpu/e_pow.S: Likewise.
22080 * sysdeps/i386/fpu/e_powf.S: Likewise.
22081 * sysdeps/i386/fpu/e_powl.S: Likewise.
22082 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22083 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22084 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22085 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22086 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22087 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22088 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22089 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22090 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22091 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22092 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22093 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22094 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22095 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22096 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22097 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22098 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22099 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22100 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22101 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22102 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22103 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22104 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22105 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22106 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22107 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22108 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22109 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22110 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22111 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22112 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22113 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22114 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22115 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22116 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22117 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22118 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22119 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22120 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22121 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22122 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22123 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22124 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22125 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22126 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22127 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22128 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22129 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22130 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22131 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22132 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22133 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22134 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22135 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22136 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22137 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22138 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22139 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22140 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22141 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22142 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22143 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22144 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22145 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22146 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22147 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22148 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22149 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22150 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22151 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22152 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22153 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22154 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22155 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22156 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22157 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22158 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22159 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22160 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22161 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22162 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22163 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22164 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22165 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22166 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22167 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22168 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22169 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22170 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22171 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22172 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22173 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22174 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22175 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22176 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22177 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22178 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22179 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22180 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22181 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22182 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22183 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22184 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22185 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22186 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22187 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22188 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22189 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22190 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22191 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22192 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22193 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22194 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22195 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22196 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22197 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22198 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22199 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22200 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22201 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22202 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22203 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22204 (__isnanf): Likewise.
22205 (__isinf_ns): Likewise.
22206 (__isinf_nsf): Likewise.
22207 (__finite): Likewise.
22208 (__finitef): Likewise.
22209 (__ieee754_sqrt): Define as macro.
22210 (__ieee754_sqrtf): Define as macro.
22211 (__ieee754_sqrtl): Define as macro.
22212 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22214 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22215 __FINITE_MATH_ONLY__ consistent.
22216 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22218 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22220 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22223 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22225 2011-10-09 Ulrich Drepper <drepper@gmail.com>
22227 * po/ja.po: Update from translation team.
22229 2011-10-08 Roland McGrath <roland@hack.frob.com>
22231 * locale/programs/locarchive.c (prepare_address_space): New function.
22232 (create_archive, enlarge_archive, open_archive): Use it.
22234 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22235 inside [SHARED], where it is used.
22237 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22239 * nss/getent.c (netgroup_keys): Remove unused variable.
22240 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22242 2011-10-08 Ulrich Drepper <drepper@gmail.com>
22244 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22245 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22246 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22247 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22248 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22249 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22250 * math/Makefile (libm-calls): Add s_isinf_ns.
22251 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22252 * math/multc3.c: Likewise.
22253 * math/s_casin.c: Likewise.
22254 * math/s_casinf.c: Likewise.
22255 * math/s_casinl.c: Likewise.
22256 * math/s_ccos.c: Likewise.
22257 * math/s_ccosf.c: Likewise.
22258 * math/s_ccosl.c: Likewise.
22259 * math/s_ctan.c: Likewise.
22260 * math/s_ctanf.c: Likewise.
22261 * math/s_ctanh.c: Likewise.
22262 * math/s_ctanhf.c: Likewise.
22263 * math/s_ctanhl.c: Likewise.
22264 * math/s_ctanl.c: Likewise.
22265 * math/w_fmod.c: Likewise.
22266 * math/w_fmodf.c: Likewise.
22267 * math/w_fmodl.c: Likewise.
22268 * math/w_remainder.c: Likewise.
22269 * math/w_remainderf.c: Likewise.
22270 * math/w_remainderl.c: Likewise.
22271 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22272 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22273 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22274 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22275 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22276 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22277 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22278 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22280 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22282 * stdio-common/printf_fphex.c: Likewise.
22283 * stdio-common/printf_size.c: Likewise.
22285 * math/e_exp10.c: Include math_private.h using <...> not "...".
22286 * math/e_exp10f.c: Likewise.
22287 * math/e_exp10l.c: Likewise.
22288 * math/e_exp2l.c: Likewise.
22289 * math/e_j0l.c: Likewise.
22290 * math/e_j1l.c: Likewise.
22291 * math/e_jnl.c: Likewise.
22292 * math/e_lgammal_r.c: Likewise.
22293 * math/e_rem_pio2l.c: Likewise.
22294 * math/e_scalb.c: Likewise.
22295 * math/e_scalbf.c: Likewise.
22296 * math/e_scalbl.c: Likewise.
22297 * math/k_cosl.c: Likewise.
22298 * math/k_sinl.c: Likewise.
22299 * math/k_tanl.c: Likewise.
22300 * math/s_cacoshf.c: Likewise.
22301 * math/s_catan.c: Likewise.
22302 * math/s_catanf.c: Likewise.
22303 * math/s_catanh.c: Likewise.
22304 * math/s_catanhf.c: Likewise.
22305 * math/s_catanhl.c: Likewise.
22306 * math/s_catanl.c: Likewise.
22307 * math/s_ccosh.c: Likewise.
22308 * math/s_ccoshf.c: Likewise.
22309 * math/s_ccoshl.c: Likewise.
22310 * math/s_cexp.c: Likewise.
22311 * math/s_cexpf.c: Likewise.
22312 * math/s_cexpl.c: Likewise.
22313 * math/s_clog.c: Likewise.
22314 * math/s_clog10.c: Likewise.
22315 * math/s_clog10f.c: Likewise.
22316 * math/s_clog10l.c: Likewise.
22317 * math/s_clogf.c: Likewise.
22318 * math/s_clogl.c: Likewise.
22319 * math/s_csin.c: Likewise.
22320 * math/s_csinf.c: Likewise.
22321 * math/s_csinh.c: Likewise.
22322 * math/s_csinhf.c: Likewise.
22323 * math/s_csinhl.c: Likewise.
22324 * math/s_csinl.c: Likewise.
22325 * math/s_csqrt.c: Likewise.
22326 * math/s_csqrtf.c: Likewise.
22327 * math/s_csqrtl.c: Likewise.
22328 * math/s_ctan.c: Likewise.
22329 * math/s_ctanf.c: Likewise.
22330 * math/s_ctanh.c: Likewise.
22331 * math/s_ctanhf.c: Likewise.
22332 * math/s_ctanhl.c: Likewise.
22333 * math/s_ctanl.c: Likewise.
22334 * math/s_ldexp.c: Likewise.
22335 * math/s_ldexpf.c: Likewise.
22336 * math/s_ldexpl.c: Likewise.
22337 * math/s_significand.c: Likewise.
22338 * math/s_significandf.c: Likewise.
22339 * math/s_significandl.c: Likewise.
22340 * math/w_acos.c: Likewise.
22341 * math/w_acosf.c: Likewise.
22342 * math/w_acosh.c: Likewise.
22343 * math/w_acoshf.c: Likewise.
22344 * math/w_acoshl.c: Likewise.
22345 * math/w_acosl.c: Likewise.
22346 * math/w_asin.c: Likewise.
22347 * math/w_asinf.c: Likewise.
22348 * math/w_asinl.c: Likewise.
22349 * math/w_atan2.c: Likewise.
22350 * math/w_atan2f.c: Likewise.
22351 * math/w_atan2l.c: Likewise.
22352 * math/w_atanh.c: Likewise.
22353 * math/w_atanhf.c: Likewise.
22354 * math/w_atanhl.c: Likewise.
22355 * math/w_cosh.c: Likewise.
22356 * math/w_coshf.c: Likewise.
22357 * math/w_coshl.c: Likewise.
22358 * math/w_dremf.c: Likewise.
22359 * math/w_exp10.c: Likewise.
22360 * math/w_exp10f.c: Likewise.
22361 * math/w_exp10l.c: Likewise.
22362 * math/w_exp2.c: Likewise.
22363 * math/w_exp2f.c: Likewise.
22364 * math/w_fmod.c: Likewise.
22365 * math/w_fmodf.c: Likewise.
22366 * math/w_fmodl.c: Likewise.
22367 * math/w_hypot.c: Likewise.
22368 * math/w_hypotf.c: Likewise.
22369 * math/w_hypotl.c: Likewise.
22370 * math/w_j0.c: Likewise.
22371 * math/w_j0f.c: Likewise.
22372 * math/w_j0l.c: Likewise.
22373 * math/w_j1.c: Likewise.
22374 * math/w_j1f.c: Likewise.
22375 * math/w_j1l.c: Likewise.
22376 * math/w_jn.c: Likewise.
22377 * math/w_jnf.c: Likewise.
22378 * math/w_jnl.c: Likewise.
22379 * math/w_lgamma.c: Likewise.
22380 * math/w_lgamma_r.c: Likewise.
22381 * math/w_lgammaf.c: Likewise.
22382 * math/w_lgammaf_r.c: Likewise.
22383 * math/w_lgammal.c: Likewise.
22384 * math/w_lgammal_r.c: Likewise.
22385 * math/w_log.c: Likewise.
22386 * math/w_log10.c: Likewise.
22387 * math/w_log10f.c: Likewise.
22388 * math/w_log10l.c: Likewise.
22389 * math/w_log2.c: Likewise.
22390 * math/w_log2f.c: Likewise.
22391 * math/w_log2l.c: Likewise.
22392 * math/w_logf.c: Likewise.
22393 * math/w_logl.c: Likewise.
22394 * math/w_pow.c: Likewise.
22395 * math/w_powf.c: Likewise.
22396 * math/w_powl.c: Likewise.
22397 * math/w_remainder.c: Likewise.
22398 * math/w_remainderf.c: Likewise.
22399 * math/w_remainderl.c: Likewise.
22400 * math/w_scalb.c: Likewise.
22401 * math/w_scalbf.c: Likewise.
22402 * math/w_scalbl.c: Likewise.
22403 * math/w_sinh.c: Likewise.
22404 * math/w_sinhf.c: Likewise.
22405 * math/w_sinhl.c: Likewise.
22406 * math/w_sqrt.c: Likewise.
22407 * math/w_sqrtf.c: Likewise.
22408 * math/w_sqrtl.c: Likewise.
22409 * math/w_tgamma.c: Likewise.
22410 * math/w_tgammaf.c: Likewise.
22411 * math/w_tgammal.c: Likewise.
22413 * po/ja.po: Update from translation team.
22415 2011-09-29 Andreas Jaeger <aj@suse.de>
22418 * sunrpc/netname.c (netname2host): Fix logic.
22422 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22424 * math/w_remainder.c (__remainder): Likewise.
22425 * math/w_remainderf.c (__remainderf): Likewise.
22426 * math/libm-test.inc (remainder_test): Add test cases.
22428 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22430 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22433 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22435 * string/test-memcmp.c: Avoid unncessary #defines.
22436 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22438 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22440 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22441 Use new sse2 version for core i3 - i7 as it's faster
22442 than sse42 version.
22443 (bit_Prefer_PMINUB_for_stringop): New.
22444 * sysdeps/x86_64/rawmemchr.S: Update.
22445 Replace with faster SSE2 version.
22446 * sysdeps/x86_64/memrchr.S: New file.
22447 * sysdeps/x86_64/memchr.S: Update.
22448 Replace with faster SSE2 version.
22450 2011-09-12 Marek Polacek <mpolacek@redhat.com>
22452 * elf/dl-load.c (lose): Add cast to avoid warning.
22454 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22456 * po/ca.po: Update from translation team.
22458 * inet/getnetgrent_r.c: Hook up nscd.
22459 * nscd/Makefile (routines): Add nscd_netgroup.
22460 (nscd-modules): Add netgroupcache.
22461 (CFLAGS-netgroupcache.c): Define.
22462 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22463 (cache_search): Add const to second parameter.
22464 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22466 (dbs): Add netgrdb entry.
22467 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22468 (verify_persistent_db): Handle netgrdb.
22469 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22470 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22472 (netgroup_response_header): Define.
22473 (innetgroup_response_header): Define.
22474 (datahead): Add netgroup_response_header and innetgroup_response_header
22476 * nscd/nscd.conf: Add entries for netgroup cache.
22477 * nscd/nscd.h (dbtype): Add netgrdb.
22478 (_PATH_NSCD_NETGROUP_DB): Define.
22479 (netgroup_iov_disabled): Declare.
22480 (xmalloc, xcalloc, xrealloc): Move declarations here.
22481 (cache_search): Adjust prototype.
22482 Add netgroup-related prototypes.
22483 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22484 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22485 (__nscd_innetgr): Declare.
22486 * nscd/selinux.c (perms): Use access_vector_t as element type and
22487 add netgroup-related initializers.
22488 * nscd/netgroupcache.c: New file.
22489 * nscd/nscd_netgroup.c: New file.
22490 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22491 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22492 For four parameters use innetgr.
22493 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22494 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22495 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22496 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22498 * nscd/connections.c (register_traced_file): Don't register file
22499 for disabled databases.
22501 2011-10-06 Ulrich Drepper <drepper@gmail.com>
22503 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22505 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22506 from tree and freeing node.
22508 2011-09-25 Jiri Olsa <jolsa@redhat.com>
22510 * nss/nsswitch.c (__nss_database_lookup): Handle
22511 nss_parse_service_list out of memory case.
22513 2011-09-15 Jiri Olsa <jolsa@redhat.com>
22515 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22516 out of memory case.
22518 2011-10-04 Andreas Schwab <schwab@redhat.com>
22520 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22521 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22523 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22524 elf_machine_rela, elf_machine_lazy_rel.
22525 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22526 (ELF_DYNAMIC_DO_REL): Likewise.
22527 (ELF_DYNAMIC_DO_RELA): Likewise.
22528 (ELF_DYNAMIC_RELOCATE): Likewise.
22529 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22530 to ELF_DYNAMIC_DO_REL.
22531 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22532 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22533 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22535 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22536 skip_ifunc, don't call ifunc function if non-zero.
22537 (elf_machine_rela): Likewise.
22538 (elf_machine_lazy_rel): Likewise.
22539 (elf_machine_lazy_rela): Likewise.
22540 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22541 (elf_machine_lazy_rel): Likewise.
22542 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22544 (elf_machine_lazy_rel): Likewise.
22545 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22547 (elf_machine_lazy_rel): Likewise.
22548 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22549 (elf_machine_lazy_rel): Likewise.
22550 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22551 (elf_machine_lazy_rel): Likewise.
22552 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22553 (elf_machine_lazy_rel): Likewise.
22554 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22555 (elf_machine_lazy_rel): Likewise.
22556 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22557 (elf_machine_lazy_rel): Likewise.
22558 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22559 (elf_machine_lazy_rel): Likewise.
22561 2011-09-28 Ulrich Drepper <drepper@gmail.com>
22563 * nss/nss_files/files-init.c (_nss_files_init): Use static
22564 initialization for all the *_traced_file variables.
22566 2011-09-28 Andreas Schwab <schwab@redhat.com>
22568 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22570 2011-09-27 Roland McGrath <roland@hack.frob.com>
22573 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22575 2011-09-27 Andreas Schwab <schwab@redhat.com>
22577 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22578 Reread the line before reparsing it.
22580 2011-09-26 Andreas Schwab <schwab@redhat.com>
22582 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22584 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22585 Maxim Kuvyrkov <maxim@codesourcery.com>
22586 Joseph Myers <joseph@codesourcery.com>
22588 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22589 if needed for __stack_chk_guard.
22591 2011-09-19 Roland McGrath <roland@hack.frob.com>
22593 * sysdeps/posix/spawni.c (script_execute): Always define it.
22594 It will be optimized away if unused.
22595 (maybe_script_execute): New function.
22596 (__spawni): Call it.
22598 * Makerules: Don't include tls.make.
22599 (config-tls): Always set to thread.
22600 * tls.make.c: File removed.
22602 2011-09-19 Mike Frysinger <vapier@gentoo.org>
22604 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22605 * config.make.in (CPPFLAGS-config): New substituted variable.
22607 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22609 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22612 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22613 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22615 2011-09-15 Roland McGrath <roland@hack.frob.com>
22617 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22618 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22619 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22620 (CALL_FAIL): Likewise.
22621 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22622 (CALL_FAIL): Macro removed.
22623 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22625 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22627 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22628 for __FINITE_MATH_ONLY__ == 1.
22630 2011-09-15 Andreas Schwab <schwab@redhat.com>
22632 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22633 __ieee754_sqrt instead of sqrt.
22634 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22635 __ieee754_sqrtf instead of sqrtf.
22636 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22637 __floorf instead of floorf.
22638 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22639 __floorf, __truncf instead of floorf, truncf.
22641 2011-09-14 Ulrich Drepper <drepper@gmail.com>
22643 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22645 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22646 __extern_always_inline.
22647 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22650 2011-09-14 Andreas Schwab <schwab@redhat.com>
22652 * elf/rtld.c (dl_main): Also relocate in dependency order when
22653 doing symbol dependency testing.
22655 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22657 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22658 Always define `refsym'.
22660 2011-09-13 Andreas Schwab <schwab@redhat.com>
22662 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22663 (__FD_ELT): Renamed from __FDELT.
22664 * misc/bits/select2.h (__FD_ELT): Likewise.
22665 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22666 __FD_MASK instead of __FDELT, __FDMASK.
22667 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22669 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22672 * elf/Makefile (gen-ldd): Fix pattern.
22674 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22675 (init_tls): Likewise.
22677 2011-09-12 Ulrich Drepper <drepper@gmail.com>
22679 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22681 2011-09-12 Andreas Schwab <schwab@redhat.com>
22683 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22684 `struct cmsghdr *' instead of `void *'.
22685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22688 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22690 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22692 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22693 ldd_rewrite_script.
22695 2011-09-11 Ulrich Drepper <drepper@gmail.com>
22697 * configure.in: Remove --with-tls option.
22698 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22699 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22700 out in case it is missing.
22701 * sysdeps/ia64/elf/configure.in: Likewise.
22702 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22703 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22704 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22705 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22706 * sysdeps/sh/elf/configure.in: Likewise.
22707 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22708 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22709 * sysdeps/x86_64/elf/configure.in: Likewise.
22710 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22711 * sysdeps/mach/hurd/tls.h: Likewise.
22714 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22717 * configure.in: Fix use of AC_INIT.
22719 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22721 2011-09-10 Ulrich Drepper <drepper@gmail.com>
22723 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22725 * malloc/hooks.c: Likewise.
22728 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22729 variables statically.
22730 (narenas): Initialize.
22731 (list_lock): Initialize.
22732 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22733 initializtion of main_arena and list_lock. Small cleanups.
22734 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22735 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22736 Add initializers to main_arena and mp_.
22737 (malloc_state): Remove pagesize member. Change all users to use
22740 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22741 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22742 is always initialized.
22744 * malloc/malloc.c: Removed unused configurations and dead code.
22745 * malloc/arena.c: Likewise.
22746 * malloc/hooks.c: Likewise.
22747 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22749 * include/tls.h: Removed. USE___THREAD must always be defined.
22750 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22751 * elf/dl-libc.c: Likewise.
22752 * elf/dl-tsd.c: Likewise.
22753 * include/errno.h: Likewise.
22754 * include/netdb.h: Likewise.
22755 * include/resolv.h: Likewise.
22756 * inet/herrno-loc.c: Likewise.
22757 * inet/herrno.c: Likewise.
22758 * malloc/arena.c: Likewise.
22759 * malloc/hooks.c: Likewise.
22760 * malloc/malloc.c: Likewise.
22761 * resolv/res-state.c: Likewise.
22762 * resolv/res_libc.c: Likewise.
22763 * sysdeps/i386/dl-machine.h: Likewise.
22764 * sysdeps/ia64/dl-machine.h: Likewise.
22765 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22766 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22767 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22768 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22769 * sysdeps/sh/dl-machine.h: Likewise.
22770 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22771 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22772 * sysdeps/unix/i386/sysdep.S: Likewise.
22773 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22774 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22775 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22776 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22777 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22778 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22779 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22780 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22781 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22782 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22783 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22784 * sysdeps/x86_64/dl-machine.h: Likewise.
22785 * tls.make.c: Likewise.
22787 * configure.in: Remove --with-__thread option. Make tests for
22788 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22789 tls_model attribute fail if no support is available. Remove
22791 * Makeconfig: Adjust for dropped configure option. All features are
22793 * Makerules: Likewise.
22794 * Versions.def: Likewise.
22795 * argp/argp-fmtstream.c: Likewise.
22796 * argp/argp-fmtstream.h: Likewise.
22797 * argp/argp-help.c: Likewise.
22798 * assert/assert.c: Likewise.
22799 * config.h.in: Likewise.
22800 * config.make.in: Likewise.
22801 * configure: Likewise.
22802 * configure.in: Likewise.
22803 * csu/Versions: Likewise.
22804 * csu/init.c: Likewise.
22805 * elf/tst-audit2.c: Likewise.
22806 * elf/tst-tls10.c: Likewise.
22807 * elf/tst-tls10.h: Likewise.
22808 * elf/tst-tls11.c: Likewise.
22809 * elf/tst-tls12.c: Likewise.
22810 * elf/tst-tls14.c: Likewise.
22811 * elf/tst-tlsmod11.c: Likewise.
22812 * elf/tst-tlsmod12.c: Likewise.
22813 * elf/tst-tlsmod13.c: Likewise.
22814 * elf/tst-tlsmod13a.c: Likewise.
22815 * elf/tst-tlsmod14a.c: Likewise.
22816 * elf/tst-tlsmod15b.c: Likewise.
22817 * elf/tst-tlsmod16a.c: Likewise.
22818 * elf/tst-tlsmod16b.c: Likewise.
22819 * elf/tst-tlsmod7.c: Likewise.
22820 * elf/tst-tlsmod8.c: Likewise.
22821 * elf/tst-tlsmod9.c: Likewise.
22822 * gmon/gmon.c: Likewise.
22823 * grp/fgetgrent_r.c: Likewise.
22824 * grp/putgrent.c: Likewise.
22825 * hurd/fopenport.c: Likewise.
22826 * include/libc-symbols.h: Likewise.
22827 * include/tls.h: Likewise.
22828 * intl/gettextP.h: Likewise.
22829 * intl/loadinfo.h: Likewise.
22830 * locale/global-locale.c: Likewise.
22831 * locale/localeinfo.h: Likewise.
22832 * mach/devstream.c: Likewise.
22833 * malloc/arena.c: Likewise.
22834 * malloc/set-freeres.c: Likewise.
22835 * misc/err.c: Likewise.
22836 * misc/getttyent.c: Likewise.
22837 * misc/mntent_r.c: Likewise.
22838 * posix/getopt.c: Likewise.
22839 * posix/wordexp.c: Likewise.
22840 * pwd/fgetpwent_r.c: Likewise.
22841 * resolv/Versions: Likewise.
22842 * resolv/res_hconf.c: Likewise.
22843 * shadow/fgetspent_r.c: Likewise.
22844 * shadow/putspent.c: Likewise.
22845 * stdio-common/printf_fphex.c: Likewise.
22846 * stdio-common/tmpfile.c: Likewise.
22847 * stdlib/abort.c: Likewise.
22848 * stdlib/fmtmsg.c: Likewise.
22849 * sunrpc/auth_unix.c: Likewise.
22850 * sunrpc/clnt_perr.c: Likewise.
22851 * sunrpc/clnt_tcp.c: Likewise.
22852 * sunrpc/clnt_udp.c: Likewise.
22853 * sunrpc/clnt_unix.c: Likewise.
22854 * sunrpc/openchild.c: Likewise.
22855 * sunrpc/svc_simple.c: Likewise.
22856 * sunrpc/svc_tcp.c: Likewise.
22857 * sunrpc/svc_udp.c: Likewise.
22858 * sunrpc/svc_unix.c: Likewise.
22859 * sunrpc/xdr.c: Likewise.
22860 * sunrpc/xdr_array.c: Likewise.
22861 * sunrpc/xdr_rec.c: Likewise.
22862 * sunrpc/xdr_ref.c: Likewise.
22863 * sunrpc/xdr_stdio.c: Likewise.
22865 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22867 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22869 2011-07-03 Andreas Jaeger <aj@suse.de>
22871 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22872 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22873 regenerate with gen-libm-tests.pl.
22875 2010-05-12 Petr Baudis <pasky@suse.cz>
22878 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22879 around j0() zero points by switching to j1().
22880 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22881 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22882 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22883 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22885 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22887 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22889 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22891 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22892 Patch in part by Pavel Roskin <proski@gnu.org>.
22895 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22897 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22898 Free memory block if necessary.
22901 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22902 be NULL. Don't lock in this case.
22904 2011-09-09 Roland McGrath <roland@hack.frob.com>
22906 * elf/elf.h (ELFOSABI_GNU): New macro.
22907 (ELFOSABI_LINUX): Define to that.
22909 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22911 * string/strncat.c (strncat): Undef the symbol in case it has been
22912 defined in bits/string.h.
22914 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22916 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22918 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22921 2011-08-17 Andreas Jaeger <aj@suse.de>
22923 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22925 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22926 Ian Lance Taylor <iant@google.com>
22928 * math/libm-test.inc (lround_test): New testcase.
22929 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22931 2011-09-08 Ulrich Drepper <drepper@gmail.com>
22933 * Makefile: Remove support for automatic cvs check-ins.
22934 * Makerules: Likewise.
22935 * config.make.in: Likewise.
22936 * configure.in: Likewise.
22937 * intl/Makefile: Likewise.
22938 * locale/Makefile: Likewise.
22939 * po/Makefile: Likewise.
22940 * posix/Makefile: Likewise.
22941 * sysdeps/gnu/Makefile: Likewise.
22942 * sysdeps/mach/hurd/Makefile: Likewise.
22943 * sysdeps/sparc/sparc32/Makefile: Likewise.
22946 * posix/Makefile (bug-regex32-ENV): Define.
22947 Patch by John Stanley <jpsinthemix@verizon.net>.
22949 * misc/Makefile (headers): Add bits/select2.h.
22950 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22951 * misc/bits/select2.h: New file.
22952 * include/bits/select2.h: New file.
22953 * debug/Makefile (routines): Add fdelt_chk.
22954 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22955 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22957 * debug/fdelt_chk.c: New file.
22959 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22960 * wcsmbs/test-wmemcmp.c: Likewise.
22961 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22962 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22964 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22966 * string/Makefile (strop-tests): Add memcmp.
22967 * string/test-wmemcmp.c: New file.
22968 * string/test-memcmp.c: Add wmemcmp support.
22970 2011-09-08 Roland McGrath <roland@hack.frob.com>
22973 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22976 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22977 garbage value in a __mach_port_mod_refs call in the cases of the
22978 task-self and thread-self ports.
22980 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22982 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22984 2011-09-08 Andreas Schwab <schwab@redhat.com>
22986 * elf/dl-load.c (lose): Check for non-null L.
22988 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22990 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22992 * elf/dl-libc.c (dlerror_run): Pass back error code from
22996 * elf/dl-load.c (lose): Free l_origin if it is valid.
22998 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23000 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23001 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23002 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23003 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23004 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23005 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23007 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23009 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23010 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23011 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23012 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23013 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23014 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23015 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23016 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23017 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23018 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23020 2011-08-15 Alan Modra <amodra@gmail.com>
23023 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23024 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23025 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23026 ppc_mcount to static-only-routines.
23027 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23029 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23030 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23032 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23034 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23035 for finite and infinity parameters.
23037 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23039 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23040 and add nop instructions for throughput optimization.
23041 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23043 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23045 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23046 aligned copy for power7 with vector-scalar instructions.
23047 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23049 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23051 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23054 2011-09-07 Andreas Schwab <schwab@redhat.com>
23057 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23060 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23062 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23063 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23064 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23065 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23068 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23070 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23071 Forgot to demangle the pointer.
23073 * sysdeps/i386/sysdep.h: Define atom_text_section.
23074 * sysdeps/x86_64/sysdep.h: Likewise.
23075 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23076 section with atom_text_section.
23077 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23078 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23079 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23080 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23081 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23083 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23084 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23085 already be defined. Change to take two parameters and don't assign
23086 result to variable. Adjust all users.
23087 Define INTERNAL_GETTIME if not already defined.
23088 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23090 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23091 HAVE_CLOCK_GETTIME_VSYSCALL.
23092 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23094 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23095 gettimeofday vsyscall, just use time.
23097 2011-09-06 Andreas Schwab <schwab@redhat.com>
23099 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23102 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23104 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23106 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23108 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23109 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23110 syscall if possible.
23112 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23114 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23115 e_ident. Don't pass to find_mapsXX.
23116 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23118 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23121 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23122 * sysdeps/x86_64/multiarch/strchr.S: Update.
23123 Check bit_slow_BSF bit.
23124 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23125 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23126 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23128 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23131 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23133 (tryshell): Define.
23134 (__spawni): Change last parameter to be flag. Test
23135 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23136 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23137 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23138 * posix/spawni.c: Likewise.
23139 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23140 * posix/spawnp.c: Likewise. Change normal version to use
23141 SPAWN_XFLAGS_USE_PATH.
23142 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23143 SPAWN_XFLAGS_TRY_SHELL.
23146 * posix/glob.h: Remove gcc 1.x support.
23149 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23151 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23154 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23156 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23157 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23158 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23159 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23160 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23161 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23163 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23165 * sysdeps/x86_64/wcscmp.S: New file.
23167 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23168 wcscmp-c wcscmp-sse2
23169 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23170 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23171 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23172 * wcsmbs/wcscmp.c: Allow renaming.
23174 2011-09-05 David S. Miller <davem@davemloft.net>
23176 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23177 stack slot, rather than the struct return pointer slot.
23178 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23179 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23181 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23183 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23185 * po/ja.po: Update from translation team.
23188 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23189 kernel in 64-bit binaries.
23191 2011-09-01 David S. Miller <davem@davemloft.net>
23193 * elf/elf.h (HWCAP_SPARC_*): Move to..
23194 * sysdeps/sparc/sysdep.h: this new file and add new values.
23195 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23196 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23197 _DL_HWCAP_COUNT to 24.
23198 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23200 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23201 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23202 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23203 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23204 instead of magic constants.
23205 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23207 2011-08-31 David S. Miller <davem@davemloft.net>
23209 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23210 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23211 Reimplement to do errno handling inline.
23212 (SYSCALL_ERROR_HANDLER): New macro.
23213 (__SYSCALL_STRING): Do not do errno handling in asm.
23214 (__CLONE_SYSCALL_STRING): Delete.
23215 (__INTERNAL_SYSCALL_STRING): Delete.
23216 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23217 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23218 (PSEUDO): Reimplement to do errno handling inline.
23219 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23220 (SYSCALL_ERROR_HANDLER): New macro.
23221 (__SYSCALL_STRING): Do not do errno handling in asm.
23222 (__CLONE_SYSCALL_STRING): Delete.
23223 (__INTERNAL_SYSCALL_STRING): Delete.
23224 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23225 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23227 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23228 (inline_syscall*): Add 'err' argument.
23229 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23230 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23231 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23232 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23234 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23235 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23237 2011-08-30 Andreas Schwab <schwab@redhat.com>
23239 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23241 2011-08-29 Jiri Olsa <jolsa@redhat.com>
23243 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23246 2011-08-24 David S. Miller <davem@davemloft.net>
23248 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23250 2011-08-24 Andreas Schwab <schwab@redhat.com>
23252 * elf/Makefile: Add rules to build and run unload8 test.
23253 * elf/unload8.c: New file.
23254 * elf/unload8mod1.c: New file.
23255 * elf/unload8mod1x.c: New file.
23256 * elf/unload8mod2.c: New file.
23257 * elf/unload8mod3.c: New file.
23259 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23262 2011-08-23 David S. Miller <davem@davemloft.net>
23264 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23265 subtract stack bias.
23266 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23267 %sp not %fp in calculations.
23268 (_JMPBUF_UNWINDS_ADJ): Likewise.
23270 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23271 (aio_suspend): Call it to force an exception region around the
23272 AIO_MISC_WAIT() invocation.
23274 2011-08-23 Andreas Schwab <schwab@redhat.com>
23276 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23279 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23281 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23283 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23284 and <dl-machine.h>.
23285 (Elf64_FuncDesc): Remove.
23287 2011-08-22 David S. Miller <davem@davemloft.net>
23289 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23290 sigaltstack check, add missing cfi directives.
23291 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23292 missing cfi directives, and sigaltstack handling.
23294 2011-08-16 Andreas Schwab <schwab@redhat.com>
23297 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23298 object is seen twice.
23299 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23301 * elf/Makefile (distribute): Add tst-initorder2.c.
23302 (tests): Add tst-initorder2.
23303 (modules-names): Add tst-initorder2a tst-initorder2b
23304 tst-initorder2c tst-initorder2d. Add rules to build them.
23305 ($(objpfx)tst-initorder2.out): New rule.
23306 * elf/tst-initorder2.c: New file.
23307 * elf/tst-initorder2.exp: New file.
23309 2011-08-22 Andreas Schwab <schwab@redhat.com>
23311 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23313 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23314 dependencies back to end of function.
23316 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23317 $(elfobjdir)/ld.so.
23319 2011-08-21 Ulrich Drepper <drepper@gmail.com>
23321 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23322 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23323 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23324 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23325 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23326 of __vdso_gettimeofday.
23327 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23328 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23330 (_libc_vdso_platform_setup): Remove initialization of
23331 __vdso_gettimeofday and __vdso_time.
23333 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23335 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23336 and fgetc_unlocked.
23337 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23340 * elf/dl-open.c (add_to_global): Report additions to the global scope
23341 for LD_DEBUG=scopes.
23342 (dl_open_worker): Also print scope of newly loaded dependencies.
23343 (_dl_show_scope): Indicate if there is no scope.
23346 * stdio-common/Makefile (tests): Add bug24.
23347 * stdio-common/bug24.c: New file.
23349 2011-08-19 Andreas Jaeger <aj@suse.de>
23352 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23353 non-existant file when using close-on-exec mode.
23355 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23357 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23358 the very first instruction.
23360 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23361 the CFI state in the end.
23362 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23363 inclusion of dl-trampoline.h.
23364 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23366 2011-08-19 Andreas Schwab <schwab@redhat.com>
23368 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23369 expectations for long double.
23371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23372 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23374 2011-08-14 David S. Miller <davem@davemloft.net>
23376 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23377 artificual limit depends upon the system page size.
23379 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23381 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23382 * resolv/Makefile: Define CFLAGS-libresolv.
23384 2011-08-17 Andreas Schwab <schwab@redhat.com>
23386 * nss/makedb.c (compute_tables): Make variables used in nested
23389 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23391 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23392 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23393 if buffer was too small.
23395 * elf/pldd.c (main): Attach to all threads in the process.
23396 Rewrite /proc handling to use *at functions.
23398 2011-08-16 Ulrich Drepper <drepper@gmail.com>
23400 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23401 specifies first scope to show.
23402 (dl_open_worker): Update callers. Move printing scope of new
23403 object to before the relocation.
23404 * elf/rtld.c (dl_main): Update _dl_show_scope call.
23405 * sysdeps/generic/ldsodefs.h: Update declaration.
23407 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23408 string for the scope number.
23410 2011-08-14 Ulrich Drepper <drepper@gmail.com>
23412 * nscd/servicescache.c (cache_addserv): Make sure written is always
23415 2011-08-14 Roland McGrath <roland@hack.frob.com>
23417 * sysdeps/i386/i486/bits/atomic.h
23418 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23419 statement expression, so as to suppress "set but not used" warning.
23420 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23422 * string/strncat.c (STRNCAT): Use prototype definition.
23424 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23425 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23427 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23428 (localedef-modules): Add localedef.
23429 (locale-modules): Add locale.
23431 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23432 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23433 to avoid a warning.
23435 2011-08-14 David S. Miller <davem@davemloft.net>
23437 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23438 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23440 2011-08-13 Ulrich Drepper <drepper@gmail.com>
23442 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23443 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23444 * elf/rtld.c (dl_main): Set l_name of vDSO.
23445 Call _dl_show_scope when DL_DEBUG_SCOPES.
23446 (process_dl_debug): Recognize scopes flag and also set it for all.
23447 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23448 Declare _dl_show_scope.
23450 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23451 (do_dlopen): Pass caller_dlopen to dl_open.
23452 (__libc_dlopen_mode): Initialize caller_dlopen.
23454 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23455 of libc. Make tolower call locale-independent. Optimize a bit by
23456 using isdigit instead of isalnum.
23457 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23459 2011-08-12 Ulrich Drepper <drepper@gmail.com>
23461 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23462 was a dependency or dynamically loaded.
23464 2011-08-11 Ulrich Drepper <drepper@gmail.com>
23466 * intl/l10nflist.c: Allow architecture-specific pop function.
23467 * sysdeps/x86_64/l10nflist.c: New file.
23469 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23472 2011-08-10 Andreas Schwab <schwab@redhat.com>
23474 * include/dirent.h: Add libc_hidden_proto for scandirat and
23475 scandirat64. Don't declare __scandirat64.
23476 * dirent/scandirat.c: Add libc_hidden_def.
23477 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23478 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23480 2011-08-10 David S. Miller <davem@davemloft.net>
23482 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23484 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23485 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23486 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23488 2011-08-09 Ulrich Drepper <drepper@gmail.com>
23490 * Versions.def [libc]: Add GLIBC_2.15.
23491 * dirent/Makefile (routines): Add scandirat and scandirat64.
23492 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23494 * dirent/dirent.h: Declare scandirat and scandirat64.
23495 * dirent/scandirat.c: New file.
23496 * dirent/scandirat64.c: New file.
23497 * sysdeps/wordsize-64/scandirat.c: New file.
23498 * sysdeps/wordsize-64/scandirat64.c: New file.
23499 * dirent/opendir.c: Define opendirat.
23500 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23502 * dirent/scandir64.c: Adjust for scandir.c change.
23503 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23504 __scandirat64, and __scandir_cancel_handler.
23505 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23506 additional parameter and use openat instead of open (outside of ld.so).
23507 Add new __opendir as wrapper around __opendirat.
23508 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23509 here without requiring old scandirat implementation.
23511 2011-08-08 Ulrich Drepper <drepper@gmail.com>
23513 * dirent/scandir.c (cancel_handler): Renamed to
23514 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23515 defined. Adjust users.
23516 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23517 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23519 2011-08-04 Ulrich Drepper <drepper@gmail.com>
23521 * string/test-string.h (IMPL): Use __STRING to expand name and then
23524 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23527 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23529 * string/Makefile: Update.
23530 (strop-tests): Append strncat.
23531 * string/test-wcscmp.c: New file.
23532 New comprehensive test for wcscmp.
23533 * string/test-strcmp.c: Update.
23534 (WIDE): New define.
23536 2011-07-22 Andreas Schwab <schwab@redhat.com>
23538 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23541 2011-07-26 Andreas Schwab <schwab@redhat.com>
23543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23544 encoding to ACE if AI_IDN.
23546 2011-08-01 Jakub Jelinek <jakub@redhat.com>
23548 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23549 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23551 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23553 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23554 Fix overflow bug in strncat.
23555 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23557 * string/test-strncat.c: Update.
23558 Add new tests for checking overflow bugs.
23560 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23562 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23563 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23564 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23565 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23566 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23567 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23568 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23569 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23570 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23572 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23573 (USE_AS_STRCAT): Define.
23574 Add strcat and strncat support.
23575 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23577 2011-07-25 Andreas Schwab <schwab@redhat.com>
23579 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23580 __n bigger than INT_MAX+1.
23581 (__strncmp_g): Likewise.
23583 2011-07-23 Ulrich Drepper <drepper@gmail.com>
23585 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23586 * libio/stido.h: Likewise.
23588 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23590 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23593 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23594 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23595 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23596 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23597 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23600 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23603 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23605 (_dl_x86_64_save_sse): Likewise.
23607 2011-07-22 Ulrich Drepper <drepper@gmail.com>
23609 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23611 (_dl_x86_64_save_sse): Likewise.
23613 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23615 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23617 2011-07-21 Andreas Schwab <schwab@redhat.com>
23619 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23621 (_dl_x86_64_save_sse): Use correct AVX check.
23623 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23625 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23626 bug in strncpy/strncat.
23627 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23629 2011-07-21 Ulrich Drepper <drepper@gmail.com>
23631 * string/tester.c (test_strcat): Add tests for different alignments
23632 of source and destination.
23633 (test_strncat): Likewise.
23635 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23638 * posix/glob.c (glob): Check passed in values before using them in
23639 expressions to avoid some overflows.
23640 (glob_in_dir): Likewise.
23643 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23644 check for AVX enablement so that we don't crash with old kernels and
23646 * elf/tst-audit4.c: Add same checks here.
23647 * elf/tst-audit6.c: Likewise.
23649 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23651 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23653 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23655 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23657 * po/cs.po: Update from translation team.
23658 * po/bg.po: Likewise.
23660 2011-07-12 Marek Polacek <mpolacek@redhat.com>
23662 * misc/sys/cdefs.h: Add support for const attribute.
23663 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23664 to gnu_dev_{major,minor,makedev} functions.
23666 2011-07-20 Marek Polacek <mpolacek@redhat.com>
23668 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23670 2011-07-20 Andreas Schwab <schwab@redhat.com>
23672 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23675 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23677 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23678 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23679 register in order to avoid conflicts with the soft frame pointer
23680 being held in r11 when necessary.
23681 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23682 (INTERNAL_VSYSCALL_NCS): Likewise.
23684 2011-07-14 Marek Polacek <mpolacek@redhat.com>
23686 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23687 * elf/dl-fini.c (_dl_fini): Adjust caller.
23688 * elf/dl-close.c (_dl_close_worker): Likewise.
23689 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23691 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23693 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23694 "aux_cache->nlibs < 0".
23696 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23697 in the reload-count case.
23699 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23701 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23702 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23703 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23704 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23705 * sysdeps/x86_64/multiarch/strcat.S: New file.
23706 * sysdeps/x86_64/multiarch/strncat.S: New file.
23707 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23708 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23709 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23710 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23711 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23712 (USE_AS_STRCAT): Define.
23713 Add strcat and strncat support.
23714 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23715 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23716 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23717 * string/strncat.c: Update.
23718 (USE_AS_STRNCAT): Define.
23719 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23720 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23722 * sysdeps/x86_64/multiarch/init-arch.h
23723 (bit_Prefer_PMINUB_for_stringop): New.
23724 (index_Prefer_PMINUB_for_stringop): Likewise.
23725 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23726 bit_Prefer_PMINUB_for_stringop.
23728 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23730 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23732 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23733 of casting of buffer.
23734 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23735 buffer32 and buffer64.
23736 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23737 writes instead of casting of buffer.
23738 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23740 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23743 2011-07-19 Andreas Schwab <schwab@redhat.com>
23745 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23747 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23749 * nscd/nscd.c (termination_handler): Don't do anything for a database
23750 if it has not yet been initialized.
23752 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23754 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23756 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23758 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23760 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23762 * po/nl.po: Update from translation team.
23763 * po/sv.po: Likewise.
23765 2011-07-16 Roland McGrath <roland@hack.frob.com>
23767 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23768 now disallowed by GCC.
23770 * configure.in (use-default-link): Default to yes if a test -shared
23771 link meets our qualifications.
23772 * configure: Regenerated.
23774 * config.make.in (output-format): New variable.
23775 * configure.in: Check for ld --print-output-format support.
23776 * configure: Regenerated.
23777 * Makerules ($(common-objpfx)format.lds)
23778 [$(output-format) != unknown]: Just use $(output-format),
23779 instead of the linker-script munging.
23781 2011-07-14 Roland McGrath <roland@hack.frob.com>
23783 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23784 of $(common-objpfx)shlib.lds.
23785 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23787 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23788 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23790 * configure.in (-z relro check): Adjust test code to add a large
23791 writable data section after it.
23792 * configure: Regenerated.
23794 2011-07-11 Roland McGrath <roland@hack.frob.com>
23796 * configure.in (-z relro check): Fix test code to make the variable
23798 * configure: Regenerated.
23800 2011-07-11 Ulrich Drepper <drepper@gmail.com>
23802 * nscd/nscd.h (struct traced_file): Define.
23803 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23804 elements. Add traced_files.
23805 (inotify_fd): Declare.
23806 (register_traced_file): Declare.
23807 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23808 (inotify_fd): Export.
23809 (resolv_conf_descr): Remove.
23810 (nscd_init): Move inotify descriptor creation to main.
23811 Don't register files for notification here.
23812 (register_traced_file): New function.
23813 (invalidate_cache): Don't use reset_res to determine whether to call
23814 res_init, go through the list of registered files.
23815 (main_loop_poll): The inotify descriptors are now stored in the
23816 structures for the traced files.
23817 (main_loop_epoll): Likewise
23818 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23819 to __nss_disable_nscd.
23820 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23821 for a database anymore. Check the records for all the registered
23823 * nss/Makefile (libnss_files-routines): Add files-init.
23824 (libnss_db-routines): Add db-init.
23825 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23826 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23827 * nss/nss_db/db-init.c: New file.
23828 * nss/nss_files/files-init.c: New file.
23829 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23830 __nss_lookup_function.
23831 (__nss_lookup_function): Call nss_load_library.
23832 (nss_load_all_libraries): New function.
23833 (__nss_disable_nscd): Take parameter with callback function for files
23834 to register. Set is_nscd. Load all the DSOs for the NSS modules
23835 used for the cached services.
23836 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23837 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23838 options for features to all the files in nscd.
23840 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23842 2011-07-10 Roland McGrath <roland@hack.frob.com>
23844 * csu/elf-init.c (__libc_csu_init): Comment typo.
23846 2011-07-09 Ulrich Drepper <drepper@gmail.com>
23848 * po/pl.po: Update from translation team.
23849 * po/ja.po: Likewise.
23850 * po/ru.po: Likewise.
23851 * po/ko.po: Likewise.
23852 * po/fr.po: Likewise.
23854 2011-07-09 Roland McGrath <roland@hack.frob.com>
23856 * configure.in (.ctors/.dtors header and trailer check):
23857 Use an empirical test on a built program.
23858 * configure: Regenerated.
23860 * configure.in (-z relro check): Use an empirical test on a built DSO.
23861 Detect, but do not require, on ia64.
23862 * configure: Regenerated.
23864 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23865 Update tests that use readelf to use $READELF instead.
23866 * configure: Regenerated.
23868 2011-07-08 Ulrich Drepper <drepper@gmail.com>
23870 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23871 if the result is not used.
23873 2011-07-05 Andreas Jaeger <aj@suse.de>
23876 * stdlib/tst-strtod.c: Add testcase.
23878 2011-07-07 Ulrich Drepper <drepper@gmail.com>
23880 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23881 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23882 The latter has a higher limit. Take additional parameter to pass to
23884 (__pathconf): Pass file to __statfs_link_max.
23885 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23887 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23891 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23892 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23894 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23895 (__statfs_filesize_max): Likewise.
23896 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23898 2011-07-05 Andreas Jaeger <aj@suse.de>
23900 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23902 2011-07-06 Marek Polacek <mpolacek@redhat.com>
23904 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23906 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23909 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23911 * Makefile (strop-tests): Add strncat.
23912 * string/test-strncat.c: New file.
23914 2011-06-30 Marek Polacek <mpolacek@redhat.com>
23916 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23918 2011-06-21 Andreas Jaeger <aj@suse.de>
23920 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23921 Copy rule from iconvdata/Makefile.
23923 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23926 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23927 but no long options are defined, just return 'W'.
23929 2011-06-22 Marek Polacek <mpolacek@redhat.com>
23932 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23934 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23936 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23938 (innetgr): Likewise.
23940 2011-07-05 Roland McGrath <roland@hack.frob.com>
23942 * config.make.in (install_root): Default to $(DESTDIR).
23944 2011-07-05 Ulrich Drepper <drepper@gmail.com>
23946 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23948 2011-07-02 Roland McGrath <roland@hack.frob.com>
23950 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23952 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23953 containing directory rather than embedding absolute directory names.
23955 * scripts/check-local-headers.sh: Rewritten using awk.
23956 Match by word, not by line. Print error messages for matches.
23957 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23959 * Makerules [shlib-lds-flags empty]:
23960 ($(common-objpfx)libc_pic.opts): New target.
23961 ($(common-objpfx)libc_pic.os.clean): New target.
23962 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23964 * config.make.in (OBJCOPY): New variable.
23965 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23966 * configure: Regenerated.
23968 * config.make.in (use-default-link): New variable.
23969 * configure.in (use_default_link): Grok --with-default-link to set it.
23970 * configure: Regenerated.
23971 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23972 (shlib-lds, shlib-lds-flags): Define to empty.
23974 * Makerules (shlib-lds): New variable.
23975 (shlib-lds-flags): New variable.
23976 (build-shlib, build-moduile, build-module-asneeded): Use it.
23977 ($(common-objpfx)libc.so): Use $(shlib-lds).
23978 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23979 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23981 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23982 DT_FLAGS/DT_FLAGS_1 with zero flags.
23984 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23985 linker script munging.
23987 2011-07-02 Ulrich Drepper <drepper@gmail.com>
23989 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23991 * crypt/sha512.c (sha512_process_block): Perform total addition using
23992 128-bit if possible.
23993 (__sha512_finish_ctx): Likewise.
23994 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23996 * crypt/sha256.c (SWAP64): Define.
23997 (sha256_process_block): Perform total addition using 64-bit if
23999 (__sha256_finish_ctx): Likewise.
24001 2011-07-01 Ulrich Drepper <drepper@gmail.com>
24003 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24004 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24005 * nscd/hstcache.c (cache_addhst): Likewise.
24006 * nscd/grpcache.c (cache_addgr): Likewise.
24007 * nscd/aicache.c (addhstaiX): Likewise
24008 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24010 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
24012 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24013 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24014 * nscd/hstcache.c (cache_addhst): Likewise.
24015 * nscd/grpcache.c (cache_addgr): Likewise.
24016 * nscd/aicache.c (addhstaiX): Likewise
24018 2011-07-01 Andreas Schwab <schwab@redhat.com>
24020 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24021 domain only when needed.
24023 2011-06-30 Andreas Schwab <schwab@redhat.com>
24025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24026 is always restored.
24028 2011-06-29 Ulrich Drepper <drepper@gmail.com>
24030 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24031 are re-adding the entry.
24032 * nscd/servicescache.c (cache_addserv): Likewise.
24034 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24036 * sysdeps/generic/dl-irel.h: fix protection against multiple
24038 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24040 2011-06-28 Ulrich Drepper <drepper@gmail.com>
24043 * malloc/memusage.sh: Fix quoting in message.
24044 * debug/xtrace.sh: Likewise.
24046 * configure.in: Remove support for --experimental-malloc option, make
24048 * config.make.in: Likewise.
24049 * malloc/Makefile: Likewise.
24051 2011-06-27 Andreas Schwab <schwab@redhat.com>
24053 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24054 two-byte characters.
24056 2011-06-27 Roland McGrath <roland@hack.frob.com>
24058 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24059 AC_CACHE_CHECK invocation.
24060 * configure: Regenerated.
24062 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24064 2011-06-27 Ulrich Drepper <drepper@gmail.com>
24067 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24068 bit from old_res_options.
24070 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24072 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24073 value type for setfct.
24075 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24077 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24078 __gettimeofday instead of gettimeofday.
24080 2011-06-26 Ulrich Drepper <drepper@gmail.com>
24082 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24084 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24086 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24088 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24091 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24094 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24095 strcpy-sse2-unaligned strncpy-sse2-unaligned
24096 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24097 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24098 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24099 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24100 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24101 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24102 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24103 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24104 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24105 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24106 (STRCPY): Support SSE2 and SSSE3 versions.
24108 2011-06-24 Ulrich Drepper <drepper@gmail.com>
24111 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24112 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24113 kernels which artificially limit size of requests.
24115 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24118 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24119 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24120 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24121 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24122 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24123 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24124 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24125 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24126 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24127 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24128 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24129 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24130 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24131 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24133 Enable unaligned load optimization for Intel Core i3, i5 and i7
24135 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24137 (index_Fast_Unaligned_Load): Define.
24138 (HAS_FAST_UNALIGNED_LOAD): Define.
24140 2011-06-23 Marek Polacek <mpolacek@redhat.com>
24142 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24144 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24147 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24148 until it is clear that the information is realy needed.
24149 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24151 2011-06-22 Andreas Schwab <schwab@redhat.com>
24153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24155 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24157 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24158 /sys/devices/system/cpu/online if it is usable.
24160 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24161 reading the information from the /proc filesystem to once a second.
24163 2011-06-21 Andreas Jaeger <aj@suse.de>
24165 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24166 NULL after inclusion of kernel headers.
24168 2011-06-21 Ulrich Drepper <drepper@gmail.com>
24170 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24171 calls to internal_setent.
24174 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24175 addresses using gethostbyname4_r ignore IPv4 addresses.
24177 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24178 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24180 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24182 2011-06-20 David S. Miller <davem@davemloft.net>
24184 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24186 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24188 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24189 (elf_irel): Use it.
24190 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24191 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24192 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24193 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24194 * sysdeps/x86_64/dl-irel.h: Likewise.
24196 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24197 * elf/dl-sym.c: Likewise.
24199 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24201 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24202 need to dereference resplen2.
24204 2011-06-14 Andreas Schwab <schwab@redhat.com>
24206 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24208 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24210 * Makeconfig: Define vardbdir and inst_vardbdir.
24211 * nss/Makefile: Add rules to install db-Makefile.
24213 * nss/nss_db/db-XXX.c: Cleanup.
24215 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24216 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24218 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24219 * nss/makedb.c: Implement -g option to specify that value strings
24220 are generated and should not be added to table iterated over for
24222 * nss/nss_db/db-initgroups.c: New file.
24224 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24227 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24228 (internal_getgrouplist): Adjust to name change.
24229 Update use_initgroups_entry if this is not the first call.
24230 * nss/databases.def: Add initgroups entry.
24232 * nss/makedb.c (compute_tables): Check result of multiple hash table
24233 sizes to minimize maximum chain length.
24235 2011-06-14 Ulrich Drepper <drepper@gmail.com>
24237 * Versions.def: Add entry for libnss_db.
24238 * shlib-versions: Likewise.
24239 * nss/Makefile: Add rules to build libnss_db.
24240 * nss/Versions: Add libnss_db information. Organize libnss_files
24242 * nss/db-Makefile: Add gshadow support. Change rules for the new
24243 makedb progra. Some minor improvements to generate smaller files.
24244 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24246 * nss/makedb.c: ...here.
24247 Improve database format to be smaller and require less memory at
24249 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24251 * nss/nss_db/db-netgrp.c: Likewise.
24252 * nss/nss_db/db-open.c: Likewise.
24253 * nss/nss_files/flies-XXX.x: Adjust comments.
24254 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24255 * nss/nss_files/files-grp.c: Likewise.
24256 * nss/nss_files/files-hosts.c: Likewise.
24257 * nss/nss_files/files-network.c: Likewise.
24258 * nss/nss_files/files-proto.c: Likewise.
24259 * nss/nss_files/files-pwd.c: Likewise.
24260 * nss/nss_files/files-rpc.c: Likewise.
24261 * nss/nss_files/files-service.c: Likewise.
24262 * nss/nss_files/files-sgrp.c: Likewise.
24263 * nss/nss_files/files-spwd.c: Likewise.
24264 * nss/nss_db/db-alias.c: Removed.
24265 * nss/nss_db/dummy-db.h: Removed.
24267 2011-06-02 Ulrich Drepper <drepper@gmail.com>
24269 * nss/makedb.c: Rewritten to not use database library.
24270 * nss/Makefile: Update to build new makedb program.
24272 2011-06-14 Andreas Jaeger <aj@suse.de>
24274 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24275 memset declaration.
24277 2011-06-10 Andreas Schwab <schwab@redhat.com>
24279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24282 2011-06-10 Roland McGrath <roland@hack.frob.com>
24284 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24285 * elf/Makefile ($(objpfx)ld.so): Likewise.
24287 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24288 Don't list ld.so twice in dependencies.
24290 * posix/bug-regex31.c: Include <stdlib.h>.
24292 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24294 * nis/nss_compat/compat-spwd.c
24295 (getspent_next_nss_netgr): Remove unused variable.
24296 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24298 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24299 nonmembers" output to use the right array.
24301 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24303 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24305 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24306 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24307 * catgets/gencat.c (read_input_file): Likewise.
24308 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24310 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24311 variable definition inside #if's controlling its use.
24313 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24315 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24317 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24319 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24322 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24324 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24325 * configure: Regenerated.
24327 * Makerules: Revert last change.
24328 * elf/Makefile: Likewise.
24330 2011-06-09 Roland McGrath <roland@hack.frob.com>
24332 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24333 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24334 (reloc-link): Likewise.
24336 2011-06-09 Ulrich Drepper <drepper@gmail.com>
24338 * elf/Makefile: Add rules to build pldd.
24339 * elf/pldd.c: New file.
24340 * elf/pldd-xx.c: New file.
24342 2011-06-07 Ulrich Drepper <drepper@gmail.com>
24344 * version.h: Update for 2.15 development version.
24346 2011-06-07 David S. Miller <davem@davemloft.net>
24348 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24350 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24351 elf_machine_lazy_rel): Likewise.
24352 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24353 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24354 elf_machine_lazy_rel): Likewise.
24355 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24356 dl_hwcap via passed in argument.
24357 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24360 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24362 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24364 2011-06-06 Roland McGrath <roland@hack.frob.com>
24367 * manual/fdl-1.1.texi: New file, verbatim from:
24368 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24369 * manual/lgpl-2.1.texi: New file, verbatim from:
24370 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24371 * manual/Makefile (licenses): New variable, list those new file names.
24373 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24375 * manual/fdl.texi: File removed.
24376 * manual/lesser.texi: File removed.
24377 * manual/libc.texinfo (Copying, Documentation License):
24378 Use new @include file names, put @appendix directive before @include.
24380 2011-06-04 Jakub Jelinek <jakub@redhat.com>
24383 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24384 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24385 (mq_open): Add __NTH.
24387 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24390 Assume Intel Core i3/i5/i7 processor if AVX is available.
24392 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24394 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24397 2011-05-31 Andreas Schwab <schwab@redhat.com>
24399 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24400 memory. Use alloca_account. Fix memory leak when retrying.
24402 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24404 * version.h (RELEASE): Bump for 2.14 release.
24405 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24407 * config.make.in (RANLIB): Remove entry.
24409 2011-05-30 Ulrich Drepper <drepper@gmail.com>
24411 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24412 (libc.pot): Work around missing support for .ksh extension in xgettext.
24415 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24416 if both request failed.
24417 (send_dg): In case of server errors clear resplen or *resplen2.
24420 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24421 when there are multiple maps.
24422 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24423 (_dl_fini): Remove test here.
24425 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24427 2011-05-29 Ulrich Drepper <drepper@gmail.com>
24430 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24431 bit from old_res_options.
24432 (gaih_inet): Likewise.
24435 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24438 * resolv/res_init.c (res_setoptions): Make the code more compact.
24441 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24445 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24447 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24450 * malloc/malloc.h: Declare malloc hook variables as volatile.
24452 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24456 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24457 raise in the comment.
24458 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24459 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24460 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24462 2011-05-28 Ulrich Drepper <drepper@gmail.com>
24465 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24466 grow the buffers more if it already has to be sufficient.
24467 (build_wcs_upper_buffer): Likewise.
24468 * posix/regexec.c (check_matching): Likewise.
24469 (clean_state_log_if_needed): Likewise.
24470 (extend_buffers): Don't enlarge buffers beyond size of the input
24472 Patches mostly by Emil Wojak <emil@wojak.eu>.
24473 * posix/bug-regex32.c: New file.
24474 * posix/Makefile (tests): Add bug-regex32.
24476 * locale/findlocale.c (_nl_find_locale): Return right away if
24477 _nl_explode_name failed.
24478 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24480 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24482 * debug/xtrace.sh: Unify messages.
24483 * malloc/memusage.sh: Likewise.
24486 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24487 time symbol from vDSO. Substitute with vsyscall if not available.
24488 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24491 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24492 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24493 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24494 Add sendmmsg and internal_sendmmsg.
24495 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24496 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24497 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24499 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24500 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24501 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24503 2011-05-27 Ulrich Drepper <drepper@gmail.com>
24506 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24507 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24509 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24513 * iconvdata/Makefile (tests): Add bug-iconv9.
24514 * iconvdata/bug-iconv9.c: New file.
24516 2011-05-27 Andreas Schwab <schwab@redhat.com>
24519 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24521 2011-05-25 Jakub Jelinek <jakub@redhat.com>
24523 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24524 (struct user_regs_struct): Change intcs field back to cs.
24526 2011-05-25 Ulrich Drepper <drepper@gmail.com>
24528 * po/ja.po: Update from translation team.
24530 2011-05-23 Ulrich Drepper <drepper@gmail.com>
24533 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24534 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24536 2011-05-20 Andreas Schwab <schwab@redhat.com>
24538 * stdlib/longlong.h: Update from GCC.
24540 2011-05-23 Andreas Schwab <schwab@redhat.com>
24542 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24544 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24545 Add parameter name.
24546 (__sysconf): Pass it down.
24548 2011-05-22 Ulrich Drepper <drepper@gmail.com>
24551 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24553 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24554 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24555 add in in __libc_use_alloca calls. Adjust callers.
24556 (glob): Use malloc in some situations.
24558 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24559 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24562 2011-05-21 Ulrich Drepper <drepper@gmail.com>
24564 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24565 and CLOCK_BOOTTIME_ALARM.
24568 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24571 * string/_strerror.c (__strerror_r): Print negative errors as signed
24575 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24576 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24577 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24579 * configure.in: Fix typo in redirection and correct removal of test
24580 files in two cases.
24583 * locale/setlocale.c (new_composite_name): Fix test to check for
24584 identical name of all categories.
24587 * libio/filedoalloc.c (local_isatty): New function.
24588 (_IO_file_doallocate): Use local_isatty.
24589 * stdio-common/perror.c (perror): In case a new stream is used
24590 forward the stream error.
24591 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24594 2011-05-20 Ulrich Drepper <drepper@gmail.com>
24597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24599 * include/alloca.h (extend_alloca_account): Define.
24602 * posix/regex.h: Fix comments with documentation of user-accessible
24603 fields after compilation and describe correct free'ing of pattern
24604 after re_compile_pattern.
24605 Patch by Reuben Thomas <rrt@sc3d.org>.
24607 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24609 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24610 and -mno-altivec to prevent the compiler from using Altivec and/or
24611 VSX instructions when the corresponding registers are not available.
24613 2011-05-19 Andreas Schwab <schwab@redhat.com>
24615 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24617 2011-05-19 Ulrich Drepper <drepper@gmail.com>
24619 * libio/freopen.c (freopen): Use __dup2, not dup2.
24620 * libio/freopen64.c (freopen64): Likewise.
24622 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24625 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24626 * math/Makefile (tests): Add test-powl.
24627 (CFLAGS-test-powl.c): Define.
24628 * math/test-powl.c: New file.
24630 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24632 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24634 2011-05-17 Ulrich Drepper <drepper@gmail.com>
24637 * iconvdata/gb18030.c: Update to GB18020-2005.
24639 2011-05-16 Ulrich Drepper <drepper@gmail.com>
24641 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24642 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24643 Patch by Aharon Robbins <arnold@skeeve.com>.
24646 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24650 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24651 through underflows.
24654 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24655 point to strings before performing equality test for error_one_per_line
24659 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24662 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24663 (struct user_fpregs_struct): Avoid __uint*_t types.
24666 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24667 symbol info. Use it instead of calling _dl_addr locally.
24668 (lock_and_info): New function.
24669 (tr_freehook): Call lock_and_info and pass symbol info as additional
24670 parameter to tr_where.
24671 (tr_mallochook): Likewise.
24672 (tr_reallochook): Likewise.
24673 (tr_memalignhook): Likewise.
24675 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24676 used and couldn't be at all thread-safe.
24678 2011-05-15 Ulrich Drepper <drepper@gmail.com>
24680 * libio/freopen.c (freopen): Don't close old file descriptor
24681 before the new one is opened. Instead dup the new file descriptor
24682 to the old one after the new stream is created.
24683 * libio/freopen64.c (freopen64): Likewise.
24684 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24685 * libio/fileops.c (_IO_new_file_close_it): Handle new
24686 _IO_FLAGS2_NOCLOSE flag.
24687 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24688 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24689 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24690 _IO_FLAGS2_NOCLOSE flag.
24691 * include/unistd.h: Add hidden_proto for dup3.
24692 Define __have_dup3.
24693 * io/dup3.c: Define hidden symbol.
24694 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24697 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24698 when an incomplete long option is used.
24699 * posix/tst-getopt_long1.c: New file.
24700 * posix/Makefile (tests): Add tst-getopt_long1.
24703 * scripts/config.guess: Update from autoconf-2.68.
24704 * scripts/config.sub: Likewise.
24707 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24709 (has_cpuclock): ...this. New function.
24710 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24711 macro here based on has_cpuclock code.
24714 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24715 First byte (not low byte) is now always NUL.
24716 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24718 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24719 Use non-cancelable interfaces.
24722 * locale/iso-639.def: Add entry for Sorani.
24725 * include/stdlib.h: Move include protection to the right place.
24726 Define abort_msg_s. Declare __abort_msg with it.
24727 * stdlib/abort.c (__abort_msg): Adjust type.
24728 * assert/assert.c (__assert_fail_base): New function. Majority
24729 of code from __assert_fail. Allocate memory for __abort_msg with
24731 (__assert_fail): Now call __assert_fail_base.
24732 * assert/assert-perr.c: Remove bulk of implementation. Use
24733 __assert_fail_base.
24734 * include/assert.hL Declare __assert_fail_base.
24735 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24737 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24739 2011-05-14 Ulrich Drepper <drepper@gmail.com>
24743 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24744 until all modules are registered in the DTV.
24745 * elf/Makefile: Add rules to build and run tst-tls19.
24746 * elf/tst-tls19.c: New file.
24747 * elf/tst-tls19mod1.c: New file.
24748 * elf/tst-tls19mod2.c: New file.
24749 * elf/tst-tls19mod3.c: New file.
24750 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24753 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24757 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24758 two-byte sequence errors.
24759 * iconvdata/Makefile (tests): Add bug-iconv8.
24760 * iconvdata/bug-iconv8.c: New file.
24763 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24766 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24769 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24770 (dummy_getcfa): New function.
24771 (init): Get _Unwind_GetCFA address, use dummy if not found.
24772 (backtrace_helper): In recursion check, also check whether CFA changes.
24773 (__backtrace): Completely initialize arg.
24775 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24776 storing incomplete byte sequence in state object. Avoid testing for
24777 guaranteed too small input if we know there is enough data available.
24779 2011-05-11 Andreas Schwab <schwab@redhat.com>
24781 * Makeconfig (+link-pie): Indent.
24782 * Rules (binaries-pie): Define if $(have-fpie) and
24784 (binaries-shared): Also filter out $(binaries-pie).
24785 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24786 * nscd/Makefile (others-pie): Add nscd.
24787 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24788 ($(objpfx)nscd): Remove command override.
24789 * login/Makefile (others-pie): Add pt_chown.
24790 ($(objpfx)pt_chown): Remove command override.
24791 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24792 remove command overrides.
24794 2011-05-13 Ulrich Drepper <drepper@gmail.com>
24796 * libio/tst_putwc.c: Fix error messages.
24799 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24800 currently writing and seek to current position when not.
24801 * libio/Makefile (tests): Add bug-fclose1.
24802 * libio/bug-fclose1.c: New file.
24804 2011-05-12 Ulrich Drepper <drepper@gmail.com>
24807 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24808 don't set DF_1_NODELETE here.
24809 (do_lookup_x): When entering new entry test for copy relocation
24810 and if necessary set DF_1_NODELETE flag.
24811 * elf/tst-unique4.cc: New file.
24812 * elf/tst-unique4.h: New file.
24813 * elf/tst-unique4lib.cc: New file.
24814 * elf/Makefile: Add rules to build and run tst-unique4.
24815 Patch by Piotr Bury <pbury@goahead.com>.
24817 2011-05-11 Ulrich Drepper <drepper@gmail.com>
24820 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24823 * misc/mntent_r.c (addmntent): Flush the stream after the output
24826 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24827 (is_trusted_path_normalize): Skip initial colon. Append slash
24828 to empty buffer. Duplicate is_trusted_path code but allow
24829 constructed patch to be prefix.
24830 (is_dst): Allow $ORIGIN followed by /.
24831 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24832 Correct testing of result of is_trusted_path_normalize
24833 (decompose_rpath): Fix warning.
24835 2011-05-10 Ulrich Drepper <drepper@gmail.com>
24838 * grp/initgroups.c (internal_getgrouplist): When we found the service
24839 list through the initgroups entry in nsswitch.conf do not always
24840 continue on a successful lookup. Don't always use the
24841 __nss_group_database value if it is set.
24842 * nss/nsswitch.conf (initgroups): Change action for successful db
24843 lookup to continue for compatibility.
24845 2011-05-09 Ulrich Drepper <drepper@gmail.com>
24848 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24850 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24852 * iconvdata/tst-tables.sh: Likewise.
24853 * iconvdata/cp770.c: New file.
24854 * iconvdata/cp771.c: New file.
24855 * iconvdata/cp772.c: New file.
24856 * iconvdata/cp773.c: New file.
24857 * iconvdata/cp774.c: New file.
24858 * iconvdata/testdata/CP770: New file.
24859 * iconvdata/testdata/CP770..UTF8: New file.
24860 * iconvdata/testdata/CP771: New file.
24861 * iconvdata/testdata/CP771..UTF8: New file.
24862 * iconvdata/testdata/CP772: New file.
24863 * iconvdata/testdata/CP772..UTF8: New file.
24864 * iconvdata/testdata/CP773: New file.
24865 * iconvdata/testdata/CP773..UTF8: New file.
24866 * iconvdata/testdata/CP774: New file.
24867 * iconvdata/testdata/CP774..UTF8: New file.
24869 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24871 * iconvdata/gen-8bit-gap.sh: Likewise.
24872 * iconvdata/gen-8bit.sh: Likewise.
24874 * locale/iso-639.def: Add ary entry.
24877 * locale/C-translit.h.in: Add U20A1 transliteration.
24880 * locale/iso-639.def: Add wae entry.
24881 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24884 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24888 * locale/C-translit.h.in: Add entry for U20B9.
24889 Patch by pravin.d.s@gmail.com.
24891 2011-05-08 Ulrich Drepper <drepper@gmail.com>
24894 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24895 ENAMETOOLONG use generic getcwd.
24896 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24897 in rtld. Use *stat64.
24898 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24899 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24900 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24901 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24902 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24903 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24904 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24905 __fstatat64 macros.
24906 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24907 * dirent/rewinddir.c: Add libc_hidden_def.
24908 * sysdeps/mach/hurd/rewinddir.c: Likewise.
24909 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
24911 * include/dirent.h (__alloc_dir): Add flags parameter.
24912 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24913 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24915 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24916 from fdopendir if O_CLOEXEC is already set.
24918 2011-03-15 Alan Modra <amodra@gmail.com>
24920 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24921 l_tls_firstbyte_offset non-zero. Save padding offset in
24922 l_tls_firstbyte_offset for later use.
24923 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24924 freeing static tls block.
24926 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24928 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24929 where #ifdef was intended. The intent is to prevent ARG_MAX from
24930 being defined by the kernel headers.
24932 2011-05-07 Ulrich Drepper <drepper@gmail.com>
24935 * resolv/resolv.h: Define RES_NOTLDQUERY.
24936 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24937 no-tld-query and set RES_NOTLDQUERY.
24938 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24939 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24940 modern BIND to search name as TLD unless forbidden.
24942 2011-05-07 Petr Baudis <pasky@suse.cz>
24943 Ulrich Drepper <drepper@gmail.com>
24946 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24947 (is_trusted_path): ...to here.
24948 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24949 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24950 using is_trusted_path_normalize() in setuid scripts.
24952 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24954 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24955 __BEGIN/__END_DECLS.
24957 2011-05-06 Ulrich Drepper <drepper@gmail.com>
24959 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24960 NSS_STATUS_NOTFOUND if no record was found.
24962 2011-05-05 Andreas Schwab <schwab@redhat.com>
24964 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24965 (headers-not-in-tirpc): Remove rpc/netdb.h
24966 * resolv/netdb.h: Revert last change.
24968 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24970 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24971 circular dependency between libgcc.a and libc.a.
24973 2011-05-05 Andreas Schwab <schwab@redhat.com>
24975 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24976 * nis/Makefile: Don't install rpcsvc/*.
24977 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24978 instead of <rpc/types.h>.
24979 (MAXHOSTNAMELEN): Define.
24981 2011-05-03 Andreas Schwab <schwab@redhat.com>
24983 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24985 2011-04-28 Maciej Babinski <mbabinski@google.com>
24988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24989 gethostbyname4_r when IPv6 results are possible.
24991 2011-05-02 Ulrich Drepper <drepper@gmail.com>
24994 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24995 _PC_PIPE_BUF handling.
24997 2011-04-30 Bruno Haible <bruno@clisp.org>
25000 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25001 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25003 * inet/getnameinfo.c (getnameinfo): Likewise.
25005 2011-04-29 Ulrich Drepper <drepper@gmail.com>
25007 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25008 to groups setting in database lookup.
25009 * nss/nsswitch.conf: Add initgroups entry.
25011 2011-04-22 Ulrich Drepper <drepper@gmail.com>
25014 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25016 Patch by Eric Blake <eblake@redhat.com>.
25018 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25020 * sunrpc/Makefile (need-export-routines): Add svc_run.
25021 (routines): Remove svc_run.
25022 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25023 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25024 * sunrpc/svc_run.c (svc_run): Likewise.
25025 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25027 2011-04-21 Ulrich Drepper <drepper@gmail.com>
25029 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25030 problem in reallocation in last patch.
25032 2011-04-20 Ulrich Drepper <drepper@gmail.com>
25034 * sunrpc/Makefile: Move inclusion of Rules.
25036 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25038 * nss/nss_files/files-initgroups.c: New file.
25039 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25040 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25041 _nss_files_initgroups_dyn.
25043 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25045 * elf/elf.h (R_ARM_IRELATIVE): Define.
25047 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25049 * po/ru.po: Update from translation team.
25051 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25053 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25056 2011-02-06 Mike Frysinger <vapier@gentoo.org>
25059 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25060 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25061 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25062 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25063 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25065 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25067 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25069 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25070 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25071 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25073 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25076 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25078 * stdlib/bug-getcontext.c: New file.
25079 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25081 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25083 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25084 instructions into .machine "z9-109".
25085 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25086 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25088 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25090 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25091 between environment variables and auxiliary vector.
25093 2011-04-16 Ulrich Drepper <drepper@gmail.com>
25095 * Makefile: Add rules to build linkobj/libc.so.
25096 * include/libc-symbols.h: Define libc_hidden_nolink.
25097 * include/rpc/auth.h: Mark functions which are to be hidden.
25098 * include/rpc/auth_des.h: Likewise.
25099 * include/rpc/auth_unix.h: Likewise.
25100 * include/rpc/clnt.h: Likewise.
25101 * include/rpc/des_crypt.h: Likewise.
25102 * include/rpc/key_prot.h: Likewise.
25103 * include/rpc/pmap_clnt.h: Likewise.
25104 * include/rpc/pmap_prot.h: Likewise.
25105 * include/rpc/pmap_rmt.h: Likewise.
25106 * include/rpc/rpc_msg.h: Likewise.
25107 * include/rpc/svc.h: Likewise.
25108 * include/rpc/svc_auth.h: Likewise.
25109 * include/rpc/xdr.h: Likewise.
25110 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25111 * nss/Makefile: Likewise.
25112 * sunrpc/Makefile: Don't install headers. Build library with normal
25113 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25114 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25115 for the compat linking library. Remove use of INTDEF/INTUSE.
25116 * sunrpc/auth_none.c: Likewise.
25117 * sunrpc/auth_unix.c: Likewise.
25118 * sunrpc/authdes_prot.c: Likewise.
25119 * sunrpc/authuxprot.c: Likewise.
25120 * sunrpc/clnt_gen.c: Likewise.
25121 * sunrpc/clnt_perr.c: Likewise.
25122 * sunrpc/clnt_raw.c: Likewise.
25123 * sunrpc/clnt_simp.c: Likewise.
25124 * sunrpc/clnt_tcp.c: Likewise.
25125 * sunrpc/clnt_udp.c: Likewise.
25126 * sunrpc/clnt_unix.c: Likewise.
25127 * sunrpc/des_crypt.c: Likewise.
25128 * sunrpc/des_soft.c: Likewise.
25129 * sunrpc/get_myaddr.c: Likewise.
25130 * sunrpc/key_call.c: Likewise.
25131 * sunrpc/key_prot.c: Likewise.
25132 * sunrpc/netname.c: Likewise.
25133 * sunrpc/pm_getmaps.c: Likewise.
25134 * sunrpc/pm_getport.c: Likewise.
25135 * sunrpc/pmap_clnt.c: Likewise.
25136 * sunrpc/pmap_prot.c: Likewise.
25137 * sunrpc/pmap_prot2.c: Likewise.
25138 * sunrpc/pmap_rmt.c: Likewise.
25139 * sunrpc/publickey.c: Likewise.
25140 * sunrpc/rpc_cmsg.c: Likewise.
25141 * sunrpc/rpc_common.c: Likewise.
25142 * sunrpc/rpc_dtable.c: Likewise.
25143 * sunrpc/rpc_prot.c: Likewise.
25144 * sunrpc/rpc_thread.c: Likewise.
25145 * sunrpc/rtime.c: Likewise.
25146 * sunrpc/svc.c: Likewise.
25147 * sunrpc/svc_auth.c: Likewise.
25148 * sunrpc/svc_authux.c: Likewise.
25149 * sunrpc/svc_raw.c: Likewise.
25150 * sunrpc/svc_run.c: Likewise.
25151 * sunrpc/svc_simple.c: Likewise.
25152 * sunrpc/svc_tcp.c: Likewise.
25153 * sunrpc/svc_udp.c: Likewise.
25154 * sunrpc/svc_unix.c: Likewise.
25155 * sunrpc/svcauth_des.c: Likewise.
25156 * sunrpc/xcrypt.c: Likewise.
25157 * sunrpc/xdr.c: Likewise.
25158 * sunrpc/xdr_array.c: Likewise.
25159 * sunrpc/xdr_float.c: Likewise.
25160 * sunrpc/xdr_intXX_t.c: Likewise.
25161 * sunrpc/xdr_mem.c: Likewise.
25162 * sunrpc/xdr_rec.c: Likewise.
25163 * sunrpc/xdr_ref.c: Likewise.
25164 * sunrpc/xdr_sizeof.c: Likewise.
25165 * sunrpc/xdr_stdio.c: Likewise.
25167 2011-04-10 Ulrich Drepper <drepper@gmail.com>
25170 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25171 * sysdeps/ia64/dl-tls.h: Likewise.
25172 * sysdeps/powerpc/dl-tls.h: Likewise.
25173 * sysdeps/s390/dl-tls.h: Likewise.
25174 * sysdeps/sh/dl-tls.h: Likewise.
25175 * sysdeps/sparc/dl-tls.h: Likewise.
25176 * sysdeps/x86_64/dl-tls.h: Likewise.
25177 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25179 2011-03-14 Andreas Schwab <schwab@redhat.com>
25181 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25182 rpath element also skip the following colon.
25183 (expand_dynamic_string_token): Add is_path parameter and pass
25184 down to DL_DST_REQUIRED and _dl_dst_substitute.
25185 (decompose_rpath): Call expand_dynamic_string_token with
25186 non-zero is_path. Ignore empty rpaths.
25187 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25190 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25195 2011-04-09 Ulrich Drepper <drepper@gmail.com>
25198 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25199 Patch by Filipe David Manana <fdmanana@apache.org>.
25201 2011-04-07 Andreas Schwab <schwab@redhat.com>
25203 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25204 Maintain aligned stack.
25205 (CHECK_RSP): Remove unused macro.
25207 2011-04-03 Ulrich Drepper <drepper@gmail.com>
25209 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25210 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25212 2011-04-02 Ulrich Drepper <drepper@gmail.com>
25214 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25216 * include/features.h: Mention __USE_XOPEN2K8 in comment.
25218 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25221 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25222 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25223 * sysdeps/x86_64/memmove.c: New file.
25224 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25225 (memcpy): Renamed to ...
25226 (__new_memcpy): This.
25227 (memcpy): Provide GLIBC_2_14 memcpy.
25228 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25229 (memcpy): Provide GLIBC_2_2_5 memcpy.
25231 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25234 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25236 2011-03-30 Andreas Schwab <schwab@redhat.com>
25238 * misc/syncfs.c: New file.
25239 * misc/Makefile (routines): Add syncfs.
25240 * posix/unistd.h: Declare syncfs.
25241 * sysdeps/unix/syscalls.list: Add syncfs.
25243 2011-04-01 Andreas Schwab <schwab@redhat.com>
25245 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25247 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25248 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25250 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25252 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25253 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25255 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25257 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25258 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25259 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25260 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25261 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25262 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25263 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25265 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25266 sync_file_range.c with -fexceptions.
25267 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25268 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25269 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25270 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25271 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25272 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25273 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25274 sync_file_range as cancellation point
25275 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25276 now a wrapper around __call_sync_file_range with cancellation handling.
25277 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25278 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25279 function name to __call_sync_file_range.
25280 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25281 Add call_sync_file_range.
25283 2011-04-01 Andreas Schwab <schwab@redhat.com>
25285 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25288 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25290 * iconv/iconv.h: Fix typo in comment.
25291 * io/fcntl.h: Likewise.
25292 * libio/stdio.h: Likewise.
25293 * posix/spawn.h: Likewise.
25294 * posix/unistd.h: Likewise.
25295 * stdlib/stdlib.h: Likewise.
25296 * time/time.h: Likewise.
25297 * wcsmbs/wchar.h: Likewise.
25299 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25300 open_by_handle): Add.
25301 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25302 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25303 Augment a few comments.
25304 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25305 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25306 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25307 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25308 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25309 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25312 * io/fcntl.h (AT_EMPTY_PATH): Define.
25314 2011-03-30 Ulrich Drepper <drepper@gmail.com>
25316 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25317 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25318 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25320 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
25321 * Versions.def: Add GLIBC_2.14.
25322 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25325 2011-03-22 Ulrich Drepper <drepper@gmail.com>
25327 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25329 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25331 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25334 * string/test-strncmp.c (do_page_test): New function.
25335 (check2): Likewise.
25336 (test_main): Call check2.
25337 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25339 2011-03-20 Ulrich Drepper <drepper@gmail.com>
25342 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25343 Handle cache information in CPU leaf 4.
25344 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25346 2011-03-18 Ulrich Drepper <drepper@gmail.com>
25349 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25350 character representation.
25351 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25353 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25355 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25356 END(__isnan) to END(__isnanf) to match function entry point/label
25357 EALIGN(__isnanf,...).
25359 2011-03-10 Jakub Jelinek <jakub@redhat.com>
25361 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25363 2011-03-10 Ulrich Drepper <drepper@gmail.com>
25366 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25367 copy from the symbol referenced in the relocation to initialize the
25369 Patch by Piotr Bury <pbury@goahead.com>.
25370 * elf/Makefile: Add rules to build and tst-unique3.
25371 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25372 * elf/tst-unique3.cc: New file.
25373 * elf/tst-unique3.h: New file.
25374 * elf/tst-unique3lib.cc: New file.
25375 * elf/tst-unique3lib2.cc: New file.
25377 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25379 2011-03-10 Mike Frysinger <vapier@gentoo.org>
25381 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25382 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25385 2011-03-06 Ulrich Drepper <drepper@gmail.com>
25387 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25388 to-be-loaded object along a path to loader is ld.so.
25390 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25391 Ulrich Drepper <drepper@gmail.com>
25393 * sysdeps/x86_64/memset.S: After aligning destination, code
25394 branches to different locations depending on the value of
25395 misalignment, when multiarch is enabled. Fix this.
25397 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25399 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25400 Set _x86_64_preferred_memory_instruction for AMD processsors.
25401 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25402 Set bit_Prefer_SSE_for_memop for AMD processors.
25404 2011-03-04 Ulrich Drepper <drepper@gmail.com>
25406 * libio/fmemopen.c (fmemopen): Optimize a bit.
25408 2011-03-03 Andreas Schwab <schwab@redhat.com>
25410 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25412 2011-03-03 Roland McGrath <roland@redhat.com>
25414 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25416 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25418 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25419 __bzero_ultra1 instead of __memset_ultra1.
25421 2011-02-23 Andreas Schwab <schwab@redhat.com>
25422 Ulrich Drepper <drepper@gmail.com>
25425 * include/link.h (struct link_map): Add l_orig_initfini.
25426 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25427 returning unsuccessfully.
25428 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25429 close of a file loaded at startup, restore the original l_initfini
25431 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25432 list, store the pointer.
25433 * elf/Makefile ($(objpfx)noload-mem): New rule.
25434 (noload-ENV): Define.
25435 (tests): Add $(objpfx)noload-mem.
25436 * elf/noload.c: Include <memcheck.h>.
25437 (main): Call mtrace. Close all opened handles.
25439 2011-02-17 Andreas Schwab <schwab@redhat.com>
25442 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25443 dependencies are missing.
25445 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25447 Fix __if_freereq crash: Unlike the generic version which uses free,
25449 * sysdeps/mach/hurd/ifreq.h: New file.
25451 2011-01-27 Petr Baudis <pasky@suse.cz>
25452 Ulrich Drepper <drepper@gmail.com>
25455 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25456 to extend_alloca().
25457 * stdio-common/bug23.c: New file.
25458 * stdio-common/Makefile (tests): Add bug23.
25460 2010-09-28 Andreas Schwab <schwab@redhat.com>
25461 Ulrich Drepper <drepper@gmail.com>
25464 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25465 before performing relro protection. At old place add assertion
25466 to make sure nothing changed.
25468 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25469 Glauber de Oliveira Costa <glommer@gmail.com>
25471 * elf/elf.h: Add new ARM TLS relocs.
25473 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25476 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25478 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25480 * sysdeps/wordsize-64/tst-writev.c: New file.
25482 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25484 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25485 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25486 insns in _dl_start to prevent a TOC reference before relocs are
25489 2011-02-15 Ulrich Drepper <drepper@gmail.com>
25492 * Makeconfig: Remove RANLIB definition.
25493 * Makerules: Don't use RANLIB.
25494 * aclocal.m4: Remove ranlib test.
25495 * configure.in: No need to check for ranlib.
25496 * elf/rtld-Rules: Don't use RANLIB.
25498 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25500 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25502 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25503 inclusion protection macro.
25505 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25506 SIGRTMIN and SIGRTMAX and print information in that case only when
25507 SIGRTMIN is defined.
25509 2011-02-11 Jakub Jelinek <jakub@redhat.com>
25511 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25512 arginfo fn returning -1.
25514 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25515 and thousands string is zero terminated.
25517 2011-02-03 Andreas Schwab <schwab@redhat.com>
25519 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25520 sysdeps/unix/sysv/linux/bits/socket.h.
25522 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25524 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25525 (__CPU_COUNT): Remove old macros.
25526 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25527 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25528 (__CPU_ALLOC, __CPU_FREE): Add macros.
25529 (__sched_cpualloc, __sched_cpufree): Add declarations.
25531 2011-02-05 Ulrich Drepper <drepper@gmail.com>
25533 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25534 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25535 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25536 (readdhstai): Return value of addhstaiX call.
25537 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25538 (addgrbyX): Return value returned by cache_addgr.
25539 (readdgrbyname): Return value returned by addgrbyX.
25540 (readdgrbygid): Likewise.
25541 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25542 (addpwbyX): Return value returned by cache_addpw.
25543 (readdpwbyname): Return value returned by addhstbyX.
25544 (readdpwbyuid): Likewise.
25545 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25546 (addservbyX): Return value returned by cache_addserv.
25547 (readdservbyname): Return value returned by addservbyX:
25548 (readdservbyport): Likewise.
25549 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25550 (addhstbyX): Return value returned by cache_addhst.
25551 (readdhstbyname): Return value returned by addhstbyX.
25552 (readdhstbyaddr): Likewise.
25553 (readdhstbynamev6): Likewise.
25554 (readdhstbyaddrv6): Likewise.
25555 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25556 (readdinitgroups): Return value returned by addinitgroupsX.
25557 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25558 (prune_cache): Keep track of timeout value of re-added entries.
25559 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25560 * nscd/nscd.h: Adjust prototypes of readd* functions.
25562 2011-02-04 Roland McGrath <roland@redhat.com>
25564 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25565 (nis_stats): Likewise.
25566 * nis/nis_modify.c (nis_modify): Likewise.
25567 * nis/nis_remove.c (nis_remove): Likewise.
25568 * nis/nis_add.c (nis_add): Likewise.
25570 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25572 * posix/fnmatch_loop.c: Add some consts.
25574 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25576 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25579 * config.make.in (config-cflags-novzeroupper): Define.
25580 * configure.in: Substitute libc_cv_cc_novzeroupper.
25581 * elf/Makefile (AVX-CFLAGS): Define.
25582 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25583 (CFLAGS-tst-auditmod4a.c): Likewise.
25584 (CFLAGS-tst-auditmod4b.c): Likewise.
25585 (CFLAGS-tst-auditmod6b.c): Likewise.
25586 (CFLAGS-tst-auditmod6c.c): Likewise.
25587 (CFLAGS-tst-auditmod7b.c): Likewise.
25588 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25590 2011-02-02 Ulrich Drepper <drepper@gmail.com>
25592 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25593 function to the callback.
25594 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25596 2011-02-02 Andreas Schwab <schwab@redhat.com>
25598 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25601 2011-01-19 Ulrich Drepper <drepper@gmail.com>
25604 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25606 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25608 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25611 * elf/Makefile: Add rules to build and run new test.
25612 * elf/tst-initorder.c: New file.
25613 * elf/tst-initorder.exp: New file.
25614 * elf/tst-initordera1.c: New file.
25615 * elf/tst-initordera2.c: New file.
25616 * elf/tst-initordera3.c: New file.
25617 * elf/tst-initordera4.c: New file.
25618 * elf/tst-initorderb1.c: New file.
25619 * elf/tst-initorderb2.c: New file.
25620 * elf/tst-order-a1.c: New file.
25621 * elf/tst-order-a2.c: New file.
25622 * elf/tst-order-a3.c: New file.
25623 * elf/tst-order-a4.c: New file.
25624 * elf/tst-order-b1.c: New file.
25625 * elf/tst-order-b2.c: New file.
25626 * elf/tst-order-main.c: New file.
25627 New test case by George Gensure <werkt0@gmail.com>.
25629 2010-10-01 Andreas Schwab <schwab@redhat.com>
25631 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25632 decoding ACE if AI_CANONIDN.
25634 2011-01-18 Ulrich Drepper <drepper@gmail.com>
25636 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25638 2011-01-17 Ulrich Drepper <drepper@gmail.com>
25640 * version.h (RELEASE): Bump for 2.13 release.
25641 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25643 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25645 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25647 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25648 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25649 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25650 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25651 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25652 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25654 * posix/getconf.c: Update copyright year.
25655 * catgets/gencat.c: Likewise.
25656 * csu/version.c: Likewise.
25657 * debug/catchsegv.sh: Likewise.
25658 * debug/xtrace.sh: Likewise.
25659 * elf/ldconfig.c: Likewise.
25660 * elf/ldd.bash.in: Likewise.
25661 * elf/sprof.c (print_version): Likewise.
25662 * iconv/iconv_prog.c: Likewise.
25663 * iconv/iconvconfig.c: Likewise.
25664 * locale/programs/locale.c: Likewise.
25665 * locale/programs/localedef.c: Likewise.
25666 * malloc/memusage.sh: Likewise.
25667 * malloc/mtrace.pl: Likewise.
25668 * nscd/nscd.c (print_version): Likewise.
25669 * nss/getent.c: Likewise.
25671 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25672 PF_CAIF, and PF_ALG.
25673 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25675 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25677 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25678 (modules-names): Use them.
25679 (ifunc-test-modules, ifunc-pie-tests): Define.
25680 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25681 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25682 (test-extras): Likewise.
25683 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25684 $(compile-command.c).
25685 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25686 (all-built-dso): Define.
25687 (check-textrel.out, check-execstack.out): Depend on it.
25689 * configure.in: Don't override --enable-multi-arch.
25691 2011-01-15 Ulrich Drepper <drepper@gmail.com>
25694 * nscd/hstcache.c (tryagain): Define.
25695 (cache_addhst): Return tryagain not notfound for temporary errors.
25696 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25699 2011-01-14 Ulrich Drepper <drepper@gmail.com>
25702 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25703 to make the syscall.
25704 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25707 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25708 and fall back to matching as normal character if the string ends before
25709 the matching ']' is found. This is what POSIX requires.
25710 * posix/testfnm.c: Adjust test result.
25711 * posix/globtest.sh: Adjust test result. Add new test.
25712 * posix/tst-fnmatch.input: Likewise.
25713 * posix/tst-fnmatch2.c: Add new test.
25715 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25717 * elf/Makefile (check-execstack): Revert last change. Depend on
25719 (check-execstack.h): New target.
25720 (generated): Add check-execstack.h.
25721 * elf/check-execstack.c: Include "check-execstack.h".
25722 (main): Revert last change.
25723 (handle_file): Return zero if GNU_STACK is absent and
25724 DEFAULT_STACK_PERMS doesn't include PF_X.
25726 2011-01-13 Ulrich Drepper <drepper@gmail.com>
25728 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25729 in child fails because the descriptor is already closed.
25730 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25731 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25732 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25735 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25739 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25740 temporary buffer used to handle multi lookups locally.
25741 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25743 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25745 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25748 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25750 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25751 alignment for SSE2.
25753 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25756 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25757 characters. When rounding increased number of integer digits recompute
25759 * stdio-common/tst-grouping.c: New file.
25760 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25762 2011-01-09 Ulrich Drepper <drepper@gmail.com>
25764 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25765 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25767 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25769 * bits/select.h: Likewise.
25771 2011-01-08 Ulrich Drepper <drepper@gmail.com>
25773 * po/ja.po: Update from translation team.
25775 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
25778 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25779 implementation just like for lxstat, fxstatat, et al.
25781 2010-12-27 Jim Meyering <meyering@redhat.com>
25784 * posix/regexec.c (build_trtable): Return failure indication upon
25785 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25787 2010-12-25 Ulrich Drepper <drepper@gmail.com>
25790 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25791 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25792 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25793 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25796 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25799 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25800 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25802 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25804 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25805 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25806 script has SORT_BY_INIT_PRIORITY.
25807 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25808 NO_CTORS_DTORS_SECTIONS is defined.
25809 * elf/soinit.c: Likewise.
25810 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25811 NO_CTORS_DTORS_SECTIONS is defined.
25812 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25813 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25814 * sysdeps/sh/init-first.c: Likewise.
25815 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25817 2010-12-24 Ulrich Drepper <drepper@gmail.com>
25819 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25820 always use the slow path.
25822 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25824 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25825 similar rule which adds the sysdep directories to the header search in
25826 order to pick up the correct platform stackinfo.h.
25827 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25828 perform test if it is, otherwise return successfully without testing.
25829 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25830 DEFAULT_STACK_PERMS define in stackinfo.h.
25831 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25832 defined in stackinfo.h.
25833 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25834 DEFAULT_STACK_PERMS defined in stackinfo.h.
25835 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25836 * sysdeps/ia64/stackinfo.h: Likewise.
25837 * sysdeps/s390/stackinfo.h: Likewise.
25838 * sysdeps/sh/stackinfo.h: Likewise.
25839 * sysdeps/sparc/stackinfo.h: Likewise.
25840 * sysdeps/x86_64/stackinfo.h: Likewise.
25841 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25842 PF_X for powerpc64. Retain PF_X for powerpc32.
25844 2010-12-19 Ulrich Drepper <drepper@gmail.com>
25846 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25848 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25849 GETDENTS_64BIT_ALIGNED.
25851 2010-12-14 Ulrich Drepper <dreper@gmail.com>
25853 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25855 2010-12-10 Andreas Schwab <schwab@redhat.com>
25857 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25860 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25861 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25863 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25864 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25866 2010-12-09 Ulrich Drepper <drepper@gmail.com>
25869 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25872 2010-12-09 Jakub Jelinek <jakub@redhat.com>
25874 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25876 2010-12-03 Ulrich Drepper <drepper@gmail.com>
25878 * po/it.po: Update from translation team.
25880 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25882 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25885 2010-11-30 Ulrich Drepper <drepper@gmail.com>
25887 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25889 2010-11-24 Andreas Schwab <schwab@redhat.com>
25891 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25893 (gaih_getanswer_slice): Likewise.
25895 2010-10-20 Jakub Jelinek <jakub@redhat.com>
25897 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25899 2010-05-31 Petr Baudis <pasky@suse.cz>
25902 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25903 silently even in the chroot mode.
25905 2010-11-22 Ulrich Drepper <drepper@gmail.com>
25907 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25908 last patch a bit. Pretty printing
25910 2010-05-31 Petr Baudis <pasky@suse.cz>
25913 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25914 initialization of skip_initgroups_dyn.
25916 2010-11-19 Ulrich Drepper <drepper@gmail.com>
25918 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25919 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25921 2010-11-16 Ulrich Drepper <drepper@gmail.com>
25923 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25925 2010-11-11 Andreas Schwab <schwab@redhat.com>
25927 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25928 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25929 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25930 ($(objpfx)tst-fnmatch-mem): New rule.
25931 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25932 * posix/tst-fnmatch.c (main): Call mtrace.
25934 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25937 Support Intel processor model 6 and model 0x2c.
25939 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
25941 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25944 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25947 * string/test-strncasecmp.c (check_result): New function.
25948 (do_one_test): Use it.
25949 (check1): New function.
25950 (test_main): Use it.
25951 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25952 Support strcasecmp and strncasecmp.
25954 2010-11-08 Ulrich Drepper <drepper@gmail.com>
25957 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25958 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25960 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25962 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25964 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25966 * sysdeps/x86_64/multiarch/bzero.S: New file.
25967 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25968 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25969 * sysdeps/x86_64/multiarch/memset.S: New file.
25970 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25972 Set bit_Prefer_SSE_for_memop for Intel processors.
25973 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25975 (index_Prefer_SSE_for_memop): Define.
25976 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25978 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
25980 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25981 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25983 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25986 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25987 (__x86_64_raw_data_cache_size_half): Likewise.
25988 (__x86_64_raw_shared_cache_size): Likewise.
25989 (__x86_64_raw_shared_cache_size_half): Likewise.
25991 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25992 (__x86_64_raw_data_cache_size_half): Likewise.
25993 (__x86_64_raw_shared_cache_size): Likewise.
25994 (__x86_64_raw_shared_cache_size_half): Likewise.
25995 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25996 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25997 and __x86_64_raw_shared_cache_size_half. Round
25998 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25999 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26000 to multiple of 256 bytes.
26002 2010-11-03 Ulrich Drepper <drepper@gmail.com>
26005 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26006 of inacessible symlinks. Verify result of symlink before returning it.
26007 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26008 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26010 2010-10-28 Erich Ritz <erichritz@gmail.com>
26012 * math/math.h (isinf): Fix typo in comment.
26014 2010-11-01 Ulrich Drepper <drepper@gmail.com>
26016 * po/da.po: Update from translation team.
26018 2010-10-26 Ulrich Drepper <drepper@gmail.com>
26020 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26021 is added to the list.
26023 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26024 Ulrich Drepper <drepper@gmail.com>
26026 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26027 the global list here. Move code to...
26028 (_dl_add_to_namespace_list): ...here. New function.
26029 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26030 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26031 * elf/dl-load.c (lose): Don't remove the element from the list.
26032 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26033 (_dl_map_object): Likewise.
26035 2010-10-25 Ulrich Drepper <drepper@gmail.com>
26038 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26039 into all bytes of SSE register.
26040 Patch by Richard Li <richardpku@gmail.com>.
26042 2010-10-24 Ulrich Drepper <drepper@gmail.com>
26045 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26048 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26050 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26051 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26052 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26053 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26058 2010-10-22 Andreas Schwab <schwab@redhat.com>
26060 * include/dlfcn.h (__RTLD_SECURE): Define.
26061 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26062 mode & __RTLD_SECURE instead.
26063 (open_path): Rename preloaded parameter to secure.
26064 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26065 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26066 * elf/dl-deps.c (openaux): Likewise.
26067 * elf/rtld.c (struct map_args): Remove is_preloaded.
26068 (map_doit): Don't use it.
26069 (dl_main): Likewise.
26070 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26071 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26073 2010-09-09 Andreas Schwab <schwab@redhat.com>
26075 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26076 (sysd-rules-targets): Remove duplicates.
26077 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26078 rtld-%.$o dependency.
26080 2010-10-18 Andreas Schwab <schwab@redhat.com>
26082 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26083 _dl_map_object do it.
26085 2010-10-19 Ulrich Drepper <drepper@gmail.com>
26087 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26088 fast fma builtins, define the macros in the C99 standard.
26089 (FP_FAST_FMAF): Likewise.
26090 (FP_FAST_FMAL): Likewise.
26091 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26093 * bits/mathdef.h: Update copyright year.
26094 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26096 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26098 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26099 builtins, define the macros in the C99 standard.
26100 (FP_FAST_FMAF): Likewise.
26101 (FP_FAST_FMAL): Likewise.
26102 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26104 (FP_FAST_FMAF): Likewise.
26106 2010-10-15 Jakub Jelinek <jakub@redhat.com>
26109 * math/libm-test.inc (fma_test): Some new testcases.
26110 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26111 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26112 y and infinite z. Do multiplication by C already in long double.
26113 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26114 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26115 y and infinite z. Do bitwise or of inexact bit into u.d.
26116 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26117 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26118 * sysdeps/i386/fpu/s_fma.S: Removed.
26119 * sysdeps/i386/fpu/s_fmal.S: Removed.
26121 2010-10-16 Jakub Jelinek <jakub@redhat.com>
26124 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26125 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26126 computation is not scheduled after fetestexcept. Fix value
26127 of minimum denormal long double.
26129 2010-10-14 Jakub Jelinek <jakub@redhat.com>
26132 * math/libm-test.inc (fma_test): Add some more tests.
26133 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26136 2010-10-15 Andreas Schwab <schwab@redhat.com>
26138 * scripts/data/localplt-s390-linux-gnu.data: New file.
26139 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26141 2010-10-13 Jakub Jelinek <jakub@redhat.com>
26144 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26145 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26147 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26149 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26151 if one of x and y is very large and the other is subnormal.
26152 * sysdeps/s390/fpu/s_fmaf.c: New file.
26153 * sysdeps/s390/fpu/s_fma.c: New file.
26154 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26155 * sysdeps/powerpc/fpu/s_fma.S: New file.
26156 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26157 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26158 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26160 2010-10-12 Jakub Jelinek <jakub@redhat.com>
26163 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26165 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26166 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26167 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26168 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26169 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26170 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26171 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26173 2010-10-12 Ulrich Drepper <drepper@redhat.com>
26176 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26177 * posix/bug-regex31.input: Add test case.
26179 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26181 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26182 * posix/bug-regex31.input: New file.
26185 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26186 (parse_sub_exp): Fix last change, use postorder.
26188 * posix/bug-regex31.c: New file.
26189 * posix/Makefile: Add rules to build and run bug-regex31.
26191 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26194 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26197 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26198 to have entries in sys_siglist.
26201 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26204 2010-10-07 Jakub Jelinek <jakub@redhat.com>
26207 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26208 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26209 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26210 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26211 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26212 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26213 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26214 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26215 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26216 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26217 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26218 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26219 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26220 * math/ftestexcept.c (fetestexcept): Likewise.
26221 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26222 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26223 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26224 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26225 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26226 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26227 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26229 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26232 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26235 2010-10-06 Ulrich Drepper <drepper@gmail.com>
26237 * string/bug-strstr1.c: New file.
26238 * string/Makefile: Add rules to build and run bug-strstr1.
26240 2010-10-05 Eric Blake <eblake@redhat.com>
26243 * string/str-two-way.h (two_way_long_needle): Always clear memory
26244 when skipping input due to the shift table.
26246 2010-10-03 Ulrich Drepper <drepper@gmail.com>
26249 * malloc/mcheck.c: Handle large requests.
26252 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26253 for strncmp and strncasecmp.
26254 * string/stratcliff.c: Add tests for strcmp and strncmp.
26255 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26257 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26259 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26262 2010-09-30 Andreas Jaeger <aj@suse.de>
26264 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26265 (CGROUP_SUPER_MAGIC): Define.
26266 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26267 Handle btrfs and cgroup file systems.
26268 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26271 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
26273 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26274 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26276 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26279 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26280 trying to locate the ELF header.
26282 2010-09-27 Andreas Schwab <schwab@redhat.com>
26285 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26286 Mask out sign-bit copies when constructing f_fsid.
26288 2010-09-24 Petr Baudis <pasky@suse.cz>
26290 * debug/stack_chk_fail_local.c: Add missing licence exception.
26291 * debug/warning-nop.c: Likewise.
26293 2010-09-15 Joseph Myers <joseph@codesourcery.com>
26295 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26296 implementing getdents64 using getdents syscall, set d_type if
26297 __ASSUME_GETDENTS32_D_TYPE.
26299 2010-09-16 Andreas Schwab <schwab@redhat.com>
26301 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26302 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26304 2010-09-21 Ulrich Drepper <drepper@redhat.com>
26307 * posix/unistd.h: Undo change of feature selection for ftruncate from
26310 2010-09-20 Ulrich Drepper <drepper@redhat.com>
26312 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26315 2010-09-20 Andreas Schwab <schwab@redhat.com>
26317 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26319 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26321 2010-09-14 Andreas Schwab <schwab@redhat.com>
26323 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26324 variables after CHECK_SP call.
26325 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26327 2010-09-13 Andreas Schwab <schwab@redhat.com>
26328 Ulrich Drepper <drepper@redhat.com>
26330 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26331 re-relocationg ld.so.
26332 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26333 _dl_init_paths call.
26334 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26337 2010-09-14 Ulrich Drepper <drepper@redhat.com>
26339 * resolv/res_init.c (__res_vinit): Count the default server we added.
26341 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26342 Ulrich Drepper <drepper@redhat.com>
26345 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26346 (____longjmp_chk): Use %ebx for saving value across system call.
26349 2010-09-06 Andreas Schwab <schwab@redhat.com>
26351 * manual/Makefile: Don't mix pattern rules with normal rules.
26353 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26355 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26357 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26358 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26359 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26360 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26361 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26364 2010-09-04 Ulrich Drepper <drepper@redhat.com>
26367 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26368 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26370 2010-09-02 Ulrich Drepper <drepper@redhat.com>
26372 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26373 * sysdeps/x86_64/addmul_1.S: Likewise.
26374 * sysdeps/x86_64/lshift.S: Likewise.
26375 * sysdeps/x86_64/mul_1.S: Likewise.
26376 * sysdeps/x86_64/rshift.S: Likewise.
26377 * sysdeps/x86_64/sub_n.S: Likewise.
26378 * sysdeps/x86_64/submul_1.S: Likewise.
26380 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26382 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26383 Define __sched_param instead of SCHED_* and sched_param when
26384 <bits/sched.h> is included with __need_schedparam defined.
26385 * bits/sched.h [__need_schedparam]
26386 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26387 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26388 (__defined_schedparam): Define to 1.
26389 (__sched_param): New structure, identical to sched_param.
26390 (__need_schedparam): Undefine.
26392 2010-08-31 Mike Frysinger <vapier@gentoo.org>
26394 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26395 (epoll_create1): Declare.
26397 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26399 2010-08-31 Andreas Schwab <schwab@redhat.com>
26402 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26403 shifting retval into place.
26405 2010-09-01 Ulrich Drepper <drepper@redhat.com>
26407 * nis/rpcsvc/nis.h: Update copyright notice.
26408 * nis/rpcsvc/nis.x: Likewise.
26409 * nis/rpcsvc/nis_callback.h: Likewise.
26410 * nis/rpcsvc/nis_callback.x: Likewise.
26411 * nis/rpcsvc/nis_object.x: Likewise.
26412 * nis/rpcsvc/nis_tags.h: Likewise.
26413 * nis/rpcsvc/yp.h: Likewise.
26414 * nis/rpcsvc/yp.x: Likewise.
26415 * nis/rpcsvc/ypupd.h: Likewise.
26416 * nis/yp_xdr.c: Likewise.
26417 * nis/ypupdate_xdr.c: Likewise.
26419 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26420 mainly the body of pmap_getport. Add parameters to specify timeouts.
26421 (pmap_getport): Use __libc_rpc_getport.
26422 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26423 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26424 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26426 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26431 2010-08-27 Roland McGrath <roland@redhat.com>
26433 * sysdeps/i386/i686/multiarch/Makefile
26434 (CFLAGS-varshift.c): New variable.
26436 2010-08-27 Ulrich Drepper <drepper@redhat.com>
26438 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26439 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26441 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26443 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26445 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26447 * sysdeps/x86_64/strlen.S: Unroll the loop.
26448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26449 strlen-sse2 strlen-sse2-bsf.
26450 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26451 __strlen_no_bsf if bit_Slow_BSF is set.
26452 (__strlen_sse42): Removed.
26453 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26454 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26456 2010-08-25 Roland McGrath <roland@redhat.com>
26458 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26459 * sysdeps/x86_64/multiarch/varshift.c: New file.
26460 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26461 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26462 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26463 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26465 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26468 strlen-sse2 strlen-sse2-bsf.
26469 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26470 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26471 (__strlen_sse2): Removed.
26472 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26473 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26475 bit_Slow_BSF for Atom.
26476 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26477 (index_Slow_BSF): Define.
26478 (HAS_SLOW_BSF): Define.
26480 2010-08-25 Ulrich Drepper <drepper@redhat.com>
26483 * resolv/res_init.c (__res_vinit): When no server address at all
26484 is given default to loopback.
26486 2010-08-24 Roland McGrath <roland@redhat.com>
26488 * configure.in: Remove config-name.h generation.
26489 * configure: Regenerated.
26490 * config-name.in: File removed.
26491 * scripts/config-uname.sh: New file.
26492 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26493 ($(objdir)config-name.h): New target.
26495 * sunrpc/rpc_parse.h: Avoid nested comment.
26497 2010-08-24 Richard Henderson <rth@redhat.com>
26498 Ulrich Drepper <drepper@redhat.com>
26499 H.J. Lu <hongjiu.lu@intel.com>
26501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26503 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26504 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26505 _mm_alignr_epi8 with _mm_loadu_si128.
26506 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26507 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26508 (__m128i_shift_right): Removed.
26509 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26510 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26511 * sysdeps/x86_64/multiarch/varshift.h: New file.
26512 * sysdeps/x86_64/multiarch/varshift.S: New file.
26514 2010-08-21 Mike Frysinger <vapier@gentoo.org>
26516 * configure.in: Move assembler checks to before sysdep dir checking.
26518 2010-08-20 Petr Baudis <pasky@suse.cz>
26520 * LICENSES: Sync the sunrpc license.
26522 2010-08-19 Ulrich Drepper <drepper@redhat.com>
26524 * sunrpc/auth_des.c: Update copyright notice once again.
26525 * sunrpc/auth_none.c: Likewise.
26526 * sunrpc/auth_unix.c: Likewise.
26527 * sunrpc/authdes_prot.c: Likewise.
26528 * sunrpc/authuxprot.c: Likewise.
26529 * sunrpc/bindrsvprt.c: Likewise.
26530 * sunrpc/clnt_gen.c: Likewise.
26531 * sunrpc/clnt_perr.c: Likewise.
26532 * sunrpc/clnt_raw.c: Likewise.
26533 * sunrpc/clnt_simp.c: Likewise.
26534 * sunrpc/clnt_tcp.c: Likewise.
26535 * sunrpc/clnt_udp.c: Likewise.
26536 * sunrpc/clnt_unix.c: Likewise.
26537 * sunrpc/des_crypt.c: Likewise.
26538 * sunrpc/des_soft.c: Likewise.
26539 * sunrpc/get_myaddr.c: Likewise.
26540 * sunrpc/getrpcport.c: Likewise.
26541 * sunrpc/key_call.c: Likewise.
26542 * sunrpc/key_prot.c: Likewise.
26543 * sunrpc/openchild.c: Likewise.
26544 * sunrpc/pm_getmaps.c: Likewise.
26545 * sunrpc/pm_getport.c: Likewise.
26546 * sunrpc/pmap_clnt.c: Likewise.
26547 * sunrpc/pmap_prot.c: Likewise.
26548 * sunrpc/pmap_prot2.c: Likewise.
26549 * sunrpc/pmap_rmt.c: Likewise.
26550 * sunrpc/rpc/auth.h: Likewise.
26551 * sunrpc/rpc/auth_unix.h: Likewise.
26552 * sunrpc/rpc/clnt.h: Likewise.
26553 * sunrpc/rpc/des_crypt.h: Likewise.
26554 * sunrpc/rpc/key_prot.h: Likewise.
26555 * sunrpc/rpc/netdb.h: Likewise.
26556 * sunrpc/rpc/pmap_clnt.h: Likewise.
26557 * sunrpc/rpc/pmap_prot.h: Likewise.
26558 * sunrpc/rpc/pmap_rmt.h: Likewise.
26559 * sunrpc/rpc/rpc.h: Likewise.
26560 * sunrpc/rpc/rpc_des.h: Likewise.
26561 * sunrpc/rpc/rpc_msg.h: Likewise.
26562 * sunrpc/rpc/svc.h: Likewise.
26563 * sunrpc/rpc/svc_auth.h: Likewise.
26564 * sunrpc/rpc/types.h: Likewise.
26565 * sunrpc/rpc/xdr.h: Likewise.
26566 * sunrpc/rpc_clntout.c: Likewise.
26567 * sunrpc/rpc_cmsg.c: Likewise.
26568 * sunrpc/rpc_common.c: Likewise.
26569 * sunrpc/rpc_cout.c: Likewise.
26570 * sunrpc/rpc_dtable.c: Likewise.
26571 * sunrpc/rpc_hout.c: Likewise.
26572 * sunrpc/rpc_main.c: Likewise.
26573 * sunrpc/rpc_parse.c: Likewise.
26574 * sunrpc/rpc_parse.h: Likewise.
26575 * sunrpc/rpc_prot.c: Likewise.
26576 * sunrpc/rpc_sample.c: Likewise.
26577 * sunrpc/rpc_scan.c: Likewise.
26578 * sunrpc/rpc_scan.h: Likewise.
26579 * sunrpc/rpc_svcout.c: Likewise.
26580 * sunrpc/rpc_tblout.c: Likewise.
26581 * sunrpc/rpc_util.c: Likewise.
26582 * sunrpc/rpc_util.h: Likewise.
26583 * sunrpc/rpcinfo.c: Likewise.
26584 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26585 * sunrpc/rpcsvc/key_prot.x: Likewise.
26586 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26587 * sunrpc/rpcsvc/mount.x: Likewise.
26588 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26589 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26590 * sunrpc/rpcsvc/rex.x: Likewise.
26591 * sunrpc/rpcsvc/rstat.x: Likewise.
26592 * sunrpc/rpcsvc/rusers.x: Likewise.
26593 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26594 * sunrpc/rpcsvc/spray.x: Likewise.
26595 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26596 * sunrpc/rtime.c: Likewise.
26597 * sunrpc/svc.c: Likewise.
26598 * sunrpc/svc_auth.c: Likewise.
26599 * sunrpc/svc_authux.c: Likewise.
26600 * sunrpc/svc_raw.c: Likewise.
26601 * sunrpc/svc_run.c: Likewise.
26602 * sunrpc/svc_simple.c: Likewise.
26603 * sunrpc/svc_tcp.c: Likewise.
26604 * sunrpc/svc_udp.c: Likewise.
26605 * sunrpc/svc_unix.c: Likewise.
26606 * sunrpc/svcauth_des.c: Likewise.
26607 * sunrpc/xcrypt.c: Likewise.
26608 * sunrpc/xdr.c: Likewise.
26609 * sunrpc/xdr_array.c: Likewise.
26610 * sunrpc/xdr_float.c: Likewise.
26611 * sunrpc/xdr_mem.c: Likewise.
26612 * sunrpc/xdr_rec.c: Likewise.
26613 * sunrpc/xdr_ref.c: Likewise.
26614 * sunrpc/xdr_sizeof.c: Likewise.
26615 * sunrpc/xdr_stdio.c: Likewise.
26617 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26620 2010-08-19 Andreas Schwab <schwab@redhat.com>
26622 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26624 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
26626 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26627 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26628 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26629 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26630 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26631 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26632 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26633 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26634 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26635 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26636 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26637 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26638 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26639 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26641 2010-07-26 Anton Blanchard <anton@samba.org>
26643 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26644 * malloc/arena.c (heap_trim): Likewise.
26646 2010-08-16 Ulrich Drepper <drepper@redhat.com>
26648 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26650 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26651 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26653 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26655 * sysdeps/i386/elf/Makefile: New file.
26657 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26659 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26660 from fanotify_init.
26661 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26662 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26664 2010-08-15 Ulrich Drepper <drepper@redhat.com>
26666 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26668 * sysdeps/multiarch/strcmp.S: Likewise.
26670 2010-08-14 Ulrich Drepper <drepper@redhat.com>
26672 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26673 strncase_l-nonascii.
26674 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26675 Add strncase_l-ssse3.
26676 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26677 * sysdeps/x86_64/strcmp.S: Likewise.
26678 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26679 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26680 * sysdeps/x86_64/strncase.S: New file.
26681 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26682 * sysdeps/x86_64/strncase_l.S: New file.
26683 * string/Makefile (strop-tests): Add strncasecmp.
26684 * string/test-strncasecmp.c: New file.
26686 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26689 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26690 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26692 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26694 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26696 2010-08-12 Ulrich Drepper <drepper@redhat.com>
26698 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26699 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26700 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26702 2010-05-01 Alan Modra <amodra@gmail.com>
26704 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26705 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26706 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26707 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26708 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26709 tidying. Don't tail-call __sigjmp_save for static lib.
26710 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26712 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26713 (CALL_MCOUNT): Add eh info, and nop after bl.
26714 (TAIL_CALL_SYSCALL_ERROR): New macro.
26715 (PSEUDO_RET): Use it.
26716 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26717 Correct save location of integer regs and cr.
26718 (_dl_profile_resolve): Correct cr save location. Delete nops
26719 after bl when SHARED. Reduce cfi size a little by better
26720 placement of cfi directives.
26721 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26722 make a stack frame. Instead use parm save area as a temp.
26723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26724 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26726 Don't make a stack frame for parent, use parm save area.
26727 Increase child stack frame to 112 bytes. Don't save unused reg,
26728 and adjust reg usage. Set up cfi on error recovery and
26729 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26731 (__makecontext): Add dummy nop after jump to exit.
26732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26733 Use correct parm save area and cr save, reduce stack frame.
26734 Correct cfi for possible PSEUDO_RET frame setup.
26735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26736 Branch to local label emitted by PSEUDO_RET rather than
26739 2010-08-12 Andreas Schwab <schwab@redhat.com>
26742 * locale/programs/locale.c (print_assignment): New function.
26743 (show_locale_vars): Use it.
26745 2010-08-11 Ulrich Drepper <drepper@redhat.com>
26747 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26749 (struct statfs64): Likewise.
26750 (_STATFS_F_FLAGS): Define.
26751 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26752 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26753 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26754 (ST_VALID): Define locally.
26755 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26756 __statvfs_getflags, use the provided value.
26757 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26758 __ASSUME_STATFS_F_FLAGS.
26760 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26762 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26763 Add sys/fanotify.h.
26764 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26765 fanotify_mask for GLIBC_2.13.
26766 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26767 fanotify_init and fanotify_mark.
26768 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26769 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26771 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26773 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26774 prlimit64 for GLIBC_2.13.
26775 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26777 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26780 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26781 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26782 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26783 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26785 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26788 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26789 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26791 * nss/Makefile: Add rules to build and run tst-nss-test1.
26792 * shlib-versions: Add entry for libnss_test1.
26793 * nss/nss_test1.c: New file.
26794 * nss/tst-nss-test1.c: New file.
26796 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26797 (__nss_configure_lookup): Set appropriate entry in
26798 __nss_configure_lookup to true.
26799 * nss/nsswitch.h: Define enum with indeces of databases in
26800 databases and __nss_database_custom arrays. Declare
26801 __nss_database_custom.
26802 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26803 to avoid using nscd when custom rules are installed.
26804 * nss/getXXbyYY_r.c: Likewise.
26805 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26807 * nss/nss_files/files-parse.c: Whitespace fixes.
26809 2010-08-09 Ulrich Drepper <drepper@redhat.com>
26812 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26813 * posix/fnmatch_loop.c: Likewise.
26815 2010-07-17 Andi Kleen <ak@linux.intel.com>
26817 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26818 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26819 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26820 * Versions.def [GLIBC_2.13]: Add.
26822 2010-08-06 Ulrich Drepper <drepper@redhat.com>
26824 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26825 Also fail if tpwd after pwuid call is NULL.
26827 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26829 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26830 when converting to ms.
26832 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26834 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26835 EOPNOTSUPP errors with ENOTTY.
26836 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26837 EOPNOTSUPP errors with ENOTTY.
26839 2010-07-31 Ulrich Drepper <drepper@redhat.com>
26841 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26842 Add strcasecmp_l-ssse3.
26843 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26845 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26846 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26847 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26849 2010-07-30 Ulrich Drepper <drepper@redhat.com>
26851 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26853 * string/Makefile (strop-tests): Add strcasecmp.
26854 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26855 strcasecmp_l-nonascii.
26856 (gen-as-const-headers): Add locale-defines.sym.
26857 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26858 * sysdeps/x86_64/strcasecmp.S: New file.
26859 * sysdeps/x86_64/strcasecmp_l.S: New file.
26860 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26861 * sysdeps/x86_64/locale-defines.sym: New file.
26862 * string/test-strcasecmp.c: New file.
26864 * string/test-strcasestr.c: Test both ends of the range of characters.
26865 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26867 2010-07-29 Roland McGrath <roland@redhat.com>
26870 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26872 2010-07-27 Ulrich Drepper <drepper@redhat.com>
26874 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26877 2010-07-27 Andreas Schwab <schwab@redhat.com>
26879 * manual/memory.texi (Malloc Tunable Parameters): Document
26882 2010-07-26 Roland McGrath <roland@redhat.com>
26885 * configure.in (-fgnu89-inline check): Set and substitute
26886 gnu89_inline, not libc_cv_gnu89_inline.
26887 * configure: Regenerated.
26888 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26890 2010-07-26 Ulrich Drepper <drepper@redhat.com>
26892 * string/test-strnlen.c: New file.
26893 * string/Makefile (strop-tests): Add strnlen.
26894 * string/tester.c (test_strnlen): Add a few more test cases.
26895 * string/tst-strlen.c: Better error reporting.
26897 * sysdeps/x86_64/strnlen.S: New file.
26899 2010-07-24 Ulrich Drepper <drepper@redhat.com>
26901 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26902 lower-latency instructions.
26904 2010-07-23 Ulrich Drepper <drepper@redhat.com>
26906 * string/test-strcasestr.c: New file.
26907 * string/test-strstr.c: New file.
26908 * string/Makefile (strop-tests): Add strstr and strcasestr.
26909 * string/str-two-way.h: Don't undefine MAX.
26910 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26912 2010-07-21 Andreas Schwab <schwab@redhat.com>
26914 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26915 strcasestr-nonascii.
26916 (CFLAGS-strcasestr-nonascii.c): Define.
26917 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26918 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26919 Remove unused attribute.
26921 2010-07-20 Roland McGrath <roland@redhat.com>
26923 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26924 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26925 ld.so.cache was broken. With it, there is no way to disable dsocaps
26926 like LD_HWCAP_MASK can disable hwcaps.
26928 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26930 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26932 2010-07-16 Ulrich Drepper <drepper@redhat.com>
26934 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26935 call in strcasestr.
26936 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26937 __strcasestr_sse42_nonascii.
26938 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26939 strcasestr-nonascii.c.
26940 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26942 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
26944 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26945 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26946 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26947 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26949 2010-07-09 Ulrich Drepper <drepper@redhat.com>
26951 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26954 2010-07-06 Andreas Schwab <schwab@redhat.com>
26957 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26960 2010-07-06 Ulrich Drepper <drepper@redhat.com>
26962 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26963 _PC_PIPE_BUF using F_GETPIPE_SZ.
26965 2010-07-05 Roland McGrath <roland@redhat.com>
26967 * manual/arith.texi (Rounding Functions): Fix rint description
26968 implicit in round description.
26970 2010-07-02 Ulrich Drepper <drepper@redhat.com>
26972 * elf/Makefile: Fix linking for a few tests to make recent linker
26975 2010-06-30 Andreas Schwab <schwab@redhat.com>
26977 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26978 $(common-objpfx)libc_nonshared.a.
26980 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
26982 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26983 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26984 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26985 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26986 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26987 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26988 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26989 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27004 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27005 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27006 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27007 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27008 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27009 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27010 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27011 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27012 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27013 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27014 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27015 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27031 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27033 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27034 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27035 * string/memmove.c (memmove): Renamed to ...
27036 (MEMMOVE): ...this. Default to memmove.
27037 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27038 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27041 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27042 mempcpy-ssse3-back memmove-ssse3-back.
27043 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27044 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27045 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27046 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27047 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27048 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27049 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27050 * sysdeps/x86_64/multiarch/memmove.c: New file.
27051 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27052 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27053 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27054 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27055 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27056 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27058 (index_Fast_Copy_Backward): Define.
27059 (HAS_ARCH_FEATURE): Define.
27060 (HAS_FAST_REP_STRING): Define.
27061 (HAS_FAST_COPY_BACKWARD): Define.
27063 2010-06-21 Andreas Schwab <schwab@redhat.com>
27065 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27066 Restore proper fallback handling.
27068 2010-06-19 Ulrich Drepper <drepper@redhat.com>
27071 * posix/group_member.c (__group_member): Correct checking loop.
27073 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27074 OOM in getpwuid_r correctly. Return error number when the caller
27075 should return, otherwise -1.
27076 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27077 call returning > 0 value.
27078 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27080 2010-06-07 Andreas Schwab <schwab@redhat.com>
27082 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27083 libc_nonshared.a from targets in modules-names.
27085 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27087 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27090 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
27092 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27093 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27094 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27095 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27097 2010-06-02 Andreas Schwab <schwab@redhat.com>
27099 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27101 2010-06-14 Ulrich Drepper <drepper@redhat.com>
27103 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27105 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27106 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27107 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27109 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27110 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27112 2010-06-14 Roland McGrath <roland@redhat.com>
27114 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27116 2010-06-07 Jakub Jelinek <jakub@redhat.com>
27118 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27119 __REDIRECT followed by __THROW.
27120 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27121 * posix/getopt.h (getopt): Likewise.
27123 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27125 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27126 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27127 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27129 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27130 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27132 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
27134 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27136 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27140 Properly check family and model.
27142 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27144 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27146 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
27148 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27150 2010-05-21 Ulrich Drepper <drepper@redhat.com>
27152 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27155 2010-05-19 Andreas Schwab <schwab@redhat.com>
27157 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27160 2010-05-21 Andreas Schwab <schwab@redhat.com>
27162 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27163 and internal_recvmmsg.
27164 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27165 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27166 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27167 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27169 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27170 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27171 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27173 2010-05-20 Andreas Schwab <schwab@redhat.com>
27175 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27177 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
27179 POWER7 optimizations.
27180 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27181 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27183 2010-05-19 Ulrich Drepper <drepper@redhat.com>
27185 * version.h: Update for 2.13 development version.
27187 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
27189 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27190 exceptions. Return 0.
27192 2010-05-07 Roland McGrath <roland@redhat.com>
27194 * elf/ldconfig.c (main): Add a const.
27196 2010-05-06 Ulrich Drepper <drepper@redhat.com>
27198 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27199 (args_options): Add no-idn option.
27200 (ahosts_keys_int): Add idn_flags to ai_flags.
27201 (parse_option): Handle 'i' option to clear idn_flags.
27203 * malloc/malloc.c (_int_free): Possible race in the most recently
27204 added check. Only act on the data if no current modification
27207 See ChangeLog.17 for earlier changes.