1 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
3 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16 macro to return vdso values correctly in IFUNC implementations.
17 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18 Optimization by using IFUNC.
20 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21 Richard Henderson <rth@redhat.com>
22 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24 * Makefile.in (bench): New target.
25 * NEWS: Mention the benchmark framework.
26 * Rules (bench): Likewise.
27 (binaries-bench): Generate binaries for functions to
29 * benchtests/Makefile: New makefile for benchmark tests.
30 * benchtests/bench-skeleton.c: New skeleton file for benchmark
32 * benchtests/exp-inputs: New input file for EXP function.
33 * benchtests/pow-inputs: New input file for POW function.
34 * scripts/bench.pl: New script to generate source files for
37 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
40 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
41 computations on mantissa. Use macros for rounding and
45 (add_magnitudes): Likewise.
46 (sub_magnitudes): Likewise.
49 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
50 powers of two in terms of TWOPOW macro.
51 (mp_no): Make type of mantissa as MANTISSA_T.
52 [!RADIXI]: Define RADIXI.
53 [!TWO52]: Define TWO52.
54 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56 * manual/nptl.texi (cindex): Modify threads to pthreads.
58 2013-03-15 Joseph Myers <joseph@codesourcery.com>
60 * sysdeps/x86_64/preconfigure: Regenerated.
62 2013-03-14 Joseph Myers <joseph@codesourcery.com>
65 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
67 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
68 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
70 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
71 * math/libm-test.inc (j0_test): Do not allow one spurious
75 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
77 * manual/Makefile (chapters): Add nptl.
78 * manual/debug.texi (Debugging Support): Add link to Threads
80 * manual/nptl.texi: New file.
82 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
84 2013-03-14 Petr Baudis <pasky@ucw.cz>
86 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
87 for non-NULL pointer before the memory validity test. Pointed
88 out by Holger Brunck <holger.brunck@keymile.com>.
90 2013-03-13 Andreas Schwab <schwab@suse.de>
92 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
95 2013-03-13 Joseph Myers <joseph@codesourcery.com>
97 * timezone/zic.c: Update from tzcode 2013b.
99 2013-03-12 Carlos O'Donell <carlos@redhat.com>
101 * manual/install.texi (Configuring and compiling):
102 Mention i686 and i586.
103 * INSTALL: Regenerate.
105 2013-03-12 Roland McGrath <roland@hack.frob.com>
107 * sysdeps/init_array/elf-init.c: New file.
109 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
110 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
112 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
113 __gmon_start__ as global, but as static with a .preinit_array pointer.
114 * sysdeps/init_array/gmon-start.c: New file. Use that.
115 * sysdeps/init_array/crti.S: New file, empty except for comments.
116 * sysdeps/init_array/crtn.S: Likewise.
118 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
120 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
123 Remove Prefer_SSE_for_memop.
124 * sysdeps/x86_64/multiarch/init-arch.h: Remove
125 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
126 HAS_PREFER_SSE_FOR_MEMOP.
127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
129 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
130 Remove bzero, memset ifunc support.
131 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
132 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
133 * sysdeps/x86_64/multiarch/memset.S: Likewise.
134 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
136 2013-03-11 Andreas Schwab <schwab@suse.de>
139 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
142 (GLIBC_2.16): Remove pthread_atfork.
144 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
146 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
147 (ptestcases.h): Likewise.
149 2013-03-08 Roland McGrath <roland@hack.frob.com>
151 * Makeconfig ($(common-objpfx)config.status): Depend on
152 sysdeps/*/preconfigure{,.in} too.
154 2013-03-08 Joseph Myers <joseph@codesourcery.com>
156 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
157 (__free_hook): Use void * instead of __malloc_ptr_t.
158 (__malloc_hook): Likewise.
159 (__realloc_hook): Likewise.
160 (__memalign_hook): Likewise.
161 (__after_morecore_hook): Likewise.
162 * malloc/arena.c (save_malloc_hook): Likewise.
163 (save_free_hook): Likewise.
164 * malloc/hooks.c (malloc_hook_ini): Likewise.
165 (realloc_hook_ini): Likewise.
166 (memalign_hook_ini): Likewise.
167 * malloc/malloc.c (malloc_hook_ini): Likewise.
168 (realloc_hook_ini): Likewise.
169 (memalign_hook_ini): Likewise.
170 (__free_hook): Likewise.
171 (__malloc_hook): Likewise.
172 (__realloc_hook): Likewise.
173 (__memalign_hook): Likewise.
174 (__libc_malloc): Likewise.
175 (__libc_free): Likewise.
176 (__libc_realloc): Likewise.
177 (__libc_memalign): Likewise.
178 (__libc_valloc): Likewise.
179 (__libc_pvalloc): Likewise.
180 (__libc_calloc): Likewise.
181 (__posix_memalign): Likewise.
182 * malloc/morecore.c (__sbrk): Likewise.
183 (__default_morecore): Likewise.
185 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
187 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
188 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
191 * malloc/malloc.h (__malloc_size_t): Remove macro.
192 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
194 (old_memalign_hook): Likewise.
195 (old_realloc_hook): Likewise.
196 (struct hdr): Likewise.
198 (mallochook): Likewise.
199 (memalignhook): Likewise.
200 (reallochook): Likewise.
201 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
202 (tr_old_realloc_hook): Likewise.
203 (tr_old_memalign_hook): Likewise.
204 (tr_mallochook): Likewise.
205 (tr_reallochook): Likewise.
206 (tr_memalignhook): Likewise.
208 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
210 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
211 default_ldbl_pack and using as default implementation.
212 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
214 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
215 redundant definition.
216 (ldbl_insert_mantissa): Likewise.
217 (ldbl_canonicalize): Likewise.
218 (ldbl_nearbyint): Likewise.
219 (ldbl_pack): Rename to ldbl_pack_ppc.
220 (ldbl_unpack): Rename to ldbl_unpack_ppc.
221 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
222 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
224 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
226 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
227 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
228 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
229 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
231 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
232 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
233 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
235 2013-03-07 Andreas Jaeger <aj@suse.de>
237 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
240 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
242 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
243 Include mpa.h and declare __MPEXP.
244 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
245 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
246 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
247 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
248 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
249 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
250 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
252 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
253 (__slowpow): Use long double EXPL and LOGL functions to
255 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
256 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
257 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
258 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
259 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
260 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
262 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
263 intermediate variable to calculate exponent.
265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
269 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
270 [!NO__SQR]: Define __sqr.
271 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
272 and NO__SQR. Remove all code except __mul and __sqr. Include
273 sysdeps/ieee754/dbl-64/mpa.c.
274 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
277 * posix/Makefile (tests): Add tst-pathconf.
278 * posix/tst-pathconf.c: New test case.
279 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
281 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
283 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
285 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
287 2013-03-06 Andreas Jaeger <aj@suse.de>
289 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
290 definition via __MAP_ANONYMOUS.
292 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
293 it's not part of Linux headers.
295 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
296 (MAP_HUGE_MASK): Define.
298 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
300 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
301 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
303 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
304 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
306 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
307 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
309 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
311 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
312 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
313 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
314 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
315 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
316 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
318 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
321 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
322 Handle f2fs and efivarfs.
324 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
327 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
328 (EFIVARFS_MAGIC): Add.
329 (F2FS_LINK_MAX): Add.
331 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
333 * stdio-common/vfprintf.c: Replace __builtin_expect with
336 2013-03-06 Joseph Myers <joseph@codesourcery.com>
339 * sysdeps/generic/bp-sym.h: Remove file.
340 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
341 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
342 <bp-sym.h> and <bp-asm.h>.
343 (__longjmp): Don't use BP_SYM.
344 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
346 (memcpy): Don't use BP_SYM.
347 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
348 <bp-sym.h> and <bp-asm.h>.
349 (memcpy): Don't use BP_SYM.
350 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
352 (memcpy): Don't use BP_SYM.
353 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
355 (memset): Don't use BP_SYM.
356 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
357 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
358 (__bzero): Don't use BP_SYM.
359 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
360 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
361 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
362 <bp-sym.h> and <bp-asm.h>.
363 (memcmp): Don't use BP_SYM. Remove comment about bounded
365 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
366 <bp-sym.h> and <bp-asm.h>.
367 (memcpy): Don't use BP_SYM.
368 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
369 <bp-sym.h> and <bp-asm.h>.
370 (memset): Don't use BP_SYM.
371 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
372 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
373 (__bzero): Don't use BP_SYM.
374 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
375 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
376 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
377 <bp-sym.h> and <bp-asm.h>.
378 (strncmp): Don't use BP_SYM. Remove comment about bounded
380 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
381 <bp-sym.h> and <bp-asm.h>.
382 (memcpy): Don't use BP_SYM.
383 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
384 <bp-sym.h> and <bp-asm.h>.
385 (memset): Don't use BP_SYM.
386 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
387 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
388 (__bzero): Don't use BP_SYM.
389 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
390 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
391 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
392 <bp-sym.h> and <bp-asm.h>.
393 (__memchr): Don't use BP_SYM.
394 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
395 <bp-sym.h> and <bp-asm.h>.
396 (memcmp): Don't use BP_SYM. Remove comment about bounded
398 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
399 <bp-sym.h> and <bp-asm.h>.
400 (memcpy): Don't use BP_SYM.
401 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
402 <bp-sym.h> and <bp-asm.h>.
403 (__mempcpy): Don't use BP_SYM.
404 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
405 <bp-sym.h> and <bp-asm.h>.
406 (__memrchr): Don't use BP_SYM.
407 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
408 <bp-sym.h> and <bp-asm.h>.
409 (memset): Don't use BP_SYM.
411 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
412 <bp-sym.h> and <bp-asm.h>.
413 (__rawmemchr): Don't use BP_SYM.
414 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
415 <bp-sym.h> and <bp-asm.h>.
416 (__STRCMP): Don't use BP_SYM.
417 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
418 <bp-sym.h> and <bp-asm.h>.
419 (strchr): Don't use BP_SYM.
420 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
421 <bp-sym.h> and <bp-asm.h>.
422 (__strchrnul): Don't use BP_SYM.
423 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
424 <bp-sym.h> and <bp-asm.h>.
425 (strlen): Don't use BP_SYM.
426 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
427 <bp-sym.h> and <bp-asm.h>.
428 (strncmp): Don't use BP_SYM. Remove comment about bounded
430 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
431 <bp-sym.h> and <bp-asm.h>.
432 (__strnlen): Don't use BP_SYM.
433 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
434 <bp-sym.h> and <bp-asm.h>.
435 (__GI__setjmp): Don't use BP_SYM.
437 (__sigsetjmp): Likewise.
438 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
439 (L(start_addresses)): Don't use BP_SYM.
441 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
443 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
444 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
445 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
446 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
447 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
449 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
450 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
451 about bounded pointers.
452 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
453 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
454 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
456 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
457 about bounded pointers. Remove GKM FIXME comments.
458 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
459 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
461 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
462 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
463 Remove GKM FIXME comments.
464 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
465 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
466 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
468 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
469 about bounded pointers. Remove GKM FIXME comment.
470 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
472 (strncmp): Don't use BP_SYM. Remove comment about bounded
474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
475 <bp-sym.h> and <bp-asm.h>.
476 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
478 <bp-sym.h> and <bp-asm.h>.
479 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
482 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
484 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
487 2013-03-05 David S. Miller <davem@davemloft.net>
489 * po/es.po: Update from translation team.
491 2013-03-05 Andreas Jaeger <aj@suse.de>
493 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
495 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
497 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
498 <bits/mman-linux.h> to end of file.
499 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
501 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
502 <bits/mman-linux.h> to end of file.
503 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
505 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
506 <bits/mman-linux.h> to end of file.
508 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
509 (MCL_CURRENT, MCL_FUTURE): Define here.
511 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
514 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
516 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
518 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
520 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
521 fourth parameter needed for rt_sigprocmask syscall.
522 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
523 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
524 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
525 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
526 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
527 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
529 2013-03-04 Joseph Myers <joseph@codesourcery.com>
532 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
533 comment about bounded pointers.
534 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
535 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
537 2013-03-04 Andreas Jaeger <aj@suse.de>
539 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
542 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
543 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
544 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
545 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
546 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
547 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
549 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
552 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
553 __ieee754_sqrl instead of __sqrl.
555 2013-03-01 Joseph Myers <joseph@codesourcery.com>
557 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
558 * sysdeps/powerpc/fpu_control.h: ... here.
559 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
560 * sysdeps/powerpc/bits/fenvinline.h: ... here.
561 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
562 * sysdeps/powerpc/bits/mathinline.h: ... here.
564 2013-03-01 Roland McGrath <roland@hack.frob.com>
566 * elf/dl-hwcaps.c (_dl_important_hwcaps):
567 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
568 to just [NEED_DL_SYSINFO_DSO].
569 * elf/dl-support.c: Likewise.
570 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
571 * elf/rtld.c (dl_main): Likewise.
572 * elf/setup-vdso.h (setup_vdso): Likewise.
573 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
574 * sysdeps/unix/sysv/linux/dl-sysdep.c
575 (_dl_discover_osversion): Likewise.
577 2013-03-01 Carlos O'Donell <carlos@redhat.com>
579 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
580 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
582 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
584 * NEWS: Mention libm performance improvements and non-x86 PI
587 * csu/libc-start.c (__pthread_initialize_minimal): Change
589 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
591 2013-02-28 Joseph Myers <joseph@codesourcery.com>
594 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
595 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
596 <bp-sym.h> and <bp-asm.h>.
597 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
598 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
600 (memcpy): Don't use BP_SYM.
601 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
603 (__mpn_add_n): Don't use BP_SYM.
604 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
605 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
607 (__mpn_addmul_1): Don't use BP_SYM.
608 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
609 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
611 (_setjmp): Don't use BP_SYM.
612 (__novmx_setjmp): Likewise.
613 (__GI__setjmp): Likewise.
614 (__vmx_setjmp): Likewise.
615 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
617 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
618 (__bzero): Don't use BP_SYM.
619 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
620 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
621 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
622 <bp-sym.h> and <bp-asm.h>.
623 (memcpy): Don't use BP_SYM.
624 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
625 <bp-sym.h> and <bp-asm.h>.
626 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
627 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
628 <bp-sym.h> and <bp-asm.h>.
629 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
630 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
632 (__mpn_lshift): Don't use BP_SYM.
633 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
634 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
636 (memset): Don't use BP_SYM.
637 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
638 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
639 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
641 (__mpn_mul_1): Don't use BP_SYM.
642 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
643 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
644 <bp-sym.h> and <bp-asm.h>.
645 (memcmp): Don't use BP_SYM.
646 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
647 <bp-sym.h> and <bp-asm.h>.
648 (memcpy): Don't use BP_SYM.
649 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
650 <bp-sym.h> and <bp-asm.h>.
651 (memset): Don't use BP_SYM.
652 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
653 <bp-sym.h> and <bp-asm.h>.
654 (strncmp): Don't use BP_SYM.
655 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
656 <bp-sym.h> and <bp-asm.h>.
657 (memcpy): Don't use BP_SYM.
658 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
659 <bp-sym.h> and <bp-asm.h>.
660 (memset): Don't use BP_SYM.
661 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
662 <bp-sym.h> and <bp-asm.h>.
663 (__memchr): Don't use BP_SYM.
664 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
665 <bp-sym.h> and <bp-asm.h>.
666 (memcmp): Don't use BP_SYM.
667 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
668 <bp-sym.h> and <bp-asm.h>.
669 (memcpy): Don't use BP_SYM.
670 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
671 <bp-sym.h> and <bp-asm.h>.
672 (__mempcpy): Don't use BP_SYM.
673 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
674 <bp-sym.h> and <bp-asm.h>.
675 (__memrchr): Don't use BP_SYM.
676 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
677 <bp-sym.h> and <bp-asm.h>.
678 (memset): Don't use BP_SYM.
679 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
680 <bp-sym.h> and <bp-asm.h>.
681 (__rawmemchr): Don't use BP_SYM.
682 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
683 <bp-sym.h> and <bp-asm.h>.
684 (__STRCMP): Don't use BP_SYM.
685 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
686 <bp-sym.h> and <bp-asm.h>.
687 (strchr): Don't use BP_SYM.
688 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
689 <bp-sym.h> and <bp-asm.h>.
690 (__strchrnul): Don't use BP_SYM.
691 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
692 <bp-sym.h> and <bp-asm.h>.
693 (strlen): Don't use BP_SYM.
694 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
695 <bp-sym.h> and <bp-asm.h>.
696 (strncmp): Don't use BP_SYM.
697 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
698 <bp-sym.h> and <bp-asm.h>.
699 (__strnlen): Don't use BP_SYM.
700 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
702 (__mpn_rshift): Don't use BP_SYM.
703 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
704 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
705 <bp-sym.h> and <bp-asm.h>.
706 (__sigsetjmp): Don't use BP_SYM.
707 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
708 (L(start_addresses)): Don't use BP_SYM.
710 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
712 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
713 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
714 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
715 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
717 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
718 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
719 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
720 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
722 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
724 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
725 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
727 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
729 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
730 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
731 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
733 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
735 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
737 (strncmp): Don't use BP_SYM,
738 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
740 (__mpn_sub_n): Don't use BP_SYM.
741 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
742 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
744 (__mpn_submul_1): Don't use BP_SYM.
745 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
747 <bp-sym.h> and <bp-asm.h>.
748 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
750 <bp-sym.h> and <bp-asm.h>.
751 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
754 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
756 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
757 Use ZK to minimize writes to Z.
758 (sub_magnitudes): Simplify code a bit.
759 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
760 Use ZK to minimize writes to Z.
761 (sub_magnitudes): Simplify code a bit.
763 2013-02-27 Roland McGrath <roland@hack.frob.com>
765 * csu/gmon-start.c: Add special exception to license text.
767 2013-02-27 Richard Henderson <rth@redhat.com>
769 * scripts/config.guess: Update from config.git.
770 * scripts/config.sub: Likewise.
772 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
774 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
776 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
778 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
780 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
782 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
784 2013-02-26 Roland McGrath <roland@hack.frob.com>
786 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
787 [$(build-shared = yes].
789 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
791 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
792 (__mul): Reduce iterations for calculating mantissa.
794 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
796 (__mpranred): Likewise.
799 * malloc/memusagestat.c (main): Draw graphs for heap and stack
800 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
802 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
804 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
805 Define __attribute__.
807 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
809 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
811 * posix/regex_internal.h (__attribute): Remove.
812 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
813 (re_string_context_at): Likewise.
814 (bitset_not): Use __attribute__ and mark function as possibly
816 (bitset_merge): Likewise.
817 (bitset_mask): Likewise.
818 (re_string_char_size_at): Likewise.
819 (re_string_wchar_at): Likewise.
820 (re_string_elem_size_at): Likewise.
822 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
824 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
828 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
833 (__dbl_mp): Likewise.
834 (add_magnitudes): Likewise.
835 (sub_magnitudes): Likewise.
839 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
842 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
845 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
849 up changes with default code.
850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
853 2013-02-24 Allan McRae <allan@archlinux.org>
855 * manual/socket.texi (The Internet Namespace): Order menu items
856 to match that in the file.
858 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
859 node listing of the info page menu.
861 2013-02-21 Joseph Myers <joseph@codesourcery.com>
864 * sysdeps/i386/bp-asm.h: Remove file.
865 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
866 (PARMS): Do not use macros from bp-asm.h.
870 (__mpn_add_n): Do not use BP_SYM
871 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
873 (PARMS): Do not use macros from bp-asm.h.
876 (__mpn_addmul_1): Do not use BP_SYM
877 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
879 (PARMS): Do not use macros from bp-asm.h.
881 (_setjmp): Likewise. Do not use BP_SYM.
882 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
884 (PARMS): Do not use macros from bp-asm.h.
886 (setjmp): Likewise. Do not use BP_SYM.
887 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
889 (PARMS): Do not use macros from bp-asm.h.
890 (__frexp): Do not use BP_SYM.
892 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
894 (PARMS): Do not use macros from bp-asm.h.
895 (__frexpf): Do not use BP_SYM.
897 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
899 (PARMS): Do not use macros from bp-asm.h.
900 (__frexpl): Do not use BP_SYM.
902 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
904 (PARMS): Do not use macros from bp-asm.h.
905 (__remquo): Do not use BP_SYM.
907 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
909 (PARMS): Do not use macros from bp-asm.h.
910 (__remquof): Do not use BP_SYM.
912 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
914 (PARMS): Do not use macros from bp-asm.h.
915 (__remquol): Do not use BP_SYM.
917 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
919 (PARMS): Do not use macros from bp-asm.h.
922 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
923 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
925 (PARMS): Do not use macros from bp-asm.h.
926 (strlen): Do not use BP_SYM.
927 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
929 (PARMS): Do not use macros from bp-asm.h.
933 (__mpn_add_n): Do not use BP_SYM.
934 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
936 (PARMS): Do not use macros from bp-asm.h.
939 (__mpn_addmul_1): Do not use BP_SYM.
940 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
943 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
945 (PARMS): Do not use macros from bp-asm.h.
948 (__mpn_lshift): Do not use BP_SYM.
949 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
951 (PARMS): Do not use macros from bp-asm.h.
955 (memcpy): Likewise. Do not use BP_SYM.
956 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
957 libc_hidden_def and weak_alias.
958 (mempcpy): Do not use BP_SYM in weak_alias.
959 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
961 (PARMS): Do not use macros from bp-asm.h.
964 [!BZERO_P] (CHR): Likewise.
965 (memset): Likewise. Do not use BP_SYM.
966 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
968 (PARMS): Do not use macros from bp-asm.h.
971 (__mpn_mul_1): Do not use BP_SYM.
972 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
974 (PARMS): Do not use macros from bp-asm.h.
977 (__mpn_rshift): Do not use BP_SYM.
978 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
980 (PARMS): Do not use macros from bp-asm.h.
983 (strchr): Likewise. Do not use BP_SYM.
984 (index): Do not use BP_SYM in weak_alias.
985 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
987 (PARMS): Do not use macros from bp-asm.h.
990 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
991 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
993 (PARMS): Do not use macros from bp-asm.h.
994 (strlen): Do not use BP_SYM.
995 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
997 (PARMS): Do not use macros from bp-asm.h.
1001 (__mpn_sub_n): Do not use BP_SYM.
1002 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1004 (PARMS): Do not use macros from bp-asm.h.
1007 (__mpn_submul_1): Do not use BP_SYM.
1008 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1010 (PARMS): Do not use macros from bp-asm.h.
1014 (__mpn_add_n): Do not use BP_SYM.
1015 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1018 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1020 (PARMS): Do not use macros from bp-asm.h.
1023 (memcmp): Do not use BP_SYM.
1024 (bcmp): Do not use BP_SYM in weak_alias.
1025 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1027 (PARMS): Do not use macros from bp-asm.h.
1031 (memcpy): Likewise. Do not use BP_SYM.
1032 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1034 (PARMS): Do not use macros from bp-asm.h.
1038 (memmove): Likewise. Do not use BP_SYM.
1039 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1041 (PARMS): Do not use macros from bp-asm.h.
1045 (__mempcpy): Likewise. Do not use BP_SYM.
1046 (mempcpy): Do not use BP_SYM in weak_alias.
1047 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1049 (PARMS): Do not use macros from bp-asm.h.
1052 [!BZERO_P] (CHR): Likewise.
1053 (memset): Likewise. Do not use BP_SYM.
1054 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1056 (PARMS): Do not use macros from bp-asm.h.
1058 (strcmp): Do not use BP_SYM.
1059 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1061 (PARMS): Do not use macros from bp-asm.h.
1064 [USE_AS_STRTOK_R] (SAVE): Likewise.
1065 (FUNCTION): Likewise. Do not use BP_SYM.
1066 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1068 (strtok_r): Likewise.
1069 (__GI___strtok_r): Likewise.
1070 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1071 (PARMS): Do not use macros from bp-asm.h.
1074 (__mpn_lshift): Do not use BP_SYM.
1075 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1076 (PARMS): Do not use macros from bp-asm.h.
1079 (__memchr): Do not use BP_SYM.
1080 (memchr): Do not use BP_SYM in weak_alias.
1081 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1082 (PARMS): Do not use macros from bp-asm.h.
1085 (memcmp): Do not use BP_SYM.
1086 (bcmp): Do not use BP_SYM in weak_alias.
1087 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1088 (PARMS): Do not use macros from bp-asm.h.
1091 (__mpn_mul_1): Do not use BP_SYM.
1092 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1094 (PARMS): Do not use macros from bp-asm.h.
1097 (__rawmemchr): Do not use BP_SYM.
1098 (rawmemchr): Do not use BP_SYM in weak_alias.
1099 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1100 (PARMS): Do not use macros from bp-asm.h.
1103 (__mpn_rshift): Do not use BP_SYM.
1104 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1105 (PARMS): Do not use macros from bp-asm.h.
1107 (__sigsetjmp): Likewise. Do not use BP_SYM.
1108 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1109 (_start): Do not use BP_SYM.
1110 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1111 (PARMS): Do not use macros from bp-asm.h.
1114 (__stpcpy): Likewise. Do not use BP_SYM.
1115 (stpcpy): Do not use BP_SYM in weak_alias.
1116 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1118 (PARMS): Do not use macros from bp-asm.h.
1122 (__stpncpy): Likewise. Do not use BP_SYM.
1123 (stpncpy): Do not use BP_SYM in weak_alias.
1124 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1125 (PARMS): Do not use macros from bp-asm.h.
1128 (strchr): Likewise. Do not use BP_SYM.
1129 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1131 (PARMS): Do not use macros from bp-asm.h.
1134 (__strchrnul): Likewise. Do not use BP_SYM.
1135 (strchrnul): Do not use BP_SYM in weak_alias.
1136 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1138 (PARMS): Do not use macros from bp-asm.h.
1140 (strcspn): Do not use BP_SYM.
1141 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1143 (PARMS): Do not use macros from bp-asm.h.
1146 (strpbrk): Likewise. Do not use BP_SYM.
1147 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1149 (PARMS): Do not use macros from bp-asm.h.
1152 (strrchr): Likewise. Do not use BP_SYM.
1153 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1154 (PARMS): Do not use macros from bp-asm.h.
1156 (strspn): Do not use BP_SYM.
1157 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1158 (PARMS): Do not use macros from bp-asm.h.
1162 (FUNCTION): Likewise. Do not use BP_SYM.
1163 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1165 (strtok_r): Likewise.
1166 (__GI___strtok_r): Likewise.
1167 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1168 (PARMS): Do not use macros from bp-asm.h.
1172 (__mpn_sub_n): Do not use BP_SYM.
1173 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1175 (PARMS): Do not use macros from bp-asm.h.
1178 (__mpn_submul_1): Do not use BP_SYM.
1179 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1181 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1183 (PARMS): Do not use macros from bp-asm.h.
1188 (__clone): Do not use BP_SYM.
1189 (clone): Do not use BP_SYM in weak_alias.
1190 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1192 (PARMS): Do not use macros from bp-asm.h.
1194 (__mmap64): Do not use BP_SYM.
1195 (mmap64): Do not use BP_SYM in weak_alias.
1196 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1197 <bp-sym.h> and <bp-asm.h>.
1198 (PARMS): Do not use macros from bp-asm.h.
1199 (__posix_fadvise64_l64): Do not use BP_SYM.
1200 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1201 (PARMS): Do not use macros from bp-asm.h.
1203 (semtimedop): Do not use BP_SYM.
1204 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1207 2013-02-21 Allan McRae <allan@archlinux.org>
1209 * manual/message.texi (Charset conversion in gettext):
1210 Move @end statement to beginning of line.
1212 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1216 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1219 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1224 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1226 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1227 tail-call to the resolved function if pltexit isn't needed.
1229 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1231 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1232 or Y being zero as being unlikely.
1233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1236 2013-02-20 Carlos O'Donell <carlos@redhat.com>
1238 * manual/nss.texi (System Databases and Name Service Switch):
1239 Remove frobnicate @pxref.
1241 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1243 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1244 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1246 2013-02-20 Petr Machata <pmachata@redhat.com>
1248 * elf/elf.h (R_ARM_TARGET1): New macro.
1249 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1250 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1251 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1252 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1253 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1254 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1255 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1256 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1257 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1258 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1259 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1260 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1261 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1262 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1263 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1264 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1265 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1266 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1267 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1268 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1269 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1270 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1271 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1272 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1273 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1274 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1275 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1276 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1277 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1278 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1279 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1280 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1281 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1282 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1283 (R_ARM_THM_GOT_BREL12): Likewise.
1284 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1285 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1286 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1287 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1288 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1289 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1290 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1291 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1292 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1294 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1296 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1297 __attribute_used__ to __attribute__ ((unused)).
1299 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1301 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1307 2013-02-19 Joseph Myers <joseph@codesourcery.com>
1310 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1312 (ENTER): Remove both macro definitions.
1314 (CHECK_BOUNDS_LOW): Likewise.
1315 (CHECK_BOUNDS_HIGH): Likewise.
1316 (CHECK_BOUNDS_BOTH): Likewise.
1317 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1318 (RETURN_BOUNDED_POINTER): Likewise.
1319 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1320 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1321 (POP_ERRNO_LOCATION_RETURN): Likewise.
1322 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1323 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1324 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1326 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1327 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1328 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1329 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1330 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1331 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1332 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1333 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1334 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1335 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1336 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1337 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1338 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1339 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1341 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1342 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1344 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1345 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1346 * sysdeps/i386/i586/memset.S (memset): Likewise.
1347 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1348 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1349 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1351 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1352 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1353 Change uses of L(2) to L(out).
1354 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1355 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1356 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1357 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1358 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1360 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1361 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1363 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1364 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1365 (RETURN): Do not use macro LEAVE.
1366 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1367 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1368 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1369 * sysdeps/i386/i686/memset.S (memset): Likewise.
1370 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1371 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1372 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1373 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1375 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1376 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1377 L(1_2) and L(1_3) into L(1).
1378 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1379 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1380 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1381 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1382 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1383 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1384 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1385 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1386 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1388 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1389 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1390 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1391 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1392 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1393 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1394 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1395 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1396 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1397 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1398 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1399 * sysdeps/i386/strspn.S (strspn): Likewise.
1400 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1402 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1403 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1404 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1405 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1407 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1408 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1409 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1411 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1413 2013-02-19 Jakub Jelinek <jakub@redhat.com>
1415 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1418 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1420 * math/atest-exp.c (exp_mpn): Remove ROUND.
1421 * math/atest-exp2.c (exp_mpn): Likewise.
1422 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1424 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1425 * stdlib/tst-tls-atexit-lib.c: Likewise.
1426 * stdlib/tst-tls-atexit.c: Likewise.
1428 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1430 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1431 and __attribute_alloc_size__.
1433 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1435 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1436 __attribute_alloc_size__.
1437 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1438 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1440 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1442 * include/programs/xmalloc.h: New file.
1443 * catgets/gencat.c: Include it.
1444 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1445 * elf/pldd.c: Likewise.
1446 * iconv/iconv_charmap.c: Likewise.
1447 * iconv/iconvconfig.c: Likewise.
1448 * iconv/strtab.c: Likewise.
1449 * locale/programs/locale.c: Likewise.
1450 * locale/programs/localedef.h: Likewise.
1451 * locale/programs/simple-hash.c: Likewise.
1452 * nscd/nscd.h: Likewise.
1453 * nss/makedb.c: Likewise.
1454 * sysdeps/generic/ldconfig.h: Likewise.
1456 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1458 * Versions.def: Add GLIBC_2.18.
1459 * include/link.h (struct link_map): New member l_tls_dtor_count.
1460 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1461 (__call_tls_dtors): Likewise.
1462 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1463 __cxa_thread_atexit_impl.
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1472 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1480 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1481 (tests): Add test case tst-tls-atexit.
1482 (modules-names): Add shared library for tst-tls-atexit.
1483 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1484 (GLIBC_PRIVATE): Add __call_tls_dtors.
1485 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1487 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1488 * stdlib/tst-tls-atexit.c: New test case.
1489 * stdlib/tst-tls-atexit-lib.c: New test case.
1491 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1493 * elf/Versions (ld): Add _dl_find_dso_for_object.
1494 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1495 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1496 (dl_open_worker): Use _dl_find_dso_for_object.
1497 * elf/dl-sym.c (do_sym): Likewise.
1498 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1500 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1502 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1503 Syntactic changes only.
1504 (_dl_runtime_profile): Do a tail-call to the resolved function.
1506 2013-02-17 Joseph Myers <joseph@codesourcery.com>
1509 * sysdeps/x86_64/bp-asm.h: Remove file.
1510 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1511 <bp-sym.h> and <bp-asm.h>.
1512 (__clone): Do not use BP_SYM.
1513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1514 <bp-sym.h> and <bp-asm.h>.
1515 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1516 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1518 (_setjmp): Do not use BP_SYM.
1519 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1521 (setjmp): Do not use BP_SYM.
1522 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1524 (mempcpy): Do not use BP_SYM in weak_alias.
1525 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1527 (strchr): Do not use BP_SYM.
1528 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1530 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1531 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1532 (_start): Do not use BP_SYM.
1533 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1535 (strcat): Do not use BP_SYM.
1536 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1538 (STRCMP): Do not use BP_SYM.
1539 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1541 (STRCPY): Do not use BP_SYM.
1542 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1544 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1546 (FUNCTION): Do not use BP_SYM.
1547 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1549 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1551 2013-02-17 Andreas Jaeger <aj@suse.de>
1553 * time/Versions: Sort entries.
1554 * string/Versions: Likewise.
1555 * resolv/Versions: Likewise.
1556 * posix/Versions: Likewise.
1557 * iconv/Versions: Likewise.
1558 * elf/Versions: Likewise.
1559 * wcsmbs/Versions: Likewise.
1561 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1563 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1564 loop termination condition.
1566 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1567 variable to calculate EZ.
1570 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1571 the lower precision input.
1573 2013-02-15 Joseph Myers <joseph@codesourcery.com>
1576 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1577 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1578 (run-via-rtld-prefix): Do not handle %-bp tests.
1579 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1580 (all-object-suffixes): Remove .ob.
1581 (bppfx): Remove variable.
1582 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1583 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1584 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1585 [$(build-bounded) = yes] (libtype.ob): Likewise.
1586 * Makerules (elide-routines.ob): Remove variable.
1587 (do-tests-clean): Do not handle *-bp.out.
1588 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1589 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1590 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1591 (tests): Do not include $(tests-bp.out).
1592 (xtests): Do not include $(xtests-bp.out).
1593 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1594 [$(build-bounded) = yes] ($(addprefix
1595 $(objpfx),$(binaries-bounded))): Remove rule.
1596 ($(objpfx)%-bp.out): Remove rule.
1597 * config.make.in (build-bounded): Remove variable.
1598 * crypt/Makefile [$(build-bounded) = yes]
1599 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1600 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1602 [$(build-bounded) = yes] (install-lib): Likewise.
1603 [$(build-bounded) = yes] (generated): Likewise.
1604 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1606 * intl/Makefile [$(build-bounded) = yes]
1607 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1608 * math/Makefile [$(build-bounded) = yes]
1609 ($(tests:%=$(objpfx)%-bp): Likewise.
1610 * misc/Makefile [$(build-bounded) = yes]
1611 ($(objpfx)tst-tsearch-bp): Likewise.
1612 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1613 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1615 * string/Makefile (o-objects.ob): Remove variable.
1616 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1617 (CFLAGS-.ob): Remove variable.
1618 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1619 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1620 both definitions of variable.
1621 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1622 (ASFLAGS-.ob): Remove variable.
1624 2013-02-14 Joseph Myers <joseph@codesourcery.com>
1627 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1628 Remove __BOUNDED_POINTERS__ from condition.
1629 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1630 * string/bits/string2.h [!__NO_STRING_INLINES &&
1631 !__BOUNDED_POINTERS__]: Likewise.
1632 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1634 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1635 Remove conditional code.
1636 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1637 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1638 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1642 * csu/libc-start.c: Do not include <bp-sym.h>.
1643 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1644 * elf/dl-open.c: Do not include <bp-sym.h>.
1645 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1646 * math/fegetenv.c: Do not include <bp-sym.h>.
1647 (fegetenv): Do not use BP_SYM in versioned symbols.
1648 * nptl/sysdeps/pthread/bits/libc-lockP.h
1649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1652 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1654 (__pthread_mutex_destroy): Likewise.
1655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1656 (__pthread_mutex_lock): Likewise.
1657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1658 (__pthread_mutex_trylock): Likewise.
1659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1660 (__pthread_mutex_unlock): Likewise.
1661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1662 (__pthread_mutexattr_init): Likewise.
1663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1664 (__pthread_mutexattr_destroy): Likewise.
1665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1666 (__pthread_mutexattr_settype): Likewise.
1667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1668 (__pthread_rwlock_init): Likewise.
1669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1670 (__pthread_rwlock_destroy): Likewise.
1671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1672 (__pthread_rwlock_rdlock): Likewise.
1673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1674 (__pthread_rwlock_tryrdlock): Likewise.
1675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1676 (__pthread_rwlock_wrlock): Likewise.
1677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1678 (__pthread_rwlock_trywrlock): Likewise.
1679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1680 (__pthread_rwlock_unlock): Likewise.
1681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1682 (__pthread_key_create): Likewise.
1683 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1684 (__pthread_setspecific): Likewise.
1685 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1686 (__pthread_getspecific): Likewise.
1687 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1689 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1690 (_pthread_cleanup_push_defer): Likewise.
1691 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1692 (_pthread_cleanup_pop_restore): Likewise.
1693 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1694 (pthread_setcancelstate): Likewise.
1695 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1697 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1698 (memchr): Do not use BP_SYM in weak_alias.
1699 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1700 (fegetenv): Do not use BP_SYM in versioned symbols.
1701 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1702 (fesetenv): Do not use BP_SYM in versioned symbols.
1703 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1704 (feupdateenv): Do not use BP_SYM in versioned symbols.
1705 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1706 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1707 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1708 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1709 (open64): Do not use BP_SYM in weak_alias.
1710 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1711 (fegetenv): Do not use BP_SYM in versioned symbols.
1712 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1713 (fesetenv): Do not use BP_SYM in versioned symbols.
1714 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1715 (feupdateenv): Do not use BP_SYM in versioned symbols.
1716 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1717 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1718 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1719 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1720 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1721 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1722 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1724 (__libc_start_main): Do not use BP_SYM.
1726 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1728 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1729 redundant return line.
1733 (sub_magnitudes): Likewise.
1739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1743 (sub_magnitudes): Likewise.
1750 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1752 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1753 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1756 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1757 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1758 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1759 of __mul for squares.
1760 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1764 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1765 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1767 2013-02-13 Joseph Myers <joseph@codesourcery.com>
1770 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1772 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1773 prototype or function definition. Rename ubp_* variables and
1774 parameters. Remove argv definitions conditional on
1775 [__BOUNDED_POINTERS__].
1776 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1777 * elf/dl-runtime.c (_dl_fixup): Likewise.
1778 * include/set-hooks.h (RUN_HOOK): Likewise.
1779 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1781 * string/strcpy.c (strcpy): Do not use __unbounded.
1782 * sysdeps/generic/frame.h (struct layout): Likewise.
1783 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1784 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1785 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1786 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1787 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1788 (__backtrace): Likewise.
1789 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1791 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1792 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1793 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1795 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1796 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1797 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1798 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1799 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1800 Do not use __unbounded.
1801 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1802 Rename __unboundedrlimits parameter to rlimits in prototype.
1803 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1804 Do not use __unbounded.
1805 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1807 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1808 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1809 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1810 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1811 __ptrvalue or __unbounded.
1812 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1813 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1815 (__new_msgctl): Do not use __ptrvalue.
1816 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1818 (__libc_msgrcv): Do not use __ptrvalue.
1819 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1820 startup_info): Do not use __unbounded.
1821 (__libc_start_main): Likewise. Rename ubp_* variables and
1822 parameters. Remove argv definitions conditional on
1823 [__BOUNDED_POINTERS__].
1824 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1826 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1828 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1830 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1832 (__new_shmctl): Do not use __ptrvalue.
1833 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1834 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1836 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1837 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1838 (__libc_sigaction): Likewise.
1839 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1840 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1842 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1844 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
1846 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1848 * string/mempcpy.c: Implement by calling memcpy.
1850 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1852 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1854 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1857 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1858 values in the mantissa.
1860 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1861 minimize writes to Z.
1862 (sub_magnitudes): Simplify code a bit.
1864 2013-02-12 Roland McGrath <roland@hack.frob.com>
1866 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1867 from the message. The linker prefixes all warnings with that already.
1869 2013-02-12 Andreas Schwab <schwab@suse.de>
1872 * posix/regexec.c (extend_buffers): Add parameter min_len.
1873 (check_matching): Pass minimum needed length.
1874 (clean_state_log_if_needed): Likewise.
1875 (get_subexp): Likewise.
1876 * posix/Makefile (tests): Add bug-regex34.
1877 (bug-regex34-ENV): Define.
1878 * posix/bug-regex34.c: New file.
1881 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1882 elements compare against the byte sequence of it, not its name.
1883 * posix/Makefile (tests): Add bug-regex35.
1884 (bug-regex35-ENV): Define.
1885 * posix/bug-regex35.c: New file.
1887 2013-02-11 Tom de Vries <tom@codesourcery.com>
1889 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1891 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1892 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1893 (CHECK_EOL): Add undef.
1895 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
1897 * bits/stdlib-bsearch.h: New file.
1898 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1899 * stdlib/stdlib.h: Likewise.
1901 2013-02-11 Roland McGrath <roland@hack.frob.com>
1903 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1904 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1906 * manual/search.texi (Array Search Function): Add missing const in
1908 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1909 declaration to use rlim_t.
1910 (Basic Scheduling Functions): Remove erroneous const from
1911 sched_getparam prototype. Remove erroneous * from
1912 sched_get_priority_max and sched_get_priority_min prototypes.
1913 (Resource Usage): Fix summary @comment on vtimes to refer to
1914 sys/vtimes.h rather than vtimes.h.
1915 Add missing *s in vtimes prototype.
1916 (Limits on Resources): Fix ulimit prototype to return long int.
1917 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1918 prototypes to use long int rather than double.
1919 (BSD Random): Fix initstate and setstate to use char *, not void *.
1920 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1921 prototype to make second argument 'struct aiocb64 *const[]'.
1922 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1923 (Status of AIO Operations): Remove erroneous const in aio_return and
1924 aio_return64 prototypes.
1925 (Synchronizing I/O): Fix sync prototype to return void.
1926 * manual/startup.texi (Suboptions): Remove an erroneous const in
1927 getsubopt prototype.
1928 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1929 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1930 use size_t rather than int.
1931 (Scanning All Users): Likewise for getpwent_r.
1932 (Setting Groups): Add missing const to setgroups prototype.
1933 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1934 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1935 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1936 'const void *' rather than 'const char *'.
1937 (Host Address Functions): Likewise for inet_ntop.
1938 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1939 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1940 ssize_t for return value.
1941 (Sending Data): Likewise for send, sendto, sendmsg.
1942 (Socket Option Functions): Add a missing const in setsockopt prototype.
1943 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1944 use wchar_t for the argument.
1945 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1946 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1948 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1949 double/float/long double for second argument.
1950 Fix return types of significand, significandf, significandl.
1951 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1952 argument in fchmod prototype.
1953 (File Owner): Use uid_t and gid_t in fchown prototype.
1954 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1955 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1956 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1957 use 'const struct dirent **' as argument types to CMP function pointer
1959 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1960 (File Times): Fix summary magic @comment for struct utimbuf and utime
1961 to refer to utime.h, not time.h.
1962 * manual/string.texi (Argz Functions): Add missing const in
1963 argz_extract and argz_next prototypes.
1964 (Finding Tokens in a String): Likewise for basename.
1965 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1966 (Copying and Concatenation): Fix typo in wmemmove prototype.
1967 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1968 (Signal Stack): Remove erroneous const in sigstack prototype.
1969 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1971 (Simple Calendar Time): Likewise for stime.
1972 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1974 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1975 say sys/sysctl.h instead.
1976 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1977 and vsyslog prototypes.
1979 2013-02-11 Tom de Vries <tom@codesourcery.com>
1981 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1984 2013-02-11 Roland McGrath <roland@hack.frob.com>
1986 * misc/sys/mman.h: Fix typo in mremap comment.
1988 2013-02-08 Roland McGrath <roland@hack.frob.com>
1990 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1991 the '\0' terminator.
1993 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1996 * debug/segfault.c: Don't include <bp-checks.h>.
1997 * sysdeps/generic/bp-checks.h: Remove file.
1998 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1999 (__GETDENTS): Don't use CHECK_N.
2000 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2001 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2002 (__getgroups): Don't use CHECK_N.
2003 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2004 (setgroups): Don't use CHECK_N.
2005 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2006 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2007 (__libc_msgrcv): Don't use CHECK_N.
2008 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2009 (__libc_msgsnd): Don't use CHECK_N.
2010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2012 (__libc_pread): Don't use CHECK_N.
2013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2014 include <bp-checks.h>.
2015 (__libc_pread64): Don't use CHECK_N.
2016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2017 include <bp-checks.h>.
2018 (__libc_pwrite): Don't use CHECK_N.
2019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2020 include <bp-checks.h>.
2021 (__libc_pwrite64): Don't use CHECK_N.
2022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2024 (__libc_pread): Don't use CHECK_N.
2025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2026 include <bp-checks.h>.
2027 (__libc_pread64): Don't use CHECK_N.
2028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2029 include <bp-checks.h>.
2030 (__libc_pwrite): Don't use CHECK_N.
2031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2032 include <bp-checks.h>.
2033 (__libc_pwrite64): Don't use CHECK_N.
2034 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2035 (do_pread): Don't use CHECK_N.
2036 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2037 (do_pread64): Don't use CHECK_N.
2038 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2039 (do_pwrite): Don't use CHECK_N.
2040 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2041 (do_pwrite64): Don't use CHECK_N.
2042 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2043 (__libc_readv): Don't use CHECK_N.
2044 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2045 (semop): Don't use CHECK_N.
2046 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2048 (semtimedop): Don't use CHECK_N.
2049 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2050 (__libc_pread): Don't use CHECK_N.
2051 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2053 (__libc_pread64): Don't use CHECK_N.
2054 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2056 (__libc_pwrite): Don't use CHECK_N.
2057 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2059 (__libc_pwrite64): Don't use CHECK_N.
2060 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2062 (__libc_msgrcv): Don't use CHECK_N.
2063 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2064 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2065 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2066 (__libc_writev): Don't use CHECK_N.
2068 2013-02-08 Roland McGrath <roland@hack.frob.com>
2070 * string/strcpy.c: Removed unused variable.
2072 * Makeconfig (+sysdep-includes): Define with := rather than =.
2073 Use an existing include/ subdir of each sysdeps dir before it.
2075 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2077 * nscd/connection.c (register_traced_file): Comment function.
2078 [HAVE_INOTIFY] (union __inev): Define.
2079 [HAVE_INOTIFY] (inotify_check_files): New function.
2080 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2081 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2083 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2085 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2087 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2088 loaded if not already and that a failure is permanent.
2090 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2093 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2094 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2096 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2099 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2100 (CHECK_1_NULL_OK): Likewise.
2101 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2102 (__fxstat): Do not use CHECK_1.
2103 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2105 (___fxstat64): Do not use CHECK_1.
2106 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2108 (__fxstatat): Do not use CHECK_1.
2109 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2111 (__fxstatat64): Do not use CHECK_1.
2112 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2114 (__fxstat): Do not use CHECK_1.
2115 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2117 (__fxstatat): Do not use CHECK_1.
2118 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2120 (__getresgid): Do not use CHECK_1.
2121 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2123 (__getresuid): Do not use CHECK_1.
2124 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2126 (__lxstat): Do not use CHECK_1.
2127 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2129 (__old_msgctl): Do not use CHECK_1.
2130 (__new_msgctl): Likewise.
2131 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2133 (__new_setrlimit): Do not use CHECK_1.
2134 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2136 (__old_shmctl): Do not use CHECK_1.
2137 (__new_shmctl): Likewise.
2138 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2140 (__xstat): Do not use CHECK_1.
2141 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2142 (__lxstat): Do not use CHECK_1.
2143 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2145 (___lxstat64): Do not use CHECK_1.
2146 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2147 (__old_msgctl): Do not use CHECK_1.
2148 (__new_msgctl): Likewise.
2149 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2151 (__gettimeofday): Do not use CHECK_1.
2152 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2153 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2154 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2156 (__gettimeofday): Do not use CHECK_1.
2157 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2158 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2159 (__new_shmctl): Do not use CHECK_1.
2160 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2162 (do_sigtimedwait): Do not use CHECK_1.
2163 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2165 (do_sigwaitinfo): Do not use CHECK_1.
2166 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2168 (msgctl): Do not use CHECK_1.
2169 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2171 (shmctl): Do not use CHECK_1.
2172 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2173 (ustat): Do not use CHECK_1.
2174 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2176 (__fxstat): Do not use CHECK_1.
2177 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2179 (__fxstatat): Do not use CHECK_1.
2180 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2182 (__lxstat): Do not use CHECK_1.
2183 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2185 (__xstat): Do not use CHECK_1.
2186 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2187 (__xstat): Do not use CHECK_1.
2188 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2189 (___xstat64): Do not use CHECK_1.
2192 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2194 (CHECK_BOUNDS_HIGH): Likewise.
2195 * string/strcpy.c: Do not include <bp-checks.h>.
2196 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2198 2013-02-07 Roland McGrath <roland@hack.frob.com>
2200 * nscd/nscd-client.h (__nscd_drop_map_ref):
2201 Add __attribute__ ((unused)).
2202 * nis/nss-nisplus.h (niserr2nss): Likewise.
2204 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2205 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2207 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2208 Remove inline keyword.
2209 * include/rounding-mode.h (round_away): Likewise.
2210 * libio/wfileops.c (adjust_wide_data): Likewise.
2211 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2212 (__m128i_strloadu_tolower): Likewise.
2213 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2214 (__m128i_strloadu_tolower): Likewise.
2215 * time/mktime.c (ydhms_diff): Likewise.
2216 * locale/elem-hash.h (elem_hash): Likewise.
2217 * locale/setlocale.c (setdata): Likewise.
2218 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2219 (re_string_wchar_at): Likewise.
2220 (bitset_not, bitset_merge, bitset_mask): Likewise.
2221 [!(__GNUC__ > 3)] (inline): Remove macro.
2222 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2223 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2224 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2225 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2226 * string/memcmp.c (memcmp_bytes): Likewise.
2227 * locale/programs/locarchive.c (compute_hashval): Likewise.
2228 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2229 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2230 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2231 * nss/getent.c (print_rpc, print_protocols): Likewise.
2232 (print_passwd, print_group, print_aliases): Likewise.
2233 * nis/nss-nisplus.h (niserr2nss): Likewise.
2234 * nscd/connections.c (restart_p): Likewise.
2235 Change return type to bool.
2237 2013-02-05 Roland McGrath <roland@hack.frob.com>
2239 * Makeconfig (all-Depend-files): Add existing
2240 $(sorted-subdirs:=/Depend) files.
2241 (all-subdirs): Remove nss.
2242 * sysdeps/unix/inet/Subdirs: Add it here instead.
2243 * hesiod/Depend: New file.
2245 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2246 instead of calling alloca.
2248 * io/lseek.c (__lseek): Rename to __libc_lseek.
2249 Define __lseek as an alias.
2251 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2253 2013-02-04 Carlos O'Donell <carlos@redhat.com>
2255 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2256 else clause and remove check for non-standard endianness.
2258 2013-02-04 David S. Miller <davem@davemloft.net>
2260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2262 2013-02-04 Joseph Myers <joseph@codesourcery.com>
2265 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2266 (__ubp_memchr): Remove prototype.
2267 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2268 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2269 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2270 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2271 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2273 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2274 (__ubp_memchr): Likewise.
2275 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2276 (__ubp_memchr): Likewise.
2277 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2278 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2279 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2280 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2282 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2283 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2284 (__getcwd): Do not use CHECK_STRING.
2285 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2287 (__real_chown): Do not use CHECK_STRING.
2288 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2290 (fchownat): Do not use CHECK_STRING.
2291 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2293 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2295 (__lchown): Do not use CHECK_STRING.
2296 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2297 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2298 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2299 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2301 include <bp-checks.h>.
2302 (truncate64): Do not use CHECK_STRING.
2303 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2305 (__real_chown): Do not use CHECK_STRING.
2306 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2308 (__lchown): Do not use CHECK_STRING.
2309 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2311 (__chown): Do not use CHECK_STRING.
2312 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2314 (truncate64): Do not use CHECK_STRING.
2315 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2317 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2318 (__xmknod): Do not use CHECK_STRING.
2319 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2321 (__xmknodat): Do not use CHECK_STRING.
2322 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2323 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2325 2013-02-04 Andreas Schwab <schwab@suse.de>
2328 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2329 * include/netdb.h: Likewise for h_errno.
2330 * elf/tst-stackguard1.c: Include <tls.h>.
2332 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2334 * elf/link.h (struct link_map): Extend the l_addr comment.
2335 * include/link.h (struct link_map): Likewise.
2337 2013-02-01 Joseph Myers <joseph@codesourcery.com>
2340 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2341 (BOUNDED_1): Remove macro.
2342 * debug/backtrace.c: Don't include <bp-checks.h>.
2343 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2344 (__backtrace): Likewise.
2345 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2347 (__backtrace): Don't use BOUNDED_1.
2348 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2350 (__backtrace): Don't use BOUNDED_1.
2351 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2352 (__backtrace): Don't use BOUNDED_1.
2353 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2354 (shmat): Don't use BOUNDED_N.
2356 2013-01-31 Joseph Myers <joseph@codesourcery.com>
2359 * sysdeps/generic/bp-start.h: Remove file.
2360 * csu/libc-start.c: Don't include <bp-start.h>.
2361 (LIBC_START_MAIN): Set up __environ directly instead of using
2362 INIT_ARGV_and_ENVIRON.
2363 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2367 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2369 (CHECK_FCNTL): Likewise.
2370 (CHECK_N_PAGES): Likewise.
2373 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2375 (CHECK_SIGSET_NULL_OK): Likewise.
2376 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2378 (sigpending): Don't use CHECK_SIGSET.
2379 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2381 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2382 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2384 (do_sigsuspend): Don't use CHECK_SIGSET.
2385 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2387 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2388 (do_sigwait): Don't use CHECK_SIGSET.
2389 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2391 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2392 include <bp-checks.h>.
2393 (sigpending): Don't use CHECK_SIGSET.
2394 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2395 include <bp-checks.h>.
2396 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2397 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2399 (sigpending): Don't use CHECK_SIGSET.
2400 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2402 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2405 * sysdeps/generic/bp-semctl.h: Remove file.
2406 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2407 <bp-checks.h> and <bp-semctl.h>.
2408 (__old_semctl): Don't use CHECK_SEMCTL.
2409 (__new_semctl): Likewise.
2410 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2412 (__old_semctl): Don't use CHECK_SEMCTL.
2413 (__new_semctl): Likewise.
2414 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2415 <bp-checks.h> and <bp-semctl.h>.
2416 (__old_semctl): Don't use CHECK_SEMCTL.
2417 (__new_semctl): Likewise.
2418 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2419 <bp-checks.h> and <bp-semctl.h>.
2420 (semctl): Don't use CHECK_SEMCTL.
2423 * Makerules (elide-bp-thunks): Remove variable.
2424 (elide-routines.oS): Don't use $(elide-bp-thunks).
2425 (elide-routines.os): Likewise.
2426 (elide-routines.o): Likewise.
2427 (elide-routines.op): Likewise.
2428 (elide-routines.og): Likewise.
2429 (objects): Don't use $(bp-thunks).
2430 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2432 (common-generated): Do not add s-proto-bp.d.
2433 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2436 Do not generate makefile rules for bounded-pointer thunks.
2437 * sysdeps/generic/bp-thunks.h: Remove file.
2438 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2439 * sysdeps/unix/s-proto-bp.S: Likewise.
2442 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2443 parts of result separately when argument is not close to line from
2444 -i to i and one part of argument is small.
2445 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2446 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2447 * math/libm-test.inc (cacos_test): Add more tests.
2448 (casin_test): Likewise.
2449 (casinh_test): Likewise.
2450 * sysdeps/i386/fpu/libm-test-ulps: Update.
2451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2453 2013-01-31 David S. Miller <davem@davemloft.net>
2455 * po/de.po: Update from translation team.
2457 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2459 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2461 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2463 * configure.in (_AC_PROG_CC_C89): New definition.
2464 * configure: Regenerate.
2466 * configure.in (AC_PROG_CPP): New definition.
2467 * configure: Regenerate.
2469 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2471 * debug/tst-backtrace.h: New file.
2472 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2473 (ret): Remove variable.
2475 (FAIL): Remove macro.
2476 (NO_INLINE): Likewise.
2477 (fn1): Use match function instead of strstr.
2478 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2479 (ret): Remove variable.
2481 (FAIL): Remove macro.
2482 (NO_INLINE): Likewise.
2483 (fn): Use match function instead of strstr.
2484 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2485 (ret): Remove variable.
2487 (FAIL): Remove macro.
2488 (NO_INLINE): Likewise.
2489 (handle_signal): Use match function instead of strstr.
2490 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2491 (ret): Remove variable.
2493 (FAIL): Remove macro.
2494 (NO_INLINE): Likewise.
2495 (handle_signal): Use match function instead of strstr.
2497 2013-01-23 Roland McGrath <roland@hack.frob.com>
2499 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2501 2013-01-23 David S. Miller <davem@davemloft.net>
2503 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2504 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2505 argument of CAS if possible.
2506 * sysdeps/sparc/sparc64/bits/atomic.h
2507 (__arch_compare_and_exchange_val_32_acq): Likewise.
2508 (__arch_compare_and_exchange_val_64_acq): Likewise.
2510 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2512 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2513 * sysdeps/posix/ulimit.c: ... this.
2515 * sysdeps/unix/bsd/ulimit.c: Remove file.
2517 2013-01-23 Adam Conrad <adconrad@0c3.net>
2519 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2520 (LDFLAGS-tst-array5): Likewise.
2522 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2525 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2526 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2527 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2528 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2530 2013-01-21 David S. Miller <davem@davemloft.net>
2532 * sysdeps/sparc/backtrace.c: New file.
2533 * sysdeps/sparc/sparc32/backtrace.h: New file.
2534 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2535 * sysdeps/sparc/sparc64/backtrace.h: New file.
2536 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2537 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2540 2013-01-21 Andreas Schwab <schwab@suse.de>
2543 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2546 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2548 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2552 2013-01-18 Joseph Myers <joseph@codesourcery.com>
2553 Mark Mitchell <mark@codesourcery.com>
2554 Tom de Vries <tom@codesourcery.com>
2555 Paul Pluzhnikov <ppluzhnikov@google.com>
2557 * debug/tst-backtrace2.c: New file.
2558 * debug/tst-backtrace3.c: Likewise.
2559 * debug/tst-backtrace4.c: Likewise.
2560 * debug/tst-backtrace5.c: Likewise.
2561 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2562 (CFLAGS-tst-backtrace3.c): Likewise.
2563 (CFLAGS-tst-backtrace4.c): Likewise.
2564 (CFLAGS-tst-backtrace5.c): Likewise.
2565 (LDFLAGS-tst-backtrace2): Likewise.
2566 (LDFLAGS-tst-backtrace3): Likewise.
2567 (LDFLAGS-tst-backtrace4): Likewise.
2568 (LDFLAGS-tst-backtrace5): Likewise.
2569 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2570 tst-backtrace4 and tst-backtrace5.
2572 2013-01-18 Anton Blanchard <anton@samba.org>
2573 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2575 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2576 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2577 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2578 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2580 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2581 "+r" and remove output regs list as redundant. Add explicit inline
2582 asm to specify register of return val to work around compiler codegen
2583 bug. Remove (int) cast on return value. Add return type parameter to
2584 use in macro so that this macro does not truncate return value for
2586 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2587 pass to INTERNAL_VSYSCALL_NCS.
2588 (INLINE_VSYSCALL): Add 'long int' as return type to
2589 INTERNAL_VSYSCALL_NCS macro invocation.
2590 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2591 INTERNAL_VSYSCALL_NCS macro invocation.
2592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2594 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2597 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2598 Fix application of SIMD FP exception mask.
2600 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2601 mp_no from a power of two.
2602 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2603 __mpexp_twomm1. Use __pow_mp.
2605 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2608 2013-01-17 David S. Miller <davem@davemloft.net>
2610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2612 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2615 * include/complex.h: Condition contents on [!_COMPLEX_H].
2616 (__kernel_casinhf): New prototype.
2617 (__kernel_casinh): Likewise.
2618 (__kernel_casinhl): Likewise.
2619 * math/Makefile (libm_calls): Add k_casinh.
2620 * math/k_casinh.c: New file.
2621 * math/k_casinhf.c: Likewise.
2622 * math/k_casinhl.c: Likewise.
2623 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2624 finite nonzero arguments.
2625 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2626 finite nonzero arguments.
2627 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2628 finite nonzero arguments.
2629 * math/s_casinh.c: Do not include <float.h>.
2630 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2631 * math/s_casinhf.c: Do not include <float.h>.
2632 (__casinhf): Move code for finite nonzero arguments to
2634 * math/s_casinhl.c: Do not include <float.h>.
2635 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2637 (__casinhl): Move code for finite nonzero arguments to
2639 * math/libm-test.inc (cacos_test): Add more tests.
2640 * sysdeps/i386/fpu/libm-test-ulps: Update.
2641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2643 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2645 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2646 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2647 [!HAVE_MREMAP]: Remove [defined linux] case.
2648 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2650 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2652 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2654 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
2656 * elf/elf.h (R_386_SIZE32): New relocation.
2657 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2659 (elf_machine_rela): Likewise.
2660 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2661 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2663 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2665 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2666 (FP_FAST_FMA): Do not define.
2667 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2668 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2669 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2670 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2671 !_SOFT_FLOAT]: Likewise.
2672 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2673 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2675 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2676 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2677 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2678 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2679 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2680 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2683 2013-01-16 Andreas Schwab <schwab@suse.de>
2686 * include/stdlib.h (__mktemp): Add declaration.
2687 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2688 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2690 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2692 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2694 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2695 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2696 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2698 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2699 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2701 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2703 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2704 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2705 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2707 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2708 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2710 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2712 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2714 2013-01-15 David S. Miller <davem@davemloft.net>
2716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2717 trunc{,f} to libm-sysdep_routes.
2718 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2728 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2729 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2730 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2731 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2732 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2733 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2736 nearbyint{,f} to libm-sysdep_routes.
2737 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2748 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2750 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2751 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2753 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2754 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2755 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2757 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2758 libc_feholdexcept and libc_fesetenv.
2760 2013-01-15 Mike Frysinger <vapier@gentoo.org>
2762 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2764 2013-01-14 David S. Miller <davem@davemloft.net>
2766 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2767 (SPARC_ASM_VIS2_IFUNC): Likewise.
2768 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2770 use of 'siam' instruction.
2771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2777 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2778 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2779 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2780 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2789 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2791 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2792 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2799 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2800 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2801 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2802 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2804 routines to libm-sysdep_routines.
2805 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2808 fdim/fdimf to libm-sysdep_routines.
2809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2817 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2818 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2819 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2820 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2822 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2824 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2827 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2829 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2832 local variable MPTWO.
2833 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2836 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2838 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2841 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2843 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2845 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2847 * manual/pattern.texi (glob_t): Document gl_flags.
2848 (glob64_t): Likewise.
2850 2013-01-11 David S. Miller <davem@davemloft.net>
2852 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2853 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2854 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
2855 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2856 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2857 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2858 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2859 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2860 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2861 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2862 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2863 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2864 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2866 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2867 sparc V9 rather than using V8 code.
2868 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2869 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2871 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2873 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2876 2013-01-11 Roland McGrath <roland@hack.frob.com>
2878 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2879 not in the main loop.
2880 * configure: Regenerated.
2882 2013-01-11 Joseph Myers <joseph@codesourcery.com>
2884 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2885 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2887 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2888 [!__GLIBC_HAVE_LONG_LONG] case.
2889 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2890 condition to just #else.
2891 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2892 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2893 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2894 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2896 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2897 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2898 #elif condition to just #else.
2899 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2900 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2901 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2902 #elif condition to just #else.
2904 2013-01-11 Steve Ellcey <sellcey@mips.com>
2906 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2907 (EF_MIPS_ARCH_64): Fix value.
2908 (EF_MIPS_ARCH_32R2): New.
2909 (EF_MIPS_ARCH_64R2): New.
2911 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2913 * Makeconfig (+link-pie-before-libc): New.
2914 (+link-pie-after-libc): Likewise.
2915 (+link-pie-tests): Likewise.
2916 (+link-pie): Rewritten.
2917 (link-before-libc): Remove $(config-LDFLAGS).
2918 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2919 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2920 (config-LDFLAGS): Renamed to ...
2921 (rtld-LDFLAGS): This.
2922 (rtld-tests-LDFLAGS): New macro.
2923 (link-libc-rpath-link): Likewise.
2924 (link-libc-tests-rpath-link): Likewise.
2925 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2926 (link-libc): Prepand $(link-libc-rpath-link).
2927 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2928 (test-program-prefix): New macro.
2929 (test-via-rtld-prefix): Likewise.
2930 (test-program-cmd): Likewise.
2931 (host-test-program-cmd): Likewise.
2932 * Makefile ($(common-objpfx)testrun.sh): Replace
2933 $(run-program-prefix) with $(test-program-prefix).
2934 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2936 ($(common-objpfx)shlib.lds): Likewise.
2937 (build-module-helper): Likewise.
2938 ($(common-objpfx)format.lds): Likewise.
2939 * Rules (binaries-pie-tests): New.
2940 (binaries-pie-notests): Likewise.
2941 (binaries-pie): Rewritten.
2942 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2943 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2944 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2945 (make-test-out): Replace $(host-built-program-cmd) with
2946 $(host-test-program-cmd).
2947 * config.make.in (build-hardcoded-path-in-tests): New variable.
2948 * configure.in (--enable-hardcoded-path-in-tests): New configure
2950 (hardcoded_path_in_tests): New AC_SUBST.
2951 * configure: Regenerated.
2952 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2953 $(built-program-cmd) with $(test-program-cmd).
2954 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2955 (test_program_cmd): This.
2956 * elf/Makefile ($(objpfx)order.out): Run test with
2957 $(test-program-prefix).
2958 ($(objpfx)order2.out): Likewise.
2959 ($(objpfx)tst-initorder.out): Likewise.
2960 ($(objpfx)tst-initorder2.out): Likewise.
2961 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2962 $(test-program-cmd).
2963 ($(objpfx)tst-array1-static.out): Likewise.
2964 ($(objpfx)tst-array2.out): Likewise.
2965 ($(objpfx)tst-array3.out): Likewise.
2966 ($(objpfx)tst-array4.out): Likewise.
2967 ($(objpfx)tst-array5.out): Likewise.
2968 ($(objpfx)tst-array5-static.out): Likewise.
2969 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2970 $(test-program-cmd).
2971 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2972 $(run-program-prefix) with $(test-program-prefix).
2973 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2974 (test_program_prefix): This.
2975 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2976 $(run-program-prefix) with $(test-program-prefix).
2977 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2978 (test_program_prefix): This.
2979 * iconvdata/tst-tables.sh: Likewise.
2980 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2981 $(run-program-prefix) with $(test-program-prefix).
2982 ($(objpfx)tst-translit.out): Likewise.
2983 ($(objpfx)tst-gettext2.out): Likewise.
2984 ($(objpfx)tst-gettext4.out): Likewise.
2985 ($(objpfx)tst-gettext6.out): Likewise.
2986 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2987 (test_program_prefix): This.
2988 * intl/tst-gettext2.sh: Likewise.
2989 * intl/tst-gettext4.sh Likewise.
2990 * intl/tst-gettext6.sh: Likewise.
2991 * intl/tst-translit.sh: Likewise.
2992 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2993 with $(test-program-cmd).
2994 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2995 $(run-program-prefix) with $(test-program-prefix).
2996 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2997 (test_program_prefix): This.
2998 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2999 $(run-program-prefix) with $(test-program-prefix).
3000 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3001 (test_program_prefix): This.
3002 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3003 * posix/Makefile ($(objpfx)globtest.out): Replace
3004 $(run-via-rtld-prefix) and $(test-wrapper) with
3005 $(test-program-prefix) and $(test-via-rtld-prefix).
3006 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3007 $(test-program-prefix).
3008 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3009 $(host-test-program-cmd).
3010 (tst-spawn-ARGS): Likewise.
3011 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3012 $(test-program-prefix).
3013 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3014 (test_via_rtld_prefix): This.
3015 (test_wrapper): Renamed to ...
3016 (test_program_prefix): This.
3017 (run_program_prefix): Replaced by test_program_prefix.
3018 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3019 (test_program_prefix): This.
3020 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3021 with $(host-test-program-cmd).
3022 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3023 $(run-program-prefix) with $(test-program-prefix).
3024 ($(objpfx)tst-printf.out): Likewise.
3025 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3026 $(test-program-cmd).
3027 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3028 (test_program_prefix): This.
3029 * stdio-common/tst-unbputc.sh: Likewise.
3030 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3031 $(run-program-prefix) with $(test-program-prefix).
3032 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3033 (test_program_prefix): This.
3034 * string/Makefile ($(objpfx)tst-svc.out): Replace
3035 $(built-program-cmd) with $(test-program-cmd).
3037 2013-01-11 Andreas Jaeger <aj@suse.de>
3040 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3041 value. Sync with Linux 3.7.
3043 2013-01-10 David S. Miller <davem@davemloft.net>
3045 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3046 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3047 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3049 2013-01-10 Roland McGrath <roland@hack.frob.com>
3051 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3053 * configure: Regenerated.
3055 2013-01-10 David S. Miller <davem@davemloft.net>
3057 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3058 sparc V9 rather than using V8 code.
3059 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3060 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3062 2013-01-10 Roland McGrath <roland@hack.frob.com>
3064 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3065 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3066 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3067 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3068 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3069 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3070 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3071 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3072 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3073 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3074 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3075 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3076 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3077 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3078 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3079 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3080 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3081 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3082 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3083 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3084 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3085 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3086 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3087 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3088 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3089 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3090 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3092 2013-01-10 David S. Miller <davem@davemloft.net>
3094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3096 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3098 * posix/Makefile (tests-static): New variable.
3099 (tests): Add $(tests-static).
3100 (tst-exec-static-ARGS): New variable.
3101 (tst-spawn-static-ARGS): Likewise.
3102 * posix/tst-exec-static.c: New file.
3103 * posix/tst-spawn-static.c: Likewise.
3104 * posix/tst-exec.c: Support run directly.
3105 * posix/tst-spawn.c: Likewise.
3107 2013-01-10 Joseph Myers <joseph@codesourcery.com>
3109 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3111 * math/bits/mathcalls.h (llrint): Likewise.
3112 (llround): Likewise.
3113 * stdlib/stdlib.h (struct drand48_data): Likewise.
3114 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3115 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3116 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3118 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3120 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3121 (elf_greg_t): Likewise.
3122 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3123 (__jmp_buf): Likewise.
3124 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3126 (llrint): Likewise, for all definitions.
3127 (llrintl): Likewise.
3129 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3130 Remove [__GNUC__] condition.
3131 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3132 condition to just [__USE_ISOC99].
3133 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3135 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3138 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3139 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3141 (_POSIX_V6_ILP32_OFF32): Likewise.
3142 (_XBS5_ILP32_OFF32): Likewise.
3143 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3144 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3146 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3148 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3150 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3151 doubles __mpexp_twomm1. Adjust usage.
3152 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3155 2013-01-10 Andreas Schwab <schwab@suse.de>
3158 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3159 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3161 2013-01-09 David S. Miller <davem@davemloft.net>
3164 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3165 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3166 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3167 TCP_FASTOPEN): Define.
3168 (tcp_repair_opt): New structure.
3169 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3171 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3172 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3173 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3174 (tcp_cookie_transactions): New structure.
3176 2013-01-09 Anton Blanchard <anton@samba.org>
3178 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3179 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3180 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3181 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3183 2013-01-09 Joseph Myers <joseph@codesourcery.com>
3185 * include/features.h (__USE_ANSI): Remove.
3187 2013-01-09 Roland McGrath <roland@hack.frob.com>
3189 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3191 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3193 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3195 * sysdeps/s390/fpu/libm-test-ulps: Update.
3197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3199 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3204 (__mp_dbl): Likewise.
3205 (__dbl_mp): Likewise.
3206 (add_magnitudes): Likewise.
3207 (sub_magnitudes): Likewise.
3213 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3218 (__mp_dbl): Likewise.
3219 (__dbl_mp): Likewise.
3220 (add_magnitudes): Likewise.
3221 (sub_magnitudes): Likewise.
3227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3232 (__mp_dbl): Likewise.
3233 (__dbl_mp): Likewise.
3234 (add_magnitudes): Likewise.
3235 (sub_magnitudes): Likewise.
3242 2013-01-08 Joseph Myers <joseph@codesourcery.com>
3244 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3245 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3246 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3247 2 && __USE_EXTERN_INLINES]: Likewise.
3249 2013-01-08 Andreas Jaeger <aj@suse.de>
3252 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3254 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3255 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3257 2013-01-07 Anton Blanchard <anton@samba.org>
3259 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3260 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3261 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3262 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3263 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3264 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3265 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3266 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3267 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3268 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3269 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3270 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3271 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3272 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3273 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3274 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3275 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3276 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3277 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3278 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3279 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3280 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3281 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3282 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3283 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3284 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3285 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3286 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3287 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3288 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3289 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3290 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3291 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3292 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3293 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3294 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3295 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3296 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3297 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3298 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3299 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3300 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3301 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3303 2013-01-07 Joseph Myers <joseph@codesourcery.com>
3305 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3306 (__MALLOC_PMT): Likewise.
3307 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3308 [__GNUC__], only on [_LIBC].
3309 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3310 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3311 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3312 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3313 forward declaration.
3314 (realloc_hook_ini): Likewise.
3315 (memalign_hook_ini): Likewise.
3316 (__libc_memalign): Do not use __MALLOC_PMT in variable
3318 (__libc_valloc): Likewise.
3319 (__libc_pvalloc): Likewise.
3320 (__libc_calloc): Likewise.
3321 (__posix_memalign): Likewise.
3324 * math/s_casinh.c: Include <float.h>.
3325 (__casinh): Do not do computation with squaring and square root
3326 for large arguments.
3327 * math/s_casinhf.c: Include <float.h>.
3328 (__casinhf): Do not do computation with squaring and square root
3329 for large arguments.
3330 * math/s_casinhl.c: Include <float.h>.
3331 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3332 (__casinhl): Do not do computation with squaring and square root
3333 for large arguments.
3334 * math/libm-test.inc (casin_test): Add more tests.
3335 (casinh_test): Likewise.
3336 * sysdeps/i386/fpu/libm-test-ulps: Update.
3337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3339 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3341 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3342 (__x86_64_raw_data_cache_size): Likewise.
3343 (__x86_64_data_cache_size_half): Likewise.
3344 (__x86_64_raw_data_cache_size_half): Likewise.
3345 (__x86_64_shared_cache_size): Likewise.
3346 (__x86_64_raw_shared_cache_size): Likewise.
3347 (__x86_64_shared_cache_size_half): Likewise.
3348 (__x86_64_raw_shared_cache_size_half): Likewise.
3349 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3351 (__x86_data_cache_size): This.
3352 (__x86_64_raw_data_cache_size): Renamed to ...
3353 (__x86_raw_data_cache_size): This.
3354 (__x86_64_data_cache_size_half): Renamed to ...
3355 (__x86_data_cache_size_half): This.
3356 (__x86_64_raw_data_cache_size_half): Renamed to ...
3357 (__x86_raw_data_cache_size_half): This.
3358 (__x86_64_shared_cache_size): Renamed to ...
3359 (__x86_shared_cache_size): This.
3360 (__x86_64_raw_shared_cache_size): Renamed to ...
3361 (__x86_raw_shared_cache_size): This.
3362 (__x86_64_shared_cache_size_half): Renamed to ...
3363 (__x86_shared_cache_size_half): This.
3364 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3365 (__x86_raw_shared_cache_size_half): This.
3366 * sysdeps/x86_64/memcpy.S: Updated.
3367 * sysdeps/x86_64/memset.S: Likewise.
3368 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3369 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3370 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3372 2013-01-04 David S. Miller <davem@davemloft.net>
3374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3376 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3378 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3379 1 to avoid redefinition warning.
3380 (__USE_GNU): Don't define.
3381 (init_signaling_nan): Protoize.
3383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3385 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3387 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3389 (__cpymn): Likewise.
3390 (norm): Remove commented code.
3392 (__mp_dbl): Likewise.
3394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3395 (__cpymn): Likewise.
3396 (norm): Remove commented code.
3398 (__mp_dbl): Likewise.
3401 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3402 mp_no value for 1.0 and 2.0.
3403 (norm): Use RADIXI instead of radixi.d.
3405 (__mul): Use 0.0 instead of zero.d.
3406 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3407 mp_no value for 1.0 and 2.0.
3408 (norm): Use RADIXI instead of radixi.d.
3410 (__mul): Use 0.0 instead of zero.d.
3412 2013-01-04 Joseph Myers <joseph@codesourcery.com>
3415 * math/s_casinh.c (__casinh): Reduce finite argument to first
3416 quadrant then set signs of results at the end.
3417 * math/s_casinhf.c (__casinhf): Likewise.
3418 * math/s_casinhl.c (__casinhl): Likewise.
3419 * math/libm-test.inc (casin_test): Add more tests.
3420 (casinh_test): Likewise.
3421 * sysdeps/i386/fpu/libm-test-ulps: Update.
3422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3424 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3426 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3428 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3430 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3433 (__mp_dbl): Likewise.
3436 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3437 and adjust the header comment.
3439 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3440 variable name from declaration.
3442 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3445 Initialize COMMON_CPUID_INDEX_7 element.
3446 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3447 (CPUID_RTM): Likewise.
3448 (HAS_RTM): Likewise.
3449 (COMMON_CPUID_INDEX_7): New enum.
3451 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3454 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3455 size is zero, record memory as freed.
3457 2013-01-03 Andreas Jaeger <aj@suse.de>
3459 * po/ia.po: Add new Interlingua translation.
3461 2012-01-03 Allan McRae <allan@archlinux.org>
3463 * locale/programs/localedef.c: Fix description of '--posix' flag.
3465 2013-01-02 Joseph Myers <joseph@codesourcery.com>
3467 * NEWS: Update dates in second copyright notice.
3468 * README: Update copyright dates in example.
3469 * manual/libc.texinfo: Update copyright dates.
3470 * scripts/test-installation.pl: Update copyright date in --version
3473 * hurd/ctty-input.c: Fix copyright notice formatting.
3474 * hurd/ctty-output.c: Likewise.
3475 * hurd/dtable.c: Likewise.
3476 * hurd/hurd-raise.c: Likewise.
3477 * hurd/hurdprio.c: Likewise.
3478 * hurd/msgportdemux.c: Likewise.
3479 * misc/sys/file.h: Likewise.
3480 * misc/sys/ioctl.h: Likewise.
3481 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3482 * sysdeps/mach/hurd/chdir.c: Likewise.
3483 * sysdeps/mach/hurd/fchdir.c: Likewise.
3484 * sysdeps/mach/hurd/rename.c: Likewise.
3485 * sysdeps/mach/hurd/rmdir.c: Likewise.
3486 * sysdeps/mach/hurd/seekdir.c: Likewise.
3487 * sysdeps/mach/hurd/setsid.c: Likewise.
3488 * sysdeps/posix/wait3.c: Likewise.
3490 * All files with FSF copyright notices: Update copyright dates
3491 using scripts/update-copyrights.
3492 * intl/plural.c: Regenerated.
3493 * locale/programs/charmap-kw.h: Likewise.
3494 * locale/programs/locfile-kw.h: Likewise.
3496 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3498 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3501 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3502 calculation loop and add branch prediction.
3504 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3505 check access beyond bounds of m1np.
3507 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3509 (__inv): Remove local variable MPTWO to use the global
3511 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3512 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3514 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3515 MP3HALFS static const.
3517 2013-01-01 David S. Miller <davem@davemloft.net>
3519 * po/ca.po: Update from translation team.
3521 2013-01-01 Joseph Myers <joseph@codesourcery.com>
3523 * scripts/update-copyrights: New file.
3524 * Makeconfig: Reformat copyright notice.
3525 * ctype/ctype.h: Likewise.
3526 * debug/swprintf_chk.c: Likewise.
3527 * elf/dl-cache.c: Likewise.
3528 * elf/dl-debug.c: Likewise.
3529 * elf/dl-object.c: Likewise.
3530 * grp/initgroups.c: Likewise.
3531 * hurd/Makefile: Likewise.
3532 * hurd/hurd/signal.h: Likewise.
3533 * hurd/hurdfault.c: Likewise.
3534 * hurd/hurdioctl.c: Likewise.
3535 * hurd/hurdlookup.c: Likewise.
3536 * hurd/intr-msg.c: Likewise.
3537 * iconv/gconv_open.c: Likewise.
3538 * libio/swprintf.c: Likewise.
3539 * locale/lc-ctype.c: Likewise.
3540 * locale/nl_langinfo.c: Likewise.
3541 * mach/Machrules: Likewise.
3542 * mach/Makefile: Likewise.
3543 * malloc/obstack.h: Likewise.
3544 * manual/Makefile: Likewise.
3545 * manual/tsort.awk: Likewise.
3546 * misc/bits/stab.def: Likewise.
3547 * nis/nis_print_group_entry.c: Likewise.
3548 * nis/nis_table.c: Likewise.
3549 * nis/nss_compat/compat-pwd.c: Likewise.
3550 * nis/nss_compat/compat-spwd.c: Likewise.
3551 * po/Makefile: Likewise.
3552 * posix/fnmatch.c: Likewise.
3553 * posix/regex.h: Likewise.
3554 * resolv/Makefile: Likewise.
3555 * resolv/nss_dns/dns-network.c: Likewise.
3556 * resolv/res_hconf.c: Likewise.
3557 * scripts/gen-sorted.awk: Likewise.
3558 * soft-fp/soft-fp.h: Likewise.
3559 * stdio-common/printf.h: Likewise.
3560 * stdlib/monetary.h: Likewise.
3561 * stdlib/random.c: Likewise.
3562 * stdlib/random_r.c: Likewise.
3563 * sysdeps/generic/Makefile: Likewise.
3564 * sysdeps/gnu/Makefile: Likewise.
3565 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3566 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3567 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3568 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3569 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3570 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3571 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3572 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3573 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3574 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3575 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3576 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3577 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3578 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3579 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3580 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3581 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3582 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3583 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3584 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3585 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3586 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3587 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3588 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3589 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3590 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3591 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3592 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3593 * sysdeps/mach/hurd/errnos.awk: Likewise.
3594 * sysdeps/mach/hurd/fork.c: Likewise.
3595 * sysdeps/mach/hurd/getcwd.c: Likewise.
3596 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3597 * sysdeps/mach/hurd/mmap.c: Likewise.
3598 * sysdeps/mach/hurd/utimes.c: Likewise.
3599 * sysdeps/mach/hurd/xmknod.c: Likewise.
3600 * sysdeps/posix/profil.c: Likewise.
3601 * sysdeps/posix/readdir_r.c: Likewise.
3602 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3603 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3604 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3605 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3607 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3608 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3609 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3610 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3611 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3612 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3613 * sysdeps/pthread/lio_listio.c: Likewise.
3614 * sysdeps/sparc/dl-procinfo.h: Likewise.
3615 * sysdeps/unix/i386/sysdep.S: Likewise.
3616 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3617 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3618 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3619 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3621 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3622 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3623 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3624 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3625 * sysdeps/wordsize-32/divdi3.c: Likewise.
3626 * time/sys/time.h: Likewise.
3627 * wcsmbs/Makefile: Likewise.
3629 2013-01-01 David S. Miller <davem@davemloft.net>
3631 * po/fr.po: Update from translation team.
3633 * catgets/gencat.c: Update copyright year.
3634 * csu/version.c: Likewise.
3635 * debug/catchsegv.sh: Likewise.
3636 * debug/pcprofiledump.c: Likewise.
3637 * debug/xtrace.sh: Likewise.
3638 * elf/ldconfig.c: Likewise.
3639 * elf/ldd.bash.in: Likewise.
3640 * elf/pldd.c: Likewise.
3641 * elf/sotruss.ksh: Likewise.
3642 * elf/sprof.c: Likewise.
3643 * iconv/iconv_prog.c: Likewise.
3644 * iconv/iconvconfig.c: Likewise.
3645 * locale/programs/locale.c: Likewise.
3646 * locale/programs/localedef.c: Likewise.
3647 * login/programs/pt_chown.c: Likewise.
3648 * malloc/memusage.sh: Likewise.
3649 * malloc/memusagestat.c: Likewise.
3650 * malloc/mtrace.pl: Likewise.
3651 * nscd/nscd.c: Likewise.
3652 * nss/getent.c: Likewise.
3653 * nss/makedb.c: Likewise.
3654 * posix/getconf.c: Likewise.
3656 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3658 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3661 2012-12-30 Mike Frysinger <vapier@gentoo.org>
3663 * math/bits/mathcalls.h (modf): Use __nonnull.
3665 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3667 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3668 (split): Use macro CN instead of the bare value.
3669 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3671 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3672 instead of the bare value.
3675 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3677 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3679 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3681 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3683 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3684 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3685 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3686 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3688 2012-12-28 Andreas Jaeger <aj@suse.de>
3690 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3691 values are from Linux 3.7.
3693 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3694 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3696 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3698 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3701 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3703 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3704 variables with preprocessor constants.
3705 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3706 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3707 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3709 2012-12-27 Bruno Haible <bruno@clisp.org>
3712 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3715 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3717 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3718 and use variable directly.
3719 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3721 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3723 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3724 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3726 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3727 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3728 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3729 include directive. Remove local variable MPONE.
3730 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3731 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3732 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3734 2012-12-25 David S. Miller <davem@davemloft.net>
3736 * version.h (RELEASE): Set to "development".
3737 (VERSION): Set to "2.17.90".
3738 * NEWS: Add 2.18 section.
3740 2012-12-21 David S. Miller <davem@davemloft.net>
3742 * po/hr.po: Update from translation team.
3744 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3746 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3748 2012-12-19 Steve Ellcey <sellcey@mips.com>
3750 * NEWS: Mention new memcpy for MIPS.
3752 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3754 * manual/contrib.texi (Contributors): Spelling correction.
3756 2012-12-15 David S. Miller <davem@davemloft.net>
3758 * po/ru.po: Update from translation team.
3760 2012-12-13 David S. Miller <davem@davemloft.net>
3762 * NEWS: Mention IFUNC testsuite enhancements.
3764 * po/pl.po: Update from translation team.
3765 * po/bg.po: Likewise.
3767 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3768 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3770 2012-12-11 David S. Miller <davem@davemloft.net>
3772 * po/sv.po: Update from translation team.
3774 * po/vi.po: Update from translation team.
3776 * po/cs.po: Update from translation team.
3778 * po/de.po: Update from translation team.
3779 * po/eo.po: Likewise.
3780 * po/nl.po: Likewise.
3782 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3785 * manual/argp.texi (Argp Helper Functions): Move node to follow
3789 * manual/conf.texi (Limits on File System Capacity): Mention if
3790 terminating null is included in the max size.
3792 2012-12-10 Andreas Jaeger <aj@suse.de>
3794 * po/cs.po: Update from translation team.
3796 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3798 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3799 void pointer and cast to uintptr_t.
3800 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3802 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3803 * sysdeps/s390/s390-64/memset.S: Likewise.
3805 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
3808 * menual/message.texi (Message Translation): Fix typos.
3809 (Helper programs for gettext): Likewise.
3811 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3814 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3817 2012-12-07 David S. Miller <davem@davemloft.net>
3819 * po/libc.pot: Update.
3821 2012-12-07 Richard Henderson <rth@redhat.com>
3824 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3825 normal/normal case to before the switch.
3826 (_FP_DIV): Likewise.
3828 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3829 Mike Frysinger <vapier@gentoo.org>
3831 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3832 check for __NR_fadvise64_64.
3834 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3836 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3837 0, not just to plain "0" as a statement.
3838 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3841 2012-12-06 Joseph Myers <joseph@codesourcery.com>
3843 * NEWS: Use sourceware.org in Bugzilla URL.
3845 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3848 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3850 * stdio-common/tst-put-error.c (do_test): Add newline to the
3851 padded test to ensure flush.
3853 2012-12-05 Jeff Law <law@redhat.com>
3855 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3857 2012-12-05 Joseph Myers <joseph@codesourcery.com>
3859 * README: Don't refer to ports add-on as distributed separately.
3860 Mention AArch64 in list of systems supported in the ports add-on.
3862 * LICENSES: Add more non-FSF copyright and license notices.
3864 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3867 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3869 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3870 10000 as width of padded output.
3872 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3874 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3876 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3877 variable LX with __attribute__ ((unused)).
3878 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3880 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3881 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3882 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3883 with __attribute__ ((unused)).
3885 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
3887 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3889 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3891 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3892 (CFLAGS-nldbl-acos.c): New variable.
3893 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3894 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3895 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3896 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3897 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3898 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3899 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3900 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3901 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3902 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3903 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3904 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3905 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3906 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3907 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3908 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3909 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3910 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3911 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3912 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3913 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3914 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3915 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3916 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3917 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3918 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3919 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3920 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3921 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3922 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3923 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3924 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3925 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3926 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3927 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3928 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3929 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3930 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3931 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3932 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3933 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3934 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3935 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3936 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3937 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3938 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3939 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3940 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3941 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3942 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3943 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3944 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3945 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3946 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3947 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3948 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3949 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3950 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3951 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3952 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3953 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3954 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3955 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3956 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3957 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3958 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3959 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3960 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3961 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3962 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3963 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3964 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3965 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3966 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3967 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3968 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3969 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3970 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3971 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3972 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3973 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3974 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3975 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3976 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3977 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3978 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3979 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3980 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3981 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3982 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3983 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3984 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3985 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3986 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3987 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3988 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3989 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3992 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3995 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3996 whole low double instead of just low 47 bits when splitting values
3999 2012-12-03 Allan McRae <allan@archlinux.org>
4001 * manual/stdio.texi (Predefined Printf Handlers): Remove
4002 @hsep and @vsep usage.
4004 2012-12-03 Mike Frysinger <vapier@gentoo.org>
4006 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4007 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4009 2012-12-03 Jeff Law <law@redhat.com>
4011 * time/sys/time.h (settimeofday): Do not mark TV argument
4014 2012-12-01 Mike Frysinger <vapier@gentoo.org>
4016 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4017 when currently writing and seek to current position when not.
4018 * libio/Makefile (tests): Remove bug-fclose1.
4019 * libio/bug-fclose1.c: Delete.
4021 2012-12-01 Joseph Myers <joseph@codesourcery.com>
4023 * manual/arith.texi (feenableexcept): Fix typo.
4024 (fedisableexcept): Likewise.
4026 2012-11-30 Roland McGrath <roland@hack.frob.com>
4028 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4029 second, differently-typed declaration, rather than a cast.
4031 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4033 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4034 * include/rpc/svc.h: ... here.
4036 2012-11-30 Aurelien Jarno <aurel32@debian.org>
4039 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4040 depending n and resplen2 to catch cases where answer
4043 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4045 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4046 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4048 2012-11-29 Mike Frysinger <vapier@gentoo.org>
4050 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4052 2012-11-29 Roland McGrath <roland@hack.frob.com>
4054 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4056 2012-11-28 Jeff Law <law@redhat.com>
4059 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4060 dataset_temporary. Track alloca usage into alloca_used.
4061 If dataset is large allocate and release it via malloc/free.
4063 2012-06-04 Florian Weimer <fweimer@redhat.com>
4066 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4068 2012-11-28 David S. Miller <davem@davemloft.net>
4070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4072 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4075 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4076 of pi/2 rounded to nearest to 64 bits.
4077 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4079 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4082 2012-11-28 Jeff Law <law@redhat.com>
4083 Martin Osvald <mosvald@redhat.com>
4086 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4087 * sunrpc/svc.c: Include time.h.
4088 (__svc_accept_failed): New function.
4089 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4090 any reason other than EINTR, call __svc_accept_failed.
4091 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4092 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4094 2012-11-28 Andreas Schwab <schwab@suse.de>
4096 * scripts/abilist.awk: Also handle indirect functions in .opd
4099 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4102 * sysdeps/x86/fpu/powl_helper.c: New file.
4103 * sysdeps/x86/fpu/Makefile: Likewise.
4104 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4106 (__ieee754_powl): Use __powl_helper for finite arguments except
4107 integer exponents below 8.
4108 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4110 (__ieee754_powl): Use __powl_helper for finite arguments except
4111 integer exponents below 8.
4112 * math/libm-test.inc (pow_test): Add more tests and enable some
4113 previously disabled tests.
4114 * sysdeps/i386/fpu/libm-test-ulps: Update.
4115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4117 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4118 Carlos O'Donell <carlos_odonell@mentor.com>
4120 * nss/makedb.c (is_prime): Assert that input is odd and greater
4121 than 4. Note that fact in a comment too.
4122 (next_prime): Add 4 to input.
4124 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4127 * libio/Makefile (tests): Add test case tst-fwrite-error.
4128 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4129 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4130 * libio/tst-fwrite-error.c: New test case.
4132 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4134 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4135 before casting to void *.
4136 * include/libc-internal.h (__pointer_type): New macro.
4137 (__integer_if_pointer_type_sub): Likewise.
4138 (__integer_if_pointer_type): Likewise.
4139 (cast_to_integer): Likewise.
4140 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4141 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4142 before casting to atomic64_t.
4143 (atomic_exchange_acq): Likewise.
4144 (__arch_exchange_and_add_body): Likewise.
4145 (__arch_add_body): Likewise.
4146 (atomic_add_negative): Likewise.
4147 (atomic_add_zero): Likewise.
4149 2012-11-26 Joseph Myers <joseph@codesourcery.com>
4151 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4152 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4153 (add_fdes): Likewise.
4154 (linear_search_fdes): Likewise.
4155 (binary_search_unencoded_fdes): Likewise.
4157 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4159 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4161 2012-11-24 Adam Conrad <adconrad@0c3.net>
4163 * configure.in: Autodetect C++ header directories.
4164 * configure: Regenerated.
4166 2012-11-23 Mike Frysinger <vapier@gentoo.org>
4168 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4170 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4174 2012-11-22 Joseph Myers <joseph@codesourcery.com>
4176 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4177 LDBL_MANT_DIG == 106]: Disable some tests.
4178 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4180 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4184 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4185 input for small inputs. Return +/- pi/2 for large inputs.
4186 * math/libm-test.inc (atan_test): Add more tests.
4188 * sysdeps/generic/unwind-dw2-fde-glibc.c
4189 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4190 __attribute__ ((unused)).
4193 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4194 x * y if x and y are nonzero and z is zero.
4197 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4198 nonzero exponents with absolute value below 0x1p-117 to +/-
4202 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4203 up arguments below 2**-450, not just those below 2**-500.
4204 * math/libm-test.inc (hypot_test): Add another test.
4207 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4208 Return a+b for ratio over 2**120, not 2**60.
4209 * math/libm-test.inc (hypot_test): Add another test.
4211 * math/libm-test.inc (clog_test): Use
4212 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4213 (clog10_test): Likewise.
4216 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4218 2012-11-22 Andreas Schwab <schwab@suse.de>
4220 * sysdeps/i386/fpu/libm-test-ulps: Update.
4222 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4224 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4225 printf output with newline.
4227 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4230 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4231 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4232 -z nodlopen, -z initfirst and -z execstack support.
4233 * configure: Regenerated.
4235 * elf/elf.h (DF_1_NODIRECT): New macro.
4236 (DF_1_IGNMULDEF): Likewise.
4237 (DF_1_NOKSYMS): Likewise.
4238 (DF_1_NOHDR): Likewise.
4239 (DF_1_EDITED): Likewise.
4240 (DF_1_NORELOC): Likewise.
4241 (DF_1_SYMINTPOSE): Likewise.
4242 (DF_1_GLOBAUDIT): Likewise.
4243 (DF_1_SINGLETON): Likewise.
4244 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4245 DT_1_SUPPORTED_MASK bits.
4246 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4248 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4250 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4252 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4254 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4257 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4258 (sendmmsg): Move declarations...
4259 * socket/sys/socket.h: ... here.
4260 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4261 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4263 * socket/recvmmsg.c: ... this new file.
4264 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4265 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4266 definition of __sendmmsg hidden.
4267 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4268 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4269 Move ENOSYS stub into and include it from...
4270 * socket/sendmmsg.c: ... this new file.
4271 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4272 (sysdep_routines): Move recvmmsg and sendmmsg...
4273 * socket/Makefile (routines): ... here.
4274 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4275 (GLIBC_PRIVATE): Add __sendmmsg.
4276 * include/sys/socket.h (__sendmmsg): Add declarations.
4277 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4280 2012-11-20 Joseph Myers <joseph@codesourcery.com>
4282 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4283 variable I1 with __attribute__ ((unused)).
4284 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4286 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4288 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4289 DUMMY variables with __attribute__ ((unused)).
4291 * bits/byteswap.h: Include <bits/types.h>.
4292 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4294 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4296 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4297 string_t. Do not manually set errno.
4298 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4299 length with __strnlen. Make sure to both set errno and return it on
4302 2012-11-19 David S. Miller <davem@davemloft.net>
4304 With help from Joseph Myers.
4305 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4306 very large arguments properly.
4307 * math/libm-test.inc (atan_test): New tests.
4308 (atan2_test): New tests.
4309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4310 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4312 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4315 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4318 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4319 [POSIX] (EADDRNOTAVAIL): Likewise.
4320 [POSIX] (EAFNOSUPPORT): Likewise.
4321 [POSIX] (EALREADY): Likewise.
4322 [POSIX] (ECONNABORTED): Likewise.
4323 [POSIX] (ECONNREFUSED): Likewise.
4324 [POSIX] (ECONNRESET): Likewise.
4325 [POSIX] (EDESTADDRREQ): Likewise.
4326 [POSIX] (EDQUOT): Likewise.
4327 [POSIX] (EHOSTUNREACH): Likewise.
4328 [POSIX] (EIDRM): Likewise.
4329 [POSIX] (EISCONN): Likewise.
4330 [POSIX] (ELOOP): Likewise.
4331 [POSIX] (EMULTIHOP): Likewise.
4332 [POSIX] (ENETDOWN): Likewise.
4333 [POSIX] (ENETUNREACH): Likewise.
4334 [POSIX] (ENOBUFS): Likewise.
4335 [POSIX] (ENODATA): Likewise.
4336 [POSIX] (ENOLINK): Likewise.
4337 [POSIX] (ENOMSG): Likewise.
4338 [POSIX] (ENOPROTOOPT): Likewise.
4339 [POSIX] (ENOSR): Likewise.
4340 [POSIX] (ENOSTR): Likewise.
4341 [POSIX] (ENOTCONN): Likewise.
4342 [POSIX] (ENOTSOCK): Likewise.
4343 [POSIX] (EOPNOTSUPP): Likewise.
4344 [POSIX] (EOVERFLOW): Likewise.
4345 [POSIX] (EPROTO): Likewise.
4346 [POSIX] (EPROTONOSUPPORT): Likewise.
4347 [POSIX] (EPROTOTYPE): Likewise.
4348 [POSIX] (ESTALE): Likewise.
4349 [POSIX] (ETIME): Likewise.
4350 [POSIX] (ETXTBSY): Likewise.
4351 [POSIX] (EWOULDBLOCK): Likewise.
4352 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4353 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4354 [POSIX] (SEEK_CUR): Likewise.
4355 [POSIX] (SEEK_END): Likewise.
4356 [POSIX || UNIX98] (mode_t): Do not require.
4357 [POSIX] (off_t): Likewise.
4358 [POSIX] (pid_t): Likewise.
4359 [POSIX] (sys/stat.h): Do not allow header.
4360 [POSIX] (unistd.h): Likewise.
4361 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4362 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4363 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4364 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4366 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4367 sigevent): Specify elements.
4368 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4370 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4371 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4373 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4374 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4375 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4376 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4377 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4378 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4379 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4380 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4381 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4382 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4383 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4384 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4385 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4386 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4388 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4390 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4392 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4394 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4395 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4396 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4397 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4398 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4399 Specify lower bound on value.
4400 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4401 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4402 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4403 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4404 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4405 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4406 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4407 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4409 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4411 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4412 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4413 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4414 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4415 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4416 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4417 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4418 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4419 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4420 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4421 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4422 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4423 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4424 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4425 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4426 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4428 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4430 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4431 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4432 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4433 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4434 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4435 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4437 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4438 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4439 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4440 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4441 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4442 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4443 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4445 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4446 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4447 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4448 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4449 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4450 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4451 specify as optional.
4452 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4453 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4454 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4455 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4456 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4457 [XPG3] (NL_LANGMAX): Likewise.
4458 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4459 [POSIX || XPG3] (NL_NMAX): Likewise.
4460 [POSIX || XPG3] (NL_SETMAX): Likewise.
4461 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4462 [XPG3] (NZERO): Likewise.
4463 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4464 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4465 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4466 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4467 (REG_ERANGE): Expect.
4468 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4470 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4471 Use (void) in prototype.
4472 [POSIX] (*_t): Allow.
4473 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4474 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4475 (WRDE_BADVAL): Expect.
4477 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4479 [XPG3 || XPG4] (O_RSYNC): Likewise.
4480 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4482 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4483 [XPG3 || XPG4] (sigqueue): Likewise.
4484 [XPG3 || XPG4] (sigtimedwait): Likewise.
4485 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4486 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4487 [XPG3 || XPG4] (vsnprintf): Likewise.
4488 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4490 [XPG3 || XPG4] (blksize_t): Likewise.
4491 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4493 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4494 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4495 [XPG3 || XPG4] (struct itimerspec): Likewise.
4496 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4497 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4498 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4499 [XPG3 || XPG4] (clockid_t): Likewise.
4500 [XPG3 || XPG4] (timer_t): Likewise.
4501 [XPG3 || XPG4] (clock_getres): Likewise.
4502 [XPG3 || XPG4] (clock_gettime): Likewise.
4503 [XPG3 || XPG4] (clock_settime): Likewise.
4504 [XPG3 || XPG4] (nanosleep): Likewise.
4505 [XPG3 || XPG4] (timer_create): Likewise.
4506 [XPG3 || XPG4] (timer_delete): Likewise.
4507 [XPG3 || XPG4] (timer_gettime): Likewise.
4508 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4509 [XPG3 || XPG4] (timer_settime): Likewise.
4510 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4511 [XPG3 || XPG4] (getlogin_r): Likewise.
4512 [XPG3 || XPG4] (pread): Likewise.
4513 [XPG3 || XPG4] (pthread_atfork): Likewise.
4514 [XPG3 || XPG4] (pwrite): Likewise.
4517 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4520 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4522 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4523 finalizing MALLSTREAM.
4525 * sysdeps/mach/hurd/syncfs.c: New file.
4527 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4530 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4531 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4532 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4533 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4534 (_nss_dns_gethostbyname4_r): Likewise.
4535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4536 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4538 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4541 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4543 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4545 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4546 * elf/cache.c (print_entry): Print ",AArch64" for
4549 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4550 * elf/cache.c (print_entry): Print ",hard-float" for
4553 2012-11-18 David S. Miller <davem@davemloft.net>
4555 With help from Joseph Myers.
4556 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4558 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4560 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4561 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4563 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4564 * math/libm-test.inc (y0_test): New tests.
4565 (y1_test): New tests.
4566 * sysdeps/i386/fpu/libm-test-ulps: Update.
4567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4570 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4572 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4574 * configure: Regenerated.
4576 2012-11-17 David S. Miller <davem@davemloft.net>
4579 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4580 nonzero exponents with absolute value below 0x1p-128 to +/-
4583 2012-11-17 Joseph Myers <joseph@codesourcery.com>
4585 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4587 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4589 * posix/getconf-speclist.c: New file.
4590 * posix/posix-envs.def: Likewise.
4591 * posix/confstr.c (START_ENV_GROUP): New macro.
4592 (END_ENV_GROUP): Likewise.
4593 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4594 (KNOWN_PRESENT_ENV_STRING): Likewise.
4595 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4596 (UNKNOWN_ENVIRONMENT): Likewise.
4597 (confstr): Include posix-envs.def instead of handling
4598 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4599 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4600 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4601 (END_ENV_GROUP): Likewise.
4602 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4603 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4604 (UNKNOWN_ENVIRONMENT): Likewise.
4605 (__sysconf): Include posix-envs.def instead of handling associated
4606 cases directly here.
4607 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4608 preprocessing getconf-speclist.c rather than running getconf or
4609 generating empty file.
4611 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4613 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4615 2012-11-16 Andrej Lajovic <natrij@gmail.com>
4618 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4620 2012-11-16 David S. Miller <davem@davemloft.net>
4622 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4623 smaller than LDBL_EPSILON/2.0L, just return xm1.
4625 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4627 * elf/tst-array1.c (init): Set constructor priority to 1000.
4628 (fini): Set destructor priority to 1000.
4629 * elf/tst-array2dep.c: Likewise.
4631 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4634 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4635 (_IO_new_file_xsputn): Also return EOF if none of the input
4636 data was written when overflow failed.
4637 * libio/iopadn.c (_IO_padn): Likewise.
4638 * libio/iowpadn.c (_IO_wpadn): Likewise.
4639 * stdio-common/tst-put-error.c: Add copyright notice.
4640 (do_test): Add case for printing padded string.
4641 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4642 _IO_padn returned error.
4643 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4644 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4647 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4649 * libio/libioP.h: Add comment note that the references to C++
4650 bits are now obsolete.
4652 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4654 * math/libm-test.inc (check_complex): Use asprintf.
4656 2012-11-14 Joseph Myers <joseph@codesourcery.com>
4658 * debug/pcprofiledump.c (print_version): Update copyright year.
4659 * malloc/memusagestat.c (print_version): Likewise.
4661 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4664 * elf/Makefile (tests): Add tst-audit8.
4665 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4666 ($(objpfx)tst-audit8.out): New target.
4667 (tst-audit8-ENV): New variable.
4668 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4669 audit if l_reloc_result is NULL.
4670 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4671 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4672 * elf/tst-audit8.c: New file.
4674 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4676 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4677 * misc/Makefile (CFLAGS-select.c): Define.
4678 * posix/Makefile (CFLAGS-pause.c): Define.
4680 2012-11-13 David S. Miller <davem@davemloft.net>
4682 * crypt/Makefile: Move test targets after toplevel Rules
4683 inclusion. Grab any necessary sysdep routines when linking.
4684 * crypt/md5.c (md5_process_block): Remove define, we will always
4685 name it __md5_process_block.
4686 (md5_finish_ctx): Update md5_process_block call.
4687 (md5_stream): Likewise.
4688 (md5_process_bytes): Likewise.
4689 (md5_process_block): Rename to __md5_process_block and move to ...
4690 * crypt/md5-block.c: ... here.
4691 * crypt/sha256.c (sha256_process_block): Move to ...
4692 * crypt/sha256-block.c: ... here.
4693 * crypt/sha512.c (sha512_process_block): Move to ...
4694 * crypt/sha512-block.c: ... here.
4695 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4697 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4698 * sysdeps/sparc/sparc64/multiarch/Makefile
4699 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4701 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4702 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4704 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4705 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4706 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4707 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4708 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4709 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4710 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4711 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4712 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4714 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4715 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4717 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4719 2012-11-13 Joseph Myers <joseph@codesourcery.com>
4721 * timezone/tzselect.ksh: Update from tzcode git revision
4722 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4723 * timezone/zdump.c: Likewise.
4724 * timezone/zic.c: Likewise.
4725 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4726 in TZVERSION setting, not $(PKGVERSION).
4727 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4728 REPORT_BUGS_TO settings.
4731 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4734 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4736 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4737 detection to immediately after _FP_ROUND().
4738 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4741 2012-11-11 David S. Miller <davem@davemloft.net>
4743 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4745 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4746 __close rather than their public counterparts.
4748 2012-11-10 Joseph Myers <joseph@codesourcery.com>
4750 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4752 [UNIX98] (sem_timedwait): Do not expect.
4753 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4754 [XPG4 || UNIX98] (sockatmark): Do not expect.
4755 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4756 (clock_getcpuclockid): Do not expect.
4757 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4758 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4760 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4761 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4762 [UNIX98] (vwscanf): Likewise.
4763 [UNIX98] (vswscanf): Likewise.
4765 2012-11-09 Joseph Myers <joseph@codesourcery.com>
4767 * timezone/version.h: Remove file.
4768 * timezone/README: Do not refer to version.h.
4769 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4771 ($(objpfx)zdump.o): Likewise.
4772 ($(objpfx)version.h): New target.
4774 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4776 * timezone/README: Don't mention modification to tzselect.ksh.
4777 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4778 work on unmodified tzselect.ksh. Substitute version numbers in
4781 * Makefile (format-me): Remove.
4782 (INSTALL): Adjust indentation. Use commands directly instead of
4785 * aclocal.m4 (ACX_PKGVERSION): New macro.
4786 (ACX_BUGURL): Likewise.
4787 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4788 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4789 (REPORT_BUGS_TO): Likewise.
4790 * configure: Regenerated.
4791 * config.h.in (PKGVERSION): New macro.
4792 (REPORT_BUGS_TO): Likewise.
4793 * config.make.in (PKGVERSION): New variable.
4794 (PKGVERSION_TEXI): Likewise.
4795 (REPORT_BUGS_TO): Likewise.
4796 (REPORT_BUGS_TEXI): Likewise.
4797 * Makefile (format-me): Use -I$(common-objpfx)manual.
4798 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4799 ($(common-objpfx)manual/%): New target.
4800 (manual/%): Remove target.
4801 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4802 (print_version): Use PKGVERSION.
4803 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4804 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4806 ($(objpfx)xtrace): Likewise.
4807 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4808 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4809 (print_version): Use PKGVERSION.
4810 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4811 (do_version): Use PKGVERSION.
4812 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4814 (common-ldd-rewrite): Likewise.
4815 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4816 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4817 (print_version): Use PKGVERSION.
4818 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4819 * elf/pldd.c (argp_program_bug_address): Remove variable.
4820 (more_help): New function.
4821 (argp): Use more_help.
4822 (print_version): Use PKGVERSION.
4823 * elf/sln.c (main): Use PKGVERSION.
4824 (usage): Use REPORT_BUGS_TO.
4825 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4826 (top level): Use PKGVERSION.
4827 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4828 (print_version): Use PKGVERSION.
4829 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4830 (print_version): Use PKGVERSION.
4831 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4832 (print_version): Use PKGVERSION.
4833 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4834 (print_version): Use PKGVERSION.
4835 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4836 (print_version): Use PKGVERSION.
4837 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4838 (print_version): Use PKGVERSION.
4839 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4841 ($(objpfx)memusage): Likewise.
4842 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4843 (do_version): Use PKGVERSION.
4844 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4845 (print_version): Use PKGVERSION.
4846 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4847 ($PKGVERSION): New variable.
4848 ($REPORT_BUGS_TO): Likewise.
4849 (usage): Use $REPORT_BUGS_TO.
4850 (top level): Use $PKGVERSION.
4851 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4852 ($(objpfx)pkgvers.texi): New rule.
4853 ($(objpfx)stamp-pkgvers): Likewise.
4854 * manual/install.texi: Include pkgvers.texi.
4855 (--with-pkgversion): Document new configure option.
4856 (--with-bugurl): Likewise.
4857 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4858 than necessarily for this particular distribution. Use
4859 REPORT_BUGS_TO for where to report bugs.
4860 * INSTALL: Regenerated.
4861 * manual/libc.texinfo: Include pkgvers.texi.
4862 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4863 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4864 (print_version): Use PKGVERSION.
4865 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4866 (print_version): Use PKGVERSION.
4867 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4868 (print_version): Use PKGVERSION.
4869 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4870 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4872 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4873 (print_version): Use PKGVERSION.
4874 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4875 (print_version): Use PKGVERSION.
4876 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4879 * timezone/checktab.awk: Update from tzcode 2012i.
4880 * timezone/ialloc.c: Likewise.
4881 * timezone/private.h: Likewise.
4882 * timezone/scheck.c: Likewise.
4883 * timezone/tzfile.h: Likewise.
4884 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4885 (TZVERSION): Hardcode tzcode version number.
4886 * timezone/zdump.c: Update from tzcode 2012i.
4887 * timezone/zic.c: Likewise.
4888 * timezone/version.h: New file.
4889 * timezone/README: Describe version.h. Update upstream location.
4892 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4893 (mktemp): Enable declaration.
4894 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4895 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4896 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4897 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4899 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4901 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4903 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4905 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4907 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4911 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4912 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4913 for copies of such integer values.
4914 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4915 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4917 2012-11-09 Andreas Jaeger <aj@suse.de>
4919 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4920 definitions and declarations that are provided by
4921 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4923 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4925 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4926 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4927 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4930 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4932 * elf/elf.h: Update comment before AArch64 relocations.
4934 2012-11-07 David S. Miller <davem@davemloft.net>
4936 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4937 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4938 (__start_context): Declare.
4939 (__makecontext_ret): Delete.
4940 (__makecontext): Hook up __start_context instead of
4942 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4943 (sysdep_routines): Add __start_context when in stdlib.
4945 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4947 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4948 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4949 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4951 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4952 (READELF): New variable. Use it instead of hardcoded "readelf".
4954 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4956 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4957 * sysdeps/x86/Makefile: Here.
4958 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4959 * sysdeps/x86/tst-xmmymm.sh: This.
4961 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4963 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4965 [UNIX98] (pthread_barrier_t): Do not expect.
4966 [UNIX98] (pthread_barrierattr_t): Likewise.
4967 [UNIX98] (pthread_spinlock_t): Likewise.
4968 [UNIX98] (pthread_barrier_destroy): Likewise.
4969 [UNIX98] (pthread_barrier_init): Likewise.
4970 [UNIX98] (pthread_barrier_wait): Likewise.
4971 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4972 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4973 [UNIX98] (pthread_barrierattr_init): Likewise.
4974 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4975 [UNIX98] (pthread_getcpuclockid): Likewise.
4976 [UNIX98] (pthread_mutex_timedlock): Likewise.
4977 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4978 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4979 [UNIX98] (pthread_sigmask): Likewise.
4980 [UNIX98] (pthread_spin_destroy): Likewise.
4981 [UNIX98] (pthread_spin_init): Likewise.
4982 [UNIX98] (pthread_spin_lock): Likewise.
4983 [UNIX98] (pthread_spin_trylock): Likewise.
4984 [UNIX98] (pthread_spin_unlock): Likewise.
4985 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4987 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4988 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4989 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4990 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4991 [XPG3 || XPG4] (pthread_key_t): Likewise.
4992 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4993 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4994 [XPG3 || XPG4] (pthread_once_t): Likewise.
4995 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4996 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4997 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4998 [XPG3 || XPG4] (pthread_t): Likewise.
5000 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5002 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5004 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5005 Change function return type to int.
5007 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5008 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5009 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5010 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5011 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5012 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5013 [!POSIX] (posix_madvise): Likewise.
5014 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5016 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5017 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5019 (posix_mem_offset): Likewise.
5020 (posix_typed_mem_get_info): Likewise.
5021 (posix_typed_mem_open): Likewise.
5023 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5024 Change condition to [XOPEN2K8].
5026 * conform/conformtest.pl: Preprocess allow-header data with -x c
5027 instead of from stdin.
5028 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5029 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5030 [C99-based standards] (cerfc): Likewise.
5031 [C99-based standards] (cexp2): Likewise.
5032 [C99-based standards] (cexpm1): Likewise.
5033 [C99-based standards] (clog10): Likewise.
5034 [C99-based standards] (clog1p): Likewise.
5035 [C99-based standards] (clog2): Likewise.
5036 [C99-based standards] (clgamma): Likewise.
5037 [C99-based standards] (ctgamma): Likewise.
5038 [C99-based standards] (cerff): Likewise.
5039 [C99-based standards] (cerfcf): Likewise.
5040 [C99-based standards] (cexp2f): Likewise.
5041 [C99-based standards] (cexpm1f): Likewise.
5042 [C99-based standards] (clog10f): Likewise.
5043 [C99-based standards] (clog1pf): Likewise.
5044 [C99-based standards] (clog2f): Likewise.
5045 [C99-based standards] (clgammaf): Likewise.
5046 [C99-based standards] (ctgammaf): Likewise.
5047 [C99-based standards] (cerfl): Likewise.
5048 [C99-based standards] (cerfcl): Likewise.
5049 [C99-based standards] (cexp2l): Likewise.
5050 [C99-based standards] (cexpm1l): Likewise.
5051 [C99-based standards] (clog10l): Likewise.
5052 [C99-based standards] (clog1pl): Likewise.
5053 [C99-based standards] (clog2l): Likewise.
5054 [C99-based standards] (clgammal): Likewise.
5055 [C99-based standards] (ctgammal): Likewise.
5056 * conform/data/inttypes.h-data [C99-based standards]: Include
5057 stdint.h-data. Remove all expectations for stdint.h contents.
5058 [C99-based standards] (PRI*): Do not allow.
5059 [C99-based standards] (SCN*): Likewise.
5060 [C99-based standards] (*_t): Likewise.
5061 [C99-based-standards] (PRId8): Expect macro.
5062 [C99-based-standards] (PRIi8): Likewise.
5063 [C99-based-standards] (PRIo8): Likewise.
5064 [C99-based-standards] (PRIu8): Likewise.
5065 [C99-based-standards] (PRIx8): Likewise.
5066 [C99-based-standards] (PRIX8): Likewise.
5067 [C99-based-standards] (SCNd8): Likewise.
5068 [C99-based-standards] (SCNi8): Likewise.
5069 [C99-based-standards] (SCNo8): Likewise.
5070 [C99-based-standards] (SCNu8): Likewise.
5071 [C99-based-standards] (SCNx8): Likewise.
5072 [C99-based-standards] (PRIdLEAST8): Likewise.
5073 [C99-based-standards] (PRIiLEAST8): Likewise.
5074 [C99-based-standards] (PRIoLEAST8): Likewise.
5075 [C99-based-standards] (PRIuLEAST8): Likewise.
5076 [C99-based-standards] (PRIxLEAST8): Likewise.
5077 [C99-based-standards] (PRIXLEAST8): Likewise.
5078 [C99-based-standards] (SCNdLEAST8): Likewise.
5079 [C99-based-standards] (SCNiLEAST8): Likewise.
5080 [C99-based-standards] (SCNoLEAST8): Likewise.
5081 [C99-based-standards] (SCNuLEAST8): Likewise.
5082 [C99-based-standards] (SCNxLEAST8): Likewise.
5083 [C99-based-standards] (PRIdFAST8): Likewise.
5084 [C99-based-standards] (PRIiFAST8): Likewise.
5085 [C99-based-standards] (PRIoFAST8): Likewise.
5086 [C99-based-standards] (PRIuFAST8): Likewise.
5087 [C99-based-standards] (PRIxFAST8): Likewise.
5088 [C99-based-standards] (PRIXFAST8): Likewise.
5089 [C99-based-standards] (SCNdFAST8): Likewise.
5090 [C99-based-standards] (SCNiFAST8): Likewise.
5091 [C99-based-standards] (SCNoFAST8): Likewise.
5092 [C99-based-standards] (SCNuFAST8): Likewise.
5093 [C99-based-standards] (SCNxFAST8): Likewise.
5094 [C99-based-standards] (PRId16): Likewise.
5095 [C99-based-standards] (PRIi16): Likewise.
5096 [C99-based-standards] (PRIo16): Likewise.
5097 [C99-based-standards] (PRIu16): Likewise.
5098 [C99-based-standards] (PRIx16): Likewise.
5099 [C99-based-standards] (PRIX16): Likewise.
5100 [C99-based-standards] (SCNd16): Likewise.
5101 [C99-based-standards] (SCNi16): Likewise.
5102 [C99-based-standards] (SCNo16): Likewise.
5103 [C99-based-standards] (SCNu16): Likewise.
5104 [C99-based-standards] (SCNx16): Likewise.
5105 [C99-based-standards] (PRIdLEAST16): Likewise.
5106 [C99-based-standards] (PRIiLEAST16): Likewise.
5107 [C99-based-standards] (PRIoLEAST16): Likewise.
5108 [C99-based-standards] (PRIuLEAST16): Likewise.
5109 [C99-based-standards] (PRIxLEAST16): Likewise.
5110 [C99-based-standards] (PRIXLEAST16): Likewise.
5111 [C99-based-standards] (SCNdLEAST16): Likewise.
5112 [C99-based-standards] (SCNiLEAST16): Likewise.
5113 [C99-based-standards] (SCNoLEAST16): Likewise.
5114 [C99-based-standards] (SCNuLEAST16): Likewise.
5115 [C99-based-standards] (SCNxLEAST16): Likewise.
5116 [C99-based-standards] (PRIdFAST16): Likewise.
5117 [C99-based-standards] (PRIiFAST16): Likewise.
5118 [C99-based-standards] (PRIoFAST16): Likewise.
5119 [C99-based-standards] (PRIuFAST16): Likewise.
5120 [C99-based-standards] (PRIxFAST16): Likewise.
5121 [C99-based-standards] (PRIXFAST16): Likewise.
5122 [C99-based-standards] (SCNdFAST16): Likewise.
5123 [C99-based-standards] (SCNiFAST16): Likewise.
5124 [C99-based-standards] (SCNoFAST16): Likewise.
5125 [C99-based-standards] (SCNuFAST16): Likewise.
5126 [C99-based-standards] (SCNxFAST16): Likewise.
5127 [C99-based-standards] (PRId32): Likewise.
5128 [C99-based-standards] (PRIi32): Likewise.
5129 [C99-based-standards] (PRIo32): Likewise.
5130 [C99-based-standards] (PRIu32): Likewise.
5131 [C99-based-standards] (PRIx32): Likewise.
5132 [C99-based-standards] (PRIX32): Likewise.
5133 [C99-based-standards] (SCNd32): Likewise.
5134 [C99-based-standards] (SCNi32): Likewise.
5135 [C99-based-standards] (SCNo32): Likewise.
5136 [C99-based-standards] (SCNu32): Likewise.
5137 [C99-based-standards] (SCNx32): Likewise.
5138 [C99-based-standards] (PRIdLEAST32): Likewise.
5139 [C99-based-standards] (PRIiLEAST32): Likewise.
5140 [C99-based-standards] (PRIoLEAST32): Likewise.
5141 [C99-based-standards] (PRIuLEAST32): Likewise.
5142 [C99-based-standards] (PRIxLEAST32): Likewise.
5143 [C99-based-standards] (PRIXLEAST32): Likewise.
5144 [C99-based-standards] (SCNdLEAST32): Likewise.
5145 [C99-based-standards] (SCNiLEAST32): Likewise.
5146 [C99-based-standards] (SCNoLEAST32): Likewise.
5147 [C99-based-standards] (SCNuLEAST32): Likewise.
5148 [C99-based-standards] (SCNxLEAST32): Likewise.
5149 [C99-based-standards] (PRIdFAST32): Likewise.
5150 [C99-based-standards] (PRIiFAST32): Likewise.
5151 [C99-based-standards] (PRIoFAST32): Likewise.
5152 [C99-based-standards] (PRIuFAST32): Likewise.
5153 [C99-based-standards] (PRIxFAST32): Likewise.
5154 [C99-based-standards] (PRIXFAST32): Likewise.
5155 [C99-based-standards] (SCNdFAST32): Likewise.
5156 [C99-based-standards] (SCNiFAST32): Likewise.
5157 [C99-based-standards] (SCNoFAST32): Likewise.
5158 [C99-based-standards] (SCNuFAST32): Likewise.
5159 [C99-based-standards] (SCNxFAST32): Likewise.
5160 [C99-based-standards] (PRId64): Likewise.
5161 [C99-based-standards] (PRIi64): Likewise.
5162 [C99-based-standards] (PRIo64): Likewise.
5163 [C99-based-standards] (PRIu64): Likewise.
5164 [C99-based-standards] (PRIx64): Likewise.
5165 [C99-based-standards] (PRIX64): Likewise.
5166 [C99-based-standards] (SCNd64): Likewise.
5167 [C99-based-standards] (SCNi64): Likewise.
5168 [C99-based-standards] (SCNo64): Likewise.
5169 [C99-based-standards] (SCNu64): Likewise.
5170 [C99-based-standards] (SCNx64): Likewise.
5171 [C99-based-standards] (PRIdLEAST64): Likewise.
5172 [C99-based-standards] (PRIiLEAST64): Likewise.
5173 [C99-based-standards] (PRIoLEAST64): Likewise.
5174 [C99-based-standards] (PRIuLEAST64): Likewise.
5175 [C99-based-standards] (PRIxLEAST64): Likewise.
5176 [C99-based-standards] (PRIXLEAST64): Likewise.
5177 [C99-based-standards] (SCNdLEAST64): Likewise.
5178 [C99-based-standards] (SCNiLEAST64): Likewise.
5179 [C99-based-standards] (SCNoLEAST64): Likewise.
5180 [C99-based-standards] (SCNuLEAST64): Likewise.
5181 [C99-based-standards] (SCNxLEAST64): Likewise.
5182 [C99-based-standards] (PRIdFAST64): Likewise.
5183 [C99-based-standards] (PRIiFAST64): Likewise.
5184 [C99-based-standards] (PRIoFAST64): Likewise.
5185 [C99-based-standards] (PRIuFAST64): Likewise.
5186 [C99-based-standards] (PRIxFAST64): Likewise.
5187 [C99-based-standards] (PRIXFAST64): Likewise.
5188 [C99-based-standards] (SCNdFAST64): Likewise.
5189 [C99-based-standards] (SCNiFAST64): Likewise.
5190 [C99-based-standards] (SCNoFAST64): Likewise.
5191 [C99-based-standards] (SCNuFAST64): Likewise.
5192 [C99-based-standards] (SCNxFAST64): Likewise.
5193 [C99-based-standards] (PRIdMAX): Likewise.
5194 [C99-based-standards] (PRIiMAX): Likewise.
5195 [C99-based-standards] (PRIoMAX): Likewise.
5196 [C99-based-standards] (PRIuMAX): Likewise.
5197 [C99-based-standards] (PRIxMAX): Likewise.
5198 [C99-based-standards] (PRIXMAX): Likewise.
5199 [C99-based-standards] (SCNdMAX): Likewise.
5200 [C99-based-standards] (SCNiMAX): Likewise.
5201 [C99-based-standards] (SCNoMAX): Likewise.
5202 [C99-based-standards] (SCNuMAX): Likewise.
5203 [C99-based-standards] (SCNxMAX): Likewise.
5204 [C99-based-standards] (PRIdPTR): Likewise.
5205 [C99-based-standards] (PRIiPTR): Likewise.
5206 [C99-based-standards] (PRIoPTR): Likewise.
5207 [C99-based-standards] (PRIuPTR): Likewise.
5208 [C99-based-standards] (PRIxPTR): Likewise.
5209 [C99-based-standards] (PRIXPTR): Likewise.
5210 [C99-based-standards] (SCNdPTR): Likewise.
5211 [C99-based-standards] (SCNiPTR): Likewise.
5212 [C99-based-standards] (SCNoPTR): Likewise.
5213 [C99-based-standards] (SCNuPTR): Likewise.
5214 [C99-based-standards] (SCNxPTR): Likewise.
5215 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5217 * conform/data/stdint.h-data: Update comments to clarify
5219 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5221 [C99-based standards] (INT8_MAX): Likewise.
5222 [C99-based standards] (INT16_MIN): Likewise.
5223 [C99-based standards] (INT16_MAX): Likewise.
5224 [C99-based standards] (INT32_MIN): Likewise.
5225 [C99-based standards] (INT32_MAX): Likewise.
5226 [C99-based standards] (INT64_MIN): Likewise.
5227 [C99-based standards] (INT64_MAX): Likewise.
5228 [C99-based standards] (UINT8_MAX): Likewise.
5229 [C99-based standards] (UINT16_MAX): Likewise.
5230 [C99-based standards] (UINT32_MAX): Likewise.
5231 [C99-based standards] (UINT64_MAX): Likewise.
5232 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5233 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5234 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5235 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5236 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5237 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5238 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5239 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5240 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5241 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5242 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5243 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5244 [C99-based standards] (INT_FAST8_MIN): Likewise.
5245 [C99-based standards] (INT_FAST8_MAX): Likewise.
5246 [C99-based standards] (INT_FAST16_MIN): Likewise.
5247 [C99-based standards] (INT_FAST16_MAX): Likewise.
5248 [C99-based standards] (INT_FAST32_MIN): Likewise.
5249 [C99-based standards] (INT_FAST32_MAX): Likewise.
5250 [C99-based standards] (INT_FAST64_MIN): Likewise.
5251 [C99-based standards] (INT_FAST64_MAX): Likewise.
5252 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5253 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5254 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5255 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5256 [C99-based standards] (INTPTR_MIN): Likewise.
5257 [C99-based standards] (INTPTR_MAX): Likewise.
5258 [C99-based standards] (UINTPTR_MAX): Likewise.
5259 [C99-based standards] (INTMAX_MIN): Likewise.
5260 [C99-based standards] (INTMAX_MAX): Likewise.
5261 [C99-based standards] (UINTMAX_MAX): Likewise.
5262 [C99-based standards] (PTRDIFF_MIN): Likewise.
5263 [C99-based standards] (PTRDIFF_MAX): Likewise.
5264 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5265 [C99-based standards] (SIZE_MAX): Likewise.
5266 [C99-based standards] (WCHAR_MAX): Likewise.
5267 [C99-based standards] (WINT_MAX): Likewise.
5268 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5269 constraint on value.
5270 [C99-based standards] (WCHAR_MIN): Likewise.
5271 [C99-based standards] (WINT_MIN): Likewise.
5272 [C99-based standards] (*_t): Allow.
5273 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5274 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5275 Include math.h-data and complex.h-data. Remove all expectations
5276 of math.h and complex.h contents.
5277 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5279 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5280 (struct tm): Expect tag.
5281 [C99-based-standards] (wcstof): Expect function.
5282 [C99-based-standards] (wcstold): Likewise.
5283 [C99-based-standards] (wcstoll): Likewise.
5284 [C99-based-standards] (wcstoull): Likewise.
5285 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5286 macro-int-constant. Specify type.
5287 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5288 constraint on value.
5289 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5291 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5293 [ISO C standards]: Do not allow headers.
5294 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5295 wcs[abcdefghijklmnopqrstuvwxyz]*.
5296 [ISO C standards] (*_t): Do not allow.
5297 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5299 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5300 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5302 [ISO C standards]: Do not allow headers.
5303 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5304 is[abcdefghijklmnopqrstuvwxyz]*.
5305 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5306 to[abcdefghijklmnopqrstuvwxyz]*.
5307 [ISO C standards] (*_t): Do not allow.
5308 * conform/data/stdalign.h-data: New file.
5309 * conform/data/stdbool.h-data: Likewise.
5310 * conform/data/stdnoreturn.h-data: Likewise.
5312 2012-11-07 Roland McGrath <roland@hack.frob.com>
5315 * manual/filesys.texi (Directory Entries): Typo fix.
5316 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5318 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5320 * elf/elf.h (EM_AARCH64): New macro.
5321 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5322 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5323 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5324 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5325 (R_AARCH64_TLSDESC): Likewise.
5326 (NT_ARM_TLS): Likewise.
5327 (NT_ARM_HW_BREAK): Likewise.
5328 (NT_ARM_HW_WATCH): Likewise.
5330 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5333 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5334 (__ieee754_powl): Saturate nonzero exponents with absolute value
5335 below 0x1p-79 to +/- 0x1p-79.
5336 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5337 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5338 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5339 nonzero exponents with absolute value below 0x1p-32 to +/-
5341 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5342 (__ieee754_powl): Saturate nonzero exponents with absolute value
5343 below 0x1p-79 to +/- 0x1p-79.
5344 * math/libm-test.inc (pow_test): Add more tests.
5346 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5348 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5349 _dl_s390_cap_flags with kernel. Increase string length.
5350 (_dl_s390_platforms): Add z196 and zEC12.
5352 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5354 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5355 Change XOPEN21K to XOPEN2K.
5357 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5359 * string/memmove.c: Use memcpy when possible.
5361 2012-11-06 Andreas Jaeger <aj@suse.de>
5363 * po/eo.po: Update from translation team.
5365 2012-11-06 Joseph Myers <joseph@codesourcery.com>
5368 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5369 exponent and small x and y exponents, scale x or y up. Increase
5370 by 2 the exponent used in scaling up.
5371 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5372 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5373 * math/libm-test.inc (fma_test): Add more tests.
5374 (fma_test_towardzero): Likewise.
5375 (fma_test_downward): Likewise.
5376 (fma_test_upward): Likewise.
5378 2012-11-05 Joseph Myers <joseph@codesourcery.com>
5381 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5385 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5386 namespace for names of struct fields.
5387 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5389 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5390 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5392 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5395 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5397 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5399 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5403 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5406 2012-11-04 Joseph Myers <joseph@codesourcery.com>
5409 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5410 definitely overflow as x * y not x * y + z.
5411 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5412 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5413 * math/libm-test.inc (fma_test): Add more tests.
5414 (fma_test_towardzero): Likewise.
5415 (fma_test_downward): Likewise.
5416 (fma_test_upward): Likewise.
5418 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5422 * include/stub-tag.h: Remove file.
5423 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5425 * manual/maint.texi (Porting): Don't reference it.
5426 * Makerules ($(objpfx)stubs): Likewise.
5427 * dirent/closedir.c: Don't include <stub-tag.h>.
5428 * dirent/dirfd.c: Likewise.
5429 * dirent/fdopendir.c: Likewise.
5430 * dirent/getdents.c: Likewise.
5431 * dirent/getdents64.c: Likewise.
5432 * dirent/opendir.c: Likewise.
5433 * dirent/readdir.c: Likewise.
5434 * dirent/readdir64.c: Likewise.
5435 * dirent/readdir64_r.c: Likewise.
5436 * dirent/readdir_r.c: Likewise.
5437 * dirent/rewinddir.c: Likewise.
5438 * dirent/seekdir.c: Likewise.
5439 * dirent/telldir.c: Likewise.
5440 * gmon/profil.c: Likewise.
5441 * grp/setgroups.c: Likewise.
5442 * inet/if_index.c: Likewise.
5443 * io/access.c: Likewise.
5444 * io/chdir.c: Likewise.
5445 * io/chmod.c: Likewise.
5446 * io/chown.c: Likewise.
5447 * io/close.c: Likewise.
5448 * io/dup.c: Likewise.
5449 * io/dup2.c: Likewise.
5450 * io/dup3.c: Likewise.
5451 * io/euidaccess.c: Likewise.
5452 * io/faccessat.c: Likewise.
5453 * io/fchdir.c: Likewise.
5454 * io/fchmod.c: Likewise.
5455 * io/fchmodat.c: Likewise.
5456 * io/fchown.c: Likewise.
5457 * io/fchownat.c: Likewise.
5458 * io/fcntl.c: Likewise.
5459 * io/flock.c: Likewise.
5460 * io/fstatfs.c: Likewise.
5461 * io/fstatfs64.c: Likewise.
5462 * io/fstatvfs.c: Likewise.
5463 * io/fstatvfs64.c: Likewise.
5464 * io/futimens.c: Likewise.
5465 * io/fxstat.c: Likewise.
5466 * io/fxstat64.c: Likewise.
5467 * io/fxstatat.c: Likewise.
5468 * io/fxstatat64.c: Likewise.
5469 * io/getcwd.c: Likewise.
5470 * io/isatty.c: Likewise.
5471 * io/lchmod.c: Likewise.
5472 * io/lchown.c: Likewise.
5473 * io/link.c: Likewise.
5474 * io/linkat.c: Likewise.
5475 * io/lseek.c: Likewise.
5476 * io/lseek64.c: Likewise.
5477 * io/lxstat64.c: Likewise.
5478 * io/mkdir.c: Likewise.
5479 * io/mkdirat.c: Likewise.
5480 * io/mkfifo.c: Likewise.
5481 * io/mkfifoat.c: Likewise.
5482 * io/open.c: Likewise.
5483 * io/open64.c: Likewise.
5484 * io/openat.c: Likewise.
5485 * io/openat64.c: Likewise.
5486 * io/pipe.c: Likewise.
5487 * io/pipe2.c: Likewise.
5488 * io/poll.c: Likewise.
5489 * io/posix_fadvise.c: Likewise.
5490 * io/posix_fadvise64.c: Likewise.
5491 * io/posix_fallocate.c: Likewise.
5492 * io/posix_fallocate64.c: Likewise.
5493 * io/read.c: Likewise.
5494 * io/readlink.c: Likewise.
5495 * io/readlinkat.c: Likewise.
5496 * io/rmdir.c: Likewise.
5497 * io/sendfile.c: Likewise.
5498 * io/sendfile64.c: Likewise.
5499 * io/statfs.c: Likewise.
5500 * io/statfs64.c: Likewise.
5501 * io/statvfs.c: Likewise.
5502 * io/statvfs64.c: Likewise.
5503 * io/symlink.c: Likewise.
5504 * io/symlinkat.c: Likewise.
5505 * io/ttyname.c: Likewise.
5506 * io/ttyname_r.c: Likewise.
5507 * io/umask.c: Likewise.
5508 * io/unlink.c: Likewise.
5509 * io/unlinkat.c: Likewise.
5510 * io/utime.c: Likewise.
5511 * io/utimensat.c: Likewise.
5512 * io/write.c: Likewise.
5513 * io/xmknod.c: Likewise.
5514 * io/xmknodat.c: Likewise.
5515 * io/xstat.c: Likewise.
5516 * io/xstat64.c: Likewise.
5517 * login/getpt.c: Likewise.
5518 * login/grantpt.c: Likewise.
5519 * login/unlockpt.c: Likewise.
5520 * math/e_acoshl.c: Likewise.
5521 * math/e_acosl.c: Likewise.
5522 * math/e_asinl.c: Likewise.
5523 * math/e_atan2l.c: Likewise.
5524 * math/e_atanhl.c: Likewise.
5525 * math/e_coshl.c: Likewise.
5526 * math/e_expl.c: Likewise.
5527 * math/e_fmodl.c: Likewise.
5528 * math/e_gammal_r.c: Likewise.
5529 * math/e_hypotl.c: Likewise.
5530 * math/e_j0l.c: Likewise.
5531 * math/e_j1l.c: Likewise.
5532 * math/e_jnl.c: Likewise.
5533 * math/e_lgammal_r.c: Likewise.
5534 * math/e_log10l.c: Likewise.
5535 * math/e_log2l.c: Likewise.
5536 * math/e_logl.c: Likewise.
5537 * math/e_powl.c: Likewise.
5538 * math/e_rem_pio2l.c: Likewise.
5539 * math/e_sinhl.c: Likewise.
5540 * math/e_sqrtl.c: Likewise.
5541 * math/fclrexcpt.c: Likewise.
5542 * math/fedisblxcpt.c: Likewise.
5543 * math/feenablxcpt.c: Likewise.
5544 * math/fegetenv.c: Likewise.
5545 * math/fegetexcept.c: Likewise.
5546 * math/fegetround.c: Likewise.
5547 * math/feholdexcpt.c: Likewise.
5548 * math/fesetenv.c: Likewise.
5549 * math/fesetround.c: Likewise.
5550 * math/feupdateenv.c: Likewise.
5551 * math/fgetexcptflg.c: Likewise.
5552 * math/fraiseexcpt.c: Likewise.
5553 * math/fsetexcptflg.c: Likewise.
5554 * math/ftestexcept.c: Likewise.
5555 * math/k_cosl.c: Likewise.
5556 * math/k_rem_pio2l.c: Likewise.
5557 * math/k_sinl.c: Likewise.
5558 * math/k_tanl.c: Likewise.
5559 * math/s_asinhl.c: Likewise.
5560 * math/s_atanl.c: Likewise.
5561 * math/s_cbrtl.c: Likewise.
5562 * math/s_erfl.c: Likewise.
5563 * math/s_expm1l.c: Likewise.
5564 * math/s_log1pl.c: Likewise.
5565 * math/s_tanhl.c: Likewise.
5566 * misc/acct.c: Likewise.
5567 * misc/brk.c: Likewise.
5568 * misc/chflags.c: Likewise.
5569 * misc/chroot.c: Likewise.
5570 * misc/fchflags.c: Likewise.
5571 * misc/fgetxattr.c: Likewise.
5572 * misc/flistxattr.c: Likewise.
5573 * misc/fremovexattr.c: Likewise.
5574 * misc/fsetxattr.c: Likewise.
5575 * misc/fsync.c: Likewise.
5576 * misc/ftruncate.c: Likewise.
5577 * misc/futimes.c: Likewise.
5578 * misc/futimesat.c: Likewise.
5579 * misc/getdomain.c: Likewise.
5580 * misc/getdtsz.c: Likewise.
5581 * misc/gethostid.c: Likewise.
5582 * misc/gethostname.c: Likewise.
5583 * misc/getloadavg.c: Likewise.
5584 * misc/getpagesize.c: Likewise.
5585 * misc/getsysstats.c: Likewise.
5586 * misc/getxattr.c: Likewise.
5587 * misc/gtty.c: Likewise.
5588 * misc/ioctl.c: Likewise.
5589 * misc/lgetxattr.c: Likewise.
5590 * misc/listxattr.c: Likewise.
5591 * misc/llistxattr.c: Likewise.
5592 * misc/lremovexattr.c: Likewise.
5593 * misc/lsetxattr.c: Likewise.
5594 * misc/lutimes.c: Likewise.
5595 * misc/madvise.c: Likewise.
5596 * misc/mincore.c: Likewise.
5597 * misc/mlock.c: Likewise.
5598 * misc/mlockall.c: Likewise.
5599 * misc/mmap.c: Likewise.
5600 * misc/mprotect.c: Likewise.
5601 * misc/msync.c: Likewise.
5602 * misc/munlock.c: Likewise.
5603 * misc/munlockall.c: Likewise.
5604 * misc/munmap.c: Likewise.
5605 * misc/preadv.c: Likewise.
5606 * misc/preadv64.c: Likewise.
5607 * misc/ptrace.c: Likewise.
5608 * misc/pwritev.c: Likewise.
5609 * misc/pwritev64.c: Likewise.
5610 * misc/readv.c: Likewise.
5611 * misc/reboot.c: Likewise.
5612 * misc/remap_file_pages.c: Likewise.
5613 * misc/removexattr.c: Likewise.
5614 * misc/revoke.c: Likewise.
5615 * misc/select.c: Likewise.
5616 * misc/setdomain.c: Likewise.
5617 * misc/setegid.c: Likewise.
5618 * misc/seteuid.c: Likewise.
5619 * misc/sethostid.c: Likewise.
5620 * misc/sethostname.c: Likewise.
5621 * misc/setregid.c: Likewise.
5622 * misc/setreuid.c: Likewise.
5623 * misc/setxattr.c: Likewise.
5624 * misc/sstk.c: Likewise.
5625 * misc/stty.c: Likewise.
5626 * misc/swapoff.c: Likewise.
5627 * misc/swapon.c: Likewise.
5628 * misc/sync.c: Likewise.
5629 * misc/syncfs.c: Likewise.
5630 * misc/syscall.c: Likewise.
5631 * misc/truncate.c: Likewise.
5632 * misc/ualarm.c: Likewise.
5633 * misc/usleep.c: Likewise.
5634 * misc/ustat.c: Likewise.
5635 * misc/utimes.c: Likewise.
5636 * misc/vhangup.c: Likewise.
5637 * misc/writev.c: Likewise.
5638 * posix/_exit.c: Likewise.
5639 * posix/alarm.c: Likewise.
5640 * posix/execve.c: Likewise.
5641 * posix/fexecve.c: Likewise.
5642 * posix/fork.c: Likewise.
5643 * posix/fpathconf.c: Likewise.
5644 * posix/getaddrinfo.c: Likewise.
5645 * posix/getegid.c: Likewise.
5646 * posix/geteuid.c: Likewise.
5647 * posix/getgid.c: Likewise.
5648 * posix/getgroups.c: Likewise.
5649 * posix/getlogin.c: Likewise.
5650 * posix/getlogin_r.c: Likewise.
5651 * posix/getpgid.c: Likewise.
5652 * posix/getpid.c: Likewise.
5653 * posix/getppid.c: Likewise.
5654 * posix/getresgid.c: Likewise.
5655 * posix/getresuid.c: Likewise.
5656 * posix/getsid.c: Likewise.
5657 * posix/getuid.c: Likewise.
5658 * posix/glob64.c: Likewise.
5659 * posix/nanosleep.c: Likewise.
5660 * posix/pathconf.c: Likewise.
5661 * posix/pause.c: Likewise.
5662 * posix/posix_madvise.c: Likewise.
5663 * posix/pread.c: Likewise.
5664 * posix/pread64.c: Likewise.
5665 * posix/pwrite.c: Likewise.
5666 * posix/pwrite64.c: Likewise.
5667 * posix/sched_getaffinity.c: Likewise.
5668 * posix/sched_getp.c: Likewise.
5669 * posix/sched_gets.c: Likewise.
5670 * posix/sched_primax.c: Likewise.
5671 * posix/sched_primin.c: Likewise.
5672 * posix/sched_rr_gi.c: Likewise.
5673 * posix/sched_setaffinity.c: Likewise.
5674 * posix/sched_setp.c: Likewise.
5675 * posix/sched_sets.c: Likewise.
5676 * posix/sched_yield.c: Likewise.
5677 * posix/setgid.c: Likewise.
5678 * posix/setlogin.c: Likewise.
5679 * posix/setpgid.c: Likewise.
5680 * posix/setresgid.c: Likewise.
5681 * posix/setresuid.c: Likewise.
5682 * posix/setsid.c: Likewise.
5683 * posix/setuid.c: Likewise.
5684 * posix/sleep.c: Likewise.
5685 * posix/spawni.c: Likewise.
5686 * posix/sysconf.c: Likewise.
5687 * posix/times.c: Likewise.
5688 * posix/wait.c: Likewise.
5689 * posix/wait3.c: Likewise.
5690 * posix/wait4.c: Likewise.
5691 * posix/waitpid.c: Likewise.
5692 * resolv/gai_sigqueue.c: Likewise.
5693 * resource/getpriority.c: Likewise.
5694 * resource/getrlimit.c: Likewise.
5695 * resource/getrusage.c: Likewise.
5696 * resource/nice.c: Likewise.
5697 * resource/setpriority.c: Likewise.
5698 * resource/setrlimit.c: Likewise.
5699 * resource/ulimit.c: Likewise.
5700 * rt/aio_cancel.c: Likewise.
5701 * rt/aio_fsync.c: Likewise.
5702 * rt/aio_read.c: Likewise.
5703 * rt/aio_sigqueue.c: Likewise.
5704 * rt/aio_suspend.c: Likewise.
5705 * rt/aio_write.c: Likewise.
5706 * rt/clock_getres.c: Likewise.
5707 * rt/clock_gettime.c: Likewise.
5708 * rt/clock_nanosleep.c: Likewise.
5709 * rt/clock_settime.c: Likewise.
5710 * rt/lio_listio.c: Likewise.
5711 * rt/mq_close.c: Likewise.
5712 * rt/mq_getattr.c: Likewise.
5713 * rt/mq_notify.c: Likewise.
5714 * rt/mq_open.c: Likewise.
5715 * rt/mq_receive.c: Likewise.
5716 * rt/mq_send.c: Likewise.
5717 * rt/mq_setattr.c: Likewise.
5718 * rt/mq_timedreceive.c: Likewise.
5719 * rt/mq_timedsend.c: Likewise.
5720 * rt/mq_unlink.c: Likewise.
5721 * rt/shm_open.c: Likewise.
5722 * rt/shm_unlink.c: Likewise.
5723 * rt/timer_create.c: Likewise.
5724 * rt/timer_delete.c: Likewise.
5725 * rt/timer_getoverr.c: Likewise.
5726 * rt/timer_gettime.c: Likewise.
5727 * rt/timer_settime.c: Likewise.
5728 * setjmp/__longjmp.c: Likewise.
5729 * setjmp/setjmp.c: Likewise.
5730 * signal/kill.c: Likewise.
5731 * signal/killpg.c: Likewise.
5732 * signal/raise.c: Likewise.
5733 * signal/sigaction.c: Likewise.
5734 * signal/sigaltstack.c: Likewise.
5735 * signal/sigblock.c: Likewise.
5736 * signal/sigignore.c: Likewise.
5737 * signal/sigintr.c: Likewise.
5738 * signal/signal.c: Likewise.
5739 * signal/sigpause.c: Likewise.
5740 * signal/sigpending.c: Likewise.
5741 * signal/sigqueue.c: Likewise.
5742 * signal/sigreturn.c: Likewise.
5743 * signal/sigset.c: Likewise.
5744 * signal/sigsetmask.c: Likewise.
5745 * signal/sigstack.c: Likewise.
5746 * signal/sigsuspend.c: Likewise.
5747 * signal/sigtimedwait.c: Likewise.
5748 * signal/sigvec.c: Likewise.
5749 * signal/sigwait.c: Likewise.
5750 * signal/sigwaitinfo.c: Likewise.
5751 * signal/sysv_signal.c: Likewise.
5752 * socket/accept.c: Likewise.
5753 * socket/accept4.c: Likewise.
5754 * socket/bind.c: Likewise.
5755 * socket/connect.c: Likewise.
5756 * socket/getpeername.c: Likewise.
5757 * socket/getsockname.c: Likewise.
5758 * socket/getsockopt.c: Likewise.
5759 * socket/isfdtype.c: Likewise.
5760 * socket/listen.c: Likewise.
5761 * socket/recv.c: Likewise.
5762 * socket/recvfrom.c: Likewise.
5763 * socket/recvmsg.c: Likewise.
5764 * socket/send.c: Likewise.
5765 * socket/sendmsg.c: Likewise.
5766 * socket/sendto.c: Likewise.
5767 * socket/setsockopt.c: Likewise.
5768 * socket/shutdown.c: Likewise.
5769 * socket/sockatmark.c: Likewise.
5770 * socket/socket.c: Likewise.
5771 * socket/socketpair.c: Likewise.
5772 * stdio-common/ctermid.c: Likewise.
5773 * stdio-common/cuserid.c: Likewise.
5774 * stdio-common/remove.c: Likewise.
5775 * stdio-common/rename.c: Likewise.
5776 * stdio-common/renameat.c: Likewise.
5777 * stdio-common/tempname.c: Likewise.
5778 * stdlib/getcontext.c: Likewise.
5779 * stdlib/makecontext.c: Likewise.
5780 * stdlib/setcontext.c: Likewise.
5781 * stdlib/swapcontext.c: Likewise.
5782 * stdlib/system.c: Likewise.
5783 * streams/fattach.c: Likewise.
5784 * streams/fdetach.c: Likewise.
5785 * streams/getmsg.c: Likewise.
5786 * streams/getpmsg.c: Likewise.
5787 * streams/putmsg.c: Likewise.
5788 * streams/putpmsg.c: Likewise.
5789 * sysdeps/unix/bsd/getpt.c: Likewise.
5790 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5791 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5792 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5795 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5796 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5797 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5798 * sysvipc/msgctl.c: Likewise.
5799 * sysvipc/msgget.c: Likewise.
5800 * sysvipc/msgrcv.c: Likewise.
5801 * sysvipc/msgsnd.c: Likewise.
5802 * sysvipc/semctl.c: Likewise.
5803 * sysvipc/semget.c: Likewise.
5804 * sysvipc/semop.c: Likewise.
5805 * sysvipc/semtimedop.c: Likewise.
5806 * sysvipc/shmat.c: Likewise.
5807 * sysvipc/shmctl.c: Likewise.
5808 * sysvipc/shmdt.c: Likewise.
5809 * sysvipc/shmget.c: Likewise.
5810 * termios/tcdrain.c: Likewise.
5811 * termios/tcflow.c: Likewise.
5812 * termios/tcflush.c: Likewise.
5813 * termios/tcgetattr.c: Likewise.
5814 * termios/tcgetpgrp.c: Likewise.
5815 * termios/tcsendbrk.c: Likewise.
5816 * termios/tcsetattr.c: Likewise.
5817 * termios/tcsetpgrp.c: Likewise.
5818 * time/adjtime.c: Likewise.
5819 * time/clock.c: Likewise.
5820 * time/getitimer.c: Likewise.
5821 * time/gettimeofday.c: Likewise.
5822 * time/setitimer.c: Likewise.
5823 * time/settimeofday.c: Likewise.
5824 * time/stime.c: Likewise.
5825 * time/time.c: Likewise.
5827 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5829 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5832 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5834 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5836 2012-11-03 Joseph Myers <joseph@codesourcery.com>
5839 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5840 FE_TONEAREST before applying Dekker multiplication and Knuth
5841 addition. Clear inexact exceptions and check for exact zero
5843 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5844 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5845 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5846 * math/libm-test.inc (fma_test): Add more tests.
5847 (fma_test_towardzero): Likewise.
5848 (fma_test_downward): Likewise.
5849 (fma_test_upward): Likewise.
5850 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5852 (libc_fesetround): New macro.
5853 (libc_fesetroundf): Likewise.
5854 (libc_fesetroundl): Likewise.
5855 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5857 (libc_fesetround_387): Likewise.
5858 (libc_fesetroundf): New macro.
5859 (libc_fesetround): Likewise.
5860 (libc_fesetroundl): Likewise.
5861 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5863 (libc_fesetroundf): New macro.
5864 (libc_fesetround): Likewise.
5865 (libc_fesetroundl): Likewise.
5866 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5867 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5868 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5870 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5871 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5873 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5874 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5876 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5880 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5881 integer constant usable in #if and use that to give value to enum
5883 (FE_DIVBYZERO): Likewise.
5884 (FE_UNDERFLOW): Likewise.
5885 (FE_OVERFLOW): Likewise.
5886 (FE_INVALID): Likewise.
5887 (FE_INVALID_SNAN): Likewise.
5888 (FE_INVALID_ISI): Likewise.
5889 (FE_INVALID_IDI): Likewise.
5890 (FE_INVALID_ZDZ): Likewise.
5891 (FE_INVALID_IMZ): Likewise.
5892 (FE_INVALID_COMPARE): Likewise.
5893 (FE_INVALID_SOFTWARE): Likewise.
5894 (FE_INVALID_SQRT): Likewise.
5895 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5896 (FE_TONEAREST): Likewise.
5897 (FE_TOWARDZERO): Likewise.
5898 (FE_UPWARD): Likewise.
5899 (FE_DOWNWARD): Likewise.
5900 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5901 (FE_DIVBYZERO): Likewise.
5902 (FE_OVERFLOW): Likewise.
5903 (FE_UNDERFLOW): Likewise.
5904 (FE_INEXACT): Likewise.
5905 (FE_TONEAREST): Likewise.
5906 (FE_DOWNWARD): Likewise.
5907 (FE_UPWARD): Likewise.
5908 (FE_TOWARDZERO): Likewise.
5909 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5910 (FE_UNDERFLOW): Likewise.
5911 (FE_OVERFLOW): Likewise.
5912 (FE_DIVBYZERO): Likewise.
5913 (FE_INVALID): Likewise.
5914 (FE_TONEAREST): Likewise.
5915 (FE_TOWARDZERO): Likewise.
5916 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5917 (FE_OVERFLOW): Likewise.
5918 (FE_UNDERFLOW): Likewise.
5919 (FE_DIVBYZERO): Likewise.
5920 (FE_INEXACT): Likewise.
5921 (FE_TONEAREST): Likewise.
5922 (FE_TOWARDZERO): Likewise.
5923 (FE_UPWARD): Likewise.
5924 (FE_DOWNWARD): Likewise.
5925 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5926 (FE_DIVBYZERO): Likewise.
5927 (FE_OVERFLOW): Likewise.
5928 (FE_UNDERFLOW): Likewise.
5929 (FE_INEXACT): Likewise.
5930 (FE_TONEAREST): Likewise.
5931 (FE_DOWNWARD): Likewise.
5932 (FE_UPWARD): Likewise.
5933 (FE_TOWARDZERO): Likewise.
5935 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5937 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5939 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5941 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5942 commands. Quote $PWD.
5943 (blacklist_exports): Don't use remove_newlines. Replace "declare
5945 (remove_newlines): Remove.
5947 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5949 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5950 * stdlib/stdlib.h (atof): Moved to ...
5951 * include/bits/stdlib-float.h: Here. New file.
5952 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5953 * stdlib/bits/stdlib-float.h: New file.
5954 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5956 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5959 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5961 * conform/conformtest.pl (@headers): Add fenv.h.
5962 * conform/data/fenv.h-data: New file.
5963 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5964 include of <math/fenv.h>.
5966 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5967 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5968 && !UNIX98]. Enables tests for XOPEN2K8.
5969 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5970 POSIX2008]: Likewise.
5972 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5973 (struct rusage): Do not expect type or its members.
5976 * math/math.h (FP_NAN): Define macro to integer constant usable in
5977 #if and use that to give value to enum constant.
5978 (FP_INFINITE): Likewise.
5979 (FP_ZERO): Likewise.
5980 (FP_SUBNORMAL): Likewise.
5981 (FP_NORMAL): Likewise.
5983 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5985 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5986 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5989 2012-11-02 Roland McGrath <roland@hack.frob.com>
5991 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5992 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5993 autoconf-time if not.
5994 * configure.in: Remove AC_PREREQ.
5996 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5998 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5999 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6000 of the internal implementation.
6002 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6004 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6005 except include of <misc/sys/syslog.h>.
6007 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6010 function returns with a NULL context exit with zero.
6012 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6014 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6016 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6018 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6019 (run_program_cmd): This.
6020 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6021 (tst_langinfo): New variable. Use it.
6023 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6025 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6026 floating point opcodes.
6028 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6030 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6033 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6035 * sysdeps/mach/hurd/powerpc: Remove directory.
6036 * sysdeps/mach/powerpc: Likewise.
6038 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6040 * scripts/check-local-headers.sh: Ignore c++ headers.
6042 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6044 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6045 __libc_cleanup_region_start argument.
6047 2012-11-01 Joseph Myers <joseph@codesourcery.com>
6051 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6052 x * y using scaling, not as x * y + z.
6053 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6054 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6055 * math/libm-test.inc (fma_test): Add more tests.
6056 (fma_test_towardzero): Likewise.
6057 (fma_test_downward): Likewise.
6058 (fma_test_upward): Likewise.
6060 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6062 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6064 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6066 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6069 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6071 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6073 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6080 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6083 Fix the order of the list for glibc 2.17.
6084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6087 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6091 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6094 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6095 for low part of x being zero before using __atanl (y).
6096 * math/libm-test.inc (atan2_test): Add another test.
6098 * manual/install.texi (Configuring and compiling): Document
6099 general use of test-wrapper and test-wrapper-env.
6100 * INSTALL: Regenerated.
6102 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6103 (__fma): Do not extract and scale down low bits on after-rounding
6104 systems when result rounded to normal precision would have normal
6106 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6107 (__fmal): Do not extract and scale down low bits on after-rounding
6108 systems when result rounded to normal precision would have normal
6110 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6111 (__fmal): Do not extract and scale down low bits on after-rounding
6112 systems when result rounded to normal precision would have normal
6114 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6116 (fma_test): Add more tests.
6117 (fma_test_towardzero): Likewise.
6118 (fma_test_downward): Likewise.
6119 (fma_test_upward): Likewise.
6121 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6123 * sysdeps/i386/tininess.h: Renamed to ...
6124 * sysdeps/x86/tininess.h: This.
6125 * sysdeps/x86_64/tininess.h: Removed.
6127 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6129 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6130 input. Use $(build-program-cmd).
6131 ($(objpfx)tst-array1-static.out): Likewise.
6132 ($(objpfx)tst-array2.out): Likewise.
6133 ($(objpfx)tst-array3.out): Likewise.
6134 ($(objpfx)tst-array4.out): Likewise.
6135 ($(objpfx)tst-array5.out): Likewise.
6136 ($(objpfx)tst-array5-static.out): Likewise.
6138 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6140 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6143 * nss/nsswitch.h (nss_interface_function): Provide new
6144 macro for use with NSS functions.
6145 * grp/initgroups.c: Use new macro.
6146 * nss/getXXbyYY.c: Likewise.
6147 * nss/getXXbyYY_r.c: Likewise.
6148 * nss/getXXent.c: Likewise.
6149 * nss/getXXent_r.c: Likewise.
6150 * sysdeps/posix/getaddrinfo.c: Likewise.
6152 2012-10-30 Andreas Jaeger <aj@suse.de>
6154 * po/ru.po: Update Russion translation from translation project.
6156 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6160 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6161 result and shift together with sticky bit instead of replicating
6162 round-to-nearest rounding.
6163 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6164 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6165 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6166 missing underflow exceptions.
6167 (fma_test_towardzero): Add more tests.
6168 (fma_test_downward): Likewise.
6169 (fma_test_upward): Likewise.
6172 * sysdeps/generic/tininess.h: New file.
6173 * sysdeps/i386/tininess.h: Likewise.
6174 * sysdeps/sh/tininess.h: Likewise.
6175 * sysdeps/x86_64/tininess.h: Likewise.
6176 * stdlib/tst-strtod-underflow.c: Likewise.
6177 * stdlib/tst-tininess.c: Likewise.
6178 * stdlib/strtod_l.c: Include <tininess.h>.
6179 (round_and_return): Do not set errno for exact underflow cases.
6180 Force an underflow exception when setting errno for underflow.
6181 Determine underflow based on rounding to normal precision if
6182 TININESS_AFTER_ROUNDING.
6183 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6184 ERANGE for exact underflow cases.
6185 * stdlib/Makefile (tests): Add tst-tininess and
6186 tst-strtod-underflow.
6187 ($(objpfx)tst-tininess): Use $(link-libm).
6188 ($(objpfx)tst-strtod-underflow): Likewise.
6190 2012-10-30 Andreas Jaeger <aj@suse.de>
6193 * elf/Makefile (tests): Remove conditional for have-initfini-array
6194 since this is now always required and the variable does not exist
6196 (tests-static): Likewise.
6197 (modules-names): Likewise.
6199 * po/eo.po: Add Esperanto translation from translation project.
6201 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6202 merged with constructor/destructor.
6203 (init_array): Likewise.
6204 * elf/tst-array2dep.c (fini_array): Likewise.
6205 (init_array): Likewise.
6207 2012-10-29 Mike Frysinger <vapier@gentoo.org>
6209 * manual/message.texi: Delete @cartouche tags.
6211 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6213 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6215 * sysdeps/mach/hurd/fsync.c: Likewise.
6217 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6218 [_POSIX_REALTIME_SIGNALS]: Change condition to
6219 [_POSIX_REALTIME_SIGNALS > 0].
6221 2012-10-27 Andreas Jaeger <aj@suse.de>
6223 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6224 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6225 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6226 [__WORDSIZE != 64]: Likewise.
6228 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6230 * iconvdata/tst-table.sh: Remove ${SHELL}.
6231 * iconvdata/tst-tables.sh: Likewise.
6233 2012-10-25 David S. Miller <davem@davemloft.net>
6235 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6236 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6239 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6241 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6242 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6243 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6246 2012-10-25 Roland McGrath <roland@hack.frob.com>
6248 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6249 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6252 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6253 Jim Blandy <jimb@codesourcery.com>
6255 * scripts/cross-test-ssh.sh: New file.
6256 * manual/install.texi (Configuring and compiling): Document use of
6258 * INSTALL: Regenerated.
6260 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6262 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6265 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6267 * Makeconfig (run-program-prefix): Fix comment.
6269 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6270 Jim Blandy <jimb@codesourcery.com>
6272 * Makeconfig (test-wrapper): New variable,
6273 (test-wrapper-env): Likewise.
6274 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6275 (run-built-tests): Define to yes.
6276 (run-program-prefix): Use $(test-wrapper).
6277 (built-program-cmd): Likewise.
6278 * Rules (make-test-out): Use $(test-wrapper-env) and
6279 $(host-built-program-cmd).
6280 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6281 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6283 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6284 $(test-wrapper-env) to tst-rtld-load-self.sh.
6285 ($(objpfx)order2.out): Use $(test-wrapper).
6286 ($(objpfx)tst-initorder.out): Likewise.
6287 ($(objpfx)tst-initorder2.out): Likewise.
6288 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6289 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6290 (test_wrapper_env): New variable. Use it to run ld.so.
6291 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6292 Use it to run ld.so.
6293 (test_wrapper_env): Likewise.
6294 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6295 $(test-wrapper) to run-iconv-test.sh.
6296 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6297 (ICONV): Use $test_wrapper.
6298 * posix/Makefile ($(objpfx)globtest.out): Pass
6299 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6300 globtest.sh, not $(run-program-prefix).
6301 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6302 (test_wrapper): Likewise.
6303 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6304 set together with run_via_rtld_prefix.
6305 (run_program_prefix): Define in terms of test_wrapper and
6306 run_via_rtld_prefix.
6308 2012-10-24 Roland McGrath <roland@hack.frob.com>
6310 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6311 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6315 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6316 Declare __clock_getres, __clock_gettime, __clock_settime,
6317 __clock_nanosleep, and __clock_getcpuclockid.
6318 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6319 Remove librt_hidden_def (clock_gettime).
6320 * sysdeps/unix/clock_gettime.c: Likewise.
6321 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6322 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6323 * rt/clock_getres.c: Define __clock_getres as an alias.
6324 * sysdeps/posix/clock_getres.c: Likewise.
6325 * rt/clock_settime.c: Define __clock_settime as an alias.
6326 * sysdeps/unix/clock_settime.c: Likewise.
6327 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6328 * sysdeps/unix/clock_nanosleep.c: Likewise.
6329 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6330 * rt/clock-compat.c: New file.
6331 * rt/Makefile (librt-routines): Add clock-compat and move
6332 $(clock-routines) to ...
6333 (routines): ... here, new variable.
6334 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6335 Don't add get_clockfreq here.
6336 * rt/Versions (libc: GLIBC_2.17): New version set.
6337 Add clock_* symbols here.
6338 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6339 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6340 (GLIBC_2.17): Add clock_* symbols.
6341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6343 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6352 * NEWS: Mention the move.
6354 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6355 Use __open, __read, __close rather than their public counterparts.
6356 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6357 (__get_clockfreq_via_cpuinfo): Likewise.
6358 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6359 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6361 * config.h.in (HAVE_IFUNC): New #undef.
6362 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6364 * configure: Regenerated.
6366 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6368 * configure.in: Move READELF check to start of file.
6369 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6370 libc_cv_asm_gnu_indirect_function in the process.
6371 * configure: Regenerated.
6373 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6375 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6376 send the output to /dev/null.
6377 (libc_cv_cc_with_libunwind): Likewise.
6378 (libc_cv_as_noexecstack): Likewise.
6379 * configure: Regenerate.
6381 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6383 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6385 * posix/globtest.sh (TMPDIR): Do not set.
6386 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6387 (testout): Likewise.
6389 2012-10-24 Andreas Jaeger <aj@suse.de>
6391 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6392 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6393 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6394 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6395 posix_fadvise64, posix_fallocate64.
6397 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6398 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6399 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6401 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6403 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6405 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6406 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6407 <bits/fcntl-linux.h>.
6408 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6410 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6411 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6412 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6413 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6414 [__WORDSIZE != 64]: Likewise.
6416 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6418 * Makeconfig (run-built-tests): New variable.
6419 * Rules [$(cross-compiling) = yes]: Change condition to
6420 [$(run-built-tests) = no].
6421 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6422 to [$(run-built-tests) = yes].
6423 * elf/Makefile [$(cross-compiling) = no]: Likewise
6424 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6425 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6426 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6427 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6428 * io/Makefile [$(cross-compiling) = no]: Likewise.
6429 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6430 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6431 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6432 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6433 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6434 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6435 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6436 * string/Makefile [$(cross-compiling) = no]: Likewise.
6438 * posix/Makefile ($(objpfx)globtest.out): Pass
6439 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6440 $(rtld-installed-name).
6441 * posix/globtest.sh (elf_objpfx): Remove variable.
6442 (rtld_installed_name): Likewise.
6443 (library_path): Likewise.
6444 (run_program_prefix): New variable. Use for running globtest
6447 2012-10-23 Jim Blandy <jimb@codesourcery.com>
6448 Joseph Myers <joseph@codesourcery.com>
6450 * Makeconfig (host-built-program-cmd): New variable.
6451 * elf/Makefile (tst-stackguard1-ARGS): Use
6452 $(host-built-program-cmd).
6453 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6454 (tst-spawn-ARGS): Likewise.
6455 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6457 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6458 Jim Blandy <jimb@codesourcery.com>
6460 * Makeconfig (run-via-rtld-prefix): New variable.
6461 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6462 (built-program-cmd): Likewise.
6464 2012-10-22 Andreas Jaeger <aj@suse.de>
6466 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6467 __O_RSYNC if it exists, otherwise to O_SYNC.
6469 2012-10-22 Jim Blandy <jimb@codesourcery.com>
6470 Joseph Myers <joseph@codesourcery.com>
6472 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6474 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6476 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6479 2012-10-22 Andreas Jaeger <aj@suse.de>
6481 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6483 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6488 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6489 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6491 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6496 2012-10-21 Jim Blandy <jimb@codesourcery.com>
6497 Joseph Myers <joseph@codesourcery.com>
6499 * config.make.in (NM): New variable.
6501 2012-10-21 Andreas Jaeger <aj@suse.de>
6503 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6504 definitions and declarations that are provided by
6505 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6507 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6510 * elf/Makefile (tests-static): Add tst-leaks1-static.
6511 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6512 ($(objpfx)tst-leaks1-static): New rule.
6513 ($(objpfx)tst-leaks1-static-mem): Likewise.
6514 (tst-leaks1-static-ENV): New macro.
6515 * elf/dl-open.c (dl_open_worker): Check the main application
6516 only if SHARED is defined.
6517 * elf/tst-leaks1-static.c: New file.
6519 2012-10-20 Andreas Jaeger <aj@suse.de>
6521 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6522 generic values for Linux.
6523 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6524 and declarations that are provided by <bits/fcntl-linux.h> and
6525 include <bits/fcntl-linux.h>.
6526 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6527 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6529 2012-10-20 Roland McGrath <roland@hack.frob.com>
6531 * io/fcntl.h: Move include of <bits/types.h> to the top and
6532 include it unconditionally.
6534 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6536 * wcsmbs/Makefile (tests-ifunc): New variable.
6537 (tests): Add $(tests-ifunc).
6538 * wcsmbs/test-wcschr-ifunc.c: New file.
6539 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6540 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6541 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6542 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6543 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6545 * string/Makefile (tests-ifunc): New variable.
6546 (tests): Add $(tests-ifunc).
6547 * string/test-memccpy.c (TEST_NAME): New macro.
6548 * string/test-memchr.c (TEST_NAME): Likewise.
6549 * string/test-memcmp.c (TEST_NAME): Likewise.
6550 * string/test-memcpy.c (TEST_NAME): Likewise.
6551 * string/test-memmem.c (TEST_NAME): Likewise.
6552 * string/test-memmove.c (TEST_NAME): Likewise.
6553 * string/test-memset.c (TEST_NAME): Likewise.
6554 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6555 * string/test-stpcpy.c (TEST_NAME): Likewise.
6556 * string/test-stpncpy.c (TEST_NAME): Likewise.
6557 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6558 * string/test-strcasestr.c (TEST_NAME): Likewise.
6559 * string/test-strcat.c (TEST_NAME): Likewise.
6560 * string/test-strchr.c (TEST_NAME): Likewise.
6561 * string/test-strcmp.c(TEST_NAME): Likewise.
6562 * string/test-strcpy.c (TEST_NAME): Likewise.
6563 * string/test-strcspn.c (TEST_NAME): Likewise.
6564 * string/test-strlen.c (TEST_NAME): Likewise.
6565 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6566 * string/test-strncmp.c (TEST_NAME): Likewise.
6567 * string/test-strncpy.c (TEST_NAME): Likewise.
6568 * string/test-strnlen.c (TEST_NAME): Likewise.
6569 * string/test-strpbrk.c (TEST_NAME): Likewise.
6570 * string/test-strrchr.c (TEST_NAME): Likewise.
6571 * string/test-strspn.c (TEST_NAME): Likewise.
6572 * string/test-strstr.c (TEST_NAME): Likewise.
6573 * string/test-bcopy-ifunc.c: New file.
6574 * string/test-bzero-ifunc.c: Likewise.
6575 * string/test-memccpy-ifunc.c: Likewise.
6576 * string/test-memchr-ifunc.c: Likewise.
6577 * string/test-memcmp-ifunc.c: Likewise.
6578 * string/test-memcpy-ifunc.c: Likewise.
6579 * string/test-memmem-ifunc.c: Likewise.
6580 * string/test-memmove-ifunc.c: Likewise.
6581 * string/test-mempcpy-ifunc.c: Likewise.
6582 * string/test-memset-ifunc.c: Likewise.
6583 * string/test-rawmemchr-ifunc.c: Likewise.
6584 * string/test-stpcpy-ifunc.c: Likewise.
6585 * string/test-stpncpy-ifunc.c: Likewise.
6586 * string/test-strcasecmp-ifunc.c: Likewise.
6587 * string/test-strcasestr-ifunc.c: Likewise.
6588 * string/test-strcat-ifunc.c: Likewise.
6589 * string/test-strchr-ifunc.c: Likewise.
6590 * string/test-strchrnul-ifunc.c: Likewise.
6591 * string/test-strcmp-ifunc.c: Likewise.
6592 * string/test-strcpy-ifunc.c: Likewise.
6593 * string/test-strcspn-ifunc.c: Likewise.
6594 * string/test-strlen-ifunc.c: Likewise.
6595 * string/test-strncasecmp-ifunc.c: Likewise.
6596 * string/test-strncat-ifunc.c: Likewise.
6597 * string/test-strncmp-ifunc.c: Likewise.
6598 * string/test-strncpy-ifunc.c: Likewise.
6599 * string/test-strnlen-ifunc.c: Likewise.
6600 * string/test-strpbrk-ifunc.c: Likewise.
6601 * string/test-strrchr-ifunc.c: Likewise.
6602 * string/test-strspn-ifunc.c: Likewise.
6603 * string/test-strstr-ifunc.c: Likewise.
6605 * debug/Makefile (tests-ifunc): New variable.
6606 (tests): Add $(tests-ifunc).
6607 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6608 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6609 * debug/test-stpcpy_chk-ifunc.c: New file.
6610 * debug/test-strcpy_chk-ifunc.c: Likewise.
6612 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6615 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6616 header is not read in.
6618 2012-10-19 Joseph Myers <joseph@codesourcery.com>
6620 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6621 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6622 directly. Pass built executable to script as
6623 $(built-program-cmd).
6624 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6625 $testprogram without using LD_LIBRARY_PATH and $ldso.
6627 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6628 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6629 $(rtld-installed-name).
6630 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6631 (rtld_installed_name): Likewise.
6632 (library_path): Likewise.
6633 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6634 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6635 $(run-program-prefix) to tst-tables.sh.
6636 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6637 it to run tst-table-from and tst-table-to.
6638 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6639 Pass it to tst-table.sh.
6640 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6641 $(run-program-prefix) to tst-gettext.sh.
6642 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6644 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6646 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6648 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6649 to run tst-gettext2.
6650 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6651 to run tst-translit.
6652 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6653 $(run-program-prefix) to tst-mtrace.sh.
6654 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6656 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6657 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6658 $(rtld-installed-name).
6659 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6660 (rtld_installed_name): Likewise.
6661 (run_program_prefix): New variable. Use it to run wordexp-test.
6663 * Makeconfig (ARCH): Remove all definitions.
6664 (machine): Likewise.
6665 [ARCH]: Remove conditional code.
6666 [!objdir]: Give error.
6667 [!objdir] (objpfx): Remove.
6668 [!objdir] (common-objpfx): Likewise.
6669 [!objdir] (common-objdir): Likewise.
6670 * configure.in (config_makefile): Remove. Hardcode Makefile in
6671 AC_CONFIG_FILES call.
6672 * configure: Regenerated.
6675 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6677 (testout): Likewise.
6679 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6680 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6681 $(rtld-installed-name).
6682 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6683 (rtld_installed_name): Likwise.
6684 (runit): Remove function.
6685 (run_getconf): New variable, Use it for running getconf binary.
6687 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6690 * string/test-memmem.c (check_result): New function.
6691 (do_one_test): Use it.
6692 (check1): New function.
6693 (test_main): Use it.
6695 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6697 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6699 2012-10-18 Joseph Myers <joseph@codesourcery.com>
6701 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6702 (_G_LSEEK64): Likewise.
6703 (_G_MMAP64): Likewise.
6704 (_G_FSTAT64): Likewise.
6705 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6706 (_G_LSEEK64): Likewise.
6707 (_G_MMAP64): Likewise.
6708 (_G_FSTAT64): Likewise.
6709 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6710 unconditional. Call __mmap64 directly.
6711 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6712 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6714 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6715 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6717 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6718 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6720 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6721 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6723 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6724 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6726 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6727 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6728 __fxstat64 directly.
6729 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6730 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6732 (freopen64) [!_G_OPEN64]: Remove conditional code.
6733 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6735 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6736 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6738 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6739 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6741 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6742 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6744 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6745 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6747 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6748 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6750 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6751 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6753 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6755 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6758 * manual/memory.texi (Malloc Tunable Parameters): Add note
6759 about free list pointers overwriting some perturb bytes.
6760 Wording suggested by Roland McGrath.
6762 2012-10-17 Joseph Myers <joseph@codesourcery.com>
6764 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6765 (lgamma_test): Likewise.
6766 (tgamma_test): Likewise.
6768 2012-10-16 Florian Weimer <fweimer@redhat.com>
6771 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6772 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6774 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6776 * NEWS: Mention BZ #14716.
6777 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6778 when removing AVAILABLE1_USES_J macro.
6780 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6782 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6783 (__bswap_64): __uint64_t for unsigned 64-bit int.
6785 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6787 * include/string.h (memmem): Declare libc hidden alias.
6788 * string/memmem.c (memmem): Define libc hidden alias.
6789 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6790 __read, __close instead of open, read, close.
6792 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6794 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6795 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6797 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6798 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6799 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6801 (__rawmemchr_sse2): Likewise.
6802 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6803 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6804 (__strchr_sse2): Likewise.
6805 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6806 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6807 (__strcasecmp_sse2): Likewise.
6808 (__strncasecmp_sse2): Likewise.
6809 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6810 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6811 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6812 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6813 (__strrchr_sse2): Likewise.
6814 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6816 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6817 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6818 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6819 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6820 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6821 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6822 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6823 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6824 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6825 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6826 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6827 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6828 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6829 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6830 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6831 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6832 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6833 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6834 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6835 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6836 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6837 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6838 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6839 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6840 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6841 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6842 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6843 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6844 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6845 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6847 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6849 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6850 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6851 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6852 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6854 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6856 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6857 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6858 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6859 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6861 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6862 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6863 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6864 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6865 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6866 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6867 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6868 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6869 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6870 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6871 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6872 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6873 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6874 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6875 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6876 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6877 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6878 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6879 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6880 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6881 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6882 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6883 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6884 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6885 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6886 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6887 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6888 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6889 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6890 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6891 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6892 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6893 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6894 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6895 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6896 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6897 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6898 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6899 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6900 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6901 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6903 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6904 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6905 * include/ifunc-impl-list.h: New file.
6906 * misc/ifunc-impl-list.c: Likewise.
6907 * misc/Makefile (routines): Add ifunc-impl-list.
6908 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6909 * string/test-string.h: Include <ifunc-impl-list.h>.
6910 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6911 impl_array): New variables.
6912 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6914 (test_init): Call __libc_ifunc_impl_list to initialize
6915 func_list if TEST_IFUNC and TEST_NAME are defined.
6917 * string/Makefile (strop-tests): Add bcopy and bzero.
6918 * string/test-bcopy.c: New file.
6919 * string/test-bzero.c: Likewise.
6920 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6922 * string/test-memset.c: Support bzero test if TEST_BZERO is
6924 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6926 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6928 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6931 2012-10-10 Joseph Myers <joseph@codesourcery.com>
6933 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6934 * configure: Regenerated.
6936 * Makeconfig (+link-static-before-libc): Don't include
6937 $(link-static-libc).
6939 * libio/libio.h (_IO_pos_t): Remove.
6941 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6943 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6946 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6948 * crypt/crypt-entry.c: Include fips-private.h.
6949 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6950 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6951 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6952 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6954 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6956 * crypt/crypt-private.h: Include stdbool.h.
6957 (_ufc_setup_salt_r): Return bool.
6958 * crypt/crypt-entry.c: Include errno.h.
6959 (__crypt_r): Return NULL with EINVAL for bad salt.
6960 * crypt/crypt_util.c (bad_for_salt): New.
6961 (_ufc_setup_salt_r): Check that salt is long enough and within
6962 the specified alphabet.
6963 * crypt/badsalttest.c: New file.
6964 * crypt/Makefile (tests): Add it.
6965 ($(objpfx)badsalttest): New.
6967 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6969 * NEWS: Add entry for BZ #14602.
6971 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6973 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6975 * math/libm-test.inc: Update comment listing what functions and
6977 (isgreater_test): New function.
6978 (isgreaterequal_test): Likewise.
6979 (isless_test): Likewise.
6980 (islessequal_test): Likewise.
6981 (islessgreater_test): Likewise.
6982 (isunordered_test): Likewise.
6983 (main): Call the new functions.
6985 2012-10-09 Roland McGrath <roland@hack.frob.com>
6987 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6988 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6989 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6990 * sysdeps/i386/configure: Regenerated.
6991 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6992 * sysdeps/mach/configure: Regenerated.
6993 * sysdeps/mach/hurd/configure: Regenerated.
6994 * sysdeps/powerpc/configure: Regenerated.
6995 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6996 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6997 * sysdeps/s390/s390-32/configure: Regenerated.
6998 * sysdeps/s390/s390-64/configure: Regenerated.
6999 * sysdeps/sh/configure: Regenerated.
7000 * sysdeps/sparc/configure: Regenerated.
7001 * sysdeps/unix/sysv/linux/configure: Regenerated.
7002 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7003 * sysdeps/x86_64/configure: Regenerated.
7005 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7006 defined. Don't check if MAP is NULL.
7008 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7010 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7011 (_G_stat64): Likewise.
7012 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7013 (_G_stat64): Likewise.
7014 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7015 instead of struct _G_stat64.
7016 * libio/fileops.c (mmap_remap_check): Likewise.
7017 (decide_maybe_mmap): Likewise.
7018 (_IO_new_file_seekoff): Likewise.
7019 (_IO_file_stat): Likewise.
7020 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7022 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7023 instead of struct _G_stat64.
7024 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7026 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7029 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7031 (CHECK_EOL): New macro.
7032 (two_way_short_needle): Check beginning of haystack for EOL. Use
7034 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7035 Replace with CHECK_EOL.
7036 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7037 Replace with CHECK_EOL.
7039 2012-10-08 Joseph Myers <joseph@codesourcery.com>
7041 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7043 * math/libm-test.inc: Update comment listing what functions and
7045 (finite_test): New function.
7046 (isinf_test): Likewise.
7047 (isnan_test): Likewise.
7048 (fpclassify_test): Test subnormal input.
7049 (isfinite_test): Likewise.
7050 (isnormal_test): Likewise.
7051 (main): Call the new functions.
7053 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7056 * Makerules (%.dynsym): Force C locale when running
7057 $(OBJDUMP) --dynamic-syms.
7059 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7061 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7064 2012-10-06 David S. Miller <davem@davemloft.net>
7066 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7067 upper 32-bits of the length value in %o2 since we use branch-on-register
7068 tests which consider the entire 64-bit register.
7070 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7072 * string/test-strstr.c (check2): Add a test for page boundary.
7074 2012-10-05 David S. Miller <davem@davemloft.net>
7076 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7077 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7079 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7081 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7082 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7083 and bzero when HWCAP_SPARC_CRYPTO is present.
7085 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7088 * string/test-strstr.c (check2): New function.
7089 (test_main): Call check2.
7091 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7093 * string/bug-strcasestr1.c (do_test): Moved to ...
7094 * string/test-strcasestr.c (check1): Here. New function.
7095 (do_one_test): Break out result checking code into ...
7096 (check_result): This. New function.
7097 (do_one_test): Call check_result.
7098 (test_main): Call check1.
7099 * string/bug-strchr1.c (do_test): Moved to ...
7100 * string/test-strchr.c (check1): Here. New function.
7101 (do_one_test): Break out result checking code into ...
7102 (check_result): This. New function.
7103 (do_one_test): Call check_result.
7104 (test_main): Call check1.
7105 * string/bug-strstr1.c (main): Moved to ...
7106 * string/test-strstr.c (check1): Here. New function.
7107 (do_one_test): Break out result checking code into ...
7108 (check_result): This. New function.
7109 (do_one_test): Call check_result.
7110 (test_main): Call check1.
7111 * string/bug-strcasestr1.c: Removed.
7112 * string/bug-strchr1.c: Likewise.
7113 * string/bug-strstr1.c: Likewise.
7115 * elf/Makefile (dl-routines): Add hwcaps.
7116 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7117 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7118 (_dl_important_hwcaps): Moved to ...
7119 * elf/dl-hwcaps.c: Here. New file.
7120 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7123 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7124 if IS_IN_rtld isn't defined.
7126 * elf/dl-support.c (_dl_sysinfo_map): New.
7127 Include "get-dynamic-info.h" and "setup-vdso.h".
7128 (_dl_non_dynamic_init): Call setup_vdso.
7129 * elf/dynamic-link.h: Don't include <assert.h>.
7130 (elf_get_dynamic_info): Moved to ...
7131 * elf/get-dynamic-info.h: Here. New file.
7132 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7133 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7134 * elf/setup-vdso.h: Here. New file.
7135 * elf/rtld.c: Include "setup-vdso.h".
7136 (dl_main): Call setup_vdso.
7138 2012-10-05 Joseph Myers <joseph@codesourcery.com>
7140 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7141 creal in comment listing functions tested. List finite, isinf,
7142 isnan, isless, islessequal, isgreater, isgreaterequal,
7143 islessgreater, isunordered, lgamma_r and pow10 as functions and
7144 macros not tested. Mention which functions not tested are aliases
7145 for other functions. Fix typo. Note that signs of NaNs are not
7148 * scripts/config.guess: Update from config.git.
7149 * scripts/config.sub: Likewise.
7151 2012-10-04 Roland McGrath <roland@hack.frob.com>
7153 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7154 * misc/madvise.c (madvise): Renamed to __madvise.
7155 Make madvise a weak alias.
7156 * include/sys/mman.h: Declare __madvise.
7157 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7158 * sysdeps/unix/syscalls.list
7159 (madvise): Make __madvise the strong name, and madvise a weak alias.
7160 * sysdeps/unix/sysv/linux/syscalls.list
7161 (madvise, mmap): Remove redundant entries.
7162 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7163 * malloc/malloc.c (mtrim): Likewise.
7164 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7166 2012-10-03 Roland McGrath <roland@hack.frob.com>
7168 * sysdeps/mach/hurd/dl-cache.c: File removed.
7169 * config.h.in (USE_LDCONFIG): New #undef.
7170 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7171 * configure: Regenerated.
7172 * elf/Makefile (dl-routines): Add dl-cache only under
7173 [$(use-ldconfig) = yes].
7174 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7175 cache on [USE_LDCONFIG].
7176 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7178 * elf/rtld.c (dl_main): Likewise.
7180 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7182 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7183 _SC_LEVEL4_CACHE_LINESIZE.
7185 2012-10-03 Roland McGrath <roland@hack.frob.com>
7187 * sysdeps/unix/bsd/confstr.h: File removed.
7189 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
7191 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7194 2012-10-02 Roland McGrath <roland@hack.frob.com>
7196 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7197 Make 'mapoff' field ElfW(Off) rather than off_t.
7199 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7201 * nscd/Makefile: Remove nscd-cflags and all its users.
7202 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7203 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7206 * malloc.c (malloc_printerr): Clarify error message.
7208 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7211 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7212 Set bit_FMA_Usable if FMA is supported.
7213 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7215 (bit_FMA4_Usable): Updated.
7216 (index_FMA_Usable): New macro.
7217 (CPUID_FMA): Likewise
7218 (HAS_FMA): Defined with bit_FMA_Usable.
7220 2012-10-01 Roland McGrath <roland@hack.frob.com>
7222 * bits/types.h (__swblk_t): Type removed.
7223 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7224 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7225 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7226 (__SWBLK_T_TYPE): Likewise.
7227 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7228 (__SWBLK_T_TYPE): Likewise.
7229 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7230 (__SWBLK_T_TYPE): Likewise.
7231 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7232 (__SWBLK_T_TYPE): Likewise.
7234 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
7235 Honza Horak <hhorak@redhat.com>
7237 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7238 (xdr_mapname): Use YPMAXMAP as maxsize.
7239 (xdr_peername): Use YPMAXPEER as maxsize.
7240 (xdr_keydat): Use YPAXRECORD as maxsize.
7241 (xdr_valdat): Use YPMAXRECORD as maxsize.
7243 2012-10-01 Roland McGrath <roland@hack.frob.com>
7245 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7247 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7248 * csu/init-first.c: ... here.
7249 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7250 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7251 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7252 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7253 * sysdeps/i386/init-first.c: File removed.
7254 * sysdeps/sh/init-first.c: File removed.
7256 2012-10-01 Joseph Myers <joseph@codesourcery.com>
7259 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7260 if x * y might underflow to zero and z is zero.
7261 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7262 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7263 * math/libm-test.inc (min_subnorm_value): New variable.
7264 (fma_test): Add more tests.
7265 (fma_test_towardzero): Likewise.
7266 (fma_test_downward): Likewise
7267 (fma_test_upward): Likewise.
7268 (initialize): Set min_subnorm_value.
7270 2012-09-29 Joseph Myers <joseph@codesourcery.com>
7273 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7275 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7276 mode for addition resulting in exact zero.
7277 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7278 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7280 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7281 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7282 * math/libm-test.inc (fma_test): Add more tests.
7283 (fma_test_towardzero): New function.
7284 (fma_test_downward): Likewise.
7285 (fma_test_upward): Likewise.
7286 (main): Call the new functions.
7288 2012-09-28 David S. Miller <davem@davemloft.net>
7290 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7292 2012-09-28 Roland McGrath <roland@hack.frob.com>
7294 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7297 * sysdeps/gnu/_G_config.h: Moved to ...
7298 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7299 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7300 * sysdeps/generic/_G_config.h: ... here.
7302 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7304 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7306 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7307 Conditionalize target on [libnss_test1.so-version].
7309 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7311 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7312 (elfobjdir): Move out of conditionals.
7314 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7315 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7316 (__nss_lookup_function): Conditionalize label remove_from_tree on
7317 [!DO_STATIC_NSS || SHARED], matching its only use.
7319 2012-09-28 David S. Miller <davem@davemloft.net>
7321 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7322 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7324 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7326 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7327 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7328 when HWCAP_SPARC_CRYPTO is present.
7330 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7332 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7334 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7337 * stdio-common/vfprintf.c (process_string_arg): Revert
7340 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7342 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7344 * stdio-common/tst-sprintf.c: Include <locale.h>
7345 (main): Test sprintf's handling of incomplete multibyte
7348 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7350 * elf/dl-runtime.c (VERSYMIDX): Removed.
7351 * elf/dl-version.c (VERSYMIDX): Likewise.
7352 * elf/do-rel.h (VERSYMIDX): Likewise.
7354 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7355 * elf/rtld.c (VALIDX): Likewise.
7356 (ADDRIDX): Likewise.
7357 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7358 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7359 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7360 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7362 (ADDRIDX): Likewise.
7364 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7366 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7368 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7371 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7373 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7374 addresses are in the same scope as 192.0.2/24.
7375 * posix/gai.conf: Document new scope table defaults.
7377 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7380 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7381 for ftell. Compute offsets from write pointers instead.
7382 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7384 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7387 * libio/Makefile (tests): New test case tst-fseek.
7388 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7389 combination works in wide mode.
7390 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7391 state when the external buffer state changes.
7393 2012-09-27 David S. Miller <davem@davemloft.net>
7396 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7397 pass reloc->r_addend in as the 'high' argument to
7398 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7402 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7404 * rt/tst-aio2.c: Include <pthread.h>.
7405 * rt/tst-aio3.c: Likewise.
7407 2012-09-27 Steve Ellcey <sellcey@mips.com>
7409 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7411 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7413 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7414 contents on [SHARED].
7416 2012-09-26 Marek Polacek <polacek@redhat.com>
7420 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7421 for C++ and GCC <4.3 as well as for non GCC compilers.
7423 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7427 2012-09-25 Roland McGrath <roland@hack.frob.com>
7429 * Makefile.in (all, install): Declare with .PHONY.
7430 Reported by Michael Hope <michael.hope@linaro.org>.
7432 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7434 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7435 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7437 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7439 (sydep_routines): Add the new and the internal functions.
7440 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7441 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7443 (GLIBC_2.17): Add the new function.
7444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7445 (GLIBC_2.17): Likewise.
7446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7447 (GLIBC_2.17): Likewise.
7448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7449 (GLIBC_2.17): Likewise.
7450 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7452 2012-09-25 Alan Modra <amodra@gmail.com>
7454 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7455 Add release barrier before setting once_control to say
7456 initialisation is done. Add hints on lwarx. Use macro in
7458 (clear_once_control): Add release barrier.
7460 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7463 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7465 * math/s_clog10.c (__clog10): Likewise.
7466 * math/s_clog10f.c (__clog10f): Likewise.
7467 * math/s_clog10l.c (__clog10l): Likewise.
7468 * math/s_clogf.c (__clogf): Likewise.
7469 * math/s_clogl.c (__clogl): Likewise.
7470 * math/Makefile (libm-calls): Add x2y2m1.
7471 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7472 (__x2y2m1): Likewise.
7473 (__x2y2m1l): Likewise.
7474 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7475 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7476 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7477 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7478 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7479 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7480 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7481 * sysdeps/i386/fpu/libm-test-ulps: Update.
7482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7485 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7486 int as type of variable DEPTH.
7487 (glob): Use size_t instead of int as type of variables NEWCOUNT
7490 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7492 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7494 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7495 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7496 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7497 macros for using routine as __sincosf_ia32.
7498 Use macro for function declaration and weak_alias.
7499 * sysdeps/i386/fpu/libm-test-ulps: Update.
7501 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7504 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7506 * math/s_cexpf.c (__cexpf): Likewise.
7507 * math/s_csinf.c (__csinf): Likewise.
7508 * math/s_csinhf.c (__csinhf): Likewise.
7509 * math/s_ctanf.c (__ctanf): Likewise.
7510 * math/s_ctanhf.c (__ctanhf): Likewise.
7511 * math/s_ccosh.c (__ccoshf): Likewise.
7512 * math/s_cexp.c (__cexpl): Likewise.
7513 * math/s_csin.c (__csin): Likewise.
7514 * math/s_csinh.c (__csinh): Likewise.
7515 * math/s_ctan.c (__ctan): Likewise.
7516 * math/s_ctanh.c (ctanh): Likewise.
7517 * math/s_ccoshl.c (__ccoshl): Likewise.
7518 * math/s_cexpl.c (__cexpl): Likewise.
7519 * math/s_csinl.c (__csinl): Likewise.
7520 * math/s_csinhl.c (__csinhl): Likewise.
7521 * math/s_ctanl.c (__ctanl): Likewise.
7522 * math/s_ctanhl.c (__ctanhl): Likewise.
7524 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7526 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7527 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7528 (_IO_off_t): Define to __off_t, not _G_off_t.
7529 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7530 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7531 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7532 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7533 type of __dummy and __dummy2 fields.
7534 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7535 (_G_ssize_t): Likewise.
7536 (_G_off_t): Likewise.
7537 (_G_pid_t): Likewise.
7538 (_G_uid_t): Likewise.
7539 (_G_wchar_t): Likewise.
7540 (_G_wint_t): Likewise.
7541 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7542 (_G_ssize_t): Likewise.
7543 (_G_off_t): Likewise.
7544 (_G_pid_t): Likewise.
7545 (_G_uid_t): Likewise.
7546 (_G_wchar_t): Likewise.
7547 (_G_wint_t): Likewise.
7548 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7549 (_G_ssize_t): Likewise.
7550 (_G_off_t): Likewise.
7551 (_G_pid_t): Likewise.
7552 (_G_uid_t): Likewise.
7553 (_G_wchar_t): Likewise.
7554 (_G_wint_t): Likewise.
7556 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7558 * malloc/arena.c: Include malloc-sysdep.h.
7559 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7560 is sufficient to shrink the heap or an unmap is needed.
7561 * sysdeps/generic/malloc-sysdep.h: New file. Define
7562 new function check_may_shrink_heap.
7563 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7564 new function check_may_shrink_heap.
7566 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7568 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7571 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7573 * catgets/test-gencat.sh: Add "set -e".
7574 * elf/tst-pathopt.sh: Likewise.
7575 * grp/tst_fgetgrent.sh: Likewise.
7576 * iconvdata/run-iconv-test.sh: Likewise.
7577 * intl/tst-gettext.sh: Likewise.
7578 * intl/tst-gettext2.sh: Likewise.
7579 * intl/tst-gettext4.sh: Likewise.
7580 * intl/tst-gettext6.sh: Likewise.
7581 * intl/tst-translit.sh: Likewise.
7582 * io/ftwtest-sh: Likewise.
7583 * libio/test-freopen.sh: Likewise.
7584 * malloc/tst-mtrace.sh: Likewise.
7585 * posix/globtest.sh: Likewise.
7586 * posix/tst-getconf.sh: Likewise.
7587 * posix/wordexp-tst.sh: Likewise.
7588 * stdio-common/tst-printf.sh: Likewise.
7589 * stdio-common/tst-unbputc.sh: Likewise.
7590 * stdlib/tst-fmtmsg.sh: Likewise.
7591 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7592 * catgets/Makefile: Do not specify -e option when running
7593 testsuite shell scripts.
7594 * elf/Makefile: Likewise.
7595 * grp/Makefile: Likewise.
7596 * iconvdata/Makefile: Likewise.
7597 * intl/Makefile: Likewise.
7598 * io/Makefile: Likewise.
7599 * libio/Makefile: Likewise.
7600 * malloc/Makefile: Likewise.
7601 * posix/Makefile: Likewise.
7602 * stdio-common/Makefile: Likewise.
7603 * stdlib/Makefile: Likewise.
7604 * sysdeps/x86_64/Makefile: Likewise.
7606 * io/ftwtest-sh: Add copyright header.
7607 * posix/globtest.sh: Likewise.
7608 * posix/tst-getconf.sh: Likewise.
7609 * posix/wordexp-tst.sh: Likewise.
7610 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7612 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7615 * Makeconfig (+link): Defined as $(+link-static) if
7616 $(build-shared) isn't yes.
7617 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7619 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7621 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7624 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7625 new chunk size with MALLOC_ALIGN_MASK.
7627 2012-09-24 Joseph Myers <joseph@codesourcery.com>
7630 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7632 (__printf_fphex): Determine rounding using get_rounding_mode and
7634 * stdio-common/tst-printf-round.c (struct hex_test): New
7636 (hex_tests): New variable.
7637 (test_hex_in_one_mode): New function.
7638 (do_test): Also run tests for hex float output.
7640 2012-09-21 Joseph Myers <joseph@codesourcery.com>
7642 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7643 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7644 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7645 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7646 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7647 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7648 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7649 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7651 2012-09-20 Joseph Myers <joseph@codesourcery.com>
7653 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7654 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7655 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7656 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7658 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7661 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7663 * elf/tst-rtld-load-self.sh: New test.
7664 * elf/Makefile: Run it.
7666 2012-09-18 Joseph Myers <joseph@codesourcery.com>
7668 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7669 (tst-writev-ENV): Remove.
7670 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7672 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7674 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7676 2012-09-17 Joseph Myers <joseph@codesourcery.com>
7678 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7680 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7682 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7683 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7684 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7687 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7690 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7691 * config.make.in (have-cpp-asm-debuginfo): Removed.
7692 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7693 * configure: Regenerated.
7695 2012-09-14 Joseph Myers <joseph@codesourcery.com>
7698 * stdio-common/printf_fp.c: Include <stdbool.h> and
7700 (___printf_fp): Determine rounding using get_rounding_mode and
7702 * stdio-common/tst-printf-round.c: New file.
7703 * stdio-common/Makefile (tests): Add tst-printf-round.
7704 (link-libm): New variable.
7705 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7707 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7710 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7711 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7713 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7716 2012-09-13 Joseph Myers <joseph@codesourcery.com>
7718 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7719 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7720 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7721 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7723 2012-09-12 Joseph Myers <joseph@codesourcery.com>
7726 * include/rounding-mode.h: New file.
7727 * sysdeps/generic/get-rounding-mode.h: Likewise.
7728 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7729 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7730 (MAX_VALUE): New macro.
7731 (MIN_VALUE): Likewise.
7732 (overflow_value): New function.
7733 (underflow_value): Likewise.
7734 (round_and_return): Use overflow_value and underflow_value to
7735 determine return values in overflow and underflow cases. Use
7736 round_away to determine rounding depending on rounding mode.
7737 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7738 determine return values in overflow and underflow cases.
7739 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7740 (struct test_results): New structure.
7741 (struct test): Use struct test_results to store expected results
7742 for all rounding modes.
7743 (TEST): Include expected results for all rounding modes.
7744 (test_in_one_mode): New function.
7745 (do_test): Use test_in_one_mode to compute and check results.
7746 Check results for all rounding modes.
7747 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7750 2012-12-09 Allan McRae <allan@archlinux.org>
7752 * sysdeps/i386/fpu/libm-test-ulps: Update
7754 2012-09-11 Joseph Myers <joseph@codesourcery.com>
7756 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7757 (_G_int32_t): Likewise.
7758 (_G_uint16_t): Likewise.
7759 (_G_uint32_t): Likewise.
7760 (_G_HAVE_BOOL): Likewise.
7761 (_G_HAVE_ATEXIT): Likewise.
7762 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7763 (_G_HAVE_IO_FILE_OPEN): Likewise.
7764 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7765 (_G_int32_t): Likewise.
7766 (_G_uint16_t): Likewise.
7767 (_G_uint32_t): Likewise.
7768 (_G_HAVE_BOOL): Likewise.
7769 (_G_HAVE_ATEXIT): Likewise.
7770 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7771 (_G_HAVE_IO_FILE_OPEN): Likewise.
7772 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7773 (_G_int32_t): Likewise.
7774 (_G_uint16_t): Likewise.
7775 (_G_uint32_t): Likewise.
7776 (_G_HAVE_BOOL): Likewise.
7777 (_G_HAVE_ATEXIT): Likewise.
7778 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7779 (_G_HAVE_IO_FILE_OPEN): Likewise.
7781 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7783 * csu/libc-tls.c: Update copyright years.
7785 2012-09-10 Joseph Myers <joseph@codesourcery.com>
7787 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7788 [!_G_USING_THUNKS]: Remove conditional code.
7789 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7790 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7792 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7793 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7794 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7795 (_G_VTABLE_LABEL_PREFIX): Likewise.
7796 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7797 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7798 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7799 (_G_VTABLE_LABEL_PREFIX): Likewise.
7800 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7801 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7802 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7803 (_G_VTABLE_LABEL_PREFIX): Likewise.
7804 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7806 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7808 * libio/Makefile: Include ../Makeconfig before tests.
7809 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7810 only if $(build-shared) is yes.
7812 * iconv/gconv_db.c: Update copyright years.
7814 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7816 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7817 unwind info if defined PIC. Fix special cases description.
7818 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7820 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7822 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7824 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7826 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7828 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7831 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7832 (LDLIBS-tst-chk4): This.
7833 (LDFLAGS-tst-chk5): Renamed to ...
7834 (LDLIBS-tst-chk5): This.
7835 (LDFLAGS-tst-chk6): Renamed to ...
7836 (LDLIBS-tst-chk6): This.
7837 (LDFLAGS-tst-lfschk4): Renamed to ...
7838 (LDLIBS-tst-lfschk4): This.
7839 (LDFLAGS-tst-lfschk5): Renamed to ...
7840 (LDLIBS-tst-lfschk5): This.
7841 (LDFLAGS-tst-lfschk6): Renamed to ...
7842 (LDLIBS-tst-lfschk6): This.
7844 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7845 on $(common-objpfx)soversions.mk.
7847 2012-09-07 Joseph Myers <joseph@codesourcery.com>
7850 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7853 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7855 * malloc/arena.c (arena_get_retry): New function that gets
7856 another arena for the caller to try its request on.
7857 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7858 current arena cannot fulfill the request.
7859 (__libc_memalign): Likewise.
7860 (__libc_memalign): Likewise.
7861 (__libc_pvalloc): Likewise.
7862 (__libc_calloc): Likewise.
7864 2012-09-05 John Tobey <john.tobey@gmail.com>
7867 * manual/arith.texi (Operations on Complex): Fix description
7870 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7873 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7877 * manual/memory.texi (Memory): Make order of menu items match
7880 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7882 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7883 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7884 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7886 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7888 * csu/libc-tls.c (static_dtv): Renamed to ...
7889 (_dl_static_dtv): This. Make it global.
7890 (_dl_initial_dtv): Removed.
7891 (__libc_setup_tls): Updated.
7892 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7893 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7896 2012-09-06 Petr Machata <pmachata@redhat.com>
7898 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7899 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7900 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7901 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7903 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7906 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7907 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7910 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7913 * Makeconfig (link-static-before-libc): Replace $(+prector)
7915 (link-static-after-libc): Replace $(+postctor) with
7917 (link-bounded): Replace $(+prector)/$(+postctor) with
7918 $(+prectorT)/$(+postctorT).
7919 (+prectorT): New macro.
7920 (+postctorT): Likewise.
7922 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7924 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7925 (round_str): Handle values above the maximum for IBM long double
7927 * stdlib/tst-strtod-round.c (tests): Regenerated.
7929 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7931 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7933 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7934 zarch_nohighgprs around the zarch optimized routines.
7935 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7936 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7937 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7940 2012-09-05 David S. Miller <davem@davemloft.net>
7942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7944 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7945 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7946 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7947 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7950 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7952 * malloc/arena.c: Fold copyright years.
7953 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7955 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7957 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7959 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7961 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7963 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7965 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7966 change internal state upon failure.
7968 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7970 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7971 * malloc/memusage.c (mmap): Likewise.
7972 (mmap64, mremap): Likewise. Adjust name in comment.
7974 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7976 * libio/fileops.c: Fix typos in comments.
7977 * libio/oldfileops.c: Likewise.
7978 * libio/wfileops.c: Likewise.
7980 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7983 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7984 (tst-malloc-usable-ENV): Set environment for test case.
7985 * malloc/hooks.c (malloc_check_get_size): New function to get
7987 * malloc/malloc.c (musable): Use malloc_check_get_size.
7988 * malloc/tst-malloc-usable.c: New test case.
7990 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7992 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7994 2012-09-05 Allan McRae <allan@archlinux.org>
7997 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7998 determine header location.
7999 * configure: Regenerated.
8001 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8003 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8005 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8006 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8010 2012-09-04 David S. Miller <davem@davemloft.net>
8012 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8013 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8014 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8016 2012-09-04 Florian Weimer <fweimer@redhat.com>
8018 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8021 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8023 2012-09-04 Joseph Myers <joseph@codesourcery.com>
8026 * libio/iogetdelim.c: Include <limits.h>.
8027 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8028 + len + 1 would overflow.
8030 2012-09-03 Andreas Jaeger <aj@suse.de>
8032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8033 * sysdeps/i386/fpu/libm-test-ulps: Update.
8035 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8037 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8038 Add s_sinf-sse2, s_conf-sse2.
8040 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8041 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8042 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8043 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8045 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8046 for using routine as __sinf_ia32.
8047 Use macro for function declaration and weak_alias.
8048 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8049 for using routine as __cosf_ia32.
8050 Use macro for function declaration and weak_alias.
8052 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8053 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8055 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8056 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8059 * math/libm-test.inc (cos_test): Add more test cases.
8060 (sin_test): Likewise.
8061 (sincos_test): Likewise.
8063 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8065 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8066 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8068 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8070 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8073 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8074 first element of the GOT.
8075 (elf_machine_load_address): Return the difference between
8076 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8078 2012-09-01 Allan McRae <allan@archlinux.org>
8081 * configure.in (AWK): Require gawk version 3.0 or later.
8082 * configure: Regenerated.
8084 2012-09-01 Joseph Myers <joseph@codesourcery.com>
8086 * sysdeps/unix/sysv/linux/kernel-features.h
8087 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8088 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8089 [__NR_clock_getres]: Make code unconditional.
8090 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8091 (clock_getcpuclockid): Remove code left unreachable by removal of
8093 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8095 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8096 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8097 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8098 Make code unconditional.
8099 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8100 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8101 * sysdeps/unix/sysv/linux/clock_settime.c
8102 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8104 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8105 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8107 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8110 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8111 scripts/test-installation.pl.
8113 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8114 and $ld_so_version if it is set.
8116 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8119 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8120 failure if reading from procfs failed.
8121 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8123 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8125 * sysdeps/unix/sysv/linux/kernel-features.h
8126 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8127 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8128 Remove conditional code.
8129 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8130 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8131 Remove conditional code.
8132 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8133 * sysdeps/unix/sysv/linux/i386/fxstat.c
8134 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8135 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8136 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8137 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8138 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8139 * sysdeps/unix/sysv/linux/i386/lxstat.c
8140 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8141 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8142 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8143 Remove conditional code.
8144 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8145 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8146 Remove conditional code.
8147 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8148 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8149 <kernel-features.h>.
8150 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8152 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8153 Remove conditional code.
8154 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8155 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8158 2012-08-27 Mike Frysinger <vapier@gentoo.org>
8161 * NEWS: Add fixed bug number.
8163 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8166 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8167 underflowing exponent in case of negative sign.
8168 * stdlib/tst-strtod-round-data: Add more tests.
8169 * stdlib/tst-strtod-round.c (tests): Regenerated.
8172 * stdlib/strtod_l.c (NDIG): Remove.
8173 (HEXNDIG): Likewise.
8174 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8175 smallest representable value.
8176 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8177 lie within an exact representation of 1/2 ulp of the result.
8178 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8180 (TENS_P9_IDX): Define unconditionally.
8181 (TENS_P9_SIZE): Likewise.
8182 (TENS_P10_IDX): Likewise.
8183 (TENS_P10_SIZE): Likewise.
8184 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8185 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8186 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8187 entries for 10^2^13 and 10^2^14.
8188 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8189 (TENS_P13_IDX): Define.
8190 (TENS_P13_SIZE): Likewise.
8191 (TENS_P14_IDX): Likewise.
8192 (TENS_P14_SIZE): Likewise.
8193 (_fpioconst_pow10): Change array size to
8194 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8196 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8197 1024]: Add entries for 10^2^13 and 10^2^14.
8198 [LAST_POW10 > _LAST_POW10]: Remove #error.
8199 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8200 (_fpioconst_pow10): Change array size to
8201 FPIOCONST_POW10_ARRAY_SIZE.
8202 * stdlib/gen-fpioconst.c: New file.
8203 * stdlib/gen-tst-strtod-round.c: Likewise.
8204 * stdlib/tst-strtod-round-data: Likewise.
8205 * stdlib/tst-strtod-round.c: Likewise.
8206 * stdlib/Makefile (tests): Add tst-strtod-round.
8209 * stdlib/strtod_l.c: Include <stdint.h>.
8210 (NDEBUG): Do not define.
8211 (round_and_return): Change EXPONENT parameter to type intmax_t.
8212 Rearrange calculations to avoid internal overflow possibilities.
8213 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8214 Rearrange calculations to avoid internal overflow possibilities.
8215 Assert that number fits inside MPNSIZE limbs.
8216 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8217 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8218 calculations and add assertions to avoid internal overflow
8219 possibilities. Add casts to avoid signed/unsigned operations.
8220 * stdlib/tst-strtod-overflow.c: New file.
8221 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8223 2012-08-25 Marek Polacek <polacek@redhat.com>
8225 * time/time.h: Fix some typos in comments.
8227 2012-08-23 Roland McGrath <roland@hack.frob.com>
8229 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8230 * posix/tst-rfc3484-2.c: Likewise.
8231 * posix/tst-rfc3484-3.c: Likewise.
8233 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8235 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8236 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8238 2012-08-23 Joseph Myers <joseph@codesourcery.com>
8240 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8241 #include of fxstatat64.c.
8243 2012-08-22 Roland McGrath <roland@hack.frob.com>
8245 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8246 * shadow/getspent_r.c: Likewise.
8247 * shadow/getspnam.c: Likewise.
8248 * shadow/getspnam_r.c: Likewise.
8249 * gshadow/getsgent.c: Likewise.
8250 * gshadow/getsgent_r.c: Likewise.
8251 * gshadow/getsgnam.c: Likewise.
8252 * gshadow/getsgnam_r.c: Likewise.
8253 * inet/getnetbyad.c: Likewise.
8254 * inet/getnetbyad_r.c: Likewise.
8255 * inet/getnetbynm.c: Likewise.
8256 * inet/getnetbynm_r.c: Likewise.
8257 * inet/getnetent.c: Likewise.
8258 * inet/getnetent_r.c: Likewise.
8259 * inet/getproto.c: Likewise.
8260 * inet/getproto_r.c: Likewise.
8261 * inet/getprtent.c: Likewise.
8262 * inet/getprtent_r.c: Likewise.
8263 * inet/getprtname.c: Likewise.
8264 * inet/getprtname_r.c: Likewise.
8265 * inet/getrpcbyname.c: Likewise.
8266 * inet/getrpcbyname_r.c: Likewise.
8267 * inet/getrpcbynumber.c: Likewise.
8268 * inet/getrpcbynumber_r.c: Likewise.
8269 * inet/getrpcent.c: Likewise.
8270 * inet/getrpcent_r.c: Likewise.
8271 * inet/getaliasent.c: Likewise.
8272 * inet/getaliasent_r.c: Likewise.
8273 * inet/getaliasname.c: Likewise.
8274 * inet/getaliasname_r.c: Likewise.
8275 * nscd/getgrgid_r.c: Likewise.
8276 * nscd/getgrnam_r.c: Likewise.
8277 * nscd/gethstbyad_r.c: Likewise.
8278 * nscd/gethstbynm3_r.c: Likewise.
8279 * nscd/getpwnam_r.c: Likewise.
8280 * nscd/getpwuid_r.c: Likewise.
8281 * nscd/getsrvbynm_r.c: Likewise.
8282 * nscd/getsrvbypt_r.c: Likewise.
8283 * nscd/gai.c: Likewise.
8285 * configure.in (build_nscd): New substituted variable, set
8286 by --disable-build-nscd and defaults to $use_nscd.
8287 * configure: Regenerated.
8288 * config.make.in (build-nscd): New substituted variable.
8289 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8290 Change conditional to require [$(build-nscd) = yes] as well.
8291 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8294 * configure.in (use_nscd): New substituted variable, set by
8295 --disable-nscd. If enabled, define USE_NSCD.
8296 * configure: Regenerated.
8297 * config.h.in: Add USE_NSCD.
8298 * config.make.in (use-nscd): New substituted variable.
8299 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8300 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8301 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8302 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8303 (CFLAGS-getgrnam_r.c): Likewise.
8304 (CFLAGS-initgroups.c): Likewise.
8305 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8306 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8308 * inet/getnetgrent_r.c
8309 (nscd_setnetgrent): New function, broken out of ...
8310 (setnetgrent): ... here. Call it.
8311 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8312 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8313 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8314 * nscd/Makefile (routines, aux): Move definitions after include of
8315 Makeconfig. Conditionalize on [$(use-nscd) != no].
8316 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8317 Conditionalize on [USE_NSCD].
8318 (is_nscd, nscd_init_cb): Likewise.
8319 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8320 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8321 * nss/nss_db/db-init.c: Likewise.
8322 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8324 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8325 (make_request): Use it.
8326 (cache_valid_p): New function.
8327 (__check_pf): Use it.
8328 * NEWS: Add item for --disable-nscd.
8330 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8332 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8333 to support sed >= 4.2.1-20-ga9bf076.
8334 * configure: Regenerated.
8336 2012-08-22 Roland McGrath <roland@hack.frob.com>
8338 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8339 Conditionalize whole body on [IREL].
8341 2012-08-22 Jeff Law <law@redhat.com>
8344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8345 if the family is PF_UNSPEC.
8347 2012-08-22 Mike Frysinger <vapier@gentoo.org>
8349 * Makerules (lib-version): Rename from V.
8350 (install-lib-nosubdir): Change V to lib-version.
8352 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8355 * powerpc32/power6/wcschr.c: New file.
8356 * powerpc32/power6/wcscpy.c: New file.
8357 * powerpc32/power6/wcsrchr.c: New file.
8358 * powerpc64/power6/wcschr.c: New file.
8359 * powerpc64/power6/wcscpy.c: New file.
8360 * powerpc64/power6/wcsrchr.c: New file.
8362 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8364 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8365 (two_way_short_needle): Use it.
8366 * string/strstr.c (AVAILABLE1_USES_J): Define.
8367 * string/strcasestr.c: Likewise.
8369 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8371 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8374 * NEWS: Add an entry.
8375 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8376 define their defaults.
8377 (two_way_short_needle): Detect end-of-string on-the-fly.
8378 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8379 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8380 * string/bug-strcasestr1.c: New test.
8381 * string/Makefile: Run it.
8383 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8386 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8387 the first character.
8389 2012-08-21 Roland McGrath <roland@hack.frob.com>
8391 * csu/elf-init.c (__libc_csu_irel): Function removed.
8392 * csu/libc-start.c (apply_irel): New function.
8393 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8395 2012-08-21 Joseph Myers <joseph@codesourcery.com>
8397 * sysdeps/unix/sysv/linux/kernel-features.h
8398 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8399 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8400 <kernel-features.h>.
8401 [__NR_fadvise64_64]: Make code unconditional.
8402 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8403 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8404 !__NR_fadvise64_64)]: Likewise.
8405 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8406 !__NR_fadvise64_64))]: Likewise.
8407 [__NR_fadvise64]: Make code unconditional.
8408 [!__NR_fadvise64]: Remove conditional code.
8409 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8410 <kernel-features.h>.
8411 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8413 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8416 not include <kernel-features.h>.
8417 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8419 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8421 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8422 include <kernel-features.h>.
8423 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8425 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8428 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8430 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8431 slight instruction rearrangements per scrollpipe analysis.
8432 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8434 2012-08-20 Roland McGrath <roland@hack.frob.com>
8436 * manual/syslog.texi (syslog; vsyslog, closelog):
8437 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8438 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8440 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8441 DSOCAPS to match condition on defining it.
8443 2012-08-20 Joseph Myers <joseph@codesourcery.com>
8445 * sysdeps/unix/sysv/linux/kernel-features.h
8446 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8448 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8449 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8451 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8452 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8454 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8455 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8457 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8458 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8460 * sysdeps/unix/sysv/linux/kernel-features.h
8461 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8462 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8464 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8465 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8466 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8467 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8468 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8469 Make code unconditional.
8470 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8471 (__mmap64) [!__NR_mmap2]: Likewise.
8472 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8473 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8474 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8475 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8476 [__NR_mmap2]: Make code unconditional.
8477 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8478 (__mmap64) [!__NR_mmap2]: Likewise.
8480 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8482 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8484 2012-08-18 Andreas Jaeger <aj@suse.de>
8486 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8488 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8490 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8491 * include/unistd.h (__have_sock_cloexec): Likewise.
8492 (__have_pipe2): Likewise.
8493 (__have_dup3): Likewise.
8495 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8498 * include/unistd.h (__have_pipe2): Change define into an extern int.
8499 (__have_dup3): Likewise.
8500 * socket/have_sock_cloexec.c: Include fcntl.h.
8501 (__have_pipe2): New variable.
8502 (__have_dup3): Likewise.
8504 2012-08-17 Mike Frysinger <vapier@gentoo.org>
8506 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8508 2012-08-17 Marek Polacek <polacek@redhat.com>
8510 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8511 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8513 2012-08-17 Roland McGrath <roland@hack.frob.com>
8515 * configure.in: Add AC_SUBST for sysheaders.
8516 * configure: Regenerated.
8517 * config.make.in (sysheaders): New substituted variable.
8519 * sysdeps/unix/mkfifo.c: Moved ...
8520 * sysdeps/posix/mkfifo.c: ... here.
8521 * sysdeps/unix/mkfifoat.c: Moved ...
8522 * sysdeps/posix/mkfifoat.c: ... here.
8524 * sysdeps/unix/utime.c: Moved ...
8525 * sysdeps/posix/utime.c: ... here.
8527 * sysdeps/unix/time.c: Moved ...
8528 * sysdeps/posix/time.c: ... here.
8529 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8530 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8532 * sysdeps/unix/nice.c: Moved ...
8533 * sysdeps/posix/nice.c: ... here.
8535 * sysdeps/unix/alarm.c: Moved ...
8536 * sysdeps/posix/alarm.c: ... here.
8538 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8540 2012-08-17 Jeff Law <law@redhat.com>
8542 * intl/Makefile (codeset_mo): New variable.
8543 ($(codeset_mo)): New target.
8544 (tst-codeset.out): Depend on that. Remove explicit rule.
8545 (tst-gettext3.out, tst-gettext5.out): Likewise.
8546 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8547 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8548 * intl/tst-codeset.sh: Remove.
8549 * intl/tst-gettext3.sh: Likewise.
8550 * intl/tst-gettext5.sh: Likewise.
8552 2012-08-17 Roland McGrath <roland@hack.frob.com>
8554 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8555 * sysdeps/unix/syscalls.list: ... here.
8557 * sysdeps/posix/getaddrinfo.c
8558 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8559 (gaiconf_init, gaiconf_reload): Use them.
8561 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8562 Define using time_t rather than struct timespec.
8564 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8565 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8567 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8569 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8570 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8573 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8574 __libc_cleanup_push argument.
8576 * bits/param.h: New file.
8577 * misc/sys/param.h: New file.
8578 * include/sys/param.h: New file.
8579 * misc/Makefile (headers): Add bits/param.h.
8580 * sysdeps/generic/sys/param.h: File removed.
8581 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8582 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8583 * sysdeps/mach/hurd/bits/param.h: New file.
8584 * sysdeps/mach/hurd/sys/param.h: File removed.
8586 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8589 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8591 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8592 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8595 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8596 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8597 rather than -D_IO_MTSAFE_IO conditionally.
8598 * stdio-common/Makefile (CPPFLAGS): Likewise.
8599 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8600 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8601 Use $(libio-mtsafe).
8602 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8604 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8605 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8606 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8607 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8608 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8609 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8610 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8611 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8612 (CFLAGS-fread_u_chk.c): Likewise.
8613 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8614 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8615 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8616 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8617 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8618 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8619 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8620 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8621 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8623 * libio/Makefile: Test [$(libc-reentrant) = yes]
8624 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8627 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8628 * sysdeps/pthread/configure: File removed.
8629 * sysdeps/pthread/Makeconfig: New file.
8630 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8631 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8633 2012-08-16 Gary Benson <gbenson@redhat.com>
8635 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8636 unmapping the first object in a namespace.
8638 2012-08-16 Roland McGrath <roland@hack.frob.com>
8640 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8641 (__internal_setnetgrent): ... this. Add internal_function to
8642 definition. Add libc_hidden_def.
8643 (setnetgrent): Update caller.
8644 (internal_endnetgrent): Renamed to ...
8645 (__internal_endnetgrent): ... this. Add internal_function to
8646 definition. Add libc_hidden_def.
8647 (endnetgrent): Update caller.
8648 (internal_getnetgrent_r): Renamed to ...
8649 (__internal_getnetgrent_r): ... this. Add internal_function to
8650 definition. Add libc_hidden_def.
8651 (__getnetgrent_r): Update caller.
8652 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8654 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8656 * stdlib/longlong.h: Update from GCC.
8658 2012-08-16 Roland McGrath <roland@hack.frob.com>
8660 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8661 on _QL, which is set by umul_ppmm but never used.
8662 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8663 variables, which are set by GMP macros but never used.
8664 * stdio-common/_itowa.c (_itowa): Likewise.
8665 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8666 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8668 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8670 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8671 struct La_sh_regs is not constant.
8672 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8673 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8674 and struct La_sparc64_regs are not constant.
8676 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8678 * sysdeps/unix/sysv/linux/kernel-features.h
8679 (__ASSUME_POSIX_TIMERS): Remove.
8680 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8681 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8682 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8683 Make code unconditional.
8684 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8685 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8686 Make code unconditional.
8687 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8688 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8689 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8690 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8691 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8692 Make code unconditional.
8693 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8694 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8695 (__libc_missing_posix_timers): Remove.
8697 2012-08-15 Roland McGrath <roland@hack.frob.com>
8699 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8700 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8702 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8704 * elf/dl-sym.c: Include <stdlib.h>.
8706 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8707 constants, which avoids warnings in 32-bit builds.
8709 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8710 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8712 * misc/lseek.c: File moved to ...
8713 * io/lseek.c: ... here.
8715 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8717 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8718 shifting LEN more than 31 bits at once.
8720 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8723 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8724 segmentation fault for a case of two empty input strings.
8725 * string/test-strncasecmp.c (check1): Renamed to...
8727 (bz14195): Add new testcase for two empty input strings and N > 0.
8728 (test_main): Call new testcase, adapt for renamed function.
8730 2012-08-15 Andreas Jaeger <aj@suse.de>
8733 * crypt/md5test2.c: New test, based on test supplied by Serge
8734 Belyshev <belyshev@depni.sinp.msu.ru>.
8735 * crypt/Makefile (xtests): Add md5test-giant..
8736 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8738 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8741 * crypt/md5.c (md5_process_block): Don't assume the buffer
8742 length is less than 2**32.
8743 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8744 length is less than 2**64.
8746 2012-08-15 Roland McGrath <roland@hack.frob.com>
8748 * string/str-two-way.h: Include <sys/param.h>.
8749 (MAX): Macro removed.
8751 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8752 Move #define and #undef of memmove to just before and after
8753 including <string.h>.
8755 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8756 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8757 and after including <string.h>. Move declarations of
8758 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8759 to before #include "string/memmove.c".
8761 * include/dirent.h: Declare __getdirentries.
8763 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8764 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8766 2012-08-14 Mike Frysinger <vapier@gentoo.org>
8768 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8769 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8770 * sysdeps/i386/configure: Regenerated.
8771 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8772 STABS_CURRENT_FILE, and STABS_FUN.
8773 (END): Remove call to STABS_FUN_END.
8774 (STABS_CURRENT_FILE1): Delete.
8775 (STABS_CURRENT_FILE): Likewise.
8776 (STABS_FUN): Likewise.
8777 (STABS_FUN_END): Likewise.
8778 (STABS_FUN2): Likewise.
8779 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8780 * sysdeps/x86_64/configure: Regenerated.
8782 2012-08-14 Roland McGrath <roland@hack.frob.com>
8784 * elf/dl-open.c: Include <atomic.h>.
8785 * elf/dl-lookup.c: Likewise.
8787 2012-08-14 Joseph Myers <joseph@codesourcery.com>
8789 * sysdeps/unix/sysv/linux/kernel-features.h
8790 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8791 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8793 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8795 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8796 condition on __ASSUME_CLONE_THREAD_FLAGS.
8798 2012-08-14 Andreas Jaeger <aj@suse.de>
8800 * sysdeps/i386/fpu/libm-test-ulps: Update.
8802 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8804 * include/atomic.h (atomic_exchange_and_add): Split into ...
8805 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8808 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8812 2012-08-13 Jeff Law <law@redhat.com>
8814 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8815 null byte in the output string.
8817 2012-08-10 Joseph Myers <joseph@codesourcery.com>
8819 * sysdeps/unix/sysv/linux/kernel-features.h
8820 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8821 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8822 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8823 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8824 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8825 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8826 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8828 2012-08-09 Jeff Law <law@redhat.com>
8831 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8832 When avoid_arena is set, don't retry in the that arena. Pick the
8833 next one, whatever it might be.
8834 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8835 (arena_lock): Pass in new parameter to arena_get2.
8836 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8838 (__libc_malloc): Unify retrying after main arena failure with
8839 __libc_memalign version.
8840 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8842 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8845 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8846 to __redirect_strstr.
8847 (__strstr_sse42): Use typeof __redirect_strstr.
8848 (__strstr_ia32): Likewise.
8849 (__libc_strstr): New prototype.
8850 (strstr): Renamed to ...
8851 (__libc_strstr): This.
8852 (strstr): New strong alias of __libc_strstr.
8853 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8854 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8857 (__libc_time): New prototype.
8858 (time_ifunc): Replace time with __libc_time.
8859 (time): New strong alias and hidden definition of __libc_time.
8860 (__GI_time): Remove strong alias.
8861 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8863 (memmove): Redefined to __redirect_memmove.
8864 (__memmove_sse2): Use typeof __redirect_memmove.
8865 (__memmove_ssse3): Likewise.
8866 (__memmove_ssse3_back): Likewise.
8867 (__libc_memmove): New prototype.
8868 (memmove): Renamed to ...
8869 (__libc_memmove): This.
8870 (memmove): New strong alias of __libc_memmove.
8872 2012-08-08 Mark Salter <msalter@redhat.com>
8875 (R_MN10300_TLS_GD): Define.
8876 (R_MN10300_TLS_LD): Likewise.
8877 (R_MN10300_TLS_LDO): Likewise.
8878 (R_MN10300_TLS_GOTIE): Likewise.
8879 (R_MN10300_TLS_IE): Likewise.
8880 (R_MN10300_TLS_LE): Likewise.
8881 (R_MN10300_TLS_DTPMOD): Likewise.
8882 (R_MN10300_TLS_DTPOFF): Likewise.
8883 (R_MN10300_TLS_TPOFF): Likewise.
8884 (R_MN10300_SYM_DIFF): Likewise.
8885 (R_MN10300_ALIGN): Likewise.
8886 (R_MN10300_NUM): Update.
8888 2012-08-08 Joseph Myers <joseph@codesourcery.com>
8890 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8893 2012-08-08 Roland McGrath <roland@hack.frob.com>
8895 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8897 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8898 sysdeps/unix -> sysdeps/posix move.
8899 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8901 2012-08-07 Allan McRae <allan@archlinux.org>
8904 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8905 (SUNOS_CPP): Likewise.
8906 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8908 (open_input): Call CPP using execvp.
8910 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8912 * sysdeps/unix/sysv/linux/kernel-features.h
8913 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8914 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8915 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8916 (__ASSUME_WAITID_SYSCALL): Likewise.
8917 * sysdeps/unix/sysv/linux/dl-execstack.c
8918 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8920 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8922 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8923 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8924 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8926 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8928 [__ASSUME_WAITID_SYSCALL]: Likewise.
8929 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8931 2012-08-07 Roland McGrath <roland@hack.frob.com>
8933 * sysdeps/unix/closedir.c: Renamed to ...
8934 * sysdeps/posix/closedir.c: ... here.
8935 * sysdeps/unix/dirfd.c: Renamed to ...
8936 * sysdeps/posix/dirfd.c: ... here.
8937 * sysdeps/unix/dirstream.h: Renamed to ...
8938 * sysdeps/posix/dirstream.h: ... here.
8939 * sysdeps/unix/fdopendir.c: Renamed to ...
8940 * sysdeps/posix/fdopendir.c: ... here.
8941 * sysdeps/unix/opendir.c: Renamed to ...
8942 * sysdeps/posix/opendir.c: ... here.
8943 * sysdeps/unix/readdir.c: Renamed to ...
8944 * sysdeps/posix/readdir.c: ... here.
8945 * sysdeps/unix/readdir_r.c: Renamed to ...
8946 * sysdeps/posix/readdir_r.c: ... here.
8947 * sysdeps/unix/rewinddir.c: Renamed to ...
8948 * sysdeps/posix/rewinddir.c: ... here.
8949 * sysdeps/unix/seekdir.c: Renamed to ...
8950 * sysdeps/posix/seekdir.c: ... here.
8951 * sysdeps/unix/telldir.c: Renamed to ...
8952 * sysdeps/posix/telldir.c: ... here.
8953 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8954 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8955 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8956 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8958 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8959 * bits/fcntl.h: ... here.
8961 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8963 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8964 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8965 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8966 (struct flock): Move l_start, l_len to the beginning.
8967 Use __pid_t for l_pid.
8968 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8969 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8970 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8971 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8972 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8973 [__USE_LARGEFILE64] (struct flock64): New type.
8974 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8976 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8977 * bits/dirent.h: ... here.
8979 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8980 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8982 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8984 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8985 Change from 2.6.0 to 2.6.16.
8986 * sysdeps/unix/sysv/linux/configure: Regenerated.
8987 * sysdeps/unix/sysv/linux/kernel-features.h
8988 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8989 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8991 (__ASSUME_UTIMES): Likewise.
8992 (__ASSUME_CLONE_STOPPED): Remove.
8993 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8994 architectures, not kernel version.
8995 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8996 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8997 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8998 (__ASSUME_WAITID_SYSCALL): Likewise.
8999 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9000 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9001 * README: State 2.6.16 as minimum Linux kernel version. Do not
9002 refer to older versions.
9004 2012-08-06 Roland McGrath <roland@hack.frob.com>
9006 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9007 Define alphasort64 as an alias.
9008 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9009 Define versionsort64 as an alias.
9010 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9011 Define scandir64 as an alias.
9012 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9013 Define scandirat64 as an alias.
9014 * dirent/alphasort64.c (alphasort64):
9015 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9016 * dirent/versionsort64.c: Likewise.
9017 * dirent/scandir64.c: Likewise.
9018 * dirent/scandirat64.c: Likewise.
9019 * sysdeps/wordsize-64/alphasort.c: File removed.
9020 * sysdeps/wordsize-64/alphasort64.c: File removed.
9021 * sysdeps/wordsize-64/scandir.c: File removed.
9022 * sysdeps/wordsize-64/scandir64.c: File removed.
9023 * sysdeps/wordsize-64/scandirat.c: File removed.
9024 * sysdeps/wordsize-64/scandirat64.c: File removed.
9025 * sysdeps/wordsize-64/versionsort.c: File removed.
9026 * sysdeps/wordsize-64/versionsort64.c: File removed.
9027 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9028 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9029 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9030 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9031 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9032 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9033 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9034 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9036 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9037 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9038 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9039 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9040 [defined __arch64__ || defined __sparcv9]
9041 (__INO_T_MATCHES_INO64_T): New macro.
9042 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9043 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9044 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9045 * sysdeps/unix/sysv/linux/bits/dirent.h
9046 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9047 (_DIRENT_MATCHES_DIRENT64): New macro.
9049 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9050 Define lockf64 as an alias.
9051 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9052 Define fseeko64 as an alias.
9053 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9054 Define ftello64 as an alias.
9055 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9056 Define _IO_fgetpos64 and fgetpos64 as aliases.
9057 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9058 Define _IO_fsetpos64 and fsetpos64 as aliases.
9059 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9060 Conditionalize body on this.
9061 * libio/fseeko64.c: Likewise.
9062 * libio/ftello64.c: Likewise.
9063 * libio/iofgetpos64.c: Likewise.
9064 * libio/iofsetpos64.c: Likewise.
9065 * sysdeps/wordsize-64/lockf.c: File removed.
9066 * sysdeps/wordsize-64/lockf64.c: File removed.
9067 * sysdeps/wordsize-64/fseeko.c: File removed.
9068 * sysdeps/wordsize-64/fseeko64.c: File removed.
9069 * sysdeps/wordsize-64/ftello.c: File removed.
9070 * sysdeps/wordsize-64/ftello64.c: File removed.
9071 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9072 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9073 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9074 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9075 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9076 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9077 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9078 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9079 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9080 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9081 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9082 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9083 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9084 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9086 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9087 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9088 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9089 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9090 [defined __arch64__ || defined __sparcv9]
9091 (__OFF_T_MATCHES_OFF64_T): New macro.
9092 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9093 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9094 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9095 (__OFF_T_MATCHES_OFF64_T): New macro.
9097 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9099 * stdlib/secure-getenv.c (__secure_getenv): Replace
9100 GLIBC_2_16 with GLIBC_2_17.
9102 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9104 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9105 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9107 2012-08-03 David S. Miller <davem@davemloft.net>
9109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9111 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9113 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9115 (__ASSUME_CORRECT_SI_PID): Likewise.
9116 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9117 (__ASSUME_TMPFS_NAME): Likewise.
9118 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9119 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9120 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9121 (HAVE_AUX_SECURE): Make definition unconditional.
9122 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9123 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9125 2012-08-03 Roland McGrath <roland@hack.frob.com>
9127 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9128 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9129 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9130 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9131 __eloop_threshold instead of SYMLOOP_MAX.
9133 * sysdeps/generic/eloop-threshold.h: New file.
9134 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9136 * elf/chroot_canon.c (chroot_canon): Likewise.
9138 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9141 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9142 Change to 2.6.0 everywhere.
9143 * sysdeps/unix/sysv/linux/configure: Regenerated.
9144 * sysdeps/unix/sysv/linux/kernel-features.h
9145 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9146 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9148 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9149 (__ASSUME_FUTEX_REQUEUE): Remove.
9150 (__ASSUME_STATFS64): Define unconditionally.
9151 (__ASSUME_AT_SECURE): Likewise.
9152 (__ASSUME_CORRECT_SI_PID): Likewise.
9153 (__ASSUME_TGKILL): Define without depending on kernel version for
9155 (__ASSUME_UTIMES): Likewise.
9156 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9158 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9159 (__ASSUME_TMPFS_NAME): Likewise.
9160 * README: Update reference to Linux kernel versions.
9162 2012-08-02 Marek Polacek <polacek@redhat.com>
9165 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9166 libc_cv_asm_type_prefix with %.
9167 * configure: Regenerated.
9168 * include/libc-symbols.h: Remove comment about
9169 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9170 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9171 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9172 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9173 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9174 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9175 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9176 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9177 * elf/tst-unique2mod1.c: Likewise.
9178 * elf/tst-unique1mod2.c: Likewise.
9179 * elf/tst-unique1mod1.c: Likewise.
9180 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9181 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9182 Replace ASM_TYPE_DIRECTIVE with .type.
9183 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9184 * sysdeps/i386/sysdep.h: Likewise.
9185 * sysdeps/x86_64/sysdep.h: Likewise.
9186 * sysdeps/sh/sysdep.h: Likewise.
9187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9188 Do not define ASM_TYPE_DIRECTIVE.
9189 * sysdeps/powerpc/sysdep.h: Likewise.
9190 * sysdeps/powerpc/powerpc32/sysdep.h:
9191 Replace ASM_TYPE_DIRECTIVE with .type.
9192 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9193 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9194 * sysdeps/i386/fpu/e_powf.S: Likewise.
9195 * sysdeps/i386/fpu/e_expl.S: Likewise.
9196 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9197 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9198 * sysdeps/i386/fpu/e_pow.S: Likewise.
9199 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9200 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9201 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9202 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9203 * sysdeps/i386/fpu/e_log2.S: Likewise.
9204 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9205 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9206 * sysdeps/i386/fpu/e_powl.S: Likewise.
9207 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9208 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9209 * sysdeps/i386/fpu/e_logl.S: Likewise.
9210 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9211 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9212 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9213 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9214 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9215 * sysdeps/i386/fpu/e_log.S: Likewise.
9216 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9217 * sysdeps/i386/fpu/e_logf.S: Likewise.
9218 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9219 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9220 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9221 * sysdeps/i386/fpu/e_log10.S: Likewise.
9222 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9223 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9224 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9225 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9226 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9227 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9228 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9229 * sysdeps/i386/i686/strtok.S: Likewise.
9230 * sysdeps/i386/i386-mcount.S: Likewise.
9231 * sysdeps/i386/strtok.S: Likewise.
9232 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9233 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9234 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9235 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9236 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9237 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9238 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9239 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9240 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9241 * sysdeps/x86_64/_mcount.S: Likewise.
9242 * sysdeps/x86_64/strtok.S: Likewise.
9243 * sysdeps/sh/_mcount.S: Likewise.
9245 2012-08-01 Roland McGrath <roland@hack.frob.com>
9247 * libio/iofopen.c: Include <fcntl.h>.
9248 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9249 (_IO_fopen64, fopen64): Define as aliases.
9250 * libio/iofopen64.c: Include <fcntl.h>.
9251 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9252 Conditionalize body on this.
9253 * sysdeps/wordsize-64/iofopen.c: File removed.
9254 * sysdeps/wordsize-64/iofopen64.c: File removed.
9256 2012-08-01 Marek Polacek <polacek@redhat.com>
9258 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9259 Use dlfcn directly instead of a variable.
9260 (binfmt-subdir): Do not define.
9263 2012-08-01 Joseph Myers <joseph@codesourcery.com>
9265 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9266 Remove all definitions.
9267 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9268 <kernel-features.h>.
9269 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9270 (miss_F_GETOWN_EX): Remove all definitions.
9271 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9273 [!__ASSUME_FCNTL64]: Remove conditional code.
9274 [__ASSUME_FCNTL64]: Make code unconditional.
9275 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9276 <kernel-features.h>.
9277 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9278 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9279 (lockf64) [__NR_fcntl64]: Make code unconditional.
9280 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9282 * sysdeps/unix/sysv/linux/kernel-features.h
9283 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9284 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9285 Make code unconditional.
9286 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9287 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9289 [__NR_vfork]: Make code unconditional.
9290 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9291 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9293 [__NR_vfork]: Make code unconditional.
9294 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9295 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9297 2012-08-01 Roland McGrath <roland@hack.frob.com>
9299 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9300 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9302 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9303 Define mkstemp64 as an alias.
9304 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9305 Define mkstemps64 as an alias.
9306 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9307 Define mkostemp64 as an alias.
9308 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9309 Define mkostemps64 as an alias.
9310 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9311 Conditionalize body on this.
9312 * misc/mkostemp64.c: Likewise.
9313 * misc/mkostemps64.c: Likewise.
9314 * misc/mkstemps64.c: Likewise.
9315 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9316 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9317 * sysdeps/wordsize-64/mkostemp.c: File removed.
9318 * sysdeps/wordsize-64/mkstemp.c: File removed.
9319 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9320 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9321 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9322 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9325 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9326 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9327 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9328 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9330 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9331 compat_symbol macros from <shlib-compat.h> rather than the underlying
9332 default_symbol_version and symbol_version macros, so that DEFAULT
9333 lines in shlib-versions are respected.
9334 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9336 2012-08-01 Florian Weimer <fweimer@redhat.com>
9338 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9339 Declare with warn_unused_result.
9340 (setgid, setregid, setegid, setresgid): Likewise.
9341 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9343 * WUR-REPORT: Remove set*id functions.
9345 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9347 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9349 2012-07-31 Roland McGrath <roland@hack.frob.com>
9351 * include/sys/socket.h (__libc_accept, __libc_accept4):
9352 Add attribute_hidden.
9353 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9355 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9357 * inet/getnetgrent_r.c (setup): Likewise.
9359 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9361 2012-07-31 David S. Miller <davem@davemloft.net>
9363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9365 2012-07-31 Joseph Myers <joseph@codesourcery.com>
9368 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9369 value between 1.0 and 2.0 and smaller part has absolute value less
9371 * math/s_clog10.c (__clog10): Likewise.
9372 * math/s_clog10f.c (__clog10f): Likewise.
9373 * math/s_clog10l.c (__clog10l): Likewise.
9374 * math/s_clogf.c (__clogf): Likewise.
9375 * math/s_clogl.c (__clogl): Likewise.
9376 * math/libm-test.inc (clog_test): Add more tests.
9377 (clog10_test): Likewise.
9378 * sysdeps/i386/fpu/libm-test-ulps: Update.
9379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9381 2012-07-31 Florian Weimer <fweimer@redhat.com>
9383 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9384 Exit with zero in case no suitable GID is found, and write a
9385 message to standard error.
9387 2012-07-30 Roland McGrath <roland@hack.frob.com>
9389 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9391 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9392 (MAXPATHLEN): Removed.
9393 (NOGROUP, NODEV): New macros.
9394 (setbit, clrbit, isset, isclr): New macros.
9395 (howmany, roundup, powerof2): New macros.
9396 (DEV_BSIZE): New macro.
9398 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9399 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9401 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9402 definition on [!__NO_LONG_DOUBLE_MATH].
9404 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9405 PTR_MANGLE and PTR_DEMANGLE.
9407 * socket/accept4.c (accept4): Rename to __libc_accept4.
9408 Define accept4 as a weak alias.
9410 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9411 on [_DIRENT_HAVE_D_TYPE].
9412 * io/ftw.c (ftw_dir): Likewise.
9414 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9416 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9418 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9419 Use the BSD numbers rather than the arbitrary ones we had.
9420 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9421 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9422 (SIGXCPU, SIGXFSZ): New macros.
9425 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9426 initializer on [_LIBC_REENTRANT].
9428 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9429 definitions inside [_POSIX_MAPPED_FILES].
9431 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9433 * dirent/opendir.c: Include <fcntl.h>.
9435 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9436 (__libc_getspecific): Likewise.
9437 (__libc_key_create): Likewise.
9439 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9440 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9441 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9442 (tmpfile64): Define as alias.
9443 * sysdeps/wordsize-64/tmpfile.c: File removed.
9444 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9445 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9446 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9448 * stdio-common/vfscanf.c: Include <stdbool.h>.
9449 * nss/makedb.c: Likewise.
9450 * stdio-common/_i18n_number.h: Likewise.
9451 * argp/argp-help.c: Likewise.
9452 * posix/wordexp.c: Likewise.
9453 * sysdeps/posix/spawni.c: Likewise.
9454 * nss/nss_files/files-initgroups.c: Likewise.
9455 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9456 * nss/nss_files/files-initgroups.c: Likewise.
9457 * nss/nss_db/db-netgrp.c: Likewise.
9458 * nss/nss_db/db-initgroups.c: Likewise.
9459 * io/fchmodat.c: Include <sys/stat.h>.
9461 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9462 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9464 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9467 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9468 Add multiple inclusion protection.
9470 2012-07-27 David S. Miller <davem@davemloft.net>
9472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9474 2012-07-27 Gary Benson <gbenson@redhat.com>
9477 * elf/rtld.c: Include <stap-probe.h>.
9478 (dl_main): Added static probes "init_start" and "init_complete".
9479 * elf/dl-load.c: Include <stap-probe.h>.
9480 (lose): Take new parameter "nsid".
9481 Added static probe "map_failed".
9482 (_dl_map_object_from_fd): Pass namespace id to lose.
9483 Added static probe "map_start".
9484 (open_verify): Pass namespace id to lose.
9485 * elf/dl-open.c: Include <stap-probe.h>.
9486 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9487 and "reloc_complete".
9488 * elf/dl-close.c: Include <stap-probe.h>.
9489 (_dl_close_worker): Added static probes "unmap_start" and
9491 * elf/rtld-debugger-interface.txt: New file documenting the above.
9493 2012-07-26 Roland McGrath <roland@hack.frob.com>
9495 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9496 rather than a string variable.
9497 * sunrpc/rpc_main.c (h_output): Likewise.
9498 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9500 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9502 * inet/check_native.c: New file.
9504 2012-07-26 Joseph Myers <joseph@codesourcery.com>
9507 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9508 if larger part has absolute value 1.0.
9509 * math/s_clog10.c (__clog10): Likewise.
9510 * math/s_clog10f.c (__clog10f): Likewise.
9511 * math/s_clog10l.c (__clog10l): Likewise.
9512 * math/s_clogf.c (__clogf): Likewise.
9513 * math/s_clogl.c (__clogl): Likewise.
9514 * math/libm-test.inc (clog_test): Add more tests.
9515 (clog10_test): Likewise.
9516 * sysdeps/i386/fpu/libm-test-ulps: Update.
9517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9519 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9520 (pltexit): Likewise.
9521 (La_regs): Likewise.
9522 (La_retval): Likewise.
9523 (int_retval): Likewise.
9524 Update #error for removed macros to refer only to definitions in
9526 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9528 (pltexit): Likewise.
9529 (La_regs): Likewise.
9530 (La_retval): Likewise.
9531 (int_retval): Likewise.
9532 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9534 (pltexit): Likewise.
9535 (La_regs): Likewise.
9536 (La_retval): Likewise.
9537 (int_retval): Likewise.
9538 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9540 (pltexit): Likewise.
9541 (La_regs): Likewise.
9542 (La_retval): Likewise.
9543 (int_retval): Likewise.
9544 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9546 (pltexit): Likewise.
9547 (La_regs): Likewise.
9548 (La_retval): Likewise.
9549 (int_retval): Likewise.
9550 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9552 (pltexit): Likewise.
9553 (La_regs): Likewise.
9554 (La_retval): Likewise.
9555 (int_retval): Likewise.
9556 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9558 (pltexit): Likewise.
9559 (La_regs): Likewise.
9560 (La_retval): Likewise.
9561 (int_retval): Likewise.
9562 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9563 macro definitions in tst-audit.h.
9564 * sysdeps/i386/tst-audit.h: New file.
9565 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9566 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9567 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9568 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9569 * sysdeps/sh/tst-audit.h: Likewise.
9570 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9571 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9572 * sysdeps/x86_64/tst-audit.h: Likewise.
9574 2012-07-26 Andreas Jaeger <aj@suse.de>
9576 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9579 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9580 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9581 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9583 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9584 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9585 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9587 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9590 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9592 (si_call_addr, si_syscall, si_arch): Define new macro.
9593 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9595 (si_call_addr, si_syscall, si_arch): Define new marcro.
9596 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9598 (si_call_addr, si_syscall, si_arch): Define new macro.
9599 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9601 (si_call_addr, si_syscall, si_arch): Define new macro.
9603 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9606 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9607 Change to 2.4.21 where previously 2.4.1.
9608 * sysdeps/unix/sysv/linux/configure: Regenerated.
9609 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9610 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9611 Linux kernel version.
9612 (__ASSUME_STD_AUXV): Remove.
9613 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9615 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9616 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9617 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9618 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9619 (__ASSUME_NETLINK_SUPPORT): Likewise.
9620 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9621 (__no_netlink_support): Remove conditional definition.
9622 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9624 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9625 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9626 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9627 (if_nameindex_ioctl): Remove.
9628 (if_nameindex_netlink): Do not handle __no_netlink_support.
9629 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9631 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9632 Remove conditional code.
9633 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9635 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9637 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9638 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9639 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9641 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9642 [!__ASSUME_STD_AUXV]: Remove conditional code.
9643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9644 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9645 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9647 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9648 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9650 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9652 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9653 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9655 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9657 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9660 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9663 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9665 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9667 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9669 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9672 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9674 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9677 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9679 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9681 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9683 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9686 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9688 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9690 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9692 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9695 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9697 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9698 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9699 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9700 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9701 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9702 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9703 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9704 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9705 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9706 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9707 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9708 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9709 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9710 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9711 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9712 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9713 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9714 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9715 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9716 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9717 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9718 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9719 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9721 2012-07-25 Florian Weimer <fweimer@redhat.com>
9723 * Versions.def: Add GLIBC_2.17.
9724 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9725 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9726 Introduce __libc_secure_getenv.
9727 * stdlib/Versions (2.17): Add secure_getenv
9728 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9729 * stdlib/secure-getenv.c: Rename __secure_getenv to
9730 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9731 symbol __secure_getenv for GLIBC_2.0.
9732 * stdlib/tst-secure-getenv.c: New.
9733 * stdlib/Makefile (tests): Add testcase.
9734 * manual/startup.texi (Environment Access): Document
9736 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9737 __libc_secure_getenv.
9738 * inet/ruserpass.c (ruserpass): Likewise.
9739 * malloc/mtrace.c (mtrace): Likewise.
9740 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9741 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9742 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9743 * sysdeps/posix/tempname.c: Likewise. Evaluate
9745 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9746 __secure_getenv to __libc_secure_getenv.
9747 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9754 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9760 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9762 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9763 (struct La_i86_retval): Likewise.
9764 (struct La_x86_64_regs): Likewise.
9765 (struct La_x86_64_retval): Likewise.
9766 (struct La_x32_regs): Likewise.
9767 (struct La_x32_retval): Likewise.
9768 (struct La_ppc32_regs): Likewise.
9769 (struct La_ppc32_retval): Likewise.
9770 (struct La_ppc64_regs): Likewise.
9771 (struct La_ppc64_retval): Likewise.
9772 (struct La_sh_regs): Likewise.
9773 (struct La_sh_retval): Likewise.
9774 (struct La_s390_32_regs): Likewise.
9775 (struct La_s390_32_retval): Likewise.
9776 (struct La_s390_64_regs): Likewise.
9777 (struct La_s390_64_retval): Likewise.
9778 (struct La_sparc32_regs): Likewise.
9779 (struct La_sparc32_retval): Likewise.
9780 (struct La_sparc64_regs): Likewise.
9781 (struct La_sparc64_retval): Likewise.
9782 (struct audit_ifaces): Remove architecture-specific pltenter and
9784 * sysdeps/i386/ldsodefs.h: New file.
9785 * sysdeps/powerpc/ldsodefs.h: Likewise.
9786 * sysdeps/s390/ldsodefs.h: Likewise.
9787 * sysdeps/sh/ldsodefs.h: Likewise.
9788 * sysdeps/sparc/ldsodefs.h: Likewise.
9789 * sysdeps/x86_64/ldsodefs.h: Likewise.
9791 2012-07-25 Marek Polacek <polacek@redhat.com>
9794 * math/libm-test.inc (yn_test): Add another test.
9795 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9796 to ERANGE when the result is +-Inf.
9797 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9798 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9799 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9800 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9802 2012-07-24 Joseph Myers <joseph@codesourcery.com>
9804 * conform/data/time.h-data (NULL): Use macro-constant. Require
9806 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9808 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9810 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9812 * configure.in <sysdeps resolving>: Correct printing
9814 * configure: Regenerate.
9816 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9818 * math/w_ilogb.c: Include <limits.h>.
9819 * math/w_ilogbl.c: Likewise.
9821 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9823 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9824 va_copy. Document allowing for unavailable va_copy only as
9825 pre-C99 compatibility.
9826 * manual/string.texi (Copying and Concatenation): Use va_copy
9827 instead of __va_copy in concat example.
9829 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9831 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9832 (__sendto): Use create_address_port. Initialize APORT and deallocate
9835 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9836 with O_NOLINK passed to __file_name_lookup.
9838 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9839 with O_NOLINK passed to __file_name_lookup.
9841 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9842 negative N or less than NGIDS.
9844 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9845 type to string_t. Set ERANGE as errno and return it if NAME is not big
9846 enough. Use memcpy instead of strncpy.
9848 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9850 * elf/Makefile (check-data): Remove.
9851 (localplt.data): New vpath directive.
9852 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9853 instead of $(check-data).
9854 * scripts/data/localplt-generic.data: Move to ...
9855 * sysdeps/generic/localplt.data: ... here.
9856 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9857 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9858 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9861 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9864 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9867 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9870 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9873 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9877 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9879 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9880 PPC32 and PPC64 files.
9881 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9882 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9884 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9886 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9887 __makecontext_ret to ...
9888 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9889 ... here and call exit if uc_link is NULL. New file.
9890 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9891 __makecontext_ret.S.
9892 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9893 __makecontext_ret to ...
9894 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9895 ... here and call exit if uc_link is NULL. New file.
9896 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9897 __makecontext_ret.S.
9899 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9901 * elf/elf.h (R_390_IRELATIVE): New definition.
9902 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9903 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9904 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9905 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9906 (elf_machine_lazy_rel): Likewise.
9907 * sysdeps/s390/dl-irel.h: New file.
9908 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9909 * sysdeps/s390/s390-64/memset.S: New asm code.
9910 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9911 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9912 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9913 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9914 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9915 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9916 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9917 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9918 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9919 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9920 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9921 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9922 * sysdeps/s390/s390-32/memset.S: New asm code.
9923 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9925 2012-07-17 Marek Polacek <polacek@redhat.com>
9928 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9929 * sysdeps/s390/s390-64/configure.in: Likewise.
9930 * sysdeps/sparc/configure.in: Likewise.
9931 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9932 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9933 * sysdeps/i386/configure.in: Likewise.
9934 * sysdeps/x86_64/configure.in: Likewise.
9935 * sysdeps/sh/configure.in: Likewise.
9936 * sysdeps/s390/s390-32/configure: Regenerated.
9937 * sysdeps/s390/s390-64/configure: Likewise.
9938 * sysdeps/x86_64/configure: Likewise.
9939 * sysdeps/sh/configure: Likewise.
9940 * sysdeps/powerpc/powerpc64/configure: Likewise.
9941 * sysdeps/powerpc/powerpc32/configure: Likewise.
9942 * sysdeps/sparc/configure: Likwise.
9943 * sysdeps/i386/configure: Likewise.
9945 * elf/dl-open.c: Comment fixes.
9947 2012-07-17 Joseph Myers <joseph@codesourcery.com>
9949 * Makefile [CXX] (check-data): Remove.
9950 [CXX] (c++-types.data): New vpath directive.
9951 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9952 vpath. Do not allow for C++ type data being missing.
9953 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9954 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9955 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9956 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9957 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9958 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9959 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9962 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9965 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9968 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9971 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9974 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9977 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9980 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9983 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9984 definitions to architecture-specific files.
9988 * sysdeps/i386/tls-macros.h: New file.
9989 * sysdeps/powerpc/tls-macros.h: Likewise.
9990 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9991 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9992 * sysdeps/sh/tls-macros.h: Likewise.
9993 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9994 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9995 * sysdeps/x86_64/tls-macros.h: Likewise.
9997 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9999 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10000 zero value for regular exit case.
10002 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10003 (__start_context): Preserve zero value for regular exit case.
10005 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10006 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10008 * manual/setjmp.texi (setcontext): Clarify normal process
10009 termination when uc_link is the null pointer.
10010 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10013 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10015 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10016 preprocessor. Test for each exception mask separately.
10018 2012-07-16 Andreas Jaeger <aj@suse.de>
10020 * po/ru.po: Update from translation team.
10022 2012-07-15 Joseph Myers <joseph@codesourcery.com>
10024 * conform/data/string.h-data (NULL): Use macro-constant. Require
10026 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10027 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10028 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10029 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10030 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10032 2012-07-13 Andreas Jaeger <aj@suse.de>
10034 * po/fr.po: Update from translation team.
10036 2012-07-12 Marek Polacek <polacek@redhat.com>
10039 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10040 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10043 2012-07-12 Joseph Myers <joseph@codesourcery.com>
10046 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10047 Change to 2.4.1 where previously 2.4.0.
10048 * sysdeps/unix/sysv/linux/configure: Regenerated.
10049 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10050 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10052 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10053 (__ASSUME_AT_CLKTCK): Remove.
10054 (__ASSUME_AT_PAGESIZE): Likewise.
10055 (__ASSUME_AT_XID): Likewise.
10056 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10057 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10058 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10060 (HAVE_AUX_PAGESIZE): Likewise.
10061 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10062 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10063 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10065 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10069 the temporary buffer used to invoke __gethostbyname2_r,
10070 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10071 host_data / struct gaih_addrtuple.
10072 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10073 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10074 header file nss/nsswitch.h.
10075 * nss/nsswitch.h (global scope): Add definition of implementation
10076 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10077 resolv/nss_dns/dns-host.c).
10079 2012-07-11 Andreas Jaeger <aj@suse.de>
10081 * po/fr.po: Update from translation team.
10083 * po/sv.po: Update from translation team
10084 * po/fr.po: Another update from translation team.
10086 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10088 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10089 for subnormals or multiply small sinh result by itself.
10090 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10093 2012-07-11 David S. Miller <davem@davemloft.net>
10095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10097 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10100 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10101 (INTERNAL_MARK): Shift it here.
10103 2012-07-10 Marek Polacek <polacek@redhat.com>
10106 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10107 libc_cv_asm_global_directive with .globl.
10108 * configure: Regenerated.
10109 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10111 * sysdeps/i386/configure: Regenerated.
10112 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10114 * sysdeps/x86_64/configure: Regenerated.
10115 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10116 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10117 * elf/tst-unique2mod2.c: Likewise.
10118 * elf/tst-unique2mod1.c: Likewise.
10119 * elf/tst-unique1mod2.c: Likewise.
10120 * elf/tst-unique1mod1.c: Likewise.
10121 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10122 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10123 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10124 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10125 * sysdeps/mach/sysdep.h: Likewise.
10126 * sysdeps/i386/sysdep.h: Likewise.
10127 * sysdeps/i386/i386-mcount.S: Likewise.
10128 * sysdeps/x86_64/_mcount.S: Likewise.
10129 * sysdeps/x86_64/sysdep.h: Likewise.
10130 * sysdeps/sh/_mcount.S: Likewise.
10131 * sysdeps/sh/sysdep.h: Likewise.
10132 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10133 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10134 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10135 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10136 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10137 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10138 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10139 * locale/localeinfo.h: Likewise.
10140 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10141 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10143 2012-07-09 Roland McGrath <roland@hack.frob.com>
10146 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10148 * manual/message.texi (The Uniforum approach): Likewise.
10149 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10150 (glibc iconv Implementation): Likewise.
10152 2012-07-09 Joseph Myers <joseph@codesourcery.com>
10155 * math/s_clog.c (__clog): Avoid scaling a value down where that
10156 could result in underflow.
10157 * math/s_clog10.c (__clog10): Likewise.
10158 * math/s_clog10f.c (__clog10f): Likewise.
10159 * math/s_clog10l.c (__clog10l): Likewise.
10160 * math/s_clogf.c (__clogf): Likewise.
10161 * math/s_clogl.c (__clogl): Likewise.
10162 * math/libm-test.inc (clog_test): Add more tests.
10163 (clog10_test): Likewise.
10164 * sysdeps/i386/fpu/libm-test-ulps: Update.
10165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10167 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10170 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10171 by 7 not 8 to examine high bit of fractional part.
10174 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10175 for call to __mcount_internal.
10176 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10177 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10178 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10180 2012-07-06 Joseph Myers <joseph@codesourcery.com>
10183 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10184 approximation for values within 0x1p-13f of an odd multiple of
10186 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10187 exception. Add more tests.
10188 * sysdeps/i386/fpu/libm-test-ulps: Update.
10191 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10192 inputs and return -1 for them. Do not check for +Inf in case not
10193 reachable for +Inf.
10194 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10195 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10196 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10197 and return -1 for them. Do not check for +Inf in case not
10198 reachable for +Inf.
10199 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10201 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10202 and return -1 for them. Do not check for +Inf in case not
10203 reachable for +Inf.
10204 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10205 spurious underflow.
10206 * sysdeps/i386/fpu/libm-test-ulps: Update.
10207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10209 2012-07-06 Mike Frysinger <vapier@gentoo.org>
10211 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10213 2012-07-05 Joseph Myers <joseph@codesourcery.com>
10217 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10218 could result in spurious underflow. Scale down values above
10219 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10220 * math/s_csqrtf.c (__csqrtf): Likewise.
10221 * math/s_csqrtl.c (__csqrtl): Likewise.
10222 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10223 spurious underflow.
10224 * sysdeps/i386/fpu/libm-test-ulps: Update.
10225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10227 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10229 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10231 * catgets/xopen-msg.awk: New file.
10232 * catgets/xopen-msg.sed: Removed.
10234 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10236 * intl/po2test.awk: New file.
10237 * intl/po2test.sed: Removed.
10239 2012-07-04 Joseph Myers <joseph@codesourcery.com>
10242 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10243 or multiply small sinh result by itself.
10244 * math/s_ctanf.c (__ctanf): Likewise.
10245 * math/s_ctanh.c (__ctanh): Likewise.
10246 * math/s_ctanhf.c (__ctanhf): Likewise.
10247 * math/s_ctanhl.c (__ctanhl): Likewise.
10248 * math/s_ctanl.c (__ctanl): Likewise.
10249 * math/libm-test.inc (ctan_test_tonearest): New function.
10250 (ctan_test_towardzero): Likewise.
10251 (ctan_test_downward): Likewise.
10252 (ctan_test_upward): Likewise.
10253 (ctanh_test_tonearest): Likewise.
10254 (ctanh_test_towardzero): Likewise.
10255 (ctanh_test_downward): Likewise.
10256 (ctanh_test_upward): Likewise.
10257 (main): Call these new functions.
10258 * sysdeps/i386/fpu/libm-test-ulps: Update.
10259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10261 2012-07-03 Mike Frysinger <vapier@gentoo.org>
10263 * .gitignore: Delete /ports entry.
10265 2012-07-03 Andreas Jaeger <aj@suse.de>
10267 * po/bg.po: Update from translation team.
10268 * po/cs.po: Likewise.
10269 * po/de.po: Likewise.
10270 * po/hr.po: Likewise.
10271 * po/nl.pl: Likewise.
10272 * po/pl.po: Likewise.
10273 * po/vi.po: Likewise.
10275 2012-07-03 Joseph Myers <joseph@codesourcery.com>
10277 * Makeconfig [!+link] (+link-before-libc): New variable.
10278 [!+link] (+link-after-libc): Likewise.
10279 [!+link] (+link-tests): Likewise.
10280 [!+link] (+link): Define in terms of $(+link-before-libc) and
10281 $(+link-after-libc).
10282 [!+link-static] (+link-static-before-libc): New variable.
10283 [!+link-static] (+link-static-after-libc): Likewise.
10284 [!+link-static] (+link-static-tests): Likewise.
10285 [!+link-static] (+link-static): Define in terms of
10286 $(+link-static-before-libc) and $(+link-static-after-libc).
10287 [build-shared] (link-libc-before-gnulib): New variable.
10288 [build-shared] (link-libc-tests): Likewise.
10289 [build-shared] (link-libc): Define in terms of
10290 $(link-libc-before-gnulib).
10291 [!build-shared] (link-libc-tests): New variable.
10292 (link-libc-static-tests): New variable.
10293 [!gnulib] (gnulib-arch): New variable.
10294 [!gnulib] (gnulib-tests): Likewise.
10295 [!gnulib] (static-gnulib-arch): Likewise.
10296 [!gnulib] (static-gnulib-tests): Likewise.
10297 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10298 Define with "=" instead of ":=".
10299 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10300 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10301 * Rules (binaries-all-notests): New variable.
10302 (binaries-all-tests): Likewise.
10303 (binaries-static-notests): Likewise.
10304 (binaries-static-tests): Likewise.
10305 (binaries-all): Define using $(binaries-all-notests) and
10306 $(binaries-all-tests).
10307 (binaries-static): Define using $(binaries-static-notests) and
10308 $(binaries-static-tests).
10309 (binaries-shared-tests): New variable.
10310 (binaries-shared-notests): Likewise.
10311 (binaries-shared): Remove variable.
10312 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10313 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10314 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10315 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10316 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10317 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10318 * elf/Makefile (sln-modules): New variable.
10319 (extra-objs): Add $(sln-modules:=.o).
10320 (ldconfig-modules): Add static-stubs.
10321 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10322 * elf/static-stubs.c: New file.
10325 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10326 by 7 not 8 to examine high bit of fractional part. Use volatile
10327 variables when splitting into final array of floats if
10328 __FLT_EVAL_METHOD__ != 0.
10329 * math/libm-test.inc (cos_test): Add another test.
10330 (sin_test): Likewise.
10331 * sysdeps/i386/fpu/libm-test-ulps: Update.
10334 * math/libm-test.inc (cosh_test): Add more tests.
10336 * version.h (RELEASE): Set to "development".
10337 (VERSION): Set to "2.16.90".
10339 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10341 * NEWS: Update copyright. Remove last-updated date.
10342 Mention math library bug fixes and timezone data changes.
10343 * README: Mention GNU/Hurd, x32, and HPPA support status.
10345 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10347 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10349 2012-06-27 Andreas Jaeger <aj@suse.de>
10351 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10353 2012-06-25 Andreas Jaeger <aj@suse.de>
10355 * sysdeps/s390/fpu/libm-test-ulps: Update.
10357 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10358 Thomas Schwinge <thomas@codesourcery.com>
10360 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10361 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10362 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10365 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10367 * sysdeps/mach/start.c: Remove file.
10368 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10369 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10370 * sysdeps/sh/init-first.c: Likewise.
10372 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10373 registers for frame unwinding purposes, add CFI directives.
10374 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10375 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10376 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10379 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10380 __fortify_fail returning.
10381 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10383 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10384 sysdeps/sh/____longjmp_chk.S.
10385 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10386 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10387 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10388 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10390 * sysdeps/sh/abort-instr.h: New file.
10391 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10392 process in case exit returns.
10394 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10395 initialize the GOT register before use.
10397 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10398 calculation of ARGC > 4.
10400 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10401 meaningful names to some local labels.
10403 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10404 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10406 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10407 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10408 (__arch_compare_and_exchange_val_16_acq): Likewise.
10409 (__arch_compare_and_exchange_val_32_acq): Likewise.
10410 (atomic_exchange_and_add): Fix gUSA sequence.
10411 (atomic_add): Likewise.
10412 (atomic_add_negative): Likewise.
10413 (atomic_add_zero): Likewise.
10414 (atomic_bit_test_set): Likewise.
10416 2012-06-22 Andreas Schwab <schwab@redhat.com>
10419 * include/link.h (struct link_map): Add l_free_initfini.
10420 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10422 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10423 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10424 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10427 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10429 * configure.in: Use AC_LANG_SOURCE.
10430 * configure: Regenerate.
10432 2012-06-22 Roland McGrath <roland@hack.frob.com>
10434 * configure.in (libc_cv_localstatedir): New substituted variable.
10435 * configure: Regenerated.
10436 * config.make.in (localstatedir): New variable, substituted from
10437 libc_cv_localstatedir.
10438 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10439 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10440 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10441 * sysdeps/gnu/configure: Regenerated.
10443 2012-06-21 Jeff Law <law@redhat.com>
10446 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10447 free. Simplify list management for _LIBC case.
10449 2012-06-21 Joseph Myers <joseph@codesourcery.com>
10452 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10453 Clear sign bit of 64-bit integer value before comparing against
10456 * sysdeps/mach/configure: Regenerated.
10458 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10461 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10463 2012-06-21 Jeff Law <law@redhat.com>
10466 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10467 uint16_t for elements in the "seen" array to avoid char overflows.
10468 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10469 * elf/dl-open.c (dl_open_worker): Likewise.
10471 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10473 * scripts/list-sources.sh: Scan PORTS for translations.
10474 * po/libc.pot: Regenerated.
10476 2012-06-21 Andreas Jaeger <aj@suse.de>
10479 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10481 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10482 * bits/byteswap-16.h (__bswap_16): Likewise.
10483 * bits/byteswap.h (__bswap_constant_16): Likewise.
10485 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10488 * sysdeps/i386/fpu_control.h: Removed.
10489 * sysdeps/x86_64/fpu_control.h: Moved to ...
10490 * sysdeps/x86/fpu_control.h: Here.
10492 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10493 (_FPU_SETCW): Likewise.
10495 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10498 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10499 * sysdeps/x86/fpu/bits/mathinline.h: This.
10500 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10504 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10505 functions if __x86_64__ is defined.
10507 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10509 * string/endian.h: Add !__ASSEMBLER__ condition for including
10510 conversion interfaces.
10512 2012-06-15 Joseph Myers <joseph@codesourcery.com>
10515 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10516 of ABS(x) in calculating zero to negative powers other than odd
10518 * math/libm-test.inc (pow_test): Add more tests.
10520 2012-06-15 Andreas Jaeger <aj@suse.de>
10522 * manual/contrib.texi (Contributors): Update entry of Liubov
10523 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10526 2012-06-15 Cyril Hrubis <metan@ucw.cz>
10528 * string/string.h: Add __wur to GNU version of strerror_r.
10530 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10533 * string/Makefile (tests): Add tst-strtok_r.
10534 * string/tst-strtok_r.c: New file.
10535 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10536 RAX_LP/RDX_LP on SAVE_PTR.
10538 2012-06-14 Roland McGrath <roland@hack.frob.com>
10540 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10542 2012-06-14 Joseph Myers <joseph@codesourcery.com>
10544 * libm_test.inc (csqrt_test): Allow more spurious underflow
10546 (j0_test): Likewise.
10547 (j1_test): Likewise.
10548 (y0_test): Likewise.
10549 (y1_test): Likewise.
10551 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10553 * po/Makefile (libc.pot): Use UTF-8 charset.
10555 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10558 Suppress sign-conversion warning from FD_SET.
10559 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10560 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10561 not unsigned long int.
10562 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10564 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10568 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10569 __extern_always_inline instead of __extern_inline.
10570 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10571 (__signbit): Likewise.
10572 (__signbitl): Support C++ namespace.
10573 (lrintf): New inline function.
10575 (llrintf): Likewise.
10576 (llrint): Likewise.
10586 (floorf): Likewise.
10587 (nearbyint): Likewise.
10588 (nearbyintf): Likewise.
10590 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10592 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10593 non-default versions.
10595 2012-06-11 Roland McGrath <roland@hack.frob.com>
10598 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10600 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10602 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10603 (FE_UPWARD, FE_DOWNWARD): Don't define.
10604 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10605 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10607 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10609 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10610 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10612 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10614 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10615 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10616 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10617 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10619 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10622 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10623 * sysdeps/i386/fpu/Implies: New file.
10624 * sysdeps/x86_64/fpu/Implies: Likewise.
10625 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10626 * sysdeps/x86/fpu/bits/fenv.h: This.
10628 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10631 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10634 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10635 character 0xffff that matches the last element of the
10638 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10640 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10643 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10645 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10646 values higher than 25.6283.
10648 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10650 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10651 subnormal exponent extraction and add some __builtin_expect.
10652 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10653 Fix for subnormal mantissa calculation.
10655 2012-06-04 Mike Frysinger <vapier@gentoo.org>
10657 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10658 cpu2 is -1 and errno is not ENOSYS.
10660 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10663 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10664 * sysdeps/x86/bits/string.h: This.
10665 * sysdeps/x86_64/bits/string.h: Removed.
10667 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10668 if not compiling for x86-64, but compiling for >= i486.
10670 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10671 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10673 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10674 New macro from Linux kernel 3.4.0.
10675 (FP_XSTATE_MAGIC2): Likewise.
10676 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10677 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10678 (struct _fpx_sw_bytes): New struct.
10679 (struct _xsave_hdr): Likewise.
10680 (struct _ymmh_state): Likewise.
10681 (struct _xstate): Likewise.
10683 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10684 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10685 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10686 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10687 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10688 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10690 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10691 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10692 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10693 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10694 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10695 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10697 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10700 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10701 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10702 (sysdep_headers): Include sys/platform/ppc.h.
10703 * sysdeps/powerpc/test-gettimebase.c: Test for
10704 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10705 * manual/Makefile (appendices): Include platform.texi.
10706 * manual/contrib.texi (Contributors): Update @node pointers.
10707 * manual/maint.texi (Maintenance): Likewise.
10708 (Platform): New node.
10709 * manual/platform.texi: New file. Document the new features.
10711 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10712 Jakub Jelinek <jakub@redhat.com>
10715 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10716 where __builtin_expect is unavailable.
10718 2012-06-03 David S. Miller <davem@davemloft.net>
10720 * stdlib/longlong.h: Updated from GCC.
10722 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10725 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10726 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10729 (GLIBC_2.16): Likewise.
10731 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10733 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10735 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10738 (default-abi): New variable.
10739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10740 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10742 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10744 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10746 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10749 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10750 definition. Document in comment.
10752 2012-06-01 David S. Miller <davem@davemloft.net>
10754 * stdlib/longlong.h: Updated from GCC.
10756 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10759 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10760 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10761 sys/debugreg.h sys/io.h here.
10762 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10763 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10765 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10766 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10767 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10768 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10769 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10770 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10772 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10773 Define only if __x86_64__ is defined.
10775 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10778 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10779 Use int64_t for variable i.
10780 * math/libm-test.inc (fmod_test): Add more tests.
10782 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10783 z computation is not scheduled after fetestexcept.
10784 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10785 Use math_force_eval instead of asm to ensure calculation scheduled
10786 before exception test.
10787 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10788 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10790 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10792 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10793 computation is not scheduled after fetestexcept.
10795 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10798 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10799 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10801 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10803 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10804 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10806 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10809 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10811 (__WCHAR_MIN): Support __WORDSIZE == 64.
10812 (__WCHAR_MAX): Likewise.
10814 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10815 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10818 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10819 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10822 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10823 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10825 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10826 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10828 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10829 Defined to 1 if __x86_64__ isn't defined.
10830 (_STAT_VER_LINUX_OLD): New.
10831 (st_atime): Remove duplicate.
10832 (st_mtime): Likewise.
10833 (st_ctime): Likewise.
10835 2012-05-31 David S. Miller <davem@davemloft.net>
10837 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10840 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10842 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10846 * elf/dl-reloc.c: Include <_itoa.h>.
10847 (_dl_reloc_bad_type): Remove use of INTUSE.
10848 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10849 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10850 * stdio-common/psiginfo.c (psiginfo): Likewise.
10851 * stdio-common/psignal.c (psignal): Likewise.
10852 * string/strsignal.c (strsignal): Likewise.
10853 * include/signal.h (_sys_siglist): Declare hidden proto.
10854 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10855 INTVARDEF with libc_hidden_data_def.
10856 * stdio-common/itoa-udigits.c: Likewise.
10857 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10858 (_itoa_lower_digits_internal): Remove declaration.
10859 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10860 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10861 (_sys_sigabbrev_internal): Remove aliases.
10862 (_sys_siglist): Define hidden alias.
10864 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10869 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10872 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10873 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10875 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10876 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10877 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10878 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10879 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10880 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10882 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10883 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10884 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10886 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10894 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10895 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10896 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10898 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10899 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10900 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10901 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10902 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10903 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10905 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10906 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10908 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10909 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10911 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10912 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10913 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10915 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10916 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10918 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10920 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10921 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10922 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10924 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10926 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10928 2012-05-31 Joseph Myers <joseph@codesourcery.com>
10930 * math/math.h (M_El): Use two more decimal places.
10931 (M_LOG2El): Likewise.
10932 (M_LOG10El): Likewise.
10933 (M_LN2l): Likewise.
10934 (M_LN10l): Likewise.
10936 (M_PI_2l): Likewise.
10937 (M_PI_4l): Likewise.
10938 (M_1_PIl): Likewise.
10939 (M_2_PIl): Likewise.
10940 (M_2_SQRTPIl): Likewise.
10941 (M_SQRT2l): Likewise.
10942 (M_SQRT1_2l): Likewise.
10944 2012-05-31 David S. Miller <davem@davemloft.net>
10946 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10947 values between float registers.
10948 * sysdeps/sparc/sparc64/memset.S: Likewise.
10949 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10951 2012-05-31 Mike Frysinger <vapier@gentoo.org>
10953 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10954 -D_FORTIFY_SOURCE=1.
10955 (CPPFLAGS-tst-longjmp_chk.c): Define.
10956 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10957 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10958 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10959 CFLAGS-tst-wchar-h.c.
10961 2012-05-31 Marek Polacek <polacek@redhat.com>
10964 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10965 __endmntent_internal): Remove declaration.
10966 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10967 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10968 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10970 2012-05-30 David S. Miller <davem@davemloft.net>
10972 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10973 (___Q_simulate_exceptions): Use real FP ops rather than writing
10975 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10978 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10981 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10982 * sysdeps/x86/bits/xtitypes.h: This.
10984 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10985 * sysdeps/x86/bits/wordsize.h: This.
10987 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10988 * sysdeps/x86/bits/huge_vall.h: This.
10990 * sysdeps/i386/bits/select.h: Removed.
10991 * sysdeps/x86_64/bits/select.h: Renamed to ...
10992 * sysdeps/x86/bits/select.h: This.
10994 * sysdeps/i386/bits/setjmp.h: Removed.
10995 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10996 * sysdeps/x86/bits/setjmp.h: This.
10998 * sysdeps/i386/bits/mathdef.h: Removed.
10999 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11000 * sysdeps/x86/bits/mathdef.h: This.
11002 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11005 * include/sys/socket.h (__connect_internal)
11006 (__libc_sa_len_internal): Remove declaration.
11007 (__connect, __libc_sa_len): Declare hidden_proto.
11008 (SA_LEN): Remove use of INTUSE.
11009 * socket/connect.c: Add libc_hidden_def.
11010 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11011 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11012 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11014 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11015 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11016 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11017 of adding _internal alias.
11019 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11022 * sysdeps/i386/bits/link.h: Removed.
11023 * sysdeps/i386/bits/linkmap.h: Likewise.
11024 * sysdeps/x86_64/bits/link.h: Renamed to ...
11025 * sysdeps/x86/bits/link.h: This.
11026 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11027 * sysdeps/x86/bits/linkmap.h: This.
11029 * sysdeps/i386/bits/endian.h: Removed.
11030 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11031 * sysdeps/x86/bits/endian.h: This.
11033 * sysdeps/i386/bits/byteswap.h: Removed.
11034 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11035 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11036 * sysdeps/x86/bits/byteswap.h: This.
11037 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11038 * sysdeps/x86/bits/byteswap-16.h: This.
11039 * sysdeps/i386/Implies: Add x86.
11040 * sysdeps/x86_64/Implies: Likewise.
11042 2012-05-30 David S. Miller <davem@davemloft.net>
11044 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11045 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11046 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11047 (FP_TRAPPING_EXCEPTIONS): Define.
11048 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11049 (FP_TRAPPING_EXCEPTIONS): Define.
11050 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11051 subnormals only when inexact has been signalled or underflow
11052 exceptions are enabled.
11053 (_FP_PACK_CANONICAL): Likewise.
11055 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11058 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11059 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11061 2012-05-30 Richard Henderson <rth@twiddle.net>
11063 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11064 with #ifndef NOT_IN_libc.
11066 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11067 marked to avoid plt entry.
11069 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11072 * Makeconfig (default-abi): New macro.
11073 (abi-includes): Likewise.
11074 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11075 $(abi-$(default-abi)-lib-soname) for soname if defined.
11076 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11078 * Makefile (installed-stubs): Likewise.
11079 * include/stubs-biarch.h: Removed.
11080 * scripts/lib-names.awk: Only handle one library at a time.
11081 * scripts/soversions.awk: Remove WORDSIZE support.
11082 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11084 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11086 (syscall-list-default-condition): Likewise.
11087 (syscall-list-default-condition): Likewise.
11088 (syscall-list-includes): Likewise.
11089 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11090 syscall-list-* with abi-*. Handle undefined abi-variants.
11091 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11092 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11093 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11094 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11095 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11096 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11098 (syscall-list-32-options): Likewise.
11099 (syscall-list-32-condition): Likewise.
11100 (syscall-list-64-options): Likewise.
11101 (syscall-list-64-condition): Likewise.
11102 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11104 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11107 (abi-64-ld-soname): New macro.
11108 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11109 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11112 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11113 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11115 2012-05-30 Joseph Myers <joseph@codesourcery.com>
11117 * sysdeps/unix/sysv/linux/kernel-features.h
11118 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11119 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11120 include <kernel-features.h>.
11121 [!__NR_ftruncate64]: Remove conditional code.
11122 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11123 [__NR_ftruncate64]: Make code unconditional.
11124 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11125 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11126 include <kernel-features.h>.
11127 [!__NR_ftruncate64]: Remove conditional code.
11128 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11129 [__NR_ftruncate64]: Make code unconditional.
11130 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11132 include <kernel-features.h>.
11133 [!__NR_ftruncate64]: Remove conditional code.
11134 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11135 [__NR_ftruncate64]: Make code unconditional.
11136 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11138 include <kernel-features.h>.
11139 [!__NR_ftruncate64]: Remove conditional code.
11140 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11141 [__NR_ftruncate64]: Make code unconditional.
11142 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11144 * configure.in (libc_cv_fpie): Weaken to a compile test using
11145 LIBC_TRY_CC_OPTION.
11146 * configure: Regenerated.
11148 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11163 2012-05-27 David S. Miller <davem@davemloft.net>
11165 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11167 (__Q_simulate_exceptions): Return void. Change to simulate
11168 exceptions by writing into the %fsr.
11169 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11170 (__Qp_handle_exceptions): Likewise.
11172 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11173 __Qp_handle_exceptions.
11174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11175 __Qp_handle_exceptions.
11176 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11177 as unused and give dummy FP_RND_NEAREST initializer.
11178 (FP_INHIBIT_RESULTS): Define.
11179 (___Q_simulate_exceptions): Update declaration.
11180 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11182 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11183 as unused and give dummy FP_RND_NEAREST initializer.
11184 (__Qp_handle_exceptions): Update declaration.
11185 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11188 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11190 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11191 the temporary FPU control word.
11192 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11193 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11194 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11195 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11196 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11197 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11198 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11199 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11200 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11201 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11202 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11204 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11206 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11209 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11211 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11212 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11213 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11214 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11216 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11217 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11220 2012-05-27 Ulrich Drepper <drepper@gmail.com>
11222 * po/h.po: Update from translation team.
11224 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11226 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11228 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11229 handling of denormals.
11230 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11231 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11232 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11233 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11234 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11235 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11236 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11239 2012-05-26 Marek Polacek <polacek@redhat.com>
11242 * math/libm-test.inc (fma_test): Don't always expect underflow
11245 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11248 * elf/tst-execstack.c: Include stackinfo.h.
11249 (do_test): Adjust test case to ensure that pthread_getattr_np
11250 behaviour remains the same after marking stack executable.
11252 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11254 * sysdeps/unix/sysv/linux/kernel-features.h
11255 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11256 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11258 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11259 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11260 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11262 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11263 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11265 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11267 * configure.in: Define the default includes to being none.
11268 * configure: Regenerated.
11270 2012-05-25 Roland McGrath <roland@hack.frob.com>
11272 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11273 * sysdeps/x86_64/setjmp.S: Likewise.
11274 * sysdeps/i386/bsd-setjmp.S: Likewise.
11275 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11276 * sysdeps/i386/setjmp.S: Likewise.
11277 * sysdeps/i386/__longjmp.S: Likewise.
11278 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11279 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11281 * include/stap-probe.h: New file.
11282 * configure.in: Handle --enable-systemtap.
11283 * configure: Regenerated.
11284 * config.h.in (USE_STAP_PROBE): New #undef.
11285 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11286 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11287 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11289 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11292 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11293 to 2.4.0 where earlier.
11294 * sysdeps/unix/sysv/linux/configure: Regenerated.
11295 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11296 <kernel-features.h>.
11297 [__ASSUME_32BITUIDS]: Make code unconditional.
11298 [!__ASSUME_32BITUIDS]: Remove conditional code.
11299 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11300 <kernel-features.h>.
11301 [__ASSUME_32BITUIDS]: Make code unconditional.
11302 [!__ASSUME_32BITUIDS]: Remove conditional code.
11303 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11304 [__ASSUME_32BITUIDS]: Make code unconditional.
11305 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11306 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11307 <kernel-features.h>.
11308 [__ASSUME_32BITUIDS]: Make code unconditional.
11309 [!__ASSUME_32BITUIDS]: Remove conditional code.
11310 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11311 <kernel-features.h>.
11312 [__ASSUME_32BITUIDS]: Make code unconditional.
11313 [!__ASSUME_32BITUIDS]: Remove conditional code.
11314 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11315 <kernel-features.h>.
11316 [__ASSUME_32BITUIDS]: Make code unconditional.
11317 [!__ASSUME_32BITUIDS]: Remove conditional code.
11318 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11319 <kernel-features.h>.
11320 [__ASSUME_32BITUIDS]: Make code unconditional.
11321 [!__ASSUME_32BITUIDS]: Remove conditional code.
11322 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11323 <kernel-features.h>.
11324 [__ASSUME_32BITUIDS]: Make code unconditional.
11325 [!__ASSUME_32BITUIDS]: Remove conditional code.
11326 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11327 <kernel-features.h>.
11328 [__ASSUME_32BITUIDS]: Make code unconditional.
11329 [!__ASSUME_32BITUIDS]: Remove conditional code.
11330 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11331 <kernel-features.h>.
11332 [__ASSUME_32BITUIDS]: Make code unconditional.
11333 [!__ASSUME_32BITUIDS]: Remove conditional code.
11334 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11335 <kernel-features.h>.
11336 [__ASSUME_32BITUIDS]: Make code unconditional.
11337 [!__ASSUME_32BITUIDS]: Remove conditional code.
11338 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11339 <kernel-features.h>.
11340 [__ASSUME_32BITUIDS]: Make code unconditional.
11341 [!__ASSUME_32BITUIDS]: Remove conditional code.
11342 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11343 <kernel-features.h>.
11344 [__ASSUME_32BITUIDS]: Make code unconditional.
11345 [!__ASSUME_32BITUIDS]: Remove conditional code.
11346 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11347 <kernel-features.h>.
11348 [__NR_setresgid] (__setresgid): Do not declare.
11349 [__ASSUME_32BITUIDS]: Make code unconditional.
11350 [!__ASSUME_32BITUIDS]: Remove conditional code.
11351 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11352 <kernel-features.h>.
11353 [__NR_setresuid] (__setresuid): Do not declare.
11354 [__ASSUME_32BITUIDS]: Make code unconditional.
11355 [!__ASSUME_32BITUIDS]: Remove conditional code.
11356 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11357 <kernel-features.h>.
11358 [__ASSUME_32BITUIDS]: Make code unconditional.
11359 [!__ASSUME_32BITUIDS]: Remove conditional code.
11360 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11361 <kernel-features.h>.
11362 [__ASSUME_32BITUIDS]: Make code unconditional.
11363 [!__ASSUME_32BITUIDS]: Remove conditional code.
11364 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11365 <kernel-features.h>.
11366 [__ASSUME_32BITUIDS]: Make code unconditional.
11367 [!__ASSUME_32BITUIDS]: Remove conditional code.
11368 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11369 <kernel-features.h>.
11370 [__ASSUME_32BITUIDS]: Make code unconditional.
11371 [!__ASSUME_32BITUIDS]: Remove conditional code.
11372 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11373 <kernel-features.h>.
11374 [__ASSUME_32BITUIDS]: Make code unconditional.
11375 [!__ASSUME_32BITUIDS]: Remove conditional code.
11376 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11377 <kernel-features.h>.
11378 [__ASSUME_32BITUIDS]: Make code unconditional.
11379 [!__ASSUME_32BITUIDS]: Remove conditional code.
11380 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11381 <kernel-features.h>.
11382 [__ASSUME_32BITUIDS]: Make code unconditional.
11383 [!__ASSUME_32BITUIDS]: Remove conditional code.
11384 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11385 <kernel-features.h>.
11386 [__ASSUME_32BITUIDS]: Make code unconditional.
11387 [!__ASSUME_32BITUIDS]: Remove conditional code.
11388 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11389 <kernel-features.h>.
11390 [__ASSUME_32BITUIDS]: Make code unconditional.
11391 [!__ASSUME_32BITUIDS]: Remove conditional code.
11392 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11393 <kernel-features.h>.
11394 [__ASSUME_32BITUIDS]: Make code unconditional.
11395 [!__ASSUME_32BITUIDS]: Remove conditional code.
11396 * sysdeps/unix/sysv/linux/kernel-features.h
11397 (__ASSUME_SETRESUID_SYSCALL): Remove.
11398 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11399 (__ASSUME_32BITUIDS): Likewise.
11400 (__ASSUME_LDT_WORKS): Likewise.
11401 (__ASSUME_O_DIRECTORY): Likewise.
11402 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11403 architecture but not kernel version.
11404 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11405 (__ASSUME_MMAP2_SYSCALL): Likewise.
11406 (__ASSUME_STAT64_SYSCALL): Likewise.
11407 (__ASSUME_IPC64): Likewise.
11408 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11409 <kernel-features.h>.
11410 [__ASSUME_32BITUIDS]: Make code unconditional.
11411 [!__ASSUME_32BITUIDS]: Remove conditional code.
11412 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11413 <kernel-features.h>.
11414 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11415 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11416 132096]: Remove conditional code.
11417 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11418 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11419 <kernel-features.h>.
11420 [__ASSUME_32BITUIDS]: Make code unconditional.
11421 [!__ASSUME_32BITUIDS]: Remove conditional code.
11422 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11423 <kernel-features.h>.
11424 [__ASSUME_32BITUIDS]: Make code unconditional.
11425 [!__ASSUME_32BITUIDS]: Remove conditional code.
11426 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11427 <kernel-features.h>.
11428 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11430 (__setresgid): Do not declare.
11431 [__ASSUME_32BITUIDS]: Make code unconditional.
11432 [!__ASSUME_32BITUIDS]: Remove conditional code.
11433 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11434 <kernel-features.h>.
11435 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11437 (__setresuid): Do not declare.
11438 [__ASSUME_32BITUIDS]: Make code unconditional.
11439 [!__ASSUME_32BITUIDS]: Remove conditional code.
11440 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11441 <kernel-features.h>.
11442 [__ASSUME_32BITUIDS]: Make code unconditional.
11443 [!__ASSUME_32BITUIDS]: Remove conditional code.
11444 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11445 <kernel-features.h>.
11446 [__ASSUME_32BITUIDS]: Make code unconditional.
11447 [!__ASSUME_32BITUIDS]: Remove conditional code.
11449 2012-05-25 Richard Henderson <rth@twiddle.net>
11451 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11452 dl_hwcap to ifunc resolver.
11453 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11455 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11456 dl_hwcap to ifunc resolver.
11457 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11459 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11462 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11463 for |x| <= 2**-26, not 2**-57.
11464 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11467 2012-05-24 Jeff Law <law@redhat.com>
11469 * stdio-common/Makefile (tests): Add bug25.
11470 * stdio-common/bug25.c: New test.
11472 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11475 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11476 multiple of MALLOC_ALIGNMENT in size.
11477 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11479 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11481 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11483 (FILENAME_MAX): Use macro-int-constant.
11484 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11485 (_IOFBF): Use macro-int-constant.
11486 (_IOLBF): Likewise.
11487 (_IONBF): Likewise.
11488 (SEEK_CUR): Likewise.
11489 (SEEK_END): Likewise.
11490 (SEEK_SET): Likewise.
11491 (TMP_MAX): Likewise.
11492 (EOF): Use macro-int-constant. Require < 0.
11493 (NULL): Use macro-constant. Require == 0.
11494 (stdin): Require type to be FILE *.
11495 (stdout): Likewise.
11496 (stderr): Likewise.
11497 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11498 macro-int-constant.
11499 (EXIT_SUCCESS): Likewise.
11500 (NULL): Use macro-constant. Require == 0.
11501 (RAND_MAX): Use macro-int-constant.
11502 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11503 [C99-based standards] (strtof): Require function.
11504 [C99-based standards] (strtold): Likewise.
11505 [C99-based standards] (strtoll): Likewise.
11506 [C99-based standards] (strtoull): Likewise.
11507 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11508 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11509 [ISO || ISO99 || ISO11] (math.h): Likewise.
11510 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11511 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11512 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11514 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11517 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11518 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11519 * intl/dgettext.c (DCGETTEXT): Likewise.
11520 * intl/gettext.c (DCGETTEXT): Likewise.
11521 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11522 * posix/regex_internal.h (gettext): Likewise.
11523 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11524 Remove declaration.
11525 * include/argz.h (__argz_count_internal)
11526 (__argz_stringify_internal): Remove declaration.
11527 (__argz_count, __argz_stringify): Declare hidden proto.
11528 * intl/dcgettext.c: Remove use of INTDEF.
11529 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11530 * string/argz-stringify.c: Likewise.
11531 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11532 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11533 Declare hidden proto.
11534 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11535 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11536 Declare hidden proto.
11537 * include/stdio.h (__asprintf_internal): Don't declare.
11538 (__asprintf): Don't define as macro. Declare hidden proto.
11539 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11540 (__fsetlocking): Declare hidden proto.
11541 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11542 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11544 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11545 (_IO_setlinebuf): Remove use of INTUSE.
11546 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11547 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11548 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11549 Remove declaration.
11550 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11551 (_IO_do_flush): Remove use of INTUSE.
11552 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11553 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11554 (_IO_adjust_column, _IO_least_wmarker)
11555 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11556 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11557 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11558 (_IO_default_doallocate, _IO_wdefault_doallocate)
11559 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11560 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11561 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11562 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11563 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11564 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11565 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11566 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11567 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11568 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11569 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11570 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11571 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11573 (_IO_flush_all_internal, _IO_adjust_column_internal)
11574 (_IO_default_uflow_internal, _IO_default_finish_internal)
11575 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11576 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11577 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11578 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11579 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11580 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11581 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11582 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11583 (_IO_file_close_internal, _IO_file_close_it_internal)
11584 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11585 (_IO_file_init_internal, _IO_file_attach_internal)
11586 (_IO_file_fopen_internal, _IO_file_read_internal)
11587 (_IO_file_sync_internal, _IO_file_seek_internal)
11588 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11589 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11590 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11591 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11592 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11593 (_IO_list_all_internal, _IO_link_in_internal)
11594 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11595 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11596 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11597 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11598 (_IO_do_write_internal, _IO_padn_internal)
11599 (_IO_getline_info_internal, _IO_getline_internal)
11600 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11601 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11602 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11603 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11604 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11605 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11606 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11607 with libc_hidden_ver, remove use of INTUSE.
11608 * libio/genops.c: Likewise.
11609 * libio/freopen.c: Likewise.
11610 * libio/freopen64.c: Likewise.
11611 * libio/iofclose.c: Likewise.
11612 * libio/iofdopen.c: Likewise.
11613 * libio/iofflush.c: Likewise.
11614 * libio/iofflush_u.c: Likewise.
11615 * libio/iofgets.c: Likewise.
11616 * libio/iofgets_u.c: Likewise.
11617 * libio/iofopen.c: Likewise.
11618 * libio/iofopncook.c: Likewise.
11619 * libio/iofread.c: Likewise.
11620 * libio/iofread_u.c: Likewise.
11621 * libio/ioftell.c: Likewise.
11622 * libio/iofwrite.c: Likewise.
11623 * libio/iogetline.c: Likewise.
11624 * libio/iogets.c: Likewise.
11625 * libio/iogetwline.c: Likewise.
11626 * libio/iopadn.c: Likewise.
11627 * libio/iopopen.c: Likewise.
11628 * libio/ioseekoff.c: Likewise.
11629 * libio/ioseekpos.c: Likewise.
11630 * libio/iosetbuffer.c: Likewise.
11631 * libio/iosetvbuf.c: Likewise.
11632 * libio/ioungetc.c: Likewise.
11633 * libio/ioungetwc.c: Likewise.
11634 * libio/iovdprintf.c: Likewise.
11635 * libio/iovsprintf.c: Likewise.
11636 * libio/iovsscanf.c: Likewise.
11637 * libio/memstream.c: Likewise.
11638 * libio/obprintf.c: Likewise.
11639 * libio/oldfileops.c: Likewise.
11640 * libio/oldiofclose.c: Likewise.
11641 * libio/oldiofdopen.c: Likewise.
11642 * libio/oldiofopen.c: Likewise.
11643 * libio/oldiopopen.c: Likewise.
11644 * libio/oldstdfiles.c: Likewise.
11645 * libio/putc.c: Likewise.
11646 * libio/setbuf.c: Likewise.
11647 * libio/setlinebuf.c: Likewise.
11648 * libio/stdfiles.c: Likewise.
11649 * libio/strops.c: Likewise.
11650 * libio/vasprintf.c: Likewise.
11651 * libio/vscanf.c: Likewise.
11652 * libio/vsnprintf.c: Likewise.
11653 * libio/vswprintf.c: Likewise.
11654 * libio/wfiledoalloc.c: Likewise.
11655 * libio/wfileops.c: Likewise.
11656 * libio/wgenops.c: Likewise.
11657 * libio/wmemstream.c: Likewise.
11658 * libio/wstrops.c: Likewise.
11659 * libio/__fpurge.c: Likewise.
11660 * libio/__fsetlocking.c: Likewise.
11661 * assert/assert.c: Likewise.
11662 * debug/fgets_chk.c: Likewise.
11663 * debug/fgets_u_chk.c: Likewise.
11664 * debug/fread_chk.c: Likewise.
11665 * debug/fread_u_chk.c: Likewise.
11666 * debug/gets_chk.c: Likewise.
11667 * debug/obprintf_chk.c: Likewise.
11668 * debug/vasprintf_chk.c: Likewise.
11669 * debug/vdprintf_chk.c: Likewise.
11670 * debug/vsnprintf_chk.c: Likewise.
11671 * debug/vsprintf_chk.c: Likewise.
11672 * malloc/mtrace.c: Likewise.
11673 * misc/error.c: Likewise.
11674 * misc/syslog.c: Likewise.
11675 * stdio-common/asprintf.c: Likewise.
11676 * stdio-common/fxprintf.c: Likewise.
11677 * stdio-common/getw.c: Likewise.
11678 * stdio-common/isoc99_fscanf.c: Likewise.
11679 * stdio-common/isoc99_scanf.c: Likewise.
11680 * stdio-common/isoc99_vfscanf.c: Likewise.
11681 * stdio-common/isoc99_vscanf.c: Likewise.
11682 * stdio-common/isoc99_vsscanf.c: Likewise.
11683 * stdio-common/printf-prs.c: Likewise.
11684 * stdio-common/printf_fp.c: Likewise.
11685 * stdio-common/printf_fphex.c: Likewise.
11686 * stdio-common/printf_size.c: Likewise.
11687 * stdio-common/putw.c: Likewise.
11688 * stdio-common/scanf.c: Likewise.
11689 * stdio-common/sprintf.c: Likewise.
11690 * stdio-common/tmpfile.c: Likewise.
11691 * stdio-common/vfprintf.c: Likewise.
11692 * stdio-common/vfscanf.c: Likewise.
11693 * stdlib/strfmon_l.c: Likewise.
11694 * sunrpc/openchild.c: Likewise.
11695 * sunrpc/xdr_stdio.c: Likewise.
11696 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11697 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11699 2012-05-24 Roland McGrath <roland@hack.frob.com>
11701 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11703 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11704 in the third column, to generate for the shared library an IFUNC
11705 that uses _dl_vdso_vsym.
11706 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11707 * Makeconfig (object-suffixes-noshared): New variable.
11709 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11710 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11711 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11712 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11715 * include/sys/time.h (__gettimeofday): Remove macro.
11716 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11717 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11719 (__gettimeofday): Add libc_hidden_def.
11720 (gettimeofday): Add libc_hidden_weak.
11721 * sysdeps/mach/gettimeofday.c: Likewise.
11722 * sysdeps/posix/gettimeofday.c: Likewise.
11723 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11724 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11725 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11726 (__gettimeofday_internal): Remove strong_alias.
11727 (__gettimeofday): Add libc_hidden_def.
11728 (gettimeofday): Add libc_hidden_weak.
11729 * sysdeps/unix/syscalls.list (gettimeofday):
11730 Remove __gettimeofday_internal alias.
11732 2012-05-24 Daniel Jacobowitz <drow@false.org>
11733 H.J. Lu <hongjiu.lu@intel.com>
11736 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11737 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11738 (largebin_index_32_big): New.
11739 (largebin_index): Use it for 16-byte alignment.
11740 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11741 correction with front_misalign.
11743 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11771 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11772 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11774 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11778 * math/libm-test.inc (exp_test): Add test from bug 14036.
11779 (pow_test): Add test from bug 10846.
11781 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11783 (special_function): Do not include flags in test name.
11784 (parse_args): Likewise.
11785 * sysdeps/i386/fpu/libm-test-ulps: Update.
11786 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11787 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11788 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11791 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11793 * math/libm-test.inc ("Philosophy"): Update comment about
11795 (UNDERFLOW_EXCEPTION): New macro.
11796 (UNDERFLOW_EXCEPTION_OK): Likewise.
11797 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11798 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11799 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11800 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11801 (INVALID_EXCEPTION_OK): Update value.
11802 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11803 (OVERFLOW_EXCEPTION_OK): Likewise.
11804 (IGNORE_ZERO_INF_SIGN): Likewise.
11805 (test_exceptions): Handle underflow exceptions.
11806 (acos_test): Update for underflow exception expectations.
11807 (cexp_test): Likewise.
11808 (clog_test): Likewise.
11809 (clog10_test): Likewise.
11810 (csqrt_test): Likewise.
11811 (ctan_test): Likewise.
11812 (ctanh_test): Likewise.
11813 (exp_test): Likewise.
11814 (exp10_test): Likewise.
11815 (exp2_test): Likewise.
11816 (expm1_test): Likewise.
11817 (fma_test): Likewise.
11818 (j0_test): Likewise.
11819 (jn_test): Likewise.
11820 (nexttoward_test): Likewise.
11821 (pow_test): Likewise.
11822 (scalbn_test): Likewise.
11823 (scalbln_test): Likewise.
11824 (tan_test): Likewise.
11825 (y1_test): Likewise.
11826 * sysdeps/i386/fpu/libm-test-ulps: Update.
11827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11829 2012-05-23 David S. Miller <davem@davemloft.net>
11831 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11832 (__libc_sigaction): Remove unused local variables.
11834 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11836 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11838 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11840 mktime: avoid signed integer overflow
11841 * time/mktime.c (__mktime_internal): Do not mishandle the case
11842 where diff == INT_MIN.
11844 mktime: simplify computation of average
11845 * time/mktime.c (ranged_convert): Use new time_t_avg function
11846 instead of rolling our own (probably-slower) code.
11848 mktime: do not assume signed right shift propagates sign bit
11849 * time/mktime.c (isdst_differ): New static function.
11850 (__mktime_internal): No need to normalize tm_isdst now.
11851 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11854 mktime: merge another wrapv change from gnulib
11855 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11856 from some compilers.
11858 mktime: remove incorrect attempt at unusual arithmetics
11859 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11860 The code didn't really work on such machines anyway.
11861 (TYPE_MINIMUM): Assume two's complement.
11862 (twos_complement_arithmetic): Verify that long_int and time_t
11863 are two's complement (or unsigned, in the latter case).
11865 mktime: check signed shifts on long_int and time_t, too
11866 * time/mktime.c (SHR): Check that shifts work as desired
11867 on the types long_int and time_t too, as SHR is used on
11870 mktime: do not assume 'long' is wide enough
11871 * time/mktime.c (verify): Move decl up.
11872 (long_int): New type.
11873 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11874 to remove assumption in the code that 'long' is wide enough to
11875 store year values. This assumption is not true on x32 and on
11876 some non-glibc platforms.
11878 mktime: merge wrapv change from gnulib
11879 * time/mktime.c (WRAPV): New macro.
11880 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11881 (guess_time_tm, __mktime_internal): Do not assume that signed
11882 integer overflow wraps around; modern compilers generate code
11883 where this assumption is no longer valid.
11885 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11887 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11888 Replace "jmp L(pseudo_end)" with "ret".
11889 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11892 2012-05-23 Andreas Jaeger <aj@suse.de>
11894 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11895 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11897 2012-05-23 Andreas Jaeger <aj@suse.de>
11898 Maximilian Attems <max@stro.at>
11900 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11903 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11905 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11906 code so that pseudo_end is just ret and the stack pointer is
11907 correct also for static library in error case.
11909 2012-05-23 Joseph Myers <joseph@codesourcery.com>
11911 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11912 move to syscalls.list.
11913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11918 * manual/install.texi (Running make install): Do not mention Linux
11919 kernel version for which pt_chown is not needed.
11920 (Linux): Do not mention problems with nscd with 2.0 kernels.
11921 * INSTALL: Regenerated.
11923 2012-05-23 Andreas Jaeger <aj@suse.de>
11925 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11926 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11928 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11929 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11930 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11931 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11932 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11933 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11934 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11935 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11936 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11937 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11938 * sysdeps/unix/sysv/linux/bits/in.h
11939 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11941 2012-05-22 Roland McGrath <roland@hack.frob.com>
11943 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11944 (PREPARE_VERSION): Just use assert instead, it will be elided
11945 under [NDEBUG] anyway.
11947 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11949 * sysdeps/unix/sysv/linux/Makefile: Include
11950 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11951 (sysdep_routines): Remove sysctl.
11952 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11953 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11954 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11955 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11956 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11958 2012-05-22 Andreas Jaeger <aj@suse.de>
11960 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11961 that pseudo_end is just ret and the stack pointer is correct also
11962 for static library in error case.
11964 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11967 * nss/nsswitch.c (defconfig_entries): New variable.
11968 (__nss_database_lookup): Don't leak defconfig entries.
11969 (nss_parse_service_list): Don't leak on error paths.
11970 (free_database_entries): New function.
11971 (free_defconfig): New function.
11972 (free_mem): Move common code to free_database_entries.
11974 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11976 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11978 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11980 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11981 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11982 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11984 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11985 (INTERNAL_SYSCALL_TYPES): Likewise.
11986 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11987 (LOAD_REGS_TYPES_[1-6]): Likewise.
11988 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11989 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11991 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11993 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11994 copysignl for GLIBC_2_0.
11995 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11996 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11997 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11998 logbl for GLIBC_2_0.
11999 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12000 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12002 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12004 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12005 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12007 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12010 * time/mktime.c: Update copyright years.
12012 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12014 mktime: merge comment-quoting-style change from gnulib
12015 * time/mktime.c: Quote 'like this' in comments.
12016 The GNU coding standards suggest that we no longer quote `like this',
12017 as "`" and "'" are typically rendered asymmetrically nowadays.
12018 The typical gnulib style is to quote 'like this' when quoting
12019 code, and "like this" when quoting English.
12021 * time/mktime.c (compile-command): Add "-I.".
12023 mktime: merge mktime-internal.h change from gnulib
12024 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12026 mktime: merge time_r change from gnulib
12027 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12029 mktime: merge DEBUG change from gnulib
12030 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12031 case system <time.h> has a #define.
12033 mktime: merge <sys/types.h> change from gnulib
12034 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12035 since <time.t> is now guaranteed to define time_t.
12037 mktime: merge HAVE_CONFIG_H change from gnulib
12038 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12040 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12042 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12045 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12047 (struct rusage): Use anonymous union to pad each field to
12050 2012-05-21 David S. Miller <davem@davemloft.net>
12052 * Makefules (o-iterator): Remove .s cases.
12053 (compile-command.s): Delete.
12054 (COMPILE.s): Delete.
12055 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12057 2012-05-21 Joseph Myers <joseph@codesourcery.com>
12059 * configure.in (libc_cv_predef_stack_protector): Only consider
12060 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12061 * configure: Regenerated.
12063 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12065 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12066 New macro. Use R*LP on int and pointer.
12067 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12068 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12069 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12070 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12072 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12073 [__WORDSIZE_TIME64_COMPAT32] instead of
12074 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12075 (struct utmp): Likewise.
12076 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12077 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12079 (__WORDSIZE_TIME64_COMPAT32): This.
12080 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12081 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12082 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12083 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12084 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12085 (__WORDSIZE_TIME64_COMPAT32): New macro.
12087 2012-05-21 Andreas Jaeger <aj@suse.de>
12089 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12090 only if [SHARED]. Add prototype for __wcschr_ia32.
12092 2012-05-21 Roland McGrath <roland@hack.frob.com>
12094 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12095 of %rbp unmolested in the jmp_buf while mangling the low bits.
12096 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12097 unmolested high bits of %rbp while demangling the low bits.
12098 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12100 2012-05-21 Andreas Jaeger <aj@suse.de>
12102 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12103 * sunrpc/svc_simple.c: Use it for registerrpc.
12104 * sunrpc/xcrypt.c: Use it for passwd2des.
12106 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12108 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12110 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12111 Don't define if [__SYSCALL_WORDSIZE != 32].
12112 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12115 2012-05-21 Bruno Haible <bruno@clisp.org>
12116 Andreas Jaeger <aj@suse.de>
12118 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12119 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12120 inptr and inend for must_buffer_ch.
12121 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12122 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12123 * stdio-common/Makefile (tests): Remove bug15.
12124 (bug15-ENV): Remove macro.
12125 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12128 2012-05-19 Andreas Jaeger <aj@suse.de>
12129 Roland McGrath <roland@hack.frob.com>
12131 * manual/contrib.texi: Completely rewritten. It contains now an
12132 alphabetical list of contributors and their contributions.
12134 2012-05-21 Richard Henderson <rth@twiddle.net>
12136 * misc/getauxval.c (__getauxval): Use unsigned long int.
12137 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12138 (getauxval): Use unsigned long int.
12140 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12142 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12144 2012-05-21 Roland McGrath <roland@hack.frob.com>
12146 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12147 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12148 __alignof__ (long double).
12150 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12154 2012-05-20 Richard Henderson <rth@twiddle.net>
12156 * misc/getauxval.c: New file.
12157 * misc/sys/auxv.h: New file.
12158 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12159 (routines): Add getauxval.
12160 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12161 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12162 * elf/dl-sysdep.c (_dl_auxv): Remove.
12163 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12164 * elf/dl-support.c (_dl_auxv): New variable.
12165 (_dl_aux_init): Initialize it.
12166 * manual/startup.texi (Auxiliary Vector): New node.
12167 * sysdeps/generic/bits/hwcap.h: New file.
12168 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12169 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12170 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12171 * sysdeps/sparc/sysdep.h: ... here. Include it.
12172 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12173 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12179 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12185 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12189 2012-05-19 David S. Miller <davem@davemloft.net>
12191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12193 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12196 * math/s_ccosh.c: Include <float.h>
12197 (__ccosh): Avoid internal overflow calculating sinh and cosh
12198 values before multiplying by sin and cos values.
12199 * math/s_ccoshf.c: Likewise.
12200 * math/s_ccoshl.c: Likewise.
12201 * math/s_csin.c: Likewise.
12202 * math/s_csinf.c: Likewise.
12203 * math/s_csinl.c: Likewise.
12204 * math/s_csinh.c: Likewise.
12205 * math/s_csinhf.c: Likewise.
12206 * math/s_csinhl.c: Likewise.
12207 * math/libm-test.inc (ccos_test): Add more tests.
12208 (ccosh_test): Likewise.
12209 (csin_test): Likewise.
12210 (csinh_test): Likewise.
12211 * sysdeps/i386/fpu/libm-test-ulps: Update.
12212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12214 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12216 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12217 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12219 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12221 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12223 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12224 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12225 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12226 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12227 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12228 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12229 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12230 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12231 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12232 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12233 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12234 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12235 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12236 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12237 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12238 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12239 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12240 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12241 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12242 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12243 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12244 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12245 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12246 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12247 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12248 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12249 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12250 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12251 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12252 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12253 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12255 2012-05-18 Andreas Jaeger <aj@suse.de>
12257 * csu/.gitignore: Delete.
12259 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12261 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12262 (timex): Use __syscall_slong_t.
12264 2012-05-18 Andreas Jaeger <aj@suse.de>
12265 Carlos O'Donell <carlos_odonell@mentor.com>
12267 * manual/install.texi (Configuring and compiling): Update
12268 description about files modified in the source directory.
12269 * INSTALL: Regenerated.
12271 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12273 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12274 value. Use "or" to set return value to -1.
12275 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12276 negate return value.
12278 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12280 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12281 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12282 failure if the compiler has Graphite support disabled.
12283 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12285 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12286 CFLAGS-memmove.c): Likewise.
12287 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12290 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12292 * sysdeps/x86_64/x32/_itoa.h: New file.
12294 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12295 getdents system call only if kernel and user dirents have the
12296 same d_ino and d_off.
12298 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12299 LLONG_MAX != LONG_MAX.
12300 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12301 (_fitoa_word): Likewise.
12303 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12305 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12306 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12307 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12309 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12310 include <bits/wordsize.h>. Check __x86_64__ instead of
12312 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12313 if __x86_64__ is defined. Use anonymous union on fpstate.
12315 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12318 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12320 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12321 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12322 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12323 Refer to _rtld_local_ro instead of _rtld_global_ro.
12324 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12326 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12328 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12330 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12331 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12332 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12334 * sysdeps/powerpc/powerpc32/dl-machine.c
12335 (__elf_machine_runtime_setup) [PROF]: Don't reference
12338 2012-05-18 Andreas Jaeger <aj@suse.de>
12340 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12341 function only available for GCCs before 3.4 since GCC 3.4
12342 introduced a builtin.
12344 (llrintf): Likewise.
12345 (llrint): Likewise.
12352 (nearbyint): Likewise.
12353 (nearbyintf): Likewise.
12357 (floorf): Likewise.
12359 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12361 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12362 on both fields and cast pointer to __syscall_ulong_t.
12364 * bits/types.h (__fsword_t): New type.
12365 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12366 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12367 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12368 (__FSWORD_T_TYPE): Likewise.
12369 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12370 (__FSWORD_T_TYPE): Likewise.
12371 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12372 (__FSWORD_T_TYPE): Likewise.
12373 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12374 (__FSWORD_T_TYPE): Likewise.
12375 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12376 __SWORD_TYPE with __fsword_t.
12377 (statfs64): Likewise.
12379 2012-05-17 David S. Miller <davem@davemloft.net>
12381 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12383 2012-05-17 Andreas Jaeger <aj@suse.de>
12385 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12388 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12390 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12392 2012-05-17 Andreas Jaeger <aj@suse.de>
12394 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12397 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12399 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12401 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12403 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12404 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12406 2012-05-17 Andreas Jaeger <aj@suse.de>
12407 Carlos O'Donell <carlos_odonell@mentor.com>
12410 * sysdeps/x86_64/multiarch/init-arch.h
12411 (bit_YMM_Usable): Rename to...
12412 (bit_AVX_Usable): ... this.
12413 (bit_FMA4_Usable): New macro.
12414 (bit_XMM_state): New macro.
12415 (bit_YMM_state): New macro.
12416 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12417 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12418 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12419 (CPUID_OSXSAVE): New macro.
12420 (CPUID_AVX): New macro.
12421 (CPUID_FMA4): New macro.
12422 (index_YMM_Usable): Rename to...
12423 (index_AVX_Usable): ... this.
12424 (HAS_AVX): Use HAS_ARCH_FEATURE.
12425 (HAS_FMA4): Likewise.
12426 (HAS_YMM_USABLE): Remove.
12427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12428 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12430 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12431 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12432 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12433 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12434 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12436 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12438 * math/libm-test.c: Support platforms without multiple rounding modes.
12439 * math/bug-nextafter.c: Support platforms without FP exceptions.
12440 * math/bug-nexttoward.c: Likewise.
12441 * math/test-fenv.c: Likewise.
12442 * math/test-misc.c: Likewise.
12443 * stdlib/bug-getcontext.c: Likewise.
12445 2012-05-17 Andreas Jaeger <aj@suse.de>
12447 * manual/examples/search.c (critter_cmp): Change signature to
12449 * manual/string.texi (Collation Functions): Likewise.
12451 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12453 * bits/types.h: Fold copyright years.
12454 * bits/typesizes.h: Likewise.
12455 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12456 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12457 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12458 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12459 * time/time.h: Likewise.
12461 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12464 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12465 in instead of returning them. Return void.
12466 (__libc_mallinfo): Accumulate over all arenas.
12467 (__malloc_stats): Adjust for change in int_mallinfo interface.
12469 2012-05-16 Roland McGrath <roland@hack.frob.com>
12472 * configure.in (NM): Add AC_CHECK_TOOL for it.
12473 (libc_extra_cflags): New substituted variable.
12474 Check for -fstack-protector being used implicitly.
12475 * configure: Regenerated.
12476 * config.make.in (config-extra-cflags): New variable,
12477 gets @libc_extra_cflags@.
12478 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12481 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12482 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12483 * configure: Regenerated.
12484 * config.make.in (CPPUNDEFS): New substituted variable.
12485 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12486 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12487 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12489 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12491 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12492 (mq_attr): Use __syscall_slong_t.
12494 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12496 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12497 Check __x86_64__ instead of __WORDSIZE.
12498 (_STAT_VER_LINUX): Likewise.
12499 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12500 __syscall_ulong_t and __syscall_slong_t.
12501 (stat64): Likewise.
12503 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12505 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12507 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12509 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12511 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12513 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12516 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12517 include <bits/wordsize.h>. Check __x86_64__ instead of
12519 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12521 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12523 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12524 include <bits/wordsize.h>. Check __x86_64__ instead of
12526 (user_regs_struct): Use "__extension__ unsigned long long"
12527 instead of "unsigned long" if __x86_64__ is defined.
12528 (user): Likewise. Pad after pointer field if __ILP32__ is
12531 2012-05-16 Joseph Myers <joseph@codesourcery.com>
12533 * configure.in (makeinfo): Require version 4.5 or later. Allow
12535 * configure: Regenerated.
12536 * manual/install.texi (texinfo): Increase version requirement to
12538 * INSTALL: Regenerated.
12540 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12542 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12544 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12546 * sysdeps/x86_64/x32/ffs.c: New file.
12548 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12550 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12551 defined. Use __syscall_ulong_t.
12552 (shminfo): Use __syscall_ulong_t.
12553 (shm_info): Likewise.
12555 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12558 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12560 (msgqnum_t): Use __syscall_ulong_t.
12561 (msglen_t): Likewise.
12562 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12565 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12566 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12568 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12570 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12571 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12573 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12576 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12577 include <bits/wordsize.h>. Check __x86_64__ instead of
12580 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12581 "unsigned long long int" if __x86_64__ is defined.
12582 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12584 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12585 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12586 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12588 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12590 (GET_PC): Cast to uintptr_t first.
12591 (GET_FRAME): Likewise.
12592 (GET_STACK): Likewise.
12594 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12595 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12596 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12597 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12598 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12599 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12600 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12601 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12602 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12603 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12604 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12605 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12606 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12607 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12608 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12609 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12610 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12611 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12612 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12613 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12614 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12615 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12616 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12617 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12618 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12619 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12620 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12621 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12622 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12624 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12626 * Makerules (+depfiles): Also collect depfiles from .oS in
12628 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12629 .oS, $(libnldbl-routines)).
12631 * Makerules (native-compile-mkdep-flags): Define.
12632 * sunrpc/Makefile (extra-objs): Add $(addprefix
12633 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12634 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12635 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12636 calling $(make-target-directory).
12638 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12640 * bits/types.h (__snseconds_t): Removed.
12641 * time/time.h (struct timespec): Replace __snseconds_t with
12643 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12644 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12646 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12647 (__SNSECONDS_T_TYPE): Likewise.
12648 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12649 (__SNSECONDS_T_TYPE): Likewise.
12650 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12651 (__SNSECONDS_T_TYPE): Likewise.
12653 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12655 * sysdeps/mach/hurd/bits/typesizes.h
12656 (__SYSCALL_SLONG_TYPE): New macro.
12657 (__SYSCALL_ULONG_TYPE): Likewise.
12659 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12661 * bits/types.h (__syscall_slong_t): New type.
12662 (__syscall_ulong_t): Likewise.
12664 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12665 (__SYSCALL_ULONG_TYPE): Likewise.
12666 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12667 (__SYSCALL_SLONG_TYPE): Likewise.
12668 (__SYSCALL_ULONG_TYPE): Likewise.
12669 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12670 (__SYSCALL_SLONG_TYPE): Likewise.
12671 (__SYSCALL_ULONG_TYPE): Likewise.
12672 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12673 (__SYSCALL_SLONG_TYPE): Likewise.
12674 (__SYSCALL_ULONG_TYPE): Likewise.
12676 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12678 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12679 Add sigaltstack-offsets.sym.
12680 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12681 <sigaltstack-offsets.h>.
12682 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12683 longjmp_msg pointer.
12684 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12685 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12687 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12689 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12691 * elf/stackguard-macros.h: Remove file.
12692 * sysdeps/generic/stackguard-macros.h: New file.
12693 * sysdeps/i386/stackguard-macros.h: Likewise.
12694 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12695 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12696 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12697 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12698 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12699 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12700 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12701 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12702 <elf/stackguard-macros.h>.
12705 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12706 __aligned__ in attribute.
12707 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12708 (gregset_t): Likewise.
12710 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12712 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12713 * sysdeps/x86_64/64/Implies-after: Here. New file.
12714 * sysdeps/x86_64/x32/Implies-after: New file.
12716 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12718 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12719 and access return value for _dl_profile_fixup. Use R10_LP to
12722 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12724 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12726 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12728 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12729 * sysdeps/x86_64/x32/sysdep.h: New file.
12731 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12733 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12734 * sysdeps/x86_64/setjmp.S: Likewise.
12736 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12738 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12739 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12740 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12741 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12742 remove unused global constant.
12744 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12746 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12747 include of <not-cancel.h>.
12749 2012-05-15 Roland McGrath <roland@hack.frob.com>
12751 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12753 2012-05-15 Jeff Law <law@redhat.com>
12754 Andreas Jaeger <aj@suse.de>
12757 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12759 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12760 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12761 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12762 code changing __hst_map_handle.map.
12764 2012-05-15 Roland McGrath <roland@hack.frob.com>
12766 * configure.in (sysnames): Look for Implies-before and Implies-after
12768 * configure: Regenerated.
12770 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12772 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12773 8-byte data alignment with LP_SIZE alignment.
12775 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12777 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12780 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12782 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12784 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12786 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12787 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12788 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12790 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12792 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12794 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12795 (stackinfo_sub_sp): Likewise.
12797 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12799 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12802 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12804 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12807 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12809 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12812 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12814 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12816 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12818 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12819 into R11_LP and load __x86_64_shared_cache_size_half into
12822 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12824 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12827 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12829 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12831 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12833 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12835 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12836 powerpc32/power7/fpu/s_logb.c via #include.
12837 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12838 powerpc32/power7/fpu/s_logbf.c via #include.
12839 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12840 powerpc32/power7/fpu/s_logbl.c via #include.
12842 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12844 * README.libm: Remove file.
12846 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12848 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12849 count for x32. Use R*_LP and omit operand-size suffix.
12851 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12853 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12854 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12855 * sysdeps/x86_64/x32/shlib-versions: New file.
12857 2012-05-14 Roland McGrath <roland@hack.frob.com>
12859 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12860 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12861 Use _dl_fatal_printf instead.
12863 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12865 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12866 set if not set by the user. Do not allow for being unset.
12867 * sysdeps/unix/sysv/linux/configure: Regenerated.
12869 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12871 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12872 the `q' suffix from lea and replace .quad with ASM_ADDR.
12874 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12876 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12877 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12879 (PTR_DEMANGLE): Likewise.
12881 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12883 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12885 (ASM_ADDR): Likewise.
12886 (RAX_LP): Likewise.
12887 (RBP_LP): Likewise.
12888 (RBX_LP): Likewise.
12889 (RCX_LP): Likewise.
12890 (RDI_LP): Likewise.
12891 (RSI_LP): Likewise.
12892 (RSP_LP): Likewise.
12895 (R10_LP): Likewise.
12896 (R10_LP): Likewise.
12897 (R11_LP): Likewise.
12898 (R12_LP): Likewise.
12899 (R13_LP): Likewise.
12900 (R14_LP): Likewise.
12901 (R15_LP): Likewise.
12903 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12905 * sysdeps/x86_64/x32/dl-machine.h: New file.
12907 2012-05-14 Andreas Jaeger <aj@suse.de>
12909 * manual/Makefile (subdir): Remove export of subdir.
12910 (all): Remove target.
12911 (.PHONY): Remove all from list.
12912 (mkinstalldirs): Remove.
12913 (.PHONY): Remove installdirs from list.
12914 ($(inst_infodir)/libc.info): Use make-target-directory.
12915 (installdirs): Remove.
12916 (subdir_%): Remove.
12917 (glibc-targets): Remove.
12920 ($(objpfx)stubs ../po/manual.pot): Remove.
12921 ($(objpfx)stamp%): Remove.
12922 (make-target-directory): Remove.
12923 (subdir_install): Remove.
12924 (routines): Remove.
12931 * manual/.gitignore: Remove, it's not needed anymore.
12932 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12934 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12936 (texis): Renamed to $(objpfx)texis.
12937 (texis-path): New, contains path to generated files.
12938 (chapters.%): Use texis-path for complete path, add extra argument
12940 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12941 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12942 (summary,texi, stamp-summary): Use complete path of
12943 files. Generate files in build dir.
12944 (dir-add.texi): Build in build dir.
12945 (libm-err.texi,stamp-libm-err): Likewise.
12946 (version.texi, stamp-version): Likewise.
12947 (.%c.texi): Likewise.
12948 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12949 (mostlyclean): Remove target.
12950 (realclean): Remove target.
12951 (generated): Add new variable with contents from mostlyclean and
12952 realclean, remove entries duplicated in common-mostlyclean, add
12953 stamp-libm-err and stamp-version.
12954 (generated-dirs): Add libc directory.
12955 ($(inst_infodir)/libc.info): Install files from build dir.
12957 * manual/install.texi (Configuring and compiling): Adjust since
12958 the info files are not part of the tar ball anymore.
12960 2012-05-14 Andreas Jaeger <aj@suse.de>
12962 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12965 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12968 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12969 to 2.2.0 where earlier.
12970 * sysdeps/unix/sysv/linux/configure: Regenerated.
12971 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12972 Remove conditional code.
12973 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12974 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12975 Remove conditional code.
12976 [!__NR_lchown]: Likewise.
12977 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12978 [__NR_lchown]: Likewise.
12979 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12980 comment referencing __ASSUME_LCHOWN_SYSCALL.
12981 * sysdeps/unix/sysv/linux/i386/sigaction.c
12982 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12983 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12984 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12985 Remove conditional code.
12986 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12987 (__protocol_available): Remove #if 0 code.
12988 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12990 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12991 * sysdeps/unix/sysv/linux/kernel-features.h
12992 (__ASSUME_GETCWD_SYSCALL): Don't define.
12993 (__ASSUME_REALTIME_SIGNALS): Likewise.
12994 (__ASSUME_PREAD_SYSCALL): Likewise.
12995 (__ASSUME_PWRITE_SYSCALL): Likewise.
12996 (__ASSUME_POLL_SYSCALL): Likewise.
12997 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12998 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13000 (__ASSUME_SIOCGIFNAME): Don't define.
13001 (__ASSUME_MSG_NOSIGNAL): Likewise.
13002 (__ASSUME_SENDFILE): Define unconditionally.
13003 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13004 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13006 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13007 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13008 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13009 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13010 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13011 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13012 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13014 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13015 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13017 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13018 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13020 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13021 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13023 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13024 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13026 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13027 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13029 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13030 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13032 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13033 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13035 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13036 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13037 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13038 Remove conditional code.
13039 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13040 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13041 Remove conditional code.
13042 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13043 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13044 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13045 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13046 Remove conditional code.
13047 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13048 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13049 Remove conditional code.
13050 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13051 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13052 Remove conditional code.
13053 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13054 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13055 Remove conditional code.
13056 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13057 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13058 Remove conditional code.
13059 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13060 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13061 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13062 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13063 * sysdeps/unix/sysv/linux/sigaction.c
13064 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13065 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13066 * sysdeps/unix/sysv/linux/sigpending.c
13067 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13068 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13069 * sysdeps/unix/sysv/linux/sigprocmask.c
13070 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13071 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13072 * sysdeps/unix/sysv/linux/sigsuspend.c
13073 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13074 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13075 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13076 (__libc_missing_rt_sigs): Remove.
13077 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13078 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13079 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13080 Remove conditional code.
13081 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13082 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13084 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13085 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13086 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13087 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13089 2012-05-14 Andreas Jaeger <aj@suse.de>
13091 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13092 it's not used in glibc.
13093 (__coshm1): Likewise.
13094 (__acosh1p): Likewise.
13097 * manual/string.texi (Copying and Concatenation): Add missing
13098 variable in concat example.
13099 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13101 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13104 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13105 __builtin_clzl with __builtin_clzll.
13107 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13110 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13113 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13115 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13116 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13117 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13118 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13120 2012-05-14 Mike Frysinger <vapier@gentoo.org>
13122 * NEWS: Update ia64 info.
13124 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13126 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13129 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13131 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13132 * sysdeps/unix/syscalls.list (dup3): Likewise.
13133 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13134 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13136 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13138 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13139 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13141 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13143 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13145 (TLS_IE): Use mov/add instead of movq/addq to load thread
13147 (TLS_GD_PREFIX): New.
13150 2012-05-11 David S. Miller <davem@davemloft.net>
13152 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13153 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13154 (_FPU_SETCW): Likewise.
13156 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13158 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13159 is 32-byte aligned.
13161 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13164 * iconvdata/gb18030.c: Update tables.
13165 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13166 characters specially.
13167 (BODY for TO_LOOP): Add encoding of missing ranges.
13169 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13172 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13173 * sysdeps/mach/hurd/dup3.c: Likewise.
13174 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13175 * sysdeps/powerpc/memmove.c:: Likewise.
13177 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13179 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13180 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13182 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13184 * elf/elf.h (R_X86_64_RELATIVE64): New.
13185 (R_X86_64_NUM): Updated.
13186 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13187 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13188 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13189 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13190 tst-quad1pie tst-quad2pie
13191 (modules-names): Add tst-quadmod1 tst-quadmod2.
13192 ($(objpfx)tst-quad1): New dependency.
13193 ($(objpfx)tst-quad2): Likewise.
13194 ($(objpfx)tst-quad1pie): Likewise.
13195 ($(objpfx)tst-quad2pie): Likewise.
13196 * sysdeps/x86_64/tst-quad1.c: New file.
13197 * sysdeps/x86_64/tst-quad1pie.c: New file.
13198 * sysdeps/x86_64/tst-quad2.c: Likewise.
13199 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13200 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13201 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13202 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13203 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13205 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13207 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13208 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13209 * streams/stropts.h (t_scalar_t): Define type.
13211 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13212 (_PATH_PRESERVE): Set to "/var/lib".
13213 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13215 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13218 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13219 if __dir_mkfile succeeded.
13221 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13222 checking for _hurd_dtablesize. Unlock it right after having
13223 finished _hurd_dtable allocation.
13225 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13227 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13228 * sysdeps/mach/hurd/configure: Regenerated.
13229 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13230 special-casing to...
13231 * sysdeps/gnu/configure.in: ... this new file.
13232 * sysdeps/unix/sysv/linux/configure: Regenerated.
13233 * sysdeps/gnu/configure: New generated file.
13235 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13236 for Linux: use nsec instead of usec, as well as:
13237 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13238 members of type struct timespec.
13239 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13241 (struct stat64): Likewise.
13242 (_STATBUF_ST_NSEC): New macro.
13243 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13245 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13246 __strtoul_internal rather than strtoul.
13248 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13250 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13253 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13255 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13256 which preserves existing values.
13257 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13259 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13261 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13262 TIMEOUT values. Return EINVAL for NFDS values either negative or
13263 greater than FD_SETSIZE.
13265 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13267 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13268 allocated, call __vm_protect to finish enabling the existing space, and
13269 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13270 allocate the remainder.
13272 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13274 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13275 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13277 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13279 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13280 sysdeps/mach/hurd/readlink.c.
13282 * posix/tst-sysconf.c (posix_options): Only use
13283 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13284 _POSIX_SYNCHRONIZED_IO when they are defined
13285 * sysdeps/mach/hurd/bits/posix_opt.h:
13286 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13287 (_XOPEN_REALTIME): Undefine macro.
13288 (_XOPEN_REALTIME_THREADS): Undefine macro.
13289 (_XOPEN_SHM): Undefine macro.
13290 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13292 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13294 (_POSIX_ASYNC_IO): Undefine macro.
13295 (_POSIX_PRIORITIZED_IO): Undefine macro.
13296 (_POSIX_SPIN_LOCKS): Define macro to -1.
13298 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13299 SA_NODEFER, SA_RESETHAND.
13300 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13301 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13304 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13306 * elf/Makefile (pldd-modules): Define unconditionally.
13308 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13310 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13312 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13314 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13315 Return ENOENT when name is empty.
13316 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13318 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13320 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13322 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13324 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13326 Fix mlock in all cases except non-readable pages.
13327 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13328 instead of VM_PROT_ALL as parameter to __vm_wire function.
13330 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13331 (__mkdir): When path is `/', just fail with EEXIST.
13332 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13334 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13336 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13337 <sys/uio.h> (for writev).
13338 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13339 and <sys/param.h> (for MIN).
13341 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13343 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13344 REQUESTED_TIME. Properly set the remaining time and return EINTR
13347 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13349 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13350 Depend on against $(link-rpcuserlibs).
13352 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13354 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13355 (__libc_stack_end): Do not use attribute_relro.
13356 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13357 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13358 to libthread-provided value.
13359 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13362 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13365 * bits/libc-lock.h (__libc_once_get): New macro.
13366 * sysdeps/mach/bits/libc-lock.h: Likewise.
13367 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13368 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13369 instead of using implementation details.
13371 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13372 * libio/freopen.c: Likewise.
13373 * libio/freopen64.c: Likewise.
13374 * misc/syslog.c: Likewise.
13375 * nscd/connections.c: Likewise.
13376 * nscd/netgroupcache.c: Likewise.
13377 * sysdeps/posix/getcwd.c: Likewise.
13379 2012-05-10 Roland McGrath <roland@hack.frob.com>
13381 * math/w_ilogbf.c: Add #include <limits.h>.
13383 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13385 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13386 path instead of returning without unlocking.
13388 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13389 immediate-write ioctls.
13390 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13392 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13394 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13395 __builtin_frame_address instead of making assumptions about the
13396 location of the return address relative to DATA. Force early load of
13397 the return address.
13398 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13399 __builtin_frame_address.
13402 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13403 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13404 implement dup3 and do some further code clean-ups.
13405 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13406 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13408 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13410 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13412 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13413 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13414 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13415 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13416 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13419 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13420 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13421 when handler == SIG_ERR, not when handler != SIG_ERR.
13423 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13425 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13426 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13429 accept4 for GNU Hurd.
13430 * include/sys/socket.h (__libc_accept4): New prototype.
13431 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13432 to implement __libc_accept4.
13433 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13435 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13437 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13438 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13439 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13440 signal-defines.sym.
13442 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13444 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13446 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13448 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13449 assertion on O_CLOEXEC flag.
13450 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13451 * hurd/intern-fd.c: Likewise.
13452 * hurd/port2fd.c: Likewise.
13454 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13457 * bits/in.h (IPV6_PKTINFO): Define new macro.
13458 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13460 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13465 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13466 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13467 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13468 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13469 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13470 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13471 * math/libm-test.inc (logb_test) : Additional logb tests.
13473 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13474 Andreas Jaeger <aj@suse.de>
13476 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13477 * configure: Regenerated.
13478 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13479 * config.make.in (link-obsolete-rpc): New substituted variable.
13480 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13481 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13482 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13483 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13484 so that libc.a contains the symbols.
13485 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13486 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13487 * sunrpc/auth_none.c: Likewise.
13488 * sunrpc/auth_unix.c: Likewise.
13489 * sunrpc/authdes_prot.c: Likewise.
13490 * sunrpc/authuxprot.c: Likewise.
13491 * sunrpc/clnt_gen.c: Likewise.
13492 * sunrpc/clnt_perr.c: Likewise.
13493 * sunrpc/clnt_raw.c: Likewise.
13494 * sunrpc/clnt_simp.c: Likewise.
13495 * sunrpc/clnt_tcp.c: Likewise.
13496 * sunrpc/clnt_udp.c: Likewise.
13497 * sunrpc/clnt_unix.c: Likewise.
13498 * sunrpc/des_crypt.c: Likewise.
13499 * sunrpc/des_soft.c: Likewise.
13500 * sunrpc/get_myaddr.c: Likewise.
13501 * sunrpc/key_call.c: Likewise.
13502 * sunrpc/key_prot.c: Likewise.
13503 * sunrpc/netname.c: Likewise.
13504 * sunrpc/pm_getmaps.c: Likewise.
13505 * sunrpc/pm_getport.c: Likewise.
13506 * sunrpc/pmap_clnt.c: Likewise.
13507 * sunrpc/pmap_prot.c: Likewise.
13508 * sunrpc/pmap_prot2.c: Likewise.
13509 * sunrpc/pmap_rmt.c: Likewise.
13510 * sunrpc/publickey.c: Likewise.
13511 * sunrpc/rpc_cmsg.c: Likewise.
13512 * sunrpc/rpc_common.c: Likewise.
13513 * sunrpc/rpc_dtable.c: Likewise.
13514 * sunrpc/rpc_prot.c: Likewise.
13515 * sunrpc/rpc_thread.c: Likewise.
13516 * sunrpc/rtime.c: Likewise.
13517 * sunrpc/svc.c: Likewise.
13518 * sunrpc/svc_auth.c: Likewise.
13519 * sunrpc/svc_raw.c: Likewise.
13520 * sunrpc/svc_run.c: Likewise.
13521 * sunrpc/svc_tcp.c: Likewise.
13522 * sunrpc/svc_udp.c: Likewise.
13523 * sunrpc/svc_unix.c: Likewise.
13524 * sunrpc/svcauth_des.c: Likewise.
13525 * sunrpc/xcrypt.c: Likewise.
13526 * sunrpc/xdr.c: Likewise.
13527 * sunrpc/xdr_array.c: Likewise.
13528 * sunrpc/xdr_float.c: Likewise.
13529 * sunrpc/xdr_intXX_t.c: Likewise.
13530 * sunrpc/xdr_mem.c: Likewise.
13531 * sunrpc/xdr_rec.c: Likewise.
13532 * sunrpc/xdr_ref.c: Likewise.
13533 * sunrpc/xdr_sizeof.c: Likewise.
13534 * sunrpc/xdr_stdio.c: Likewise.
13536 2012-05-10 Roland McGrath <roland@hack.frob.com>
13538 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13539 change. Update copyright years.
13541 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13543 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13545 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13546 Joseph Myers <joseph@codesourcery.com>
13547 Paul Pluzhnikov <ppluzhnikov@google.com>
13550 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13552 [cross-compiling] (extra-libs): Likewise.
13553 [cross-compiling] (extra-libs-others): Likewise.
13554 [cross-compiling] (librpcsvc-routines): Likewise.
13555 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13556 [cross-compiling] (omit-deps): Likewise.
13557 (sunrpc-CPPFLAGS): New variable.
13558 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13559 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13560 (cross-rpcgen-objs): New variable.
13561 (extra-objs): Append $(cross-rpcgen-objs).
13562 ($(cross-rpcgen-objs)): New rule.
13563 ($(objpfx)cross-rpcgen): Likewise.
13564 (rpcgen-cmd): Define to use $(built-program-file). Expand
13566 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13567 ($(objpfx)x%.stmp): Likewise.
13568 * sunrpc/proto.h [IS_IN_build] (_): Define.
13569 [IS_IN_build] (_libc_intl_domainname): Likewise.
13571 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13573 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13574 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13575 and R_X86_64_TPOFF64.
13577 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13579 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13580 sysdeps/unix/sysv/syscalls.list.
13583 * sysdeps/unix/sysv/syscalls.list: Remove file.
13585 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13588 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13589 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13590 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13591 (__LC_IDENTIFICATION): Make these macros useful in #if
13592 expressions, as required by C99.
13594 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13596 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13597 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13600 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13602 * stdlib/longlong.h: Updated from GCC.
13604 2012-05-09 Andreas Jaeger <aj@suse.de>
13606 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13607 default is first entry.
13608 (run_mode): Set type.
13609 (main): Remove informal message about syslog.
13610 (options): Fix typo.
13613 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13616 (llrintf): Likewise.
13617 (llrint): Likewise.
13620 (nearbyint): Likewise.
13621 (nearbyintf): Likewise.
13623 2012-05-09 Andreas Jaeger <aj@suse.de>
13624 Pedro Alves <palves@redhat.com>
13626 * nscd/nscd.c (run_mode): Use enum.
13627 (main): Cleanup coding style issue.
13629 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
13630 Andreas Jaeger <aj@suse.de>
13632 * nscd/nscd.c (go_background): Replaced with...
13633 (run_mode): ... this.
13634 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13635 (options): Add -F --foreground.
13636 (main): Implement it.
13637 (parse_opt): Parse it.
13639 2012-05-09 Andreas Jaeger <aj@suse.de>
13642 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13643 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13644 -Wconversion warning.
13645 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13648 2012-05-09 Joseph Myers <joseph@codesourcery.com>
13650 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13652 (LC_ALL): Use macro-int-constant.
13653 (LC_COLLATE): Likewise.
13654 (LC_CTYPE): Likewise.
13655 (LC_MESSAGES): Likewise.
13656 (LC_MONETARY): Likewise.
13657 (LC_NUMERIC): Likewise.
13658 (LC_TIME): Likewise.
13659 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13660 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13661 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13662 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13664 [C99-based standards] (float_t): Expect type.
13665 [C99-based standards] (double_t): Expect type.
13666 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13668 [C99-based standards] (HUGE_VALL): Likewise.
13669 [C99-based standards] (INFINITY): Likewise.
13670 [C99-based standards] (NAN): Likewise.
13671 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13672 [C99-based standards] (FP_NAN): Likewise.
13673 [C99-based standards] (FP_NORMAL): Likewise.
13674 [C99-based standards] (FP_SUBNORMAL): Likewise.
13675 [C99-based standards] (FP_ZERO): Likewise.
13676 [C99-based standards] (FP_FAST_FMA): Use
13677 optional-macro-int-constant. Specify type. Require == 1.
13678 [C99-based standards] (FP_FAST_FMAF): Likewise.
13679 [C99-based standards] (FP_FAST_FMAL): Likewise.
13680 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13681 [C99-based standards] (FP_ILOGBNAN): Likewise.
13682 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13684 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13685 [C99-based standards] (math_errhandling): Specify type.
13686 [ISO99 || ISO11] (signgam): Do not allow.
13687 [non-C99-based standards] (copysignf): Do not allow.
13688 [non-C99-based standards] (exp2f): Likewise.
13689 [non-C99-based standards] (log2f): Likewise.
13690 [non-C99-based standards] (modff): Allow.
13691 [non-C99-based standards] (erff): Do not allow.
13692 [non-C99-based standards] (erfcf): Likewise.
13693 [non-C99-based standards] (gammaf): Likewise.
13694 [non-C99-based standards] (hypotf): Likewise.
13695 [non-C99-based standards] (j0f): Likewise.
13696 [non-C99-based standards] (j1f): Likewise.
13697 [non-C99-based standards] (jnf): Likewise.
13698 [non-C99-based standards] (lgammaf): Likewise.
13699 [non-C99-based standards] (tgammaf): Likewise.
13700 [non-C99-based standards] (y0f): Likewise.
13701 [non-C99-based standards] (y1f): Likewise.
13702 [non-C99-based standards] (ynf): Likewise.
13703 [non-C99-based standards] (isnanf): Likewise.
13704 [non-C99-based standards] (acoshf): Likewise.
13705 [non-C99-based standards] (asinhf): Likewise.
13706 [non-C99-based standards] (atanhf): Likewise.
13707 [non-C99-based standards] (cbrtf): Likewise.
13708 [non-C99-based standards] (expm1f): Likewise.
13709 [non-C99-based standards] (ilogbf): Likewise.
13710 [non-C99-based standards] (log1pf): Likewise.
13711 [non-C99-based standards] (logbf): Likewise.
13712 [non-C99-based standards] (nextafterf): Likewise.
13713 [non-C99-based standards] (remainderf): Likewise.
13714 [non-C99-based standards] (rintf): Likewise.
13715 [non-C99-based standards] (scalbf): Likewise.
13716 [non-C99-based standards] (copysignl): Likewise.
13717 [non-C99-based standards] (exp2l): Likewise.
13718 [non-C99-based standards] (log2l): Likewise.
13719 [non-C99-based standards] (modfl): Allow.
13720 [non-C99-based standards] (erfl): Do not allow.
13721 [non-C99-based standards] (erfcl): Likewise.
13722 [non-C99-based standards] (gammal): Likewise.
13723 [non-C99-based standards] (hypotl): Likewise.
13724 [non-C99-based standards] (j0l): Likewise.
13725 [non-C99-based standards] (j1l): Likewise.
13726 [non-C99-based standards] (jnl): Likewise.
13727 [non-C99-based standards] (lgammal): Likewise.
13728 [non-C99-based standards] (tgammal): Likewise.
13729 [non-C99-based standards] (y0l): Likewise.
13730 [non-C99-based standards] (y1l): Likewise.
13731 [non-C99-based standards] (ynl): Likewise.
13732 [non-C99-based standards] (isnanl): Likewise.
13733 [non-C99-based standards] (acoshl): Likewise.
13734 [non-C99-based standards] (asinhl): Likewise.
13735 [non-C99-based standards] (atanhl): Likewise.
13736 [non-C99-based standards] (cbrtl): Likewise.
13737 [non-C99-based standards] (expm1l): Likewise.
13738 [non-C99-based standards] (ilogbl): Likewise.
13739 [non-C99-based standards] (log1pl): Likewise.
13740 [non-C99-based standards] (logbl): Likewise.
13741 [non-C99-based standards] (nextafterl): Likewise.
13742 [non-C99-based standards] (remainderl): Likewise.
13743 [non-C99-based standards] (rintl): Likewise.
13744 [non-C99-based standards] (scalbl): Likewise.
13745 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13746 [non-C99-based standards] (FP_*): Do not allow.
13747 [C99-based standards] (FP_*): Change to
13748 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13749 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13751 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13752 (SIG_ERR): Likewise.
13753 [X/Open-based standards] (SIG_HOLD): Likewise.
13754 (SIG_IGN): Likewise.
13755 (SIGABRT): Use macro-int-constant. Specify type. Require
13757 (SIGFPE): Likewise.
13758 (SIGILL): Likewise.
13759 (SIGINT): Likewise.
13760 (SIGSEGV): Likewise.
13761 (SIGTER): Likewise.
13762 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13763 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13764 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13765 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13766 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13767 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13768 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13769 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13770 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13771 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13772 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13773 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13774 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13775 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13776 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13777 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13778 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13779 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13780 [X/Open-based standards] (SIGTRAP): Likewise.
13781 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13782 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13783 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13784 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13785 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13788 2012-05-08 Ian Wienand <ianw@vmware.com>
13791 * time/tzset.c (__tzset_parse_tz): Update default rules for
13792 daylight time changes in the Energy Policy Act of 2005.
13794 2012-05-09 Andreas Jaeger <aj@suse.de>
13797 * elf/ldconfig.c (parse_conf): Change string to make clear that
13798 ldconfig only issued a warning if ld.so.conf does not exist.
13800 2012-05-08 David S. Miller <davem@davemloft.net>
13802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13803 movxtod instead of popping the value on the stack.
13805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13807 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13809 * config.h.in: Add HAVE_ARM_PCS_VFP.
13811 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
13814 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13815 checking but the checks are disabled for any reason.
13817 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13819 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13820 and ELF64_R_TYPE with ELFW(R_TYPE).
13822 2012-05-08 Joseph Myers <joseph@codesourcery.com>
13824 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13825 (ulimit): Likewise.
13827 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13828 (settimeofday): Likewise.
13830 2012-05-08 Mike Frysinger <vapier@gentoo.org>
13832 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13833 a struct th_u2 inside the union, and move tu_block/tu_code into
13834 a new th_u3 union of tu_block/tu_code inside of that. Move
13835 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13836 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13837 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13838 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13839 (th_stuff): Change to th_u1.tu_stuff.
13841 (th_msg): Change to th_u1.th_u2.tu_data.
13843 2012-05-07 David S. Miller <davem@davemloft.net>
13845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13848 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13849 (SETUP_PIC_REG): Use it.
13850 (SETUP_PIC_REG_LEAF): Use it.
13852 2012-05-07 Joseph Myers <joseph@codesourcery.com>
13856 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13858 (EXPL_FINITE): Likewise.
13859 (FLDLOG): Likewise.
13860 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13861 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13863 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13865 (EXPL_FINITE): Likewise.
13866 (FLDLOG): Likewise.
13867 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13868 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13870 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13871 test of -max_value argument for long double.
13872 * sysdeps/i386/fpu/libm-test-ulps: Update.
13873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13875 2012-05-06 David S. Miller <davem@davemloft.net>
13877 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13878 quad soft-float symbols whose references which are compiler
13880 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13882 2012-05-06 Joseph Myers <joseph@codesourcery.com>
13886 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13888 (EXPL_FINITE): Likewise.
13889 (FLDLOG): Likewise.
13892 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13893 Adjust comments for base varying.
13894 (__expl_finite): Change alias to EXPL_FINITE.
13895 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13897 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13898 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13899 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13900 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13901 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13903 (EXPL_FINITE): Likewise.
13904 (FLDLOG): Likewise.
13907 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13908 Adjust comments for base varying.
13909 (__expl_finite): Change alias to EXPL_FINITE.
13910 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13912 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13915 * math/libm-test.inc (check_float_internal): Correct ulp
13916 calculation for subnormal expected results.
13918 2012-05-06 Andreas Jaeger <aj@suse.de>
13920 * Makeconfig (+math-flags): New, set to -frounding-math.
13921 (+cflags): Add +math-flags so that all of glibc gets compiled with
13924 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13926 2012-05-05 Joseph Myers <joseph@codesourcery.com>
13928 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13934 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13935 (__ieee754_expl): Allow for and saturate large arguments.
13936 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13937 (u_threshold): Likewise.
13938 (__exp): Call __ieee754_exp before checking for overflow and
13940 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13941 (u_threshold): Likewise.
13942 (__expf): Call __ieee754_expf before checking for overflow and
13944 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13945 (u_threshold): Likewise.
13946 (__expl): Call __ieee754_expl before checking for overflow and
13948 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13949 (__ieee754_expl): Allow for and saturate large arguments.
13950 * math/libm-test.inc (exp_test): Add another test. Do not allow
13951 missing overflow exception on overflow.
13952 (expm1_test): Do not allow missing overflow exception on overflow.
13954 * sysdeps/i386/fpu/e_expl.c: Move to ...
13955 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13956 rather than using inline asm.
13957 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13958 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13959 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13961 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13964 (signal): Likewise.
13968 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13970 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13971 sysdeps/unix/common/syscalls.list.
13972 (fchmod): Likewise.
13973 (fchown): Likewise.
13974 (ftruncate): Likewise.
13975 (getrusage): Likewise.
13976 (gettimeofday): Likewise.
13977 (setpgid): Likewise.
13978 (setregid): Likewise.
13979 (setreuid): Likewise.
13980 (sigaction): Likewise.
13981 (truncate): Likewise.
13982 (vhangup): Likewise.
13983 * sysdeps/unix/common/syscalls.list: Remove file.
13984 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13985 * sysdeps/unix/sysv/linux/Implies: Likewise.
13987 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13989 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13991 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13995 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13998 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14001 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14004 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14007 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14010 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14013 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14017 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14021 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14024 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14028 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14032 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14034 * sysdeps/unix/common/bits/dirent.h: Remove file.
14035 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14037 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14038 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14039 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14040 * sysdeps/unix/bsd/isatty.c: Likewise.
14041 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14042 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14043 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14045 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14048 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14049 long double comparison inaccuracies.
14050 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14053 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14055 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14056 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14058 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14061 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14062 nonzero digits before rounding a hex value.
14063 * stdlib/tst-strtod.c (tests): Add another test.
14065 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14067 * sysdeps/s390/fpu/libm-test-ulps: Update.
14069 2012-05-03 Andreas Jaeger <aj@suse.de>
14071 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14072 does not get optimized out.
14073 (malloc_opt_barrier): New.
14075 2012-05-03 Andreas Jaeger <aj@suse.de>
14076 Roland McGrath <roland@hack.frob.com>
14078 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14079 intermediate file deletion.
14080 (generated): Add .symlist files.
14082 2012-05-03 Joseph Myers <joseph@codesourcery.com>
14085 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14086 Redirect under this condition.
14087 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14088 [__USE_GNU] (__dprintf_chk): Not under this condition.
14089 [__USE_GNU] (__vdprintf_chk): Likewise.
14090 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14091 under this condition.
14092 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14093 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14094 [__USE_XOPEN2K8] (vdprintf): Likewise.
14095 [__USE_GNU] (__dprintf_chk): Not under this condition.
14096 [__USE_GNU] (__vdprintf_chk): Likewise.
14097 [__USE_GNU] (dprintf): Likewise.
14098 [__USE_GNU] (vdprintf): Likewise.
14100 2012-05-03 Roland McGrath <roland@hack.frob.com>
14102 * elf/Makefile (common-generated): Set this instead of generated for
14103 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14104 $(all-built-dso)-derived lists.
14106 2012-05-03 Andreas Jaeger <aj@suse.de>
14108 * sysdeps/i386/fpu/libm-test-ulps: Update.
14111 * FAQ.in: Likewise.
14112 * scripts/gen-FAQ.pl: Likewise.
14113 * manual/install.texi (Installation): Point to online location of
14115 * Makefile (files-for-dist): Remove FAQ.
14118 2012-05-02 Allan McRae <allan@archlinux.org>
14120 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14121 (LDFLAGS-reldepmod5.so): Likewise.
14122 (LDFLAGS-reldep6mod1.so): Likewise.
14123 (LDFLAGS-reldep6mod4.so): Likewise.
14124 (LDFLAGS-reldep8mod3.so): Likewise.
14125 (LDFLAGS-unload4mod1.so): Likewise.
14126 (LDFLAGS-unload4mod2.so): Likewise.
14127 (LDFLAGS-tst-initorder): Likewise.
14128 (LDFLAGS-tst-initordera2.so): Likewise.
14129 (LDFLAGS-tst-initordera3.so): Likewise.
14130 (LDFLAGS-tst-initordera4.so): Likewise.
14131 (LDFLAGS-tst-initorderb2.so): Likewise.
14132 (LDFLAGS-noload): Likewise.
14133 (LDFLAGS-next): Likewise.
14134 (LDFLAGS-order2mod1.so): Likewise.
14135 (LDFLAGS-order2mod2.so): Likewise.
14136 (LDFLAGS-tst-initorder2): Likewise.
14137 (LDFLAGS-tst-initorder2a.so): Likewise.
14138 (LDFLAGS-tst-initorder2b.so): Likewise.
14139 (LDFLAGS-tst-initorder2c.so): Likewise.
14140 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14142 2012-05-02 David S. Miller <davem@davemloft.net>
14144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14146 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14149 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14151 2012-05-02 Andreas Jaeger <aj@suse.de>
14153 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14154 since we manipulate rounding mode.
14155 (CPPFLAGS-test-idouble.c): Likewise.
14156 (CPPFLAGS-test-ifloat.c): Likewise.
14157 (CFLAGS-test-ldouble.c): Likewise.
14158 (CFLAGS-test-double.c): Likewise.
14159 (CFLAGS-test-float.c): Likewise.
14160 (CFLAGS-test-misc.c): Likewise.
14161 (CFLAGS-test-test-fenv.c): Likewise.
14163 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14167 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14168 comparisons to determine direction to adjust input.
14170 2012-05-01 Roland McGrath <roland@hack.frob.com>
14172 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14173 output to the target.
14175 * scripts/localplt.awk: New file.
14176 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14177 (check-localplt-CFLAGS): Variable removed.
14178 ($(all-built-dso:=.jmprel)): New static pattern rule.
14179 (generated): Add those targets.
14180 (localplt-built-dso): New variable.
14181 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14183 * elf/check-localplt.c: File removed.
14185 * scripts/check-execstack.awk: New file.
14186 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14187 (check-execstack-CFLAGS): Variable removed.
14188 ($(objpfx)check-execstack.h): Target removed.
14189 ($(objpfx)execstack-default): New target.
14190 (generated): Add that instead of check-execstack.h.
14191 ($(all-built-dso:=.phdr)): New static pattern rule.
14192 (generated): Add those targets.
14193 * elf/check-execstack.c: File removed.
14195 * scripts/check-textrel.awk: New file.
14196 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14197 (check-textrel-CFLAGS): Variable removed.
14198 (all-built-dso): Use := to define.o
14199 ($(all-built-dso:=.dyn)): New static pattern rule.
14200 (generated): Add those targets.
14201 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14202 * config.make.in (READELF): New substituted variable.
14203 * elf/check-textrel.c: File removed.
14205 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14207 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14209 * conform/data/ctype.h-data [C99-based standards] (isblank):
14211 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14212 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14213 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14214 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14215 Specify type. Require positive value.
14216 (EILSEQ): Likewise.
14217 (ERANGE): Likewise.
14218 [ISO || POSIX] (EILSEQ): Do not expect.
14219 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14220 Specify type. Require positive value.
14221 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14222 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14223 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14224 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14225 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14226 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14227 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14228 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14229 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14230 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14231 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14232 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14233 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14234 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14235 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14236 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14237 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14238 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14239 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14240 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14241 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14242 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14243 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14244 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14245 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14246 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14247 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14248 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14249 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14250 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14251 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14252 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14253 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14254 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14255 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14256 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14257 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14258 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14259 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14260 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14261 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14262 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14263 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14264 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14265 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14266 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14267 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14268 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14269 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14270 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14271 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14272 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14273 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14274 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14275 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14276 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14277 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14278 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14279 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14280 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14281 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14282 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14283 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14284 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14285 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14286 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14287 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14288 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14289 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14290 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14291 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14292 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14293 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14294 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14295 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14296 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14297 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14299 (FLT_ROUNDS): Expect as macro, not constant.
14300 (FLT_MANT_DIG): Use macro-int-constant.
14301 (DBL_MANT_DIG): Likewise.
14302 (LDBL_MANT_DIG): Likewise.
14303 (FLT_DIG): Likewise.
14304 (DBL_DIG): Likewise.
14305 (LDBL_DIG): Likewise.
14306 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14307 (DBL_MIN_EXP): Likewise.
14308 (LDBL_MIN_EXP): Likewise.
14309 (FLT_MAX_EXP): Use macro-int-constant.
14310 (DBL_MAX_EXP): Likewise.
14311 (LDBL_MAX_EXP): Likewise.
14312 (FLT_MAX_10_EXP): Likewise.
14313 (DBL_MAX_10_EXP): Likewise.
14314 (LDBL_MAX_10_EXP): Likewise.
14315 (FLT_MAX): Use macro-constant.
14316 (DBL_MAX): Likewise.
14317 (LDBL_MAX): Likewise.
14318 (FLT_EPSILON): Use macro-constant. Give upper bound.
14319 (DBL_EPSILON): Likewise.
14320 (LDBL_EPSILON): Likewise.
14321 (FLT_MIN): Likewise.
14322 (DBL_MIN): Likewise.
14323 (LDBL_MIN): Likewise.
14324 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14325 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14326 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14327 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14328 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14329 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14330 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14331 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14332 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14333 [ISO11] (FLT_TRUE_MIN): Likewise.
14334 [ISO11] (LDBL_TRUE_MIN): Likewise.
14335 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14336 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14337 (SCHAR_MIN): Use macro-int-constant. Specify type.
14338 (SCHAR_MAX): Likewise.
14339 (UCHAR_MAX): Likewise.
14340 (CHAR_MIN): Likewise.
14341 (CHAR_MAX): Likewise.
14342 (MB_LEN_MAX): Use macro-int-constant.
14343 (SHRT_MIN): Use macro-int-constant. Specify type.
14344 (SHRT_MAX): Likewise.
14345 (USHRT_MAX): Likewise.
14346 (INT_MAX): Likewise.
14347 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14349 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14351 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14353 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14354 bound negative. Suffix upper bound with "L".
14355 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14357 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14359 [C99-based standards] (LLONG_MAX): Likewise.
14360 [C99-based standards] (ULLONG_MAX): Likewise.
14361 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14363 [ISO11] (max_align_t): Require type.
14364 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14366 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14367 from $CFLAGS, without defining away __attribute__ calls.
14368 (checknamespace): Use $CFLAGS_namespace.
14370 * conform/conformtest.pl (@keywords): Only include C99 keywords
14371 for standards based on C99 or C11.
14373 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14375 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14378 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14379 usability of symbols in #if.
14381 * conform/conformtest.pl: If macro or constant types start
14382 "promoted:", expect the symbol to be of the following type
14383 promoted by the integer promotions.
14385 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14386 in one place. Also handle "macro-constant".
14388 * conform/conformtest.pl: Only accept expected macro values with
14389 "==". Parse all "macro" lines in one place.
14390 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14392 * conform/conformtest.pl: Handle braced types on "constant" lines
14393 instead of handling "typed-constant".
14394 * conform/data/signal.h-data: Use "constant" instead of
14397 * conform/conformtest.pl: Handle "optional-" at start of lines in
14398 one place rather than duplicating several cases. Handle each
14399 format of "macro" line with initial "optional-".
14401 * conform/conformtest.pl: Only accept expected constant or
14402 optional-constant values with "==". Parse all "constant" lines in
14403 one place. Parse all "optional-constant" lines in one place.
14404 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14405 * conform/data/fmtmsg.h-data: Likewise.
14406 * conform/data/netinet/in.h-data: Likewise.
14407 * conform/data/tar.h-data: Likewise.
14408 * conform/data/limits.h-data: Use "==" form on "constant" and
14409 "optional-constant" lines.
14411 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14412 Use -std=c99 for XOPEN2K.
14413 (@knownproblems): Remove.
14414 (newtoken): Don't check %isknown.
14416 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14417 Do not expect macro.
14418 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14419 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14420 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14421 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14422 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14423 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14424 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14425 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14426 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14427 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14428 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14429 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14430 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14431 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14432 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14433 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14434 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14435 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14436 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14437 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14438 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14439 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14440 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14441 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14442 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14443 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14444 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14445 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14446 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14447 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14448 [XPG3] (acosh): Likewise.
14449 [XPG3] (asinh): Likewise.
14450 [XPG3] (atanh): Likewise.
14451 [XPG3] (cbrt): Likewise.
14452 [XPG3] (expm1): Likewise.
14453 [XPG3] (ilogb): Likewise.
14454 [XPG3] (log1p): Likewise.
14455 [XPG3] (logb): Likewise.
14456 [XPG3] (nextafter): Likewise.
14457 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14458 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14459 [XPG3] (remainder): Likewise.
14460 [XPG3] (rint): Likewise.
14461 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14462 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14463 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14464 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14465 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14466 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14467 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14468 [UNIX98 || XOPEN2K] (scalb): Expect.
14469 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14470 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14471 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14472 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14473 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14474 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14475 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14476 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14477 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14478 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14479 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14480 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14481 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14482 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14483 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14484 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14485 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14486 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14487 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14488 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14489 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14490 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14491 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14492 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14493 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14494 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14495 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14496 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14497 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14498 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14499 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14500 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14501 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14502 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14503 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14504 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14505 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14506 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14507 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14508 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14509 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14510 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14511 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14512 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14513 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14514 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14515 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14516 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14517 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14518 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14519 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14520 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14521 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14522 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14523 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14524 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14525 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14526 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14527 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14528 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14529 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14530 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14531 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14532 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14533 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14534 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14535 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14536 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14537 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14538 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14539 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14540 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14541 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14542 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14543 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14544 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14545 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14546 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14547 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14548 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14549 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14550 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14551 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14552 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14553 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14554 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14555 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14556 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14557 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14558 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14559 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14560 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14561 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14562 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14563 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14564 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14565 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14566 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14567 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14568 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14569 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14570 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14571 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14572 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14573 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14574 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14575 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14576 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14577 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14578 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14579 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14580 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14581 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14582 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14583 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14584 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14585 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14586 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14587 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14588 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14589 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14590 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14591 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14592 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14593 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14594 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14595 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14596 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14597 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14598 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14599 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14600 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14601 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14602 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14603 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14604 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14605 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14607 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14608 _XOPEN_SOURCE_EXTENDED for XPG4.
14610 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14612 * Makeconfig (localtime): Remove variable.
14613 (inst_localtime-file): Likewise.
14615 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14636 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14640 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14641 comparisons to determine direction to adjust input.
14642 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14643 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14644 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14646 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14648 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14650 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14651 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14653 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14655 * math/libm-test.inc (nexttoward_test): Add more tests.
14657 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14660 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14661 in version GLIBC_2.1, not GLIBC_2.0.
14662 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14665 2012-04-30 Joseph Myers <joseph@codesourcery.com>
14668 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14670 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14671 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14672 * math/libm-test.inc (acos_test): Add more tests.
14673 (asin_test): Likewise.
14674 * sysdeps/i386/fpu/libm-test-ulps: Update.
14675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14678 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14680 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14681 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14682 * math/libm-test.inc (acos_test_tonearest): New function.
14683 (acos_test_towardzero): Likewise.
14684 (acos_test_downward): Likewise.
14685 (acos_test_upward): Likewise.
14686 (asin_test_tonearest): Likewise.
14687 (asin_test_towardzero): Likewise.
14688 (asin_test_downward): Likewise.
14689 (asin_test_upward): Likewise.
14690 (main): Call the new functions.
14691 * sysdeps/i386/fpu/libm-test-ulps: Update.
14692 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14696 * math/e_exp10.c: Include <float.h>.
14697 (__ieee754_exp10): Handle underflow here rather than multiplying
14698 large negative argument by M_LN10.
14699 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14701 * math/e_exp10l.c: Include <float.h>.
14702 (__ieee754_exp10l): Handle underflow here rather than multiplying
14703 large negative argument by M_LN10l.
14704 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14705 spurious overflow exception on underflow.
14707 2012-04-29 Marek Polacek <polacek@redhat.com>
14709 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14710 (__fortify_function): New macro.
14711 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14712 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14713 __extern_always_inline.
14714 * libio/bits/stdio2.h: Likewise.
14715 * libio/bits/stdio.h: Likewise.
14716 * string/string.h: Likewise.
14717 * string/bits/string3.h: Likewise.
14718 * include/stdio.h: Likewise.
14719 * stdlib/bits/stdlib.h: Likewise.
14720 * stdlib/stdlib.h: Likewise.
14721 * rt/bits/mqueue2.h: Likewise.
14722 * rt/mqueue.h: Likewise.
14723 * posix/bits/unistd.h: Likewise.
14724 * posix/unistd.h: Likewise.
14725 * io/bits/poll2.h: Likewise.
14726 * io/bits/fcntl2.h: Likewise.
14727 * io/fcntl.h: Likewise.
14728 * io/sys/poll.h: Likewise.
14729 * misc/bits/syslog.h: Likewise.
14730 * misc/bits/syslog-ldbl.h: Likewise.
14731 * misc/sys/syslog.h: Likewise.
14732 * socket/bits/socket2.h: Likewise.
14733 * socket/sys/socket.h: Likewise.
14734 * debug/tst-chk1.c: Likewise.
14735 * wcsmbs/bits/wchar2.h: Likewise.
14736 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14737 * wcsmbs/wchar.h: Likewise.
14739 2012-04-29 Andreas Jaeger <aj@suse.de>
14741 * Makerules (tests): Remove enable-check-abi protection.
14742 (check-abi-warn): Remove.
14743 (check-abi-%): Remove check-abi-warn usage.
14745 * configure.in: Remove check-abi configure option.
14746 * configure: Regenerated.
14747 * config.make.in (enable-check-abi): Remove.
14749 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14752 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14753 double functions to double *_finite functions.
14756 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14757 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14759 * stdio-common/Makefile (tests): Add tst-sprintf3.
14760 * stdio-common/tst-sprintf3.c: New file.
14762 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14763 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14765 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14767 * conform/conformtest.pl: Remove duplicate typed-constant
14770 2012-04-28 David S. Miller <davem@davemloft.net>
14772 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14773 (check-abi-%): Remove AWK script prerequisite and explicit
14775 (check-abi): Rewrite to just diff the symlist with the abilist.
14776 (config-tls, config-abi-config): Delete, no longer used.
14777 (update-abi-%): Remove AWK script and explicit abilist directory.
14778 (update-abi): Rewrite to simply compare and conditionally copy the
14779 symlist and the sysdep abilist file. Remove update-abi-config
14781 * abilist/ld.abilist: Remove.
14782 * abilist/libBrokenLocale.abilist: Remove.
14783 * abilist/libanl.abilist: Remove.
14784 * abilist/libcrypt.abilist: Remove.
14785 * abilist/libdl.abilist: Remove.
14786 * abilist/librt.abilist: Remove.
14787 * abilist/libthread_db.abilist: Remove.
14788 * abilist/libutil.abilist: Remove.
14789 * scripts/extract-abilist.awk: Remove.
14790 * scripts/merge-abilist.awk: Remove.
14791 * sysdeps/generic/libcidn.abilist: New file.
14792 * sysdeps/generic/libnss_compat.abilist: New file.
14793 * sysdeps/generic/libnss_db.abilist: New file.
14794 * sysdeps/generic/libnss_dns.abilist: New file.
14795 * sysdeps/generic/libnss_files.abilist: New file.
14796 * sysdeps/generic/libnss_hesiod.abilist: New file.
14797 * sysdeps/generic/libnss_nis.abilist: New file.
14798 * sysdeps/generic/libnss_nisplus.abilist: New file.
14799 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14800 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14801 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14803 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14804 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14805 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14806 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14807 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14808 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14809 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14810 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14811 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14813 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14814 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14815 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14816 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14818 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14819 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14820 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14821 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14822 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14823 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14825 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14826 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14827 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14829 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14830 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14832 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14834 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14836 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14838 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14840 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14842 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14854 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14932 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14933 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14934 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14936 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14937 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14938 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14939 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14940 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14941 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14942 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14943 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14944 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14945 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14997 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14999 * conform/conformtest.pl: Fix typo in handling typed-constant from
15002 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15004 * README: Cut down references to pre-2.6 Linux kernels and
15005 Linuxthreads. Update lists of configurations in libc and ports
15006 and sort alphabetically. Say "or newer" with Linux kernel version
15009 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15011 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15014 * math/libm-test.inc (logb_test_downward): New test to expose
15015 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15018 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15021 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15023 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15024 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15026 2012-04-26 Joseph Myers <joseph@codesourcery.com>
15028 * sysdeps/unix/i386/brk.S: Remove file.
15029 * sysdeps/unix/i386/dl-brk.S: Likewise.
15030 * sysdeps/unix/i386/pipe.S: Likewise.
15031 * sysdeps/unix/i386/sigreturn.S: Likewise.
15032 * sysdeps/unix/i386/syscall.S: Likewise.
15033 * sysdeps/unix/i386/vfork.S: Likewise.
15034 * sysdeps/unix/i386/wait.S: Likewise.
15036 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15037 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15039 * configure.in (arm*-none*): Do not allow without
15040 --enable-hacker-mode.
15041 (netbsd*): Remove case setting base_os.
15042 (386bsd*): Likewise.
15043 (freebsd*): Likewise.
15046 (sunos*): Likewise.
15047 (ultrix*): Likewise.
15048 (newsos*): Likewise.
15049 (dynix*): Likewise.
15055 (minix*): Likewise.
15056 (irix4*): Likewise.
15057 (irix6*): Likewise.
15058 (solaris[2-9]*): Likewise.
15060 * configure: Regenerated.
15062 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15065 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15066 overflow or cancellation in calculating denominator.
15067 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15068 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15069 down expression to avoid unexpected rounding in newer GCCs.
15070 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15072 2012-04-26 David S. Miller <davem@davemloft.net>
15074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15075 long-double compat symbols.
15076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15090 2012-04-25 David S. Miller <davem@davemloft.net>
15092 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15093 HWCAP_* values only after the memory barriers have been defined.
15094 (atomic_full_barrier): Define.
15095 (atomic_read_barrier): Define.
15096 (atomic_write_barrier): Define.
15098 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15100 * shlib-versions: Add libgcc_s version information.
15101 * sysdeps/generic/libgcc_s.h: Remove.
15102 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15104 * sysdeps/gnu/unwind-resume.c: Likewise.
15105 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15107 2012-04-25 David S. Miller <davem@davemloft.net>
15109 * sysdeps/unix/sparc/brk.S: Delete.
15110 * sysdeps/unix/sparc/dl-brk.S: Delete.
15111 * sysdeps/unix/sparc/pipe.S: Delete.
15112 * sysdeps/unix/sparc/sysdep.S: Delete.
15113 * sysdeps/unix/sparc/sysdep.h: Delete.
15114 * sysdeps/unix/sparc/vfork.S: Delete.
15115 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15116 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15117 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15118 ret_ERRVAL, r0, r1, MOVE): Define.
15119 (JUMPTARGET): Remove.
15120 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15121 sysdeps/unix/sparc/sysdep.h
15122 (ENTRY, END): Remove.
15123 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15125 2012-04-25 Joseph Myers <joseph@codesourcery.com>
15127 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15128 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15131 * timezone/README: Update upstream location and email address for
15133 * timezone/zdump.c: Update from tzcode 2012b.
15134 * timezone/zic.c: Likewise.
15136 * configure.in (libc_cv_as_needed): Remove test.
15137 * configure: Regenerated.
15138 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15139 conditional definition.
15140 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15141 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15142 * config.make.in (have-as-needed): Remove variable.
15144 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15145 Paul Pluzhnikov <ppluzhnikov@google.com>
15147 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15150 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15152 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15153 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15154 * sysdeps/sh/strlen.S: Likewise.
15156 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15158 * sysdeps/unix/fork.S: Remove file.
15159 * sysdeps/unix/i386/fork.S: Likewise.
15160 * sysdeps/unix/sparc/fork.S: Likewise.
15162 * sysdeps/unix/system.c: Remove file.
15163 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15165 * sysdeps/unix/getegid.S: Remove file.
15166 * sysdeps/unix/geteuid.S: Likewise.
15168 2012-04-24 Roland McGrath <roland@hack.frob.com>
15170 * scripts/check-localplt.awk: New file.
15171 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15173 * scripts/data/localplt-generic.data: Add a comment.
15175 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15176 NODE when __dir_mkfile failed.
15177 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15178 Reported by Ludovic Courtès <ludo@gnu.org>.
15180 2012-04-24 Andreas Jaeger <aj@suse.de>
15182 * Makerules (common-clean): Also remove gen-as-const-headers
15185 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15187 * Makerules (native-compile): Do not change working directory for
15188 build. Use $(OUTPUT_OPTION) in command.
15189 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15191 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15194 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15195 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15196 * math/libm-test.inc (floor_test): Add more tests.
15197 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15199 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15201 * sysdeps/unix/getdents.c: Remove file.
15202 * sysdeps/unix/sysv/getdents.c: Likewise.
15203 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15205 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15206 sysdeps/unix/mman/syscalls.list.
15208 (mprotect): Likewise.
15210 (munmap): Likewise.
15211 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15212 * sysdeps/unix/mman/syscalls.list: Remove.
15213 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15215 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15216 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15217 * configure: Regenerated.
15218 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15219 $(libgcc_s_suffix).
15220 * config.make.in (libgcc_s_suffix): Remove variable.
15222 2012-04-23 Joseph Myers <joseph@codesourcery.com>
15224 * sysdeps/unix/sysv/gethostname.c: Move to ...
15225 * sysdeps/posix/gethostname.c: ... here.
15227 * sysdeps/unix/execve.S: Remove file.
15229 * sysdeps/unix/_exit.S: Remove file.
15231 2012-04-23 Andreas Jaeger <aj@suse.de>
15234 * manual/Makefile: Remove make dist support, there's no
15235 need for a stand-alone documentation tar ball.
15236 (TEXI2DVI): Define always, it's not in Makeconfig.
15239 (edition): Removed.
15240 (glibc-doc-$(edition).tar): Removed
15244 (ETAGS): Remove, it's in Makeconfig.
15245 (move-if-change): Remove, it's in Makeconfig.
15247 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
15250 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15251 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15252 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15253 (strtod_l, strtof_l, strtold_l): Remove __wur.
15254 It is not necessarily an error to ignore strtol's return value.
15255 One can reliably look at the stored endptr to decide whether
15256 the number had valid syntax.
15258 2012-04-21 Andreas Jaeger <aj@suse.de>
15261 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15263 2012-04-21 Joseph Myers <joseph@codesourcery.com>
15265 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15266 * sysdeps/unix/sysv/Versions: Remove file.
15268 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15273 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
15276 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15277 version from __vm86.
15279 2012-04-20 Joseph Myers <joseph@codesourcery.com>
15281 * sysdeps/unix/common/lxstat.c: Remove file.
15282 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15284 * sysdeps/unix/sysv/Makefile: Remove file.
15286 * sysdeps/unix/sysv/direct.h: Remove file.
15288 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15289 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15290 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15291 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15292 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15293 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15294 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15296 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15298 * sysdeps/unix/xmknod.c: Remove file.
15299 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15301 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15303 * sysdeps/unix/sysv/i386/time.S: Remove file.
15305 * sysdeps/unix/fxstat.c: Remove file.
15306 * sysdeps/unix/xstat.c: Likewise.
15307 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15309 * sysdeps/unix/sysv/sigaction.c: Remove file.
15311 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15312 (sysdep_headers): Remove variable.
15313 [termio.h not in sysdep_headers] (generated): Likewise.
15314 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15315 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15316 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15317 * sysdeps/unix/sysv/tcflow.c: Likewise.
15318 * sysdeps/unix/sysv/tcflush.c: Likewise.
15319 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15320 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15321 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15322 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15323 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15325 * sysdeps/unix/siglist.c: Remove file.
15327 * sysdeps/unix/getppid.S: Remove file.
15329 * sysdeps/unix/mkdir.c: Remove file.
15330 * sysdeps/unix/rmdir.c: Likewise.
15332 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15334 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15336 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15337 errlist-compat value.
15339 2012-04-18 David S. Miller <davem@davemloft.net>
15341 * sysdeps/generic/memcopy.h (reg_char): Delete.
15342 * debug/strcat_chk.c: Use char, not reg_char.
15343 * debug/strcpy_chk.c: Likewise.
15344 * debug/strncat_chk.c: Likewise.
15345 * debug/strncpy_chk.c: Likewise.
15346 * string/memchr.c: Likewise.
15347 * string/memrchr.c: Likewise.
15348 * string/rawmemchr.c: Likewise.
15349 * string/strcat.c: Likewise.
15350 * string/strchr.c: Likewise.
15351 * string/strchrnul.c: Likewise.
15352 * string/strcmp.c: Likewise.
15353 * string/strcpy.c: Likewise.
15354 * string/strncat.c: Likewise.
15355 * string/strncmp.c: Likewise.
15356 * string/strncpy.c: Likewise.
15358 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15360 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15361 __builtin_memcopy is called when src and dest ranges are known to not
15364 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15366 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15367 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15368 fwd_align_merge macro call.
15369 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15370 bwd_align_merge macro call.
15371 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15373 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15375 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15376 bwd_align_merge macros.
15377 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15378 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15379 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15381 2012-04-18 David S. Miller <davem@davemloft.net>
15383 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15385 2012-04-18 Andreas Jaeger <aj@suse.de>
15388 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15389 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15390 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15392 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15393 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15394 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15396 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15397 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15398 Adjust for changed ldbl-128 files.
15400 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15401 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15402 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15404 2012-04-17 David S. Miller <davem@davemloft.net>
15406 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15408 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15410 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15411 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15412 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15413 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15414 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15415 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15417 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15420 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15421 * math/libm-test.inc: Add ilogb errno and exception tests.
15422 * math/w_ilogb.c: New file: ilogb wrapper.
15423 * math/w_ilogbf.c: New file: ilogbf wrapper.
15424 * math/w_ilogbl.c: New file: ilogbl wrapper.
15425 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15426 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15427 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15428 exception being thrown with 0.0 as argument.
15429 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15430 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15431 exception being thrown with 0.0 as argument.
15432 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15433 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15434 exception being thrown with 0.0 as argument.
15435 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15436 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15437 exception being thrown with 0.0 as argument.
15438 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15439 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15440 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15441 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15442 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15443 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15444 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15445 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15446 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15448 2012-04-17 Petr Baudis <pasky@ucw.cz>
15450 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15453 2012-04-16 Marek Polacek <polacek@redhat.com>
15455 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15457 2012-04-16 Marek Polacek <polacek@redhat.com>
15459 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15460 operands of fdivp instruction.
15462 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15464 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15465 * elf/tst-auditmod3b.c: Likewise.
15466 * elf/tst-auditmod4b.c: Likewise.
15467 * elf/tst-auditmod5b.c: Likewise.
15468 * elf/tst-auditmod6b.c: Likewise.
15469 * elf/tst-auditmod6c.c: Likewise.
15470 * elf/tst-auditmod7b.c: Likewise.
15471 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15472 * sysdeps/x86_64/preconfigure.in: Likewise.
15473 * sysdeps/x86_64/preconfigure: Regenerated.
15475 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15477 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15480 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
15482 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15483 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15485 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15488 * locale/iso-639.def: Fix gl language name. Spotted by
15491 2012-04-12 Roland McGrath <roland@hack.frob.com>
15494 * libio/libio.h (__io_write_fn): Update comment.
15496 2012-04-12 Petr Baudis <pasky@ucw.cz>
15499 * stdio.texi (Hook Functions): The user provided writer function
15500 is not allowed to return -1.
15502 2012-04-11 David S. Miller <davem@davemloft.net>
15504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15506 2012-04-11 Mike Frysinger <vapier@gentoo.org>
15508 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15509 Add a leading slash to rtkaio.
15511 2012-04-11 Jim Meyering <meyering@redhat.com>
15514 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15515 It is not necessarily an error to ignore fwrite's return
15516 value. One can reliably use ferror to test for errors after
15519 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15521 * bits/types.h (__snseconds_t): New type.
15522 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15524 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15525 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15526 (__SNSECONDS_T_TYPE): Likewise.
15527 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15528 (__SNSECONDS_T_TYPE): Likewise.
15529 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15530 (__SNSECONDS_T_TYPE): Likewise.
15532 2012-04-10 Andreas Jaeger <aj@suse.de>
15535 * manual/time.texi (Processor Time): Return type of times is
15536 elapsed real time since an arbitrary point in the past.
15537 (CPU Time): Move CLK_TCK from here...
15538 (Processor Time): ...to here. Correct description.
15539 * manual/conf.texi (Constants for Sysconf): Correct description of
15542 2012-04-10 David S. Miller <davem@davemloft.net>
15545 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15546 where the is a gap between DT_REL(A) and DT_JMPREL.
15548 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15550 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15551 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15552 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15554 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15556 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15557 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15558 (dl_main): Handle --inhibit-cache.
15559 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15561 * elf/dl-load.c (_dl_map_object): Use it.
15562 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15564 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15567 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15568 (__ieee754_powl): Saturate large exponents rather than testing for
15569 overflow of y*log2(x).
15570 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15571 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15575 * math/s_ctan.c: Include <float.h>.
15576 (__ctan): Avoid internal overflow or cancellation in calculating
15578 * math/s_ctanf.c: Likewise.
15579 * math/s_ctanl.c: Likewise.
15580 * math/s_ctanh.c: Likewise.
15581 * math/s_ctanhf.c: Likewise.
15582 * math/s_ctanhl.c: Likewise.
15583 * math/libm-test.inc (ctan_test): Add more tests.
15584 (ctanh_test): Likewise.
15585 * sysdeps/i386/fpu/libm-test-ulps: Update.
15586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15588 2012-04-09 Andreas Jaeger <aj@suse.de>
15591 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15592 is an optional BSD extension.
15595 * manual/stdio.texi (Opening Streams): Document additional fopen
15598 2012-04-09 Roland McGrath <roland@hack.frob.com>
15600 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15601 %eax without telling the compiler.
15603 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15606 * manual/install.texi: Use sourceware.org.
15608 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15611 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15612 (__ieee754_pow): Generate overflow and underflow using huge*huge
15613 and tiny*tiny rather than just returning constant infinity or zero
15614 for large exponents.
15615 * math/libm-test.inc (pow_test): Require overflow exceptions for
15616 applicable cases of large exponents.
15619 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15620 (__ieee754_pow): Use iterative multiplication algorithm only for
15621 integer exponents with absolute value below 1024. Check for odd
15622 integer exponents when using algorithm for real exponents.
15623 * math/libm-test.inc (pow_test): Add more tests.
15624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15626 2012-04-08 Joseph Myers <joseph@codesourcery.com>
15629 * math/libm-test.inc (exp_test): Do not allow overflow exception
15632 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15635 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15636 instead of __kernel_standard_f.
15638 2012-04-08 Mike Frysinger <vapier@gentoo.org>
15640 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15641 * sysdeps/x86_64/memset_chk.S: Likewise.
15643 2012-04-08 Andreas Jaeger <aj@suse.de>
15646 * manual/startup.texi (Environment Access): Describe return value
15647 for putenv and setenv.
15650 * manual/filesys.texi (Directory Entries): Add description for
15654 * manual/filesys.texi (Directory Entries): Clarify that it's file
15655 system not operating system in the description of DT_UNKNOWN.
15658 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15660 2012-04-08 Stephen Compall <s11@member.fsf.org>
15663 * manual/llio.texi (Opening and Closing Files): Add cross
15664 reference to explain mode argument.
15666 2012-04-07 Mike Frysinger <vapier@gentoo.org>
15668 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15669 * sysdeps/x86_64/memset_chk.S: Likewise.
15671 2012-04-07 David S. Miller <davem@davemloft.net>
15673 * elf/elf.h (R_SPARC_WDISP10): Define.
15674 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15676 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15677 R_SPARC_SIZE64 and R_SPARC_H34.
15679 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15681 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15682 conditions and remove no longer applicable assertion.
15684 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15686 * bits/byteswap.h: Include <features.h>.
15687 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15688 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15690 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15692 * bits/byteswap.h (__bswap_16): Removed.
15693 Include <bits/byteswap-16.h> to get __bswap_16.
15694 * sysdeps/i386/bits/byteswap.h: Likewise.
15695 * sysdeps/s390/bits/byteswap.h: Likewise.
15696 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15697 * bits/byteswap-16.h: New file.
15698 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15699 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15700 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15701 * string/Makefile (headers): Add bits/byteswap-16.h.
15703 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15706 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15708 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15709 * nss/tst-nss-static.c: New.
15711 2012-04-06 Robert Millan <rmh@gnu.org>
15714 * manual/llio.texi (File Position Primitive): lseek
15715 refers to WHENCE when it really means OFFSET.
15717 2012-04-06 Andreas Jaeger <aj@suse.de>
15719 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15720 strncmp declarations.
15722 * abilist/libc.abilist: Add __poll and __ppoll.
15724 2012-04-05 David S. Miller <davem@davemloft.net>
15726 * scripts/check-local-headers.sh: Accept a host triplet in the
15727 path matched by the exclude regexp.
15729 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15731 * sysdeps/powerpc/powerpc32/dl-machine.h
15732 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15733 * sysdeps/s390/s390-32/dl-machine.h
15734 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15735 * sysdeps/sparc/sparc32/dl-machine.h
15736 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15737 * sysdeps/sparc/sparc64/dl-machine.h
15738 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15740 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15742 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15743 undefined symbol errors.
15745 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15748 2012-04-05 Michael Matz <matz@suse.de>
15751 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15753 2012-04-05 Andreas Jaeger <aj@suse.de>
15756 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15759 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15761 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15762 which ROUND is no valid rounding mode.
15764 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15766 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15768 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15770 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15772 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15773 an exception using FPU order intentionally.
15775 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15777 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15778 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15779 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15780 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15782 2012-04-05 Simon Josefsson <simon@josefsson.org>
15785 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15786 EINVAL when BUFLEN is too smal.
15788 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15791 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15792 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15794 2012-04-03 Andreas Jaeger <aj@suse.de>
15797 * manual/setjmp.texi (System V contexts): Fix sentence.
15800 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15801 New macro for this case.
15802 [!__GNUC__] (__bswap_64): New inline function for this case.
15803 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15804 * bits/byteswap.h: Likewise.
15805 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15806 ull, guard with __GLIBC_HAVE_LONG_LONG.
15808 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15809 __GLIBC_HAVE_LONG_LONG.
15811 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15812 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15814 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15817 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15818 inptr and inend, rather than using last_ch.
15820 2012-04-02 David S. Miller <davem@davemloft.net>
15822 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15823 * stdio-common/printf-parse.h (read_int): Change return type to
15824 'int', return -1 on INT_MAX overflow.
15825 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15826 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15827 overflows INT_MAX. Check for overflow of in-format-string precision
15828 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15829 SIZE_MAX not INT_MAX for integer overflow test.
15830 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15831 skip the construct in the format string but do not record anything.
15832 * stdio-common/bug22.c: Adjust to test both width/prevision
15833 INT_MAX overflow as well as total length INT_MAX overflow. Check
15834 explicitly for proper errno values.
15836 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15838 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15840 * string/test-strcmp.c [! WIDE]: Likewise.
15841 * time/tst-mktime2.c: Likewise for INT_MAX.
15842 * string/test-string.h: #include <sys/param.h> for MIN.
15844 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15845 * sysdeps/i386/init-first.c (init): Likewise.
15846 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15847 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15848 * sysdeps/sh/init-first.c (init): Likewise.
15850 2012-04-01 Ulrich Drepper <drepper@gmail.com>
15852 * po/ru.po: Update from translation team.
15853 * po/vi.po: Likewise.
15855 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15857 * resolv/nss_dns/dns-host.c: Merge copyright years.
15859 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15861 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15862 Optimize memcpy with prefetch if
15863 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15864 src, dst pointers have unequal 16 byte alignments.
15866 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15869 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15870 from a CNAME entry and return the minimum ttl for the query.
15871 (gaih_getanswer_slice): Likewise.
15873 2012-03-30 Jeff Law <law@redhat.com>
15875 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15877 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15878 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15880 * resolv/nss_dns/dns-host.c: Update copyright year.
15882 2012-03-30 Ulrich Drepper <drepper@gmail.com>
15884 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15885 requests to save a system call. Fix check that all bytes are sent.
15887 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15888 comments for sendmmsg.
15890 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15893 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15894 with only 1 character between 0x0041 and 0x01b0.
15895 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15896 * wcsmbs/tst-mbsnrtowcs.c: New file.
15898 2012-03-29 David S. Miller <davem@davemloft.net>
15900 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15901 small copies by hand.
15903 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15906 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15907 _nss_compat_initgroups_dyn): Fall back to malloc/free
15908 for large group memberships.
15910 2012-03-28 David S. Miller <davem@davemloft.net>
15912 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15913 that branches into memcpy.
15914 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15915 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15916 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15917 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15918 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15920 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15921 implementation too.
15922 * sysdeps/sparc/mempcpy.S: New file.
15924 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15925 the IFUNC routine in the libc case.
15926 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15928 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15929 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15930 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15931 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15932 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15933 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15934 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15935 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15937 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15938 loop to 256 bytes instead of 64 bytes and fix test signedness.
15940 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15941 * sysdeps/sparc/sparc32/Makefile: rather than here...
15942 * sysdeps/sparc/sparc64/Makefile: and here.
15944 2012-03-28 Ulrich Drepper <drepper@gmail.com>
15946 * malloc/mallocbug.c: Avoid warnings about unused variables.
15948 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15951 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15952 in the right place. Discard and retry query if response is
15953 larger than input buffer size.
15955 2012-03-28 Joseph Myers <joseph@codesourcery.com>
15960 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15961 x for large integer exponent.
15962 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15963 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15964 sign of result as needed afterwards.
15965 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15966 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15967 result for underflowing pow the same as for overflow.
15968 (__kernel_standard_l): Handle powl overflow and underflow here
15969 rather than calling __kernel_standard.
15970 * math/libm-test.inc (pow_test): Add more tests.
15985 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15986 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15987 (__kernel_standard_l): New function.
15988 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15990 * math/w_acosl.c (__acosl): Likewise.
15991 * math/w_asinl.c (__asinl): Likewise.
15992 * math/w_atan2l.c (__atan2l): Likewise.
15993 * math/w_atanhl.c (__atanhl): Likewise.
15994 * math/w_coshl.c (__coshl): Likewise.
15995 * math/w_exp10l.c (__exp10l): Likewise.
15996 * math/w_exp2l.c (__exp2l): Likewise.
15997 * math/w_fmodl.c (__fmodl): Likewise.
15998 * math/w_hypotl.c (__hypotl): Likewise.
15999 * math/w_j0l.c (__j0l, __y0l): Likewise.
16000 * math/w_j1l.c (__j1l, __y1l): Likewise.
16001 * math/w_jnl.c (__jnl, __ynl): Likewise.
16002 * math/w_lgammal.c (__lgammal): Likewise.
16003 * math/w_log10l.c (__log10l): Likewise.
16004 * math/w_log2l.c (__log2l): Likewise.
16005 * math/w_logl.c (__logl): Likewise.
16006 * math/w_powl.c (__powl): Likewise.
16007 * math/w_remainderl.c (__remainderl): Likewise.
16008 * math/w_scalbl.c (sysv_scalbl): Likewise.
16009 * math/w_sinhl.c (__sinhl): Likewise.
16010 * math/w_sqrtl.c (__sqrtl): Likewise.
16011 * math/w_tgammal.c (__tgammal): Likewise.
16012 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16013 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16014 * math/libm-test.inc (acos_test): Add more tests.
16015 (acosh_test): Likewise.
16016 (asin_test): Likewise.
16017 (atanh_test): Likewise.
16018 (exp_test): Likewise.
16019 (exp10_test): Likewise.
16020 (exp2_test): Likewise.
16021 (expm1_test): Likewise.
16022 (lgamma_test): Likewise.
16023 (log_test): Likewise.
16024 (log10_test): Likewise.
16025 (log1p_test): Likewise.
16026 (log2_test): Likewise.
16027 (pow_test): Do not allow some spurious overflow exceptions.
16028 (sqrt_test): Add more tests.
16029 (tgamma_test): Likewise.
16030 (y0_test): Likewise.
16031 (y1_test): Likewise.
16032 (yn_test): Likewise.
16034 2012-03-27 Anton Blanchard <anton@samba.org>
16036 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16038 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16039 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16040 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16042 2012-03-27 David S. Miller <davem@davemloft.net>
16044 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16046 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16047 have-as-vis3 check.
16049 2012-03-27 Andreas Jaeger <aj@suse.de>
16051 * sysdeps/x86_64/elf/configure.in: Moved to ...
16052 * sysdeps/x86_64/configure.in: ... here.
16053 * sysdeps/x86_64/elf/start.S: Moved to ...
16054 * sysdeps/x86_64/start.S: ... here.
16055 * sysdeps/x86_64/elf/configure: Delete.
16057 * sysdeps/x86_64/configure.in: Merge contents from
16058 sysdeps/i386/configure.in (without i686 check).
16060 * sysdeps/i386/elf/Versions: Merge into ...
16061 * sysdeps/i386/Versions: ... this.
16062 * sysdeps/i386/elf/Versions: Delete file.
16063 * sysdeps/i386/elf/start.S: Moved to ...
16064 * sysdeps/i386/start.S: ...here.
16065 * sysdeps/i386/elf/configure.in: Merge into...
16066 * sysdeps/i386/configure.in: ...here.
16067 * sysdeps/i386/elf/configure.in: Delete file.
16068 * sysdeps/i386/elf/configure: Delete file.
16070 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16071 * debug/backtracesyms.c: ... here.
16072 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16073 * debug/backtracesymsfd.c: ... here.
16074 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16075 * sysdeps/generic/ifunc-sel.h: ... here.
16077 * sysdeps/unix/i386/start.c: Delete file.
16078 * sysdeps/unix/sparc/start.c: Delete file.
16079 * sysdeps/unix/start.c: Delete file.
16081 * sysdeps/sh/elf/configure.in: Moved to ...
16082 * sysdeps/sh/configure.in: ... here.
16083 * sysdeps/sh/elf/start.S: Moved to ...
16084 * sysdeps/sh/start.S: ... here.
16085 * sysdeps/sh/elf/configure: Delete file.
16087 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16088 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16089 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16090 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16091 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16092 * sysdeps/powerpc/powerpc64/start.S: here.
16093 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16094 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16095 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16096 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16097 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16099 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16100 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16101 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16102 * sysdeps/powerpc/powerpc32/start.S: ... here.
16103 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16104 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16105 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16107 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16108 * sysdeps/powerpc/ifunc-sel.h: ... here.
16109 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16110 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16112 * sysdeps/sparc/elf/configure.in: Moved to ...
16113 * sysdeps/sparc/configure.in: ... here.
16114 * sysdeps/sparc/elf/configure: Delete file.
16115 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16116 * sysdeps/sparc/sparc32/start.S: ... here.
16117 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16118 * sysdeps/sparc/sparc64/start.S: ... here.
16119 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16120 * sysdeps/sparc/sparc32/Makefile: ... this.
16121 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16122 * sysdeps/sparc/sparc64/Makefile: ... this.
16124 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16125 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16126 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16127 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16128 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16129 * sysdeps/s390/s390-32/setjmp.S: ... here.
16130 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16131 * sysdeps/s390/s390-32/configure.in: ... here.
16132 * sysdeps/s390/s390-32/elf/configure: Delete file.
16133 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16134 * sysdeps/s390/s390-32/start.S: ... here.
16136 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16137 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16138 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16139 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16140 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16141 * sysdeps/s390/s390-64/setjmp.S: ... here.
16142 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16143 * sysdeps/s390/s390-64/configure.in: ... here
16144 * sysdeps/s390/s390-64/elf/configure: Delete file.
16145 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16146 * sysdeps/s390/s390-64/start.S: ... here.
16147 * sysdeps/s390/s390-64/elf/configure: Delete.
16149 * configure.in: Remove support for elf directories in sysdeps.
16151 * configure: Regenerated.
16152 * sysdeps/i386/configure: Regenerated.
16153 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16154 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16155 * sysdeps/s390/s390-32/configure: Regenerated.
16156 * sysdeps/s390/s390-64/configure: Regenerated.
16157 * sysdeps/sh/configure: Regenerated.
16158 * sysdeps/sparc/configure: Regenerated.
16159 * sysdeps/x86_64/configure: Regenerated.
16161 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16165 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16166 denormal result into account.
16168 2012-03-25 Roland McGrath <roland@hack.frob.com>
16170 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16171 Reported by Allan McRae <allan@archlinux.org>.
16173 2012-03-23 Jeff Law <law@redhat.com>
16175 * nss/getnssent.c (__nss_getent): Fix typo.
16177 2012-03-23 David S. Miller <davem@davemloft.net>
16179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16181 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16183 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16184 to pad to uint64_t for each field.
16185 (dl_tls_index): Replace unsigned long with uint64_t.
16187 2012-03-23 Daniel Jacobowitz <dmj@google.com>
16188 Paul Pluzhnikov <ppluzhnikov@google.com>
16191 * grp/Makefile (otherlibs): Don't set it.
16192 * inet/Makefile (otherlibs): Likewise.
16193 * login/Makefile (otherlibs): Likewise.
16194 * nscd/Makefile (otherlibs): Likewise.
16195 * posix/Makefile (otherlibs): Likewise.
16196 * pwd/Makefile (otherlibs): Likewise.
16197 * rt/Makefile (otherlibs): Likewise.
16198 * sunrpc/Makefile (otherlibs): Likewise.
16199 * nss/Makefile (otherlibs): Likewise.
16200 Add libnss_files to routines and static-only-routines.
16201 ($(objpfx)getent): Remove rule.
16202 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16203 static-only-routines.
16205 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16208 * math/s_cexp.c: Include <float.h>.
16209 (__cexp): Handle exp result overflowing not necessarily
16210 overflowing both real and imaginary parts of result.
16211 * math/s_cexpf.c: Likewise.
16212 * math/s_cexpl.c: Likewise.
16213 * math/libm-test.inc (cexp_test): Add more tests.
16214 * sysdeps/i386/fpu/libm-test-ulps: Update.
16215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16217 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16219 * include/link.h (ELFW): New macro.
16220 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16221 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16223 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16225 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16228 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16230 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16232 (struct La_x32_retval): Likewise.
16234 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16236 * sysdeps/x86_64/preconfigure.in: New file.
16237 * sysdeps/x86_64/preconfigure: New generated file.
16239 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16242 * math/e_exp2l.c: Include <float.h>.
16243 (__ieee754_exp2l): Handle overflow and underflow cases
16244 separately. Only pass fractional part of argument to
16246 * math/libm-test.inc (exp2_test): Add more tests.
16248 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16249 negating x to take absolute value.
16250 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16252 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16253 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16255 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16256 computing low part if x was negated.
16257 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16259 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16261 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16262 la_x32_gnu_pltexit.
16263 (pltexit): Cast int_retval to ptrdiff_t.
16264 * elf/tst-auditmod3b.c: Likewise.
16265 * elf/tst-auditmod4b.c: Likewise.
16266 * elf/tst-auditmod5b.c: Likewise.
16267 * elf/tst-auditmod6b.c: Likewise.
16268 * elf/tst-auditmod6c.c: Likewise.
16269 * elf/tst-auditmod7b.c: Likewise.
16271 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16272 and x32_gnu_pltexit.
16274 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16275 __ELF_NATIVE_CLASS.
16276 (La_x32_regs): New macro.
16277 (La_x32_retval): Likewise.
16278 (la_x32_gnu_pltenter): New function prototype.
16279 (la_x32_gnu_pltexit): Likewise.
16281 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16283 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16288 * configure.in (libc_cv_cc_nofma): Check for option to disable
16289 generation of FMA instructions.
16290 * configure: Regenerate.
16291 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16292 * sysdeps/ieee754/dbl-64/Makefile: New file.
16293 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16294 Remove brandred-fma4.
16295 (CFLAGS-brandred-fma4.c): Remove.
16296 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16297 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16299 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16302 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16304 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16305 LLONG_MAX != LONG_MAX.
16306 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16307 (_fitoa_word): Likewise.
16308 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16309 LLONG_MAX != LONG_MAX.
16310 * stdio-common/_itowa.h: Include <_itoa.h>.
16311 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16312 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16313 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16314 only if not defined.
16315 (_ITOA_WORD_TYPE): Likewise.
16316 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16317 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16319 2012-03-21 David S. Miller <davem@davemloft.net>
16321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16323 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16325 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16326 of x86_64 when setting libc_cv_slibdir, libdir and
16328 * sysdeps/unix/sysv/linux/configure: Regenerated.
16330 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16332 * manual/lang.texi (Old Varargs): Remove section.
16333 (How Variadic): Update menu.
16334 (va_start): Do not mention varargs.h.
16336 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16337 Joseph Myers <joseph@codesourcery.com>
16339 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16341 * configure: Regenerated.
16343 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16345 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16346 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16349 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16352 * Makefile (files-for-dist): Remove NOTES.
16353 (NOTES): Remove rule.
16354 * README: Don't refer to NOTES.
16355 * manual/creature.texi: Don't include macros.texi.
16356 * manual/intro.texi (creature.texi): Remove comment referring to
16359 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16360 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16361 * configure: Regenerated.
16362 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16363 LIBC_TRY_CC_OPTION.
16364 (libc_cv_as_i686): Likewise.
16365 (libc_cv_cc_avx): Likewise.
16366 (libc_cv_cc_sse2avx): Likewise.
16367 (libc_cv_cc_fma4): Likewise.
16368 (libc_cv_cc_novzeroupper): Likewise.
16369 * sysdeps/i386/configure: Regenerated.
16372 * sysdeps/i386/fpu/s_cexp.S: Remove.
16373 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16374 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16375 * math/libm-test.inc (cexp_test): Add more tests.
16376 * sysdeps/i386/fpu/libm-test-ulps: Update.
16377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16379 2012-03-21 Allan McRae <allan@archlinux.org>
16381 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16383 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16386 * math/w_exp2.c: Do not include <float.h>.
16387 (o_threshold, u_threshold): Remove.
16388 (__exp2): Calculate result before checking finiteness and calling
16390 * math/w_exp2f.c: Likewise.
16391 * math/w_exp2l.c: Likewise.
16392 * math/libm-test.inc (exp2_test): Require overflow exception for
16396 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16397 range of signed 64-bit integers before using fistpll. Remove
16398 checks for whether integers fit in mantissa bits.
16399 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16400 the range of signed 32-bit integers before using fistpl. Remove
16401 checks for whether integers fit in mantissa bits.
16402 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16403 (__ieee754_powl): Test for y outside the range of signed 64-bit
16404 integers before using fistpll. Reduce 64-bit values to 63-bit
16406 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16407 divide-by-zero is raised for zero to large negative powers.
16408 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16409 (__ieee754_powl): Test for y outside the range of signed 64-bit
16410 integers before using fistpll. Reduce 64-bit values to 63-bit
16412 * math/libm-test.inc (pow_test): Add more tests.
16414 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16416 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16417 <stdio-common/_itoa.h>.
16418 * debug/segfault.c: Likewise.
16419 * elf/dl-cache.c: Likewise.
16420 * elf/dl-minimal.c: Likewise.
16421 * elf/dl-misc.c: Likewise.
16422 * elf/dl-sysdep.c: Likewise.
16423 * elf/dl-version.c: Likewise.
16424 * elf/rtld.c: Likewise.
16425 * hurd/hurdsock.c: Likewise.
16426 * hurd/lookup-retry.c: Likewise.
16427 * malloc/malloc.c: Likewise.
16428 * malloc/mtrace.c: Likewise.
16429 * nscd/nscd_getgr_r.c: Likewise.
16430 * nscd/nscd_getpw_r.c: Likewise.
16431 * nscd/nscd_getserv_r.c: Likewise.
16432 * posix/getopt_init.c: Likewise.
16433 * posix/wordexp.c: Likewise.
16434 * stdio-common/_itoa.c: Likewise.
16435 * stdio-common/printf_fphex.c: Likewise.
16436 * stdio-common/vfprintf.c: Likewise.
16437 * string/_strerror.c: Likewise.
16438 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16439 * sysdeps/i386/i686/hp-timing.h: Likewise.
16440 * sysdeps/mach/_strerror.c: Likewise.
16441 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16442 * sysdeps/mach/hurd/sethostid.c: Likewise.
16443 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16444 * sysdeps/mach/xpg-strerror.c: Likewise.
16445 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16446 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16447 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16448 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16449 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16450 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16451 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16452 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16453 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16454 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16455 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16456 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16457 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16458 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16459 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16460 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16461 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16462 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16463 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16464 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16465 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16467 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16469 * stdio-common/_itoa.h: Moved to ...
16470 * sysdeps/generic/_itoa.h: Here.
16472 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16474 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16475 instead of "_itoa.h" and "_itowa.h".
16476 * stdio-common/vfprintf.: Likewise.
16478 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16480 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16482 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16483 (__signbit): Likwise.
16484 (llrintf): Likwise.
16487 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16489 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16492 2012-03-20 Joseph Myers <joseph@codesourcery.com>
16494 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16495 OVERFLOW_EXCEPTION_OK.
16496 * math/libm-test.inc ("Philosophy"): Update comment about
16498 (OVERFLOW_EXCEPTION): Define.
16499 (OVERFLOW_EXCEPTION_OK): Likewise.
16500 (INVALID_EXCEPTION_OK): Renumber.
16501 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16502 (IGNORE_ZERO_INF_SIGN): Likewise.
16503 (test_exceptions): Handle FE_OVERFLOW.
16504 (exp10_test): Expect overflow exceptions.
16505 (exp2_test): Likewise.
16506 (expm1_test): Likewise.
16507 (nextafter_test): Likewise.
16508 (pow_test): Likewise.
16509 (scalbn_test): Likewise.
16510 (scalbln_test): Likewise.
16512 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16514 * sysdeps/x86_64/bits/atomic.h
16515 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16517 (atomic_exchange_acq): Likewise.
16518 (__arch_exchange_and_add_body): Likewise.
16519 (__arch_add_body): Likewise.
16520 (atomic_add_negative): Likewise.
16521 (atomic_add_zero): Likewise.
16523 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16525 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16526 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16528 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16530 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16531 Check __x86_64__ instead of __WORDSIZE.
16533 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16535 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16537 2012-03-19 David S. Miller <davem@davemloft.net>
16539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16541 * sysdeps/sparc/fpu/fenv_private.h: New file.
16542 * sysdeps/sparc/fpu/math_private.h: Use it.
16543 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16545 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16546 (libc_feholdexcept_setroundl): Remove.
16547 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16549 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16550 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16552 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16554 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16555 int64_t instead of long int.
16556 (INSERT_WORDS64): Likwise.
16558 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16560 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16561 _Unwind_GetCFA return to _Unwind_Ptr first.
16563 2012-03-19 Joseph Myers <joseph@codesourcery.com>
16566 * math/s_clog.c: Include <float.h>.
16567 (__clog): Scale large or subnormal inputs.
16568 * math/s_clogf.c: Likewise.
16569 * math/s_clogl.c: Likewise.
16570 * math/s_clog10.c: Include <float.h>.
16571 (M_LOG10_2): Define.
16572 (__clog10): Scale large or subnormal inputs.
16573 * math/s_clog10f.c: Likewise.
16574 * math/s_clog10l.c: Likewise.
16575 * math/libm-test.inc (clog_test): Add more tests.
16576 (clog10_test): Likewise.
16577 * sysdeps/i386/fpu/libm-test-ulps: Update.
16578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16581 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16583 * math/libm-test.inc (atan2_test): Add another test.
16585 * Makerules (common-objdir-compile): Remove.
16586 * sysdeps/unix/Makefile (config-generated): Do not add
16587 $(unix-generated) to variable.
16588 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16589 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16591 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16593 [generic bits/local_lim.h] (before-compile): Do not append to
16595 [generic bits/local_lim.h] (common-generated): Likewise.
16596 [generic sys/param.h] (before-compile): Do not append to variable.
16597 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16598 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16599 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16600 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16602 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16603 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16604 [generic sys/param.h] ($(addprefix
16605 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16606 [generic sys/param.h] (common-generated): Do not append to
16608 [generic sys/param.h] (sysdep_headers): Likewise.
16609 [generic bits/errno.h] (before-compile): Do not append to
16611 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16613 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16614 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16615 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16616 [generic bits/errno.h] (common-generated): Do not append to
16618 [generic bits/ioctls.h] (before-compile): Do not append to
16620 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16622 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16623 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16624 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16626 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16627 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16628 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16629 [generic bits/ioctls.h] (common-generated): Do not append to
16631 [generic sys/syscall.h] (syscall.h): Remove variable.
16632 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16634 [generic sys/syscall.h] (before-compile): Do not append to
16636 [generic sys/syscall.h] (common-generated): Likewise.
16637 * sysdeps/unix/errnos-tmpl.c: Remove file.
16638 * sysdeps/unix/errnos.awk: Likewise.
16639 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16640 * sysdeps/unix/ioctls.awk: Likewise.
16641 * sysdeps/unix/mk-local_lim.c: Likewise.
16642 * sysdeps/unix/snarf-ioctls: Likewise.
16644 2012-03-19 Richard Henderson <rth@twiddle.net>
16646 * sysdeps/i386/fpu/fenv_private.h: New file.
16647 * sysdeps/i386/fpu/math_private.h: Use it.
16648 (math_opt_barrier, math_force_eval): Remove.
16649 (libc_feholdexcept_setround_53bit): Remove.
16650 (libc_feupdateenv_53bit): Remove.
16651 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16652 (math_opt_barrier, math_force_eval): Remove.
16653 (libc_feholdexcept): Remove.
16654 (libc_feholdexcept_setround): Remove.
16655 (libc_fetestexcept, libc_fesetenv): Remove.
16656 (libc_feupdateenv_test): Remove.
16657 (libc_feupdateenv, libc_feholdsetround): Remove.
16658 (libc_feresetround): Remove.
16660 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16661 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16663 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16664 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16665 (libc_feupdateenv_testl): New.
16666 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16667 (libc_feupdateenv_testf): New.
16668 (libc_feupdateenv): Use libc_feupdateenv_test.
16669 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16670 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16672 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16673 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16674 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16675 (libc_feresetround_noex): New.
16676 (libc_feresetround_noexf): New.
16677 (libc_feresetround_noexl): New.
16678 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16679 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16680 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16681 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16683 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16684 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16686 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16687 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16688 SET_RESTORE_ROUND_NOEX.
16689 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16690 SET_RESTORE_ROUND_NOEXF.
16691 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16692 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16693 (libc_feholdsetroundf): New.
16694 (libc_feresetround, libc_feresetroundf): New.
16696 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16697 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16698 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16700 * sysdeps/generic/math_private.h: Include <fenv.h>.
16701 (default_libc_feholdexcept): New.
16702 (default_libc_feholdexcept_setround): New.
16703 (default_libc_fesetenv, default_libc_feupdateenv): New.
16704 (libc_feholdexcept): Only define if undefined.
16705 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16706 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16707 (libc_feholdexcept_setroundl): Likewise.
16708 (libc_feholdexcept_setround_53bit): Likewise.
16709 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16710 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16711 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16712 (libc_feupdateenv_53bit): Likewise.
16713 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16714 (libc_feholdexcept): Convert from macro to inline function.
16715 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16716 (libc_fesetenv, libc_feupdateenv): Likewise.
16718 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16719 not previously defined.
16720 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16721 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16722 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16723 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16724 * sysdeps/ieee754/flt-32/math_private.h: New file.
16725 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16726 math_private.h below SET_FLOAT_WORD.
16727 (__isnan, __isinf_ns, __finite): Remove.
16728 (__isnanf, __isinf_nsf, __finitef): Remove.
16730 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16734 2012-03-17 David S. Miller <davem@davemloft.net>
16737 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16740 2012-03-16 David S. Miller <davem@davemloft.net>
16742 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16746 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16748 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16749 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16750 sysdep_routines when subdir is sysvipc.
16751 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16752 __getshmlba helper.
16754 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16756 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16758 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16761 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16763 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16764 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16765 (__lround): Renamed to ...
16766 (__llround): This. Replace long int with long long int.
16767 Define lround functions as aliases of llround functions.
16768 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16770 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16772 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16773 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16774 adresses to uintptr_t. Replace "long int" and "unsigned long
16775 int" with "greg_t" on va_arg.
16777 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16779 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16780 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16782 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16783 Move e_machine check before EI_CLASS check. Handle x32
16784 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16785 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16786 SKIP_EM_IA_64 and include
16787 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16789 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16790 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16791 (add_system_dir): New macro.
16793 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16794 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16796 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16807 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16809 * math/w_j0f.c (j0f): Likewise.
16811 * math/w_j0l.c (__j0l): Likewise.
16813 * math/w_j1.c (j1): Likewise.
16815 * math/w_j1f.c (j1f): Likewise.
16817 * math/w_j1l.c (__j1l): Likewise.
16819 * math/w_jn.c (jn): Likewise.
16821 * math/w_jnf.c (jnf): Likewise.
16823 * math/w_jnl.c (__jnl): Likewise.
16825 * math/libm-test.inc (j0_test): Add more tests.
16826 (j1_test): Likewise.
16827 (jn_test): Likewise. Add trailing semicolon to existing test.
16828 (y0_test): Likewise.
16829 (y1_test): Likewise.
16830 * sysdeps/i386/fpu/libm-test-ulps: Update.
16831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16835 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16836 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16837 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16838 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16839 (__tanl): Set errno for infinite argument.
16840 * sysdeps/i386/fpu/mptan.c: Remove.
16841 * sysdeps/i386/fpu/s_tan.S: Likewise.
16842 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16843 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16844 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16845 * math/libm-test.inc (tan_test): Add more tests and enable more
16846 tests for double and long double.
16847 * sysdeps/i386/fpu/libm-test-ulps: Update.
16848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16850 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16852 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16853 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16855 2012-03-16 Roland McGrath <roland@hack.frob.com>
16857 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16858 * configure.in: Use it for both main tree and add-ons.
16859 * configure: Regenerated.
16861 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16863 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16865 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16867 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16871 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16872 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16873 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16874 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16875 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16877 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16878 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16879 != 0 for prec == 2.
16880 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16881 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16882 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16883 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16884 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16885 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16886 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16887 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16888 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16889 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16890 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16891 * math/libm-test.inc (cos_test): Add more tests and enable more
16892 tests for long double.
16893 (sin_test): Likewise.
16894 (sincos_test): Likewise.
16895 * sysdeps/i386/fpu/libm-test-ulps: Update.
16896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16898 2012-03-16 David S. Miller <davem@davemloft.net>
16900 * sysdeps/sparc/fpu/math_private.h: New file.
16902 2012-03-15 David S. Miller <davem@davemloft.net>
16904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16914 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16918 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16919 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16921 * sysdeps/sparc/sparc-ifunc.h: New file.
16922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16946 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16947 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16948 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16949 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16950 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16951 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16952 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16954 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16957 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16958 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16959 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16960 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16961 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16962 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16963 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16964 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16965 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16967 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16969 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16973 2012-03-15 Andreas Jaeger <aj@suse.de>
16976 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16977 ieee754/flt-32 implementation for sin, cos and sincos.
16978 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16979 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16980 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16981 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16982 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16983 ieee754/flt-32 implementation for tan.
16985 * math/libm-test.inc (cos_test): Enable some large input tests for
16987 (sin_test): Likewise.
16988 (sincos_test): Likewise.
16989 (tan_test): Add tests for large input.
16991 * sysdeps/i386/fpu/libm-test-ulps: Update.
16993 2012-03-15 Andreas Jaeger <aj@suse.de>
16996 * math/libm-test.inc (cos_test): Add more test cases.
16997 (sin_test): Likewise.
16998 (sincos_test): Likewise.
17000 2012-03-15 Andreas Jaeger <aj@suse.de>
17003 * math/libm-test.inc (cos_test): Add a test case for large input
17005 (sin_test): Likewise.
17006 (sincos_test): Likewise.
17008 2012-03-15 Andreas Jaeger <aj@suse.de>,
17009 Joseph Myers <joseph@codesourcery.com>
17012 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17013 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17014 * sysdeps/i386/fpu/branred.c: Likewise.
17015 * sysdeps/i386/fpu/dosincos.c: Likewise.
17016 * sysdeps/i386/fpu/mpa.c: Likewise.
17017 * sysdeps/i386/fpu/s_cos.S: Likewise.
17018 * sysdeps/i386/fpu/s_sin.S: Likewise.
17019 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17020 * sysdeps/i386/fpu/sincos32.c: Likewise.
17022 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17024 (libc_feupdateenv_53bit): Define.
17025 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17027 (libc_feupdateenv_53bit): Define.
17029 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17030 53 bit (without extend i386 double precision).
17032 * math/libm-test.inc (sincos_test): Add tests for large input.
17036 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17038 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17042 2012-03-15 David S. Miller <davem@davemloft.net>
17044 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17045 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17046 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17047 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17057 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17071 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17072 fmin/fmax sysdep routines.
17073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17075 2012-03-14 David S. Miller <davem@davemloft.net>
17077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17079 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17080 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17081 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17082 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17083 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17084 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17085 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17086 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17087 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17088 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17091 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17092 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17095 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17096 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17097 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17098 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17099 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17100 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17101 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17102 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17103 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17104 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17105 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17149 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17154 * sysdeps/sparc/configure.in: New file.
17155 * sysdeps/sparc/configure: Generate.
17156 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17157 * configure: Regenerate.
17158 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17159 * config.make.in (have-as-vis3): New.
17160 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17161 available use -Av9d instead of -Av9a.
17162 * sysdeps/sparc/sparc64/Makefile: Likewise.
17163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17172 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17173 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17174 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17175 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17176 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17178 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17179 fzeros/fnegs to load 0x80000000 into a float register instead of
17181 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17183 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17185 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17187 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17188 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17189 ($(inst_includedir)/bits/syscall.h): Remove rule.
17190 ($(objpfx)bits/syscall.d): Include instead of
17191 $(objpfx)syscall-list.d.
17192 (generated): Change syscall-list.h and syscall-list.d to
17193 bits/syscall.h and bits/syscall.d.
17195 2012-03-14 Roland McGrath <roland@hack.frob.com>
17198 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17200 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17203 * math/s_csqrt.c: Include <float.h>.
17204 (__csqrt): Scale large or subnormal inputs.
17205 * math/s_csqrtf.c: Likewise.
17206 * math/s_csqrtl.c: Likewise.
17207 * math/libm-test.inc (csqrt_test): Add more tests.
17208 * sysdeps/i386/fpu/libm-test-ulps: Update.
17209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17212 * math/libm-test.inc (hypot_test): Add more tests.
17214 2012-03-13 David S. Miller <davem@davemloft.net>
17217 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17218 double-precision for the calculation instead of scaling.
17220 2012-03-13 Joseph Myers <joseph@codesourcery.com>
17222 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17223 manipulate bits before adding and subtracting TWO52[sx].
17224 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17225 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17227 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17229 2012-03-13 David S. Miller <davem@davemloft.net>
17231 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17232 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17233 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17234 rtld-global-offsets.h
17235 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17237 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17240 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17242 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17243 'err' in the ifdef scope in which it is actually used.
17245 * nss/nss_db/db-init.c: Include string.h
17247 2012-03-12 David S. Miller <davem@davemloft.net>
17249 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17250 masking out of the most significant byte of random value used.
17251 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17252 Fix coding style in previous change.
17254 * sysdeps/unix/sysv/linux/kernel-features.h
17255 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17256 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17258 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17261 2012-03-11 David S. Miller <davem@davemloft.net>
17263 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17264 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17265 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17266 for 'resultvar' otherwise things get truncated on 64-bit.
17268 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17269 Fix masking out of the most significant byte of random value used.
17271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17273 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17277 2012-03-09 David S. Miller <davem@davemloft.net>
17279 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17280 variables with appropriate CPP guards.
17281 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17282 frame pointer, not the stack pointer. Correct layout comments. Fix test
17283 on resulting framesize and the management of the outregs buffer for pltexit.
17284 Preserve floating point return values across _dl_call_pltexit call.
17285 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17286 framesize and the management of the outregs buffer for pltexit.
17287 Preserve floating point return values across _dl_call_pltexit
17289 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17290 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17291 (print_exit): Fix format string for return register value.
17293 2012-03-10 Joseph Myers <joseph@codesourcery.com>
17295 * sunrpc/Makefile (others): Add rpcgen.
17296 ($(objpfx)rpcgen): Remove special build rule and dependency on
17298 * sunrpc/rpcgen.c: New file.
17300 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17303 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17304 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17305 * sysdeps/i386/crti.S: Likewise.
17306 * sysdeps/i386/crtn.S: Likewise.
17307 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17308 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17309 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17310 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17311 * sysdeps/sh/crti.S: Likewise.
17312 * sysdeps/sh/crtn.S: Likewise.
17313 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17316 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17318 * locale/programs/locfile-kw.gperf: Likewise.
17319 * locale/programs/charmap-kw.h: Regenerated.
17320 * locale/programs/locfile-kw.h: Likewise.
17323 * intl/plural.y: Replace FSF snail mail address with URL.
17324 * intl/plural.c: Regenerated.
17326 2012-03-09 Richard Henderson <rth@twiddle.net>
17328 * include/math_private.h: Remove file.
17329 * math/math_private.h: Move file ...
17330 * sysdeps/generic/math_private.h: ... here.
17332 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17333 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17334 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17336 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17337 and <math_private.h>.
17338 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17339 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17340 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17341 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17342 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17343 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17344 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17345 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17346 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17347 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17348 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17349 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17350 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17351 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17352 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17353 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17354 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17355 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17356 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17357 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17358 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17359 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17360 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17361 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17362 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17363 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17364 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17365 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17366 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17367 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17368 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17369 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17370 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17371 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17372 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17373 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17374 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17375 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17376 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17377 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17378 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17379 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17380 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17381 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17382 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17383 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17384 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17385 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17386 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17387 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17388 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17389 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17390 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17391 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17392 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17393 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17394 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17395 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17396 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17397 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17398 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17399 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17400 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17401 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17402 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17403 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17404 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17405 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17406 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17407 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17408 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17409 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17410 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17411 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17412 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17413 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17414 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17415 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17416 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17417 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17418 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17419 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17420 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17421 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17422 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17423 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17424 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17425 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17426 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17427 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17428 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17429 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17430 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17431 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17432 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17433 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17434 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17435 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17436 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17437 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17438 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17439 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17440 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17441 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17442 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17443 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17444 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17445 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17446 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17447 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17448 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17449 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17450 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17451 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17452 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17453 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17454 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17455 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17456 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17457 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17458 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17459 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17460 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17461 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17462 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17463 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17464 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17465 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17466 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17467 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17468 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17469 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17470 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17471 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17472 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17473 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17474 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17475 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17476 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17477 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17478 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17479 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17480 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17481 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17482 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17483 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17484 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17485 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17486 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17487 * sysdeps/ieee754/k_standard.c: Likewise.
17488 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17489 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17490 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17491 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17492 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17493 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17494 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17495 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17496 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17497 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17498 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17499 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17500 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17501 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17502 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17503 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17504 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17505 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17506 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17507 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17508 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17509 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17510 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17511 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17512 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17513 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17514 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17515 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17516 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17517 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17518 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17519 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17520 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17521 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17522 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17523 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17524 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17525 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17526 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17527 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17528 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17529 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17530 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17531 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17532 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17533 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17534 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17535 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17536 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17537 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17538 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17539 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17540 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17541 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17542 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17543 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17544 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17545 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17546 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17547 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17548 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17549 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17550 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17551 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17552 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17553 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17554 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17555 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17556 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17557 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17558 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17559 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17560 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17561 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17562 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17563 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17564 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17565 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17566 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17567 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17568 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17569 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17570 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17571 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17572 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17573 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17574 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17575 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17576 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17577 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17578 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17579 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17580 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17581 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17582 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17583 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17584 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17585 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17586 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17587 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17588 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17589 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17590 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17591 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17592 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17593 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17594 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17595 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17596 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17597 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17598 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17599 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17600 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17601 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17602 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17603 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17604 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17605 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17606 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17607 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17608 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17609 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17610 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17611 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17612 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17613 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17614 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17615 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17616 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17617 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17618 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17619 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17620 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17621 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17622 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17623 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17624 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17625 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17626 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17627 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17628 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17629 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17630 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17631 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17632 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17633 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17634 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17635 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17636 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17637 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17638 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17639 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17640 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17641 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17642 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17643 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17644 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17645 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17646 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17647 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17648 * sysdeps/ieee754/s_lib_version.c: Likewise.
17649 * sysdeps/ieee754/s_matherr.c: Likewise.
17650 * sysdeps/ieee754/s_signgam.c: Likewise.
17651 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17652 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17653 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17654 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17655 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17656 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17657 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17658 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17659 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17660 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17661 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17662 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17663 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17664 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17665 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17666 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17667 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17668 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17669 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17670 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17671 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17673 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17675 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17676 * sunrpc/rpc_main.c: Likewise.
17677 * sunrpc/rpc_svcout.c: Likewise.
17679 2012-03-09 David S. Miller <davem@davemloft.net>
17681 * include/math_private.h: New file.
17683 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17685 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17686 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17687 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17688 from <bits/socket_type.h>.
17689 (enum __socket_type): Don't define here.
17690 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17691 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17692 bits/socket_type.h.
17695 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17696 checking __USE_GNU.
17698 * Makerules ($(inst_includedir)/%.h): New rule.
17699 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17700 (install-others): Remove variable setting.
17701 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17703 2012-03-08 Richard Henderson <rth@twiddle.net>
17705 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17706 from macro to inline function; merge with the
17707 !__LIBC_INTERNAL_MATH_INLINES version.
17708 (__ieee754_sqrtf): Likewise.
17710 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17711 to inline function.
17712 (__rintf, __floor, __floorf): Likewise.
17714 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17715 macro to inline function.
17716 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17718 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17719 not <math/math_private.h>.
17721 2012-03-08 David S. Miller <davem@davemloft.net>
17723 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17725 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17727 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17729 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17731 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17732 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17734 2012-03-08 Ulrich Drepper <drepper@gmail.com>
17736 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17737 be defined individually, they must be defined as a block. Define
17738 S for printing a string instead of hidint the different by using a
17739 macro for adding the 'l'.
17740 * stdio-common/tst-fphex-wide.c: Adjust.
17742 2012-03-07 Marek Polacek <polacek@redhat.com>
17744 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17746 2012-03-08 Marek Polacek <polacek@redhat.com>
17749 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17750 * stdio-common/tst-fphex.c: Define a few macros to make the
17751 test reusable. Use them.
17752 * stdio-common/tst-fphex-wide.c: New file.
17754 2012-03-08 Joseph Myers <joseph@codesourcery.com>
17757 * manual/macros.texi (gnusystems): New macro.
17758 (nongnusystems): Likewise.
17759 (gnulinuxhurdsystems): Likewise.
17760 (gnuhurdsystems): Likewise..
17761 (gnulinuxsystems): Likewise.
17762 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17763 variants of the GNU system, not "GNU system".
17764 * manual/conf.texi: Likewise.
17765 * manual/errno.texi: Likewise. Update example of errno macro
17767 * manual/filesys.texi: Likewise.
17768 (getumask): Document as specific to GNU/Hurd.
17769 * manual/install.texi: Likewise. Reword some references to
17771 * manual/intro.texi: Likewise.
17772 * manual/io.texi: Likewise.
17773 (File Name Portability): Detail which constraints are inapplicable
17774 to all GNU systems and which are only inapplicable to GNU/Hurd.
17775 * manual/job.texi: Likewise.
17776 * manual/llio.texi: Likewise.
17777 (O_NOCTTY): Document as present on GNU/Linux.
17778 * manual/maint.texi: Likewise.
17779 * manual/memory.texi: Likewise.
17780 * manual/pattern.texi: Likewise.
17781 * manual/pipe.texi: Likewise.
17782 * manual/process.texi: Likewise.
17783 * manual/resource.texi: Likewise.
17784 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17786 * manual/setjmp.texi: Likewise.
17787 * manual/signal.texi: Likewise.
17788 * manual/startup.texi: Likewise.
17789 * manual/stdio.texi: Likewise.
17790 * manual/terminal.texi: Likewise.
17791 (ONLCR): Document as POSIX.
17792 (OXTABS): Document availability on GNU/Linux as XTABS.
17793 (ONOEOT): Document availability separately from other bits.
17794 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17795 * manual/time.texi: Likewise.
17796 * manual/users.texi: Likewise.
17797 * INSTALL: Regenerated.
17798 * sysdeps/gnu/errlist.c: Regenerated.
17800 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17801 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17802 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17804 * configure: Regenerated.
17806 2012-03-07 Joseph Myers <joseph@codesourcery.com>
17808 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17809 default includes instead of AC_HEADER_CHECK.
17810 * sysdeps/i386/configure: Regenerated.
17813 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17814 * math/s_cacoshf.c (__cacoshf): Likewise.
17815 * math/s_cacoshl.c (__cacoshl): Likewise.
17816 * math/s_casinh.c (__casinh): Set signs of result from argument.
17817 * math/s_casinhf.c (__casinhf): Likewise.
17818 * math/s_casinhl.c (__casinhl): Likewise.
17819 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17820 (casinh_test): Add more tests.
17821 * sysdeps/i386/fpu/libm-test-ulps: Update.
17822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17824 2012-03-07 Ulrich Drepper <drepper@gmail.com>
17826 * po/zh_TW.po: Update from translation team.
17828 * login/Makefile (distribute): Remove variable.
17829 * catgets/Makefile: Likewise.
17830 * mach/Makefile: Likewise.
17831 * malloc/Makefile: Likewise.
17832 * misc/Makefile: Likewise.
17833 * iconv/Makefile: Likewise.
17834 * nscd/Makefile: Likewise.
17835 * hurd/Makefile: Likewise.
17836 * manual/Makefile: Likewise.
17837 * locale/Makefile: Likewise.
17838 * intl/Makefile: Likewise.
17839 * conform/Makefile: Likewise.
17840 * nss/Makefile: Likewise.
17841 * time/Makefile: Likewise.
17842 * soft-fp/Makefile: Likewise.
17843 * dirent/Makefile: Likewise.
17844 * gmon/Makefile: Likewise.
17845 * po/Makefile: Likewise.
17846 * rt/Makefile: Likewise.
17847 * socket/Makefile: Likewise.
17848 * math/Makefile: Likewise.
17849 * signal/Makefile: Likewise.
17850 * debug/Makefile: Likewise.
17851 * elf/Makefile: Likewise.
17852 * timezone/Makefile: Likewise.
17853 * stdlib/Makefile: Likewise.
17854 * iconvdata/Makefile: Likewise.
17855 * sunrpc/Makefile: Likewise.
17856 * io/Makefile: Likewise.
17857 * argp/Makefile: Likewise.
17858 * inet/Makefile: Likewise.
17859 * hesiod/Makefile: Likewise.
17860 * grp/Makefile: Likewise.
17861 * csu/Makefile: Likewise.
17862 * wctype/Makefile: Likewise.
17863 * crypt/Makefile: Likewise.
17864 * libio/Makefile: Likewise.
17865 * string/Makefile: Likewise.
17866 * nis/Makefile: Likewise.
17867 * resolv/Makefile: Likewise.
17868 * stdio-common/Makefile: Likewise.
17869 * wcsmbs/Makefile: Likewise.
17870 * dlfcn/Makefile: Likewise.
17871 * posix/Makefile: Likewise.
17874 * timezone/Makefile: Don't install timezone files, just the programs
17877 2012-03-06 Ulrich Drepper <drepper@gmail.com>
17879 * nss/databases.def: Add missing gshadow entry.
17881 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17883 2012-03-06 Marek Polacek <polacek@redhat.com>
17886 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17887 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17888 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17889 * stdio-common/tst-long-dbl-fphex.c: New file.
17891 2012-03-06 David S. Miller <davem@davemloft.net>
17893 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17894 (set_obp_int): New function.
17895 (get_obp_int): New function.
17896 (__get_clockfreq_via_dev_openprom): Likewise.
17897 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17898 Avoid unused variable warnings on 'val' and use builtin_expect.
17899 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17901 (INLINE_CLONE_SYSCALL): Likewise.
17903 2012-03-05 David S. Miller <davem@davemloft.net>
17905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17907 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17911 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17912 only for |x| >= 40.
17913 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17915 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
17917 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17918 Replace gettimeofday with __vdso_gettimeofday.
17920 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17921 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17922 __vdso_clock_gettime and __vdso_getcpu.
17924 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17925 time with __vdso_time.
17927 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17929 * manual/lang.texi (size_t): Note types to which size_t may be
17930 equivalent with the GNU C Library, but do not describe when
17931 differences between them are significant.
17933 2012-03-05 Andreas Jaeger <aj@suse.de>
17935 * sysdeps/i386/fpu/libm-test-ulps: Update.
17937 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17940 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17941 (__ieee754_pow): Save and restore rounding mode and use
17942 round-to-nearest for main computations.
17943 * math/libm-test.inc (pow_test_tonearest): New function.
17944 (pow_test_towardzero): Likewise.
17945 (pow_test_downward): Likewise.
17946 (pow_test_upward): Likewise.
17947 (main): Call the new functions.
17948 * sysdeps/i386/fpu/libm-test-ulps: Update.
17949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17952 * math/libm-test.inc (cosh_test_tonearest): New function.
17953 (cosh_test_towardzero): Likewise.
17954 (cosh_test_downward): Likewise.
17955 (cosh_test_upward): Likewise.
17956 (sinh_test_tonearest): Likewise.
17957 (sinh_test_towardzero): Likewise.
17958 (sinh_test_downward): Likewise.
17959 (sinh_test_upward): Likewise.
17960 (main): Call the new functions.
17961 * sysdeps/i386/fpu/libm-test-ulps: Update.
17962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17964 2012-03-05 Tom de Vries <tom@codesourcery.com>
17966 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17967 default stack guard is set in last bytes.
17968 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17970 2012-03-05 Kees Cook <keescook@chromium.org>
17972 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17975 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17976 possibly allocate from heap instead of stack.
17977 * stdio-common/bug-vfprintf-nargs.c: New file.
17978 * stdio-common/Makefile (tests): Add nargs overflow test.
17980 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17984 2012-03-03 Marek Polacek <polacek@redhat.com>
17986 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17987 * math/math_private.h: Likewise.
17988 * stdlib/tst-strtod.c: Likewise.
17989 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17990 * sysdeps/x86_64/bits/atomic.h: Likewise.
17992 2012-03-02 David S. Miller <davem@davemloft.net>
17994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17998 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17999 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18000 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18001 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18003 2012-03-02 Roland McGrath <roland@hack.frob.com>
18006 * manual/examples/README: New file, says the example source files
18007 can be used under GPL>=2.
18008 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18009 line containing just "*/".
18010 * manual/examples/add.c: Add copyright header (GPL>=2).
18011 * manual/examples/argp-ex1.c: Likewise.
18012 * manual/examples/argp-ex2.c: Likewise.
18013 * manual/examples/argp-ex3.c: Likewise.
18014 * manual/examples/argp-ex4.c: Likewise.
18015 * manual/examples/atexit.c: Likewise.
18016 * manual/examples/db.c: Likewise.
18017 * manual/examples/dir.c: Likewise.
18018 * manual/examples/dir2.c: Likewise.
18019 * manual/examples/execinfo.c: Likewise.
18020 * manual/examples/filecli.c: Likewise.
18021 * manual/examples/filesrv.c: Likewise.
18022 * manual/examples/fmtmsgexpl.c: Likewise.
18023 * manual/examples/genpass.c: Likewise.
18024 * manual/examples/inetcli.c: Likewise.
18025 * manual/examples/inetsrv.c: Likewise.
18026 * manual/examples/isockad.c: Likewise.
18027 * manual/examples/longopt.c: Likewise.
18028 * manual/examples/memopen.c: Likewise.
18029 * manual/examples/memstrm.c: Likewise.
18030 * manual/examples/mkfsock.c: Likewise.
18031 * manual/examples/mkisock.c: Likewise.
18032 * manual/examples/mygetpass.c: Likewise.
18033 * manual/examples/pipe.c: Likewise.
18034 * manual/examples/popen.c: Likewise.
18035 * manual/examples/rprintf.c: Likewise.
18036 * manual/examples/search.c: Likewise.
18037 * manual/examples/select.c: Likewise.
18038 * manual/examples/setjmp.c: Likewise.
18039 * manual/examples/sigh1.c: Likewise.
18040 * manual/examples/sigusr.c: Likewise.
18041 * manual/examples/stpcpy.c: Likewise.
18042 * manual/examples/strdupa.c: Likewise.
18043 * manual/examples/strftim.c: Likewise.
18044 * manual/examples/strncat.c: Likewise.
18045 * manual/examples/subopt.c: Likewise.
18046 * manual/examples/swapcontext.c: Likewise.
18047 * manual/examples/termios.c: Likewise.
18048 * manual/examples/testopt.c: Likewise.
18049 * manual/examples/testpass.c: Likewise.
18050 * manual/examples/timeval_subtract.c: Likewise.
18053 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18055 * manual/timeval_subtract.c.texi: ... here, new file.
18057 2012-03-02 David S. Miller <davem@davemloft.net>
18059 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18061 2012-03-02 Joseph Myers <joseph@codesourcery.com>
18064 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18065 (__sin): Save and restore rounding mode and use round-to-nearest
18066 for all computations.
18067 (__cos): Save and restore rounding mode and use round-to-nearest
18068 for all computations.
18069 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18071 (tan): Save and restore rounding mode and use round-to-nearest for
18073 * math/libm-test.inc (cos_test_tonearest): New function.
18074 (cos_test_towardzero): Likewise.
18075 (cos_test_downward): Likewise.
18076 (cos_test_upward): Likewise.
18077 (sin_test_tonearest): Likewise.
18078 (sin_test_towardzero): Likewise.
18079 (sin_test_downward): Likewise.
18080 (sin_test_upward): Likewise.
18081 (tan_test_tonearest): Likewise.
18082 (tan_test_towardzero): Likewise.
18083 (tan_test_downward): Likewise.
18084 (tan_test_upward): Likewise.
18085 (main): Call the new functions.
18086 * sysdeps/i386/fpu/libm-test-ulps: Update.
18087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18090 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18091 small n, then large n, before computing and testing k+n.
18092 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18093 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18095 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18097 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18098 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18099 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18100 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18101 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18102 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18103 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18104 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18105 * math/libm-test.inc (scalbn_test): Add more tests.
18106 (scalbln_test): Likewise.
18108 * manual/filesys.texi (mode_t): Describe constraints on size and
18109 signedness, not exact equivalence to a particular type.
18111 (ino64_t): Likewise.
18113 (nlink_t): Likewise.
18114 (blkcnt_t): Likewise.
18115 (blkcnt64_t): Likewise.
18116 * manual/llio.texi (off_t): Likewise.
18119 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18120 (__ieee754_exp): Save and restore rounding mode and use
18121 round-to-nearest for all computations.
18122 * math/libm-test.inc (exp_test_tonearest): New function.
18123 (exp_test_towardzero): Likewise.
18124 (exp_test_downward): Likewise.
18125 (exp_test_upward): Likewise.
18126 (main): Call the new functions.
18127 * sysdeps/i386/fpu/libm-test-ulps: Update.
18128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18130 2012-03-01 Chris Demetriou <cgd@google.com>
18132 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18133 have predictable order.
18135 2012-03-01 David S. Miller <davem@davemloft.net>
18137 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18139 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18140 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18141 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18142 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18144 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18145 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18146 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18148 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18149 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18150 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18151 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18152 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18156 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18157 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18158 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18160 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18161 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18162 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18163 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18164 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18165 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18166 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18167 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18168 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18169 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18170 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18171 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18172 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18173 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18174 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18175 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18176 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18177 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18178 * sysdeps/sparc/elf/configure: Regenerated.
18180 2012-03-01 Joseph Myers <joseph@codesourcery.com>
18182 * configure.in (AS, LD): Require binutils 2.20 or later.
18183 * configure: Regenerated.
18184 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18185 as required minimum version.
18186 * INSTALL: Regenerated.
18190 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18191 before squaring exponent.
18192 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18193 bottom long double and 27 bits of top long double before squaring
18195 * math/libm-test.inc (erfc_test): Add more tests.
18196 * sysdeps/i386/fpu/libm-test-ulps: Update.
18197 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18200 2012-03-01 Kai Tietz <ktietz@redhat.com>
18202 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18203 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18204 containing bit-fields.
18205 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18206 * soft-fp/single.h (_FP_UNION_S): Likewise.
18207 * soft-fp/double.h (_FP_UNION_D): Likewise.
18209 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18212 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18213 not include ../strcmp.S.
18214 [USE_AS_STRNCASECMP_L]: Likewise.
18215 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18216 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18217 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18218 (__strncasecmp_l_ia32): Define as alias to
18219 __strncasecmp_l_nonascii.
18222 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18223 * sysdeps/i386/fpu/libm-test-ulps: Update.
18224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18226 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18229 2012-02-29 Jeff Law <law@redhat.com>
18231 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18232 out of bounds read.
18234 2012-02-29 Marek Polacek <polacek@redhat.com>
18237 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18238 * elf/Makefile: Add rules to run tst-unused-dep.out.
18240 2012-02-28 David S. Miller <davem@davemloft.net>
18242 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18243 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18244 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18245 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18246 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18247 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18249 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18251 * math/libm-test.inc (llround_test): Move one test from
18252 lround_test. Use TEST_f_L in moved test.
18253 (lround_test): Move misplaced test to llround_test. Add testcase
18256 2012-02-28 Ulrich Drepper <drepper@gmail.com>
18258 * sysdeps/x86_64/fpu/e_expf.S: New file.
18259 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18261 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18264 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18265 of remain_len that may cause incomplete multi-byte character and
18267 * posix/bug-regex33.c: New file.
18268 * posix/Makefile (tests): Add bug-regex33.
18270 2012-02-28 Joseph Myers <joseph@codesourcery.com>
18272 * manual/macros.texi: New file.
18273 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18274 * manual/libc.texinfo: Include macros.texi.
18275 * manual/creatute.texi: Likewise.
18276 * manual/install.texi: Likewise.
18277 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18278 @glibcadj{} in references to the GNU C Library.
18279 * manual/charset.texi: Likewise.
18280 * manual/conf.texi: Likewise.
18281 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18282 when not using those macros.
18283 * manual/creature.texi: Likewise.
18284 * manual/crypt.texi: Likewise.
18285 * manual/errno.texi: Likewise.
18286 * manual/filesys.texi: Likewise.
18287 * manual/header.texi: Likewise.
18288 * manual/install.texi: Likewise.
18289 * manual/intro.texi: Likewise.
18290 * manual/io.texi: Likewise.
18291 * manual/job.texi: Likewise.
18292 * manual/lang.texi: Likewise.
18293 * manual/libc.texiinfo: Likewise.
18294 * manual/llio.texi: Likewise.
18295 * manual/locale.texi: Likewise.
18296 * manual/maint.texi: Likewise.
18297 * manual/math.texi: Likewise.
18298 * manual/memory.texi: Likewise.
18299 * manual/message.texi: Likewise.
18300 * manual/nss.texi: Likewise.
18301 * manual/pattern.texi: Likewise.
18302 * manual/process.texi: Likewise.
18303 * manual/resource.texi: Likewise.
18304 * manual/search.texi: Likewise.
18305 * manual/setjmp.texi: Likewise.
18306 * manual/signal.texi: Likewise.
18307 * manual/socket.texi: Likewise.
18308 * manual/startup.texi: Likewise.
18309 * manual/stdio.texi: Likewise.
18310 * manual/string.texi: Likewise.
18311 * manual/sysinfo.texi: Likewise.
18312 * manual/syslog.texi: Likewise.
18313 * manual/terminal.texi: Likewise.
18314 * manual/time.texi: Likewise.
18315 * manual/users.texi: Likewise.
18316 * INSTALL: Regenerated.
18317 * NOTES: Regenerated.
18318 * sysdeps/gnu/errlist.c: Regenerated.
18320 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18322 * include/dirent.h: Include <dirstream.h> before
18325 2012-02-28 David S. Miller <davem@davemloft.net>
18327 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18328 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18329 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18330 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18332 2012-02-27 David S. Miller <davem@davemloft.net>
18334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18336 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18337 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18340 frame pointer instead of stack pointer relative arg slot.
18341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18342 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18343 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18345 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18348 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18350 2012-02-27 David S. Miller <davem@davemloft.net>
18352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18356 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18357 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18358 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18359 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18361 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18363 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18364 later. Allow versions 5-9.
18365 * configure: Regenerated.
18366 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18367 required minimum version and 4.6 as recommended version. Do not
18368 mention bugs in GCC 2.7 and 2.8.
18369 * INSTALL: Regenerated.
18371 2012-02-27 David S. Miller <davem@davemloft.net>
18373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18377 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18378 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18379 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18380 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18382 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18383 manipulate bits before adding and subtracting TWO112[sx].
18384 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18386 2012-02-27 Roland McGrath <roland@hack.frob.com>
18389 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18390 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18391 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18392 being in POSIX, because they are in 1003.1-2008.
18394 * rt/tst-aio.c: Include <fcntl.h>.
18395 * rt/tst-aio7.c: Likewise.
18396 * rt/tst-aio64.c: Likewise.
18398 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18400 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18402 * manual/install.texi (--with-headers): Describe headers as
18403 interface headers, not private headers.
18404 (Specific advice for GNU/Linux systems): Describe use of headers
18405 from "make headers_install", not private headers from older
18407 * INSTALL: Regenerated.
18408 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18410 * sysdeps/unix/sysv/linux/configure: Regenerated.
18412 * manual/llio.texi (fclean): Remove documentation.
18414 * manual/Makefile (libc-texi-generated): New variable. Include
18416 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18417 $(libc-texi-generated), not duplicated list of files.
18418 (version.texi, stamp-version): New rules.
18419 (realclean): Remove $(libc-texi-generated), not individual files
18420 from that list. Do not remove dir-add.texinfo.
18421 * manual/libc.texinfo: Comment out uses of edition numbers and
18422 references to printed manual. Remove last-updated dates.
18423 (EDITION): Comment out.
18425 (VERSION, UPDATED): Remove.
18426 (version.texi): Include.
18428 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18430 * sysdeps/posix/spawni.c: Include <signal.h>.
18431 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18432 * sysdeps/pthread/aio_fsync.c: Likewise.
18434 2012-02-26 Ulrich Drepper <drepper@gmail.com>
18436 * conform/Makefile (tests): Run only when not cross-compiling and
18437 when fast-check is not defined.
18439 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18440 * conform/data/limits.h-data: Fixes for POSIX2008.
18441 * conform/run-conformtest.sh: Run all tests.
18442 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18444 * include/bits/dlfcn.h: Likewise.
18445 * include/langinfo.h: Likewise.
18446 * include/monetary.h: Likewise.
18447 * include/sys/poll.h: Likewise.
18449 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18451 * posix/spawn.h: Define __need_sigset_t.
18452 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18453 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18454 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18455 to get sigevent_t only.
18456 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18457 only for __USE_GNU.
18458 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18459 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18460 process_vm_writev only for __USE_GNU.
18461 * termios/termios.h: Declare tcgetsid also for POSIX2008.
18463 * conform/Makefile: For now ignore errors from run-conformtest.
18464 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18465 POSIX to avoid namespace pollution. Don't prepend headers.
18466 * conform/data/aio.h-data: Fixes for POSIX testing.
18467 * conform/data/fcntl.h-data: Likewise.
18468 * conform/data/glob.h-data: Likewise.
18469 * conform/data/grp.h-data: Likewise.
18470 * conform/data/pthread.h-data: Likewise.
18471 * conform/data/pwd.h-data: Likewise.
18472 * conform/data/signal.h-data: Likewise.
18473 * conform/data/spawn.h-data: Likewise.
18474 * conform/data/stdio.h-data: Likewise.
18475 * conform/data/stdlib.h-data: Likewise.
18476 * conform/data/stropts.h-data: Likewise.
18477 * conform/data/sys/mman.h-data: Likewise.
18478 * conform/data/sys/stat.h-data: Likewise.
18479 * conform/data/sys/types.h-data: Likewise.
18480 * conform/data/sys/wait.h-data: Likewise.
18481 * conform/data/time.h-data: Likewise.
18482 * conform/data/unistd.h-data: Likewise.
18483 * conform/data/utime.h-data: Likewise.
18485 * io/sys/stat.h: fchmod was always in POSIX.
18486 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18487 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18488 * rt/aio.h: Define __need_timespec before including <time.h>.
18489 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18490 struct. Add forward declaration of pthread_attr_t and use it in
18492 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18493 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18494 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18495 always remove CLK_TCK definition.
18497 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18499 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18501 2012-02-25 Ulrich Drepper <drepper@gmail.com>
18503 * conform/run-conformtest.sh: New file.
18504 * conform/Makefile: Run run-conformtest for tests.
18505 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18508 * conform/data/uchar.h-data: New file.
18509 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18510 * conform/data/arpa/inet.h-data: Likewise.
18511 * conform/data/assert.h-data: Likewise.
18512 * conform/data/complex.h-data: Likewise.
18513 * conform/data/cpio.h-data: Likewise.
18514 * conform/data/ctype.h-data: Likewise.
18515 * conform/data/dirent.h-data: Likewise.
18516 * conform/data/dlfcn.h-data: Likewise.
18517 * conform/data/errno.h-data: Likewise.
18518 * conform/data/fcntl.h-data: Likewise.
18519 * conform/data/float.h-data: Likewise.
18520 * conform/data/fmtmsg.h-data: Likewise.
18521 * conform/data/fnmatch.h-data: Likewise.
18522 * conform/data/ftw.h-data: Likewise.
18523 * conform/data/glob.h-data: Likewise.
18524 * conform/data/grp.h-data: Likewise.
18525 * conform/data/iconv.h-data: Likewise.
18526 * conform/data/inttypes.h-data: Likewise.
18527 * conform/data/langinfo.h-data: Likewise.
18528 * conform/data/libgen.h-data: Likewise.
18529 * conform/data/limits.h-data: Likewise.
18530 * conform/data/locale.h-data: Likewise.
18531 * conform/data/math.h-data: Likewise.
18532 * conform/data/monetary.h-data: Likewise.
18533 * conform/data/mqueue.h-data: Likewise.
18534 * conform/data/ndbm.h-data: Likewise.
18535 * conform/data/net/if.h-data: Likewise.
18536 * conform/data/netdb.h-data: Likewise.
18537 * conform/data/netinet/in.h-data: Likewise.
18538 * conform/data/nl_types.h-data: Likewise.
18539 * conform/data/poll.h-data: Likewise.
18540 * conform/data/pthread.h-data: Likewise.
18541 * conform/data/pwd.h-data: Likewise.
18542 * conform/data/regex.h-data: Likewise.
18543 * conform/data/sched.h-data: Likewise.
18544 * conform/data/search.h-data: Likewise.
18545 * conform/data/semaphore.h-data: Likewise.
18546 * conform/data/setjmp.h-data: Likewise.
18547 * conform/data/signal.h-data: Likewise.
18548 * conform/data/spawn.h-data: Likewise.
18549 * conform/data/stdarg.h-data: Likewise.
18550 * conform/data/stdio.h-data: Likewise.
18551 * conform/data/stdlib.h-data: Likewise.
18552 * conform/data/string.h-data: Likewise.
18553 * conform/data/strings.h-data: Likewise.
18554 * conform/data/stropts.h-data: Likewise.
18555 * conform/data/sys/ipc.h-data: Likewise.
18556 * conform/data/sys/mman.h-data: Likewise.
18557 * conform/data/sys/msg.h-data: Likewise.
18558 * conform/data/sys/resource.h-data: Likewise.
18559 * conform/data/sys/select.h-data: Likewise.
18560 * conform/data/sys/sem.h-data: Likewise.
18561 * conform/data/sys/shm.h-data: Likewise.
18562 * conform/data/sys/socket.h-data: Likewise.
18563 * conform/data/sys/stat.h-data: Likewise.
18564 * conform/data/sys/statvfs.h-data: Likewise.
18565 * conform/data/sys/time.h-data: Likewise.
18566 * conform/data/sys/timeb.h-data: Likewise.
18567 * conform/data/sys/times.h-data: Likewise.
18568 * conform/data/sys/types.h-data: Likewise.
18569 * conform/data/sys/uio.h-data: Likewise.
18570 * conform/data/sys/un.h-data: Likewise.
18571 * conform/data/sys/utsname.h-data: Likewise.
18572 * conform/data/sys/wait.h-data: Likewise.
18573 * conform/data/syslog.h-data: Likewise.
18574 * conform/data/tar.h-data: Likewise.
18575 * conform/data/termios.h-data: Likewise.
18576 * conform/data/utime.h-data: Likewise.
18577 * conform/data/utmpx.h-data: Likewise.
18578 * conform/data/varargs.h-data: Likewise.
18579 * conform/data/wchar.h-data: Likewise.
18580 * conform/data/wctype.h-data: Likewise.
18581 * conform/data/wordexp.h-data: Likewise.
18583 * include/stropts.h: New file.
18584 * include/uchar.h: New file.
18585 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18586 * include/assert.h: Likewise.
18587 * include/ctype.h: Likewise.
18588 * include/dirent.h: Likewise.
18589 * include/dlfcn.h: Likewise.
18590 * include/fcntl.h: Likewise.
18591 * include/fnmatch.h: Likewise.
18592 * include/glob.h: Likewise.
18593 * include/grp.h: Likewise.
18594 * include/libio.h: Likewise.
18595 * include/locale.h: Likewise.
18596 * include/math.h: Likewise.
18597 * include/net/if.h: Likewise.
18598 * include/netdb.h: Likewise.
18599 * include/netinet/in.h: Likewise.
18600 * include/pthread.h: Likewise.
18601 * include/pwd.h: Likewise.
18602 * include/regex.h: Likewise.
18603 * include/sched.h: Likewise.
18604 * include/search.h: Likewise.
18605 * include/setjmp.h: Likewise.
18606 * include/signal.h: Likewise.
18607 * include/stdio.h: Likewise.
18608 * include/stdlib.h: Likewise.
18609 * include/string.h: Likewise.
18610 * include/sys/cdefs.h: Likewise.
18611 * include/sys/mman.h: Likewise.
18612 * include/sys/msg.h: Likewise.
18613 * include/sys/resource.h: Likewise.
18614 * include/sys/select.h: Likewise.
18615 * include/sys/socket.h: Likewise.
18616 * include/sys/stat.h: Likewise.
18617 * include/sys/statvfs.h: Likewise.
18618 * include/sys/time.h: Likewise.
18619 * include/sys/times.h: Likewise.
18620 * include/sys/uio.h: Likewise.
18621 * include/sys/utsname.h: Likewise.
18622 * include/sys/wait.h: Likewise.
18623 * include/termios.h: Likewise.
18624 * include/time.h: Likewise.
18625 * include/ulimit.h: Likewise.
18626 * include/unistd.h: Likewise.
18627 * include/utime.h: Likewise.
18628 * include/wchar.h: Likewise.
18629 * include/wctype.h: Likewise.
18630 * include/wordexp.h: Likewise.
18632 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18634 * time/time.h: TIME_UTC must be a macro.
18635 Make timespec_get available for ISO C11 only as well.
18637 2012-02-24 Ulrich Drepper <drepper@gmail.com>
18639 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18640 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18642 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18644 * configure.in: Use -o not -a in test for unsupported multi-arch.
18646 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18648 * manual/texinfo.tex: Update to version 2012-01-19.16.
18650 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18652 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18654 2012-02-24 Roland McGrath <roland@hack.frob.com>
18657 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18658 * manual/fdl-1.3.texi: New file.
18659 * manual/fdl-1.1.texi: File removed.
18662 * manual/libc.texinfo (FDL_VERSION): New @set.
18663 Use it for mention of FDL in cover text.
18664 (Documentation License): Use it in @include file name.
18666 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18667 Roland McGrath <roland@hack.frob.com>
18670 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18671 not LONG_LONG_MAX and LONG_LONG_MIN.
18672 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18673 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18675 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18677 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18681 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18682 manipulate bits before adding and subtracting TWO23[sx].
18683 * math/libm-test.inc (nearbyint_test): Add more tests.
18685 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18688 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18689 bits before adding and subtracting TWO23[sx].
18690 * math/libm-test.inc (rint_test): Add more tests.
18691 (rint_test_tonearest): Likewise.
18692 (rint_test_towardzero): Likewise.
18693 (rint_test_downward): Likewise.
18694 (rint_test_upward: Likewise.
18696 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18699 * include/stdc-predef.h: New file. Extracted from features.h.
18700 * include/features.h: Include stdc-predef.h.
18701 * Makefile (headers): Add stdc-predef.h.
18702 * CONFORMANCE (Compiler limitations): Update.
18704 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18706 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18708 2012-02-21 David S. Miller <davem@davemloft.net>
18710 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18711 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18713 2012-02-20 David S. Miller <davem@davemloft.net>
18715 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18716 using a normal save/restore sequence, rather than allocating a
18717 dummy stack frame just to store a frame pointer and restore.
18718 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18720 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18722 * manual/install.texi: Fix stray word in line-wrapped comment.
18724 2012-02-20 David S. Miller <davem@davemloft.net>
18726 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18727 both binutils and gcc support GOTDATA.
18729 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18730 "rd %pc" in the PIC register setup sequences.
18732 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18733 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18734 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18735 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18736 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18737 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18738 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18739 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18740 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18741 (SYSCALL_ERROR_HANDLER): Likewise.
18742 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18743 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18744 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18745 (SYSCALL_ERROR_HANDLER): Likewise.
18747 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18748 (HAVE_GCC_GOTDATA): New.
18749 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18750 relocation support in both binutils and gcc.
18751 * sysdeps/sparc/elf/configure: Regenerate.
18753 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18754 * sysdeps/sparc/sparc32/elf/configure: Delete.
18755 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18756 * sysdeps/sparc/sparc64/elf/configure: Delete.
18757 * sysdeps/sparc/elf/configure.in: New file.
18758 * sysdeps/sparc/elf/configure: Generate.
18760 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18761 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18762 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18763 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18764 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18766 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18768 * manual/install.texi: Do not mention specific glibc version
18770 * manual/libc.texinfo (VERSION, UPDATED): Update.
18771 (@copying): Use @copyright{} and range of years.
18773 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18776 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18777 [crti.S not in sysdirs] (generated): Do not append.
18778 [crti.S not in sysdirs] (omit-deps): Likewise.
18779 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18780 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18781 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18782 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18783 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18785 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18786 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18787 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18788 * csu/defs.awk: Remove file.
18789 * sysdeps/generic/initfini.c: Likewise.
18790 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18792 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18795 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18797 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18798 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18799 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18800 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18801 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18802 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18804 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18805 (__EPOLL_PACKED): Define to empty if not defined by
18807 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18808 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18811 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18813 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18814 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18815 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18816 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18818 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18819 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18822 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18824 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18826 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18827 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18828 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18831 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18833 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18834 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18836 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18838 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18839 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18841 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18843 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18846 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18848 * math/w_acos.c: Use non-signaling floating-point comparisons.
18849 * math/w_acosf.c: Likewise.
18850 * math/w_acosh.c: Likewise.
18851 * math/w_acoshf.c: Likewise.
18852 * math/w_acoshl.c: Likewise.
18853 * math/w_acosl.c: Likewise.
18854 * math/w_asin.c: Likewise.
18855 * math/w_asinf.c: Likewise.
18856 * math/w_asinl.c: Likewise.
18857 * math/w_atanh.c: Likewise.
18858 * math/w_atanhf.c: Likewise.
18859 * math/w_atanhl.c: Likewise.
18860 * math/w_exp2.c: Likewise.
18861 * math/w_exp2f.c: Likewise.
18862 * math/w_exp2l.c: Likewise.
18863 * math/w_j0.c: Likewise.
18864 * math/w_j0f.c: Likewise.
18865 * math/w_j0l.c: Likewise.
18866 * math/w_j1.c: Likewise.
18867 * math/w_j1f.c: Likewise.
18868 * math/w_j1l.c: Likewise.
18869 * math/w_jn.c: Likewise.
18870 * math/w_jnf.c: Likewise.
18871 * math/w_log.c: Likewise.
18872 * math/w_log10.c: Likewise.
18873 * math/w_log10f.c: Likewise.
18874 * math/w_log10l.c: Likewise.
18875 * math/w_log2.c: Likewise.
18876 * math/w_log2f.c: Likewise.
18877 * math/w_log2l.c: Likewise.
18878 * math/w_logf.c: Likewise.
18879 * math/w_logl.c: Likewise.
18880 * math/w_sqrt.c: Likewise.
18881 * math/w_sqrtf.c: Likewise.
18882 * math/w_sqrtl.c: Likewise.
18883 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18884 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18885 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18886 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18887 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18889 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18892 * manual/string.texi (strnlen): Use correct parameter name in
18893 equivalent expression.
18895 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18898 * manual/users.texi (seteuid): Consistently use neweuid for
18901 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18904 * manual/nss.texi (Services in the NSS configuration): Correct
18905 list of services in example configuration file.
18907 2012-02-19 Nick Bowler <nbowler@draconx.ca>
18910 * manual/arith.texi: Remove statements about negative zero
18911 behaving identically to zero.
18913 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18916 * manual/install.texi: Do not document upgrading from libc5.
18918 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18921 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18923 2012-02-18 David S. Miller <davem@davemloft.net>
18925 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18926 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18927 %o7 across the call.
18928 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18930 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18931 SETUP_PIC_REG_LEAF.
18932 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18933 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18934 * sysdeps/sparc/crtn.S: Likewise.
18936 2012-02-17 Ulrich Drepper <drepper@gmail.com>
18938 * aout/Makefile: Remove.
18940 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18943 * manual/examples/argp-ex1.c (main): Format definition in GNU
18945 * manual/examples/argp-ex2.c (main): Likewise.
18946 * manual/examples/argp-ex3.c (main): Likewise.
18947 * manual/examples/argp-ex4.c (main): Likewise.
18948 * manual/examples/longopt.c (main): Use new-style prototype
18950 * manual/examples/strncat.c (main): Specify return type and use
18951 (void) for arguments.
18952 * manual/examples/subopt.c (main): Use char **argv argument.
18954 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18957 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18960 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18963 * manual/string.texi (strchr): Change when strchrnul is
18966 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18969 * manual/locale.texi (setlocale): Document LOCPATH.
18971 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18974 * manual/process.texi (execle): Move @dots{} before last argument.
18976 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
18979 * manual/charset.texi (Generic Charset Conversion): Fix typo
18980 (LC_TYPE -> LC_CTYPE).
18982 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18985 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18986 (scalbnf): Likewise.
18987 (scalbnl): Likewise.
18988 (scalbln): Likewise.
18989 (scalblnf): Likewise.
18990 (scalblnl): Likewise.
18991 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18992 (vwarnx): Likewise.
18995 * manual/filesys.texi (telldir): Use braces around return type.
18996 * manual/llio.texi (mmap): Add space after comma.
18997 (mmap64): Likewise.
18998 * manual/math.texi (jn): Use @var{} on parameter names.
19004 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19006 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19008 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19009 (sched_get_priority_max): Likewise.
19010 * manual/signal.texi (sigvec): Add space after comma.
19011 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19013 (if_indextoname): Likewise.
19014 (if_freenameindex): Likewise.
19015 (sendto): Use ',' instead of '.' in prototype.
19016 * manual/startup.texi (syscall): Use @dots{} instead of literal
19018 * manual/stdio.texi (__fpending): Separate initial words of
19019 paragraph from @deftypefun line.
19020 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19022 (vsyslog): Use @var{} on parameter names.
19023 * manual/terminal.texi (stty): Use @var{} on parameter names.
19024 * manual/users.texi (getutmp): Use @var{} on parameter names.
19025 (getutmpx): Likewise.
19027 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19030 * manual/stdio.texi (fopen): Fix typos in description of
19033 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19036 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19037 get clock_id definition.
19039 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
19042 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19043 (madvise): Cast every argument to void on its own.
19045 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19048 * manual/startup.texi (Exit Status): Fix typo.
19050 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19053 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19054 * manual/examples/argp-ex2.c: Likewise.
19055 * manual/examples/argp-ex3.c: Likewise.
19057 2012-02-16 Richard Henderson <rth@redhat.com>
19059 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19060 * sysdeps/s390/s390-32/initfini.c: Remove.
19061 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19062 * sysdeps/s390/s390-64/initfini.c: Remove.
19064 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19066 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19067 compiler output for sysdeps/generic/initfini.c.
19068 * sysdeps/sh/elf/initfini.c: Remove file.
19070 2012-02-16 David S. Miller <davem@davemloft.net>
19073 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19075 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19076 * sysdeps/sparc/crti.S: New file.
19077 * sysdeps/sparc/crtn.S: New file.
19078 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19079 * sysdeps/sparc/sparc64/Makefile: Likewise.
19081 2012-02-15 Mike Frysinger <vapier@gentoo.org>
19084 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19086 2012-02-15 Roland McGrath <roland@hack.frob.com>
19089 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19091 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19092 (write, read, close): Likewise.
19093 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19095 2012-02-15 Joseph Myers <joseph@codesourcery.com>
19097 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19098 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19099 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19100 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19102 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19106 2012-02-14 Marek Polacek <polacek@redhat.com>
19108 * sysdeps/x86_64/crti.S: New file.
19109 * sysdeps/x86_64/crtn.S: New file.
19110 * sysdeps/x86_64/elf/initfini.c: Remove file.
19112 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19114 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19115 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19116 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19117 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19119 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19120 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19123 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19125 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19126 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19127 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19128 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19130 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19131 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19134 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19136 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19137 __feraiseexcept instead of feraiseexcept.
19139 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19140 nanosleep invocations.
19141 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19142 strings, and add error checking for a nanosleep invocations.
19144 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19146 Replace FSF snail mail address with URLs, as per GNU coding standards.
19147 Most of the snail mail addresses were wrong anyway, and omitting
19148 them makes the source code easier to maintain. Almost all of the
19149 changes are to license notices and to locale LC_IDENTIFICATION
19150 addresses, except for this one:
19151 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19152 not its snail mail address.
19154 2012-02-09 Richard Henderson <rth@twiddle.net>
19156 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19157 of kernel-features.h.
19159 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19161 2012-02-08 Marek Polacek <polacek@redhat.com>
19163 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19164 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19165 * sysdeps/gnu/_G_config.h: Likewise.
19166 * sysdeps/generic/_G_config.h: Likewise.
19168 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19170 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19174 * sysdeps/powerpc/powerpc32/crti.S: New file.
19175 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19176 * sysdeps/powerpc/powerpc64/crti.S: New file.
19177 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19179 * Makeconfig (have-initfini): Don't set.
19180 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19181 * configure.in (nopic_initfini): Don't substitute.
19182 * config.h.in (HAVE_INITFINI): Don't #undef.
19183 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19184 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19186 2012-02-08 Joseph Myers <joseph@codesourcery.com>
19188 Support crti.S and crtn.S provided directly by architectures.
19189 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19190 [crti.S in sysdirs] (omit-deps): Likewise.
19191 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19192 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19193 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19194 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19195 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19196 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19197 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19198 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19199 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19200 compiler output for sysdeps/generic/initfini.c.
19201 * sysdeps/i386/elf/Makefile: Remove file.
19202 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19204 2012-02-07 Marek Polacek <polacek@redhat.com>
19206 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19207 * sysdeps/gnu/_G_config.h: Likewise.
19208 * sysdeps/mach/hurd/_G_config.h: Likewise.
19210 2012-02-07 Marek Polacek <polacek@redhat.com>
19212 * math/Makefile (tests): Add tst-CMPLX2.
19213 * math/tst-CMPLX2.c: New file.
19215 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19217 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19219 * math/libm-test.inc (jn_test): Add missing L suffix.
19221 2012-02-06 Marek Polacek <polacek@redhat.com>
19223 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19224 * sysdeps/i386/fpu/e_powf.S: Likewise.
19225 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19226 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19227 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19228 * sysdeps/i386/fpu/e_pow.S: Likewise.
19229 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19230 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19231 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19232 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19233 * sysdeps/i386/fpu/e_log2.S: Likewise.
19234 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19235 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19236 * sysdeps/i386/fpu/e_powl.S: Likewise.
19237 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19238 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19239 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19240 * sysdeps/i386/fpu/e_logl.S: Likewise.
19241 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19242 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19243 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19244 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19245 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19246 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19247 * sysdeps/i386/fpu/e_log.S: Likewise.
19248 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19249 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19250 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19251 * sysdeps/i386/fpu/e_logf.S: Likewise.
19252 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19253 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19254 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19255 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19256 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19257 * sysdeps/i386/fpu/e_log10.S: Likewise.
19258 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19259 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19260 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19261 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19262 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19263 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19264 * sysdeps/i386/asm-syntax.h: Likewise.
19265 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19266 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19267 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19268 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19269 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19270 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19271 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19272 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19273 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19274 * sysdeps/powerpc/sysdep.h: Likewise.
19275 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19276 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19278 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19281 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19283 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19285 * sysdeps/i386/sysdep.h: Include <features.h>.
19286 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19289 2012-02-05 Joseph Myers <joseph@codesourcery.com>
19291 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19293 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19296 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19298 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19299 (SETUP_PIC_REG): Use GET_PC_THUNK.
19300 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19303 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19305 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19306 for non-PIC compilation.
19307 (SETUP_PIC_REG): Add .p2align directive.
19308 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19309 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19310 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19311 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19312 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19313 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19314 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19315 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19316 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19317 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19318 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19319 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19320 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19321 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19322 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19323 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19324 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19325 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19326 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19327 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19328 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19329 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19330 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19331 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19332 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19333 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19334 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19335 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19336 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19337 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19338 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19339 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19340 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19341 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19342 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19343 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19344 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19345 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19346 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19347 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19348 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19350 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19352 * math/tst-CMPLX.c: Include <stdio.h>.
19354 2012-01-31 Joseph Myers <joseph@codesourcery.com>
19356 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19358 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19359 * sysdeps/sparc/bits/mathdef.h: Likewise.
19361 2012-01-31 Marek Polacek <polacek@redhat.com>
19363 * libio/libio.h: Don't define _PARAMS.
19364 * locale/programs/config.h: Don't define PARAMS.
19365 * stdlib/strtol_l.c: Likewise.
19366 (__strtol_l): Remove PARAMS from the prototype.
19368 2012-01-31 Ulrich Drepper <drepper@gmail.com>
19370 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19371 names. Just use the correct names. Remove unnecessary wrapper
19373 * malloc/arena.c: Likewise.
19374 * malloc/hooks.c: Likewise.
19376 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19377 ARENA_TEST says not to. Simplify test for creation of a new arena.
19378 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19380 2012-01-30 Ulrich Drepper <drepper@gmail.com>
19382 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19384 (update_get_addr): New function.
19385 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19386 GET_ADDR_MODULE parameter.
19388 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19390 * crypt/cert.c: Remove __STDC__ conditionals.
19391 * crypt/crypt-entry.c: Likewise.
19392 * crypt/crypt_util.c: Likewise.
19393 * libio/filedoalloc.c: Likewise.
19394 * libio/fileops.c: Likewise.
19395 * libio/genops.c: Likewise.
19396 * libio/iofclose.c: Likewise.
19397 * libio/iofdopen.c: Likewise.
19398 * libio/iofopen.c: Likewise.
19399 * libio/iofopen64.c: Likewise.
19400 * libio/iogetdelim.c: Likewise.
19401 * libio/iopopen.c: Likewise.
19402 * libio/obprintf.c: Likewise.
19403 * libio/oldfileops.c: Likewise.
19404 * libio/oldiofclose.c: Likewise.
19405 * libio/oldiofdopen.c: Likewise.
19406 * libio/oldiofopen.c: Likewise.
19407 * libio/oldiopopen.c: Likewise.
19408 * libio/wfiledoalloc.c: Likewise.
19409 * libio/wgenops.c: Likewise.
19410 * locale/programs/xmalloc.c: Likewise.
19411 * misc/syslog.c: Likewise.
19412 * stdio-common/xbug.c: Likewise.
19413 * string/memchr.c: Likewise.
19414 * string/memcmp.c: Likewise.
19415 * string/memrchr.c: Likewise.
19416 * string/rawmemchr.c: Likewise.
19417 * sysdeps/posix/getcwd.c: Likewise.
19418 * time/strftime_l.c: Likewise.
19420 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19422 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19423 * config.make.in (config-cflags-sse2avx): Define.
19424 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19427 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19429 * scripts/config.guess: Update from upstream config git repository.
19430 * scripts/config.sub: Likewise.
19432 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19434 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19436 (R_TILEPRO_*, R_TILEGX_*): New macros.
19438 * scripts/firstversions.awk: Fix bug in version range handling.
19440 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19442 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19444 * include/sys/epoll.h: New file.
19445 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19448 2012-01-28 Ulrich Drepper <drepper@gmail.com>
19450 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19451 Avoid unnecessary __WORDSIZE == 64 test.
19452 (fmaxf): Use VEX format if possible.
19457 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19458 * math/math_private.h: Remove libc_fegetround* and
19460 * sysdeps/i386/configure.in: Check for -msse2avx.
19461 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19462 also if SSE2AVX is defined.
19463 Remove libc_fegetround* and libc_fesetround*.
19464 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19465 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19466 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19468 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19469 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19470 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19471 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19472 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19474 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19476 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19478 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19480 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19482 2012-01-27 Ulrich Drepper <drepper@gmail.com>
19485 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19487 * Makeconfig (libm): Define.
19488 * elf/Makefile: Add rules to build and run tst-relsort1.
19489 * elf/tst-relsort1.c: New file.
19490 * elf/tst-relsort1mod1.c: New file.
19491 * elf/tst-relsort1mod2.c: New file.
19493 2012-01-27 Joseph Myers <joseph@codesourcery.com>
19495 * math/s_ldexp.c: Remove __STDC__ conditionals.
19496 * math/s_ldexpf.c: Likewise.
19497 * math/s_ldexpl.c: Likewise.
19498 * math/s_nextafter.c: Likewise.
19499 * math/s_nexttowardf.c: Likewise.
19500 * math/s_significand.c: Likewise.
19501 * math/s_significandf.c: Likewise.
19502 * math/s_significandl.c: Likewise.
19503 * math/w_jnl.c: Likewise.
19504 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19505 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19506 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19507 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19508 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19509 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19510 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19511 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19512 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19513 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19514 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19515 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19516 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19517 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19518 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19519 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19520 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19521 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19522 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19523 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19524 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19525 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19526 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19527 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19528 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19529 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19530 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19531 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19532 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19533 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19534 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19535 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19536 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19537 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19538 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19539 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19540 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19541 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19542 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19543 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19544 * sysdeps/ieee754/k_standard.c: Likewise.
19545 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19546 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19547 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19548 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19549 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19550 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19551 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19552 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19553 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19554 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19555 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19556 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19557 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19558 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19559 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19560 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19561 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19562 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19563 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19564 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19565 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19566 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19567 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19568 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19569 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19570 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19571 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19572 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19573 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19574 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19575 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19576 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19577 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19578 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19579 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19580 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19581 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19582 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19583 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19584 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19585 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19586 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19587 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19588 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19589 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19590 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19591 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19592 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19593 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19594 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19595 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19596 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19597 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19598 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19599 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19600 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19601 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19602 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19603 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19604 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19605 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19606 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19607 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19608 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19609 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19610 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19611 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19612 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19613 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19614 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19615 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19616 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19617 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19618 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19619 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19620 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19621 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19622 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19623 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19624 * sysdeps/ieee754/s_matherr.c: Likewise.
19625 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19626 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19627 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19628 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19630 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19632 * crypt/md5.h: Remove __STDC__ conditionals.
19633 * libio/libioP.h: Likewise.
19634 * locale/programs/config.h: Likewise.
19635 * sysdeps/generic/sysdep.h: Likewise.
19636 * sysdeps/i386/asm-syntax.h: Likewise.
19637 * sysdeps/s390/asm-syntax.h: Likewise.
19638 * sysdeps/unix/sysdep.h: Likewise.
19639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19642 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19644 * libio/libio.h: Remove __STDC__ conditionals.
19645 * malloc/obstack.h: Likewise.
19646 * math/complex.h: Likewise.
19647 * math/math.h: Likewise.
19648 * sysdeps/generic/_G_config.h: Likewise.
19649 * sysdeps/gnu/_G_config.h: Likewise.
19650 * sysdeps/mach/hurd/_G_config.h: Likewise.
19651 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19652 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19653 * sysdeps/sparc/bits/mathdef.h: Likewise.
19655 2012-01-26 Ulrich Drepper <drepper@gmail.com>
19658 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19659 Clean up HAS_* macros.
19660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19661 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19663 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19665 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19666 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19667 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19668 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19669 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19671 2012-01-25 Joseph Myers <joseph@codesourcery.com>
19673 * elf/tst-unique3.cc (gets): Remove declaration.
19674 * elf/tst-unique3lib.cc (gets): Likewise.
19675 * elf/tst-unique3lib2.cc (gets): Likewise.
19676 * elf/tst-unique4.cc (gets): Likewise.
19678 2012-01-24 Ulrich Drepper <drepper@gmail.com>
19680 * include/stdio.h: Add C++ protection. Add gets declarations and
19682 * debug/tst-chk1.c: Don't declare gets here.
19683 * stdio-common/tst-gets.c: Likewise.
19685 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19687 * posix/glob: Remove directory.
19689 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19691 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19693 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19695 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19696 of the non-standard EPFNOSUPPORT.
19698 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19700 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19701 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19702 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19704 2012-01-21 Ulrich Drepper <drepper@gmail.com>
19706 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19708 2012-01-20 Ulrich Drepper <drepper@gmail.com>
19710 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19712 * nscd/grpcache.c (cache_addgr): Likewise.
19713 * nscd/hstcache.c (cache_addhst): Likewise.
19714 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19715 * nscd/pwdcache.c (cache_addpw): Likewise.
19716 * nscd/servicescache.c (cache_addserv): Likewise.
19718 2012-01-16 Ulrich Drepper <drepper@gmail.com>
19720 * malloc/malloc.c: Various cleanups.
19721 * malloc/hooks.c: Likewise.
19723 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19724 * stdlib/bug-fmtmsg1.c: New file.
19726 * stdlib/fmtmsg.c (init): Add missing unlock.
19727 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19729 2012-01-12 Marek Polacek <polacek@redhat.com>
19731 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19734 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19736 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19737 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19738 macro to ensure uniqueness of label name.
19739 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19740 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19742 2012-01-11 Ulrich Drepper <drepper@gmail.com>
19744 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19746 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19747 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19748 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19749 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19751 2012-01-10 Ulrich Drepper <drepper@gmail.com>
19753 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19755 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19756 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19757 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19759 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19761 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19762 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19763 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19764 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19766 * math/bits/math-finite.h: Add ldexp support.
19768 2012-01-10 Marek Polacek <polacek@redhat.com>
19770 * locale/programs/localedef.h (show_archive_content): Add noreturn
19773 2012-01-09 Ulrich Drepper <drepper@gmail.com>
19775 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19777 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19779 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19781 * io/Makefile (headers): Add bits/poll2.h.
19783 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19786 typo #include statement.
19788 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19790 * include/sys/cdefs.h: Define __attribute_alloc_size.
19791 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19792 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19793 * elf/pldd.c: Likewise.
19794 * iconv/iconv_charmap.c: Likewise.
19795 * iconv/iconvconfig.c: Likewise.
19796 * iconv/strtab.c: Likewise.
19797 * locale/programs/locale.c: Likewise.
19798 * locale/programs/localedef.h: Likewise.
19799 * locale/programs/simple-hash.c: Likewise.
19800 * nscd/nscd.h: Likewise.
19801 * nss/makedb.c: Likewise.
19802 * sysdeps/generic/ldconfig.h: Likewise.
19803 * locale/programs/localedef.c: Remove xmalloc prototype.
19804 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19806 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19808 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19811 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19813 * math/Makefile (tests): Add tst-CMPLX.
19814 * math/tst-CMPLX.c: New file.
19816 * math/complex.h (CMPLXL): Fix typo.
19818 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19819 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19821 * debug/tst-chk1.c: Add poll and ppoll tests.
19822 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19823 * include/sys/poll.h: Add hidden proto for ppoll.
19824 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19825 * sysdeps/mach/hurd/ppoll.c: Likewise.
19826 * io/ppoll.c: Likewise.
19827 * debug/poll_chk.c: New file.
19828 * debug/ppoll_chk.c: New file.
19829 * include/bits/poll2.h: New file.
19830 * io/bits/poll2.h: New file.
19833 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19835 * configure.in: static is always set to yes. Remove.
19836 * config.make.in: Don't set build-static.
19837 * Makeconfig: Remove use of build-static.
19838 * dlfcn/Makefile: Likewise.
19839 * elf/Makefile: Likewise.
19840 * math/Makefile: Likewise.
19841 * misc/Makefile: Likewise.
19842 * nptl/Makefile: Likewise.
19843 * sysdeps/mach/hurd/Makefile: Likewise.
19845 * configure.in: PWD_P is not used anymore.
19846 * config.make.in: Remove PWD_P entry.
19848 * configure.in: Remove last remnants of RANLIB.
19849 No need to check for signed size_t anymore.
19850 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19852 Remove __builtin_expect test because we require at least gcc 3.4.
19853 * aclocal.m4: Likewise.
19855 * wcsmbs/mbrtoc16.c: Implement using towc function.
19856 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19857 * wcsmbs/wcsmbsload.c: Likewise.
19858 * iconv/gconv_simple.c: Likewise.
19859 * iconv/gconv_int.h: Likewise.
19860 * iconv/gconv_builtin.h: Likewise.
19861 * iconv/iconv_prog.c: Remove CHAR16 handling.
19863 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19865 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19867 * configure.in: Remove --with-elf and --enable-bounded options.
19868 Dont set base_machine for ia64. More non-ELF conditions removed.
19869 Remove testing and setting of leading underscore information.
19870 * config.make.in (build-bounded): Set to no.
19871 * config.h.in: Remove NO_UNDERSCORES entry.
19872 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19874 * csu/start.c: Remove !NO_UNDERSCORE code.
19875 * locale/localeinfo.h: Likewise.
19876 * sysdeps/generic/machine-gmon.h: Likewise.
19877 * sysdeps/generic/sysdep.h: Likewise.
19878 * sysdeps/i386/sysdep.h: Likewise.
19879 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19880 * sysdeps/mach/sysdep.h: Likewise.
19881 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19882 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19883 * sysdeps/sh/sysdep.h: Likewise.
19884 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19885 * sysdeps/unix/i386/sysdep.S: Likewise.
19886 * sysdeps/unix/sparc/start.c: Likewise.
19887 * sysdeps/unix/sparc/sysdep.S: Likewise.
19888 * sysdeps/unix/sparc/sysdep.h: Likewise.
19889 * sysdeps/unix/start.c: Likewise.
19890 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19891 * sysdeps/x86_64/sysdep.h: Likewise.
19893 2012-01-07 Ulrich Drepper <drepper@gmail.com>
19896 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19898 * argp/argp-fmtstream.h: Use const instead __const.
19899 * argp/argp.h: Likewise.
19900 * assert/assert.h: Likewise.
19901 * bits/fenv.h: Likewise.
19902 * bits/sched.h: Likewise.
19903 * bits/sigset.h: Likewise.
19904 * bits/sigthread.h: Likewise.
19905 * catgets/nl_types.h: Likewise.
19906 * conform/data/pthread.h-data: Likewise.
19907 * crypt/crypt-private.h: Likewise.
19908 * crypt/crypt.h: Likewise.
19909 * crypt/crypt_util.c: Likewise.
19910 * ctype/ctype.h: Likewise.
19911 * debug/execinfo.h: Likewise.
19912 * debug/mbsnrtowcs_chk.c: Likewise.
19913 * debug/mbsrtowcs_chk.c: Likewise.
19914 * debug/wcsnrtombs_chk.c: Likewise.
19915 * debug/wcsrtombs_chk.c: Likewise.
19916 * debug/wcstombs_chk.c: Likewise.
19917 * dirent/dirent.h: Likewise.
19918 * dlfcn/dlfcn.h: Likewise.
19919 * elf/neededtest4.c: Likewise.
19920 * grp/grp.h: Likewise.
19921 * gshadow/gshadow.h: Likewise.
19922 * iconv/gconv.h: Likewise.
19923 * iconv/gconv_int.h: Likewise.
19924 * iconv/gconv_simple.c: Likewise.
19925 * iconv/iconv.h: Likewise.
19926 * iconv/loop.c: Likewise.
19927 * iconv/skeleton.c: Likewise.
19928 * include/aio.h: Likewise.
19929 * include/aliases.h: Likewise.
19930 * include/argz.h: Likewise.
19931 * include/arpa/inet.h: Likewise.
19932 * include/assert.h: Likewise.
19933 * include/dirent.h: Likewise.
19934 * include/dlfcn.h: Likewise.
19935 * include/execinfo.h: Likewise.
19936 * include/fcntl.h: Likewise.
19937 * include/fenv.h: Likewise.
19938 * include/glob.h: Likewise.
19939 * include/grp.h: Likewise.
19940 * include/libintl.h: Likewise.
19941 * include/mntent.h: Likewise.
19942 * include/netdb.h: Likewise.
19943 * include/pwd.h: Likewise.
19944 * include/rpc/netdb.h: Likewise.
19945 * include/sched.h: Likewise.
19946 * include/search.h: Likewise.
19947 * include/shadow.h: Likewise.
19948 * include/signal.h: Likewise.
19949 * include/stdio.h: Likewise.
19950 * include/stdlib.h: Likewise.
19951 * include/string.h: Likewise.
19952 * include/sys/socket.h: Likewise.
19953 * include/sys/stat.h: Likewise.
19954 * include/sys/statfs.h: Likewise.
19955 * include/sys/statvfs.h: Likewise.
19956 * include/sys/syslog.h: Likewise.
19957 * include/sys/time.h: Likewise.
19958 * include/sys/uio.h: Likewise.
19959 * include/time.h: Likewise.
19960 * include/unistd.h: Likewise.
19961 * include/utmp.h: Likewise.
19962 * include/wchar.h: Likewise.
19963 * include/wctype.h: Likewise.
19964 * inet/aliases.h: Likewise.
19965 * inet/arpa/inet.h: Likewise.
19966 * inet/netinet/ether.h: Likewise.
19967 * inet/netinet/in.h: Likewise.
19968 * intl/libintl.h: Likewise.
19969 * io/bits/fcntl2.h: Likewise.
19970 * io/fcntl.h: Likewise.
19971 * io/ftw.h: Likewise.
19972 * io/sys/poll.h: Likewise.
19973 * io/sys/stat.h: Likewise.
19974 * io/sys/statfs.h: Likewise.
19975 * io/sys/statvfs.h: Likewise.
19976 * io/utime.h: Likewise.
19977 * libio/bits/stdio.h: Likewise.
19978 * libio/bits/stdio2.h: Likewise.
19979 * libio/libio.h: Likewise.
19980 * libio/libioP.h: Likewise.
19981 * libio/stdio.h: Likewise.
19982 * locale/lc-ctype.c: Likewise.
19983 * locale/locale.h: Likewise.
19984 * login/utmp.h: Likewise.
19985 * malloc/arena.c: Likewise.
19986 * malloc/malloc.c: Likewise.
19987 * malloc/malloc.h: Likewise.
19988 * malloc/mcheck.c: Likewise.
19989 * malloc/mtrace.c: Likewise.
19990 * math/bits/mathcalls.h: Likewise.
19991 * math/fenv.h: Likewise.
19992 * math/math_private.h: Likewise.
19993 * misc/bits/error.h: Likewise.
19994 * misc/bits/syslog.h: Likewise.
19995 * misc/err.h: Likewise.
19996 * misc/error.h: Likewise.
19997 * misc/fstab.h: Likewise.
19998 * misc/mntent.h: Likewise.
19999 * misc/regexp.h: Likewise.
20000 * misc/search.h: Likewise.
20001 * misc/sgtty.h: Likewise.
20002 * misc/sys/mman.h: Likewise.
20003 * misc/sys/syslog.h: Likewise.
20004 * misc/sys/uio.h: Likewise.
20005 * misc/sys/xattr.h: Likewise.
20006 * misc/ttyent.h: Likewise.
20007 * nis/rpcsvc/ypclnt.h: Likewise.
20008 * nss/nss.h: Likewise.
20009 * posix/bits/unistd.h: Likewise.
20010 * posix/fnmatch.h: Likewise.
20011 * posix/glob.h: Likewise.
20012 * posix/sched.h: Likewise.
20013 * posix/spawn.h: Likewise.
20014 * posix/sys/wait.h: Likewise.
20015 * posix/unistd.h: Likewise.
20016 * posix/wordexp.h: Likewise.
20017 * pwd/pwd.h: Likewise.
20018 * resolv/netdb.h: Likewise.
20019 * resource/sys/resource.h: Likewise.
20020 * rt/aio.h: Likewise.
20021 * rt/bits/mqueue2.h: Likewise.
20022 * rt/mqueue.h: Likewise.
20023 * shadow/shadow.h: Likewise.
20024 * signal/signal.h: Likewise.
20025 * socket/send.c: Likewise.
20026 * socket/sendto.c: Likewise.
20027 * socket/sys/socket.h: Likewise.
20028 * stdio-common/printf.h: Likewise.
20029 * stdlib/bits/stdlib.h: Likewise.
20030 * stdlib/fmtmsg.h: Likewise.
20031 * stdlib/monetary.h: Likewise.
20032 * stdlib/stdlib.h: Likewise.
20033 * stdlib/ucontext.h: Likewise.
20034 * streams/stropts.h: Likewise.
20035 * string/argz.h: Likewise.
20036 * string/bits/string2.h: Likewise.
20037 * string/string.h: Likewise.
20038 * string/strings.h: Likewise.
20039 * sunrpc/rpc/auth.h: Likewise.
20040 * sunrpc/rpc/auth_des.h: Likewise.
20041 * sunrpc/rpc/clnt.h: Likewise.
20042 * sunrpc/rpc/netdb.h: Likewise.
20043 * sunrpc/rpc/pmap_clnt.h: Likewise.
20044 * sunrpc/rpc/xdr.h: Likewise.
20045 * sysdeps/generic/inttypes.h: Likewise.
20046 * sysdeps/generic/net/if.h: Likewise.
20047 * sysdeps/generic/sys/swap.h: Likewise.
20048 * sysdeps/gnu/net/if.h: Likewise.
20049 * sysdeps/gnu/utmpx.h: Likewise.
20050 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20051 * sysdeps/i386/i486/bits/string.h: Likewise.
20052 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20053 * sysdeps/s390/bits/string.h: Likewise.
20054 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20055 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20056 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20057 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20058 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20059 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20060 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20061 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20062 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20063 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20064 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20065 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20066 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20067 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20068 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20069 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20070 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20071 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20072 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20073 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20074 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20075 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20076 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20077 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20078 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20079 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20080 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20081 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20082 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20083 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20084 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20085 * sysvipc/sys/ipc.h: Likewise.
20086 * sysvipc/sys/msg.h: Likewise.
20087 * sysvipc/sys/sem.h: Likewise.
20088 * sysvipc/sys/shm.h: Likewise.
20089 * termios/termios.h: Likewise.
20090 * time/sys/time.h: Likewise.
20091 * time/time.h: Likewise.
20092 * wcsmbs/bits/wchar2.h: Likewise.
20093 * wcsmbs/uchar.h: Likewise.
20094 * wcsmbs/wchar.h: Likewise.
20095 * wctype/wctype.h: Likewise.
20098 * Makeconfig: Remove all but ELF support including AIX support.
20099 * Makerules: Likewise.
20100 * config.h.in: Likewise.
20101 * config.make.in: Likewise.
20102 * configure: Likewise.
20103 * configure.in: Likewise.
20104 * csu/Makefile: Likewise.
20105 * csu/version.c: Likewise.
20106 * debug/Makefile: Likewise.
20107 * dlfcn/Makefile: Likewise.
20108 * elf/Makefile: Likewise.
20109 * extra-lib.mk: Likewise.
20110 * iconv/Makefile: Likewise.
20111 * include/libc-symbols.h: Likewise.
20112 * include/shlib-compat.h: Likewise.
20113 * resolv/Makefile: Likewise.
20114 * resolv/res_libc.c: Likewise.
20115 * rt/Makefile: Likewise.
20116 * sysdeps/i386/asm-syntax.h: Likewise.
20117 * sysdeps/i386/sysdep.h: Likewise.
20118 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20119 * sysdeps/mach/sysdep.h: Likewise.
20120 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20121 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20122 * sysdeps/s390/asm-syntax.h: Likewise.
20123 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20124 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20125 * sysdeps/sh/sysdep.h: Likewise.
20126 * sysdeps/unix/sparc/sysdep.h: Likewise.
20127 * sysdeps/wordsize-32/divdi3.c: Likewise.
20128 * sysdeps/x86_64/sysdep.h: Likewise.
20130 * argp/Versions: Remove _argp_unlock_xxx.
20133 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20134 * abilist/libBrokenLocale.abilist: Likewise.
20135 * abilist/libanl.abilist: Likewise.
20136 * abilist/libc.abilist: Likewise.
20137 * abilist/libcrypt.abilist: Likewise.
20138 * abilist/libdl.abilist: Likewise.
20139 * abilist/libm.abilist: Likewise.
20140 * abilist/libnsl.abilist: Likewise.
20141 * abilist/libpthread.abilist: Likewise.
20142 * abilist/libresolv.abilist: Likewise.
20143 * abilist/librt.abilist: Likewise.
20144 * abilist/libthread_db.abilist: Likewise.
20145 * abilist/libutil.abilist: Likewise.
20146 * abilist/libnss_db.abilist: New file.
20148 * scripts/abilist.awk: Add support for indirect functions.
20150 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20152 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20154 * shlib-versions: Remove entries for ports architectures.
20156 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20158 * elf/stackguard-macros.h: Remove support for IA-64.
20159 * elf/tst-auditmod1.c: Likewise.
20160 * sysdeps/generic/ldsodefs.h: Likewise.
20162 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20163 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20167 * configure.in: Remove --enable-omitfp support.
20169 * config.make.in: Likewise.
20170 * Makeconfig: Likewise.
20171 * manual/install.texi: Likewise.
20173 In case anyone cares, the IA-64 architecture could move to ports.
20174 * sysdeps/ia64/*: Removed.
20175 * sysdeps/unix/sysv/linux/ia64/*: Removed.
20176 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20179 * configure.in: Remove entries for unsupported architectures.
20182 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20183 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20185 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20186 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20187 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20188 fall back to using wcrtomb.
20189 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20190 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20192 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20193 * wcsmbs/tst-c16c32-1.c: New file.
20195 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20198 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20200 * elf/tst-unique3.cc: Add explicit declaration of gets.
20201 * elf/tst-unique3lib.cc: Likewise.
20202 * elf/tst-unique3lib2.cc: Likewise.
20203 * elf/tst-unique4.cc: Likewise.
20205 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20207 2012-01-06 Joseph Myers <joseph@codesourcery.com>
20210 * assert/assert.h (static_assert): Don't define for C++.
20211 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20212 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20214 2012-01-03 Ulrich Drepper <drepper@gmail.com>
20216 * iconv/loop.c (single loop): Fix assertion in storing of
20219 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20221 2012-01-01 Ulrich Drepper <drepper@gmail.com>
20223 * posix/getconf.c: Update copyright year.
20224 * nss/getent.c: Likewise.
20225 * nss/makedb.c: Likewise.
20226 * iconv/iconvconfig.c: Likewise.
20227 * iconv/iconv_prog.c: Likewise.
20228 * elf/ldconfig.c: Likewise.
20229 * elf/pldd.c: Likewise.
20230 * elf/sotruss.ksh: Likewise.
20231 * catgets/gencat.c: Likewise.
20232 * csu/version.c: Likewise.
20233 * elf/ldd.bash.in: Likewise.
20234 * elf/sprof.c (print_version): Likewise.
20235 * locale/programs/locale.c: Likewise.
20236 * locale/programs/localedef.c: Likewise.
20237 * login/programs/pt_chown.c: Likewise.
20238 * nscd/nscd.c (print_version): Likewise.
20239 * debug/xtrace.sh: Likewise.
20240 * malloc/memusage.sh: Likewise.
20241 * malloc/mtrace.pl: Likewise.
20242 * debug/catchsegv.sh: Likewise.
20244 2011-12-30 Jakub Jelinek <jakub@redhat.com>
20246 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20249 2011-12-24 Ulrich Drepper <drepper@gmail.com>
20252 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20253 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20255 * iconv/gconv_int.h: Likewise.
20256 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20257 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20258 from libc for GLIBC_2.16.
20259 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20260 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20261 * wcsmbs/uchar.h: Really define mbstate_t.
20262 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20263 * wcsmbs/c16rtomb.c: New file.
20264 * wcsmbs/mbrtoc16.c: New file.
20265 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20266 for C/POSIX locale.
20267 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20268 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20270 * wcsmbs/wchar.h: Add missing __restrict.
20272 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20275 * time/Makefile (routines): Add timespec_get.
20276 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20277 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20278 timespec for ISO C11.
20279 * time/timespec_get.c: New file.
20280 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20281 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20284 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20285 * stdlib/stdlib.h: Declare aligned_alloc.
20286 * Versions.def: Add GLIBC_2.16 for libc.
20287 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20290 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20293 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20297 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20300 * assert/assert.h (static_assert): Define.
20302 * version.h: Update for 2.16 development version.
20305 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20308 * version.h (RELEASE): Bump for 2.15 release.
20309 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20311 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20312 Patch by Marek Polacek <mpolacek@redhat.com>.
20314 * bits/byteswap.h: Protect long long constants with __extension__.
20315 * sysdeps/i386/bits/byteswap.h: Likewise.
20316 * sysdeps/ia64/bits/byteswap.h: Likewise.
20317 * sysdeps/s390/bits/byteswap.h: Likewise.
20318 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20320 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20323 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20324 destination buffer.
20325 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20327 2011-12-23 Marek Polacek <polacek@redhat.com>
20329 * elf/dl-addr.c (determine_info): Add inline keyword.
20330 * elf/tst-auditmod4b.c (check_avx): Likewise.
20331 * elf/tst-auditmod6b.c (check_avx): Likewise.
20332 * elf/tst-auditmod6c.c (check_avx): Likewise.
20333 * elf/tst-auditmod7b.c (check_avx): Likewise.
20335 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20337 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20340 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20343 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20344 processing for last bytes.
20346 2011-08-06 Bruno Haible <bruno@clisp.org>
20349 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20350 U+0385, not to U+1FEE.
20353 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20354 entry for U+00A5 U+0301.
20356 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20359 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20360 buffer for the output is too small.
20362 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20366 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20367 SSE flags if possible.
20369 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20372 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20373 processing for last bytes.
20375 2011-12-22 Joseph Myers <joseph@codesourcery.com>
20377 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20378 (syscall-list-default-options, syscall-list-default-condition)
20379 (syscall-list-includes): Define.
20380 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20381 list of ABIs and options and #if conditions for each ABI. Do not
20382 handle common syscalls between ABIs specially.
20383 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20385 (syscall-list-variants, syscall-list-32bit-options)
20386 (syscall-list-32bit-condition, syscall-list-64bit-options)
20387 (syscall-list-64bit-condition): Define.
20388 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20389 (syscall-list-variants, syscall-list-32bit-options)
20390 (syscall-list-32bit-condition, syscall-list-64bit-options)
20391 (syscall-list-64bit-condition): Define.
20392 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20394 (syscall-list-variants, syscall-list-32bit-options)
20395 (syscall-list-32bit-condition, syscall-list-64bit-options)
20396 (syscall-list-64bit-condition): Define.
20397 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20399 (syscall-list-variants, syscall-list-32bit-options)
20400 (syscall-list-32bit-condition, syscall-list-64bit-options)
20401 (syscall-list-64bit-condition): Define.
20403 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20405 * locale/iso-639.def: Add brx entry.
20408 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20409 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20411 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20412 __feraiseexcept_renamed.
20414 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20417 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20418 EPOLLET with unsigned values.
20419 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20420 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20422 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20423 to large cancellation.
20424 * math/s_cacoshf.c: Likewise.
20425 * math/s_cacoshl.c: Likewise.
20427 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20431 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20432 * math/s_cacoshf.c: Likewise.
20433 * math/s_cacoshl.c: Likewise.
20435 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20438 * iconv/gconv.h: Define __GCONV_SWAP.
20439 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20440 * iconvdata/utf-16.c: Likewise.
20441 * iconvdata/utf-32.c: Likewise.
20443 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20446 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20447 numerator after shifting it by one limb.
20449 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20451 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20452 under [__USE_EXTERN_INLINES].
20454 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20457 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20459 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20461 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20462 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20464 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20465 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20466 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20467 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20468 for strncasecmp/strncasecmp_l compilation.
20469 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20470 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20472 2011-12-08 Marek Polacek <mpolacek@redhat.com>
20475 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20478 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20481 * time/tzfile.c (__tzfile_read): Check values from file header.
20483 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20485 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20486 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20487 * powerpc/powerpc32/dl-start.S: Likewise.
20488 * powerpc/powerpc32/elf/start.S: Likewise.
20489 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20490 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20491 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20492 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20493 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20494 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20495 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20496 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20497 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20498 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20499 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20500 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20501 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20502 * powerpc/powerpc32/memset.S: Likewise.
20503 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20504 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20505 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20506 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20507 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20508 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20509 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20510 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20511 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20512 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20513 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20514 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20515 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20517 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20519 * math/libm-test.inc: Added more nearbyint tests.
20520 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20521 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20522 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20523 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20525 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20527 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20530 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20532 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20533 Add wcscpy-ssse3 wcscpy-c.
20534 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20535 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20536 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20537 * sysdeps/x86_64/wcschr.S: New file.
20538 * sysdeps/x86_64/wcsrchr.S: New file.
20539 * string/test-strcmp.c: Remove checking of wcscmp function for
20541 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20542 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20543 wcsrchr-sse2 wcsrchr-c.
20544 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20545 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20546 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20547 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20548 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20549 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20550 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20551 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20552 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20553 * wcsmbc/wcschr.c (WCSCHR): New macro.
20555 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20557 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20558 * wcsmbs/test-wcsrchr.c: New file.
20559 * string/test-strrchr.c: Add wcsrchr support.
20561 * wcsmbs/test-wcscpy.c: New file.
20562 * string/test-strcpy.c: Add wcscpy support.
20565 2011-12-10 Ulrich Drepper <drepper@gmail.com>
20567 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20570 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20573 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20575 2011-12-04 Ulrich Drepper <drepper@gmail.com>
20577 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20578 Minor optimizations.
20580 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20581 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20582 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20584 2011-12-03 Ulrich Drepper <drepper@gmail.com>
20586 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20587 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20588 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20589 for gcc to avoid warnings.
20590 * inet/Makefile (tests): Add tst-checks.
20591 * inet/tst-checks.c: New file.
20593 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20596 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20599 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20600 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20602 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20604 2011-12-02 Ulrich Drepper <drepper@gmail.com>
20606 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20609 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20611 2011-11-29 Joseph Myers <joseph@codesourcery.com>
20613 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20614 conditional on GCC version.
20615 (__arch_compare_and_exchange_val_8_acq)
20616 (__arch_compare_and_exchange_val_16_acq)
20617 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20618 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20619 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20621 2011-12-02 Joseph Myers <joseph@codesourcery.com>
20623 * sysdeps/sh/backtrace.c: New file.
20625 2011-12-02 Andreas Schwab <schwab@redhat.com>
20627 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20630 2011-12-01 Andreas Schwab <schwab@redhat.com>
20632 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20633 falling back to utime.
20635 2011-11-30 Andreas Schwab <schwab@redhat.com>
20637 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20638 expectations for float.
20640 2011-11-29 Andreas Schwab <schwab@redhat.com>
20642 * locale/weight.h (findidx): Add parameter len.
20643 * locale/weightwc.h (findidx): Likewise.
20644 * posix/fnmatch_loop.c (FCT): Adjust caller.
20645 * posix/regcomp.c (build_equiv_class): Likewise.
20646 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20647 * posix/regexec.c (check_node_accept_bytes): Likewise.
20648 * string/strcoll_l.c (STRCOLL): Likewise.
20649 * string/strxfrm_l.c (STRXFRM): Likewise.
20651 2011-11-17 Ulrich Drepper <drepper@gmail.com>
20653 * Makefile.in: Remove CVSOPT handling.
20654 * configure.in: Remove use of AC_REVISION.
20655 * iconvdata/Makefile (distribute): No need to filter out CVS.
20656 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20659 2011-11-16 Andreas Schwab <schwab@redhat.com>
20661 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20662 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20663 [USE_AS_STRNCASECMP_L]: Likewise.
20664 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20665 NO_TLS_DIRECT_SEG_REFS.
20666 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20667 Fix argument offsets for non-PIC.
20668 [USE_AS_STRNCASECMP_L]: Likewise.
20669 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20670 NO_TLS_DIRECT_SEG_REFS.
20672 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20674 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20676 * locale/loadlocale.c (_nl_load_locale): Likewise.
20678 2011-11-15 Andreas Schwab <schwab@redhat.com>
20680 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20681 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20682 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20683 (SYSCALL_GETTIME): Set errno on error.
20685 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20686 count references to noai6ai_cached.
20688 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20690 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20692 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20693 FD_CLOEXEC for /proc/self/maps.
20695 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20696 FD_CLOEXEC for /proc/meminfo.
20698 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20701 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20702 FD_CLOEXEC for given file.
20704 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20706 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20707 FD_CLOEXEC for /etc/hosts.
20708 (_gethtent): Likewise.
20710 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20712 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20713 cancellation and set FD_CLOEXEC for /etc/netgroup.
20715 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20716 reading /etc/publickey.
20718 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20719 allow cancellation when reading /etc/group.
20721 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20723 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20725 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20726 when using data file.
20728 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20730 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20731 (write_nis_obj): Use "c" and "e" in fopen.
20733 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20735 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20737 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20739 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20741 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20744 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20746 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20748 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20750 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20751 file parsing and set FD_CLOEXEC.
20753 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20755 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20757 2011-11-14 Andreas Schwab <schwab@redhat.com>
20759 * malloc/arena.c (arena_get2): Don't call reused_arena when
20760 _int_new_arena failed.
20762 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20764 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20765 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20766 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20767 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20768 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20769 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20770 to compile strcasecmp and strncasecmp.
20771 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20772 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20774 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20776 2011-11-13 Ulrich Drepper <drepper@gmail.com>
20778 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20779 locale-defines.sym to gen-as-const-headers.
20780 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20781 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20782 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20783 to compile strcasecmp and strncasecmp.
20784 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20785 strcasecmp_l and strncasecmp_l.
20786 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20787 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20788 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20789 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20790 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20791 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20792 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20793 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20794 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20795 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20796 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20798 2011-11-12 Ulrich Drepper <drepper@gmail.com>
20800 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20801 result of SYSDEP_GETTIME_CPU to retval.
20802 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20803 parameter list to macro. Remove trailing semicolon. Adjust users.
20805 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20808 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20810 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20812 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20813 from unused variable.
20815 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20817 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20820 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20823 * sunrpc/rpc_prot.c (rejected): Fix case value.
20825 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20826 unsigned long long int to avoid warnings in shift.
20828 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20830 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20833 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20834 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20835 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20837 * nis/nis_table.c (nis_list): Use variable of correct type for
20838 result of __follow_path call.
20840 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20842 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20843 of math functions ceil, trunc, floor, round, and sqrt, when
20844 avaliable on the platform.
20845 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20847 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20848 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20849 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20851 2011-10-30 Marek Polacek <mpolacek@redhat.com>
20853 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20854 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20856 2011-11-11 Roland McGrath <roland@hack.frob.com>
20858 * include/unistd.h: Fix __readlink return type.
20859 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20861 2011-11-11 Ulrich Drepper <drepper@gmail.com>
20863 * stdlib/ucontext.h: Undo last change for makecontext.
20865 2011-11-11 Andreas Schwab <schwab@redhat.com>
20867 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20869 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20870 * setjmp/setjmp.h: Mark functions as non-leaf.
20871 * setjmp/bits/setjmp2.h: Likewise.
20872 * stdlib/ucontext.h: Likewise.
20874 2011-11-10 Andreas Schwab <schwab@redhat.com>
20876 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20877 (reused_arena): Don't check arena limit.
20878 (arena_get2): Atomically check arena limit.
20880 2011-11-08 Ulrich Drepper <drepper@gmail.com>
20882 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20883 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20885 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20888 2011-11-07 Andreas Schwab <schwab@redhat.com>
20890 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20891 handler when locking.
20893 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20894 Fix size of allocated buffer.
20896 2011-11-04 Andreas Schwab <schwab@redhat.com>
20899 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20900 declarations for long double functions.
20901 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20903 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20905 2011-11-03 Andreas Schwab <schwab@redhat.com>
20907 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20910 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20913 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20915 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20917 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20919 * include/alloca.h (stackinfo_alloca_round): Define.
20920 (extend_alloca): Use it.
20921 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20922 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20925 * scripts/check-local-headers.sh: Ignore libaudit.h.
20927 * nscd/Makefile (extra-objs): Make recursively expanded.
20929 2011-11-01 Ulrich Drepper <drepper@gmail.com>
20931 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20932 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20934 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20935 * posix/tst-rfc3484-2.c: Likewise.
20936 * posix/tst-rfc3484-3.c: Likewise.
20938 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20940 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20942 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20943 process_vm_writev from libc using GLIBC_2.15 version.
20945 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20947 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20949 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20952 2011-10-31 Ulrich Drepper <drepper@gmail.com>
20955 * nss/getent.c (initgroups_keys): Show error message in case no group
20958 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20959 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20960 __bump_nl_timestamp.
20961 * nscd/connections (nscd_init): When host database is served open
20962 netlink socket and request notification about configuration changes.
20963 (main_loop_poll): Track netlink file descriptor and bump timestamp
20964 in case data becomes available.
20965 (main_loop_epoll): Likewise.
20966 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20967 (database_pers_head): Add extra_data fileds.
20968 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20969 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20970 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20972 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20973 in6ai data, call __free_in6ai.
20974 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20975 Add -DHAVE_NETLINK.
20976 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20977 interface information. Reuse previous data if netlink timestamp
20979 (__bump_nl_timestamp): New function.
20980 (__free_in6ai): New function.
20982 2011-10-30 Ulrich Drepper <drepper@gmail.com>
20984 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20985 close_not_cancel_no_status here.
20986 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20988 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20991 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20994 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20995 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20996 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20998 2011-07-03 Andreas Jaeger <aj@suse.de>
21001 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21002 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21003 * math/libm-test.inc (sin_test): Add test case.
21005 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21008 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21009 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21011 * elf/chroot_canon.c (chroot_canon): Cleanups.
21013 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21016 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21017 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21019 * string/test-strchr.c: Make usable for strchrnul testing.
21020 * string/test-strchrnul.c: New file.
21021 * string/Makefile (strop-tests): Add strchrnul.
21023 * po/it.po: Update from translation team.
21024 * po/es.po: Likewise.
21026 2011-10-28 Ulrich Drepper <drepper@gmail.com>
21028 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21029 the three constants needed as parameters. Drop the others.
21030 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21031 __m128i_strloadu_tolower.
21032 Create and initialize variable zero and use it in all the places
21033 where _mm_setzero_si128 was used.
21035 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21036 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21037 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21038 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21040 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21041 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21042 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21043 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21044 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21045 __mpranred, __mptan.
21046 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21047 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21048 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21049 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21050 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21051 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21052 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21053 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21054 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21056 2011-10-28 Andreas Schwab <schwab@redhat.com>
21058 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21059 redefine if SHARED.
21060 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21063 wide char related routines to wcsmbs subdir.
21065 2011-10-27 Andreas Schwab <schwab@redhat.com>
21068 * misc/sys/cdefs.h (__THROWNL): Define.
21069 * posix/unistd.h: Use __THREADNL instead of __THREAD
21070 for memory synchronization functions.
21072 2011-10-26 Roland McGrath <roland@hack.frob.com>
21075 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21077 * manual/stdio.texi (Obstack Streams): Node removed.
21079 2011-10-26 Andreas Schwab <schwab@redhat.com>
21081 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21082 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21083 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21085 * math/math_private.h (math_force_eval): Allow non-addressable
21087 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21089 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21091 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21092 file is not needed.
21094 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21095 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21096 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21097 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21098 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21099 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21100 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21101 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21103 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21104 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21105 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21106 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21107 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21108 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21109 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21110 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21111 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21112 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21113 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21114 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21115 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21116 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21117 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21118 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21119 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21120 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21121 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21123 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21124 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21126 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21127 place. Use VEX encoding when compiling for AVX.
21129 2011-10-25 Andreas Schwab <schwab@redhat.com>
21131 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21132 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21134 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21136 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21138 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21139 useless if() expression.
21140 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21141 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21142 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21143 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21144 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21145 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21146 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21147 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21148 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21149 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21150 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21151 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21152 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21153 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21154 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21155 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21156 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21157 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21158 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21160 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21162 2011-10-25 Andreas Schwab <schwab@redhat.com>
21164 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21166 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21168 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21170 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21171 .text section. Avoid duplicate constants.
21172 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21173 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21174 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21175 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21176 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21177 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21178 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21179 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21180 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21181 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21182 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21183 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21184 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21185 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21186 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21187 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21188 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21189 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21190 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21191 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21192 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21193 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21194 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21195 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21196 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21197 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21198 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21199 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21200 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21201 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21202 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21203 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21204 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21205 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21206 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21207 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21208 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21209 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21210 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21211 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21212 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21213 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21214 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21215 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21216 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21218 2011-10-24 Ulrich Drepper <drepper@gmail.com>
21220 * sysdeps/x86_64/dla.h: Move to ...
21221 * sysdeps/x86_64/fpu/dla.h: ...here.
21222 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21223 situations. Use __builtin_fma only for gcc 4.6 and up.
21225 * config.make.in: Add have-mfma4 entry.
21226 * configure.in: Substitute libc_cv_cc_fma4.
21227 * math/Makefile (dbl-only-routines): Add sincostab.
21228 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21229 Use __sincostab not sincos.
21230 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21232 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21233 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21234 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21235 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21237 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21238 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21239 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21240 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21242 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21243 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21245 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21246 define aliases when function name is a macro.
21247 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21248 sysdeps/ieee754/dbl-64/sincos.tbl.
21249 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21250 fma4-enabled routines.
21251 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21252 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21253 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21254 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21255 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21256 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21257 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21258 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21259 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21260 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21261 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21262 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21263 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21264 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21265 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21266 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21267 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21268 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21269 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21270 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21271 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21272 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21273 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21274 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21275 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21276 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21277 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21278 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21279 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21280 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21282 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21284 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21285 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21286 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21287 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21288 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21289 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21290 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21291 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21293 2011-10-24 Andreas Schwab <schwab@redhat.com>
21295 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21297 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21299 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21301 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21303 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21305 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21306 Remove unused variable magic_bits.
21307 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21309 * string/strnlen.c: Define and use STRNLEN macro.
21310 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21311 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21312 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21313 * wcsmbs/wcslen.c: Define and use WCSLEN.
21314 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21315 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21316 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21317 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21318 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21319 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21320 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21322 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21325 strnlen-sse2-no-bsf.
21326 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21327 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21328 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21329 Add strnlen support.
21330 (USE_AS_STRNLEN): New macro.
21331 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21332 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21333 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21334 * sysdeps/x86_64/wcslen.S: New file.
21336 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21338 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21339 XMM-moves are used for copying on small sizes.
21341 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21343 * wcsmbs/Makefile (strop-tests): Add wcschr.
21344 * wcsmbs/test-wcschr.c: New file.
21345 * string/test-strchr.c: Update.
21346 Add wcschr support.
21349 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21351 * wcsmbs/Makefile (strop-tests): Add wcslen.
21352 * wcsmbs/test-wcslen.c: New file.
21353 * string/test-strlen.c: Update.
21354 Add wcslen support.
21357 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21359 * po/it.po: Update from translation team.
21361 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21363 * sysdeps/x86_64/wcscmp.S: Update.
21364 Fix wrong comparison semantics.
21365 wcscmp shall use signed comparison not unsigned.
21366 Don't use substraction to avoid overflow bug.
21367 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21368 * wcsmbc/wcscmp.c: Likewise.
21369 * string/test-strcmp.c: Likewise.
21370 Add new tests to check cases with negative values.
21372 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21374 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21375 * sysdeps/x86_64/dla.h: ...here. New file.
21376 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21377 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21379 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21380 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21381 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21383 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21384 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21386 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21388 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21389 __ynl_finite aliases.
21391 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21395 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21397 [DLA_FMA] (EMULV): Use DLA_FMA.
21398 [DLA_FMA] (MUL12): Use EMULV.
21399 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21400 that are not needed.
21401 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21402 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21403 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21404 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21405 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21406 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21407 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21409 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21411 * math/s_nan.c: Undef __nan.
21412 * math/s_nanf.c: Undef __nanf.
21413 * math/s_nanl.c: Undef __nanl.
21414 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21417 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21419 * math/s_catan.c: Add branch predictions.
21420 * math/s_catanf.c: Likewise.
21421 * math/s_catanh.c: Likewise.
21422 * math/s_catanhf.c: Likewise.
21423 * math/s_catanhl.c: Likewise.
21424 * math/s_catanl.c: Likewise.
21425 * math/s_cexp.c: Likewise.
21426 * math/s_cexpf.c: Likewise.
21427 * math/s_cexpl.c: Likewise.
21428 * math/s_clog.c: Likewise.
21429 * math/s_clog10.c: Likewise.
21430 * math/s_clog10f.c: Likewise.
21431 * math/s_clog10l.c: Likewise.
21432 * math/s_clogf.c: Likewise.
21433 * math/s_clogl.c: Likewise.
21434 * math/s_csqrt.c: Likewise.
21435 * math/s_csqrtf.c: Likewise.
21436 * math/s_csqrtl.c: Likewise.
21437 * math/s_ctanf.c: Likewise.
21438 * math/s_ctanh.c: Likewise.
21439 * math/s_ctanhf.c: Likewise.
21440 * math/s_ctanhl.c: Likewise.
21441 * math/s_ctanl.c: Likewise.
21443 * math/math_private.h: Define __nan, __nanf, __nanl.
21444 * math/s_cacosh.c: Include <math_private.h>.
21445 * math/s_cacoshl.c: Likewise.
21446 * math/s_casinh.c: Likewise.
21447 * math/s_casinhf.c: Likewise.
21448 * math/s_casinhl.c: Likewise.
21449 * math/s_ccos.c: Rely entire on ccosh.
21450 * math/s_ccosf.c: Rely entire on ccoshf.
21451 * math/s_ccosl.c: Rely entirely on ccoshl.
21452 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21453 Remove tests for FE_INVALID.
21454 * math/s_ccoshf.c: Likewise.
21455 * math/s_ccoshl.c: Likewise.
21456 * math/s_csin.c: Likewise.
21457 * math/s_csinf.c: Likewise.
21458 * math/s_csinh.c Likewise.
21459 * math/s_csinhf.c: Likewise.
21460 * math/s_csinhl.c: Likewise.
21461 * math/s_csinl.c: Likewise.
21462 * math/s_ctan.c: Likewise.
21463 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21464 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21465 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21467 2011-10-21 Ulrich Drepper <drepper@gmail.com>
21469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21470 compilation problems.
21472 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21475 2011-10-20 Ulrich Drepper <drepper@gmail.com>
21477 * sysdeps/i386/configure.in: Test for -mfma4 option.
21478 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21479 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21480 COMMON_CPUID_INDEX_80000001.
21481 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21482 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21483 use it if FMA3 is not supported.
21484 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21486 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21487 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21489 2011-10-20 Andreas Schwab <schwab@redhat.com>
21492 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21493 it would create a cycle with a link time dependency.
21495 2011-10-19 Ulrich Drepper <drepper@gmail.com>
21497 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21499 * string/Makefile (strop-tests): Add rawmemchr.
21500 * string/test-rawmemchr.c: New file.
21502 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21503 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21504 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21505 when compiling str{,n}casecmp and when AVX is available. Hook up
21506 new optimized code in initializers.
21508 2011-10-19 Andreas Schwab <schwab@redhat.com>
21510 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21511 __feraiseexcept instead of feraiseexcept.
21513 2011-10-18 Ulrich Drepper <drepper@gmail.com>
21515 * math/math_private.h: Define defaults for libc_fetestexcept and
21517 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21518 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21519 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21520 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21521 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21522 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21523 libc_fetestexcept and libc_feupdateenv.
21525 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21526 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21527 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21528 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21529 libc_feholdexcept_setround.
21531 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21532 Add s_nearbyint-c and s_nearbyintf-c.
21533 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21534 nearbyintf inlines.
21535 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21536 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21537 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21538 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21540 * math/math_private.h: Define defaults for libc_fegetround,
21541 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21542 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21543 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21544 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21545 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21546 standard functions.
21547 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21548 Remove comments and hacks for old compiler versions.
21549 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21550 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21551 libc_feholdexceptl.
21553 2011-10-18 Andreas Schwab <schwab@redhat.com>
21555 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21556 (__feraiseexcept_renamed): Add __NTH.
21557 (feraiseexcept): Add __NTH. Rename local variables to fix
21558 namespace violations.
21560 2011-10-17 Ulrich Drepper <drepper@gmail.com>
21562 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21564 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21566 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21567 recently added interfaces.
21568 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21570 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21571 about macro parameter expansion.
21573 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21574 __NO_MATH_INLINES is defined. Cleanups.
21576 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21577 and __floorf is target has SSE4.1.
21578 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21579 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21580 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21581 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21583 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21585 (floorf): Likewise.
21587 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21589 2011-10-17 Andreas Schwab <schwab@redhat.com>
21591 * misc/sys/cdefs.h: Fix last change.
21593 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21596 2011-10-16 Ulrich Drepper <drepper@gmail.com>
21598 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21600 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21601 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21602 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21603 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21604 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21605 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21606 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21607 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21608 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21609 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21610 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21611 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21612 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21613 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21614 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21615 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21616 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21617 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21618 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21619 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21620 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21621 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21623 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21624 ceil, ceilf, floor, floorf.
21626 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21627 Perform IRELATIVE relocations last.
21629 * elf/do-rel.h: Add another parameter nrelative, replacing the
21630 local variable with the same name. Change name of the function
21631 to end in Rel or Rela (uppercase).
21632 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21633 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21634 elf_dynamic_do_##reloc function.
21636 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21638 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21639 is sufficient, at least on modern CPUs.
21641 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21643 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21644 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21646 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21648 * math/bits/math-finite.h: Add entries for exp.
21649 * math/e_expl.c: Add __*_finite alias.
21650 * sysdeps/i386/fpu/e_exp.S: Likewise.
21651 * sysdeps/i386/fpu/e_expf.S: Likewise.
21652 * sysdeps/i386/fpu/e_expl.c: Likewise.
21653 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21654 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21655 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21656 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21657 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21658 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21659 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21661 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21662 is sufficient, at least on modern CPUs.
21664 * ctype/ctype-info.c (__ctype_init): Define.
21665 * include/ctype.h (__ctype_init): Declare.
21666 (__ctype_b_loc): The variable is always initialized.
21667 (__ctype_toupper_loc): Likewise.
21668 (__ctype_tolower_loc): Likewise.
21669 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21670 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21672 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21674 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21676 * configure.in: Also look in $cxxmachine/include for C++ system
21679 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21681 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21682 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21683 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21684 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21685 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21686 (USE_AS_WMEMCMP): New macro.
21688 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21689 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21690 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21691 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21692 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21693 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21694 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21695 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21696 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21697 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21698 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21699 (USE_AS_WMEMCMP): New macro.
21700 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21701 * sysdeps/string/test-memcmp.c: Update.
21702 Fix simple_wmemcmp.
21704 * wcsmbs/wmemcmp.c: Update.
21705 (WMEMCMP): New macro.
21708 2011-10-12 Andreas Jaeger <aj@suse.de>
21711 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21713 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21715 * libio/iofwide.c (do_length): Avoid warning.
21717 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21719 2011-10-14 Ulrich Drepper <drepper@gmail.com>
21721 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21723 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21724 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21725 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21726 * sysdeps/i386/i686/fpu/e_log.S: New file.
21727 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21728 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21730 * ctype/ctype.h: Add support for inlined isXXX functions when
21731 compiling C++ code.
21733 2011-10-14 Andreas Schwab <schwab@redhat.com>
21735 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21737 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21739 2011-10-13 Roland McGrath <roland@hack.frob.com>
21742 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21744 2011-10-13 Andreas Schwab <schwab@redhat.com>
21746 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21747 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21750 * sysdeps/x86_64/memrchr.S: Check for zero size.
21752 * string/stratcliff.c: Add memrchr tests.
21754 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21756 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21757 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21758 rawmemchr-sse2 rawmemchr-sse2-bsf.
21759 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21760 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21761 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21762 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21763 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21764 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21765 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21766 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21767 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21768 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21769 * string/memrchr.c (MEMRCHR): New macro.
21771 2011-10-12 Ulrich Drepper <drepper@gmail.com>
21773 Add integration with gcc's -ffinite-math-only and optimize wrapper
21775 * Versions.def: Define GLIBC_2.15 version for libm.
21776 * math/Makefile (headers): Add bits/math-finite.h.
21777 * math/bits/math-finite.h: New file.
21778 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21779 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21780 * math/e_acoshl.c: Add __*_finite alias.
21781 * math/e_acosl.c: Likewise.
21782 * math/e_asinl.c: Likewise.
21783 * math/e_atan2l.c: Likewise.
21784 * math/e_atanhl.c: Likewise.
21785 * math/e_coshl.c: Likewise.
21786 * math/e_exp10.c: Likewise.
21787 * math/e_exp10f.c: Likewise.
21788 * math/e_exp10l.c: Likewise.
21789 * math/e_exp2l.c: Likewise.
21790 * math/e_fmodl.c: Likewise.
21791 * math/e_gammal_r.c: Likewise.
21792 * math/e_hypotl.c: Likewise.
21793 * math/e_j0l.c: Likewise.
21794 * math/e_j1l.c: Likewise.
21795 * math/e_jnl.c: Likewise.
21796 * math/e_lgammal_r.c: Likewise.
21797 * math/e_log10l.c: Likewise.
21798 * math/e_log2l.c: Likewise.
21799 * math/e_logl.c: Likewise.
21800 * math/e_powl.c: Likewise.
21801 * math/e_sinhl.c: Likewise.
21802 * math/e_sqrtl.c: Likewise.
21803 * math/e_scalb.c: Completely rewritten and optimized.
21804 * math/e_scalbf.c: Likewise.
21805 * math/e_scalbl.c: Likewise.
21806 * math/w_acos.c: Likewise.
21807 * math/w_acosf.c: Likewise.
21808 * math/w_acosl.c: Likewise.
21809 * math/w_acosh.c: Likewise.
21810 * math/w_acoshf.c: Likewise.
21811 * math/w_acoshl.c: Likewise.
21812 * math/w_asin.c: Likewise.
21813 * math/w_asinf.c: Likewise.
21814 * math/w_asinl.c: Likewise.
21815 * math/w_atan2.c: Likewise.
21816 * math/w_atan2f.c: Likewise.
21817 * math/w_atan2l.c: Likewise.
21818 * math/w_atanh.c: Likewise.
21819 * math/w_atanhf.c: Likewise.
21820 * math/w_atanhl.c: Likewise.
21821 * math/w_exp10.c: Likewise.
21822 * math/w_exp10f.c: Likewise.
21823 * math/w_exp10l.c: Likewise.
21824 * math/w_fmod.c: Likewise.
21825 * math/w_fmodf.c: Likewise.
21826 * math/w_fmodl.c: Likewise.
21827 * math/w_j0.c: Likewise.
21828 * math/w_j0f.c: Likewise.
21829 * math/w_j0l.c: Likewise.
21830 * math/w_j1.c: Likewise.
21831 * math/w_j1f.c: Likewise.
21832 * math/w_j1l.c: Likewise.
21833 * math/w_jn.c: Likewise.
21834 * math/w_jnf.c: Likewise.
21835 * math/w_log.c: Likewise.
21836 * math/w_logf.c: Likewise.
21837 * math/w_logl.c: Likewise.
21838 * math/w_log10.c: Likewise.
21839 * math/w_log10f.c: Likewise.
21840 * math/w_log10l.c: Likewise.
21841 * math/w_log2.c: Likewise.
21842 * math/w_log2f.c: Likewise.
21843 * math/w_log2l.c: Likewise.
21844 * math/w_pow.c: Likewise.
21845 * math/w_powf.c: Likewise.
21846 * math/w_powl.c: Likewise.
21847 * math/w_remainder.c: Likewise.
21848 * math/w_remainderf.c: Likewise.
21849 * math/w_remainderl.c: Likewise.
21850 * math/w_scalb.c: Likewise.
21851 * math/w_scalbf.c: Likewise.
21852 * math/w_scalbl.c: Likewise.
21853 * math/w_sqrt.c: Likewise.
21854 * math/w_sqrtf.c: Likewise.
21855 * math/w_sqrtl.c: Likewise.
21856 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21857 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21859 * math/math_private.h: Declare __kernel_standard_f.
21860 * math/w_cosh.c: Remove cruft and optimize a bit.
21861 * math/w_coshf.c: Likewise.
21862 * math/w_coshl.c: Likewise.
21863 * math/w_exp2.c: Likewise.
21864 * math/w_exp2f.c: Likewise.
21865 * math/w_exp2l.c: Likewise.
21866 * math/w_hypot.c: Likewise.
21867 * math/w_hypotf.c: Likewise.
21868 * math/w_hypotl.c: Likewise.
21869 * math/w_lgamma.c: Likewise.
21870 * math/w_lgamma_r.c: Likewise.
21871 * math/w_lgammaf.c: Likewise.
21872 * math/w_lgammaf_r.c: Likewise.
21873 * math/w_lgammal.c: Likewise.
21874 * math/w_lgammal_r.c: Likewise.
21875 * math/w_sinh.c: Likewise.
21876 * math/w_sinhf.c: Likewise.
21877 * math/w_sinhl.c: Likewise.
21878 * math/w_tgamma.c: Likewise.
21879 * math/w_tgammaf.c: Likewise.
21880 * math/w_tgammal.c: Likewise.
21881 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21882 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21883 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21884 Minor optimizations. Pretty printing. Remove cruft.
21885 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21886 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21887 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21888 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21889 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21890 * sysdeps/i386/fpu/e_asin.S: Likewise.
21891 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21892 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21893 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21894 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21895 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21896 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21897 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21898 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21899 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21900 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21901 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21902 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21903 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21904 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21905 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21906 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21907 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21908 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21909 * sysdeps/i386/fpu/e_log.S: Likewise.
21910 * sysdeps/i386/fpu/e_log10.S: Likewise.
21911 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21912 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21913 * sysdeps/i386/fpu/e_log2.S: Likewise.
21914 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21915 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21916 * sysdeps/i386/fpu/e_logf.S: Likewise.
21917 * sysdeps/i386/fpu/e_logl.S: Likewise.
21918 * sysdeps/i386/fpu/e_pow.S: Likewise.
21919 * sysdeps/i386/fpu/e_powf.S: Likewise.
21920 * sysdeps/i386/fpu/e_powl.S: Likewise.
21921 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21922 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21923 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21924 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21925 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21926 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21927 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21928 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21929 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21930 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21931 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21932 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21933 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21934 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21935 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21936 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21937 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21938 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21939 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21940 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21941 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21942 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21943 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21944 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21945 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21946 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21947 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21948 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21949 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21950 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21951 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21952 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21953 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21954 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21955 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21956 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21957 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21958 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21959 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21960 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21961 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21962 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21963 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21964 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21965 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21966 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21967 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21968 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21969 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21970 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21971 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21972 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21973 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21974 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21975 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21976 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21977 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21978 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21979 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21980 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21981 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21982 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21983 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21984 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21985 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21986 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21987 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21988 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21989 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21990 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21991 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21992 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21993 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21994 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21995 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21996 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21997 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21998 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21999 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22000 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22001 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22002 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22003 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22004 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22005 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22006 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22007 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22008 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22009 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22010 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22011 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22012 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22013 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22014 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22015 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22016 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22017 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22018 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22019 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22020 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22021 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22022 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22023 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22024 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22025 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22026 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22027 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22028 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22029 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22030 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22031 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22032 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22033 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22034 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22035 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22036 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22037 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22038 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22039 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22040 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22041 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22042 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22043 (__isnanf): Likewise.
22044 (__isinf_ns): Likewise.
22045 (__isinf_nsf): Likewise.
22046 (__finite): Likewise.
22047 (__finitef): Likewise.
22048 (__ieee754_sqrt): Define as macro.
22049 (__ieee754_sqrtf): Define as macro.
22050 (__ieee754_sqrtl): Define as macro.
22051 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22053 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22054 __FINITE_MATH_ONLY__ consistent.
22055 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22057 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22059 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22062 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22064 2011-10-09 Ulrich Drepper <drepper@gmail.com>
22066 * po/ja.po: Update from translation team.
22068 2011-10-08 Roland McGrath <roland@hack.frob.com>
22070 * locale/programs/locarchive.c (prepare_address_space): New function.
22071 (create_archive, enlarge_archive, open_archive): Use it.
22073 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22074 inside [SHARED], where it is used.
22076 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22078 * nss/getent.c (netgroup_keys): Remove unused variable.
22079 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22081 2011-10-08 Ulrich Drepper <drepper@gmail.com>
22083 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22084 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22085 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22086 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22087 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22088 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22089 * math/Makefile (libm-calls): Add s_isinf_ns.
22090 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22091 * math/multc3.c: Likewise.
22092 * math/s_casin.c: Likewise.
22093 * math/s_casinf.c: Likewise.
22094 * math/s_casinl.c: Likewise.
22095 * math/s_ccos.c: Likewise.
22096 * math/s_ccosf.c: Likewise.
22097 * math/s_ccosl.c: Likewise.
22098 * math/s_ctan.c: Likewise.
22099 * math/s_ctanf.c: Likewise.
22100 * math/s_ctanh.c: Likewise.
22101 * math/s_ctanhf.c: Likewise.
22102 * math/s_ctanhl.c: Likewise.
22103 * math/s_ctanl.c: Likewise.
22104 * math/w_fmod.c: Likewise.
22105 * math/w_fmodf.c: Likewise.
22106 * math/w_fmodl.c: Likewise.
22107 * math/w_remainder.c: Likewise.
22108 * math/w_remainderf.c: Likewise.
22109 * math/w_remainderl.c: Likewise.
22110 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22111 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22112 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22113 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22114 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22115 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22116 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22117 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22119 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22121 * stdio-common/printf_fphex.c: Likewise.
22122 * stdio-common/printf_size.c: Likewise.
22124 * math/e_exp10.c: Include math_private.h using <...> not "...".
22125 * math/e_exp10f.c: Likewise.
22126 * math/e_exp10l.c: Likewise.
22127 * math/e_exp2l.c: Likewise.
22128 * math/e_j0l.c: Likewise.
22129 * math/e_j1l.c: Likewise.
22130 * math/e_jnl.c: Likewise.
22131 * math/e_lgammal_r.c: Likewise.
22132 * math/e_rem_pio2l.c: Likewise.
22133 * math/e_scalb.c: Likewise.
22134 * math/e_scalbf.c: Likewise.
22135 * math/e_scalbl.c: Likewise.
22136 * math/k_cosl.c: Likewise.
22137 * math/k_sinl.c: Likewise.
22138 * math/k_tanl.c: Likewise.
22139 * math/s_cacoshf.c: Likewise.
22140 * math/s_catan.c: Likewise.
22141 * math/s_catanf.c: Likewise.
22142 * math/s_catanh.c: Likewise.
22143 * math/s_catanhf.c: Likewise.
22144 * math/s_catanhl.c: Likewise.
22145 * math/s_catanl.c: Likewise.
22146 * math/s_ccosh.c: Likewise.
22147 * math/s_ccoshf.c: Likewise.
22148 * math/s_ccoshl.c: Likewise.
22149 * math/s_cexp.c: Likewise.
22150 * math/s_cexpf.c: Likewise.
22151 * math/s_cexpl.c: Likewise.
22152 * math/s_clog.c: Likewise.
22153 * math/s_clog10.c: Likewise.
22154 * math/s_clog10f.c: Likewise.
22155 * math/s_clog10l.c: Likewise.
22156 * math/s_clogf.c: Likewise.
22157 * math/s_clogl.c: Likewise.
22158 * math/s_csin.c: Likewise.
22159 * math/s_csinf.c: Likewise.
22160 * math/s_csinh.c: Likewise.
22161 * math/s_csinhf.c: Likewise.
22162 * math/s_csinhl.c: Likewise.
22163 * math/s_csinl.c: Likewise.
22164 * math/s_csqrt.c: Likewise.
22165 * math/s_csqrtf.c: Likewise.
22166 * math/s_csqrtl.c: Likewise.
22167 * math/s_ctan.c: Likewise.
22168 * math/s_ctanf.c: Likewise.
22169 * math/s_ctanh.c: Likewise.
22170 * math/s_ctanhf.c: Likewise.
22171 * math/s_ctanhl.c: Likewise.
22172 * math/s_ctanl.c: Likewise.
22173 * math/s_ldexp.c: Likewise.
22174 * math/s_ldexpf.c: Likewise.
22175 * math/s_ldexpl.c: Likewise.
22176 * math/s_significand.c: Likewise.
22177 * math/s_significandf.c: Likewise.
22178 * math/s_significandl.c: Likewise.
22179 * math/w_acos.c: Likewise.
22180 * math/w_acosf.c: Likewise.
22181 * math/w_acosh.c: Likewise.
22182 * math/w_acoshf.c: Likewise.
22183 * math/w_acoshl.c: Likewise.
22184 * math/w_acosl.c: Likewise.
22185 * math/w_asin.c: Likewise.
22186 * math/w_asinf.c: Likewise.
22187 * math/w_asinl.c: Likewise.
22188 * math/w_atan2.c: Likewise.
22189 * math/w_atan2f.c: Likewise.
22190 * math/w_atan2l.c: Likewise.
22191 * math/w_atanh.c: Likewise.
22192 * math/w_atanhf.c: Likewise.
22193 * math/w_atanhl.c: Likewise.
22194 * math/w_cosh.c: Likewise.
22195 * math/w_coshf.c: Likewise.
22196 * math/w_coshl.c: Likewise.
22197 * math/w_dremf.c: Likewise.
22198 * math/w_exp10.c: Likewise.
22199 * math/w_exp10f.c: Likewise.
22200 * math/w_exp10l.c: Likewise.
22201 * math/w_exp2.c: Likewise.
22202 * math/w_exp2f.c: Likewise.
22203 * math/w_fmod.c: Likewise.
22204 * math/w_fmodf.c: Likewise.
22205 * math/w_fmodl.c: Likewise.
22206 * math/w_hypot.c: Likewise.
22207 * math/w_hypotf.c: Likewise.
22208 * math/w_hypotl.c: Likewise.
22209 * math/w_j0.c: Likewise.
22210 * math/w_j0f.c: Likewise.
22211 * math/w_j0l.c: Likewise.
22212 * math/w_j1.c: Likewise.
22213 * math/w_j1f.c: Likewise.
22214 * math/w_j1l.c: Likewise.
22215 * math/w_jn.c: Likewise.
22216 * math/w_jnf.c: Likewise.
22217 * math/w_jnl.c: Likewise.
22218 * math/w_lgamma.c: Likewise.
22219 * math/w_lgamma_r.c: Likewise.
22220 * math/w_lgammaf.c: Likewise.
22221 * math/w_lgammaf_r.c: Likewise.
22222 * math/w_lgammal.c: Likewise.
22223 * math/w_lgammal_r.c: Likewise.
22224 * math/w_log.c: Likewise.
22225 * math/w_log10.c: Likewise.
22226 * math/w_log10f.c: Likewise.
22227 * math/w_log10l.c: Likewise.
22228 * math/w_log2.c: Likewise.
22229 * math/w_log2f.c: Likewise.
22230 * math/w_log2l.c: Likewise.
22231 * math/w_logf.c: Likewise.
22232 * math/w_logl.c: Likewise.
22233 * math/w_pow.c: Likewise.
22234 * math/w_powf.c: Likewise.
22235 * math/w_powl.c: Likewise.
22236 * math/w_remainder.c: Likewise.
22237 * math/w_remainderf.c: Likewise.
22238 * math/w_remainderl.c: Likewise.
22239 * math/w_scalb.c: Likewise.
22240 * math/w_scalbf.c: Likewise.
22241 * math/w_scalbl.c: Likewise.
22242 * math/w_sinh.c: Likewise.
22243 * math/w_sinhf.c: Likewise.
22244 * math/w_sinhl.c: Likewise.
22245 * math/w_sqrt.c: Likewise.
22246 * math/w_sqrtf.c: Likewise.
22247 * math/w_sqrtl.c: Likewise.
22248 * math/w_tgamma.c: Likewise.
22249 * math/w_tgammaf.c: Likewise.
22250 * math/w_tgammal.c: Likewise.
22252 * po/ja.po: Update from translation team.
22254 2011-09-29 Andreas Jaeger <aj@suse.de>
22257 * sunrpc/netname.c (netname2host): Fix logic.
22261 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22263 * math/w_remainder.c (__remainder): Likewise.
22264 * math/w_remainderf.c (__remainderf): Likewise.
22265 * math/libm-test.inc (remainder_test): Add test cases.
22267 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22269 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22272 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22274 * string/test-memcmp.c: Avoid unncessary #defines.
22275 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22277 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22279 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22280 Use new sse2 version for core i3 - i7 as it's faster
22281 than sse42 version.
22282 (bit_Prefer_PMINUB_for_stringop): New.
22283 * sysdeps/x86_64/rawmemchr.S: Update.
22284 Replace with faster SSE2 version.
22285 * sysdeps/x86_64/memrchr.S: New file.
22286 * sysdeps/x86_64/memchr.S: Update.
22287 Replace with faster SSE2 version.
22289 2011-09-12 Marek Polacek <mpolacek@redhat.com>
22291 * elf/dl-load.c (lose): Add cast to avoid warning.
22293 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22295 * po/ca.po: Update from translation team.
22297 * inet/getnetgrent_r.c: Hook up nscd.
22298 * nscd/Makefile (routines): Add nscd_netgroup.
22299 (nscd-modules): Add netgroupcache.
22300 (CFLAGS-netgroupcache.c): Define.
22301 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22302 (cache_search): Add const to second parameter.
22303 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22305 (dbs): Add netgrdb entry.
22306 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22307 (verify_persistent_db): Handle netgrdb.
22308 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22309 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22311 (netgroup_response_header): Define.
22312 (innetgroup_response_header): Define.
22313 (datahead): Add netgroup_response_header and innetgroup_response_header
22315 * nscd/nscd.conf: Add entries for netgroup cache.
22316 * nscd/nscd.h (dbtype): Add netgrdb.
22317 (_PATH_NSCD_NETGROUP_DB): Define.
22318 (netgroup_iov_disabled): Declare.
22319 (xmalloc, xcalloc, xrealloc): Move declarations here.
22320 (cache_search): Adjust prototype.
22321 Add netgroup-related prototypes.
22322 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22323 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22324 (__nscd_innetgr): Declare.
22325 * nscd/selinux.c (perms): Use access_vector_t as element type and
22326 add netgroup-related initializers.
22327 * nscd/netgroupcache.c: New file.
22328 * nscd/nscd_netgroup.c: New file.
22329 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22330 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22331 For four parameters use innetgr.
22332 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22333 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22334 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22335 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22337 * nscd/connections.c (register_traced_file): Don't register file
22338 for disabled databases.
22340 2011-10-06 Ulrich Drepper <drepper@gmail.com>
22342 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22344 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22345 from tree and freeing node.
22347 2011-09-25 Jiri Olsa <jolsa@redhat.com>
22349 * nss/nsswitch.c (__nss_database_lookup): Handle
22350 nss_parse_service_list out of memory case.
22352 2011-09-15 Jiri Olsa <jolsa@redhat.com>
22354 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22355 out of memory case.
22357 2011-10-04 Andreas Schwab <schwab@redhat.com>
22359 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22360 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22362 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22363 elf_machine_rela, elf_machine_lazy_rel.
22364 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22365 (ELF_DYNAMIC_DO_REL): Likewise.
22366 (ELF_DYNAMIC_DO_RELA): Likewise.
22367 (ELF_DYNAMIC_RELOCATE): Likewise.
22368 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22369 to ELF_DYNAMIC_DO_REL.
22370 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22371 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22372 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22374 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22375 skip_ifunc, don't call ifunc function if non-zero.
22376 (elf_machine_rela): Likewise.
22377 (elf_machine_lazy_rel): Likewise.
22378 (elf_machine_lazy_rela): Likewise.
22379 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22380 (elf_machine_lazy_rel): Likewise.
22381 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22383 (elf_machine_lazy_rel): Likewise.
22384 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22386 (elf_machine_lazy_rel): Likewise.
22387 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22388 (elf_machine_lazy_rel): Likewise.
22389 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22390 (elf_machine_lazy_rel): Likewise.
22391 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22392 (elf_machine_lazy_rel): Likewise.
22393 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22394 (elf_machine_lazy_rel): Likewise.
22395 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22396 (elf_machine_lazy_rel): Likewise.
22397 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22398 (elf_machine_lazy_rel): Likewise.
22400 2011-09-28 Ulrich Drepper <drepper@gmail.com>
22402 * nss/nss_files/files-init.c (_nss_files_init): Use static
22403 initialization for all the *_traced_file variables.
22405 2011-09-28 Andreas Schwab <schwab@redhat.com>
22407 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22409 2011-09-27 Roland McGrath <roland@hack.frob.com>
22412 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22414 2011-09-27 Andreas Schwab <schwab@redhat.com>
22416 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22417 Reread the line before reparsing it.
22419 2011-09-26 Andreas Schwab <schwab@redhat.com>
22421 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22423 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22424 Maxim Kuvyrkov <maxim@codesourcery.com>
22425 Joseph Myers <joseph@codesourcery.com>
22427 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22428 if needed for __stack_chk_guard.
22430 2011-09-19 Roland McGrath <roland@hack.frob.com>
22432 * sysdeps/posix/spawni.c (script_execute): Always define it.
22433 It will be optimized away if unused.
22434 (maybe_script_execute): New function.
22435 (__spawni): Call it.
22437 * Makerules: Don't include tls.make.
22438 (config-tls): Always set to thread.
22439 * tls.make.c: File removed.
22441 2011-09-19 Mike Frysinger <vapier@gentoo.org>
22443 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22444 * config.make.in (CPPFLAGS-config): New substituted variable.
22446 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22448 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22451 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22452 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22454 2011-09-15 Roland McGrath <roland@hack.frob.com>
22456 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22457 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22458 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22459 (CALL_FAIL): Likewise.
22460 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22461 (CALL_FAIL): Macro removed.
22462 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22464 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22466 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22467 for __FINITE_MATH_ONLY__ == 1.
22469 2011-09-15 Andreas Schwab <schwab@redhat.com>
22471 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22472 __ieee754_sqrt instead of sqrt.
22473 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22474 __ieee754_sqrtf instead of sqrtf.
22475 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22476 __floorf instead of floorf.
22477 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22478 __floorf, __truncf instead of floorf, truncf.
22480 2011-09-14 Ulrich Drepper <drepper@gmail.com>
22482 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22484 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22485 __extern_always_inline.
22486 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22489 2011-09-14 Andreas Schwab <schwab@redhat.com>
22491 * elf/rtld.c (dl_main): Also relocate in dependency order when
22492 doing symbol dependency testing.
22494 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22496 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22497 Always define `refsym'.
22499 2011-09-13 Andreas Schwab <schwab@redhat.com>
22501 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22502 (__FD_ELT): Renamed from __FDELT.
22503 * misc/bits/select2.h (__FD_ELT): Likewise.
22504 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22505 __FD_MASK instead of __FDELT, __FDMASK.
22506 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22508 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22511 * elf/Makefile (gen-ldd): Fix pattern.
22513 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22514 (init_tls): Likewise.
22516 2011-09-12 Ulrich Drepper <drepper@gmail.com>
22518 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22520 2011-09-12 Andreas Schwab <schwab@redhat.com>
22522 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22523 `struct cmsghdr *' instead of `void *'.
22524 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22527 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22529 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22531 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22532 ldd_rewrite_script.
22534 2011-09-11 Ulrich Drepper <drepper@gmail.com>
22536 * configure.in: Remove --with-tls option.
22537 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22538 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22539 out in case it is missing.
22540 * sysdeps/ia64/elf/configure.in: Likewise.
22541 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22542 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22543 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22544 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22545 * sysdeps/sh/elf/configure.in: Likewise.
22546 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22547 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22548 * sysdeps/x86_64/elf/configure.in: Likewise.
22549 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22550 * sysdeps/mach/hurd/tls.h: Likewise.
22553 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22556 * configure.in: Fix use of AC_INIT.
22558 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22560 2011-09-10 Ulrich Drepper <drepper@gmail.com>
22562 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22564 * malloc/hooks.c: Likewise.
22567 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22568 variables statically.
22569 (narenas): Initialize.
22570 (list_lock): Initialize.
22571 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22572 initializtion of main_arena and list_lock. Small cleanups.
22573 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22574 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22575 Add initializers to main_arena and mp_.
22576 (malloc_state): Remove pagesize member. Change all users to use
22579 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22580 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22581 is always initialized.
22583 * malloc/malloc.c: Removed unused configurations and dead code.
22584 * malloc/arena.c: Likewise.
22585 * malloc/hooks.c: Likewise.
22586 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22588 * include/tls.h: Removed. USE___THREAD must always be defined.
22589 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22590 * elf/dl-libc.c: Likewise.
22591 * elf/dl-tsd.c: Likewise.
22592 * include/errno.h: Likewise.
22593 * include/netdb.h: Likewise.
22594 * include/resolv.h: Likewise.
22595 * inet/herrno-loc.c: Likewise.
22596 * inet/herrno.c: Likewise.
22597 * malloc/arena.c: Likewise.
22598 * malloc/hooks.c: Likewise.
22599 * malloc/malloc.c: Likewise.
22600 * resolv/res-state.c: Likewise.
22601 * resolv/res_libc.c: Likewise.
22602 * sysdeps/i386/dl-machine.h: Likewise.
22603 * sysdeps/ia64/dl-machine.h: Likewise.
22604 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22605 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22606 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22607 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22608 * sysdeps/sh/dl-machine.h: Likewise.
22609 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22610 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22611 * sysdeps/unix/i386/sysdep.S: Likewise.
22612 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22613 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22614 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22615 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22616 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22617 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22618 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22619 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22620 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22621 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22622 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22623 * sysdeps/x86_64/dl-machine.h: Likewise.
22624 * tls.make.c: Likewise.
22626 * configure.in: Remove --with-__thread option. Make tests for
22627 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22628 tls_model attribute fail if no support is available. Remove
22630 * Makeconfig: Adjust for dropped configure option. All features are
22632 * Makerules: Likewise.
22633 * Versions.def: Likewise.
22634 * argp/argp-fmtstream.c: Likewise.
22635 * argp/argp-fmtstream.h: Likewise.
22636 * argp/argp-help.c: Likewise.
22637 * assert/assert.c: Likewise.
22638 * config.h.in: Likewise.
22639 * config.make.in: Likewise.
22640 * configure: Likewise.
22641 * configure.in: Likewise.
22642 * csu/Versions: Likewise.
22643 * csu/init.c: Likewise.
22644 * elf/tst-audit2.c: Likewise.
22645 * elf/tst-tls10.c: Likewise.
22646 * elf/tst-tls10.h: Likewise.
22647 * elf/tst-tls11.c: Likewise.
22648 * elf/tst-tls12.c: Likewise.
22649 * elf/tst-tls14.c: Likewise.
22650 * elf/tst-tlsmod11.c: Likewise.
22651 * elf/tst-tlsmod12.c: Likewise.
22652 * elf/tst-tlsmod13.c: Likewise.
22653 * elf/tst-tlsmod13a.c: Likewise.
22654 * elf/tst-tlsmod14a.c: Likewise.
22655 * elf/tst-tlsmod15b.c: Likewise.
22656 * elf/tst-tlsmod16a.c: Likewise.
22657 * elf/tst-tlsmod16b.c: Likewise.
22658 * elf/tst-tlsmod7.c: Likewise.
22659 * elf/tst-tlsmod8.c: Likewise.
22660 * elf/tst-tlsmod9.c: Likewise.
22661 * gmon/gmon.c: Likewise.
22662 * grp/fgetgrent_r.c: Likewise.
22663 * grp/putgrent.c: Likewise.
22664 * hurd/fopenport.c: Likewise.
22665 * include/libc-symbols.h: Likewise.
22666 * include/tls.h: Likewise.
22667 * intl/gettextP.h: Likewise.
22668 * intl/loadinfo.h: Likewise.
22669 * locale/global-locale.c: Likewise.
22670 * locale/localeinfo.h: Likewise.
22671 * mach/devstream.c: Likewise.
22672 * malloc/arena.c: Likewise.
22673 * malloc/set-freeres.c: Likewise.
22674 * misc/err.c: Likewise.
22675 * misc/getttyent.c: Likewise.
22676 * misc/mntent_r.c: Likewise.
22677 * posix/getopt.c: Likewise.
22678 * posix/wordexp.c: Likewise.
22679 * pwd/fgetpwent_r.c: Likewise.
22680 * resolv/Versions: Likewise.
22681 * resolv/res_hconf.c: Likewise.
22682 * shadow/fgetspent_r.c: Likewise.
22683 * shadow/putspent.c: Likewise.
22684 * stdio-common/printf_fphex.c: Likewise.
22685 * stdio-common/tmpfile.c: Likewise.
22686 * stdlib/abort.c: Likewise.
22687 * stdlib/fmtmsg.c: Likewise.
22688 * sunrpc/auth_unix.c: Likewise.
22689 * sunrpc/clnt_perr.c: Likewise.
22690 * sunrpc/clnt_tcp.c: Likewise.
22691 * sunrpc/clnt_udp.c: Likewise.
22692 * sunrpc/clnt_unix.c: Likewise.
22693 * sunrpc/openchild.c: Likewise.
22694 * sunrpc/svc_simple.c: Likewise.
22695 * sunrpc/svc_tcp.c: Likewise.
22696 * sunrpc/svc_udp.c: Likewise.
22697 * sunrpc/svc_unix.c: Likewise.
22698 * sunrpc/xdr.c: Likewise.
22699 * sunrpc/xdr_array.c: Likewise.
22700 * sunrpc/xdr_rec.c: Likewise.
22701 * sunrpc/xdr_ref.c: Likewise.
22702 * sunrpc/xdr_stdio.c: Likewise.
22704 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22706 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22708 2011-07-03 Andreas Jaeger <aj@suse.de>
22710 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22711 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22712 regenerate with gen-libm-tests.pl.
22714 2010-05-12 Petr Baudis <pasky@suse.cz>
22717 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22718 around j0() zero points by switching to j1().
22719 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22720 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22721 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22722 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22724 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22726 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22728 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22730 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22731 Patch in part by Pavel Roskin <proski@gnu.org>.
22734 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22736 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22737 Free memory block if necessary.
22740 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22741 be NULL. Don't lock in this case.
22743 2011-09-09 Roland McGrath <roland@hack.frob.com>
22745 * elf/elf.h (ELFOSABI_GNU): New macro.
22746 (ELFOSABI_LINUX): Define to that.
22748 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22750 * string/strncat.c (strncat): Undef the symbol in case it has been
22751 defined in bits/string.h.
22753 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22755 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22757 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22760 2011-08-17 Andreas Jaeger <aj@suse.de>
22762 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22764 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22765 Ian Lance Taylor <iant@google.com>
22767 * math/libm-test.inc (lround_test): New testcase.
22768 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22770 2011-09-08 Ulrich Drepper <drepper@gmail.com>
22772 * Makefile: Remove support for automatic cvs check-ins.
22773 * Makerules: Likewise.
22774 * config.make.in: Likewise.
22775 * configure.in: Likewise.
22776 * intl/Makefile: Likewise.
22777 * locale/Makefile: Likewise.
22778 * po/Makefile: Likewise.
22779 * posix/Makefile: Likewise.
22780 * sysdeps/gnu/Makefile: Likewise.
22781 * sysdeps/mach/hurd/Makefile: Likewise.
22782 * sysdeps/sparc/sparc32/Makefile: Likewise.
22785 * posix/Makefile (bug-regex32-ENV): Define.
22786 Patch by John Stanley <jpsinthemix@verizon.net>.
22788 * misc/Makefile (headers): Add bits/select2.h.
22789 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22790 * misc/bits/select2.h: New file.
22791 * include/bits/select2.h: New file.
22792 * debug/Makefile (routines): Add fdelt_chk.
22793 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22794 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22796 * debug/fdelt_chk.c: New file.
22798 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22799 * wcsmbs/test-wmemcmp.c: Likewise.
22800 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22801 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22803 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22805 * string/Makefile (strop-tests): Add memcmp.
22806 * string/test-wmemcmp.c: New file.
22807 * string/test-memcmp.c: Add wmemcmp support.
22809 2011-09-08 Roland McGrath <roland@hack.frob.com>
22812 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22815 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22816 garbage value in a __mach_port_mod_refs call in the cases of the
22817 task-self and thread-self ports.
22819 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22821 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22823 2011-09-08 Andreas Schwab <schwab@redhat.com>
22825 * elf/dl-load.c (lose): Check for non-null L.
22827 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22829 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22831 * elf/dl-libc.c (dlerror_run): Pass back error code from
22835 * elf/dl-load.c (lose): Free l_origin if it is valid.
22837 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22839 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22840 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22841 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22842 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22843 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22844 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22846 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22848 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22849 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22850 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22851 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22852 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22853 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22854 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22855 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22856 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22857 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22859 2011-08-15 Alan Modra <amodra@gmail.com>
22862 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22863 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22864 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22865 ppc_mcount to static-only-routines.
22866 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22868 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22869 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22871 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22873 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22874 for finite and infinity parameters.
22876 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22878 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22879 and add nop instructions for throughput optimization.
22880 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22882 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22884 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22885 aligned copy for power7 with vector-scalar instructions.
22886 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22888 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22890 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22893 2011-09-07 Andreas Schwab <schwab@redhat.com>
22896 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22899 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22901 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22902 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22903 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22904 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22907 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22909 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22910 Forgot to demangle the pointer.
22912 * sysdeps/i386/sysdep.h: Define atom_text_section.
22913 * sysdeps/x86_64/sysdep.h: Likewise.
22914 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22915 section with atom_text_section.
22916 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22917 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22918 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22919 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22920 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22922 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22923 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22924 already be defined. Change to take two parameters and don't assign
22925 result to variable. Adjust all users.
22926 Define INTERNAL_GETTIME if not already defined.
22927 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22929 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22930 HAVE_CLOCK_GETTIME_VSYSCALL.
22931 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22933 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22934 gettimeofday vsyscall, just use time.
22936 2011-09-06 Andreas Schwab <schwab@redhat.com>
22938 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22941 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22943 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22945 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22947 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22948 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22949 syscall if possible.
22951 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22953 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22954 e_ident. Don't pass to find_mapsXX.
22955 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22957 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22960 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22961 * sysdeps/x86_64/multiarch/strchr.S: Update.
22962 Check bit_slow_BSF bit.
22963 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22964 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22965 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22967 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22970 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22972 (tryshell): Define.
22973 (__spawni): Change last parameter to be flag. Test
22974 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22975 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22976 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22977 * posix/spawni.c: Likewise.
22978 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22979 * posix/spawnp.c: Likewise. Change normal version to use
22980 SPAWN_XFLAGS_USE_PATH.
22981 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22982 SPAWN_XFLAGS_TRY_SHELL.
22985 * posix/glob.h: Remove gcc 1.x support.
22988 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22990 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22992 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22993 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22995 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22996 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22997 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22998 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22999 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23000 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23002 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23004 * sysdeps/x86_64/wcscmp.S: New file.
23006 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23007 wcscmp-c wcscmp-sse2
23008 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23009 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23010 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23011 * wcsmbs/wcscmp.c: Allow renaming.
23013 2011-09-05 David S. Miller <davem@davemloft.net>
23015 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23016 stack slot, rather than the struct return pointer slot.
23017 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23018 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23020 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23022 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23024 * po/ja.po: Update from translation team.
23027 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23028 kernel in 64-bit binaries.
23030 2011-09-01 David S. Miller <davem@davemloft.net>
23032 * elf/elf.h (HWCAP_SPARC_*): Move to..
23033 * sysdeps/sparc/sysdep.h: this new file and add new values.
23034 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23035 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23036 _DL_HWCAP_COUNT to 24.
23037 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23039 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23040 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23041 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23042 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23043 instead of magic constants.
23044 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23046 2011-08-31 David S. Miller <davem@davemloft.net>
23048 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23049 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23050 Reimplement to do errno handling inline.
23051 (SYSCALL_ERROR_HANDLER): New macro.
23052 (__SYSCALL_STRING): Do not do errno handling in asm.
23053 (__CLONE_SYSCALL_STRING): Delete.
23054 (__INTERNAL_SYSCALL_STRING): Delete.
23055 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23056 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23057 (PSEUDO): Reimplement to do errno handling inline.
23058 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23059 (SYSCALL_ERROR_HANDLER): New macro.
23060 (__SYSCALL_STRING): Do not do errno handling in asm.
23061 (__CLONE_SYSCALL_STRING): Delete.
23062 (__INTERNAL_SYSCALL_STRING): Delete.
23063 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23064 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23066 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23067 (inline_syscall*): Add 'err' argument.
23068 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23069 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23070 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23071 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23073 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23074 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23076 2011-08-30 Andreas Schwab <schwab@redhat.com>
23078 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23080 2011-08-29 Jiri Olsa <jolsa@redhat.com>
23082 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23085 2011-08-24 David S. Miller <davem@davemloft.net>
23087 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23089 2011-08-24 Andreas Schwab <schwab@redhat.com>
23091 * elf/Makefile: Add rules to build and run unload8 test.
23092 * elf/unload8.c: New file.
23093 * elf/unload8mod1.c: New file.
23094 * elf/unload8mod1x.c: New file.
23095 * elf/unload8mod2.c: New file.
23096 * elf/unload8mod3.c: New file.
23098 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23101 2011-08-23 David S. Miller <davem@davemloft.net>
23103 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23104 subtract stack bias.
23105 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23106 %sp not %fp in calculations.
23107 (_JMPBUF_UNWINDS_ADJ): Likewise.
23109 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23110 (aio_suspend): Call it to force an exception region around the
23111 AIO_MISC_WAIT() invocation.
23113 2011-08-23 Andreas Schwab <schwab@redhat.com>
23115 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23118 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23120 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23122 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23123 and <dl-machine.h>.
23124 (Elf64_FuncDesc): Remove.
23126 2011-08-22 David S. Miller <davem@davemloft.net>
23128 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23129 sigaltstack check, add missing cfi directives.
23130 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23131 missing cfi directives, and sigaltstack handling.
23133 2011-08-16 Andreas Schwab <schwab@redhat.com>
23136 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23137 object is seen twice.
23138 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23140 * elf/Makefile (distribute): Add tst-initorder2.c.
23141 (tests): Add tst-initorder2.
23142 (modules-names): Add tst-initorder2a tst-initorder2b
23143 tst-initorder2c tst-initorder2d. Add rules to build them.
23144 ($(objpfx)tst-initorder2.out): New rule.
23145 * elf/tst-initorder2.c: New file.
23146 * elf/tst-initorder2.exp: New file.
23148 2011-08-22 Andreas Schwab <schwab@redhat.com>
23150 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23152 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23153 dependencies back to end of function.
23155 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23156 $(elfobjdir)/ld.so.
23158 2011-08-21 Ulrich Drepper <drepper@gmail.com>
23160 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23161 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23162 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23163 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23164 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23165 of __vdso_gettimeofday.
23166 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23167 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23169 (_libc_vdso_platform_setup): Remove initialization of
23170 __vdso_gettimeofday and __vdso_time.
23172 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23174 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23175 and fgetc_unlocked.
23176 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23179 * elf/dl-open.c (add_to_global): Report additions to the global scope
23180 for LD_DEBUG=scopes.
23181 (dl_open_worker): Also print scope of newly loaded dependencies.
23182 (_dl_show_scope): Indicate if there is no scope.
23185 * stdio-common/Makefile (tests): Add bug24.
23186 * stdio-common/bug24.c: New file.
23188 2011-08-19 Andreas Jaeger <aj@suse.de>
23191 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23192 non-existant file when using close-on-exec mode.
23194 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23196 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23197 the very first instruction.
23199 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23200 the CFI state in the end.
23201 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23202 inclusion of dl-trampoline.h.
23203 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23205 2011-08-19 Andreas Schwab <schwab@redhat.com>
23207 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23208 expectations for long double.
23210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23211 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23213 2011-08-14 David S. Miller <davem@davemloft.net>
23215 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23216 artificual limit depends upon the system page size.
23218 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23220 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23221 * resolv/Makefile: Define CFLAGS-libresolv.
23223 2011-08-17 Andreas Schwab <schwab@redhat.com>
23225 * nss/makedb.c (compute_tables): Make variables used in nested
23228 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23230 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23231 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23232 if buffer was too small.
23234 * elf/pldd.c (main): Attach to all threads in the process.
23235 Rewrite /proc handling to use *at functions.
23237 2011-08-16 Ulrich Drepper <drepper@gmail.com>
23239 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23240 specifies first scope to show.
23241 (dl_open_worker): Update callers. Move printing scope of new
23242 object to before the relocation.
23243 * elf/rtld.c (dl_main): Update _dl_show_scope call.
23244 * sysdeps/generic/ldsodefs.h: Update declaration.
23246 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23247 string for the scope number.
23249 2011-08-14 Ulrich Drepper <drepper@gmail.com>
23251 * nscd/servicescache.c (cache_addserv): Make sure written is always
23254 2011-08-14 Roland McGrath <roland@hack.frob.com>
23256 * sysdeps/i386/i486/bits/atomic.h
23257 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23258 statement expression, so as to suppress "set but not used" warning.
23259 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23261 * string/strncat.c (STRNCAT): Use prototype definition.
23263 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23264 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23266 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23267 (localedef-modules): Add localedef.
23268 (locale-modules): Add locale.
23270 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23271 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23272 to avoid a warning.
23274 2011-08-14 David S. Miller <davem@davemloft.net>
23276 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23277 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23279 2011-08-13 Ulrich Drepper <drepper@gmail.com>
23281 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23282 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23283 * elf/rtld.c (dl_main): Set l_name of vDSO.
23284 Call _dl_show_scope when DL_DEBUG_SCOPES.
23285 (process_dl_debug): Recognize scopes flag and also set it for all.
23286 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23287 Declare _dl_show_scope.
23289 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23290 (do_dlopen): Pass caller_dlopen to dl_open.
23291 (__libc_dlopen_mode): Initialize caller_dlopen.
23293 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23294 of libc. Make tolower call locale-independent. Optimize a bit by
23295 using isdigit instead of isalnum.
23296 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23298 2011-08-12 Ulrich Drepper <drepper@gmail.com>
23300 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23301 was a dependency or dynamically loaded.
23303 2011-08-11 Ulrich Drepper <drepper@gmail.com>
23305 * intl/l10nflist.c: Allow architecture-specific pop function.
23306 * sysdeps/x86_64/l10nflist.c: New file.
23308 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23311 2011-08-10 Andreas Schwab <schwab@redhat.com>
23313 * include/dirent.h: Add libc_hidden_proto for scandirat and
23314 scandirat64. Don't declare __scandirat64.
23315 * dirent/scandirat.c: Add libc_hidden_def.
23316 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23317 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23319 2011-08-10 David S. Miller <davem@davemloft.net>
23321 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23323 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23324 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23325 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23327 2011-08-09 Ulrich Drepper <drepper@gmail.com>
23329 * Versions.def [libc]: Add GLIBC_2.15.
23330 * dirent/Makefile (routines): Add scandirat and scandirat64.
23331 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23333 * dirent/dirent.h: Declare scandirat and scandirat64.
23334 * dirent/scandirat.c: New file.
23335 * dirent/scandirat64.c: New file.
23336 * sysdeps/wordsize-64/scandirat.c: New file.
23337 * sysdeps/wordsize-64/scandirat64.c: New file.
23338 * dirent/opendir.c: Define opendirat.
23339 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23341 * dirent/scandir64.c: Adjust for scandir.c change.
23342 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23343 __scandirat64, and __scandir_cancel_handler.
23344 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23345 additional parameter and use openat instead of open (outside of ld.so).
23346 Add new __opendir as wrapper around __opendirat.
23347 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23348 here without requiring old scandirat implementation.
23350 2011-08-08 Ulrich Drepper <drepper@gmail.com>
23352 * dirent/scandir.c (cancel_handler): Renamed to
23353 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23354 defined. Adjust users.
23355 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23356 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23358 2011-08-04 Ulrich Drepper <drepper@gmail.com>
23360 * string/test-string.h (IMPL): Use __STRING to expand name and then
23363 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23366 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23368 * string/Makefile: Update.
23369 (strop-tests): Append strncat.
23370 * string/test-wcscmp.c: New file.
23371 New comprehensive test for wcscmp.
23372 * string/test-strcmp.c: Update.
23373 (WIDE): New define.
23375 2011-07-22 Andreas Schwab <schwab@redhat.com>
23377 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23380 2011-07-26 Andreas Schwab <schwab@redhat.com>
23382 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23383 encoding to ACE if AI_IDN.
23385 2011-08-01 Jakub Jelinek <jakub@redhat.com>
23387 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23388 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23390 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23392 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23393 Fix overflow bug in strncat.
23394 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23396 * string/test-strncat.c: Update.
23397 Add new tests for checking overflow bugs.
23399 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23401 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23402 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23403 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23404 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23405 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23406 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23407 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23408 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23409 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23411 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23412 (USE_AS_STRCAT): Define.
23413 Add strcat and strncat support.
23414 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23416 2011-07-25 Andreas Schwab <schwab@redhat.com>
23418 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23419 __n bigger than INT_MAX+1.
23420 (__strncmp_g): Likewise.
23422 2011-07-23 Ulrich Drepper <drepper@gmail.com>
23424 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23425 * libio/stido.h: Likewise.
23427 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23429 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23432 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23433 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23434 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23435 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23436 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23439 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23442 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23444 (_dl_x86_64_save_sse): Likewise.
23446 2011-07-22 Ulrich Drepper <drepper@gmail.com>
23448 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23450 (_dl_x86_64_save_sse): Likewise.
23452 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23454 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23456 2011-07-21 Andreas Schwab <schwab@redhat.com>
23458 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23460 (_dl_x86_64_save_sse): Use correct AVX check.
23462 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23464 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23465 bug in strncpy/strncat.
23466 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23468 2011-07-21 Ulrich Drepper <drepper@gmail.com>
23470 * string/tester.c (test_strcat): Add tests for different alignments
23471 of source and destination.
23472 (test_strncat): Likewise.
23474 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23477 * posix/glob.c (glob): Check passed in values before using them in
23478 expressions to avoid some overflows.
23479 (glob_in_dir): Likewise.
23482 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23483 check for AVX enablement so that we don't crash with old kernels and
23485 * elf/tst-audit4.c: Add same checks here.
23486 * elf/tst-audit6.c: Likewise.
23488 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23490 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23492 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23494 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23496 * po/cs.po: Update from translation team.
23497 * po/bg.po: Likewise.
23499 2011-07-12 Marek Polacek <mpolacek@redhat.com>
23501 * misc/sys/cdefs.h: Add support for const attribute.
23502 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23503 to gnu_dev_{major,minor,makedev} functions.
23505 2011-07-20 Marek Polacek <mpolacek@redhat.com>
23507 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23509 2011-07-20 Andreas Schwab <schwab@redhat.com>
23511 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23514 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23516 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23517 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23518 register in order to avoid conflicts with the soft frame pointer
23519 being held in r11 when necessary.
23520 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23521 (INTERNAL_VSYSCALL_NCS): Likewise.
23523 2011-07-14 Marek Polacek <mpolacek@redhat.com>
23525 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23526 * elf/dl-fini.c (_dl_fini): Adjust caller.
23527 * elf/dl-close.c (_dl_close_worker): Likewise.
23528 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23530 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23532 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23533 "aux_cache->nlibs < 0".
23535 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23536 in the reload-count case.
23538 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23541 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23542 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23543 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23544 * sysdeps/x86_64/multiarch/strcat.S: New file.
23545 * sysdeps/x86_64/multiarch/strncat.S: New file.
23546 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23547 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23548 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23549 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23550 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23551 (USE_AS_STRCAT): Define.
23552 Add strcat and strncat support.
23553 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23554 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23555 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23556 * string/strncat.c: Update.
23557 (USE_AS_STRNCAT): Define.
23558 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23559 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23561 * sysdeps/x86_64/multiarch/init-arch.h
23562 (bit_Prefer_PMINUB_for_stringop): New.
23563 (index_Prefer_PMINUB_for_stringop): Likewise.
23564 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23565 bit_Prefer_PMINUB_for_stringop.
23567 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23569 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23571 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23572 of casting of buffer.
23573 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23574 buffer32 and buffer64.
23575 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23576 writes instead of casting of buffer.
23577 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23579 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23582 2011-07-19 Andreas Schwab <schwab@redhat.com>
23584 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23586 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23588 * nscd/nscd.c (termination_handler): Don't do anything for a database
23589 if it has not yet been initialized.
23591 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23593 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23595 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23597 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23599 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23601 * po/nl.po: Update from translation team.
23602 * po/sv.po: Likewise.
23604 2011-07-16 Roland McGrath <roland@hack.frob.com>
23606 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23607 now disallowed by GCC.
23609 * configure.in (use-default-link): Default to yes if a test -shared
23610 link meets our qualifications.
23611 * configure: Regenerated.
23613 * config.make.in (output-format): New variable.
23614 * configure.in: Check for ld --print-output-format support.
23615 * configure: Regenerated.
23616 * Makerules ($(common-objpfx)format.lds)
23617 [$(output-format) != unknown]: Just use $(output-format),
23618 instead of the linker-script munging.
23620 2011-07-14 Roland McGrath <roland@hack.frob.com>
23622 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23623 of $(common-objpfx)shlib.lds.
23624 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23626 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23627 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23629 * configure.in (-z relro check): Adjust test code to add a large
23630 writable data section after it.
23631 * configure: Regenerated.
23633 2011-07-11 Roland McGrath <roland@hack.frob.com>
23635 * configure.in (-z relro check): Fix test code to make the variable
23637 * configure: Regenerated.
23639 2011-07-11 Ulrich Drepper <drepper@gmail.com>
23641 * nscd/nscd.h (struct traced_file): Define.
23642 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23643 elements. Add traced_files.
23644 (inotify_fd): Declare.
23645 (register_traced_file): Declare.
23646 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23647 (inotify_fd): Export.
23648 (resolv_conf_descr): Remove.
23649 (nscd_init): Move inotify descriptor creation to main.
23650 Don't register files for notification here.
23651 (register_traced_file): New function.
23652 (invalidate_cache): Don't use reset_res to determine whether to call
23653 res_init, go through the list of registered files.
23654 (main_loop_poll): The inotify descriptors are now stored in the
23655 structures for the traced files.
23656 (main_loop_epoll): Likewise
23657 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23658 to __nss_disable_nscd.
23659 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23660 for a database anymore. Check the records for all the registered
23662 * nss/Makefile (libnss_files-routines): Add files-init.
23663 (libnss_db-routines): Add db-init.
23664 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23665 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23666 * nss/nss_db/db-init.c: New file.
23667 * nss/nss_files/files-init.c: New file.
23668 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23669 __nss_lookup_function.
23670 (__nss_lookup_function): Call nss_load_library.
23671 (nss_load_all_libraries): New function.
23672 (__nss_disable_nscd): Take parameter with callback function for files
23673 to register. Set is_nscd. Load all the DSOs for the NSS modules
23674 used for the cached services.
23675 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23676 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23677 options for features to all the files in nscd.
23679 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23681 2011-07-10 Roland McGrath <roland@hack.frob.com>
23683 * csu/elf-init.c (__libc_csu_init): Comment typo.
23685 2011-07-09 Ulrich Drepper <drepper@gmail.com>
23687 * po/pl.po: Update from translation team.
23688 * po/ja.po: Likewise.
23689 * po/ru.po: Likewise.
23690 * po/ko.po: Likewise.
23691 * po/fr.po: Likewise.
23693 2011-07-09 Roland McGrath <roland@hack.frob.com>
23695 * configure.in (.ctors/.dtors header and trailer check):
23696 Use an empirical test on a built program.
23697 * configure: Regenerated.
23699 * configure.in (-z relro check): Use an empirical test on a built DSO.
23700 Detect, but do not require, on ia64.
23701 * configure: Regenerated.
23703 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23704 Update tests that use readelf to use $READELF instead.
23705 * configure: Regenerated.
23707 2011-07-08 Ulrich Drepper <drepper@gmail.com>
23709 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23710 if the result is not used.
23712 2011-07-05 Andreas Jaeger <aj@suse.de>
23715 * stdlib/tst-strtod.c: Add testcase.
23717 2011-07-07 Ulrich Drepper <drepper@gmail.com>
23719 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23720 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23721 The latter has a higher limit. Take additional parameter to pass to
23723 (__pathconf): Pass file to __statfs_link_max.
23724 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23726 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23730 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23731 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23733 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23734 (__statfs_filesize_max): Likewise.
23735 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23737 2011-07-05 Andreas Jaeger <aj@suse.de>
23739 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23741 2011-07-06 Marek Polacek <mpolacek@redhat.com>
23743 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23745 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23748 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23750 * Makefile (strop-tests): Add strncat.
23751 * string/test-strncat.c: New file.
23753 2011-06-30 Marek Polacek <mpolacek@redhat.com>
23755 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23757 2011-06-21 Andreas Jaeger <aj@suse.de>
23759 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23760 Copy rule from iconvdata/Makefile.
23762 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23765 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23766 but no long options are defined, just return 'W'.
23768 2011-06-22 Marek Polacek <mpolacek@redhat.com>
23771 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23773 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23775 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23777 (innetgr): Likewise.
23779 2011-07-05 Roland McGrath <roland@hack.frob.com>
23781 * config.make.in (install_root): Default to $(DESTDIR).
23783 2011-07-05 Ulrich Drepper <drepper@gmail.com>
23785 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23787 2011-07-02 Roland McGrath <roland@hack.frob.com>
23789 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23791 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23792 containing directory rather than embedding absolute directory names.
23794 * scripts/check-local-headers.sh: Rewritten using awk.
23795 Match by word, not by line. Print error messages for matches.
23796 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23798 * Makerules [shlib-lds-flags empty]:
23799 ($(common-objpfx)libc_pic.opts): New target.
23800 ($(common-objpfx)libc_pic.os.clean): New target.
23801 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23803 * config.make.in (OBJCOPY): New variable.
23804 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23805 * configure: Regenerated.
23807 * config.make.in (use-default-link): New variable.
23808 * configure.in (use_default_link): Grok --with-default-link to set it.
23809 * configure: Regenerated.
23810 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23811 (shlib-lds, shlib-lds-flags): Define to empty.
23813 * Makerules (shlib-lds): New variable.
23814 (shlib-lds-flags): New variable.
23815 (build-shlib, build-moduile, build-module-asneeded): Use it.
23816 ($(common-objpfx)libc.so): Use $(shlib-lds).
23817 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23818 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23820 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23821 DT_FLAGS/DT_FLAGS_1 with zero flags.
23823 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23824 linker script munging.
23826 2011-07-02 Ulrich Drepper <drepper@gmail.com>
23828 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23830 * crypt/sha512.c (sha512_process_block): Perform total addition using
23831 128-bit if possible.
23832 (__sha512_finish_ctx): Likewise.
23833 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23835 * crypt/sha256.c (SWAP64): Define.
23836 (sha256_process_block): Perform total addition using 64-bit if
23838 (__sha256_finish_ctx): Likewise.
23840 2011-07-01 Ulrich Drepper <drepper@gmail.com>
23842 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23843 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23844 * nscd/hstcache.c (cache_addhst): Likewise.
23845 * nscd/grpcache.c (cache_addgr): Likewise.
23846 * nscd/aicache.c (addhstaiX): Likewise
23847 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23849 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
23851 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23852 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23853 * nscd/hstcache.c (cache_addhst): Likewise.
23854 * nscd/grpcache.c (cache_addgr): Likewise.
23855 * nscd/aicache.c (addhstaiX): Likewise
23857 2011-07-01 Andreas Schwab <schwab@redhat.com>
23859 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23860 domain only when needed.
23862 2011-06-30 Andreas Schwab <schwab@redhat.com>
23864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23865 is always restored.
23867 2011-06-29 Ulrich Drepper <drepper@gmail.com>
23869 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23870 are re-adding the entry.
23871 * nscd/servicescache.c (cache_addserv): Likewise.
23873 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23875 * sysdeps/generic/dl-irel.h: fix protection against multiple
23877 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23879 2011-06-28 Ulrich Drepper <drepper@gmail.com>
23882 * malloc/memusage.sh: Fix quoting in message.
23883 * debug/xtrace.sh: Likewise.
23885 * configure.in: Remove support for --experimental-malloc option, make
23887 * config.make.in: Likewise.
23888 * malloc/Makefile: Likewise.
23890 2011-06-27 Andreas Schwab <schwab@redhat.com>
23892 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23893 two-byte characters.
23895 2011-06-27 Roland McGrath <roland@hack.frob.com>
23897 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23898 AC_CACHE_CHECK invocation.
23899 * configure: Regenerated.
23901 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23903 2011-06-27 Ulrich Drepper <drepper@gmail.com>
23906 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23907 bit from old_res_options.
23909 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23911 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23912 value type for setfct.
23914 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23916 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23917 __gettimeofday instead of gettimeofday.
23919 2011-06-26 Ulrich Drepper <drepper@gmail.com>
23921 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23923 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23925 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23927 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23930 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23932 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23933 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23934 strcpy-sse2-unaligned strncpy-sse2-unaligned
23935 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23936 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23937 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23938 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23939 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23940 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23941 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23942 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23943 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23944 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23945 (STRCPY): Support SSE2 and SSSE3 versions.
23947 2011-06-24 Ulrich Drepper <drepper@gmail.com>
23950 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23951 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23952 kernels which artificially limit size of requests.
23954 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23956 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23957 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23958 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23959 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23960 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23961 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23962 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23963 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23964 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23965 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23966 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23967 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23968 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23969 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23970 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23972 Enable unaligned load optimization for Intel Core i3, i5 and i7
23974 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23976 (index_Fast_Unaligned_Load): Define.
23977 (HAS_FAST_UNALIGNED_LOAD): Define.
23979 2011-06-23 Marek Polacek <mpolacek@redhat.com>
23981 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23983 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23986 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23987 until it is clear that the information is realy needed.
23988 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23990 2011-06-22 Andreas Schwab <schwab@redhat.com>
23992 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23994 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23996 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23997 /sys/devices/system/cpu/online if it is usable.
23999 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24000 reading the information from the /proc filesystem to once a second.
24002 2011-06-21 Andreas Jaeger <aj@suse.de>
24004 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24005 NULL after inclusion of kernel headers.
24007 2011-06-21 Ulrich Drepper <drepper@gmail.com>
24009 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24010 calls to internal_setent.
24013 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24014 addresses using gethostbyname4_r ignore IPv4 addresses.
24016 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24017 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24019 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24021 2011-06-20 David S. Miller <davem@davemloft.net>
24023 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24025 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24027 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24028 (elf_irel): Use it.
24029 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24030 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24031 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24032 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24033 * sysdeps/x86_64/dl-irel.h: Likewise.
24035 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24036 * elf/dl-sym.c: Likewise.
24038 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24040 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24041 need to dereference resplen2.
24043 2011-06-14 Andreas Schwab <schwab@redhat.com>
24045 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24047 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24049 * Makeconfig: Define vardbdir and inst_vardbdir.
24050 * nss/Makefile: Add rules to install db-Makefile.
24052 * nss/nss_db/db-XXX.c: Cleanup.
24054 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24055 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24057 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24058 * nss/makedb.c: Implement -g option to specify that value strings
24059 are generated and should not be added to table iterated over for
24061 * nss/nss_db/db-initgroups.c: New file.
24063 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24066 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24067 (internal_getgrouplist): Adjust to name change.
24068 Update use_initgroups_entry if this is not the first call.
24069 * nss/databases.def: Add initgroups entry.
24071 * nss/makedb.c (compute_tables): Check result of multiple hash table
24072 sizes to minimize maximum chain length.
24074 2011-06-14 Ulrich Drepper <drepper@gmail.com>
24076 * Versions.def: Add entry for libnss_db.
24077 * shlib-versions: Likewise.
24078 * nss/Makefile: Add rules to build libnss_db.
24079 * nss/Versions: Add libnss_db information. Organize libnss_files
24081 * nss/db-Makefile: Add gshadow support. Change rules for the new
24082 makedb progra. Some minor improvements to generate smaller files.
24083 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24085 * nss/makedb.c: ...here.
24086 Improve database format to be smaller and require less memory at
24088 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24090 * nss/nss_db/db-netgrp.c: Likewise.
24091 * nss/nss_db/db-open.c: Likewise.
24092 * nss/nss_files/flies-XXX.x: Adjust comments.
24093 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24094 * nss/nss_files/files-grp.c: Likewise.
24095 * nss/nss_files/files-hosts.c: Likewise.
24096 * nss/nss_files/files-network.c: Likewise.
24097 * nss/nss_files/files-proto.c: Likewise.
24098 * nss/nss_files/files-pwd.c: Likewise.
24099 * nss/nss_files/files-rpc.c: Likewise.
24100 * nss/nss_files/files-service.c: Likewise.
24101 * nss/nss_files/files-sgrp.c: Likewise.
24102 * nss/nss_files/files-spwd.c: Likewise.
24103 * nss/nss_db/db-alias.c: Removed.
24104 * nss/nss_db/dummy-db.h: Removed.
24106 2011-06-02 Ulrich Drepper <drepper@gmail.com>
24108 * nss/makedb.c: Rewritten to not use database library.
24109 * nss/Makefile: Update to build new makedb program.
24111 2011-06-14 Andreas Jaeger <aj@suse.de>
24113 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24114 memset declaration.
24116 2011-06-10 Andreas Schwab <schwab@redhat.com>
24118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24121 2011-06-10 Roland McGrath <roland@hack.frob.com>
24123 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24124 * elf/Makefile ($(objpfx)ld.so): Likewise.
24126 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24127 Don't list ld.so twice in dependencies.
24129 * posix/bug-regex31.c: Include <stdlib.h>.
24131 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24133 * nis/nss_compat/compat-spwd.c
24134 (getspent_next_nss_netgr): Remove unused variable.
24135 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24137 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24138 nonmembers" output to use the right array.
24140 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24142 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24144 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24145 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24146 * catgets/gencat.c (read_input_file): Likewise.
24147 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24149 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24150 variable definition inside #if's controlling its use.
24152 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24154 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24156 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24158 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24161 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24163 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24164 * configure: Regenerated.
24166 * Makerules: Revert last change.
24167 * elf/Makefile: Likewise.
24169 2011-06-09 Roland McGrath <roland@hack.frob.com>
24171 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24172 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24173 (reloc-link): Likewise.
24175 2011-06-09 Ulrich Drepper <drepper@gmail.com>
24177 * elf/Makefile: Add rules to build pldd.
24178 * elf/pldd.c: New file.
24179 * elf/pldd-xx.c: New file.
24181 2011-06-07 Ulrich Drepper <drepper@gmail.com>
24183 * version.h: Update for 2.15 development version.
24185 2011-06-07 David S. Miller <davem@davemloft.net>
24187 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24189 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24190 elf_machine_lazy_rel): Likewise.
24191 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24192 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24193 elf_machine_lazy_rel): Likewise.
24194 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24195 dl_hwcap via passed in argument.
24196 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24199 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24201 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24203 2011-06-06 Roland McGrath <roland@hack.frob.com>
24206 * manual/fdl-1.1.texi: New file, verbatim from:
24207 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24208 * manual/lgpl-2.1.texi: New file, verbatim from:
24209 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24210 * manual/Makefile (licenses): New variable, list those new file names.
24212 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24214 * manual/fdl.texi: File removed.
24215 * manual/lesser.texi: File removed.
24216 * manual/libc.texinfo (Copying, Documentation License):
24217 Use new @include file names, put @appendix directive before @include.
24219 2011-06-04 Jakub Jelinek <jakub@redhat.com>
24222 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24223 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24224 (mq_open): Add __NTH.
24226 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24229 Assume Intel Core i3/i5/i7 processor if AVX is available.
24231 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24233 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24236 2011-05-31 Andreas Schwab <schwab@redhat.com>
24238 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24239 memory. Use alloca_account. Fix memory leak when retrying.
24241 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24243 * version.h (RELEASE): Bump for 2.14 release.
24244 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24246 * config.make.in (RANLIB): Remove entry.
24248 2011-05-30 Ulrich Drepper <drepper@gmail.com>
24250 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24251 (libc.pot): Work around missing support for .ksh extension in xgettext.
24254 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24255 if both request failed.
24256 (send_dg): In case of server errors clear resplen or *resplen2.
24259 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24260 when there are multiple maps.
24261 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24262 (_dl_fini): Remove test here.
24264 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24266 2011-05-29 Ulrich Drepper <drepper@gmail.com>
24269 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24270 bit from old_res_options.
24271 (gaih_inet): Likewise.
24274 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24277 * resolv/res_init.c (res_setoptions): Make the code more compact.
24280 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24284 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24286 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24289 * malloc/malloc.h: Declare malloc hook variables as volatile.
24291 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24295 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24296 raise in the comment.
24297 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24298 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24299 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24301 2011-05-28 Ulrich Drepper <drepper@gmail.com>
24304 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24305 grow the buffers more if it already has to be sufficient.
24306 (build_wcs_upper_buffer): Likewise.
24307 * posix/regexec.c (check_matching): Likewise.
24308 (clean_state_log_if_needed): Likewise.
24309 (extend_buffers): Don't enlarge buffers beyond size of the input
24311 Patches mostly by Emil Wojak <emil@wojak.eu>.
24312 * posix/bug-regex32.c: New file.
24313 * posix/Makefile (tests): Add bug-regex32.
24315 * locale/findlocale.c (_nl_find_locale): Return right away if
24316 _nl_explode_name failed.
24317 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24319 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24321 * debug/xtrace.sh: Unify messages.
24322 * malloc/memusage.sh: Likewise.
24325 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24326 time symbol from vDSO. Substitute with vsyscall if not available.
24327 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24330 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24331 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24332 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24333 Add sendmmsg and internal_sendmmsg.
24334 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24335 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24336 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24338 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24339 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24340 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24342 2011-05-27 Ulrich Drepper <drepper@gmail.com>
24345 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24346 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24348 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24352 * iconvdata/Makefile (tests): Add bug-iconv9.
24353 * iconvdata/bug-iconv9.c: New file.
24355 2011-05-27 Andreas Schwab <schwab@redhat.com>
24358 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24360 2011-05-25 Jakub Jelinek <jakub@redhat.com>
24362 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24363 (struct user_regs_struct): Change intcs field back to cs.
24365 2011-05-25 Ulrich Drepper <drepper@gmail.com>
24367 * po/ja.po: Update from translation team.
24369 2011-05-23 Ulrich Drepper <drepper@gmail.com>
24372 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24373 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24375 2011-05-20 Andreas Schwab <schwab@redhat.com>
24377 * stdlib/longlong.h: Update from GCC.
24379 2011-05-23 Andreas Schwab <schwab@redhat.com>
24381 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24383 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24384 Add parameter name.
24385 (__sysconf): Pass it down.
24387 2011-05-22 Ulrich Drepper <drepper@gmail.com>
24390 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24392 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24393 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24394 add in in __libc_use_alloca calls. Adjust callers.
24395 (glob): Use malloc in some situations.
24397 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24398 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24401 2011-05-21 Ulrich Drepper <drepper@gmail.com>
24403 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24404 and CLOCK_BOOTTIME_ALARM.
24407 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24410 * string/_strerror.c (__strerror_r): Print negative errors as signed
24414 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24415 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24416 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24418 * configure.in: Fix typo in redirection and correct removal of test
24419 files in two cases.
24422 * locale/setlocale.c (new_composite_name): Fix test to check for
24423 identical name of all categories.
24426 * libio/filedoalloc.c (local_isatty): New function.
24427 (_IO_file_doallocate): Use local_isatty.
24428 * stdio-common/perror.c (perror): In case a new stream is used
24429 forward the stream error.
24430 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24433 2011-05-20 Ulrich Drepper <drepper@gmail.com>
24436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24438 * include/alloca.h (extend_alloca_account): Define.
24441 * posix/regex.h: Fix comments with documentation of user-accessible
24442 fields after compilation and describe correct free'ing of pattern
24443 after re_compile_pattern.
24444 Patch by Reuben Thomas <rrt@sc3d.org>.
24446 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24448 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24449 and -mno-altivec to prevent the compiler from using Altivec and/or
24450 VSX instructions when the corresponding registers are not available.
24452 2011-05-19 Andreas Schwab <schwab@redhat.com>
24454 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24456 2011-05-19 Ulrich Drepper <drepper@gmail.com>
24458 * libio/freopen.c (freopen): Use __dup2, not dup2.
24459 * libio/freopen64.c (freopen64): Likewise.
24461 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24464 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24465 * math/Makefile (tests): Add test-powl.
24466 (CFLAGS-test-powl.c): Define.
24467 * math/test-powl.c: New file.
24469 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24471 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24473 2011-05-17 Ulrich Drepper <drepper@gmail.com>
24476 * iconvdata/gb18030.c: Update to GB18020-2005.
24478 2011-05-16 Ulrich Drepper <drepper@gmail.com>
24480 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24481 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24482 Patch by Aharon Robbins <arnold@skeeve.com>.
24485 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24489 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24490 through underflows.
24493 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24494 point to strings before performing equality test for error_one_per_line
24498 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24501 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24502 (struct user_fpregs_struct): Avoid __uint*_t types.
24505 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24506 symbol info. Use it instead of calling _dl_addr locally.
24507 (lock_and_info): New function.
24508 (tr_freehook): Call lock_and_info and pass symbol info as additional
24509 parameter to tr_where.
24510 (tr_mallochook): Likewise.
24511 (tr_reallochook): Likewise.
24512 (tr_memalignhook): Likewise.
24514 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24515 used and couldn't be at all thread-safe.
24517 2011-05-15 Ulrich Drepper <drepper@gmail.com>
24519 * libio/freopen.c (freopen): Don't close old file descriptor
24520 before the new one is opened. Instead dup the new file descriptor
24521 to the old one after the new stream is created.
24522 * libio/freopen64.c (freopen64): Likewise.
24523 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24524 * libio/fileops.c (_IO_new_file_close_it): Handle new
24525 _IO_FLAGS2_NOCLOSE flag.
24526 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24527 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24528 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24529 _IO_FLAGS2_NOCLOSE flag.
24530 * include/unistd.h: Add hidden_proto for dup3.
24531 Define __have_dup3.
24532 * io/dup3.c: Define hidden symbol.
24533 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24536 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24537 when an incomplete long option is used.
24538 * posix/tst-getopt_long1.c: New file.
24539 * posix/Makefile (tests): Add tst-getopt_long1.
24542 * scripts/config.guess: Update from autoconf-2.68.
24543 * scripts/config.sub: Likewise.
24546 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24548 (has_cpuclock): ...this. New function.
24549 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24550 macro here based on has_cpuclock code.
24553 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24554 First byte (not low byte) is now always NUL.
24555 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24557 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24558 Use non-cancelable interfaces.
24561 * locale/iso-639.def: Add entry for Sorani.
24564 * include/stdlib.h: Move include protection to the right place.
24565 Define abort_msg_s. Declare __abort_msg with it.
24566 * stdlib/abort.c (__abort_msg): Adjust type.
24567 * assert/assert.c (__assert_fail_base): New function. Majority
24568 of code from __assert_fail. Allocate memory for __abort_msg with
24570 (__assert_fail): Now call __assert_fail_base.
24571 * assert/assert-perr.c: Remove bulk of implementation. Use
24572 __assert_fail_base.
24573 * include/assert.hL Declare __assert_fail_base.
24574 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24576 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24578 2011-05-14 Ulrich Drepper <drepper@gmail.com>
24582 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24583 until all modules are registered in the DTV.
24584 * elf/Makefile: Add rules to build and run tst-tls19.
24585 * elf/tst-tls19.c: New file.
24586 * elf/tst-tls19mod1.c: New file.
24587 * elf/tst-tls19mod2.c: New file.
24588 * elf/tst-tls19mod3.c: New file.
24589 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24592 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24596 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24597 two-byte sequence errors.
24598 * iconvdata/Makefile (tests): Add bug-iconv8.
24599 * iconvdata/bug-iconv8.c: New file.
24602 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24605 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24608 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24609 (dummy_getcfa): New function.
24610 (init): Get _Unwind_GetCFA address, use dummy if not found.
24611 (backtrace_helper): In recursion check, also check whether CFA changes.
24612 (__backtrace): Completely initialize arg.
24614 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24615 storing incomplete byte sequence in state object. Avoid testing for
24616 guaranteed too small input if we know there is enough data available.
24618 2011-05-11 Andreas Schwab <schwab@redhat.com>
24620 * Makeconfig (+link-pie): Indent.
24621 * Rules (binaries-pie): Define if $(have-fpie) and
24623 (binaries-shared): Also filter out $(binaries-pie).
24624 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24625 * nscd/Makefile (others-pie): Add nscd.
24626 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24627 ($(objpfx)nscd): Remove command override.
24628 * login/Makefile (others-pie): Add pt_chown.
24629 ($(objpfx)pt_chown): Remove command override.
24630 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24631 remove command overrides.
24633 2011-05-13 Ulrich Drepper <drepper@gmail.com>
24635 * libio/tst_putwc.c: Fix error messages.
24638 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24639 currently writing and seek to current position when not.
24640 * libio/Makefile (tests): Add bug-fclose1.
24641 * libio/bug-fclose1.c: New file.
24643 2011-05-12 Ulrich Drepper <drepper@gmail.com>
24646 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24647 don't set DF_1_NODELETE here.
24648 (do_lookup_x): When entering new entry test for copy relocation
24649 and if necessary set DF_1_NODELETE flag.
24650 * elf/tst-unique4.cc: New file.
24651 * elf/tst-unique4.h: New file.
24652 * elf/tst-unique4lib.cc: New file.
24653 * elf/Makefile: Add rules to build and run tst-unique4.
24654 Patch by Piotr Bury <pbury@goahead.com>.
24656 2011-05-11 Ulrich Drepper <drepper@gmail.com>
24659 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24662 * misc/mntent_r.c (addmntent): Flush the stream after the output
24665 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24666 (is_trusted_path_normalize): Skip initial colon. Append slash
24667 to empty buffer. Duplicate is_trusted_path code but allow
24668 constructed patch to be prefix.
24669 (is_dst): Allow $ORIGIN followed by /.
24670 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24671 Correct testing of result of is_trusted_path_normalize
24672 (decompose_rpath): Fix warning.
24674 2011-05-10 Ulrich Drepper <drepper@gmail.com>
24677 * grp/initgroups.c (internal_getgrouplist): When we found the service
24678 list through the initgroups entry in nsswitch.conf do not always
24679 continue on a successful lookup. Don't always use the
24680 __nss_group_database value if it is set.
24681 * nss/nsswitch.conf (initgroups): Change action for successful db
24682 lookup to continue for compatibility.
24684 2011-05-09 Ulrich Drepper <drepper@gmail.com>
24687 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24689 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24691 * iconvdata/tst-tables.sh: Likewise.
24692 * iconvdata/cp770.c: New file.
24693 * iconvdata/cp771.c: New file.
24694 * iconvdata/cp772.c: New file.
24695 * iconvdata/cp773.c: New file.
24696 * iconvdata/cp774.c: New file.
24697 * iconvdata/testdata/CP770: New file.
24698 * iconvdata/testdata/CP770..UTF8: New file.
24699 * iconvdata/testdata/CP771: New file.
24700 * iconvdata/testdata/CP771..UTF8: New file.
24701 * iconvdata/testdata/CP772: New file.
24702 * iconvdata/testdata/CP772..UTF8: New file.
24703 * iconvdata/testdata/CP773: New file.
24704 * iconvdata/testdata/CP773..UTF8: New file.
24705 * iconvdata/testdata/CP774: New file.
24706 * iconvdata/testdata/CP774..UTF8: New file.
24708 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24710 * iconvdata/gen-8bit-gap.sh: Likewise.
24711 * iconvdata/gen-8bit.sh: Likewise.
24713 * locale/iso-639.def: Add ary entry.
24716 * locale/C-translit.h.in: Add U20A1 transliteration.
24719 * locale/iso-639.def: Add wae entry.
24720 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24723 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24727 * locale/C-translit.h.in: Add entry for U20B9.
24728 Patch by pravin.d.s@gmail.com.
24730 2011-05-08 Ulrich Drepper <drepper@gmail.com>
24733 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24734 ENAMETOOLONG use generic getcwd.
24735 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24736 in rtld. Use *stat64.
24737 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24738 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24739 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24740 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24741 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24742 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24743 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24744 __fstatat64 macros.
24745 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24746 * dirent/rewinddir.c: Add libc_hidden_def.
24747 * sysdeps/mach/hurd/rewinddir.c: Likewise.
24748 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
24750 * include/dirent.h (__alloc_dir): Add flags parameter.
24751 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24752 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24754 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24755 from fdopendir if O_CLOEXEC is already set.
24757 2011-03-15 Alan Modra <amodra@gmail.com>
24759 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24760 l_tls_firstbyte_offset non-zero. Save padding offset in
24761 l_tls_firstbyte_offset for later use.
24762 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24763 freeing static tls block.
24765 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24767 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24768 where #ifdef was intended. The intent is to prevent ARG_MAX from
24769 being defined by the kernel headers.
24771 2011-05-07 Ulrich Drepper <drepper@gmail.com>
24774 * resolv/resolv.h: Define RES_NOTLDQUERY.
24775 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24776 no-tld-query and set RES_NOTLDQUERY.
24777 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24778 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24779 modern BIND to search name as TLD unless forbidden.
24781 2011-05-07 Petr Baudis <pasky@suse.cz>
24782 Ulrich Drepper <drepper@gmail.com>
24785 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24786 (is_trusted_path): ...to here.
24787 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24788 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24789 using is_trusted_path_normalize() in setuid scripts.
24791 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24793 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24794 __BEGIN/__END_DECLS.
24796 2011-05-06 Ulrich Drepper <drepper@gmail.com>
24798 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24799 NSS_STATUS_NOTFOUND if no record was found.
24801 2011-05-05 Andreas Schwab <schwab@redhat.com>
24803 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24804 (headers-not-in-tirpc): Remove rpc/netdb.h
24805 * resolv/netdb.h: Revert last change.
24807 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24809 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24810 circular dependency between libgcc.a and libc.a.
24812 2011-05-05 Andreas Schwab <schwab@redhat.com>
24814 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24815 * nis/Makefile: Don't install rpcsvc/*.
24816 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24817 instead of <rpc/types.h>.
24818 (MAXHOSTNAMELEN): Define.
24820 2011-05-03 Andreas Schwab <schwab@redhat.com>
24822 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24824 2011-04-28 Maciej Babinski <mbabinski@google.com>
24827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24828 gethostbyname4_r when IPv6 results are possible.
24830 2011-05-02 Ulrich Drepper <drepper@gmail.com>
24833 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24834 _PC_PIPE_BUF handling.
24836 2011-04-30 Bruno Haible <bruno@clisp.org>
24839 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24840 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24842 * inet/getnameinfo.c (getnameinfo): Likewise.
24844 2011-04-29 Ulrich Drepper <drepper@gmail.com>
24846 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24847 to groups setting in database lookup.
24848 * nss/nsswitch.conf: Add initgroups entry.
24850 2011-04-22 Ulrich Drepper <drepper@gmail.com>
24853 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24855 Patch by Eric Blake <eblake@redhat.com>.
24857 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24859 * sunrpc/Makefile (need-export-routines): Add svc_run.
24860 (routines): Remove svc_run.
24861 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24862 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24863 * sunrpc/svc_run.c (svc_run): Likewise.
24864 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24866 2011-04-21 Ulrich Drepper <drepper@gmail.com>
24868 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24869 problem in reallocation in last patch.
24871 2011-04-20 Ulrich Drepper <drepper@gmail.com>
24873 * sunrpc/Makefile: Move inclusion of Rules.
24875 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24877 * nss/nss_files/files-initgroups.c: New file.
24878 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24879 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24880 _nss_files_initgroups_dyn.
24882 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24884 * elf/elf.h (R_ARM_IRELATIVE): Define.
24886 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24888 * po/ru.po: Update from translation team.
24890 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24892 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24895 2011-02-06 Mike Frysinger <vapier@gentoo.org>
24898 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24899 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24900 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24901 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24902 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24904 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24906 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24908 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24909 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24910 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24912 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24915 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24917 * stdlib/bug-getcontext.c: New file.
24918 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24920 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24922 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24923 instructions into .machine "z9-109".
24924 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24925 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24927 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24929 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24930 between environment variables and auxiliary vector.
24932 2011-04-16 Ulrich Drepper <drepper@gmail.com>
24934 * Makefile: Add rules to build linkobj/libc.so.
24935 * include/libc-symbols.h: Define libc_hidden_nolink.
24936 * include/rpc/auth.h: Mark functions which are to be hidden.
24937 * include/rpc/auth_des.h: Likewise.
24938 * include/rpc/auth_unix.h: Likewise.
24939 * include/rpc/clnt.h: Likewise.
24940 * include/rpc/des_crypt.h: Likewise.
24941 * include/rpc/key_prot.h: Likewise.
24942 * include/rpc/pmap_clnt.h: Likewise.
24943 * include/rpc/pmap_prot.h: Likewise.
24944 * include/rpc/pmap_rmt.h: Likewise.
24945 * include/rpc/rpc_msg.h: Likewise.
24946 * include/rpc/svc.h: Likewise.
24947 * include/rpc/svc_auth.h: Likewise.
24948 * include/rpc/xdr.h: Likewise.
24949 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24950 * nss/Makefile: Likewise.
24951 * sunrpc/Makefile: Don't install headers. Build library with normal
24952 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24953 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24954 for the compat linking library. Remove use of INTDEF/INTUSE.
24955 * sunrpc/auth_none.c: Likewise.
24956 * sunrpc/auth_unix.c: Likewise.
24957 * sunrpc/authdes_prot.c: Likewise.
24958 * sunrpc/authuxprot.c: Likewise.
24959 * sunrpc/clnt_gen.c: Likewise.
24960 * sunrpc/clnt_perr.c: Likewise.
24961 * sunrpc/clnt_raw.c: Likewise.
24962 * sunrpc/clnt_simp.c: Likewise.
24963 * sunrpc/clnt_tcp.c: Likewise.
24964 * sunrpc/clnt_udp.c: Likewise.
24965 * sunrpc/clnt_unix.c: Likewise.
24966 * sunrpc/des_crypt.c: Likewise.
24967 * sunrpc/des_soft.c: Likewise.
24968 * sunrpc/get_myaddr.c: Likewise.
24969 * sunrpc/key_call.c: Likewise.
24970 * sunrpc/key_prot.c: Likewise.
24971 * sunrpc/netname.c: Likewise.
24972 * sunrpc/pm_getmaps.c: Likewise.
24973 * sunrpc/pm_getport.c: Likewise.
24974 * sunrpc/pmap_clnt.c: Likewise.
24975 * sunrpc/pmap_prot.c: Likewise.
24976 * sunrpc/pmap_prot2.c: Likewise.
24977 * sunrpc/pmap_rmt.c: Likewise.
24978 * sunrpc/publickey.c: Likewise.
24979 * sunrpc/rpc_cmsg.c: Likewise.
24980 * sunrpc/rpc_common.c: Likewise.
24981 * sunrpc/rpc_dtable.c: Likewise.
24982 * sunrpc/rpc_prot.c: Likewise.
24983 * sunrpc/rpc_thread.c: Likewise.
24984 * sunrpc/rtime.c: Likewise.
24985 * sunrpc/svc.c: Likewise.
24986 * sunrpc/svc_auth.c: Likewise.
24987 * sunrpc/svc_authux.c: Likewise.
24988 * sunrpc/svc_raw.c: Likewise.
24989 * sunrpc/svc_run.c: Likewise.
24990 * sunrpc/svc_simple.c: Likewise.
24991 * sunrpc/svc_tcp.c: Likewise.
24992 * sunrpc/svc_udp.c: Likewise.
24993 * sunrpc/svc_unix.c: Likewise.
24994 * sunrpc/svcauth_des.c: Likewise.
24995 * sunrpc/xcrypt.c: Likewise.
24996 * sunrpc/xdr.c: Likewise.
24997 * sunrpc/xdr_array.c: Likewise.
24998 * sunrpc/xdr_float.c: Likewise.
24999 * sunrpc/xdr_intXX_t.c: Likewise.
25000 * sunrpc/xdr_mem.c: Likewise.
25001 * sunrpc/xdr_rec.c: Likewise.
25002 * sunrpc/xdr_ref.c: Likewise.
25003 * sunrpc/xdr_sizeof.c: Likewise.
25004 * sunrpc/xdr_stdio.c: Likewise.
25006 2011-04-10 Ulrich Drepper <drepper@gmail.com>
25009 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25010 * sysdeps/ia64/dl-tls.h: Likewise.
25011 * sysdeps/powerpc/dl-tls.h: Likewise.
25012 * sysdeps/s390/dl-tls.h: Likewise.
25013 * sysdeps/sh/dl-tls.h: Likewise.
25014 * sysdeps/sparc/dl-tls.h: Likewise.
25015 * sysdeps/x86_64/dl-tls.h: Likewise.
25016 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25018 2011-03-14 Andreas Schwab <schwab@redhat.com>
25020 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25021 rpath element also skip the following colon.
25022 (expand_dynamic_string_token): Add is_path parameter and pass
25023 down to DL_DST_REQUIRED and _dl_dst_substitute.
25024 (decompose_rpath): Call expand_dynamic_string_token with
25025 non-zero is_path. Ignore empty rpaths.
25026 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25029 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25034 2011-04-09 Ulrich Drepper <drepper@gmail.com>
25037 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25038 Patch by Filipe David Manana <fdmanana@apache.org>.
25040 2011-04-07 Andreas Schwab <schwab@redhat.com>
25042 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25043 Maintain aligned stack.
25044 (CHECK_RSP): Remove unused macro.
25046 2011-04-03 Ulrich Drepper <drepper@gmail.com>
25048 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25049 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25051 2011-04-02 Ulrich Drepper <drepper@gmail.com>
25053 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25055 * include/features.h: Mention __USE_XOPEN2K8 in comment.
25057 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25060 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25061 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25062 * sysdeps/x86_64/memmove.c: New file.
25063 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25064 (memcpy): Renamed to ...
25065 (__new_memcpy): This.
25066 (memcpy): Provide GLIBC_2_14 memcpy.
25067 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25068 (memcpy): Provide GLIBC_2_2_5 memcpy.
25070 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25073 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25075 2011-03-30 Andreas Schwab <schwab@redhat.com>
25077 * misc/syncfs.c: New file.
25078 * misc/Makefile (routines): Add syncfs.
25079 * posix/unistd.h: Declare syncfs.
25080 * sysdeps/unix/syscalls.list: Add syncfs.
25082 2011-04-01 Andreas Schwab <schwab@redhat.com>
25084 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25086 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25087 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25088 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25089 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25090 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25091 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25092 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25094 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25096 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25097 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25098 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25099 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25100 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25101 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25102 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25104 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25105 sync_file_range.c with -fexceptions.
25106 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25107 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25108 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25109 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25110 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25111 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25112 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25113 sync_file_range as cancellation point
25114 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25115 now a wrapper around __call_sync_file_range with cancellation handling.
25116 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25117 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25118 function name to __call_sync_file_range.
25119 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25120 Add call_sync_file_range.
25122 2011-04-01 Andreas Schwab <schwab@redhat.com>
25124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25127 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25129 * iconv/iconv.h: Fix typo in comment.
25130 * io/fcntl.h: Likewise.
25131 * libio/stdio.h: Likewise.
25132 * posix/spawn.h: Likewise.
25133 * posix/unistd.h: Likewise.
25134 * stdlib/stdlib.h: Likewise.
25135 * time/time.h: Likewise.
25136 * wcsmbs/wchar.h: Likewise.
25138 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25139 open_by_handle): Add.
25140 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25141 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25142 Augment a few comments.
25143 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25144 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25145 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25147 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25148 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25151 * io/fcntl.h (AT_EMPTY_PATH): Define.
25153 2011-03-30 Ulrich Drepper <drepper@gmail.com>
25155 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25156 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25157 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25159 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
25160 * Versions.def: Add GLIBC_2.14.
25161 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25164 2011-03-22 Ulrich Drepper <drepper@gmail.com>
25166 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25168 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25170 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25173 * string/test-strncmp.c (do_page_test): New function.
25174 (check2): Likewise.
25175 (test_main): Call check2.
25176 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25178 2011-03-20 Ulrich Drepper <drepper@gmail.com>
25181 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25182 Handle cache information in CPU leaf 4.
25183 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25185 2011-03-18 Ulrich Drepper <drepper@gmail.com>
25188 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25189 character representation.
25190 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25192 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25194 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25195 END(__isnan) to END(__isnanf) to match function entry point/label
25196 EALIGN(__isnanf,...).
25198 2011-03-10 Jakub Jelinek <jakub@redhat.com>
25200 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25202 2011-03-10 Ulrich Drepper <drepper@gmail.com>
25205 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25206 copy from the symbol referenced in the relocation to initialize the
25208 Patch by Piotr Bury <pbury@goahead.com>.
25209 * elf/Makefile: Add rules to build and tst-unique3.
25210 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25211 * elf/tst-unique3.cc: New file.
25212 * elf/tst-unique3.h: New file.
25213 * elf/tst-unique3lib.cc: New file.
25214 * elf/tst-unique3lib2.cc: New file.
25216 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25218 2011-03-10 Mike Frysinger <vapier@gentoo.org>
25220 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25221 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25224 2011-03-06 Ulrich Drepper <drepper@gmail.com>
25226 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25227 to-be-loaded object along a path to loader is ld.so.
25229 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25230 Ulrich Drepper <drepper@gmail.com>
25232 * sysdeps/x86_64/memset.S: After aligning destination, code
25233 branches to different locations depending on the value of
25234 misalignment, when multiarch is enabled. Fix this.
25236 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25238 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25239 Set _x86_64_preferred_memory_instruction for AMD processsors.
25240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25241 Set bit_Prefer_SSE_for_memop for AMD processors.
25243 2011-03-04 Ulrich Drepper <drepper@gmail.com>
25245 * libio/fmemopen.c (fmemopen): Optimize a bit.
25247 2011-03-03 Andreas Schwab <schwab@redhat.com>
25249 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25251 2011-03-03 Roland McGrath <roland@redhat.com>
25253 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25255 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25257 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25258 __bzero_ultra1 instead of __memset_ultra1.
25260 2011-02-23 Andreas Schwab <schwab@redhat.com>
25261 Ulrich Drepper <drepper@gmail.com>
25264 * include/link.h (struct link_map): Add l_orig_initfini.
25265 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25266 returning unsuccessfully.
25267 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25268 close of a file loaded at startup, restore the original l_initfini
25270 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25271 list, store the pointer.
25272 * elf/Makefile ($(objpfx)noload-mem): New rule.
25273 (noload-ENV): Define.
25274 (tests): Add $(objpfx)noload-mem.
25275 * elf/noload.c: Include <memcheck.h>.
25276 (main): Call mtrace. Close all opened handles.
25278 2011-02-17 Andreas Schwab <schwab@redhat.com>
25281 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25282 dependencies are missing.
25284 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25286 Fix __if_freereq crash: Unlike the generic version which uses free,
25288 * sysdeps/mach/hurd/ifreq.h: New file.
25290 2011-01-27 Petr Baudis <pasky@suse.cz>
25291 Ulrich Drepper <drepper@gmail.com>
25294 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25295 to extend_alloca().
25296 * stdio-common/bug23.c: New file.
25297 * stdio-common/Makefile (tests): Add bug23.
25299 2010-09-28 Andreas Schwab <schwab@redhat.com>
25300 Ulrich Drepper <drepper@gmail.com>
25303 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25304 before performing relro protection. At old place add assertion
25305 to make sure nothing changed.
25307 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25308 Glauber de Oliveira Costa <glommer@gmail.com>
25310 * elf/elf.h: Add new ARM TLS relocs.
25312 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25315 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25317 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25319 * sysdeps/wordsize-64/tst-writev.c: New file.
25321 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25323 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25324 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25325 insns in _dl_start to prevent a TOC reference before relocs are
25328 2011-02-15 Ulrich Drepper <drepper@gmail.com>
25331 * Makeconfig: Remove RANLIB definition.
25332 * Makerules: Don't use RANLIB.
25333 * aclocal.m4: Remove ranlib test.
25334 * configure.in: No need to check for ranlib.
25335 * elf/rtld-Rules: Don't use RANLIB.
25337 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25339 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25341 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25342 inclusion protection macro.
25344 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25345 SIGRTMIN and SIGRTMAX and print information in that case only when
25346 SIGRTMIN is defined.
25348 2011-02-11 Jakub Jelinek <jakub@redhat.com>
25350 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25351 arginfo fn returning -1.
25353 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25354 and thousands string is zero terminated.
25356 2011-02-03 Andreas Schwab <schwab@redhat.com>
25358 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25359 sysdeps/unix/sysv/linux/bits/socket.h.
25361 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25363 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25364 (__CPU_COUNT): Remove old macros.
25365 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25366 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25367 (__CPU_ALLOC, __CPU_FREE): Add macros.
25368 (__sched_cpualloc, __sched_cpufree): Add declarations.
25370 2011-02-05 Ulrich Drepper <drepper@gmail.com>
25372 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25373 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25374 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25375 (readdhstai): Return value of addhstaiX call.
25376 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25377 (addgrbyX): Return value returned by cache_addgr.
25378 (readdgrbyname): Return value returned by addgrbyX.
25379 (readdgrbygid): Likewise.
25380 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25381 (addpwbyX): Return value returned by cache_addpw.
25382 (readdpwbyname): Return value returned by addhstbyX.
25383 (readdpwbyuid): Likewise.
25384 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25385 (addservbyX): Return value returned by cache_addserv.
25386 (readdservbyname): Return value returned by addservbyX:
25387 (readdservbyport): Likewise.
25388 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25389 (addhstbyX): Return value returned by cache_addhst.
25390 (readdhstbyname): Return value returned by addhstbyX.
25391 (readdhstbyaddr): Likewise.
25392 (readdhstbynamev6): Likewise.
25393 (readdhstbyaddrv6): Likewise.
25394 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25395 (readdinitgroups): Return value returned by addinitgroupsX.
25396 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25397 (prune_cache): Keep track of timeout value of re-added entries.
25398 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25399 * nscd/nscd.h: Adjust prototypes of readd* functions.
25401 2011-02-04 Roland McGrath <roland@redhat.com>
25403 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25404 (nis_stats): Likewise.
25405 * nis/nis_modify.c (nis_modify): Likewise.
25406 * nis/nis_remove.c (nis_remove): Likewise.
25407 * nis/nis_add.c (nis_add): Likewise.
25409 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25411 * posix/fnmatch_loop.c: Add some consts.
25413 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25415 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25418 * config.make.in (config-cflags-novzeroupper): Define.
25419 * configure.in: Substitute libc_cv_cc_novzeroupper.
25420 * elf/Makefile (AVX-CFLAGS): Define.
25421 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25422 (CFLAGS-tst-auditmod4a.c): Likewise.
25423 (CFLAGS-tst-auditmod4b.c): Likewise.
25424 (CFLAGS-tst-auditmod6b.c): Likewise.
25425 (CFLAGS-tst-auditmod6c.c): Likewise.
25426 (CFLAGS-tst-auditmod7b.c): Likewise.
25427 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25429 2011-02-02 Ulrich Drepper <drepper@gmail.com>
25431 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25432 function to the callback.
25433 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25435 2011-02-02 Andreas Schwab <schwab@redhat.com>
25437 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25440 2011-01-19 Ulrich Drepper <drepper@gmail.com>
25443 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25445 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25447 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25450 * elf/Makefile: Add rules to build and run new test.
25451 * elf/tst-initorder.c: New file.
25452 * elf/tst-initorder.exp: New file.
25453 * elf/tst-initordera1.c: New file.
25454 * elf/tst-initordera2.c: New file.
25455 * elf/tst-initordera3.c: New file.
25456 * elf/tst-initordera4.c: New file.
25457 * elf/tst-initorderb1.c: New file.
25458 * elf/tst-initorderb2.c: New file.
25459 * elf/tst-order-a1.c: New file.
25460 * elf/tst-order-a2.c: New file.
25461 * elf/tst-order-a3.c: New file.
25462 * elf/tst-order-a4.c: New file.
25463 * elf/tst-order-b1.c: New file.
25464 * elf/tst-order-b2.c: New file.
25465 * elf/tst-order-main.c: New file.
25466 New test case by George Gensure <werkt0@gmail.com>.
25468 2010-10-01 Andreas Schwab <schwab@redhat.com>
25470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25471 decoding ACE if AI_CANONIDN.
25473 2011-01-18 Ulrich Drepper <drepper@gmail.com>
25475 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25477 2011-01-17 Ulrich Drepper <drepper@gmail.com>
25479 * version.h (RELEASE): Bump for 2.13 release.
25480 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25482 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25484 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25486 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25487 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25488 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25489 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25490 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25491 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25493 * posix/getconf.c: Update copyright year.
25494 * catgets/gencat.c: Likewise.
25495 * csu/version.c: Likewise.
25496 * debug/catchsegv.sh: Likewise.
25497 * debug/xtrace.sh: Likewise.
25498 * elf/ldconfig.c: Likewise.
25499 * elf/ldd.bash.in: Likewise.
25500 * elf/sprof.c (print_version): Likewise.
25501 * iconv/iconv_prog.c: Likewise.
25502 * iconv/iconvconfig.c: Likewise.
25503 * locale/programs/locale.c: Likewise.
25504 * locale/programs/localedef.c: Likewise.
25505 * malloc/memusage.sh: Likewise.
25506 * malloc/mtrace.pl: Likewise.
25507 * nscd/nscd.c (print_version): Likewise.
25508 * nss/getent.c: Likewise.
25510 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25511 PF_CAIF, and PF_ALG.
25512 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25514 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25516 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25517 (modules-names): Use them.
25518 (ifunc-test-modules, ifunc-pie-tests): Define.
25519 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25520 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25521 (test-extras): Likewise.
25522 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25523 $(compile-command.c).
25524 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25525 (all-built-dso): Define.
25526 (check-textrel.out, check-execstack.out): Depend on it.
25528 * configure.in: Don't override --enable-multi-arch.
25530 2011-01-15 Ulrich Drepper <drepper@gmail.com>
25533 * nscd/hstcache.c (tryagain): Define.
25534 (cache_addhst): Return tryagain not notfound for temporary errors.
25535 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25538 2011-01-14 Ulrich Drepper <drepper@gmail.com>
25541 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25542 to make the syscall.
25543 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25546 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25547 and fall back to matching as normal character if the string ends before
25548 the matching ']' is found. This is what POSIX requires.
25549 * posix/testfnm.c: Adjust test result.
25550 * posix/globtest.sh: Adjust test result. Add new test.
25551 * posix/tst-fnmatch.input: Likewise.
25552 * posix/tst-fnmatch2.c: Add new test.
25554 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25556 * elf/Makefile (check-execstack): Revert last change. Depend on
25558 (check-execstack.h): New target.
25559 (generated): Add check-execstack.h.
25560 * elf/check-execstack.c: Include "check-execstack.h".
25561 (main): Revert last change.
25562 (handle_file): Return zero if GNU_STACK is absent and
25563 DEFAULT_STACK_PERMS doesn't include PF_X.
25565 2011-01-13 Ulrich Drepper <drepper@gmail.com>
25567 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25568 in child fails because the descriptor is already closed.
25569 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25570 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25571 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25574 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25578 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25579 temporary buffer used to handle multi lookups locally.
25580 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25582 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25584 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25587 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25589 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25590 alignment for SSE2.
25592 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25595 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25596 characters. When rounding increased number of integer digits recompute
25598 * stdio-common/tst-grouping.c: New file.
25599 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25601 2011-01-09 Ulrich Drepper <drepper@gmail.com>
25603 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25604 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25606 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25608 * bits/select.h: Likewise.
25610 2011-01-08 Ulrich Drepper <drepper@gmail.com>
25612 * po/ja.po: Update from translation team.
25614 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
25617 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25618 implementation just like for lxstat, fxstatat, et al.
25620 2010-12-27 Jim Meyering <meyering@redhat.com>
25623 * posix/regexec.c (build_trtable): Return failure indication upon
25624 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25626 2010-12-25 Ulrich Drepper <drepper@gmail.com>
25629 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25630 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25631 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25632 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25635 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25638 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25639 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25641 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25643 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25644 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25645 script has SORT_BY_INIT_PRIORITY.
25646 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25647 NO_CTORS_DTORS_SECTIONS is defined.
25648 * elf/soinit.c: Likewise.
25649 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25650 NO_CTORS_DTORS_SECTIONS is defined.
25651 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25652 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25653 * sysdeps/sh/init-first.c: Likewise.
25654 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25656 2010-12-24 Ulrich Drepper <drepper@gmail.com>
25658 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25659 always use the slow path.
25661 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25663 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25664 similar rule which adds the sysdep directories to the header search in
25665 order to pick up the correct platform stackinfo.h.
25666 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25667 perform test if it is, otherwise return successfully without testing.
25668 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25669 DEFAULT_STACK_PERMS define in stackinfo.h.
25670 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25671 defined in stackinfo.h.
25672 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25673 DEFAULT_STACK_PERMS defined in stackinfo.h.
25674 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25675 * sysdeps/ia64/stackinfo.h: Likewise.
25676 * sysdeps/s390/stackinfo.h: Likewise.
25677 * sysdeps/sh/stackinfo.h: Likewise.
25678 * sysdeps/sparc/stackinfo.h: Likewise.
25679 * sysdeps/x86_64/stackinfo.h: Likewise.
25680 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25681 PF_X for powerpc64. Retain PF_X for powerpc32.
25683 2010-12-19 Ulrich Drepper <drepper@gmail.com>
25685 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25687 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25688 GETDENTS_64BIT_ALIGNED.
25690 2010-12-14 Ulrich Drepper <dreper@gmail.com>
25692 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25694 2010-12-10 Andreas Schwab <schwab@redhat.com>
25696 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25699 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25700 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25702 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25703 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25705 2010-12-09 Ulrich Drepper <drepper@gmail.com>
25708 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25711 2010-12-09 Jakub Jelinek <jakub@redhat.com>
25713 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25715 2010-12-03 Ulrich Drepper <drepper@gmail.com>
25717 * po/it.po: Update from translation team.
25719 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25721 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25724 2010-11-30 Ulrich Drepper <drepper@gmail.com>
25726 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25728 2010-11-24 Andreas Schwab <schwab@redhat.com>
25730 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25732 (gaih_getanswer_slice): Likewise.
25734 2010-10-20 Jakub Jelinek <jakub@redhat.com>
25736 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25738 2010-05-31 Petr Baudis <pasky@suse.cz>
25741 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25742 silently even in the chroot mode.
25744 2010-11-22 Ulrich Drepper <drepper@gmail.com>
25746 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25747 last patch a bit. Pretty printing
25749 2010-05-31 Petr Baudis <pasky@suse.cz>
25752 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25753 initialization of skip_initgroups_dyn.
25755 2010-11-19 Ulrich Drepper <drepper@gmail.com>
25757 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25758 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25760 2010-11-16 Ulrich Drepper <drepper@gmail.com>
25762 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25764 2010-11-11 Andreas Schwab <schwab@redhat.com>
25766 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25767 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25768 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25769 ($(objpfx)tst-fnmatch-mem): New rule.
25770 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25771 * posix/tst-fnmatch.c (main): Call mtrace.
25773 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25776 Support Intel processor model 6 and model 0x2c.
25778 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
25780 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25783 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25786 * string/test-strncasecmp.c (check_result): New function.
25787 (do_one_test): Use it.
25788 (check1): New function.
25789 (test_main): Use it.
25790 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25791 Support strcasecmp and strncasecmp.
25793 2010-11-08 Ulrich Drepper <drepper@gmail.com>
25796 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25797 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25799 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25801 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25803 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25805 * sysdeps/x86_64/multiarch/bzero.S: New file.
25806 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25807 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25808 * sysdeps/x86_64/multiarch/memset.S: New file.
25809 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25810 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25811 Set bit_Prefer_SSE_for_memop for Intel processors.
25812 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25814 (index_Prefer_SSE_for_memop): Define.
25815 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25817 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
25819 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25820 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25822 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25825 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25826 (__x86_64_raw_data_cache_size_half): Likewise.
25827 (__x86_64_raw_shared_cache_size): Likewise.
25828 (__x86_64_raw_shared_cache_size_half): Likewise.
25830 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25831 (__x86_64_raw_data_cache_size_half): Likewise.
25832 (__x86_64_raw_shared_cache_size): Likewise.
25833 (__x86_64_raw_shared_cache_size_half): Likewise.
25834 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25835 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25836 and __x86_64_raw_shared_cache_size_half. Round
25837 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25838 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25839 to multiple of 256 bytes.
25841 2010-11-03 Ulrich Drepper <drepper@gmail.com>
25844 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25845 of inacessible symlinks. Verify result of symlink before returning it.
25846 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25847 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25849 2010-10-28 Erich Ritz <erichritz@gmail.com>
25851 * math/math.h (isinf): Fix typo in comment.
25853 2010-11-01 Ulrich Drepper <drepper@gmail.com>
25855 * po/da.po: Update from translation team.
25857 2010-10-26 Ulrich Drepper <drepper@gmail.com>
25859 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25860 is added to the list.
25862 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25863 Ulrich Drepper <drepper@gmail.com>
25865 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25866 the global list here. Move code to...
25867 (_dl_add_to_namespace_list): ...here. New function.
25868 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25869 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25870 * elf/dl-load.c (lose): Don't remove the element from the list.
25871 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25872 (_dl_map_object): Likewise.
25874 2010-10-25 Ulrich Drepper <drepper@gmail.com>
25877 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25878 into all bytes of SSE register.
25879 Patch by Richard Li <richardpku@gmail.com>.
25881 2010-10-24 Ulrich Drepper <drepper@gmail.com>
25884 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25887 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25889 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25890 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25891 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25892 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25897 2010-10-22 Andreas Schwab <schwab@redhat.com>
25899 * include/dlfcn.h (__RTLD_SECURE): Define.
25900 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25901 mode & __RTLD_SECURE instead.
25902 (open_path): Rename preloaded parameter to secure.
25903 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25904 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25905 * elf/dl-deps.c (openaux): Likewise.
25906 * elf/rtld.c (struct map_args): Remove is_preloaded.
25907 (map_doit): Don't use it.
25908 (dl_main): Likewise.
25909 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25910 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25912 2010-09-09 Andreas Schwab <schwab@redhat.com>
25914 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25915 (sysd-rules-targets): Remove duplicates.
25916 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25917 rtld-%.$o dependency.
25919 2010-10-18 Andreas Schwab <schwab@redhat.com>
25921 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25922 _dl_map_object do it.
25924 2010-10-19 Ulrich Drepper <drepper@gmail.com>
25926 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25927 fast fma builtins, define the macros in the C99 standard.
25928 (FP_FAST_FMAF): Likewise.
25929 (FP_FAST_FMAL): Likewise.
25930 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25932 * bits/mathdef.h: Update copyright year.
25933 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25935 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25937 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25938 builtins, define the macros in the C99 standard.
25939 (FP_FAST_FMAF): Likewise.
25940 (FP_FAST_FMAL): Likewise.
25941 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25943 (FP_FAST_FMAF): Likewise.
25945 2010-10-15 Jakub Jelinek <jakub@redhat.com>
25948 * math/libm-test.inc (fma_test): Some new testcases.
25949 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25950 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25951 y and infinite z. Do multiplication by C already in long double.
25952 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25953 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25954 y and infinite z. Do bitwise or of inexact bit into u.d.
25955 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25956 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25957 * sysdeps/i386/fpu/s_fma.S: Removed.
25958 * sysdeps/i386/fpu/s_fmal.S: Removed.
25960 2010-10-16 Jakub Jelinek <jakub@redhat.com>
25963 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25964 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25965 computation is not scheduled after fetestexcept. Fix value
25966 of minimum denormal long double.
25968 2010-10-14 Jakub Jelinek <jakub@redhat.com>
25971 * math/libm-test.inc (fma_test): Add some more tests.
25972 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25975 2010-10-15 Andreas Schwab <schwab@redhat.com>
25977 * scripts/data/localplt-s390-linux-gnu.data: New file.
25978 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25980 2010-10-13 Jakub Jelinek <jakub@redhat.com>
25983 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25984 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25986 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25988 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25990 if one of x and y is very large and the other is subnormal.
25991 * sysdeps/s390/fpu/s_fmaf.c: New file.
25992 * sysdeps/s390/fpu/s_fma.c: New file.
25993 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25994 * sysdeps/powerpc/fpu/s_fma.S: New file.
25995 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25996 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25997 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25999 2010-10-12 Jakub Jelinek <jakub@redhat.com>
26002 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26004 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26005 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26006 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26007 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26008 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26009 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26010 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26012 2010-10-12 Ulrich Drepper <drepper@redhat.com>
26015 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26016 * posix/bug-regex31.input: Add test case.
26018 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26020 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26021 * posix/bug-regex31.input: New file.
26024 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26025 (parse_sub_exp): Fix last change, use postorder.
26027 * posix/bug-regex31.c: New file.
26028 * posix/Makefile: Add rules to build and run bug-regex31.
26030 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26033 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26036 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26037 to have entries in sys_siglist.
26040 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26043 2010-10-07 Jakub Jelinek <jakub@redhat.com>
26046 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26047 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26048 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26049 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26050 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26051 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26052 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26053 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26054 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26055 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26056 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26057 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26058 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26059 * math/ftestexcept.c (fetestexcept): Likewise.
26060 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26061 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26062 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26063 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26064 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26065 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26066 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26068 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26071 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26074 2010-10-06 Ulrich Drepper <drepper@gmail.com>
26076 * string/bug-strstr1.c: New file.
26077 * string/Makefile: Add rules to build and run bug-strstr1.
26079 2010-10-05 Eric Blake <eblake@redhat.com>
26082 * string/str-two-way.h (two_way_long_needle): Always clear memory
26083 when skipping input due to the shift table.
26085 2010-10-03 Ulrich Drepper <drepper@gmail.com>
26088 * malloc/mcheck.c: Handle large requests.
26091 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26092 for strncmp and strncasecmp.
26093 * string/stratcliff.c: Add tests for strcmp and strncmp.
26094 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26096 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26098 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26101 2010-09-30 Andreas Jaeger <aj@suse.de>
26103 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26104 (CGROUP_SUPER_MAGIC): Define.
26105 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26106 Handle btrfs and cgroup file systems.
26107 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26110 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
26112 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26113 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26115 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26118 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26119 trying to locate the ELF header.
26121 2010-09-27 Andreas Schwab <schwab@redhat.com>
26124 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26125 Mask out sign-bit copies when constructing f_fsid.
26127 2010-09-24 Petr Baudis <pasky@suse.cz>
26129 * debug/stack_chk_fail_local.c: Add missing licence exception.
26130 * debug/warning-nop.c: Likewise.
26132 2010-09-15 Joseph Myers <joseph@codesourcery.com>
26134 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26135 implementing getdents64 using getdents syscall, set d_type if
26136 __ASSUME_GETDENTS32_D_TYPE.
26138 2010-09-16 Andreas Schwab <schwab@redhat.com>
26140 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26141 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26143 2010-09-21 Ulrich Drepper <drepper@redhat.com>
26146 * posix/unistd.h: Undo change of feature selection for ftruncate from
26149 2010-09-20 Ulrich Drepper <drepper@redhat.com>
26151 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26154 2010-09-20 Andreas Schwab <schwab@redhat.com>
26156 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26158 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26160 2010-09-14 Andreas Schwab <schwab@redhat.com>
26162 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26163 variables after CHECK_SP call.
26164 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26166 2010-09-13 Andreas Schwab <schwab@redhat.com>
26167 Ulrich Drepper <drepper@redhat.com>
26169 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26170 re-relocationg ld.so.
26171 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26172 _dl_init_paths call.
26173 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26176 2010-09-14 Ulrich Drepper <drepper@redhat.com>
26178 * resolv/res_init.c (__res_vinit): Count the default server we added.
26180 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26181 Ulrich Drepper <drepper@redhat.com>
26184 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26185 (____longjmp_chk): Use %ebx for saving value across system call.
26188 2010-09-06 Andreas Schwab <schwab@redhat.com>
26190 * manual/Makefile: Don't mix pattern rules with normal rules.
26192 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26194 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26196 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26197 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26198 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26199 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26200 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26203 2010-09-04 Ulrich Drepper <drepper@redhat.com>
26206 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26207 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26209 2010-09-02 Ulrich Drepper <drepper@redhat.com>
26211 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26212 * sysdeps/x86_64/addmul_1.S: Likewise.
26213 * sysdeps/x86_64/lshift.S: Likewise.
26214 * sysdeps/x86_64/mul_1.S: Likewise.
26215 * sysdeps/x86_64/rshift.S: Likewise.
26216 * sysdeps/x86_64/sub_n.S: Likewise.
26217 * sysdeps/x86_64/submul_1.S: Likewise.
26219 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26221 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26222 Define __sched_param instead of SCHED_* and sched_param when
26223 <bits/sched.h> is included with __need_schedparam defined.
26224 * bits/sched.h [__need_schedparam]
26225 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26226 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26227 (__defined_schedparam): Define to 1.
26228 (__sched_param): New structure, identical to sched_param.
26229 (__need_schedparam): Undefine.
26231 2010-08-31 Mike Frysinger <vapier@gentoo.org>
26233 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26234 (epoll_create1): Declare.
26236 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26238 2010-08-31 Andreas Schwab <schwab@redhat.com>
26241 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26242 shifting retval into place.
26244 2010-09-01 Ulrich Drepper <drepper@redhat.com>
26246 * nis/rpcsvc/nis.h: Update copyright notice.
26247 * nis/rpcsvc/nis.x: Likewise.
26248 * nis/rpcsvc/nis_callback.h: Likewise.
26249 * nis/rpcsvc/nis_callback.x: Likewise.
26250 * nis/rpcsvc/nis_object.x: Likewise.
26251 * nis/rpcsvc/nis_tags.h: Likewise.
26252 * nis/rpcsvc/yp.h: Likewise.
26253 * nis/rpcsvc/yp.x: Likewise.
26254 * nis/rpcsvc/ypupd.h: Likewise.
26255 * nis/yp_xdr.c: Likewise.
26256 * nis/ypupdate_xdr.c: Likewise.
26258 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26259 mainly the body of pmap_getport. Add parameters to specify timeouts.
26260 (pmap_getport): Use __libc_rpc_getport.
26261 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26262 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26263 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26265 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26270 2010-08-27 Roland McGrath <roland@redhat.com>
26272 * sysdeps/i386/i686/multiarch/Makefile
26273 (CFLAGS-varshift.c): New variable.
26275 2010-08-27 Ulrich Drepper <drepper@redhat.com>
26277 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26278 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26280 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26282 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26284 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26286 * sysdeps/x86_64/strlen.S: Unroll the loop.
26287 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26288 strlen-sse2 strlen-sse2-bsf.
26289 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26290 __strlen_no_bsf if bit_Slow_BSF is set.
26291 (__strlen_sse42): Removed.
26292 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26293 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26295 2010-08-25 Roland McGrath <roland@redhat.com>
26297 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26298 * sysdeps/x86_64/multiarch/varshift.c: New file.
26299 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26300 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26301 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26302 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26304 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26307 strlen-sse2 strlen-sse2-bsf.
26308 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26309 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26310 (__strlen_sse2): Removed.
26311 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26312 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26314 bit_Slow_BSF for Atom.
26315 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26316 (index_Slow_BSF): Define.
26317 (HAS_SLOW_BSF): Define.
26319 2010-08-25 Ulrich Drepper <drepper@redhat.com>
26322 * resolv/res_init.c (__res_vinit): When no server address at all
26323 is given default to loopback.
26325 2010-08-24 Roland McGrath <roland@redhat.com>
26327 * configure.in: Remove config-name.h generation.
26328 * configure: Regenerated.
26329 * config-name.in: File removed.
26330 * scripts/config-uname.sh: New file.
26331 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26332 ($(objdir)config-name.h): New target.
26334 * sunrpc/rpc_parse.h: Avoid nested comment.
26336 2010-08-24 Richard Henderson <rth@redhat.com>
26337 Ulrich Drepper <drepper@redhat.com>
26338 H.J. Lu <hongjiu.lu@intel.com>
26340 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26342 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26343 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26344 _mm_alignr_epi8 with _mm_loadu_si128.
26345 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26346 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26347 (__m128i_shift_right): Removed.
26348 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26349 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26350 * sysdeps/x86_64/multiarch/varshift.h: New file.
26351 * sysdeps/x86_64/multiarch/varshift.S: New file.
26353 2010-08-21 Mike Frysinger <vapier@gentoo.org>
26355 * configure.in: Move assembler checks to before sysdep dir checking.
26357 2010-08-20 Petr Baudis <pasky@suse.cz>
26359 * LICENSES: Sync the sunrpc license.
26361 2010-08-19 Ulrich Drepper <drepper@redhat.com>
26363 * sunrpc/auth_des.c: Update copyright notice once again.
26364 * sunrpc/auth_none.c: Likewise.
26365 * sunrpc/auth_unix.c: Likewise.
26366 * sunrpc/authdes_prot.c: Likewise.
26367 * sunrpc/authuxprot.c: Likewise.
26368 * sunrpc/bindrsvprt.c: Likewise.
26369 * sunrpc/clnt_gen.c: Likewise.
26370 * sunrpc/clnt_perr.c: Likewise.
26371 * sunrpc/clnt_raw.c: Likewise.
26372 * sunrpc/clnt_simp.c: Likewise.
26373 * sunrpc/clnt_tcp.c: Likewise.
26374 * sunrpc/clnt_udp.c: Likewise.
26375 * sunrpc/clnt_unix.c: Likewise.
26376 * sunrpc/des_crypt.c: Likewise.
26377 * sunrpc/des_soft.c: Likewise.
26378 * sunrpc/get_myaddr.c: Likewise.
26379 * sunrpc/getrpcport.c: Likewise.
26380 * sunrpc/key_call.c: Likewise.
26381 * sunrpc/key_prot.c: Likewise.
26382 * sunrpc/openchild.c: Likewise.
26383 * sunrpc/pm_getmaps.c: Likewise.
26384 * sunrpc/pm_getport.c: Likewise.
26385 * sunrpc/pmap_clnt.c: Likewise.
26386 * sunrpc/pmap_prot.c: Likewise.
26387 * sunrpc/pmap_prot2.c: Likewise.
26388 * sunrpc/pmap_rmt.c: Likewise.
26389 * sunrpc/rpc/auth.h: Likewise.
26390 * sunrpc/rpc/auth_unix.h: Likewise.
26391 * sunrpc/rpc/clnt.h: Likewise.
26392 * sunrpc/rpc/des_crypt.h: Likewise.
26393 * sunrpc/rpc/key_prot.h: Likewise.
26394 * sunrpc/rpc/netdb.h: Likewise.
26395 * sunrpc/rpc/pmap_clnt.h: Likewise.
26396 * sunrpc/rpc/pmap_prot.h: Likewise.
26397 * sunrpc/rpc/pmap_rmt.h: Likewise.
26398 * sunrpc/rpc/rpc.h: Likewise.
26399 * sunrpc/rpc/rpc_des.h: Likewise.
26400 * sunrpc/rpc/rpc_msg.h: Likewise.
26401 * sunrpc/rpc/svc.h: Likewise.
26402 * sunrpc/rpc/svc_auth.h: Likewise.
26403 * sunrpc/rpc/types.h: Likewise.
26404 * sunrpc/rpc/xdr.h: Likewise.
26405 * sunrpc/rpc_clntout.c: Likewise.
26406 * sunrpc/rpc_cmsg.c: Likewise.
26407 * sunrpc/rpc_common.c: Likewise.
26408 * sunrpc/rpc_cout.c: Likewise.
26409 * sunrpc/rpc_dtable.c: Likewise.
26410 * sunrpc/rpc_hout.c: Likewise.
26411 * sunrpc/rpc_main.c: Likewise.
26412 * sunrpc/rpc_parse.c: Likewise.
26413 * sunrpc/rpc_parse.h: Likewise.
26414 * sunrpc/rpc_prot.c: Likewise.
26415 * sunrpc/rpc_sample.c: Likewise.
26416 * sunrpc/rpc_scan.c: Likewise.
26417 * sunrpc/rpc_scan.h: Likewise.
26418 * sunrpc/rpc_svcout.c: Likewise.
26419 * sunrpc/rpc_tblout.c: Likewise.
26420 * sunrpc/rpc_util.c: Likewise.
26421 * sunrpc/rpc_util.h: Likewise.
26422 * sunrpc/rpcinfo.c: Likewise.
26423 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26424 * sunrpc/rpcsvc/key_prot.x: Likewise.
26425 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26426 * sunrpc/rpcsvc/mount.x: Likewise.
26427 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26428 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26429 * sunrpc/rpcsvc/rex.x: Likewise.
26430 * sunrpc/rpcsvc/rstat.x: Likewise.
26431 * sunrpc/rpcsvc/rusers.x: Likewise.
26432 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26433 * sunrpc/rpcsvc/spray.x: Likewise.
26434 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26435 * sunrpc/rtime.c: Likewise.
26436 * sunrpc/svc.c: Likewise.
26437 * sunrpc/svc_auth.c: Likewise.
26438 * sunrpc/svc_authux.c: Likewise.
26439 * sunrpc/svc_raw.c: Likewise.
26440 * sunrpc/svc_run.c: Likewise.
26441 * sunrpc/svc_simple.c: Likewise.
26442 * sunrpc/svc_tcp.c: Likewise.
26443 * sunrpc/svc_udp.c: Likewise.
26444 * sunrpc/svc_unix.c: Likewise.
26445 * sunrpc/svcauth_des.c: Likewise.
26446 * sunrpc/xcrypt.c: Likewise.
26447 * sunrpc/xdr.c: Likewise.
26448 * sunrpc/xdr_array.c: Likewise.
26449 * sunrpc/xdr_float.c: Likewise.
26450 * sunrpc/xdr_mem.c: Likewise.
26451 * sunrpc/xdr_rec.c: Likewise.
26452 * sunrpc/xdr_ref.c: Likewise.
26453 * sunrpc/xdr_sizeof.c: Likewise.
26454 * sunrpc/xdr_stdio.c: Likewise.
26456 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26459 2010-08-19 Andreas Schwab <schwab@redhat.com>
26461 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26463 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
26465 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26466 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26467 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26468 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26469 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26470 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26471 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26472 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26473 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26474 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26475 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26476 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26477 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26478 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26480 2010-07-26 Anton Blanchard <anton@samba.org>
26482 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26483 * malloc/arena.c (heap_trim): Likewise.
26485 2010-08-16 Ulrich Drepper <drepper@redhat.com>
26487 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26489 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26490 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26492 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26494 * sysdeps/i386/elf/Makefile: New file.
26496 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26498 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26499 from fanotify_init.
26500 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26501 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26503 2010-08-15 Ulrich Drepper <drepper@redhat.com>
26505 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26507 * sysdeps/multiarch/strcmp.S: Likewise.
26509 2010-08-14 Ulrich Drepper <drepper@redhat.com>
26511 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26512 strncase_l-nonascii.
26513 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26514 Add strncase_l-ssse3.
26515 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26516 * sysdeps/x86_64/strcmp.S: Likewise.
26517 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26518 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26519 * sysdeps/x86_64/strncase.S: New file.
26520 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26521 * sysdeps/x86_64/strncase_l.S: New file.
26522 * string/Makefile (strop-tests): Add strncasecmp.
26523 * string/test-strncasecmp.c: New file.
26525 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26528 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26529 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26531 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26533 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26535 2010-08-12 Ulrich Drepper <drepper@redhat.com>
26537 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26538 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26539 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26541 2010-05-01 Alan Modra <amodra@gmail.com>
26543 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26544 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26545 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26546 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26547 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26548 tidying. Don't tail-call __sigjmp_save for static lib.
26549 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26551 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26552 (CALL_MCOUNT): Add eh info, and nop after bl.
26553 (TAIL_CALL_SYSCALL_ERROR): New macro.
26554 (PSEUDO_RET): Use it.
26555 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26556 Correct save location of integer regs and cr.
26557 (_dl_profile_resolve): Correct cr save location. Delete nops
26558 after bl when SHARED. Reduce cfi size a little by better
26559 placement of cfi directives.
26560 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26561 make a stack frame. Instead use parm save area as a temp.
26562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26563 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26565 Don't make a stack frame for parent, use parm save area.
26566 Increase child stack frame to 112 bytes. Don't save unused reg,
26567 and adjust reg usage. Set up cfi on error recovery and
26568 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26570 (__makecontext): Add dummy nop after jump to exit.
26571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26572 Use correct parm save area and cr save, reduce stack frame.
26573 Correct cfi for possible PSEUDO_RET frame setup.
26574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26575 Branch to local label emitted by PSEUDO_RET rather than
26578 2010-08-12 Andreas Schwab <schwab@redhat.com>
26581 * locale/programs/locale.c (print_assignment): New function.
26582 (show_locale_vars): Use it.
26584 2010-08-11 Ulrich Drepper <drepper@redhat.com>
26586 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26588 (struct statfs64): Likewise.
26589 (_STATFS_F_FLAGS): Define.
26590 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26591 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26592 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26593 (ST_VALID): Define locally.
26594 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26595 __statvfs_getflags, use the provided value.
26596 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26597 __ASSUME_STATFS_F_FLAGS.
26599 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26601 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26602 Add sys/fanotify.h.
26603 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26604 fanotify_mask for GLIBC_2.13.
26605 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26606 fanotify_init and fanotify_mark.
26607 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26608 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26610 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26612 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26613 prlimit64 for GLIBC_2.13.
26614 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26616 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26619 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26620 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26621 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26622 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26624 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26627 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26628 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26630 * nss/Makefile: Add rules to build and run tst-nss-test1.
26631 * shlib-versions: Add entry for libnss_test1.
26632 * nss/nss_test1.c: New file.
26633 * nss/tst-nss-test1.c: New file.
26635 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26636 (__nss_configure_lookup): Set appropriate entry in
26637 __nss_configure_lookup to true.
26638 * nss/nsswitch.h: Define enum with indeces of databases in
26639 databases and __nss_database_custom arrays. Declare
26640 __nss_database_custom.
26641 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26642 to avoid using nscd when custom rules are installed.
26643 * nss/getXXbyYY_r.c: Likewise.
26644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26646 * nss/nss_files/files-parse.c: Whitespace fixes.
26648 2010-08-09 Ulrich Drepper <drepper@redhat.com>
26651 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26652 * posix/fnmatch_loop.c: Likewise.
26654 2010-07-17 Andi Kleen <ak@linux.intel.com>
26656 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26657 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26658 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26659 * Versions.def [GLIBC_2.13]: Add.
26661 2010-08-06 Ulrich Drepper <drepper@redhat.com>
26663 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26664 Also fail if tpwd after pwuid call is NULL.
26666 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26668 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26669 when converting to ms.
26671 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26673 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26674 EOPNOTSUPP errors with ENOTTY.
26675 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26676 EOPNOTSUPP errors with ENOTTY.
26678 2010-07-31 Ulrich Drepper <drepper@redhat.com>
26680 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26681 Add strcasecmp_l-ssse3.
26682 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26684 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26685 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26686 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26688 2010-07-30 Ulrich Drepper <drepper@redhat.com>
26690 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26692 * string/Makefile (strop-tests): Add strcasecmp.
26693 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26694 strcasecmp_l-nonascii.
26695 (gen-as-const-headers): Add locale-defines.sym.
26696 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26697 * sysdeps/x86_64/strcasecmp.S: New file.
26698 * sysdeps/x86_64/strcasecmp_l.S: New file.
26699 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26700 * sysdeps/x86_64/locale-defines.sym: New file.
26701 * string/test-strcasecmp.c: New file.
26703 * string/test-strcasestr.c: Test both ends of the range of characters.
26704 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26706 2010-07-29 Roland McGrath <roland@redhat.com>
26709 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26711 2010-07-27 Ulrich Drepper <drepper@redhat.com>
26713 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26716 2010-07-27 Andreas Schwab <schwab@redhat.com>
26718 * manual/memory.texi (Malloc Tunable Parameters): Document
26721 2010-07-26 Roland McGrath <roland@redhat.com>
26724 * configure.in (-fgnu89-inline check): Set and substitute
26725 gnu89_inline, not libc_cv_gnu89_inline.
26726 * configure: Regenerated.
26727 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26729 2010-07-26 Ulrich Drepper <drepper@redhat.com>
26731 * string/test-strnlen.c: New file.
26732 * string/Makefile (strop-tests): Add strnlen.
26733 * string/tester.c (test_strnlen): Add a few more test cases.
26734 * string/tst-strlen.c: Better error reporting.
26736 * sysdeps/x86_64/strnlen.S: New file.
26738 2010-07-24 Ulrich Drepper <drepper@redhat.com>
26740 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26741 lower-latency instructions.
26743 2010-07-23 Ulrich Drepper <drepper@redhat.com>
26745 * string/test-strcasestr.c: New file.
26746 * string/test-strstr.c: New file.
26747 * string/Makefile (strop-tests): Add strstr and strcasestr.
26748 * string/str-two-way.h: Don't undefine MAX.
26749 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26751 2010-07-21 Andreas Schwab <schwab@redhat.com>
26753 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26754 strcasestr-nonascii.
26755 (CFLAGS-strcasestr-nonascii.c): Define.
26756 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26757 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26758 Remove unused attribute.
26760 2010-07-20 Roland McGrath <roland@redhat.com>
26762 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26763 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26764 ld.so.cache was broken. With it, there is no way to disable dsocaps
26765 like LD_HWCAP_MASK can disable hwcaps.
26767 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26769 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26771 2010-07-16 Ulrich Drepper <drepper@redhat.com>
26773 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26774 call in strcasestr.
26775 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26776 __strcasestr_sse42_nonascii.
26777 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26778 strcasestr-nonascii.c.
26779 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26781 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
26783 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26784 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26785 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26786 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26788 2010-07-09 Ulrich Drepper <drepper@redhat.com>
26790 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26793 2010-07-06 Andreas Schwab <schwab@redhat.com>
26796 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26799 2010-07-06 Ulrich Drepper <drepper@redhat.com>
26801 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26802 _PC_PIPE_BUF using F_GETPIPE_SZ.
26804 2010-07-05 Roland McGrath <roland@redhat.com>
26806 * manual/arith.texi (Rounding Functions): Fix rint description
26807 implicit in round description.
26809 2010-07-02 Ulrich Drepper <drepper@redhat.com>
26811 * elf/Makefile: Fix linking for a few tests to make recent linker
26814 2010-06-30 Andreas Schwab <schwab@redhat.com>
26816 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26817 $(common-objpfx)libc_nonshared.a.
26819 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
26821 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26822 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26823 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26824 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26825 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26826 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26827 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26828 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26843 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26844 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26845 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26846 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26847 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26848 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26849 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26850 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26851 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26852 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26853 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26854 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26870 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26872 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26873 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26874 * string/memmove.c (memmove): Renamed to ...
26875 (MEMMOVE): ...this. Default to memmove.
26876 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26877 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26879 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26880 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26881 mempcpy-ssse3-back memmove-ssse3-back.
26882 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26883 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26884 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26885 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26886 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26887 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26888 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26889 * sysdeps/x86_64/multiarch/memmove.c: New file.
26890 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26891 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26892 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26893 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26894 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26895 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26897 (index_Fast_Copy_Backward): Define.
26898 (HAS_ARCH_FEATURE): Define.
26899 (HAS_FAST_REP_STRING): Define.
26900 (HAS_FAST_COPY_BACKWARD): Define.
26902 2010-06-21 Andreas Schwab <schwab@redhat.com>
26904 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26905 Restore proper fallback handling.
26907 2010-06-19 Ulrich Drepper <drepper@redhat.com>
26910 * posix/group_member.c (__group_member): Correct checking loop.
26912 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26913 OOM in getpwuid_r correctly. Return error number when the caller
26914 should return, otherwise -1.
26915 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26916 call returning > 0 value.
26917 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26919 2010-06-07 Andreas Schwab <schwab@redhat.com>
26921 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26922 libc_nonshared.a from targets in modules-names.
26924 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26926 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26929 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
26931 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26932 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26933 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26934 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26936 2010-06-02 Andreas Schwab <schwab@redhat.com>
26938 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26940 2010-06-14 Ulrich Drepper <drepper@redhat.com>
26942 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26944 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26945 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26946 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26947 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26948 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26949 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26951 2010-06-14 Roland McGrath <roland@redhat.com>
26953 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26955 2010-06-07 Jakub Jelinek <jakub@redhat.com>
26957 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26958 __REDIRECT followed by __THROW.
26959 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26960 * posix/getopt.h (getopt): Likewise.
26962 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26964 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26965 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26966 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26968 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26969 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26971 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
26973 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26975 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26979 Properly check family and model.
26981 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26983 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26985 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
26987 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26989 2010-05-21 Ulrich Drepper <drepper@redhat.com>
26991 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26994 2010-05-19 Andreas Schwab <schwab@redhat.com>
26996 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26999 2010-05-21 Andreas Schwab <schwab@redhat.com>
27001 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27002 and internal_recvmmsg.
27003 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27004 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27005 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27006 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27008 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27009 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27010 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27012 2010-05-20 Andreas Schwab <schwab@redhat.com>
27014 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27016 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
27018 POWER7 optimizations.
27019 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27020 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27022 2010-05-19 Ulrich Drepper <drepper@redhat.com>
27024 * version.h: Update for 2.13 development version.
27026 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
27028 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27029 exceptions. Return 0.
27031 2010-05-07 Roland McGrath <roland@redhat.com>
27033 * elf/ldconfig.c (main): Add a const.
27035 2010-05-06 Ulrich Drepper <drepper@redhat.com>
27037 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27038 (args_options): Add no-idn option.
27039 (ahosts_keys_int): Add idn_flags to ai_flags.
27040 (parse_option): Handle 'i' option to clear idn_flags.
27042 * malloc/malloc.c (_int_free): Possible race in the most recently
27043 added check. Only act on the data if no current modification
27046 See ChangeLog.17 for earlier changes.