1 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2 Richard Henderson <rth@redhat.com>
3 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5 * Makefile.in (bench): New target.
6 * NEWS: Mention the benchmark framework.
7 * Rules (bench): Likewise.
8 (binaries-bench): Generate binaries for functions to
10 * benchtests/Makefile: New makefile for benchmark tests.
11 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13 * benchtests/exp-inputs: New input file for EXP function.
14 * benchtests/pow-inputs: New input file for POW function.
15 * scripts/bench.pl: New script to generate source files for
18 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22 computations on mantissa. Use macros for rounding and
26 (add_magnitudes): Likewise.
27 (sub_magnitudes): Likewise.
30 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31 powers of two in terms of TWOPOW macro.
32 (mp_no): Make type of mantissa as MANTISSA_T.
33 [!RADIXI]: Define RADIXI.
34 [!TWO52]: Define TWO52.
35 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37 * manual/nptl.texi (cindex): Modify threads to pthreads.
39 2013-03-15 Joseph Myers <joseph@codesourcery.com>
41 * sysdeps/x86_64/preconfigure: Regenerated.
43 2013-03-14 Joseph Myers <joseph@codesourcery.com>
46 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
48 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
49 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
51 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
52 * math/libm-test.inc (j0_test): Do not allow one spurious
56 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
58 * manual/Makefile (chapters): Add nptl.
59 * manual/debug.texi (Debugging Support): Add link to Threads
61 * manual/nptl.texi: New file.
63 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
65 2013-03-14 Petr Baudis <pasky@ucw.cz>
67 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
68 for non-NULL pointer before the memory validity test. Pointed
69 out by Holger Brunck <holger.brunck@keymile.com>.
71 2013-03-13 Andreas Schwab <schwab@suse.de>
73 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
76 2013-03-13 Joseph Myers <joseph@codesourcery.com>
78 * timezone/zic.c: Update from tzcode 2013b.
80 2013-03-12 Carlos O'Donell <carlos@redhat.com>
82 * manual/install.texi (Configuring and compiling):
83 Mention i686 and i586.
84 * INSTALL: Regenerate.
86 2013-03-12 Roland McGrath <roland@hack.frob.com>
88 * sysdeps/init_array/elf-init.c: New file.
90 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
91 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
93 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
94 __gmon_start__ as global, but as static with a .preinit_array pointer.
95 * sysdeps/init_array/gmon-start.c: New file. Use that.
96 * sysdeps/init_array/crti.S: New file, empty except for comments.
97 * sysdeps/init_array/crtn.S: Likewise.
99 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
101 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
104 Remove Prefer_SSE_for_memop.
105 * sysdeps/x86_64/multiarch/init-arch.h: Remove
106 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
107 HAS_PREFER_SSE_FOR_MEMOP.
108 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
110 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
111 Remove bzero, memset ifunc support.
112 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
113 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
114 * sysdeps/x86_64/multiarch/memset.S: Likewise.
115 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
117 2013-03-11 Andreas Schwab <schwab@suse.de>
120 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
123 (GLIBC_2.16): Remove pthread_atfork.
125 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
127 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
128 (ptestcases.h): Likewise.
130 2013-03-08 Roland McGrath <roland@hack.frob.com>
132 * Makeconfig ($(common-objpfx)config.status): Depend on
133 sysdeps/*/preconfigure{,.in} too.
135 2013-03-08 Joseph Myers <joseph@codesourcery.com>
137 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
138 (__free_hook): Use void * instead of __malloc_ptr_t.
139 (__malloc_hook): Likewise.
140 (__realloc_hook): Likewise.
141 (__memalign_hook): Likewise.
142 (__after_morecore_hook): Likewise.
143 * malloc/arena.c (save_malloc_hook): Likewise.
144 (save_free_hook): Likewise.
145 * malloc/hooks.c (malloc_hook_ini): Likewise.
146 (realloc_hook_ini): Likewise.
147 (memalign_hook_ini): Likewise.
148 * malloc/malloc.c (malloc_hook_ini): Likewise.
149 (realloc_hook_ini): Likewise.
150 (memalign_hook_ini): Likewise.
151 (__free_hook): Likewise.
152 (__malloc_hook): Likewise.
153 (__realloc_hook): Likewise.
154 (__memalign_hook): Likewise.
155 (__libc_malloc): Likewise.
156 (__libc_free): Likewise.
157 (__libc_realloc): Likewise.
158 (__libc_memalign): Likewise.
159 (__libc_valloc): Likewise.
160 (__libc_pvalloc): Likewise.
161 (__libc_calloc): Likewise.
162 (__posix_memalign): Likewise.
163 * malloc/morecore.c (__sbrk): Likewise.
164 (__default_morecore): Likewise.
166 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
168 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
169 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
172 * malloc/malloc.h (__malloc_size_t): Remove macro.
173 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
175 (old_memalign_hook): Likewise.
176 (old_realloc_hook): Likewise.
177 (struct hdr): Likewise.
179 (mallochook): Likewise.
180 (memalignhook): Likewise.
181 (reallochook): Likewise.
182 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
183 (tr_old_realloc_hook): Likewise.
184 (tr_old_memalign_hook): Likewise.
185 (tr_mallochook): Likewise.
186 (tr_reallochook): Likewise.
187 (tr_memalignhook): Likewise.
189 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
191 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
192 default_ldbl_pack and using as default implementation.
193 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
195 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
196 redundant definition.
197 (ldbl_insert_mantissa): Likewise.
198 (ldbl_canonicalize): Likewise.
199 (ldbl_nearbyint): Likewise.
200 (ldbl_pack): Rename to ldbl_pack_ppc.
201 (ldbl_unpack): Rename to ldbl_unpack_ppc.
202 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
203 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
205 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
207 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
208 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
209 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
210 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
211 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
212 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
213 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
214 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
216 2013-03-07 Andreas Jaeger <aj@suse.de>
218 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
221 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
223 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
224 Include mpa.h and declare __MPEXP.
225 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
226 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
227 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
228 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
229 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
230 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
231 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
233 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
234 (__slowpow): Use long double EXPL and LOGL functions to
236 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
237 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
238 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
239 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
240 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
241 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
244 intermediate variable to calculate exponent.
246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
250 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
251 [!NO__SQR]: Define __sqr.
252 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
253 and NO__SQR. Remove all code except __mul and __sqr. Include
254 sysdeps/ieee754/dbl-64/mpa.c.
255 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
258 * posix/Makefile (tests): Add tst-pathconf.
259 * posix/tst-pathconf.c: New test case.
260 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
262 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
264 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
266 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
268 2013-03-06 Andreas Jaeger <aj@suse.de>
270 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
271 definition via __MAP_ANONYMOUS.
273 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
274 it's not part of Linux headers.
276 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
277 (MAP_HUGE_MASK): Define.
279 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
281 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
282 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
284 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
285 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
287 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
288 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
290 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
292 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
293 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
294 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
295 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
296 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
297 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
299 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
302 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
303 Handle f2fs and efivarfs.
305 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
308 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
309 (EFIVARFS_MAGIC): Add.
310 (F2FS_LINK_MAX): Add.
312 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
314 * stdio-common/vfprintf.c: Replace __builtin_expect with
317 2013-03-06 Joseph Myers <joseph@codesourcery.com>
320 * sysdeps/generic/bp-sym.h: Remove file.
321 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
322 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
323 <bp-sym.h> and <bp-asm.h>.
324 (__longjmp): Don't use BP_SYM.
325 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
327 (memcpy): Don't use BP_SYM.
328 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
329 <bp-sym.h> and <bp-asm.h>.
330 (memcpy): Don't use BP_SYM.
331 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
333 (memcpy): Don't use BP_SYM.
334 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
336 (memset): Don't use BP_SYM.
337 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
338 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
339 (__bzero): Don't use BP_SYM.
340 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
341 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
342 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
343 <bp-sym.h> and <bp-asm.h>.
344 (memcmp): Don't use BP_SYM. Remove comment about bounded
346 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
347 <bp-sym.h> and <bp-asm.h>.
348 (memcpy): Don't use BP_SYM.
349 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
350 <bp-sym.h> and <bp-asm.h>.
351 (memset): Don't use BP_SYM.
352 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
353 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
354 (__bzero): Don't use BP_SYM.
355 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
356 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
357 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
358 <bp-sym.h> and <bp-asm.h>.
359 (strncmp): Don't use BP_SYM. Remove comment about bounded
361 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
362 <bp-sym.h> and <bp-asm.h>.
363 (memcpy): Don't use BP_SYM.
364 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
365 <bp-sym.h> and <bp-asm.h>.
366 (memset): Don't use BP_SYM.
367 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
368 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
369 (__bzero): Don't use BP_SYM.
370 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
371 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
372 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
373 <bp-sym.h> and <bp-asm.h>.
374 (__memchr): Don't use BP_SYM.
375 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
376 <bp-sym.h> and <bp-asm.h>.
377 (memcmp): Don't use BP_SYM. Remove comment about bounded
379 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
380 <bp-sym.h> and <bp-asm.h>.
381 (memcpy): Don't use BP_SYM.
382 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
383 <bp-sym.h> and <bp-asm.h>.
384 (__mempcpy): Don't use BP_SYM.
385 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
386 <bp-sym.h> and <bp-asm.h>.
387 (__memrchr): Don't use BP_SYM.
388 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
389 <bp-sym.h> and <bp-asm.h>.
390 (memset): Don't use BP_SYM.
392 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
393 <bp-sym.h> and <bp-asm.h>.
394 (__rawmemchr): Don't use BP_SYM.
395 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
396 <bp-sym.h> and <bp-asm.h>.
397 (__STRCMP): Don't use BP_SYM.
398 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
399 <bp-sym.h> and <bp-asm.h>.
400 (strchr): Don't use BP_SYM.
401 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
402 <bp-sym.h> and <bp-asm.h>.
403 (__strchrnul): Don't use BP_SYM.
404 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
405 <bp-sym.h> and <bp-asm.h>.
406 (strlen): Don't use BP_SYM.
407 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
408 <bp-sym.h> and <bp-asm.h>.
409 (strncmp): Don't use BP_SYM. Remove comment about bounded
411 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
412 <bp-sym.h> and <bp-asm.h>.
413 (__strnlen): Don't use BP_SYM.
414 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
415 <bp-sym.h> and <bp-asm.h>.
416 (__GI__setjmp): Don't use BP_SYM.
418 (__sigsetjmp): Likewise.
419 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
420 (L(start_addresses)): Don't use BP_SYM.
422 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
424 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
425 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
426 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
427 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
428 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
430 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
431 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
432 about bounded pointers.
433 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
434 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
435 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
437 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
438 about bounded pointers. Remove GKM FIXME comments.
439 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
440 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
442 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
443 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
444 Remove GKM FIXME comments.
445 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
446 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
447 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
449 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
450 about bounded pointers. Remove GKM FIXME comment.
451 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
453 (strncmp): Don't use BP_SYM. Remove comment about bounded
455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
456 <bp-sym.h> and <bp-asm.h>.
457 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
459 <bp-sym.h> and <bp-asm.h>.
460 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
463 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
465 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
468 2013-03-05 David S. Miller <davem@davemloft.net>
470 * po/es.po: Update from translation team.
472 2013-03-05 Andreas Jaeger <aj@suse.de>
474 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
476 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
478 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
479 <bits/mman-linux.h> to end of file.
480 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
482 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
483 <bits/mman-linux.h> to end of file.
484 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
486 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
487 <bits/mman-linux.h> to end of file.
489 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
490 (MCL_CURRENT, MCL_FUTURE): Define here.
492 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
495 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
497 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
499 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
501 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
502 fourth parameter needed for rt_sigprocmask syscall.
503 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
504 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
505 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
506 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
507 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
508 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
510 2013-03-04 Joseph Myers <joseph@codesourcery.com>
513 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
514 comment about bounded pointers.
515 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
516 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
518 2013-03-04 Andreas Jaeger <aj@suse.de>
520 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
523 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
524 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
525 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
526 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
527 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
528 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
530 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
533 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
534 __ieee754_sqrl instead of __sqrl.
536 2013-03-01 Joseph Myers <joseph@codesourcery.com>
538 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
539 * sysdeps/powerpc/fpu_control.h: ... here.
540 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
541 * sysdeps/powerpc/bits/fenvinline.h: ... here.
542 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
543 * sysdeps/powerpc/bits/mathinline.h: ... here.
545 2013-03-01 Roland McGrath <roland@hack.frob.com>
547 * elf/dl-hwcaps.c (_dl_important_hwcaps):
548 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
549 to just [NEED_DL_SYSINFO_DSO].
550 * elf/dl-support.c: Likewise.
551 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
552 * elf/rtld.c (dl_main): Likewise.
553 * elf/setup-vdso.h (setup_vdso): Likewise.
554 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
555 * sysdeps/unix/sysv/linux/dl-sysdep.c
556 (_dl_discover_osversion): Likewise.
558 2013-03-01 Carlos O'Donell <carlos@redhat.com>
560 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
561 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
563 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
565 * NEWS: Mention libm performance improvements and non-x86 PI
568 * csu/libc-start.c (__pthread_initialize_minimal): Change
570 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
572 2013-02-28 Joseph Myers <joseph@codesourcery.com>
575 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
576 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
577 <bp-sym.h> and <bp-asm.h>.
578 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
579 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
581 (memcpy): Don't use BP_SYM.
582 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
584 (__mpn_add_n): Don't use BP_SYM.
585 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
586 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
588 (__mpn_addmul_1): Don't use BP_SYM.
589 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
590 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
592 (_setjmp): Don't use BP_SYM.
593 (__novmx_setjmp): Likewise.
594 (__GI__setjmp): Likewise.
595 (__vmx_setjmp): Likewise.
596 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
598 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
599 (__bzero): Don't use BP_SYM.
600 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
601 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
602 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
603 <bp-sym.h> and <bp-asm.h>.
604 (memcpy): Don't use BP_SYM.
605 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
606 <bp-sym.h> and <bp-asm.h>.
607 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
608 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
609 <bp-sym.h> and <bp-asm.h>.
610 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
611 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
613 (__mpn_lshift): Don't use BP_SYM.
614 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
615 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
617 (memset): Don't use BP_SYM.
618 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
619 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
620 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
622 (__mpn_mul_1): Don't use BP_SYM.
623 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
624 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
625 <bp-sym.h> and <bp-asm.h>.
626 (memcmp): Don't use BP_SYM.
627 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
628 <bp-sym.h> and <bp-asm.h>.
629 (memcpy): Don't use BP_SYM.
630 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
631 <bp-sym.h> and <bp-asm.h>.
632 (memset): Don't use BP_SYM.
633 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
634 <bp-sym.h> and <bp-asm.h>.
635 (strncmp): Don't use BP_SYM.
636 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
637 <bp-sym.h> and <bp-asm.h>.
638 (memcpy): Don't use BP_SYM.
639 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
640 <bp-sym.h> and <bp-asm.h>.
641 (memset): Don't use BP_SYM.
642 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
643 <bp-sym.h> and <bp-asm.h>.
644 (__memchr): Don't use BP_SYM.
645 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
646 <bp-sym.h> and <bp-asm.h>.
647 (memcmp): Don't use BP_SYM.
648 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
649 <bp-sym.h> and <bp-asm.h>.
650 (memcpy): Don't use BP_SYM.
651 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
652 <bp-sym.h> and <bp-asm.h>.
653 (__mempcpy): Don't use BP_SYM.
654 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
655 <bp-sym.h> and <bp-asm.h>.
656 (__memrchr): Don't use BP_SYM.
657 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
658 <bp-sym.h> and <bp-asm.h>.
659 (memset): Don't use BP_SYM.
660 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
661 <bp-sym.h> and <bp-asm.h>.
662 (__rawmemchr): Don't use BP_SYM.
663 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
664 <bp-sym.h> and <bp-asm.h>.
665 (__STRCMP): Don't use BP_SYM.
666 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
667 <bp-sym.h> and <bp-asm.h>.
668 (strchr): Don't use BP_SYM.
669 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
670 <bp-sym.h> and <bp-asm.h>.
671 (__strchrnul): Don't use BP_SYM.
672 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
673 <bp-sym.h> and <bp-asm.h>.
674 (strlen): Don't use BP_SYM.
675 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
676 <bp-sym.h> and <bp-asm.h>.
677 (strncmp): Don't use BP_SYM.
678 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
679 <bp-sym.h> and <bp-asm.h>.
680 (__strnlen): Don't use BP_SYM.
681 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
683 (__mpn_rshift): Don't use BP_SYM.
684 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
685 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
686 <bp-sym.h> and <bp-asm.h>.
687 (__sigsetjmp): Don't use BP_SYM.
688 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
689 (L(start_addresses)): Don't use BP_SYM.
691 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
693 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
694 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
695 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
696 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
698 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
699 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
700 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
701 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
703 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
705 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
706 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
708 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
710 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
711 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
712 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
714 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
716 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
718 (strncmp): Don't use BP_SYM,
719 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
721 (__mpn_sub_n): Don't use BP_SYM.
722 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
723 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
725 (__mpn_submul_1): Don't use BP_SYM.
726 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
728 <bp-sym.h> and <bp-asm.h>.
729 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
731 <bp-sym.h> and <bp-asm.h>.
732 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
735 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
737 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
738 Use ZK to minimize writes to Z.
739 (sub_magnitudes): Simplify code a bit.
740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
741 Use ZK to minimize writes to Z.
742 (sub_magnitudes): Simplify code a bit.
744 2013-02-27 Roland McGrath <roland@hack.frob.com>
746 * csu/gmon-start.c: Add special exception to license text.
748 2013-02-27 Richard Henderson <rth@redhat.com>
750 * scripts/config.guess: Update from config.git.
751 * scripts/config.sub: Likewise.
753 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
755 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
757 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
759 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
761 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
763 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
765 2013-02-26 Roland McGrath <roland@hack.frob.com>
767 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
768 [$(build-shared = yes].
770 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
772 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
773 (__mul): Reduce iterations for calculating mantissa.
775 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
777 (__mpranred): Likewise.
780 * malloc/memusagestat.c (main): Draw graphs for heap and stack
781 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
783 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
785 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
786 Define __attribute__.
788 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
790 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
792 * posix/regex_internal.h (__attribute): Remove.
793 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
794 (re_string_context_at): Likewise.
795 (bitset_not): Use __attribute__ and mark function as possibly
797 (bitset_merge): Likewise.
798 (bitset_mask): Likewise.
799 (re_string_char_size_at): Likewise.
800 (re_string_wchar_at): Likewise.
801 (re_string_elem_size_at): Likewise.
803 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
805 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
809 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
814 (__dbl_mp): Likewise.
815 (add_magnitudes): Likewise.
816 (sub_magnitudes): Likewise.
820 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
823 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
826 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
829 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
830 up changes with default code.
831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
834 2013-02-24 Allan McRae <allan@archlinux.org>
836 * manual/socket.texi (The Internet Namespace): Order menu items
837 to match that in the file.
839 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
840 node listing of the info page menu.
842 2013-02-21 Joseph Myers <joseph@codesourcery.com>
845 * sysdeps/i386/bp-asm.h: Remove file.
846 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
847 (PARMS): Do not use macros from bp-asm.h.
851 (__mpn_add_n): Do not use BP_SYM
852 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
854 (PARMS): Do not use macros from bp-asm.h.
857 (__mpn_addmul_1): Do not use BP_SYM
858 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
860 (PARMS): Do not use macros from bp-asm.h.
862 (_setjmp): Likewise. Do not use BP_SYM.
863 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
865 (PARMS): Do not use macros from bp-asm.h.
867 (setjmp): Likewise. Do not use BP_SYM.
868 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
870 (PARMS): Do not use macros from bp-asm.h.
871 (__frexp): Do not use BP_SYM.
873 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
875 (PARMS): Do not use macros from bp-asm.h.
876 (__frexpf): Do not use BP_SYM.
878 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
880 (PARMS): Do not use macros from bp-asm.h.
881 (__frexpl): Do not use BP_SYM.
883 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
885 (PARMS): Do not use macros from bp-asm.h.
886 (__remquo): Do not use BP_SYM.
888 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
890 (PARMS): Do not use macros from bp-asm.h.
891 (__remquof): Do not use BP_SYM.
893 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
895 (PARMS): Do not use macros from bp-asm.h.
896 (__remquol): Do not use BP_SYM.
898 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
900 (PARMS): Do not use macros from bp-asm.h.
903 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
904 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
906 (PARMS): Do not use macros from bp-asm.h.
907 (strlen): Do not use BP_SYM.
908 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
910 (PARMS): Do not use macros from bp-asm.h.
914 (__mpn_add_n): Do not use BP_SYM.
915 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
917 (PARMS): Do not use macros from bp-asm.h.
920 (__mpn_addmul_1): Do not use BP_SYM.
921 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
924 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
926 (PARMS): Do not use macros from bp-asm.h.
929 (__mpn_lshift): Do not use BP_SYM.
930 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
932 (PARMS): Do not use macros from bp-asm.h.
936 (memcpy): Likewise. Do not use BP_SYM.
937 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
938 libc_hidden_def and weak_alias.
939 (mempcpy): Do not use BP_SYM in weak_alias.
940 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
942 (PARMS): Do not use macros from bp-asm.h.
945 [!BZERO_P] (CHR): Likewise.
946 (memset): Likewise. Do not use BP_SYM.
947 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
949 (PARMS): Do not use macros from bp-asm.h.
952 (__mpn_mul_1): Do not use BP_SYM.
953 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
955 (PARMS): Do not use macros from bp-asm.h.
958 (__mpn_rshift): Do not use BP_SYM.
959 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
961 (PARMS): Do not use macros from bp-asm.h.
964 (strchr): Likewise. Do not use BP_SYM.
965 (index): Do not use BP_SYM in weak_alias.
966 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
968 (PARMS): Do not use macros from bp-asm.h.
971 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
972 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
974 (PARMS): Do not use macros from bp-asm.h.
975 (strlen): Do not use BP_SYM.
976 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
978 (PARMS): Do not use macros from bp-asm.h.
982 (__mpn_sub_n): Do not use BP_SYM.
983 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
985 (PARMS): Do not use macros from bp-asm.h.
988 (__mpn_submul_1): Do not use BP_SYM.
989 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
991 (PARMS): Do not use macros from bp-asm.h.
995 (__mpn_add_n): Do not use BP_SYM.
996 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
999 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1001 (PARMS): Do not use macros from bp-asm.h.
1004 (memcmp): Do not use BP_SYM.
1005 (bcmp): Do not use BP_SYM in weak_alias.
1006 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1008 (PARMS): Do not use macros from bp-asm.h.
1012 (memcpy): Likewise. Do not use BP_SYM.
1013 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1015 (PARMS): Do not use macros from bp-asm.h.
1019 (memmove): Likewise. Do not use BP_SYM.
1020 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1022 (PARMS): Do not use macros from bp-asm.h.
1026 (__mempcpy): Likewise. Do not use BP_SYM.
1027 (mempcpy): Do not use BP_SYM in weak_alias.
1028 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1030 (PARMS): Do not use macros from bp-asm.h.
1033 [!BZERO_P] (CHR): Likewise.
1034 (memset): Likewise. Do not use BP_SYM.
1035 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1037 (PARMS): Do not use macros from bp-asm.h.
1039 (strcmp): Do not use BP_SYM.
1040 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1042 (PARMS): Do not use macros from bp-asm.h.
1045 [USE_AS_STRTOK_R] (SAVE): Likewise.
1046 (FUNCTION): Likewise. Do not use BP_SYM.
1047 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1049 (strtok_r): Likewise.
1050 (__GI___strtok_r): Likewise.
1051 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1052 (PARMS): Do not use macros from bp-asm.h.
1055 (__mpn_lshift): Do not use BP_SYM.
1056 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1057 (PARMS): Do not use macros from bp-asm.h.
1060 (__memchr): Do not use BP_SYM.
1061 (memchr): Do not use BP_SYM in weak_alias.
1062 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1063 (PARMS): Do not use macros from bp-asm.h.
1066 (memcmp): Do not use BP_SYM.
1067 (bcmp): Do not use BP_SYM in weak_alias.
1068 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1069 (PARMS): Do not use macros from bp-asm.h.
1072 (__mpn_mul_1): Do not use BP_SYM.
1073 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1075 (PARMS): Do not use macros from bp-asm.h.
1078 (__rawmemchr): Do not use BP_SYM.
1079 (rawmemchr): Do not use BP_SYM in weak_alias.
1080 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1081 (PARMS): Do not use macros from bp-asm.h.
1084 (__mpn_rshift): Do not use BP_SYM.
1085 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1086 (PARMS): Do not use macros from bp-asm.h.
1088 (__sigsetjmp): Likewise. Do not use BP_SYM.
1089 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1090 (_start): Do not use BP_SYM.
1091 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1092 (PARMS): Do not use macros from bp-asm.h.
1095 (__stpcpy): Likewise. Do not use BP_SYM.
1096 (stpcpy): Do not use BP_SYM in weak_alias.
1097 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1099 (PARMS): Do not use macros from bp-asm.h.
1103 (__stpncpy): Likewise. Do not use BP_SYM.
1104 (stpncpy): Do not use BP_SYM in weak_alias.
1105 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1106 (PARMS): Do not use macros from bp-asm.h.
1109 (strchr): Likewise. Do not use BP_SYM.
1110 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1112 (PARMS): Do not use macros from bp-asm.h.
1115 (__strchrnul): Likewise. Do not use BP_SYM.
1116 (strchrnul): Do not use BP_SYM in weak_alias.
1117 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1119 (PARMS): Do not use macros from bp-asm.h.
1121 (strcspn): Do not use BP_SYM.
1122 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1124 (PARMS): Do not use macros from bp-asm.h.
1127 (strpbrk): Likewise. Do not use BP_SYM.
1128 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1130 (PARMS): Do not use macros from bp-asm.h.
1133 (strrchr): Likewise. Do not use BP_SYM.
1134 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1135 (PARMS): Do not use macros from bp-asm.h.
1137 (strspn): Do not use BP_SYM.
1138 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1139 (PARMS): Do not use macros from bp-asm.h.
1143 (FUNCTION): Likewise. Do not use BP_SYM.
1144 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1146 (strtok_r): Likewise.
1147 (__GI___strtok_r): Likewise.
1148 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1149 (PARMS): Do not use macros from bp-asm.h.
1153 (__mpn_sub_n): Do not use BP_SYM.
1154 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1156 (PARMS): Do not use macros from bp-asm.h.
1159 (__mpn_submul_1): Do not use BP_SYM.
1160 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1162 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1164 (PARMS): Do not use macros from bp-asm.h.
1169 (__clone): Do not use BP_SYM.
1170 (clone): Do not use BP_SYM in weak_alias.
1171 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1173 (PARMS): Do not use macros from bp-asm.h.
1175 (__mmap64): Do not use BP_SYM.
1176 (mmap64): Do not use BP_SYM in weak_alias.
1177 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1178 <bp-sym.h> and <bp-asm.h>.
1179 (PARMS): Do not use macros from bp-asm.h.
1180 (__posix_fadvise64_l64): Do not use BP_SYM.
1181 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1182 (PARMS): Do not use macros from bp-asm.h.
1184 (semtimedop): Do not use BP_SYM.
1185 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1188 2013-02-21 Allan McRae <allan@archlinux.org>
1190 * manual/message.texi (Charset conversion in gettext):
1191 Move @end statement to beginning of line.
1193 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1197 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1200 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1203 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1205 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1207 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1208 tail-call to the resolved function if pltexit isn't needed.
1210 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1213 or Y being zero as being unlikely.
1214 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1217 2013-02-20 Carlos O'Donell <carlos@redhat.com>
1219 * manual/nss.texi (System Databases and Name Service Switch):
1220 Remove frobnicate @pxref.
1222 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1224 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1225 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1227 2013-02-20 Petr Machata <pmachata@redhat.com>
1229 * elf/elf.h (R_ARM_TARGET1): New macro.
1230 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1231 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1232 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1233 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1234 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1235 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1236 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1237 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1238 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1239 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1240 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1241 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1242 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1243 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1244 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1245 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1246 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1247 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1248 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1249 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1250 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1251 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1252 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1253 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1254 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1255 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1256 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1257 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1258 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1259 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1260 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1261 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1262 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1263 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1264 (R_ARM_THM_GOT_BREL12): Likewise.
1265 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1266 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1267 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1268 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1269 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1270 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1271 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1272 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1273 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1275 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1277 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1278 __attribute_used__ to __attribute__ ((unused)).
1280 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1282 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1284 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1286 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1288 2013-02-19 Joseph Myers <joseph@codesourcery.com>
1291 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1293 (ENTER): Remove both macro definitions.
1295 (CHECK_BOUNDS_LOW): Likewise.
1296 (CHECK_BOUNDS_HIGH): Likewise.
1297 (CHECK_BOUNDS_BOTH): Likewise.
1298 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1299 (RETURN_BOUNDED_POINTER): Likewise.
1300 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1301 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1302 (POP_ERRNO_LOCATION_RETURN): Likewise.
1303 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1304 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1305 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1307 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1308 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1309 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1310 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1311 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1312 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1313 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1314 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1315 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1316 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1317 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1318 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1319 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1320 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1322 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1323 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1325 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1326 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1327 * sysdeps/i386/i586/memset.S (memset): Likewise.
1328 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1329 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1330 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1332 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1333 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1334 Change uses of L(2) to L(out).
1335 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1336 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1337 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1338 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1339 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1341 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1342 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1344 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1345 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1346 (RETURN): Do not use macro LEAVE.
1347 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1348 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1349 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1350 * sysdeps/i386/i686/memset.S (memset): Likewise.
1351 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1352 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1353 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1354 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1356 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1357 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1358 L(1_2) and L(1_3) into L(1).
1359 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1360 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1361 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1362 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1363 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1364 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1365 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1366 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1367 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1369 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1370 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1371 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1372 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1373 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1374 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1375 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1376 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1377 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1378 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1379 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1380 * sysdeps/i386/strspn.S (strspn): Likewise.
1381 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1383 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1384 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1385 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1386 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1388 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1389 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1390 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1392 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1394 2013-02-19 Jakub Jelinek <jakub@redhat.com>
1396 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1399 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1401 * math/atest-exp.c (exp_mpn): Remove ROUND.
1402 * math/atest-exp2.c (exp_mpn): Likewise.
1403 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1405 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1406 * stdlib/tst-tls-atexit-lib.c: Likewise.
1407 * stdlib/tst-tls-atexit.c: Likewise.
1409 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1411 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1412 and __attribute_alloc_size__.
1414 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1416 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1417 __attribute_alloc_size__.
1418 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1419 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1421 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1423 * include/programs/xmalloc.h: New file.
1424 * catgets/gencat.c: Include it.
1425 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1426 * elf/pldd.c: Likewise.
1427 * iconv/iconv_charmap.c: Likewise.
1428 * iconv/iconvconfig.c: Likewise.
1429 * iconv/strtab.c: Likewise.
1430 * locale/programs/locale.c: Likewise.
1431 * locale/programs/localedef.h: Likewise.
1432 * locale/programs/simple-hash.c: Likewise.
1433 * nscd/nscd.h: Likewise.
1434 * nss/makedb.c: Likewise.
1435 * sysdeps/generic/ldconfig.h: Likewise.
1437 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1439 * Versions.def: Add GLIBC_2.18.
1440 * include/link.h (struct link_map): New member l_tls_dtor_count.
1441 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1442 (__call_tls_dtors): Likewise.
1443 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1444 __cxa_thread_atexit_impl.
1445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1453 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1461 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1462 (tests): Add test case tst-tls-atexit.
1463 (modules-names): Add shared library for tst-tls-atexit.
1464 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1465 (GLIBC_PRIVATE): Add __call_tls_dtors.
1466 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1468 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1469 * stdlib/tst-tls-atexit.c: New test case.
1470 * stdlib/tst-tls-atexit-lib.c: New test case.
1472 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1474 * elf/Versions (ld): Add _dl_find_dso_for_object.
1475 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1476 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1477 (dl_open_worker): Use _dl_find_dso_for_object.
1478 * elf/dl-sym.c (do_sym): Likewise.
1479 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1481 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1483 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1484 Syntactic changes only.
1485 (_dl_runtime_profile): Do a tail-call to the resolved function.
1487 2013-02-17 Joseph Myers <joseph@codesourcery.com>
1490 * sysdeps/x86_64/bp-asm.h: Remove file.
1491 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1492 <bp-sym.h> and <bp-asm.h>.
1493 (__clone): Do not use BP_SYM.
1494 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1495 <bp-sym.h> and <bp-asm.h>.
1496 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1497 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1499 (_setjmp): Do not use BP_SYM.
1500 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1502 (setjmp): Do not use BP_SYM.
1503 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1505 (mempcpy): Do not use BP_SYM in weak_alias.
1506 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1508 (strchr): Do not use BP_SYM.
1509 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1511 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1512 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1513 (_start): Do not use BP_SYM.
1514 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1516 (strcat): Do not use BP_SYM.
1517 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1519 (STRCMP): Do not use BP_SYM.
1520 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1522 (STRCPY): Do not use BP_SYM.
1523 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1525 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1527 (FUNCTION): Do not use BP_SYM.
1528 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1530 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1532 2013-02-17 Andreas Jaeger <aj@suse.de>
1534 * time/Versions: Sort entries.
1535 * string/Versions: Likewise.
1536 * resolv/Versions: Likewise.
1537 * posix/Versions: Likewise.
1538 * iconv/Versions: Likewise.
1539 * elf/Versions: Likewise.
1540 * wcsmbs/Versions: Likewise.
1542 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1544 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1545 loop termination condition.
1547 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1548 variable to calculate EZ.
1551 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1552 the lower precision input.
1554 2013-02-15 Joseph Myers <joseph@codesourcery.com>
1557 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1558 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1559 (run-via-rtld-prefix): Do not handle %-bp tests.
1560 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1561 (all-object-suffixes): Remove .ob.
1562 (bppfx): Remove variable.
1563 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1564 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1565 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1566 [$(build-bounded) = yes] (libtype.ob): Likewise.
1567 * Makerules (elide-routines.ob): Remove variable.
1568 (do-tests-clean): Do not handle *-bp.out.
1569 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1570 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1571 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1572 (tests): Do not include $(tests-bp.out).
1573 (xtests): Do not include $(xtests-bp.out).
1574 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1575 [$(build-bounded) = yes] ($(addprefix
1576 $(objpfx),$(binaries-bounded))): Remove rule.
1577 ($(objpfx)%-bp.out): Remove rule.
1578 * config.make.in (build-bounded): Remove variable.
1579 * crypt/Makefile [$(build-bounded) = yes]
1580 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1581 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1583 [$(build-bounded) = yes] (install-lib): Likewise.
1584 [$(build-bounded) = yes] (generated): Likewise.
1585 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1587 * intl/Makefile [$(build-bounded) = yes]
1588 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1589 * math/Makefile [$(build-bounded) = yes]
1590 ($(tests:%=$(objpfx)%-bp): Likewise.
1591 * misc/Makefile [$(build-bounded) = yes]
1592 ($(objpfx)tst-tsearch-bp): Likewise.
1593 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1594 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1596 * string/Makefile (o-objects.ob): Remove variable.
1597 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1598 (CFLAGS-.ob): Remove variable.
1599 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1600 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1601 both definitions of variable.
1602 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1603 (ASFLAGS-.ob): Remove variable.
1605 2013-02-14 Joseph Myers <joseph@codesourcery.com>
1608 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1609 Remove __BOUNDED_POINTERS__ from condition.
1610 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1611 * string/bits/string2.h [!__NO_STRING_INLINES &&
1612 !__BOUNDED_POINTERS__]: Likewise.
1613 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1615 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1616 Remove conditional code.
1617 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1618 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1619 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1623 * csu/libc-start.c: Do not include <bp-sym.h>.
1624 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1625 * elf/dl-open.c: Do not include <bp-sym.h>.
1626 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1627 * math/fegetenv.c: Do not include <bp-sym.h>.
1628 (fegetenv): Do not use BP_SYM in versioned symbols.
1629 * nptl/sysdeps/pthread/bits/libc-lockP.h
1630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1633 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1635 (__pthread_mutex_destroy): Likewise.
1636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1637 (__pthread_mutex_lock): Likewise.
1638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1639 (__pthread_mutex_trylock): Likewise.
1640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1641 (__pthread_mutex_unlock): Likewise.
1642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1643 (__pthread_mutexattr_init): Likewise.
1644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1645 (__pthread_mutexattr_destroy): Likewise.
1646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1647 (__pthread_mutexattr_settype): Likewise.
1648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1649 (__pthread_rwlock_init): Likewise.
1650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1651 (__pthread_rwlock_destroy): Likewise.
1652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1653 (__pthread_rwlock_rdlock): Likewise.
1654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1655 (__pthread_rwlock_tryrdlock): Likewise.
1656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1657 (__pthread_rwlock_wrlock): Likewise.
1658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1659 (__pthread_rwlock_trywrlock): Likewise.
1660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1661 (__pthread_rwlock_unlock): Likewise.
1662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1663 (__pthread_key_create): Likewise.
1664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1665 (__pthread_setspecific): Likewise.
1666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1667 (__pthread_getspecific): Likewise.
1668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1671 (_pthread_cleanup_push_defer): Likewise.
1672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1673 (_pthread_cleanup_pop_restore): Likewise.
1674 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1675 (pthread_setcancelstate): Likewise.
1676 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1678 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1679 (memchr): Do not use BP_SYM in weak_alias.
1680 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1681 (fegetenv): Do not use BP_SYM in versioned symbols.
1682 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1683 (fesetenv): Do not use BP_SYM in versioned symbols.
1684 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1685 (feupdateenv): Do not use BP_SYM in versioned symbols.
1686 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1687 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1688 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1689 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1690 (open64): Do not use BP_SYM in weak_alias.
1691 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1692 (fegetenv): Do not use BP_SYM in versioned symbols.
1693 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1694 (fesetenv): Do not use BP_SYM in versioned symbols.
1695 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1696 (feupdateenv): Do not use BP_SYM in versioned symbols.
1697 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1698 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1699 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1700 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1701 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1702 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1703 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1705 (__libc_start_main): Do not use BP_SYM.
1707 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1709 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1710 redundant return line.
1714 (sub_magnitudes): Likewise.
1720 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1724 (sub_magnitudes): Likewise.
1731 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1733 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1734 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1737 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1738 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1739 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1740 of __mul for squares.
1741 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1743 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1745 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1746 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1748 2013-02-13 Joseph Myers <joseph@codesourcery.com>
1751 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1753 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1754 prototype or function definition. Rename ubp_* variables and
1755 parameters. Remove argv definitions conditional on
1756 [__BOUNDED_POINTERS__].
1757 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1758 * elf/dl-runtime.c (_dl_fixup): Likewise.
1759 * include/set-hooks.h (RUN_HOOK): Likewise.
1760 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1762 * string/strcpy.c (strcpy): Do not use __unbounded.
1763 * sysdeps/generic/frame.h (struct layout): Likewise.
1764 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1765 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1766 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1767 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1768 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1769 (__backtrace): Likewise.
1770 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1772 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1773 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1774 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1776 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1777 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1778 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1779 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1780 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1781 Do not use __unbounded.
1782 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1783 Rename __unboundedrlimits parameter to rlimits in prototype.
1784 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1785 Do not use __unbounded.
1786 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1788 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1789 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1790 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1791 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1792 __ptrvalue or __unbounded.
1793 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1794 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1796 (__new_msgctl): Do not use __ptrvalue.
1797 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1799 (__libc_msgrcv): Do not use __ptrvalue.
1800 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1801 startup_info): Do not use __unbounded.
1802 (__libc_start_main): Likewise. Rename ubp_* variables and
1803 parameters. Remove argv definitions conditional on
1804 [__BOUNDED_POINTERS__].
1805 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1807 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1809 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1811 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1813 (__new_shmctl): Do not use __ptrvalue.
1814 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1815 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1817 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1818 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1819 (__libc_sigaction): Likewise.
1820 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1821 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1823 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1825 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
1827 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1829 * string/mempcpy.c: Implement by calling memcpy.
1831 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1833 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1835 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1838 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1839 values in the mantissa.
1841 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1842 minimize writes to Z.
1843 (sub_magnitudes): Simplify code a bit.
1845 2013-02-12 Roland McGrath <roland@hack.frob.com>
1847 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1848 from the message. The linker prefixes all warnings with that already.
1850 2013-02-12 Andreas Schwab <schwab@suse.de>
1853 * posix/regexec.c (extend_buffers): Add parameter min_len.
1854 (check_matching): Pass minimum needed length.
1855 (clean_state_log_if_needed): Likewise.
1856 (get_subexp): Likewise.
1857 * posix/Makefile (tests): Add bug-regex34.
1858 (bug-regex34-ENV): Define.
1859 * posix/bug-regex34.c: New file.
1862 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1863 elements compare against the byte sequence of it, not its name.
1864 * posix/Makefile (tests): Add bug-regex35.
1865 (bug-regex35-ENV): Define.
1866 * posix/bug-regex35.c: New file.
1868 2013-02-11 Tom de Vries <tom@codesourcery.com>
1870 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1872 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1873 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1874 (CHECK_EOL): Add undef.
1876 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
1878 * bits/stdlib-bsearch.h: New file.
1879 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1880 * stdlib/stdlib.h: Likewise.
1882 2013-02-11 Roland McGrath <roland@hack.frob.com>
1884 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1885 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1887 * manual/search.texi (Array Search Function): Add missing const in
1889 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1890 declaration to use rlim_t.
1891 (Basic Scheduling Functions): Remove erroneous const from
1892 sched_getparam prototype. Remove erroneous * from
1893 sched_get_priority_max and sched_get_priority_min prototypes.
1894 (Resource Usage): Fix summary @comment on vtimes to refer to
1895 sys/vtimes.h rather than vtimes.h.
1896 Add missing *s in vtimes prototype.
1897 (Limits on Resources): Fix ulimit prototype to return long int.
1898 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1899 prototypes to use long int rather than double.
1900 (BSD Random): Fix initstate and setstate to use char *, not void *.
1901 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1902 prototype to make second argument 'struct aiocb64 *const[]'.
1903 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1904 (Status of AIO Operations): Remove erroneous const in aio_return and
1905 aio_return64 prototypes.
1906 (Synchronizing I/O): Fix sync prototype to return void.
1907 * manual/startup.texi (Suboptions): Remove an erroneous const in
1908 getsubopt prototype.
1909 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1910 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1911 use size_t rather than int.
1912 (Scanning All Users): Likewise for getpwent_r.
1913 (Setting Groups): Add missing const to setgroups prototype.
1914 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1915 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1916 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1917 'const void *' rather than 'const char *'.
1918 (Host Address Functions): Likewise for inet_ntop.
1919 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1920 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1921 ssize_t for return value.
1922 (Sending Data): Likewise for send, sendto, sendmsg.
1923 (Socket Option Functions): Add a missing const in setsockopt prototype.
1924 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1925 use wchar_t for the argument.
1926 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1927 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1929 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1930 double/float/long double for second argument.
1931 Fix return types of significand, significandf, significandl.
1932 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1933 argument in fchmod prototype.
1934 (File Owner): Use uid_t and gid_t in fchown prototype.
1935 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1936 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1937 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1938 use 'const struct dirent **' as argument types to CMP function pointer
1940 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1941 (File Times): Fix summary magic @comment for struct utimbuf and utime
1942 to refer to utime.h, not time.h.
1943 * manual/string.texi (Argz Functions): Add missing const in
1944 argz_extract and argz_next prototypes.
1945 (Finding Tokens in a String): Likewise for basename.
1946 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1947 (Copying and Concatenation): Fix typo in wmemmove prototype.
1948 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1949 (Signal Stack): Remove erroneous const in sigstack prototype.
1950 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1952 (Simple Calendar Time): Likewise for stime.
1953 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1955 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1956 say sys/sysctl.h instead.
1957 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1958 and vsyslog prototypes.
1960 2013-02-11 Tom de Vries <tom@codesourcery.com>
1962 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1965 2013-02-11 Roland McGrath <roland@hack.frob.com>
1967 * misc/sys/mman.h: Fix typo in mremap comment.
1969 2013-02-08 Roland McGrath <roland@hack.frob.com>
1971 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1972 the '\0' terminator.
1974 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1977 * debug/segfault.c: Don't include <bp-checks.h>.
1978 * sysdeps/generic/bp-checks.h: Remove file.
1979 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1980 (__GETDENTS): Don't use CHECK_N.
1981 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1982 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1983 (__getgroups): Don't use CHECK_N.
1984 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1985 (setgroups): Don't use CHECK_N.
1986 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1987 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1988 (__libc_msgrcv): Don't use CHECK_N.
1989 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1990 (__libc_msgsnd): Don't use CHECK_N.
1991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1993 (__libc_pread): Don't use CHECK_N.
1994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1995 include <bp-checks.h>.
1996 (__libc_pread64): Don't use CHECK_N.
1997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1998 include <bp-checks.h>.
1999 (__libc_pwrite): Don't use CHECK_N.
2000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2001 include <bp-checks.h>.
2002 (__libc_pwrite64): Don't use CHECK_N.
2003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2005 (__libc_pread): Don't use CHECK_N.
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2007 include <bp-checks.h>.
2008 (__libc_pread64): Don't use CHECK_N.
2009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2010 include <bp-checks.h>.
2011 (__libc_pwrite): Don't use CHECK_N.
2012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2013 include <bp-checks.h>.
2014 (__libc_pwrite64): Don't use CHECK_N.
2015 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2016 (do_pread): Don't use CHECK_N.
2017 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2018 (do_pread64): Don't use CHECK_N.
2019 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2020 (do_pwrite): Don't use CHECK_N.
2021 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2022 (do_pwrite64): Don't use CHECK_N.
2023 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2024 (__libc_readv): Don't use CHECK_N.
2025 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2026 (semop): Don't use CHECK_N.
2027 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2029 (semtimedop): Don't use CHECK_N.
2030 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2031 (__libc_pread): Don't use CHECK_N.
2032 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2034 (__libc_pread64): Don't use CHECK_N.
2035 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2037 (__libc_pwrite): Don't use CHECK_N.
2038 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2040 (__libc_pwrite64): Don't use CHECK_N.
2041 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2043 (__libc_msgrcv): Don't use CHECK_N.
2044 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2045 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2046 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2047 (__libc_writev): Don't use CHECK_N.
2049 2013-02-08 Roland McGrath <roland@hack.frob.com>
2051 * string/strcpy.c: Removed unused variable.
2053 * Makeconfig (+sysdep-includes): Define with := rather than =.
2054 Use an existing include/ subdir of each sysdeps dir before it.
2056 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2058 * nscd/connection.c (register_traced_file): Comment function.
2059 [HAVE_INOTIFY] (union __inev): Define.
2060 [HAVE_INOTIFY] (inotify_check_files): New function.
2061 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2062 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2064 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2066 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2068 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2069 loaded if not already and that a failure is permanent.
2071 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2074 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2075 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2077 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2080 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2081 (CHECK_1_NULL_OK): Likewise.
2082 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2083 (__fxstat): Do not use CHECK_1.
2084 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2086 (___fxstat64): Do not use CHECK_1.
2087 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2089 (__fxstatat): Do not use CHECK_1.
2090 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2092 (__fxstatat64): Do not use CHECK_1.
2093 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2095 (__fxstat): Do not use CHECK_1.
2096 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2098 (__fxstatat): Do not use CHECK_1.
2099 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2101 (__getresgid): Do not use CHECK_1.
2102 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2104 (__getresuid): Do not use CHECK_1.
2105 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2107 (__lxstat): Do not use CHECK_1.
2108 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2110 (__old_msgctl): Do not use CHECK_1.
2111 (__new_msgctl): Likewise.
2112 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2114 (__new_setrlimit): Do not use CHECK_1.
2115 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2117 (__old_shmctl): Do not use CHECK_1.
2118 (__new_shmctl): Likewise.
2119 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2121 (__xstat): Do not use CHECK_1.
2122 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2123 (__lxstat): Do not use CHECK_1.
2124 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2126 (___lxstat64): Do not use CHECK_1.
2127 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2128 (__old_msgctl): Do not use CHECK_1.
2129 (__new_msgctl): Likewise.
2130 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2132 (__gettimeofday): Do not use CHECK_1.
2133 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2134 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2135 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2137 (__gettimeofday): Do not use CHECK_1.
2138 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2139 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2140 (__new_shmctl): Do not use CHECK_1.
2141 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2143 (do_sigtimedwait): Do not use CHECK_1.
2144 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2146 (do_sigwaitinfo): Do not use CHECK_1.
2147 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2149 (msgctl): Do not use CHECK_1.
2150 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2152 (shmctl): Do not use CHECK_1.
2153 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2154 (ustat): Do not use CHECK_1.
2155 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2157 (__fxstat): Do not use CHECK_1.
2158 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2160 (__fxstatat): Do not use CHECK_1.
2161 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2163 (__lxstat): Do not use CHECK_1.
2164 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2166 (__xstat): Do not use CHECK_1.
2167 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2168 (__xstat): Do not use CHECK_1.
2169 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2170 (___xstat64): Do not use CHECK_1.
2173 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2175 (CHECK_BOUNDS_HIGH): Likewise.
2176 * string/strcpy.c: Do not include <bp-checks.h>.
2177 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2179 2013-02-07 Roland McGrath <roland@hack.frob.com>
2181 * nscd/nscd-client.h (__nscd_drop_map_ref):
2182 Add __attribute__ ((unused)).
2183 * nis/nss-nisplus.h (niserr2nss): Likewise.
2185 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2186 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2188 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2189 Remove inline keyword.
2190 * include/rounding-mode.h (round_away): Likewise.
2191 * libio/wfileops.c (adjust_wide_data): Likewise.
2192 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2193 (__m128i_strloadu_tolower): Likewise.
2194 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2195 (__m128i_strloadu_tolower): Likewise.
2196 * time/mktime.c (ydhms_diff): Likewise.
2197 * locale/elem-hash.h (elem_hash): Likewise.
2198 * locale/setlocale.c (setdata): Likewise.
2199 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2200 (re_string_wchar_at): Likewise.
2201 (bitset_not, bitset_merge, bitset_mask): Likewise.
2202 [!(__GNUC__ > 3)] (inline): Remove macro.
2203 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2204 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2205 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2206 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2207 * string/memcmp.c (memcmp_bytes): Likewise.
2208 * locale/programs/locarchive.c (compute_hashval): Likewise.
2209 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2210 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2211 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2212 * nss/getent.c (print_rpc, print_protocols): Likewise.
2213 (print_passwd, print_group, print_aliases): Likewise.
2214 * nis/nss-nisplus.h (niserr2nss): Likewise.
2215 * nscd/connections.c (restart_p): Likewise.
2216 Change return type to bool.
2218 2013-02-05 Roland McGrath <roland@hack.frob.com>
2220 * Makeconfig (all-Depend-files): Add existing
2221 $(sorted-subdirs:=/Depend) files.
2222 (all-subdirs): Remove nss.
2223 * sysdeps/unix/inet/Subdirs: Add it here instead.
2224 * hesiod/Depend: New file.
2226 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2227 instead of calling alloca.
2229 * io/lseek.c (__lseek): Rename to __libc_lseek.
2230 Define __lseek as an alias.
2232 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2234 2013-02-04 Carlos O'Donell <carlos@redhat.com>
2236 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2237 else clause and remove check for non-standard endianness.
2239 2013-02-04 David S. Miller <davem@davemloft.net>
2241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2243 2013-02-04 Joseph Myers <joseph@codesourcery.com>
2246 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2247 (__ubp_memchr): Remove prototype.
2248 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2249 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2250 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2251 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2252 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2254 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2255 (__ubp_memchr): Likewise.
2256 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2257 (__ubp_memchr): Likewise.
2258 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2259 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2260 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2261 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2263 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2264 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2265 (__getcwd): Do not use CHECK_STRING.
2266 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2268 (__real_chown): Do not use CHECK_STRING.
2269 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2271 (fchownat): Do not use CHECK_STRING.
2272 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2274 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2276 (__lchown): Do not use CHECK_STRING.
2277 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2278 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2279 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2280 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2282 include <bp-checks.h>.
2283 (truncate64): Do not use CHECK_STRING.
2284 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2286 (__real_chown): Do not use CHECK_STRING.
2287 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2289 (__lchown): Do not use CHECK_STRING.
2290 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2292 (__chown): Do not use CHECK_STRING.
2293 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2295 (truncate64): Do not use CHECK_STRING.
2296 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2298 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2299 (__xmknod): Do not use CHECK_STRING.
2300 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2302 (__xmknodat): Do not use CHECK_STRING.
2303 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2304 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2306 2013-02-04 Andreas Schwab <schwab@suse.de>
2309 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2310 * include/netdb.h: Likewise for h_errno.
2311 * elf/tst-stackguard1.c: Include <tls.h>.
2313 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2315 * elf/link.h (struct link_map): Extend the l_addr comment.
2316 * include/link.h (struct link_map): Likewise.
2318 2013-02-01 Joseph Myers <joseph@codesourcery.com>
2321 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2322 (BOUNDED_1): Remove macro.
2323 * debug/backtrace.c: Don't include <bp-checks.h>.
2324 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2325 (__backtrace): Likewise.
2326 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2328 (__backtrace): Don't use BOUNDED_1.
2329 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2331 (__backtrace): Don't use BOUNDED_1.
2332 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2333 (__backtrace): Don't use BOUNDED_1.
2334 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2335 (shmat): Don't use BOUNDED_N.
2337 2013-01-31 Joseph Myers <joseph@codesourcery.com>
2340 * sysdeps/generic/bp-start.h: Remove file.
2341 * csu/libc-start.c: Don't include <bp-start.h>.
2342 (LIBC_START_MAIN): Set up __environ directly instead of using
2343 INIT_ARGV_and_ENVIRON.
2344 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2348 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2350 (CHECK_FCNTL): Likewise.
2351 (CHECK_N_PAGES): Likewise.
2354 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2356 (CHECK_SIGSET_NULL_OK): Likewise.
2357 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2359 (sigpending): Don't use CHECK_SIGSET.
2360 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2362 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2363 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2365 (do_sigsuspend): Don't use CHECK_SIGSET.
2366 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2368 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2369 (do_sigwait): Don't use CHECK_SIGSET.
2370 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2372 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2373 include <bp-checks.h>.
2374 (sigpending): Don't use CHECK_SIGSET.
2375 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2376 include <bp-checks.h>.
2377 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2378 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2380 (sigpending): Don't use CHECK_SIGSET.
2381 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2383 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2386 * sysdeps/generic/bp-semctl.h: Remove file.
2387 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2388 <bp-checks.h> and <bp-semctl.h>.
2389 (__old_semctl): Don't use CHECK_SEMCTL.
2390 (__new_semctl): Likewise.
2391 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2393 (__old_semctl): Don't use CHECK_SEMCTL.
2394 (__new_semctl): Likewise.
2395 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2396 <bp-checks.h> and <bp-semctl.h>.
2397 (__old_semctl): Don't use CHECK_SEMCTL.
2398 (__new_semctl): Likewise.
2399 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2400 <bp-checks.h> and <bp-semctl.h>.
2401 (semctl): Don't use CHECK_SEMCTL.
2404 * Makerules (elide-bp-thunks): Remove variable.
2405 (elide-routines.oS): Don't use $(elide-bp-thunks).
2406 (elide-routines.os): Likewise.
2407 (elide-routines.o): Likewise.
2408 (elide-routines.op): Likewise.
2409 (elide-routines.og): Likewise.
2410 (objects): Don't use $(bp-thunks).
2411 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2413 (common-generated): Do not add s-proto-bp.d.
2414 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2417 Do not generate makefile rules for bounded-pointer thunks.
2418 * sysdeps/generic/bp-thunks.h: Remove file.
2419 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2420 * sysdeps/unix/s-proto-bp.S: Likewise.
2423 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2424 parts of result separately when argument is not close to line from
2425 -i to i and one part of argument is small.
2426 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2427 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2428 * math/libm-test.inc (cacos_test): Add more tests.
2429 (casin_test): Likewise.
2430 (casinh_test): Likewise.
2431 * sysdeps/i386/fpu/libm-test-ulps: Update.
2432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2434 2013-01-31 David S. Miller <davem@davemloft.net>
2436 * po/de.po: Update from translation team.
2438 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2440 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2442 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2444 * configure.in (_AC_PROG_CC_C89): New definition.
2445 * configure: Regenerate.
2447 * configure.in (AC_PROG_CPP): New definition.
2448 * configure: Regenerate.
2450 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2452 * debug/tst-backtrace.h: New file.
2453 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2454 (ret): Remove variable.
2456 (FAIL): Remove macro.
2457 (NO_INLINE): Likewise.
2458 (fn1): Use match function instead of strstr.
2459 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2460 (ret): Remove variable.
2462 (FAIL): Remove macro.
2463 (NO_INLINE): Likewise.
2464 (fn): Use match function instead of strstr.
2465 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2466 (ret): Remove variable.
2468 (FAIL): Remove macro.
2469 (NO_INLINE): Likewise.
2470 (handle_signal): Use match function instead of strstr.
2471 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2472 (ret): Remove variable.
2474 (FAIL): Remove macro.
2475 (NO_INLINE): Likewise.
2476 (handle_signal): Use match function instead of strstr.
2478 2013-01-23 Roland McGrath <roland@hack.frob.com>
2480 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2482 2013-01-23 David S. Miller <davem@davemloft.net>
2484 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2485 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2486 argument of CAS if possible.
2487 * sysdeps/sparc/sparc64/bits/atomic.h
2488 (__arch_compare_and_exchange_val_32_acq): Likewise.
2489 (__arch_compare_and_exchange_val_64_acq): Likewise.
2491 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2493 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2494 * sysdeps/posix/ulimit.c: ... this.
2496 * sysdeps/unix/bsd/ulimit.c: Remove file.
2498 2013-01-23 Adam Conrad <adconrad@0c3.net>
2500 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2501 (LDFLAGS-tst-array5): Likewise.
2503 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2506 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2507 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2508 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2509 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2511 2013-01-21 David S. Miller <davem@davemloft.net>
2513 * sysdeps/sparc/backtrace.c: New file.
2514 * sysdeps/sparc/sparc32/backtrace.h: New file.
2515 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2516 * sysdeps/sparc/sparc64/backtrace.h: New file.
2517 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2518 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2521 2013-01-21 Andreas Schwab <schwab@suse.de>
2524 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2527 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2529 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2531 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2533 2013-01-18 Joseph Myers <joseph@codesourcery.com>
2534 Mark Mitchell <mark@codesourcery.com>
2535 Tom de Vries <tom@codesourcery.com>
2536 Paul Pluzhnikov <ppluzhnikov@google.com>
2538 * debug/tst-backtrace2.c: New file.
2539 * debug/tst-backtrace3.c: Likewise.
2540 * debug/tst-backtrace4.c: Likewise.
2541 * debug/tst-backtrace5.c: Likewise.
2542 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2543 (CFLAGS-tst-backtrace3.c): Likewise.
2544 (CFLAGS-tst-backtrace4.c): Likewise.
2545 (CFLAGS-tst-backtrace5.c): Likewise.
2546 (LDFLAGS-tst-backtrace2): Likewise.
2547 (LDFLAGS-tst-backtrace3): Likewise.
2548 (LDFLAGS-tst-backtrace4): Likewise.
2549 (LDFLAGS-tst-backtrace5): Likewise.
2550 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2551 tst-backtrace4 and tst-backtrace5.
2553 2013-01-18 Anton Blanchard <anton@samba.org>
2554 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2556 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2557 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2558 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2559 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2561 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2562 "+r" and remove output regs list as redundant. Add explicit inline
2563 asm to specify register of return val to work around compiler codegen
2564 bug. Remove (int) cast on return value. Add return type parameter to
2565 use in macro so that this macro does not truncate return value for
2567 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2568 pass to INTERNAL_VSYSCALL_NCS.
2569 (INLINE_VSYSCALL): Add 'long int' as return type to
2570 INTERNAL_VSYSCALL_NCS macro invocation.
2571 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2572 INTERNAL_VSYSCALL_NCS macro invocation.
2573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2575 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2578 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2579 Fix application of SIMD FP exception mask.
2581 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2582 mp_no from a power of two.
2583 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2584 __mpexp_twomm1. Use __pow_mp.
2586 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2589 2013-01-17 David S. Miller <davem@davemloft.net>
2591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2593 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2596 * include/complex.h: Condition contents on [!_COMPLEX_H].
2597 (__kernel_casinhf): New prototype.
2598 (__kernel_casinh): Likewise.
2599 (__kernel_casinhl): Likewise.
2600 * math/Makefile (libm_calls): Add k_casinh.
2601 * math/k_casinh.c: New file.
2602 * math/k_casinhf.c: Likewise.
2603 * math/k_casinhl.c: Likewise.
2604 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2605 finite nonzero arguments.
2606 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2607 finite nonzero arguments.
2608 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2609 finite nonzero arguments.
2610 * math/s_casinh.c: Do not include <float.h>.
2611 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2612 * math/s_casinhf.c: Do not include <float.h>.
2613 (__casinhf): Move code for finite nonzero arguments to
2615 * math/s_casinhl.c: Do not include <float.h>.
2616 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2618 (__casinhl): Move code for finite nonzero arguments to
2620 * math/libm-test.inc (cacos_test): Add more tests.
2621 * sysdeps/i386/fpu/libm-test-ulps: Update.
2622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2624 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2626 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2627 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2628 [!HAVE_MREMAP]: Remove [defined linux] case.
2629 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2631 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2633 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2635 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
2637 * elf/elf.h (R_386_SIZE32): New relocation.
2638 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2640 (elf_machine_rela): Likewise.
2641 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2642 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2644 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2646 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2647 (FP_FAST_FMA): Do not define.
2648 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2649 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2650 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2651 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2652 !_SOFT_FLOAT]: Likewise.
2653 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2654 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2656 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2657 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2658 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2659 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2660 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2661 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2664 2013-01-16 Andreas Schwab <schwab@suse.de>
2667 * include/stdlib.h (__mktemp): Add declaration.
2668 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2669 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2671 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2673 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2675 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2676 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2677 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2679 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2680 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2682 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2684 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2685 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2686 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2688 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2689 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2691 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2693 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2695 2013-01-15 David S. Miller <davem@davemloft.net>
2697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2698 trunc{,f} to libm-sysdep_routes.
2699 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2709 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2710 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2711 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2712 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2713 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2714 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2717 nearbyint{,f} to libm-sysdep_routes.
2718 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2729 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2731 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2732 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2734 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2735 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2736 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2738 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2739 libc_feholdexcept and libc_fesetenv.
2741 2013-01-15 Mike Frysinger <vapier@gentoo.org>
2743 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2745 2013-01-14 David S. Miller <davem@davemloft.net>
2747 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2748 (SPARC_ASM_VIS2_IFUNC): Likewise.
2749 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2751 use of 'siam' instruction.
2752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2760 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2761 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2770 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2772 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2773 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2780 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2781 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2783 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2785 routines to libm-sysdep_routines.
2786 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2789 fdim/fdimf to libm-sysdep_routines.
2790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2798 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2799 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2800 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2801 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2803 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2805 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2808 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2809 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2812 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2813 local variable MPTWO.
2814 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2817 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2819 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2822 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2824 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2826 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2828 * manual/pattern.texi (glob_t): Document gl_flags.
2829 (glob64_t): Likewise.
2831 2013-01-11 David S. Miller <davem@davemloft.net>
2833 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2834 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2835 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
2836 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2837 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2838 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2839 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2840 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2841 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2842 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2843 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2844 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2845 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2847 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2848 sparc V9 rather than using V8 code.
2849 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2850 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2852 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2854 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2857 2013-01-11 Roland McGrath <roland@hack.frob.com>
2859 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2860 not in the main loop.
2861 * configure: Regenerated.
2863 2013-01-11 Joseph Myers <joseph@codesourcery.com>
2865 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2866 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2868 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2869 [!__GLIBC_HAVE_LONG_LONG] case.
2870 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2871 condition to just #else.
2872 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2873 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2874 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2875 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2877 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2878 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2879 #elif condition to just #else.
2880 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2881 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2882 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2883 #elif condition to just #else.
2885 2013-01-11 Steve Ellcey <sellcey@mips.com>
2887 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2888 (EF_MIPS_ARCH_64): Fix value.
2889 (EF_MIPS_ARCH_32R2): New.
2890 (EF_MIPS_ARCH_64R2): New.
2892 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2894 * Makeconfig (+link-pie-before-libc): New.
2895 (+link-pie-after-libc): Likewise.
2896 (+link-pie-tests): Likewise.
2897 (+link-pie): Rewritten.
2898 (link-before-libc): Remove $(config-LDFLAGS).
2899 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2900 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2901 (config-LDFLAGS): Renamed to ...
2902 (rtld-LDFLAGS): This.
2903 (rtld-tests-LDFLAGS): New macro.
2904 (link-libc-rpath-link): Likewise.
2905 (link-libc-tests-rpath-link): Likewise.
2906 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2907 (link-libc): Prepand $(link-libc-rpath-link).
2908 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2909 (test-program-prefix): New macro.
2910 (test-via-rtld-prefix): Likewise.
2911 (test-program-cmd): Likewise.
2912 (host-test-program-cmd): Likewise.
2913 * Makefile ($(common-objpfx)testrun.sh): Replace
2914 $(run-program-prefix) with $(test-program-prefix).
2915 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2917 ($(common-objpfx)shlib.lds): Likewise.
2918 (build-module-helper): Likewise.
2919 ($(common-objpfx)format.lds): Likewise.
2920 * Rules (binaries-pie-tests): New.
2921 (binaries-pie-notests): Likewise.
2922 (binaries-pie): Rewritten.
2923 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2924 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2925 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2926 (make-test-out): Replace $(host-built-program-cmd) with
2927 $(host-test-program-cmd).
2928 * config.make.in (build-hardcoded-path-in-tests): New variable.
2929 * configure.in (--enable-hardcoded-path-in-tests): New configure
2931 (hardcoded_path_in_tests): New AC_SUBST.
2932 * configure: Regenerated.
2933 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2934 $(built-program-cmd) with $(test-program-cmd).
2935 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2936 (test_program_cmd): This.
2937 * elf/Makefile ($(objpfx)order.out): Run test with
2938 $(test-program-prefix).
2939 ($(objpfx)order2.out): Likewise.
2940 ($(objpfx)tst-initorder.out): Likewise.
2941 ($(objpfx)tst-initorder2.out): Likewise.
2942 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2943 $(test-program-cmd).
2944 ($(objpfx)tst-array1-static.out): Likewise.
2945 ($(objpfx)tst-array2.out): Likewise.
2946 ($(objpfx)tst-array3.out): Likewise.
2947 ($(objpfx)tst-array4.out): Likewise.
2948 ($(objpfx)tst-array5.out): Likewise.
2949 ($(objpfx)tst-array5-static.out): Likewise.
2950 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2951 $(test-program-cmd).
2952 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2953 $(run-program-prefix) with $(test-program-prefix).
2954 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2955 (test_program_prefix): This.
2956 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2957 $(run-program-prefix) with $(test-program-prefix).
2958 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2959 (test_program_prefix): This.
2960 * iconvdata/tst-tables.sh: Likewise.
2961 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2962 $(run-program-prefix) with $(test-program-prefix).
2963 ($(objpfx)tst-translit.out): Likewise.
2964 ($(objpfx)tst-gettext2.out): Likewise.
2965 ($(objpfx)tst-gettext4.out): Likewise.
2966 ($(objpfx)tst-gettext6.out): Likewise.
2967 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2968 (test_program_prefix): This.
2969 * intl/tst-gettext2.sh: Likewise.
2970 * intl/tst-gettext4.sh Likewise.
2971 * intl/tst-gettext6.sh: Likewise.
2972 * intl/tst-translit.sh: Likewise.
2973 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2974 with $(test-program-cmd).
2975 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2976 $(run-program-prefix) with $(test-program-prefix).
2977 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2978 (test_program_prefix): This.
2979 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2980 $(run-program-prefix) with $(test-program-prefix).
2981 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2982 (test_program_prefix): This.
2983 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2984 * posix/Makefile ($(objpfx)globtest.out): Replace
2985 $(run-via-rtld-prefix) and $(test-wrapper) with
2986 $(test-program-prefix) and $(test-via-rtld-prefix).
2987 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2988 $(test-program-prefix).
2989 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2990 $(host-test-program-cmd).
2991 (tst-spawn-ARGS): Likewise.
2992 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2993 $(test-program-prefix).
2994 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2995 (test_via_rtld_prefix): This.
2996 (test_wrapper): Renamed to ...
2997 (test_program_prefix): This.
2998 (run_program_prefix): Replaced by test_program_prefix.
2999 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3000 (test_program_prefix): This.
3001 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3002 with $(host-test-program-cmd).
3003 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3004 $(run-program-prefix) with $(test-program-prefix).
3005 ($(objpfx)tst-printf.out): Likewise.
3006 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3007 $(test-program-cmd).
3008 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3009 (test_program_prefix): This.
3010 * stdio-common/tst-unbputc.sh: Likewise.
3011 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3012 $(run-program-prefix) with $(test-program-prefix).
3013 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3014 (test_program_prefix): This.
3015 * string/Makefile ($(objpfx)tst-svc.out): Replace
3016 $(built-program-cmd) with $(test-program-cmd).
3018 2013-01-11 Andreas Jaeger <aj@suse.de>
3021 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3022 value. Sync with Linux 3.7.
3024 2013-01-10 David S. Miller <davem@davemloft.net>
3026 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3027 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3028 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3030 2013-01-10 Roland McGrath <roland@hack.frob.com>
3032 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3034 * configure: Regenerated.
3036 2013-01-10 David S. Miller <davem@davemloft.net>
3038 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3039 sparc V9 rather than using V8 code.
3040 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3041 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3043 2013-01-10 Roland McGrath <roland@hack.frob.com>
3045 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3046 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3047 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3048 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3049 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3050 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3051 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3052 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3053 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3054 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3055 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3056 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3057 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3058 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3059 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3060 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3061 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3062 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3063 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3064 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3065 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3066 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3067 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3068 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3069 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3070 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3071 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3073 2013-01-10 David S. Miller <davem@davemloft.net>
3075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3077 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3079 * posix/Makefile (tests-static): New variable.
3080 (tests): Add $(tests-static).
3081 (tst-exec-static-ARGS): New variable.
3082 (tst-spawn-static-ARGS): Likewise.
3083 * posix/tst-exec-static.c: New file.
3084 * posix/tst-spawn-static.c: Likewise.
3085 * posix/tst-exec.c: Support run directly.
3086 * posix/tst-spawn.c: Likewise.
3088 2013-01-10 Joseph Myers <joseph@codesourcery.com>
3090 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3092 * math/bits/mathcalls.h (llrint): Likewise.
3093 (llround): Likewise.
3094 * stdlib/stdlib.h (struct drand48_data): Likewise.
3095 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3096 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3097 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3099 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3101 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3102 (elf_greg_t): Likewise.
3103 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3104 (__jmp_buf): Likewise.
3105 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3107 (llrint): Likewise, for all definitions.
3108 (llrintl): Likewise.
3110 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3111 Remove [__GNUC__] condition.
3112 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3113 condition to just [__USE_ISOC99].
3114 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3116 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3119 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3120 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3122 (_POSIX_V6_ILP32_OFF32): Likewise.
3123 (_XBS5_ILP32_OFF32): Likewise.
3124 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3125 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3127 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3129 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3131 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3132 doubles __mpexp_twomm1. Adjust usage.
3133 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3136 2013-01-10 Andreas Schwab <schwab@suse.de>
3139 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3140 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3142 2013-01-09 David S. Miller <davem@davemloft.net>
3145 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3146 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3147 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3148 TCP_FASTOPEN): Define.
3149 (tcp_repair_opt): New structure.
3150 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3152 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3153 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3154 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3155 (tcp_cookie_transactions): New structure.
3157 2013-01-09 Anton Blanchard <anton@samba.org>
3159 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3160 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3161 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3162 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3164 2013-01-09 Joseph Myers <joseph@codesourcery.com>
3166 * include/features.h (__USE_ANSI): Remove.
3168 2013-01-09 Roland McGrath <roland@hack.frob.com>
3170 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3172 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3174 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3176 * sysdeps/s390/fpu/libm-test-ulps: Update.
3178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3180 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3185 (__mp_dbl): Likewise.
3186 (__dbl_mp): Likewise.
3187 (add_magnitudes): Likewise.
3188 (sub_magnitudes): Likewise.
3194 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3199 (__mp_dbl): Likewise.
3200 (__dbl_mp): Likewise.
3201 (add_magnitudes): Likewise.
3202 (sub_magnitudes): Likewise.
3208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3213 (__mp_dbl): Likewise.
3214 (__dbl_mp): Likewise.
3215 (add_magnitudes): Likewise.
3216 (sub_magnitudes): Likewise.
3223 2013-01-08 Joseph Myers <joseph@codesourcery.com>
3225 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3226 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3227 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3228 2 && __USE_EXTERN_INLINES]: Likewise.
3230 2013-01-08 Andreas Jaeger <aj@suse.de>
3233 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3235 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3236 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3238 2013-01-07 Anton Blanchard <anton@samba.org>
3240 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3241 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3242 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3243 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3244 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3245 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3246 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3247 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3249 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3250 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3251 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3252 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3253 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3254 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3255 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3256 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3257 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3258 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3259 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3260 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3261 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3262 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3263 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3264 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3265 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3266 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3267 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3268 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3269 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3270 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3271 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3272 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3273 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3274 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3275 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3276 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3277 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3278 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3279 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3280 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3281 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3282 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3284 2013-01-07 Joseph Myers <joseph@codesourcery.com>
3286 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3287 (__MALLOC_PMT): Likewise.
3288 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3289 [__GNUC__], only on [_LIBC].
3290 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3291 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3292 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3293 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3294 forward declaration.
3295 (realloc_hook_ini): Likewise.
3296 (memalign_hook_ini): Likewise.
3297 (__libc_memalign): Do not use __MALLOC_PMT in variable
3299 (__libc_valloc): Likewise.
3300 (__libc_pvalloc): Likewise.
3301 (__libc_calloc): Likewise.
3302 (__posix_memalign): Likewise.
3305 * math/s_casinh.c: Include <float.h>.
3306 (__casinh): Do not do computation with squaring and square root
3307 for large arguments.
3308 * math/s_casinhf.c: Include <float.h>.
3309 (__casinhf): Do not do computation with squaring and square root
3310 for large arguments.
3311 * math/s_casinhl.c: Include <float.h>.
3312 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3313 (__casinhl): Do not do computation with squaring and square root
3314 for large arguments.
3315 * math/libm-test.inc (casin_test): Add more tests.
3316 (casinh_test): Likewise.
3317 * sysdeps/i386/fpu/libm-test-ulps: Update.
3318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3320 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3322 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3323 (__x86_64_raw_data_cache_size): Likewise.
3324 (__x86_64_data_cache_size_half): Likewise.
3325 (__x86_64_raw_data_cache_size_half): Likewise.
3326 (__x86_64_shared_cache_size): Likewise.
3327 (__x86_64_raw_shared_cache_size): Likewise.
3328 (__x86_64_shared_cache_size_half): Likewise.
3329 (__x86_64_raw_shared_cache_size_half): Likewise.
3330 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3332 (__x86_data_cache_size): This.
3333 (__x86_64_raw_data_cache_size): Renamed to ...
3334 (__x86_raw_data_cache_size): This.
3335 (__x86_64_data_cache_size_half): Renamed to ...
3336 (__x86_data_cache_size_half): This.
3337 (__x86_64_raw_data_cache_size_half): Renamed to ...
3338 (__x86_raw_data_cache_size_half): This.
3339 (__x86_64_shared_cache_size): Renamed to ...
3340 (__x86_shared_cache_size): This.
3341 (__x86_64_raw_shared_cache_size): Renamed to ...
3342 (__x86_raw_shared_cache_size): This.
3343 (__x86_64_shared_cache_size_half): Renamed to ...
3344 (__x86_shared_cache_size_half): This.
3345 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3346 (__x86_raw_shared_cache_size_half): This.
3347 * sysdeps/x86_64/memcpy.S: Updated.
3348 * sysdeps/x86_64/memset.S: Likewise.
3349 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3350 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3351 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3353 2013-01-04 David S. Miller <davem@davemloft.net>
3355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3357 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3359 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3360 1 to avoid redefinition warning.
3361 (__USE_GNU): Don't define.
3362 (init_signaling_nan): Protoize.
3364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3366 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3368 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3370 (__cpymn): Likewise.
3371 (norm): Remove commented code.
3373 (__mp_dbl): Likewise.
3375 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3376 (__cpymn): Likewise.
3377 (norm): Remove commented code.
3379 (__mp_dbl): Likewise.
3382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3383 mp_no value for 1.0 and 2.0.
3384 (norm): Use RADIXI instead of radixi.d.
3386 (__mul): Use 0.0 instead of zero.d.
3387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3388 mp_no value for 1.0 and 2.0.
3389 (norm): Use RADIXI instead of radixi.d.
3391 (__mul): Use 0.0 instead of zero.d.
3393 2013-01-04 Joseph Myers <joseph@codesourcery.com>
3396 * math/s_casinh.c (__casinh): Reduce finite argument to first
3397 quadrant then set signs of results at the end.
3398 * math/s_casinhf.c (__casinhf): Likewise.
3399 * math/s_casinhl.c (__casinhl): Likewise.
3400 * math/libm-test.inc (casin_test): Add more tests.
3401 (casinh_test): Likewise.
3402 * sysdeps/i386/fpu/libm-test-ulps: Update.
3403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3405 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3407 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3409 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3411 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3414 (__mp_dbl): Likewise.
3417 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3418 and adjust the header comment.
3420 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3421 variable name from declaration.
3423 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3426 Initialize COMMON_CPUID_INDEX_7 element.
3427 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3428 (CPUID_RTM): Likewise.
3429 (HAS_RTM): Likewise.
3430 (COMMON_CPUID_INDEX_7): New enum.
3432 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3435 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3436 size is zero, record memory as freed.
3438 2013-01-03 Andreas Jaeger <aj@suse.de>
3440 * po/ia.po: Add new Interlingua translation.
3442 2012-01-03 Allan McRae <allan@archlinux.org>
3444 * locale/programs/localedef.c: Fix description of '--posix' flag.
3446 2013-01-02 Joseph Myers <joseph@codesourcery.com>
3448 * NEWS: Update dates in second copyright notice.
3449 * README: Update copyright dates in example.
3450 * manual/libc.texinfo: Update copyright dates.
3451 * scripts/test-installation.pl: Update copyright date in --version
3454 * hurd/ctty-input.c: Fix copyright notice formatting.
3455 * hurd/ctty-output.c: Likewise.
3456 * hurd/dtable.c: Likewise.
3457 * hurd/hurd-raise.c: Likewise.
3458 * hurd/hurdprio.c: Likewise.
3459 * hurd/msgportdemux.c: Likewise.
3460 * misc/sys/file.h: Likewise.
3461 * misc/sys/ioctl.h: Likewise.
3462 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3463 * sysdeps/mach/hurd/chdir.c: Likewise.
3464 * sysdeps/mach/hurd/fchdir.c: Likewise.
3465 * sysdeps/mach/hurd/rename.c: Likewise.
3466 * sysdeps/mach/hurd/rmdir.c: Likewise.
3467 * sysdeps/mach/hurd/seekdir.c: Likewise.
3468 * sysdeps/mach/hurd/setsid.c: Likewise.
3469 * sysdeps/posix/wait3.c: Likewise.
3471 * All files with FSF copyright notices: Update copyright dates
3472 using scripts/update-copyrights.
3473 * intl/plural.c: Regenerated.
3474 * locale/programs/charmap-kw.h: Likewise.
3475 * locale/programs/locfile-kw.h: Likewise.
3477 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3479 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3482 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3483 calculation loop and add branch prediction.
3485 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3486 check access beyond bounds of m1np.
3488 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3490 (__inv): Remove local variable MPTWO to use the global
3492 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3493 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3495 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3496 MP3HALFS static const.
3498 2013-01-01 David S. Miller <davem@davemloft.net>
3500 * po/ca.po: Update from translation team.
3502 2013-01-01 Joseph Myers <joseph@codesourcery.com>
3504 * scripts/update-copyrights: New file.
3505 * Makeconfig: Reformat copyright notice.
3506 * ctype/ctype.h: Likewise.
3507 * debug/swprintf_chk.c: Likewise.
3508 * elf/dl-cache.c: Likewise.
3509 * elf/dl-debug.c: Likewise.
3510 * elf/dl-object.c: Likewise.
3511 * grp/initgroups.c: Likewise.
3512 * hurd/Makefile: Likewise.
3513 * hurd/hurd/signal.h: Likewise.
3514 * hurd/hurdfault.c: Likewise.
3515 * hurd/hurdioctl.c: Likewise.
3516 * hurd/hurdlookup.c: Likewise.
3517 * hurd/intr-msg.c: Likewise.
3518 * iconv/gconv_open.c: Likewise.
3519 * libio/swprintf.c: Likewise.
3520 * locale/lc-ctype.c: Likewise.
3521 * locale/nl_langinfo.c: Likewise.
3522 * mach/Machrules: Likewise.
3523 * mach/Makefile: Likewise.
3524 * malloc/obstack.h: Likewise.
3525 * manual/Makefile: Likewise.
3526 * manual/tsort.awk: Likewise.
3527 * misc/bits/stab.def: Likewise.
3528 * nis/nis_print_group_entry.c: Likewise.
3529 * nis/nis_table.c: Likewise.
3530 * nis/nss_compat/compat-pwd.c: Likewise.
3531 * nis/nss_compat/compat-spwd.c: Likewise.
3532 * po/Makefile: Likewise.
3533 * posix/fnmatch.c: Likewise.
3534 * posix/regex.h: Likewise.
3535 * resolv/Makefile: Likewise.
3536 * resolv/nss_dns/dns-network.c: Likewise.
3537 * resolv/res_hconf.c: Likewise.
3538 * scripts/gen-sorted.awk: Likewise.
3539 * soft-fp/soft-fp.h: Likewise.
3540 * stdio-common/printf.h: Likewise.
3541 * stdlib/monetary.h: Likewise.
3542 * stdlib/random.c: Likewise.
3543 * stdlib/random_r.c: Likewise.
3544 * sysdeps/generic/Makefile: Likewise.
3545 * sysdeps/gnu/Makefile: Likewise.
3546 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3547 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3548 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3549 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3550 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3551 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3552 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3553 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3554 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3555 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3556 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3557 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3558 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3559 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3560 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3561 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3562 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3563 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3564 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3565 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3566 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3567 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3568 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3569 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3570 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3571 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3572 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3573 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3574 * sysdeps/mach/hurd/errnos.awk: Likewise.
3575 * sysdeps/mach/hurd/fork.c: Likewise.
3576 * sysdeps/mach/hurd/getcwd.c: Likewise.
3577 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3578 * sysdeps/mach/hurd/mmap.c: Likewise.
3579 * sysdeps/mach/hurd/utimes.c: Likewise.
3580 * sysdeps/mach/hurd/xmknod.c: Likewise.
3581 * sysdeps/posix/profil.c: Likewise.
3582 * sysdeps/posix/readdir_r.c: Likewise.
3583 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3584 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3585 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3586 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3587 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3588 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3589 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3590 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3592 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3593 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3594 * sysdeps/pthread/lio_listio.c: Likewise.
3595 * sysdeps/sparc/dl-procinfo.h: Likewise.
3596 * sysdeps/unix/i386/sysdep.S: Likewise.
3597 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3598 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3599 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3600 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3602 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3603 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3604 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3605 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3606 * sysdeps/wordsize-32/divdi3.c: Likewise.
3607 * time/sys/time.h: Likewise.
3608 * wcsmbs/Makefile: Likewise.
3610 2013-01-01 David S. Miller <davem@davemloft.net>
3612 * po/fr.po: Update from translation team.
3614 * catgets/gencat.c: Update copyright year.
3615 * csu/version.c: Likewise.
3616 * debug/catchsegv.sh: Likewise.
3617 * debug/pcprofiledump.c: Likewise.
3618 * debug/xtrace.sh: Likewise.
3619 * elf/ldconfig.c: Likewise.
3620 * elf/ldd.bash.in: Likewise.
3621 * elf/pldd.c: Likewise.
3622 * elf/sotruss.ksh: Likewise.
3623 * elf/sprof.c: Likewise.
3624 * iconv/iconv_prog.c: Likewise.
3625 * iconv/iconvconfig.c: Likewise.
3626 * locale/programs/locale.c: Likewise.
3627 * locale/programs/localedef.c: Likewise.
3628 * login/programs/pt_chown.c: Likewise.
3629 * malloc/memusage.sh: Likewise.
3630 * malloc/memusagestat.c: Likewise.
3631 * malloc/mtrace.pl: Likewise.
3632 * nscd/nscd.c: Likewise.
3633 * nss/getent.c: Likewise.
3634 * nss/makedb.c: Likewise.
3635 * posix/getconf.c: Likewise.
3637 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3639 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3642 2012-12-30 Mike Frysinger <vapier@gentoo.org>
3644 * math/bits/mathcalls.h (modf): Use __nonnull.
3646 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3648 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3649 (split): Use macro CN instead of the bare value.
3650 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3652 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3653 instead of the bare value.
3656 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3658 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3660 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3662 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3664 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3665 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3666 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3667 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3669 2012-12-28 Andreas Jaeger <aj@suse.de>
3671 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3672 values are from Linux 3.7.
3674 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3675 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3677 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3679 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3682 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3684 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3685 variables with preprocessor constants.
3686 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3687 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3688 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3690 2012-12-27 Bruno Haible <bruno@clisp.org>
3693 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3696 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3698 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3699 and use variable directly.
3700 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3702 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3704 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3705 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3707 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3708 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3709 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3710 include directive. Remove local variable MPONE.
3711 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3712 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3713 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3715 2012-12-25 David S. Miller <davem@davemloft.net>
3717 * version.h (RELEASE): Set to "development".
3718 (VERSION): Set to "2.17.90".
3719 * NEWS: Add 2.18 section.
3721 2012-12-21 David S. Miller <davem@davemloft.net>
3723 * po/hr.po: Update from translation team.
3725 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3727 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3729 2012-12-19 Steve Ellcey <sellcey@mips.com>
3731 * NEWS: Mention new memcpy for MIPS.
3733 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3735 * manual/contrib.texi (Contributors): Spelling correction.
3737 2012-12-15 David S. Miller <davem@davemloft.net>
3739 * po/ru.po: Update from translation team.
3741 2012-12-13 David S. Miller <davem@davemloft.net>
3743 * NEWS: Mention IFUNC testsuite enhancements.
3745 * po/pl.po: Update from translation team.
3746 * po/bg.po: Likewise.
3748 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3749 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3751 2012-12-11 David S. Miller <davem@davemloft.net>
3753 * po/sv.po: Update from translation team.
3755 * po/vi.po: Update from translation team.
3757 * po/cs.po: Update from translation team.
3759 * po/de.po: Update from translation team.
3760 * po/eo.po: Likewise.
3761 * po/nl.po: Likewise.
3763 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3766 * manual/argp.texi (Argp Helper Functions): Move node to follow
3770 * manual/conf.texi (Limits on File System Capacity): Mention if
3771 terminating null is included in the max size.
3773 2012-12-10 Andreas Jaeger <aj@suse.de>
3775 * po/cs.po: Update from translation team.
3777 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3779 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3780 void pointer and cast to uintptr_t.
3781 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3783 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3784 * sysdeps/s390/s390-64/memset.S: Likewise.
3786 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
3789 * menual/message.texi (Message Translation): Fix typos.
3790 (Helper programs for gettext): Likewise.
3792 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3795 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3798 2012-12-07 David S. Miller <davem@davemloft.net>
3800 * po/libc.pot: Update.
3802 2012-12-07 Richard Henderson <rth@redhat.com>
3805 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3806 normal/normal case to before the switch.
3807 (_FP_DIV): Likewise.
3809 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3810 Mike Frysinger <vapier@gentoo.org>
3812 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3813 check for __NR_fadvise64_64.
3815 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3817 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3818 0, not just to plain "0" as a statement.
3819 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3822 2012-12-06 Joseph Myers <joseph@codesourcery.com>
3824 * NEWS: Use sourceware.org in Bugzilla URL.
3826 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3829 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3831 * stdio-common/tst-put-error.c (do_test): Add newline to the
3832 padded test to ensure flush.
3834 2012-12-05 Jeff Law <law@redhat.com>
3836 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3838 2012-12-05 Joseph Myers <joseph@codesourcery.com>
3840 * README: Don't refer to ports add-on as distributed separately.
3841 Mention AArch64 in list of systems supported in the ports add-on.
3843 * LICENSES: Add more non-FSF copyright and license notices.
3845 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3848 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3850 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3851 10000 as width of padded output.
3853 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3855 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3857 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3858 variable LX with __attribute__ ((unused)).
3859 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3861 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3862 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3863 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3864 with __attribute__ ((unused)).
3866 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
3868 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3870 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3872 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3873 (CFLAGS-nldbl-acos.c): New variable.
3874 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3875 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3876 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3877 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3878 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3879 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3880 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3881 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3882 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3883 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3884 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3885 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3886 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3887 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3888 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3889 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3890 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3891 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3892 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3893 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3894 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3895 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3896 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3897 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3898 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3899 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3900 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3901 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3902 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3903 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3904 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3905 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3906 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3907 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3908 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3909 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3910 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3911 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3912 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3913 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3914 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3915 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3916 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3917 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3918 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3919 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3920 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3921 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3922 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3923 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3924 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3925 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3926 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3927 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3928 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3929 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3930 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3931 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3932 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3933 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3934 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3935 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3936 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3937 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3938 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3939 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3940 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3941 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3942 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3943 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3944 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3945 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3946 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3947 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3948 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3949 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3950 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3951 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3952 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3953 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3954 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3955 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3956 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3957 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3958 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3959 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3960 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3961 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3962 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3963 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3964 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3965 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3966 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3967 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3968 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3969 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3970 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3973 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3976 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3977 whole low double instead of just low 47 bits when splitting values
3980 2012-12-03 Allan McRae <allan@archlinux.org>
3982 * manual/stdio.texi (Predefined Printf Handlers): Remove
3983 @hsep and @vsep usage.
3985 2012-12-03 Mike Frysinger <vapier@gentoo.org>
3987 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3988 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3990 2012-12-03 Jeff Law <law@redhat.com>
3992 * time/sys/time.h (settimeofday): Do not mark TV argument
3995 2012-12-01 Mike Frysinger <vapier@gentoo.org>
3997 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3998 when currently writing and seek to current position when not.
3999 * libio/Makefile (tests): Remove bug-fclose1.
4000 * libio/bug-fclose1.c: Delete.
4002 2012-12-01 Joseph Myers <joseph@codesourcery.com>
4004 * manual/arith.texi (feenableexcept): Fix typo.
4005 (fedisableexcept): Likewise.
4007 2012-11-30 Roland McGrath <roland@hack.frob.com>
4009 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4010 second, differently-typed declaration, rather than a cast.
4012 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4014 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4015 * include/rpc/svc.h: ... here.
4017 2012-11-30 Aurelien Jarno <aurel32@debian.org>
4020 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4021 depending n and resplen2 to catch cases where answer
4024 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4026 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4027 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4029 2012-11-29 Mike Frysinger <vapier@gentoo.org>
4031 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4033 2012-11-29 Roland McGrath <roland@hack.frob.com>
4035 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4037 2012-11-28 Jeff Law <law@redhat.com>
4040 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4041 dataset_temporary. Track alloca usage into alloca_used.
4042 If dataset is large allocate and release it via malloc/free.
4044 2012-06-04 Florian Weimer <fweimer@redhat.com>
4047 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4049 2012-11-28 David S. Miller <davem@davemloft.net>
4051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4053 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4056 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4057 of pi/2 rounded to nearest to 64 bits.
4058 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4060 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4063 2012-11-28 Jeff Law <law@redhat.com>
4064 Martin Osvald <mosvald@redhat.com>
4067 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4068 * sunrpc/svc.c: Include time.h.
4069 (__svc_accept_failed): New function.
4070 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4071 any reason other than EINTR, call __svc_accept_failed.
4072 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4073 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4075 2012-11-28 Andreas Schwab <schwab@suse.de>
4077 * scripts/abilist.awk: Also handle indirect functions in .opd
4080 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4083 * sysdeps/x86/fpu/powl_helper.c: New file.
4084 * sysdeps/x86/fpu/Makefile: Likewise.
4085 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4087 (__ieee754_powl): Use __powl_helper for finite arguments except
4088 integer exponents below 8.
4089 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4091 (__ieee754_powl): Use __powl_helper for finite arguments except
4092 integer exponents below 8.
4093 * math/libm-test.inc (pow_test): Add more tests and enable some
4094 previously disabled tests.
4095 * sysdeps/i386/fpu/libm-test-ulps: Update.
4096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4098 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4099 Carlos O'Donell <carlos_odonell@mentor.com>
4101 * nss/makedb.c (is_prime): Assert that input is odd and greater
4102 than 4. Note that fact in a comment too.
4103 (next_prime): Add 4 to input.
4105 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4108 * libio/Makefile (tests): Add test case tst-fwrite-error.
4109 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4110 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4111 * libio/tst-fwrite-error.c: New test case.
4113 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4115 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4116 before casting to void *.
4117 * include/libc-internal.h (__pointer_type): New macro.
4118 (__integer_if_pointer_type_sub): Likewise.
4119 (__integer_if_pointer_type): Likewise.
4120 (cast_to_integer): Likewise.
4121 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4122 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4123 before casting to atomic64_t.
4124 (atomic_exchange_acq): Likewise.
4125 (__arch_exchange_and_add_body): Likewise.
4126 (__arch_add_body): Likewise.
4127 (atomic_add_negative): Likewise.
4128 (atomic_add_zero): Likewise.
4130 2012-11-26 Joseph Myers <joseph@codesourcery.com>
4132 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4133 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4134 (add_fdes): Likewise.
4135 (linear_search_fdes): Likewise.
4136 (binary_search_unencoded_fdes): Likewise.
4138 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4140 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4142 2012-11-24 Adam Conrad <adconrad@0c3.net>
4144 * configure.in: Autodetect C++ header directories.
4145 * configure: Regenerated.
4147 2012-11-23 Mike Frysinger <vapier@gentoo.org>
4149 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4151 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4155 2012-11-22 Joseph Myers <joseph@codesourcery.com>
4157 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4158 LDBL_MANT_DIG == 106]: Disable some tests.
4159 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4161 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4165 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4166 input for small inputs. Return +/- pi/2 for large inputs.
4167 * math/libm-test.inc (atan_test): Add more tests.
4169 * sysdeps/generic/unwind-dw2-fde-glibc.c
4170 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4171 __attribute__ ((unused)).
4174 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4175 x * y if x and y are nonzero and z is zero.
4178 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4179 nonzero exponents with absolute value below 0x1p-117 to +/-
4183 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4184 up arguments below 2**-450, not just those below 2**-500.
4185 * math/libm-test.inc (hypot_test): Add another test.
4188 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4189 Return a+b for ratio over 2**120, not 2**60.
4190 * math/libm-test.inc (hypot_test): Add another test.
4192 * math/libm-test.inc (clog_test): Use
4193 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4194 (clog10_test): Likewise.
4197 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4199 2012-11-22 Andreas Schwab <schwab@suse.de>
4201 * sysdeps/i386/fpu/libm-test-ulps: Update.
4203 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4205 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4206 printf output with newline.
4208 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4211 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4212 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4213 -z nodlopen, -z initfirst and -z execstack support.
4214 * configure: Regenerated.
4216 * elf/elf.h (DF_1_NODIRECT): New macro.
4217 (DF_1_IGNMULDEF): Likewise.
4218 (DF_1_NOKSYMS): Likewise.
4219 (DF_1_NOHDR): Likewise.
4220 (DF_1_EDITED): Likewise.
4221 (DF_1_NORELOC): Likewise.
4222 (DF_1_SYMINTPOSE): Likewise.
4223 (DF_1_GLOBAUDIT): Likewise.
4224 (DF_1_SINGLETON): Likewise.
4225 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4226 DT_1_SUPPORTED_MASK bits.
4227 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4229 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4231 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4233 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4235 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4238 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4239 (sendmmsg): Move declarations...
4240 * socket/sys/socket.h: ... here.
4241 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4242 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4244 * socket/recvmmsg.c: ... this new file.
4245 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4246 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4247 definition of __sendmmsg hidden.
4248 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4249 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4250 Move ENOSYS stub into and include it from...
4251 * socket/sendmmsg.c: ... this new file.
4252 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4253 (sysdep_routines): Move recvmmsg and sendmmsg...
4254 * socket/Makefile (routines): ... here.
4255 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4256 (GLIBC_PRIVATE): Add __sendmmsg.
4257 * include/sys/socket.h (__sendmmsg): Add declarations.
4258 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4261 2012-11-20 Joseph Myers <joseph@codesourcery.com>
4263 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4264 variable I1 with __attribute__ ((unused)).
4265 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4267 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4269 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4270 DUMMY variables with __attribute__ ((unused)).
4272 * bits/byteswap.h: Include <bits/types.h>.
4273 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4275 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4277 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4278 string_t. Do not manually set errno.
4279 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4280 length with __strnlen. Make sure to both set errno and return it on
4283 2012-11-19 David S. Miller <davem@davemloft.net>
4285 With help from Joseph Myers.
4286 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4287 very large arguments properly.
4288 * math/libm-test.inc (atan_test): New tests.
4289 (atan2_test): New tests.
4290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4291 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4293 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4296 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4299 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4300 [POSIX] (EADDRNOTAVAIL): Likewise.
4301 [POSIX] (EAFNOSUPPORT): Likewise.
4302 [POSIX] (EALREADY): Likewise.
4303 [POSIX] (ECONNABORTED): Likewise.
4304 [POSIX] (ECONNREFUSED): Likewise.
4305 [POSIX] (ECONNRESET): Likewise.
4306 [POSIX] (EDESTADDRREQ): Likewise.
4307 [POSIX] (EDQUOT): Likewise.
4308 [POSIX] (EHOSTUNREACH): Likewise.
4309 [POSIX] (EIDRM): Likewise.
4310 [POSIX] (EISCONN): Likewise.
4311 [POSIX] (ELOOP): Likewise.
4312 [POSIX] (EMULTIHOP): Likewise.
4313 [POSIX] (ENETDOWN): Likewise.
4314 [POSIX] (ENETUNREACH): Likewise.
4315 [POSIX] (ENOBUFS): Likewise.
4316 [POSIX] (ENODATA): Likewise.
4317 [POSIX] (ENOLINK): Likewise.
4318 [POSIX] (ENOMSG): Likewise.
4319 [POSIX] (ENOPROTOOPT): Likewise.
4320 [POSIX] (ENOSR): Likewise.
4321 [POSIX] (ENOSTR): Likewise.
4322 [POSIX] (ENOTCONN): Likewise.
4323 [POSIX] (ENOTSOCK): Likewise.
4324 [POSIX] (EOPNOTSUPP): Likewise.
4325 [POSIX] (EOVERFLOW): Likewise.
4326 [POSIX] (EPROTO): Likewise.
4327 [POSIX] (EPROTONOSUPPORT): Likewise.
4328 [POSIX] (EPROTOTYPE): Likewise.
4329 [POSIX] (ESTALE): Likewise.
4330 [POSIX] (ETIME): Likewise.
4331 [POSIX] (ETXTBSY): Likewise.
4332 [POSIX] (EWOULDBLOCK): Likewise.
4333 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4334 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4335 [POSIX] (SEEK_CUR): Likewise.
4336 [POSIX] (SEEK_END): Likewise.
4337 [POSIX || UNIX98] (mode_t): Do not require.
4338 [POSIX] (off_t): Likewise.
4339 [POSIX] (pid_t): Likewise.
4340 [POSIX] (sys/stat.h): Do not allow header.
4341 [POSIX] (unistd.h): Likewise.
4342 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4343 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4344 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4345 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4347 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4348 sigevent): Specify elements.
4349 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4351 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4352 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4354 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4355 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4356 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4357 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4358 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4359 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4360 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4361 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4362 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4363 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4364 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4365 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4366 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4367 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4369 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4371 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4373 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4375 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4376 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4377 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4378 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4379 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4380 Specify lower bound on value.
4381 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4382 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4383 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4384 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4385 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4386 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4387 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4388 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4390 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4392 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4393 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4394 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4395 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4396 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4397 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4398 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4399 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4400 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4401 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4402 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4403 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4404 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4405 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4406 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4407 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4409 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4411 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4412 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4413 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4414 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4415 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4416 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4418 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4419 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4420 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4421 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4422 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4423 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4424 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4426 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4427 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4428 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4429 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4430 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4431 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4432 specify as optional.
4433 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4434 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4435 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4436 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4437 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4438 [XPG3] (NL_LANGMAX): Likewise.
4439 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4440 [POSIX || XPG3] (NL_NMAX): Likewise.
4441 [POSIX || XPG3] (NL_SETMAX): Likewise.
4442 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4443 [XPG3] (NZERO): Likewise.
4444 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4445 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4446 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4447 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4448 (REG_ERANGE): Expect.
4449 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4451 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4452 Use (void) in prototype.
4453 [POSIX] (*_t): Allow.
4454 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4455 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4456 (WRDE_BADVAL): Expect.
4458 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4460 [XPG3 || XPG4] (O_RSYNC): Likewise.
4461 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4463 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4464 [XPG3 || XPG4] (sigqueue): Likewise.
4465 [XPG3 || XPG4] (sigtimedwait): Likewise.
4466 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4467 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4468 [XPG3 || XPG4] (vsnprintf): Likewise.
4469 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4471 [XPG3 || XPG4] (blksize_t): Likewise.
4472 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4474 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4475 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4476 [XPG3 || XPG4] (struct itimerspec): Likewise.
4477 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4478 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4479 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4480 [XPG3 || XPG4] (clockid_t): Likewise.
4481 [XPG3 || XPG4] (timer_t): Likewise.
4482 [XPG3 || XPG4] (clock_getres): Likewise.
4483 [XPG3 || XPG4] (clock_gettime): Likewise.
4484 [XPG3 || XPG4] (clock_settime): Likewise.
4485 [XPG3 || XPG4] (nanosleep): Likewise.
4486 [XPG3 || XPG4] (timer_create): Likewise.
4487 [XPG3 || XPG4] (timer_delete): Likewise.
4488 [XPG3 || XPG4] (timer_gettime): Likewise.
4489 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4490 [XPG3 || XPG4] (timer_settime): Likewise.
4491 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4492 [XPG3 || XPG4] (getlogin_r): Likewise.
4493 [XPG3 || XPG4] (pread): Likewise.
4494 [XPG3 || XPG4] (pthread_atfork): Likewise.
4495 [XPG3 || XPG4] (pwrite): Likewise.
4498 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4501 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4503 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4504 finalizing MALLSTREAM.
4506 * sysdeps/mach/hurd/syncfs.c: New file.
4508 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4511 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4512 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4513 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4514 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4515 (_nss_dns_gethostbyname4_r): Likewise.
4516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4517 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4519 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4522 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4524 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4526 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4527 * elf/cache.c (print_entry): Print ",AArch64" for
4530 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4531 * elf/cache.c (print_entry): Print ",hard-float" for
4534 2012-11-18 David S. Miller <davem@davemloft.net>
4536 With help from Joseph Myers.
4537 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4539 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4541 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4542 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4544 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4545 * math/libm-test.inc (y0_test): New tests.
4546 (y1_test): New tests.
4547 * sysdeps/i386/fpu/libm-test-ulps: Update.
4548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4551 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4553 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4555 * configure: Regenerated.
4557 2012-11-17 David S. Miller <davem@davemloft.net>
4560 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4561 nonzero exponents with absolute value below 0x1p-128 to +/-
4564 2012-11-17 Joseph Myers <joseph@codesourcery.com>
4566 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4568 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4570 * posix/getconf-speclist.c: New file.
4571 * posix/posix-envs.def: Likewise.
4572 * posix/confstr.c (START_ENV_GROUP): New macro.
4573 (END_ENV_GROUP): Likewise.
4574 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4575 (KNOWN_PRESENT_ENV_STRING): Likewise.
4576 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4577 (UNKNOWN_ENVIRONMENT): Likewise.
4578 (confstr): Include posix-envs.def instead of handling
4579 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4580 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4581 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4582 (END_ENV_GROUP): Likewise.
4583 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4584 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4585 (UNKNOWN_ENVIRONMENT): Likewise.
4586 (__sysconf): Include posix-envs.def instead of handling associated
4587 cases directly here.
4588 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4589 preprocessing getconf-speclist.c rather than running getconf or
4590 generating empty file.
4592 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4594 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4596 2012-11-16 Andrej Lajovic <natrij@gmail.com>
4599 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4601 2012-11-16 David S. Miller <davem@davemloft.net>
4603 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4604 smaller than LDBL_EPSILON/2.0L, just return xm1.
4606 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4608 * elf/tst-array1.c (init): Set constructor priority to 1000.
4609 (fini): Set destructor priority to 1000.
4610 * elf/tst-array2dep.c: Likewise.
4612 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4615 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4616 (_IO_new_file_xsputn): Also return EOF if none of the input
4617 data was written when overflow failed.
4618 * libio/iopadn.c (_IO_padn): Likewise.
4619 * libio/iowpadn.c (_IO_wpadn): Likewise.
4620 * stdio-common/tst-put-error.c: Add copyright notice.
4621 (do_test): Add case for printing padded string.
4622 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4623 _IO_padn returned error.
4624 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4625 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4628 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4630 * libio/libioP.h: Add comment note that the references to C++
4631 bits are now obsolete.
4633 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4635 * math/libm-test.inc (check_complex): Use asprintf.
4637 2012-11-14 Joseph Myers <joseph@codesourcery.com>
4639 * debug/pcprofiledump.c (print_version): Update copyright year.
4640 * malloc/memusagestat.c (print_version): Likewise.
4642 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4645 * elf/Makefile (tests): Add tst-audit8.
4646 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4647 ($(objpfx)tst-audit8.out): New target.
4648 (tst-audit8-ENV): New variable.
4649 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4650 audit if l_reloc_result is NULL.
4651 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4652 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4653 * elf/tst-audit8.c: New file.
4655 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4657 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4658 * misc/Makefile (CFLAGS-select.c): Define.
4659 * posix/Makefile (CFLAGS-pause.c): Define.
4661 2012-11-13 David S. Miller <davem@davemloft.net>
4663 * crypt/Makefile: Move test targets after toplevel Rules
4664 inclusion. Grab any necessary sysdep routines when linking.
4665 * crypt/md5.c (md5_process_block): Remove define, we will always
4666 name it __md5_process_block.
4667 (md5_finish_ctx): Update md5_process_block call.
4668 (md5_stream): Likewise.
4669 (md5_process_bytes): Likewise.
4670 (md5_process_block): Rename to __md5_process_block and move to ...
4671 * crypt/md5-block.c: ... here.
4672 * crypt/sha256.c (sha256_process_block): Move to ...
4673 * crypt/sha256-block.c: ... here.
4674 * crypt/sha512.c (sha512_process_block): Move to ...
4675 * crypt/sha512-block.c: ... here.
4676 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4678 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4679 * sysdeps/sparc/sparc64/multiarch/Makefile
4680 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4682 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4683 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4685 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4686 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4687 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4688 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4689 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4690 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4691 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4692 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4693 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4695 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4696 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4698 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4700 2012-11-13 Joseph Myers <joseph@codesourcery.com>
4702 * timezone/tzselect.ksh: Update from tzcode git revision
4703 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4704 * timezone/zdump.c: Likewise.
4705 * timezone/zic.c: Likewise.
4706 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4707 in TZVERSION setting, not $(PKGVERSION).
4708 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4709 REPORT_BUGS_TO settings.
4712 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4715 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4717 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4718 detection to immediately after _FP_ROUND().
4719 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4722 2012-11-11 David S. Miller <davem@davemloft.net>
4724 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4726 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4727 __close rather than their public counterparts.
4729 2012-11-10 Joseph Myers <joseph@codesourcery.com>
4731 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4733 [UNIX98] (sem_timedwait): Do not expect.
4734 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4735 [XPG4 || UNIX98] (sockatmark): Do not expect.
4736 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4737 (clock_getcpuclockid): Do not expect.
4738 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4739 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4741 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4742 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4743 [UNIX98] (vwscanf): Likewise.
4744 [UNIX98] (vswscanf): Likewise.
4746 2012-11-09 Joseph Myers <joseph@codesourcery.com>
4748 * timezone/version.h: Remove file.
4749 * timezone/README: Do not refer to version.h.
4750 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4752 ($(objpfx)zdump.o): Likewise.
4753 ($(objpfx)version.h): New target.
4755 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4757 * timezone/README: Don't mention modification to tzselect.ksh.
4758 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4759 work on unmodified tzselect.ksh. Substitute version numbers in
4762 * Makefile (format-me): Remove.
4763 (INSTALL): Adjust indentation. Use commands directly instead of
4766 * aclocal.m4 (ACX_PKGVERSION): New macro.
4767 (ACX_BUGURL): Likewise.
4768 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4769 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4770 (REPORT_BUGS_TO): Likewise.
4771 * configure: Regenerated.
4772 * config.h.in (PKGVERSION): New macro.
4773 (REPORT_BUGS_TO): Likewise.
4774 * config.make.in (PKGVERSION): New variable.
4775 (PKGVERSION_TEXI): Likewise.
4776 (REPORT_BUGS_TO): Likewise.
4777 (REPORT_BUGS_TEXI): Likewise.
4778 * Makefile (format-me): Use -I$(common-objpfx)manual.
4779 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4780 ($(common-objpfx)manual/%): New target.
4781 (manual/%): Remove target.
4782 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4783 (print_version): Use PKGVERSION.
4784 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4785 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4787 ($(objpfx)xtrace): Likewise.
4788 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4789 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4790 (print_version): Use PKGVERSION.
4791 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4792 (do_version): Use PKGVERSION.
4793 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4795 (common-ldd-rewrite): Likewise.
4796 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4797 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4798 (print_version): Use PKGVERSION.
4799 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4800 * elf/pldd.c (argp_program_bug_address): Remove variable.
4801 (more_help): New function.
4802 (argp): Use more_help.
4803 (print_version): Use PKGVERSION.
4804 * elf/sln.c (main): Use PKGVERSION.
4805 (usage): Use REPORT_BUGS_TO.
4806 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4807 (top level): Use PKGVERSION.
4808 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4809 (print_version): Use PKGVERSION.
4810 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4811 (print_version): Use PKGVERSION.
4812 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4813 (print_version): Use PKGVERSION.
4814 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4815 (print_version): Use PKGVERSION.
4816 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4817 (print_version): Use PKGVERSION.
4818 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4819 (print_version): Use PKGVERSION.
4820 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4822 ($(objpfx)memusage): Likewise.
4823 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4824 (do_version): Use PKGVERSION.
4825 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4826 (print_version): Use PKGVERSION.
4827 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4828 ($PKGVERSION): New variable.
4829 ($REPORT_BUGS_TO): Likewise.
4830 (usage): Use $REPORT_BUGS_TO.
4831 (top level): Use $PKGVERSION.
4832 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4833 ($(objpfx)pkgvers.texi): New rule.
4834 ($(objpfx)stamp-pkgvers): Likewise.
4835 * manual/install.texi: Include pkgvers.texi.
4836 (--with-pkgversion): Document new configure option.
4837 (--with-bugurl): Likewise.
4838 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4839 than necessarily for this particular distribution. Use
4840 REPORT_BUGS_TO for where to report bugs.
4841 * INSTALL: Regenerated.
4842 * manual/libc.texinfo: Include pkgvers.texi.
4843 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4844 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4845 (print_version): Use PKGVERSION.
4846 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4847 (print_version): Use PKGVERSION.
4848 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4849 (print_version): Use PKGVERSION.
4850 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4851 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4853 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4854 (print_version): Use PKGVERSION.
4855 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4856 (print_version): Use PKGVERSION.
4857 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4860 * timezone/checktab.awk: Update from tzcode 2012i.
4861 * timezone/ialloc.c: Likewise.
4862 * timezone/private.h: Likewise.
4863 * timezone/scheck.c: Likewise.
4864 * timezone/tzfile.h: Likewise.
4865 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4866 (TZVERSION): Hardcode tzcode version number.
4867 * timezone/zdump.c: Update from tzcode 2012i.
4868 * timezone/zic.c: Likewise.
4869 * timezone/version.h: New file.
4870 * timezone/README: Describe version.h. Update upstream location.
4873 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4874 (mktemp): Enable declaration.
4875 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4876 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4877 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4878 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4880 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4882 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4884 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4886 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4888 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4892 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4893 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4894 for copies of such integer values.
4895 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4896 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4898 2012-11-09 Andreas Jaeger <aj@suse.de>
4900 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4901 definitions and declarations that are provided by
4902 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4904 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4906 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4907 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4908 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4911 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4913 * elf/elf.h: Update comment before AArch64 relocations.
4915 2012-11-07 David S. Miller <davem@davemloft.net>
4917 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4918 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4919 (__start_context): Declare.
4920 (__makecontext_ret): Delete.
4921 (__makecontext): Hook up __start_context instead of
4923 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4924 (sysdep_routines): Add __start_context when in stdlib.
4926 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4928 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4929 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4930 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4932 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4933 (READELF): New variable. Use it instead of hardcoded "readelf".
4935 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4937 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4938 * sysdeps/x86/Makefile: Here.
4939 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4940 * sysdeps/x86/tst-xmmymm.sh: This.
4942 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4944 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4946 [UNIX98] (pthread_barrier_t): Do not expect.
4947 [UNIX98] (pthread_barrierattr_t): Likewise.
4948 [UNIX98] (pthread_spinlock_t): Likewise.
4949 [UNIX98] (pthread_barrier_destroy): Likewise.
4950 [UNIX98] (pthread_barrier_init): Likewise.
4951 [UNIX98] (pthread_barrier_wait): Likewise.
4952 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4953 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4954 [UNIX98] (pthread_barrierattr_init): Likewise.
4955 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4956 [UNIX98] (pthread_getcpuclockid): Likewise.
4957 [UNIX98] (pthread_mutex_timedlock): Likewise.
4958 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4959 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4960 [UNIX98] (pthread_sigmask): Likewise.
4961 [UNIX98] (pthread_spin_destroy): Likewise.
4962 [UNIX98] (pthread_spin_init): Likewise.
4963 [UNIX98] (pthread_spin_lock): Likewise.
4964 [UNIX98] (pthread_spin_trylock): Likewise.
4965 [UNIX98] (pthread_spin_unlock): Likewise.
4966 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4968 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4969 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4970 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4971 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4972 [XPG3 || XPG4] (pthread_key_t): Likewise.
4973 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4974 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4975 [XPG3 || XPG4] (pthread_once_t): Likewise.
4976 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4977 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4978 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4979 [XPG3 || XPG4] (pthread_t): Likewise.
4981 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4983 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4985 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4986 Change function return type to int.
4988 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4989 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4990 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4991 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4992 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4993 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4994 [!POSIX] (posix_madvise): Likewise.
4995 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4997 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4998 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5000 (posix_mem_offset): Likewise.
5001 (posix_typed_mem_get_info): Likewise.
5002 (posix_typed_mem_open): Likewise.
5004 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5005 Change condition to [XOPEN2K8].
5007 * conform/conformtest.pl: Preprocess allow-header data with -x c
5008 instead of from stdin.
5009 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5010 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5011 [C99-based standards] (cerfc): Likewise.
5012 [C99-based standards] (cexp2): Likewise.
5013 [C99-based standards] (cexpm1): Likewise.
5014 [C99-based standards] (clog10): Likewise.
5015 [C99-based standards] (clog1p): Likewise.
5016 [C99-based standards] (clog2): Likewise.
5017 [C99-based standards] (clgamma): Likewise.
5018 [C99-based standards] (ctgamma): Likewise.
5019 [C99-based standards] (cerff): Likewise.
5020 [C99-based standards] (cerfcf): Likewise.
5021 [C99-based standards] (cexp2f): Likewise.
5022 [C99-based standards] (cexpm1f): Likewise.
5023 [C99-based standards] (clog10f): Likewise.
5024 [C99-based standards] (clog1pf): Likewise.
5025 [C99-based standards] (clog2f): Likewise.
5026 [C99-based standards] (clgammaf): Likewise.
5027 [C99-based standards] (ctgammaf): Likewise.
5028 [C99-based standards] (cerfl): Likewise.
5029 [C99-based standards] (cerfcl): Likewise.
5030 [C99-based standards] (cexp2l): Likewise.
5031 [C99-based standards] (cexpm1l): Likewise.
5032 [C99-based standards] (clog10l): Likewise.
5033 [C99-based standards] (clog1pl): Likewise.
5034 [C99-based standards] (clog2l): Likewise.
5035 [C99-based standards] (clgammal): Likewise.
5036 [C99-based standards] (ctgammal): Likewise.
5037 * conform/data/inttypes.h-data [C99-based standards]: Include
5038 stdint.h-data. Remove all expectations for stdint.h contents.
5039 [C99-based standards] (PRI*): Do not allow.
5040 [C99-based standards] (SCN*): Likewise.
5041 [C99-based standards] (*_t): Likewise.
5042 [C99-based-standards] (PRId8): Expect macro.
5043 [C99-based-standards] (PRIi8): Likewise.
5044 [C99-based-standards] (PRIo8): Likewise.
5045 [C99-based-standards] (PRIu8): Likewise.
5046 [C99-based-standards] (PRIx8): Likewise.
5047 [C99-based-standards] (PRIX8): Likewise.
5048 [C99-based-standards] (SCNd8): Likewise.
5049 [C99-based-standards] (SCNi8): Likewise.
5050 [C99-based-standards] (SCNo8): Likewise.
5051 [C99-based-standards] (SCNu8): Likewise.
5052 [C99-based-standards] (SCNx8): Likewise.
5053 [C99-based-standards] (PRIdLEAST8): Likewise.
5054 [C99-based-standards] (PRIiLEAST8): Likewise.
5055 [C99-based-standards] (PRIoLEAST8): Likewise.
5056 [C99-based-standards] (PRIuLEAST8): Likewise.
5057 [C99-based-standards] (PRIxLEAST8): Likewise.
5058 [C99-based-standards] (PRIXLEAST8): Likewise.
5059 [C99-based-standards] (SCNdLEAST8): Likewise.
5060 [C99-based-standards] (SCNiLEAST8): Likewise.
5061 [C99-based-standards] (SCNoLEAST8): Likewise.
5062 [C99-based-standards] (SCNuLEAST8): Likewise.
5063 [C99-based-standards] (SCNxLEAST8): Likewise.
5064 [C99-based-standards] (PRIdFAST8): Likewise.
5065 [C99-based-standards] (PRIiFAST8): Likewise.
5066 [C99-based-standards] (PRIoFAST8): Likewise.
5067 [C99-based-standards] (PRIuFAST8): Likewise.
5068 [C99-based-standards] (PRIxFAST8): Likewise.
5069 [C99-based-standards] (PRIXFAST8): Likewise.
5070 [C99-based-standards] (SCNdFAST8): Likewise.
5071 [C99-based-standards] (SCNiFAST8): Likewise.
5072 [C99-based-standards] (SCNoFAST8): Likewise.
5073 [C99-based-standards] (SCNuFAST8): Likewise.
5074 [C99-based-standards] (SCNxFAST8): Likewise.
5075 [C99-based-standards] (PRId16): Likewise.
5076 [C99-based-standards] (PRIi16): Likewise.
5077 [C99-based-standards] (PRIo16): Likewise.
5078 [C99-based-standards] (PRIu16): Likewise.
5079 [C99-based-standards] (PRIx16): Likewise.
5080 [C99-based-standards] (PRIX16): Likewise.
5081 [C99-based-standards] (SCNd16): Likewise.
5082 [C99-based-standards] (SCNi16): Likewise.
5083 [C99-based-standards] (SCNo16): Likewise.
5084 [C99-based-standards] (SCNu16): Likewise.
5085 [C99-based-standards] (SCNx16): Likewise.
5086 [C99-based-standards] (PRIdLEAST16): Likewise.
5087 [C99-based-standards] (PRIiLEAST16): Likewise.
5088 [C99-based-standards] (PRIoLEAST16): Likewise.
5089 [C99-based-standards] (PRIuLEAST16): Likewise.
5090 [C99-based-standards] (PRIxLEAST16): Likewise.
5091 [C99-based-standards] (PRIXLEAST16): Likewise.
5092 [C99-based-standards] (SCNdLEAST16): Likewise.
5093 [C99-based-standards] (SCNiLEAST16): Likewise.
5094 [C99-based-standards] (SCNoLEAST16): Likewise.
5095 [C99-based-standards] (SCNuLEAST16): Likewise.
5096 [C99-based-standards] (SCNxLEAST16): Likewise.
5097 [C99-based-standards] (PRIdFAST16): Likewise.
5098 [C99-based-standards] (PRIiFAST16): Likewise.
5099 [C99-based-standards] (PRIoFAST16): Likewise.
5100 [C99-based-standards] (PRIuFAST16): Likewise.
5101 [C99-based-standards] (PRIxFAST16): Likewise.
5102 [C99-based-standards] (PRIXFAST16): Likewise.
5103 [C99-based-standards] (SCNdFAST16): Likewise.
5104 [C99-based-standards] (SCNiFAST16): Likewise.
5105 [C99-based-standards] (SCNoFAST16): Likewise.
5106 [C99-based-standards] (SCNuFAST16): Likewise.
5107 [C99-based-standards] (SCNxFAST16): Likewise.
5108 [C99-based-standards] (PRId32): Likewise.
5109 [C99-based-standards] (PRIi32): Likewise.
5110 [C99-based-standards] (PRIo32): Likewise.
5111 [C99-based-standards] (PRIu32): Likewise.
5112 [C99-based-standards] (PRIx32): Likewise.
5113 [C99-based-standards] (PRIX32): Likewise.
5114 [C99-based-standards] (SCNd32): Likewise.
5115 [C99-based-standards] (SCNi32): Likewise.
5116 [C99-based-standards] (SCNo32): Likewise.
5117 [C99-based-standards] (SCNu32): Likewise.
5118 [C99-based-standards] (SCNx32): Likewise.
5119 [C99-based-standards] (PRIdLEAST32): Likewise.
5120 [C99-based-standards] (PRIiLEAST32): Likewise.
5121 [C99-based-standards] (PRIoLEAST32): Likewise.
5122 [C99-based-standards] (PRIuLEAST32): Likewise.
5123 [C99-based-standards] (PRIxLEAST32): Likewise.
5124 [C99-based-standards] (PRIXLEAST32): Likewise.
5125 [C99-based-standards] (SCNdLEAST32): Likewise.
5126 [C99-based-standards] (SCNiLEAST32): Likewise.
5127 [C99-based-standards] (SCNoLEAST32): Likewise.
5128 [C99-based-standards] (SCNuLEAST32): Likewise.
5129 [C99-based-standards] (SCNxLEAST32): Likewise.
5130 [C99-based-standards] (PRIdFAST32): Likewise.
5131 [C99-based-standards] (PRIiFAST32): Likewise.
5132 [C99-based-standards] (PRIoFAST32): Likewise.
5133 [C99-based-standards] (PRIuFAST32): Likewise.
5134 [C99-based-standards] (PRIxFAST32): Likewise.
5135 [C99-based-standards] (PRIXFAST32): Likewise.
5136 [C99-based-standards] (SCNdFAST32): Likewise.
5137 [C99-based-standards] (SCNiFAST32): Likewise.
5138 [C99-based-standards] (SCNoFAST32): Likewise.
5139 [C99-based-standards] (SCNuFAST32): Likewise.
5140 [C99-based-standards] (SCNxFAST32): Likewise.
5141 [C99-based-standards] (PRId64): Likewise.
5142 [C99-based-standards] (PRIi64): Likewise.
5143 [C99-based-standards] (PRIo64): Likewise.
5144 [C99-based-standards] (PRIu64): Likewise.
5145 [C99-based-standards] (PRIx64): Likewise.
5146 [C99-based-standards] (PRIX64): Likewise.
5147 [C99-based-standards] (SCNd64): Likewise.
5148 [C99-based-standards] (SCNi64): Likewise.
5149 [C99-based-standards] (SCNo64): Likewise.
5150 [C99-based-standards] (SCNu64): Likewise.
5151 [C99-based-standards] (SCNx64): Likewise.
5152 [C99-based-standards] (PRIdLEAST64): Likewise.
5153 [C99-based-standards] (PRIiLEAST64): Likewise.
5154 [C99-based-standards] (PRIoLEAST64): Likewise.
5155 [C99-based-standards] (PRIuLEAST64): Likewise.
5156 [C99-based-standards] (PRIxLEAST64): Likewise.
5157 [C99-based-standards] (PRIXLEAST64): Likewise.
5158 [C99-based-standards] (SCNdLEAST64): Likewise.
5159 [C99-based-standards] (SCNiLEAST64): Likewise.
5160 [C99-based-standards] (SCNoLEAST64): Likewise.
5161 [C99-based-standards] (SCNuLEAST64): Likewise.
5162 [C99-based-standards] (SCNxLEAST64): Likewise.
5163 [C99-based-standards] (PRIdFAST64): Likewise.
5164 [C99-based-standards] (PRIiFAST64): Likewise.
5165 [C99-based-standards] (PRIoFAST64): Likewise.
5166 [C99-based-standards] (PRIuFAST64): Likewise.
5167 [C99-based-standards] (PRIxFAST64): Likewise.
5168 [C99-based-standards] (PRIXFAST64): Likewise.
5169 [C99-based-standards] (SCNdFAST64): Likewise.
5170 [C99-based-standards] (SCNiFAST64): Likewise.
5171 [C99-based-standards] (SCNoFAST64): Likewise.
5172 [C99-based-standards] (SCNuFAST64): Likewise.
5173 [C99-based-standards] (SCNxFAST64): Likewise.
5174 [C99-based-standards] (PRIdMAX): Likewise.
5175 [C99-based-standards] (PRIiMAX): Likewise.
5176 [C99-based-standards] (PRIoMAX): Likewise.
5177 [C99-based-standards] (PRIuMAX): Likewise.
5178 [C99-based-standards] (PRIxMAX): Likewise.
5179 [C99-based-standards] (PRIXMAX): Likewise.
5180 [C99-based-standards] (SCNdMAX): Likewise.
5181 [C99-based-standards] (SCNiMAX): Likewise.
5182 [C99-based-standards] (SCNoMAX): Likewise.
5183 [C99-based-standards] (SCNuMAX): Likewise.
5184 [C99-based-standards] (SCNxMAX): Likewise.
5185 [C99-based-standards] (PRIdPTR): Likewise.
5186 [C99-based-standards] (PRIiPTR): Likewise.
5187 [C99-based-standards] (PRIoPTR): Likewise.
5188 [C99-based-standards] (PRIuPTR): Likewise.
5189 [C99-based-standards] (PRIxPTR): Likewise.
5190 [C99-based-standards] (PRIXPTR): Likewise.
5191 [C99-based-standards] (SCNdPTR): Likewise.
5192 [C99-based-standards] (SCNiPTR): Likewise.
5193 [C99-based-standards] (SCNoPTR): Likewise.
5194 [C99-based-standards] (SCNuPTR): Likewise.
5195 [C99-based-standards] (SCNxPTR): Likewise.
5196 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5198 * conform/data/stdint.h-data: Update comments to clarify
5200 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5202 [C99-based standards] (INT8_MAX): Likewise.
5203 [C99-based standards] (INT16_MIN): Likewise.
5204 [C99-based standards] (INT16_MAX): Likewise.
5205 [C99-based standards] (INT32_MIN): Likewise.
5206 [C99-based standards] (INT32_MAX): Likewise.
5207 [C99-based standards] (INT64_MIN): Likewise.
5208 [C99-based standards] (INT64_MAX): Likewise.
5209 [C99-based standards] (UINT8_MAX): Likewise.
5210 [C99-based standards] (UINT16_MAX): Likewise.
5211 [C99-based standards] (UINT32_MAX): Likewise.
5212 [C99-based standards] (UINT64_MAX): Likewise.
5213 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5214 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5215 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5216 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5217 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5218 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5219 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5220 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5221 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5222 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5223 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5224 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5225 [C99-based standards] (INT_FAST8_MIN): Likewise.
5226 [C99-based standards] (INT_FAST8_MAX): Likewise.
5227 [C99-based standards] (INT_FAST16_MIN): Likewise.
5228 [C99-based standards] (INT_FAST16_MAX): Likewise.
5229 [C99-based standards] (INT_FAST32_MIN): Likewise.
5230 [C99-based standards] (INT_FAST32_MAX): Likewise.
5231 [C99-based standards] (INT_FAST64_MIN): Likewise.
5232 [C99-based standards] (INT_FAST64_MAX): Likewise.
5233 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5234 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5235 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5236 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5237 [C99-based standards] (INTPTR_MIN): Likewise.
5238 [C99-based standards] (INTPTR_MAX): Likewise.
5239 [C99-based standards] (UINTPTR_MAX): Likewise.
5240 [C99-based standards] (INTMAX_MIN): Likewise.
5241 [C99-based standards] (INTMAX_MAX): Likewise.
5242 [C99-based standards] (UINTMAX_MAX): Likewise.
5243 [C99-based standards] (PTRDIFF_MIN): Likewise.
5244 [C99-based standards] (PTRDIFF_MAX): Likewise.
5245 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5246 [C99-based standards] (SIZE_MAX): Likewise.
5247 [C99-based standards] (WCHAR_MAX): Likewise.
5248 [C99-based standards] (WINT_MAX): Likewise.
5249 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5250 constraint on value.
5251 [C99-based standards] (WCHAR_MIN): Likewise.
5252 [C99-based standards] (WINT_MIN): Likewise.
5253 [C99-based standards] (*_t): Allow.
5254 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5255 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5256 Include math.h-data and complex.h-data. Remove all expectations
5257 of math.h and complex.h contents.
5258 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5260 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5261 (struct tm): Expect tag.
5262 [C99-based-standards] (wcstof): Expect function.
5263 [C99-based-standards] (wcstold): Likewise.
5264 [C99-based-standards] (wcstoll): Likewise.
5265 [C99-based-standards] (wcstoull): Likewise.
5266 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5267 macro-int-constant. Specify type.
5268 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5269 constraint on value.
5270 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5272 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5274 [ISO C standards]: Do not allow headers.
5275 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5276 wcs[abcdefghijklmnopqrstuvwxyz]*.
5277 [ISO C standards] (*_t): Do not allow.
5278 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5280 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5281 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5283 [ISO C standards]: Do not allow headers.
5284 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5285 is[abcdefghijklmnopqrstuvwxyz]*.
5286 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5287 to[abcdefghijklmnopqrstuvwxyz]*.
5288 [ISO C standards] (*_t): Do not allow.
5289 * conform/data/stdalign.h-data: New file.
5290 * conform/data/stdbool.h-data: Likewise.
5291 * conform/data/stdnoreturn.h-data: Likewise.
5293 2012-11-07 Roland McGrath <roland@hack.frob.com>
5296 * manual/filesys.texi (Directory Entries): Typo fix.
5297 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5299 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5301 * elf/elf.h (EM_AARCH64): New macro.
5302 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5303 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5304 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5305 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5306 (R_AARCH64_TLSDESC): Likewise.
5307 (NT_ARM_TLS): Likewise.
5308 (NT_ARM_HW_BREAK): Likewise.
5309 (NT_ARM_HW_WATCH): Likewise.
5311 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5314 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5315 (__ieee754_powl): Saturate nonzero exponents with absolute value
5316 below 0x1p-79 to +/- 0x1p-79.
5317 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5318 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5319 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5320 nonzero exponents with absolute value below 0x1p-32 to +/-
5322 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5323 (__ieee754_powl): Saturate nonzero exponents with absolute value
5324 below 0x1p-79 to +/- 0x1p-79.
5325 * math/libm-test.inc (pow_test): Add more tests.
5327 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5329 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5330 _dl_s390_cap_flags with kernel. Increase string length.
5331 (_dl_s390_platforms): Add z196 and zEC12.
5333 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5335 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5336 Change XOPEN21K to XOPEN2K.
5338 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5340 * string/memmove.c: Use memcpy when possible.
5342 2012-11-06 Andreas Jaeger <aj@suse.de>
5344 * po/eo.po: Update from translation team.
5346 2012-11-06 Joseph Myers <joseph@codesourcery.com>
5349 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5350 exponent and small x and y exponents, scale x or y up. Increase
5351 by 2 the exponent used in scaling up.
5352 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5353 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5354 * math/libm-test.inc (fma_test): Add more tests.
5355 (fma_test_towardzero): Likewise.
5356 (fma_test_downward): Likewise.
5357 (fma_test_upward): Likewise.
5359 2012-11-05 Joseph Myers <joseph@codesourcery.com>
5362 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5366 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5367 namespace for names of struct fields.
5368 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5370 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5371 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5373 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5376 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5378 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5380 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5384 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5387 2012-11-04 Joseph Myers <joseph@codesourcery.com>
5390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5391 definitely overflow as x * y not x * y + z.
5392 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5393 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5394 * math/libm-test.inc (fma_test): Add more tests.
5395 (fma_test_towardzero): Likewise.
5396 (fma_test_downward): Likewise.
5397 (fma_test_upward): Likewise.
5399 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5403 * include/stub-tag.h: Remove file.
5404 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5406 * manual/maint.texi (Porting): Don't reference it.
5407 * Makerules ($(objpfx)stubs): Likewise.
5408 * dirent/closedir.c: Don't include <stub-tag.h>.
5409 * dirent/dirfd.c: Likewise.
5410 * dirent/fdopendir.c: Likewise.
5411 * dirent/getdents.c: Likewise.
5412 * dirent/getdents64.c: Likewise.
5413 * dirent/opendir.c: Likewise.
5414 * dirent/readdir.c: Likewise.
5415 * dirent/readdir64.c: Likewise.
5416 * dirent/readdir64_r.c: Likewise.
5417 * dirent/readdir_r.c: Likewise.
5418 * dirent/rewinddir.c: Likewise.
5419 * dirent/seekdir.c: Likewise.
5420 * dirent/telldir.c: Likewise.
5421 * gmon/profil.c: Likewise.
5422 * grp/setgroups.c: Likewise.
5423 * inet/if_index.c: Likewise.
5424 * io/access.c: Likewise.
5425 * io/chdir.c: Likewise.
5426 * io/chmod.c: Likewise.
5427 * io/chown.c: Likewise.
5428 * io/close.c: Likewise.
5429 * io/dup.c: Likewise.
5430 * io/dup2.c: Likewise.
5431 * io/dup3.c: Likewise.
5432 * io/euidaccess.c: Likewise.
5433 * io/faccessat.c: Likewise.
5434 * io/fchdir.c: Likewise.
5435 * io/fchmod.c: Likewise.
5436 * io/fchmodat.c: Likewise.
5437 * io/fchown.c: Likewise.
5438 * io/fchownat.c: Likewise.
5439 * io/fcntl.c: Likewise.
5440 * io/flock.c: Likewise.
5441 * io/fstatfs.c: Likewise.
5442 * io/fstatfs64.c: Likewise.
5443 * io/fstatvfs.c: Likewise.
5444 * io/fstatvfs64.c: Likewise.
5445 * io/futimens.c: Likewise.
5446 * io/fxstat.c: Likewise.
5447 * io/fxstat64.c: Likewise.
5448 * io/fxstatat.c: Likewise.
5449 * io/fxstatat64.c: Likewise.
5450 * io/getcwd.c: Likewise.
5451 * io/isatty.c: Likewise.
5452 * io/lchmod.c: Likewise.
5453 * io/lchown.c: Likewise.
5454 * io/link.c: Likewise.
5455 * io/linkat.c: Likewise.
5456 * io/lseek.c: Likewise.
5457 * io/lseek64.c: Likewise.
5458 * io/lxstat64.c: Likewise.
5459 * io/mkdir.c: Likewise.
5460 * io/mkdirat.c: Likewise.
5461 * io/mkfifo.c: Likewise.
5462 * io/mkfifoat.c: Likewise.
5463 * io/open.c: Likewise.
5464 * io/open64.c: Likewise.
5465 * io/openat.c: Likewise.
5466 * io/openat64.c: Likewise.
5467 * io/pipe.c: Likewise.
5468 * io/pipe2.c: Likewise.
5469 * io/poll.c: Likewise.
5470 * io/posix_fadvise.c: Likewise.
5471 * io/posix_fadvise64.c: Likewise.
5472 * io/posix_fallocate.c: Likewise.
5473 * io/posix_fallocate64.c: Likewise.
5474 * io/read.c: Likewise.
5475 * io/readlink.c: Likewise.
5476 * io/readlinkat.c: Likewise.
5477 * io/rmdir.c: Likewise.
5478 * io/sendfile.c: Likewise.
5479 * io/sendfile64.c: Likewise.
5480 * io/statfs.c: Likewise.
5481 * io/statfs64.c: Likewise.
5482 * io/statvfs.c: Likewise.
5483 * io/statvfs64.c: Likewise.
5484 * io/symlink.c: Likewise.
5485 * io/symlinkat.c: Likewise.
5486 * io/ttyname.c: Likewise.
5487 * io/ttyname_r.c: Likewise.
5488 * io/umask.c: Likewise.
5489 * io/unlink.c: Likewise.
5490 * io/unlinkat.c: Likewise.
5491 * io/utime.c: Likewise.
5492 * io/utimensat.c: Likewise.
5493 * io/write.c: Likewise.
5494 * io/xmknod.c: Likewise.
5495 * io/xmknodat.c: Likewise.
5496 * io/xstat.c: Likewise.
5497 * io/xstat64.c: Likewise.
5498 * login/getpt.c: Likewise.
5499 * login/grantpt.c: Likewise.
5500 * login/unlockpt.c: Likewise.
5501 * math/e_acoshl.c: Likewise.
5502 * math/e_acosl.c: Likewise.
5503 * math/e_asinl.c: Likewise.
5504 * math/e_atan2l.c: Likewise.
5505 * math/e_atanhl.c: Likewise.
5506 * math/e_coshl.c: Likewise.
5507 * math/e_expl.c: Likewise.
5508 * math/e_fmodl.c: Likewise.
5509 * math/e_gammal_r.c: Likewise.
5510 * math/e_hypotl.c: Likewise.
5511 * math/e_j0l.c: Likewise.
5512 * math/e_j1l.c: Likewise.
5513 * math/e_jnl.c: Likewise.
5514 * math/e_lgammal_r.c: Likewise.
5515 * math/e_log10l.c: Likewise.
5516 * math/e_log2l.c: Likewise.
5517 * math/e_logl.c: Likewise.
5518 * math/e_powl.c: Likewise.
5519 * math/e_rem_pio2l.c: Likewise.
5520 * math/e_sinhl.c: Likewise.
5521 * math/e_sqrtl.c: Likewise.
5522 * math/fclrexcpt.c: Likewise.
5523 * math/fedisblxcpt.c: Likewise.
5524 * math/feenablxcpt.c: Likewise.
5525 * math/fegetenv.c: Likewise.
5526 * math/fegetexcept.c: Likewise.
5527 * math/fegetround.c: Likewise.
5528 * math/feholdexcpt.c: Likewise.
5529 * math/fesetenv.c: Likewise.
5530 * math/fesetround.c: Likewise.
5531 * math/feupdateenv.c: Likewise.
5532 * math/fgetexcptflg.c: Likewise.
5533 * math/fraiseexcpt.c: Likewise.
5534 * math/fsetexcptflg.c: Likewise.
5535 * math/ftestexcept.c: Likewise.
5536 * math/k_cosl.c: Likewise.
5537 * math/k_rem_pio2l.c: Likewise.
5538 * math/k_sinl.c: Likewise.
5539 * math/k_tanl.c: Likewise.
5540 * math/s_asinhl.c: Likewise.
5541 * math/s_atanl.c: Likewise.
5542 * math/s_cbrtl.c: Likewise.
5543 * math/s_erfl.c: Likewise.
5544 * math/s_expm1l.c: Likewise.
5545 * math/s_log1pl.c: Likewise.
5546 * math/s_tanhl.c: Likewise.
5547 * misc/acct.c: Likewise.
5548 * misc/brk.c: Likewise.
5549 * misc/chflags.c: Likewise.
5550 * misc/chroot.c: Likewise.
5551 * misc/fchflags.c: Likewise.
5552 * misc/fgetxattr.c: Likewise.
5553 * misc/flistxattr.c: Likewise.
5554 * misc/fremovexattr.c: Likewise.
5555 * misc/fsetxattr.c: Likewise.
5556 * misc/fsync.c: Likewise.
5557 * misc/ftruncate.c: Likewise.
5558 * misc/futimes.c: Likewise.
5559 * misc/futimesat.c: Likewise.
5560 * misc/getdomain.c: Likewise.
5561 * misc/getdtsz.c: Likewise.
5562 * misc/gethostid.c: Likewise.
5563 * misc/gethostname.c: Likewise.
5564 * misc/getloadavg.c: Likewise.
5565 * misc/getpagesize.c: Likewise.
5566 * misc/getsysstats.c: Likewise.
5567 * misc/getxattr.c: Likewise.
5568 * misc/gtty.c: Likewise.
5569 * misc/ioctl.c: Likewise.
5570 * misc/lgetxattr.c: Likewise.
5571 * misc/listxattr.c: Likewise.
5572 * misc/llistxattr.c: Likewise.
5573 * misc/lremovexattr.c: Likewise.
5574 * misc/lsetxattr.c: Likewise.
5575 * misc/lutimes.c: Likewise.
5576 * misc/madvise.c: Likewise.
5577 * misc/mincore.c: Likewise.
5578 * misc/mlock.c: Likewise.
5579 * misc/mlockall.c: Likewise.
5580 * misc/mmap.c: Likewise.
5581 * misc/mprotect.c: Likewise.
5582 * misc/msync.c: Likewise.
5583 * misc/munlock.c: Likewise.
5584 * misc/munlockall.c: Likewise.
5585 * misc/munmap.c: Likewise.
5586 * misc/preadv.c: Likewise.
5587 * misc/preadv64.c: Likewise.
5588 * misc/ptrace.c: Likewise.
5589 * misc/pwritev.c: Likewise.
5590 * misc/pwritev64.c: Likewise.
5591 * misc/readv.c: Likewise.
5592 * misc/reboot.c: Likewise.
5593 * misc/remap_file_pages.c: Likewise.
5594 * misc/removexattr.c: Likewise.
5595 * misc/revoke.c: Likewise.
5596 * misc/select.c: Likewise.
5597 * misc/setdomain.c: Likewise.
5598 * misc/setegid.c: Likewise.
5599 * misc/seteuid.c: Likewise.
5600 * misc/sethostid.c: Likewise.
5601 * misc/sethostname.c: Likewise.
5602 * misc/setregid.c: Likewise.
5603 * misc/setreuid.c: Likewise.
5604 * misc/setxattr.c: Likewise.
5605 * misc/sstk.c: Likewise.
5606 * misc/stty.c: Likewise.
5607 * misc/swapoff.c: Likewise.
5608 * misc/swapon.c: Likewise.
5609 * misc/sync.c: Likewise.
5610 * misc/syncfs.c: Likewise.
5611 * misc/syscall.c: Likewise.
5612 * misc/truncate.c: Likewise.
5613 * misc/ualarm.c: Likewise.
5614 * misc/usleep.c: Likewise.
5615 * misc/ustat.c: Likewise.
5616 * misc/utimes.c: Likewise.
5617 * misc/vhangup.c: Likewise.
5618 * misc/writev.c: Likewise.
5619 * posix/_exit.c: Likewise.
5620 * posix/alarm.c: Likewise.
5621 * posix/execve.c: Likewise.
5622 * posix/fexecve.c: Likewise.
5623 * posix/fork.c: Likewise.
5624 * posix/fpathconf.c: Likewise.
5625 * posix/getaddrinfo.c: Likewise.
5626 * posix/getegid.c: Likewise.
5627 * posix/geteuid.c: Likewise.
5628 * posix/getgid.c: Likewise.
5629 * posix/getgroups.c: Likewise.
5630 * posix/getlogin.c: Likewise.
5631 * posix/getlogin_r.c: Likewise.
5632 * posix/getpgid.c: Likewise.
5633 * posix/getpid.c: Likewise.
5634 * posix/getppid.c: Likewise.
5635 * posix/getresgid.c: Likewise.
5636 * posix/getresuid.c: Likewise.
5637 * posix/getsid.c: Likewise.
5638 * posix/getuid.c: Likewise.
5639 * posix/glob64.c: Likewise.
5640 * posix/nanosleep.c: Likewise.
5641 * posix/pathconf.c: Likewise.
5642 * posix/pause.c: Likewise.
5643 * posix/posix_madvise.c: Likewise.
5644 * posix/pread.c: Likewise.
5645 * posix/pread64.c: Likewise.
5646 * posix/pwrite.c: Likewise.
5647 * posix/pwrite64.c: Likewise.
5648 * posix/sched_getaffinity.c: Likewise.
5649 * posix/sched_getp.c: Likewise.
5650 * posix/sched_gets.c: Likewise.
5651 * posix/sched_primax.c: Likewise.
5652 * posix/sched_primin.c: Likewise.
5653 * posix/sched_rr_gi.c: Likewise.
5654 * posix/sched_setaffinity.c: Likewise.
5655 * posix/sched_setp.c: Likewise.
5656 * posix/sched_sets.c: Likewise.
5657 * posix/sched_yield.c: Likewise.
5658 * posix/setgid.c: Likewise.
5659 * posix/setlogin.c: Likewise.
5660 * posix/setpgid.c: Likewise.
5661 * posix/setresgid.c: Likewise.
5662 * posix/setresuid.c: Likewise.
5663 * posix/setsid.c: Likewise.
5664 * posix/setuid.c: Likewise.
5665 * posix/sleep.c: Likewise.
5666 * posix/spawni.c: Likewise.
5667 * posix/sysconf.c: Likewise.
5668 * posix/times.c: Likewise.
5669 * posix/wait.c: Likewise.
5670 * posix/wait3.c: Likewise.
5671 * posix/wait4.c: Likewise.
5672 * posix/waitpid.c: Likewise.
5673 * resolv/gai_sigqueue.c: Likewise.
5674 * resource/getpriority.c: Likewise.
5675 * resource/getrlimit.c: Likewise.
5676 * resource/getrusage.c: Likewise.
5677 * resource/nice.c: Likewise.
5678 * resource/setpriority.c: Likewise.
5679 * resource/setrlimit.c: Likewise.
5680 * resource/ulimit.c: Likewise.
5681 * rt/aio_cancel.c: Likewise.
5682 * rt/aio_fsync.c: Likewise.
5683 * rt/aio_read.c: Likewise.
5684 * rt/aio_sigqueue.c: Likewise.
5685 * rt/aio_suspend.c: Likewise.
5686 * rt/aio_write.c: Likewise.
5687 * rt/clock_getres.c: Likewise.
5688 * rt/clock_gettime.c: Likewise.
5689 * rt/clock_nanosleep.c: Likewise.
5690 * rt/clock_settime.c: Likewise.
5691 * rt/lio_listio.c: Likewise.
5692 * rt/mq_close.c: Likewise.
5693 * rt/mq_getattr.c: Likewise.
5694 * rt/mq_notify.c: Likewise.
5695 * rt/mq_open.c: Likewise.
5696 * rt/mq_receive.c: Likewise.
5697 * rt/mq_send.c: Likewise.
5698 * rt/mq_setattr.c: Likewise.
5699 * rt/mq_timedreceive.c: Likewise.
5700 * rt/mq_timedsend.c: Likewise.
5701 * rt/mq_unlink.c: Likewise.
5702 * rt/shm_open.c: Likewise.
5703 * rt/shm_unlink.c: Likewise.
5704 * rt/timer_create.c: Likewise.
5705 * rt/timer_delete.c: Likewise.
5706 * rt/timer_getoverr.c: Likewise.
5707 * rt/timer_gettime.c: Likewise.
5708 * rt/timer_settime.c: Likewise.
5709 * setjmp/__longjmp.c: Likewise.
5710 * setjmp/setjmp.c: Likewise.
5711 * signal/kill.c: Likewise.
5712 * signal/killpg.c: Likewise.
5713 * signal/raise.c: Likewise.
5714 * signal/sigaction.c: Likewise.
5715 * signal/sigaltstack.c: Likewise.
5716 * signal/sigblock.c: Likewise.
5717 * signal/sigignore.c: Likewise.
5718 * signal/sigintr.c: Likewise.
5719 * signal/signal.c: Likewise.
5720 * signal/sigpause.c: Likewise.
5721 * signal/sigpending.c: Likewise.
5722 * signal/sigqueue.c: Likewise.
5723 * signal/sigreturn.c: Likewise.
5724 * signal/sigset.c: Likewise.
5725 * signal/sigsetmask.c: Likewise.
5726 * signal/sigstack.c: Likewise.
5727 * signal/sigsuspend.c: Likewise.
5728 * signal/sigtimedwait.c: Likewise.
5729 * signal/sigvec.c: Likewise.
5730 * signal/sigwait.c: Likewise.
5731 * signal/sigwaitinfo.c: Likewise.
5732 * signal/sysv_signal.c: Likewise.
5733 * socket/accept.c: Likewise.
5734 * socket/accept4.c: Likewise.
5735 * socket/bind.c: Likewise.
5736 * socket/connect.c: Likewise.
5737 * socket/getpeername.c: Likewise.
5738 * socket/getsockname.c: Likewise.
5739 * socket/getsockopt.c: Likewise.
5740 * socket/isfdtype.c: Likewise.
5741 * socket/listen.c: Likewise.
5742 * socket/recv.c: Likewise.
5743 * socket/recvfrom.c: Likewise.
5744 * socket/recvmsg.c: Likewise.
5745 * socket/send.c: Likewise.
5746 * socket/sendmsg.c: Likewise.
5747 * socket/sendto.c: Likewise.
5748 * socket/setsockopt.c: Likewise.
5749 * socket/shutdown.c: Likewise.
5750 * socket/sockatmark.c: Likewise.
5751 * socket/socket.c: Likewise.
5752 * socket/socketpair.c: Likewise.
5753 * stdio-common/ctermid.c: Likewise.
5754 * stdio-common/cuserid.c: Likewise.
5755 * stdio-common/remove.c: Likewise.
5756 * stdio-common/rename.c: Likewise.
5757 * stdio-common/renameat.c: Likewise.
5758 * stdio-common/tempname.c: Likewise.
5759 * stdlib/getcontext.c: Likewise.
5760 * stdlib/makecontext.c: Likewise.
5761 * stdlib/setcontext.c: Likewise.
5762 * stdlib/swapcontext.c: Likewise.
5763 * stdlib/system.c: Likewise.
5764 * streams/fattach.c: Likewise.
5765 * streams/fdetach.c: Likewise.
5766 * streams/getmsg.c: Likewise.
5767 * streams/getpmsg.c: Likewise.
5768 * streams/putmsg.c: Likewise.
5769 * streams/putpmsg.c: Likewise.
5770 * sysdeps/unix/bsd/getpt.c: Likewise.
5771 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5772 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5773 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5776 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5777 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5778 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5779 * sysvipc/msgctl.c: Likewise.
5780 * sysvipc/msgget.c: Likewise.
5781 * sysvipc/msgrcv.c: Likewise.
5782 * sysvipc/msgsnd.c: Likewise.
5783 * sysvipc/semctl.c: Likewise.
5784 * sysvipc/semget.c: Likewise.
5785 * sysvipc/semop.c: Likewise.
5786 * sysvipc/semtimedop.c: Likewise.
5787 * sysvipc/shmat.c: Likewise.
5788 * sysvipc/shmctl.c: Likewise.
5789 * sysvipc/shmdt.c: Likewise.
5790 * sysvipc/shmget.c: Likewise.
5791 * termios/tcdrain.c: Likewise.
5792 * termios/tcflow.c: Likewise.
5793 * termios/tcflush.c: Likewise.
5794 * termios/tcgetattr.c: Likewise.
5795 * termios/tcgetpgrp.c: Likewise.
5796 * termios/tcsendbrk.c: Likewise.
5797 * termios/tcsetattr.c: Likewise.
5798 * termios/tcsetpgrp.c: Likewise.
5799 * time/adjtime.c: Likewise.
5800 * time/clock.c: Likewise.
5801 * time/getitimer.c: Likewise.
5802 * time/gettimeofday.c: Likewise.
5803 * time/setitimer.c: Likewise.
5804 * time/settimeofday.c: Likewise.
5805 * time/stime.c: Likewise.
5806 * time/time.c: Likewise.
5808 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5810 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5813 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5815 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5817 2012-11-03 Joseph Myers <joseph@codesourcery.com>
5820 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5821 FE_TONEAREST before applying Dekker multiplication and Knuth
5822 addition. Clear inexact exceptions and check for exact zero
5824 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5825 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5826 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5827 * math/libm-test.inc (fma_test): Add more tests.
5828 (fma_test_towardzero): Likewise.
5829 (fma_test_downward): Likewise.
5830 (fma_test_upward): Likewise.
5831 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5833 (libc_fesetround): New macro.
5834 (libc_fesetroundf): Likewise.
5835 (libc_fesetroundl): Likewise.
5836 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5838 (libc_fesetround_387): Likewise.
5839 (libc_fesetroundf): New macro.
5840 (libc_fesetround): Likewise.
5841 (libc_fesetroundl): Likewise.
5842 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5844 (libc_fesetroundf): New macro.
5845 (libc_fesetround): Likewise.
5846 (libc_fesetroundl): Likewise.
5847 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5848 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5849 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5851 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5852 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5854 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5855 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5857 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5861 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5862 integer constant usable in #if and use that to give value to enum
5864 (FE_DIVBYZERO): Likewise.
5865 (FE_UNDERFLOW): Likewise.
5866 (FE_OVERFLOW): Likewise.
5867 (FE_INVALID): Likewise.
5868 (FE_INVALID_SNAN): Likewise.
5869 (FE_INVALID_ISI): Likewise.
5870 (FE_INVALID_IDI): Likewise.
5871 (FE_INVALID_ZDZ): Likewise.
5872 (FE_INVALID_IMZ): Likewise.
5873 (FE_INVALID_COMPARE): Likewise.
5874 (FE_INVALID_SOFTWARE): Likewise.
5875 (FE_INVALID_SQRT): Likewise.
5876 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5877 (FE_TONEAREST): Likewise.
5878 (FE_TOWARDZERO): Likewise.
5879 (FE_UPWARD): Likewise.
5880 (FE_DOWNWARD): Likewise.
5881 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5882 (FE_DIVBYZERO): Likewise.
5883 (FE_OVERFLOW): Likewise.
5884 (FE_UNDERFLOW): Likewise.
5885 (FE_INEXACT): Likewise.
5886 (FE_TONEAREST): Likewise.
5887 (FE_DOWNWARD): Likewise.
5888 (FE_UPWARD): Likewise.
5889 (FE_TOWARDZERO): Likewise.
5890 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5891 (FE_UNDERFLOW): Likewise.
5892 (FE_OVERFLOW): Likewise.
5893 (FE_DIVBYZERO): Likewise.
5894 (FE_INVALID): Likewise.
5895 (FE_TONEAREST): Likewise.
5896 (FE_TOWARDZERO): Likewise.
5897 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5898 (FE_OVERFLOW): Likewise.
5899 (FE_UNDERFLOW): Likewise.
5900 (FE_DIVBYZERO): Likewise.
5901 (FE_INEXACT): Likewise.
5902 (FE_TONEAREST): Likewise.
5903 (FE_TOWARDZERO): Likewise.
5904 (FE_UPWARD): Likewise.
5905 (FE_DOWNWARD): Likewise.
5906 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5907 (FE_DIVBYZERO): Likewise.
5908 (FE_OVERFLOW): Likewise.
5909 (FE_UNDERFLOW): Likewise.
5910 (FE_INEXACT): Likewise.
5911 (FE_TONEAREST): Likewise.
5912 (FE_DOWNWARD): Likewise.
5913 (FE_UPWARD): Likewise.
5914 (FE_TOWARDZERO): Likewise.
5916 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5918 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5920 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5922 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5923 commands. Quote $PWD.
5924 (blacklist_exports): Don't use remove_newlines. Replace "declare
5926 (remove_newlines): Remove.
5928 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5930 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5931 * stdlib/stdlib.h (atof): Moved to ...
5932 * include/bits/stdlib-float.h: Here. New file.
5933 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5934 * stdlib/bits/stdlib-float.h: New file.
5935 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5937 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5940 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5942 * conform/conformtest.pl (@headers): Add fenv.h.
5943 * conform/data/fenv.h-data: New file.
5944 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5945 include of <math/fenv.h>.
5947 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5948 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5949 && !UNIX98]. Enables tests for XOPEN2K8.
5950 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5951 POSIX2008]: Likewise.
5953 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5954 (struct rusage): Do not expect type or its members.
5957 * math/math.h (FP_NAN): Define macro to integer constant usable in
5958 #if and use that to give value to enum constant.
5959 (FP_INFINITE): Likewise.
5960 (FP_ZERO): Likewise.
5961 (FP_SUBNORMAL): Likewise.
5962 (FP_NORMAL): Likewise.
5964 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5966 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5967 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5970 2012-11-02 Roland McGrath <roland@hack.frob.com>
5972 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5973 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5974 autoconf-time if not.
5975 * configure.in: Remove AC_PREREQ.
5977 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5979 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5980 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5981 of the internal implementation.
5983 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5985 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5986 except include of <misc/sys/syslog.h>.
5988 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5991 function returns with a NULL context exit with zero.
5993 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5995 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5997 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5999 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6000 (run_program_cmd): This.
6001 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6002 (tst_langinfo): New variable. Use it.
6004 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6006 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6007 floating point opcodes.
6009 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6011 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6014 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6016 * sysdeps/mach/hurd/powerpc: Remove directory.
6017 * sysdeps/mach/powerpc: Likewise.
6019 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6021 * scripts/check-local-headers.sh: Ignore c++ headers.
6023 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6025 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6026 __libc_cleanup_region_start argument.
6028 2012-11-01 Joseph Myers <joseph@codesourcery.com>
6032 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6033 x * y using scaling, not as x * y + z.
6034 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6035 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6036 * math/libm-test.inc (fma_test): Add more tests.
6037 (fma_test_towardzero): Likewise.
6038 (fma_test_downward): Likewise.
6039 (fma_test_upward): Likewise.
6041 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6043 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6045 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6047 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6050 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6052 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6054 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6061 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6064 Fix the order of the list for glibc 2.17.
6065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6068 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6072 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6075 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6076 for low part of x being zero before using __atanl (y).
6077 * math/libm-test.inc (atan2_test): Add another test.
6079 * manual/install.texi (Configuring and compiling): Document
6080 general use of test-wrapper and test-wrapper-env.
6081 * INSTALL: Regenerated.
6083 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6084 (__fma): Do not extract and scale down low bits on after-rounding
6085 systems when result rounded to normal precision would have normal
6087 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6088 (__fmal): Do not extract and scale down low bits on after-rounding
6089 systems when result rounded to normal precision would have normal
6091 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6092 (__fmal): Do not extract and scale down low bits on after-rounding
6093 systems when result rounded to normal precision would have normal
6095 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6097 (fma_test): Add more tests.
6098 (fma_test_towardzero): Likewise.
6099 (fma_test_downward): Likewise.
6100 (fma_test_upward): Likewise.
6102 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6104 * sysdeps/i386/tininess.h: Renamed to ...
6105 * sysdeps/x86/tininess.h: This.
6106 * sysdeps/x86_64/tininess.h: Removed.
6108 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6110 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6111 input. Use $(build-program-cmd).
6112 ($(objpfx)tst-array1-static.out): Likewise.
6113 ($(objpfx)tst-array2.out): Likewise.
6114 ($(objpfx)tst-array3.out): Likewise.
6115 ($(objpfx)tst-array4.out): Likewise.
6116 ($(objpfx)tst-array5.out): Likewise.
6117 ($(objpfx)tst-array5-static.out): Likewise.
6119 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6121 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6124 * nss/nsswitch.h (nss_interface_function): Provide new
6125 macro for use with NSS functions.
6126 * grp/initgroups.c: Use new macro.
6127 * nss/getXXbyYY.c: Likewise.
6128 * nss/getXXbyYY_r.c: Likewise.
6129 * nss/getXXent.c: Likewise.
6130 * nss/getXXent_r.c: Likewise.
6131 * sysdeps/posix/getaddrinfo.c: Likewise.
6133 2012-10-30 Andreas Jaeger <aj@suse.de>
6135 * po/ru.po: Update Russion translation from translation project.
6137 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6141 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6142 result and shift together with sticky bit instead of replicating
6143 round-to-nearest rounding.
6144 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6145 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6146 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6147 missing underflow exceptions.
6148 (fma_test_towardzero): Add more tests.
6149 (fma_test_downward): Likewise.
6150 (fma_test_upward): Likewise.
6153 * sysdeps/generic/tininess.h: New file.
6154 * sysdeps/i386/tininess.h: Likewise.
6155 * sysdeps/sh/tininess.h: Likewise.
6156 * sysdeps/x86_64/tininess.h: Likewise.
6157 * stdlib/tst-strtod-underflow.c: Likewise.
6158 * stdlib/tst-tininess.c: Likewise.
6159 * stdlib/strtod_l.c: Include <tininess.h>.
6160 (round_and_return): Do not set errno for exact underflow cases.
6161 Force an underflow exception when setting errno for underflow.
6162 Determine underflow based on rounding to normal precision if
6163 TININESS_AFTER_ROUNDING.
6164 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6165 ERANGE for exact underflow cases.
6166 * stdlib/Makefile (tests): Add tst-tininess and
6167 tst-strtod-underflow.
6168 ($(objpfx)tst-tininess): Use $(link-libm).
6169 ($(objpfx)tst-strtod-underflow): Likewise.
6171 2012-10-30 Andreas Jaeger <aj@suse.de>
6174 * elf/Makefile (tests): Remove conditional for have-initfini-array
6175 since this is now always required and the variable does not exist
6177 (tests-static): Likewise.
6178 (modules-names): Likewise.
6180 * po/eo.po: Add Esperanto translation from translation project.
6182 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6183 merged with constructor/destructor.
6184 (init_array): Likewise.
6185 * elf/tst-array2dep.c (fini_array): Likewise.
6186 (init_array): Likewise.
6188 2012-10-29 Mike Frysinger <vapier@gentoo.org>
6190 * manual/message.texi: Delete @cartouche tags.
6192 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6194 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6196 * sysdeps/mach/hurd/fsync.c: Likewise.
6198 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6199 [_POSIX_REALTIME_SIGNALS]: Change condition to
6200 [_POSIX_REALTIME_SIGNALS > 0].
6202 2012-10-27 Andreas Jaeger <aj@suse.de>
6204 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6205 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6206 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6207 [__WORDSIZE != 64]: Likewise.
6209 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6211 * iconvdata/tst-table.sh: Remove ${SHELL}.
6212 * iconvdata/tst-tables.sh: Likewise.
6214 2012-10-25 David S. Miller <davem@davemloft.net>
6216 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6217 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6220 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6222 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6223 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6224 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6227 2012-10-25 Roland McGrath <roland@hack.frob.com>
6229 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6230 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6233 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6234 Jim Blandy <jimb@codesourcery.com>
6236 * scripts/cross-test-ssh.sh: New file.
6237 * manual/install.texi (Configuring and compiling): Document use of
6239 * INSTALL: Regenerated.
6241 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6243 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6246 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6248 * Makeconfig (run-program-prefix): Fix comment.
6250 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6251 Jim Blandy <jimb@codesourcery.com>
6253 * Makeconfig (test-wrapper): New variable,
6254 (test-wrapper-env): Likewise.
6255 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6256 (run-built-tests): Define to yes.
6257 (run-program-prefix): Use $(test-wrapper).
6258 (built-program-cmd): Likewise.
6259 * Rules (make-test-out): Use $(test-wrapper-env) and
6260 $(host-built-program-cmd).
6261 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6262 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6264 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6265 $(test-wrapper-env) to tst-rtld-load-self.sh.
6266 ($(objpfx)order2.out): Use $(test-wrapper).
6267 ($(objpfx)tst-initorder.out): Likewise.
6268 ($(objpfx)tst-initorder2.out): Likewise.
6269 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6270 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6271 (test_wrapper_env): New variable. Use it to run ld.so.
6272 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6273 Use it to run ld.so.
6274 (test_wrapper_env): Likewise.
6275 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6276 $(test-wrapper) to run-iconv-test.sh.
6277 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6278 (ICONV): Use $test_wrapper.
6279 * posix/Makefile ($(objpfx)globtest.out): Pass
6280 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6281 globtest.sh, not $(run-program-prefix).
6282 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6283 (test_wrapper): Likewise.
6284 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6285 set together with run_via_rtld_prefix.
6286 (run_program_prefix): Define in terms of test_wrapper and
6287 run_via_rtld_prefix.
6289 2012-10-24 Roland McGrath <roland@hack.frob.com>
6291 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6292 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6296 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6297 Declare __clock_getres, __clock_gettime, __clock_settime,
6298 __clock_nanosleep, and __clock_getcpuclockid.
6299 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6300 Remove librt_hidden_def (clock_gettime).
6301 * sysdeps/unix/clock_gettime.c: Likewise.
6302 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6303 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6304 * rt/clock_getres.c: Define __clock_getres as an alias.
6305 * sysdeps/posix/clock_getres.c: Likewise.
6306 * rt/clock_settime.c: Define __clock_settime as an alias.
6307 * sysdeps/unix/clock_settime.c: Likewise.
6308 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6309 * sysdeps/unix/clock_nanosleep.c: Likewise.
6310 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6311 * rt/clock-compat.c: New file.
6312 * rt/Makefile (librt-routines): Add clock-compat and move
6313 $(clock-routines) to ...
6314 (routines): ... here, new variable.
6315 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6316 Don't add get_clockfreq here.
6317 * rt/Versions (libc: GLIBC_2.17): New version set.
6318 Add clock_* symbols here.
6319 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6320 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6321 (GLIBC_2.17): Add clock_* symbols.
6322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6324 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6333 * NEWS: Mention the move.
6335 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6336 Use __open, __read, __close rather than their public counterparts.
6337 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6338 (__get_clockfreq_via_cpuinfo): Likewise.
6339 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6340 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6342 * config.h.in (HAVE_IFUNC): New #undef.
6343 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6345 * configure: Regenerated.
6347 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6349 * configure.in: Move READELF check to start of file.
6350 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6351 libc_cv_asm_gnu_indirect_function in the process.
6352 * configure: Regenerated.
6354 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6356 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6357 send the output to /dev/null.
6358 (libc_cv_cc_with_libunwind): Likewise.
6359 (libc_cv_as_noexecstack): Likewise.
6360 * configure: Regenerate.
6362 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6364 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6366 * posix/globtest.sh (TMPDIR): Do not set.
6367 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6368 (testout): Likewise.
6370 2012-10-24 Andreas Jaeger <aj@suse.de>
6372 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6373 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6374 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6375 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6376 posix_fadvise64, posix_fallocate64.
6378 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6379 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6380 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6382 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6384 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6387 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6388 <bits/fcntl-linux.h>.
6389 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6391 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6392 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6393 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6394 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6395 [__WORDSIZE != 64]: Likewise.
6397 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6399 * Makeconfig (run-built-tests): New variable.
6400 * Rules [$(cross-compiling) = yes]: Change condition to
6401 [$(run-built-tests) = no].
6402 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6403 to [$(run-built-tests) = yes].
6404 * elf/Makefile [$(cross-compiling) = no]: Likewise
6405 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6406 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6407 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6408 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6409 * io/Makefile [$(cross-compiling) = no]: Likewise.
6410 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6411 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6412 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6413 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6414 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6415 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6416 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6417 * string/Makefile [$(cross-compiling) = no]: Likewise.
6419 * posix/Makefile ($(objpfx)globtest.out): Pass
6420 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6421 $(rtld-installed-name).
6422 * posix/globtest.sh (elf_objpfx): Remove variable.
6423 (rtld_installed_name): Likewise.
6424 (library_path): Likewise.
6425 (run_program_prefix): New variable. Use for running globtest
6428 2012-10-23 Jim Blandy <jimb@codesourcery.com>
6429 Joseph Myers <joseph@codesourcery.com>
6431 * Makeconfig (host-built-program-cmd): New variable.
6432 * elf/Makefile (tst-stackguard1-ARGS): Use
6433 $(host-built-program-cmd).
6434 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6435 (tst-spawn-ARGS): Likewise.
6436 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6438 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6439 Jim Blandy <jimb@codesourcery.com>
6441 * Makeconfig (run-via-rtld-prefix): New variable.
6442 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6443 (built-program-cmd): Likewise.
6445 2012-10-22 Andreas Jaeger <aj@suse.de>
6447 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6448 __O_RSYNC if it exists, otherwise to O_SYNC.
6450 2012-10-22 Jim Blandy <jimb@codesourcery.com>
6451 Joseph Myers <joseph@codesourcery.com>
6453 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6455 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6457 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6460 2012-10-22 Andreas Jaeger <aj@suse.de>
6462 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6464 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6469 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6470 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6472 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6474 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6477 2012-10-21 Jim Blandy <jimb@codesourcery.com>
6478 Joseph Myers <joseph@codesourcery.com>
6480 * config.make.in (NM): New variable.
6482 2012-10-21 Andreas Jaeger <aj@suse.de>
6484 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6485 definitions and declarations that are provided by
6486 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6488 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6491 * elf/Makefile (tests-static): Add tst-leaks1-static.
6492 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6493 ($(objpfx)tst-leaks1-static): New rule.
6494 ($(objpfx)tst-leaks1-static-mem): Likewise.
6495 (tst-leaks1-static-ENV): New macro.
6496 * elf/dl-open.c (dl_open_worker): Check the main application
6497 only if SHARED is defined.
6498 * elf/tst-leaks1-static.c: New file.
6500 2012-10-20 Andreas Jaeger <aj@suse.de>
6502 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6503 generic values for Linux.
6504 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6505 and declarations that are provided by <bits/fcntl-linux.h> and
6506 include <bits/fcntl-linux.h>.
6507 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6508 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6510 2012-10-20 Roland McGrath <roland@hack.frob.com>
6512 * io/fcntl.h: Move include of <bits/types.h> to the top and
6513 include it unconditionally.
6515 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6517 * wcsmbs/Makefile (tests-ifunc): New variable.
6518 (tests): Add $(tests-ifunc).
6519 * wcsmbs/test-wcschr-ifunc.c: New file.
6520 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6521 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6522 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6523 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6524 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6526 * string/Makefile (tests-ifunc): New variable.
6527 (tests): Add $(tests-ifunc).
6528 * string/test-memccpy.c (TEST_NAME): New macro.
6529 * string/test-memchr.c (TEST_NAME): Likewise.
6530 * string/test-memcmp.c (TEST_NAME): Likewise.
6531 * string/test-memcpy.c (TEST_NAME): Likewise.
6532 * string/test-memmem.c (TEST_NAME): Likewise.
6533 * string/test-memmove.c (TEST_NAME): Likewise.
6534 * string/test-memset.c (TEST_NAME): Likewise.
6535 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6536 * string/test-stpcpy.c (TEST_NAME): Likewise.
6537 * string/test-stpncpy.c (TEST_NAME): Likewise.
6538 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6539 * string/test-strcasestr.c (TEST_NAME): Likewise.
6540 * string/test-strcat.c (TEST_NAME): Likewise.
6541 * string/test-strchr.c (TEST_NAME): Likewise.
6542 * string/test-strcmp.c(TEST_NAME): Likewise.
6543 * string/test-strcpy.c (TEST_NAME): Likewise.
6544 * string/test-strcspn.c (TEST_NAME): Likewise.
6545 * string/test-strlen.c (TEST_NAME): Likewise.
6546 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6547 * string/test-strncmp.c (TEST_NAME): Likewise.
6548 * string/test-strncpy.c (TEST_NAME): Likewise.
6549 * string/test-strnlen.c (TEST_NAME): Likewise.
6550 * string/test-strpbrk.c (TEST_NAME): Likewise.
6551 * string/test-strrchr.c (TEST_NAME): Likewise.
6552 * string/test-strspn.c (TEST_NAME): Likewise.
6553 * string/test-strstr.c (TEST_NAME): Likewise.
6554 * string/test-bcopy-ifunc.c: New file.
6555 * string/test-bzero-ifunc.c: Likewise.
6556 * string/test-memccpy-ifunc.c: Likewise.
6557 * string/test-memchr-ifunc.c: Likewise.
6558 * string/test-memcmp-ifunc.c: Likewise.
6559 * string/test-memcpy-ifunc.c: Likewise.
6560 * string/test-memmem-ifunc.c: Likewise.
6561 * string/test-memmove-ifunc.c: Likewise.
6562 * string/test-mempcpy-ifunc.c: Likewise.
6563 * string/test-memset-ifunc.c: Likewise.
6564 * string/test-rawmemchr-ifunc.c: Likewise.
6565 * string/test-stpcpy-ifunc.c: Likewise.
6566 * string/test-stpncpy-ifunc.c: Likewise.
6567 * string/test-strcasecmp-ifunc.c: Likewise.
6568 * string/test-strcasestr-ifunc.c: Likewise.
6569 * string/test-strcat-ifunc.c: Likewise.
6570 * string/test-strchr-ifunc.c: Likewise.
6571 * string/test-strchrnul-ifunc.c: Likewise.
6572 * string/test-strcmp-ifunc.c: Likewise.
6573 * string/test-strcpy-ifunc.c: Likewise.
6574 * string/test-strcspn-ifunc.c: Likewise.
6575 * string/test-strlen-ifunc.c: Likewise.
6576 * string/test-strncasecmp-ifunc.c: Likewise.
6577 * string/test-strncat-ifunc.c: Likewise.
6578 * string/test-strncmp-ifunc.c: Likewise.
6579 * string/test-strncpy-ifunc.c: Likewise.
6580 * string/test-strnlen-ifunc.c: Likewise.
6581 * string/test-strpbrk-ifunc.c: Likewise.
6582 * string/test-strrchr-ifunc.c: Likewise.
6583 * string/test-strspn-ifunc.c: Likewise.
6584 * string/test-strstr-ifunc.c: Likewise.
6586 * debug/Makefile (tests-ifunc): New variable.
6587 (tests): Add $(tests-ifunc).
6588 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6589 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6590 * debug/test-stpcpy_chk-ifunc.c: New file.
6591 * debug/test-strcpy_chk-ifunc.c: Likewise.
6593 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6596 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6597 header is not read in.
6599 2012-10-19 Joseph Myers <joseph@codesourcery.com>
6601 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6602 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6603 directly. Pass built executable to script as
6604 $(built-program-cmd).
6605 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6606 $testprogram without using LD_LIBRARY_PATH and $ldso.
6608 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6609 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6610 $(rtld-installed-name).
6611 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6612 (rtld_installed_name): Likewise.
6613 (library_path): Likewise.
6614 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6615 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6616 $(run-program-prefix) to tst-tables.sh.
6617 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6618 it to run tst-table-from and tst-table-to.
6619 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6620 Pass it to tst-table.sh.
6621 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6622 $(run-program-prefix) to tst-gettext.sh.
6623 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6625 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6627 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6629 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6630 to run tst-gettext2.
6631 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6632 to run tst-translit.
6633 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6634 $(run-program-prefix) to tst-mtrace.sh.
6635 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6637 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6638 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6639 $(rtld-installed-name).
6640 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6641 (rtld_installed_name): Likewise.
6642 (run_program_prefix): New variable. Use it to run wordexp-test.
6644 * Makeconfig (ARCH): Remove all definitions.
6645 (machine): Likewise.
6646 [ARCH]: Remove conditional code.
6647 [!objdir]: Give error.
6648 [!objdir] (objpfx): Remove.
6649 [!objdir] (common-objpfx): Likewise.
6650 [!objdir] (common-objdir): Likewise.
6651 * configure.in (config_makefile): Remove. Hardcode Makefile in
6652 AC_CONFIG_FILES call.
6653 * configure: Regenerated.
6656 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6658 (testout): Likewise.
6660 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6661 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6662 $(rtld-installed-name).
6663 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6664 (rtld_installed_name): Likwise.
6665 (runit): Remove function.
6666 (run_getconf): New variable, Use it for running getconf binary.
6668 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6671 * string/test-memmem.c (check_result): New function.
6672 (do_one_test): Use it.
6673 (check1): New function.
6674 (test_main): Use it.
6676 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6678 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6680 2012-10-18 Joseph Myers <joseph@codesourcery.com>
6682 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6683 (_G_LSEEK64): Likewise.
6684 (_G_MMAP64): Likewise.
6685 (_G_FSTAT64): Likewise.
6686 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6687 (_G_LSEEK64): Likewise.
6688 (_G_MMAP64): Likewise.
6689 (_G_FSTAT64): Likewise.
6690 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6691 unconditional. Call __mmap64 directly.
6692 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6693 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6695 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6696 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6698 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6699 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6701 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6702 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6704 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6705 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6707 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6708 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6709 __fxstat64 directly.
6710 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6711 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6713 (freopen64) [!_G_OPEN64]: Remove conditional code.
6714 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6716 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6717 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6719 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6720 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6722 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6723 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6725 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6726 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6728 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6729 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6731 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6732 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6734 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6736 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6739 * manual/memory.texi (Malloc Tunable Parameters): Add note
6740 about free list pointers overwriting some perturb bytes.
6741 Wording suggested by Roland McGrath.
6743 2012-10-17 Joseph Myers <joseph@codesourcery.com>
6745 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6746 (lgamma_test): Likewise.
6747 (tgamma_test): Likewise.
6749 2012-10-16 Florian Weimer <fweimer@redhat.com>
6752 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6753 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6755 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6757 * NEWS: Mention BZ #14716.
6758 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6759 when removing AVAILABLE1_USES_J macro.
6761 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6763 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6764 (__bswap_64): __uint64_t for unsigned 64-bit int.
6766 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6768 * include/string.h (memmem): Declare libc hidden alias.
6769 * string/memmem.c (memmem): Define libc hidden alias.
6770 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6771 __read, __close instead of open, read, close.
6773 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6775 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6776 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6778 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6779 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6780 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6782 (__rawmemchr_sse2): Likewise.
6783 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6784 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6785 (__strchr_sse2): Likewise.
6786 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6787 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6788 (__strcasecmp_sse2): Likewise.
6789 (__strncasecmp_sse2): Likewise.
6790 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6791 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6792 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6793 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6794 (__strrchr_sse2): Likewise.
6795 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6797 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6798 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6799 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6800 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6801 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6802 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6803 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6804 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6805 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6806 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6807 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6808 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6809 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6810 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6811 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6812 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6813 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6814 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6815 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6816 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6817 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6818 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6819 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6820 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6821 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6822 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6823 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6824 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6825 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6826 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6828 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6830 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6831 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6832 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6833 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6835 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6837 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6838 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6839 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6840 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6842 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6843 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6844 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6845 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6846 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6847 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6848 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6849 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6850 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6851 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6852 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6853 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6854 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6855 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6856 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6857 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6858 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6859 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6860 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6861 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6862 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6863 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6864 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6865 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6866 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6867 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6868 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6869 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6870 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6871 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6872 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6873 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6874 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6875 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6876 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6877 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6878 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6879 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6880 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6881 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6882 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6884 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6885 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6886 * include/ifunc-impl-list.h: New file.
6887 * misc/ifunc-impl-list.c: Likewise.
6888 * misc/Makefile (routines): Add ifunc-impl-list.
6889 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6890 * string/test-string.h: Include <ifunc-impl-list.h>.
6891 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6892 impl_array): New variables.
6893 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6895 (test_init): Call __libc_ifunc_impl_list to initialize
6896 func_list if TEST_IFUNC and TEST_NAME are defined.
6898 * string/Makefile (strop-tests): Add bcopy and bzero.
6899 * string/test-bcopy.c: New file.
6900 * string/test-bzero.c: Likewise.
6901 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6903 * string/test-memset.c: Support bzero test if TEST_BZERO is
6905 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6907 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6909 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6912 2012-10-10 Joseph Myers <joseph@codesourcery.com>
6914 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6915 * configure: Regenerated.
6917 * Makeconfig (+link-static-before-libc): Don't include
6918 $(link-static-libc).
6920 * libio/libio.h (_IO_pos_t): Remove.
6922 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6924 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6927 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6929 * crypt/crypt-entry.c: Include fips-private.h.
6930 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6931 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6932 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6933 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6935 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6937 * crypt/crypt-private.h: Include stdbool.h.
6938 (_ufc_setup_salt_r): Return bool.
6939 * crypt/crypt-entry.c: Include errno.h.
6940 (__crypt_r): Return NULL with EINVAL for bad salt.
6941 * crypt/crypt_util.c (bad_for_salt): New.
6942 (_ufc_setup_salt_r): Check that salt is long enough and within
6943 the specified alphabet.
6944 * crypt/badsalttest.c: New file.
6945 * crypt/Makefile (tests): Add it.
6946 ($(objpfx)badsalttest): New.
6948 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6950 * NEWS: Add entry for BZ #14602.
6952 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6954 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6956 * math/libm-test.inc: Update comment listing what functions and
6958 (isgreater_test): New function.
6959 (isgreaterequal_test): Likewise.
6960 (isless_test): Likewise.
6961 (islessequal_test): Likewise.
6962 (islessgreater_test): Likewise.
6963 (isunordered_test): Likewise.
6964 (main): Call the new functions.
6966 2012-10-09 Roland McGrath <roland@hack.frob.com>
6968 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6969 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6970 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6971 * sysdeps/i386/configure: Regenerated.
6972 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6973 * sysdeps/mach/configure: Regenerated.
6974 * sysdeps/mach/hurd/configure: Regenerated.
6975 * sysdeps/powerpc/configure: Regenerated.
6976 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6977 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6978 * sysdeps/s390/s390-32/configure: Regenerated.
6979 * sysdeps/s390/s390-64/configure: Regenerated.
6980 * sysdeps/sh/configure: Regenerated.
6981 * sysdeps/sparc/configure: Regenerated.
6982 * sysdeps/unix/sysv/linux/configure: Regenerated.
6983 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6984 * sysdeps/x86_64/configure: Regenerated.
6986 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6987 defined. Don't check if MAP is NULL.
6989 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6991 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6992 (_G_stat64): Likewise.
6993 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6994 (_G_stat64): Likewise.
6995 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6996 instead of struct _G_stat64.
6997 * libio/fileops.c (mmap_remap_check): Likewise.
6998 (decide_maybe_mmap): Likewise.
6999 (_IO_new_file_seekoff): Likewise.
7000 (_IO_file_stat): Likewise.
7001 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7003 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7004 instead of struct _G_stat64.
7005 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7007 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7010 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7012 (CHECK_EOL): New macro.
7013 (two_way_short_needle): Check beginning of haystack for EOL. Use
7015 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7016 Replace with CHECK_EOL.
7017 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7018 Replace with CHECK_EOL.
7020 2012-10-08 Joseph Myers <joseph@codesourcery.com>
7022 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7024 * math/libm-test.inc: Update comment listing what functions and
7026 (finite_test): New function.
7027 (isinf_test): Likewise.
7028 (isnan_test): Likewise.
7029 (fpclassify_test): Test subnormal input.
7030 (isfinite_test): Likewise.
7031 (isnormal_test): Likewise.
7032 (main): Call the new functions.
7034 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7037 * Makerules (%.dynsym): Force C locale when running
7038 $(OBJDUMP) --dynamic-syms.
7040 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7042 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7045 2012-10-06 David S. Miller <davem@davemloft.net>
7047 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7048 upper 32-bits of the length value in %o2 since we use branch-on-register
7049 tests which consider the entire 64-bit register.
7051 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7053 * string/test-strstr.c (check2): Add a test for page boundary.
7055 2012-10-05 David S. Miller <davem@davemloft.net>
7057 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7058 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7060 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7062 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7063 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7064 and bzero when HWCAP_SPARC_CRYPTO is present.
7066 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7069 * string/test-strstr.c (check2): New function.
7070 (test_main): Call check2.
7072 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7074 * string/bug-strcasestr1.c (do_test): Moved to ...
7075 * string/test-strcasestr.c (check1): Here. New function.
7076 (do_one_test): Break out result checking code into ...
7077 (check_result): This. New function.
7078 (do_one_test): Call check_result.
7079 (test_main): Call check1.
7080 * string/bug-strchr1.c (do_test): Moved to ...
7081 * string/test-strchr.c (check1): Here. New function.
7082 (do_one_test): Break out result checking code into ...
7083 (check_result): This. New function.
7084 (do_one_test): Call check_result.
7085 (test_main): Call check1.
7086 * string/bug-strstr1.c (main): Moved to ...
7087 * string/test-strstr.c (check1): Here. New function.
7088 (do_one_test): Break out result checking code into ...
7089 (check_result): This. New function.
7090 (do_one_test): Call check_result.
7091 (test_main): Call check1.
7092 * string/bug-strcasestr1.c: Removed.
7093 * string/bug-strchr1.c: Likewise.
7094 * string/bug-strstr1.c: Likewise.
7096 * elf/Makefile (dl-routines): Add hwcaps.
7097 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7098 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7099 (_dl_important_hwcaps): Moved to ...
7100 * elf/dl-hwcaps.c: Here. New file.
7101 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7104 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7105 if IS_IN_rtld isn't defined.
7107 * elf/dl-support.c (_dl_sysinfo_map): New.
7108 Include "get-dynamic-info.h" and "setup-vdso.h".
7109 (_dl_non_dynamic_init): Call setup_vdso.
7110 * elf/dynamic-link.h: Don't include <assert.h>.
7111 (elf_get_dynamic_info): Moved to ...
7112 * elf/get-dynamic-info.h: Here. New file.
7113 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7114 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7115 * elf/setup-vdso.h: Here. New file.
7116 * elf/rtld.c: Include "setup-vdso.h".
7117 (dl_main): Call setup_vdso.
7119 2012-10-05 Joseph Myers <joseph@codesourcery.com>
7121 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7122 creal in comment listing functions tested. List finite, isinf,
7123 isnan, isless, islessequal, isgreater, isgreaterequal,
7124 islessgreater, isunordered, lgamma_r and pow10 as functions and
7125 macros not tested. Mention which functions not tested are aliases
7126 for other functions. Fix typo. Note that signs of NaNs are not
7129 * scripts/config.guess: Update from config.git.
7130 * scripts/config.sub: Likewise.
7132 2012-10-04 Roland McGrath <roland@hack.frob.com>
7134 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7135 * misc/madvise.c (madvise): Renamed to __madvise.
7136 Make madvise a weak alias.
7137 * include/sys/mman.h: Declare __madvise.
7138 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7139 * sysdeps/unix/syscalls.list
7140 (madvise): Make __madvise the strong name, and madvise a weak alias.
7141 * sysdeps/unix/sysv/linux/syscalls.list
7142 (madvise, mmap): Remove redundant entries.
7143 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7144 * malloc/malloc.c (mtrim): Likewise.
7145 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7147 2012-10-03 Roland McGrath <roland@hack.frob.com>
7149 * sysdeps/mach/hurd/dl-cache.c: File removed.
7150 * config.h.in (USE_LDCONFIG): New #undef.
7151 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7152 * configure: Regenerated.
7153 * elf/Makefile (dl-routines): Add dl-cache only under
7154 [$(use-ldconfig) = yes].
7155 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7156 cache on [USE_LDCONFIG].
7157 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7159 * elf/rtld.c (dl_main): Likewise.
7161 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7163 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7164 _SC_LEVEL4_CACHE_LINESIZE.
7166 2012-10-03 Roland McGrath <roland@hack.frob.com>
7168 * sysdeps/unix/bsd/confstr.h: File removed.
7170 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
7172 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7175 2012-10-02 Roland McGrath <roland@hack.frob.com>
7177 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7178 Make 'mapoff' field ElfW(Off) rather than off_t.
7180 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7182 * nscd/Makefile: Remove nscd-cflags and all its users.
7183 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7184 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7187 * malloc.c (malloc_printerr): Clarify error message.
7189 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7193 Set bit_FMA_Usable if FMA is supported.
7194 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7196 (bit_FMA4_Usable): Updated.
7197 (index_FMA_Usable): New macro.
7198 (CPUID_FMA): Likewise
7199 (HAS_FMA): Defined with bit_FMA_Usable.
7201 2012-10-01 Roland McGrath <roland@hack.frob.com>
7203 * bits/types.h (__swblk_t): Type removed.
7204 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7205 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7206 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7207 (__SWBLK_T_TYPE): Likewise.
7208 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7209 (__SWBLK_T_TYPE): Likewise.
7210 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7211 (__SWBLK_T_TYPE): Likewise.
7212 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7213 (__SWBLK_T_TYPE): Likewise.
7215 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
7216 Honza Horak <hhorak@redhat.com>
7218 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7219 (xdr_mapname): Use YPMAXMAP as maxsize.
7220 (xdr_peername): Use YPMAXPEER as maxsize.
7221 (xdr_keydat): Use YPAXRECORD as maxsize.
7222 (xdr_valdat): Use YPMAXRECORD as maxsize.
7224 2012-10-01 Roland McGrath <roland@hack.frob.com>
7226 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7228 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7229 * csu/init-first.c: ... here.
7230 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7231 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7232 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7233 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7234 * sysdeps/i386/init-first.c: File removed.
7235 * sysdeps/sh/init-first.c: File removed.
7237 2012-10-01 Joseph Myers <joseph@codesourcery.com>
7240 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7241 if x * y might underflow to zero and z is zero.
7242 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7243 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7244 * math/libm-test.inc (min_subnorm_value): New variable.
7245 (fma_test): Add more tests.
7246 (fma_test_towardzero): Likewise.
7247 (fma_test_downward): Likewise
7248 (fma_test_upward): Likewise.
7249 (initialize): Set min_subnorm_value.
7251 2012-09-29 Joseph Myers <joseph@codesourcery.com>
7254 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7256 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7257 mode for addition resulting in exact zero.
7258 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7259 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7261 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7262 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7263 * math/libm-test.inc (fma_test): Add more tests.
7264 (fma_test_towardzero): New function.
7265 (fma_test_downward): Likewise.
7266 (fma_test_upward): Likewise.
7267 (main): Call the new functions.
7269 2012-09-28 David S. Miller <davem@davemloft.net>
7271 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7273 2012-09-28 Roland McGrath <roland@hack.frob.com>
7275 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7278 * sysdeps/gnu/_G_config.h: Moved to ...
7279 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7280 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7281 * sysdeps/generic/_G_config.h: ... here.
7283 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7285 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7287 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7288 Conditionalize target on [libnss_test1.so-version].
7290 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7292 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7293 (elfobjdir): Move out of conditionals.
7295 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7296 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7297 (__nss_lookup_function): Conditionalize label remove_from_tree on
7298 [!DO_STATIC_NSS || SHARED], matching its only use.
7300 2012-09-28 David S. Miller <davem@davemloft.net>
7302 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7303 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7305 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7307 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7308 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7309 when HWCAP_SPARC_CRYPTO is present.
7311 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7313 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7315 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7318 * stdio-common/vfprintf.c (process_string_arg): Revert
7321 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7323 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7325 * stdio-common/tst-sprintf.c: Include <locale.h>
7326 (main): Test sprintf's handling of incomplete multibyte
7329 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7331 * elf/dl-runtime.c (VERSYMIDX): Removed.
7332 * elf/dl-version.c (VERSYMIDX): Likewise.
7333 * elf/do-rel.h (VERSYMIDX): Likewise.
7335 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7336 * elf/rtld.c (VALIDX): Likewise.
7337 (ADDRIDX): Likewise.
7338 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7339 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7340 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7341 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7343 (ADDRIDX): Likewise.
7345 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7347 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7349 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7352 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7354 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7355 addresses are in the same scope as 192.0.2/24.
7356 * posix/gai.conf: Document new scope table defaults.
7358 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7361 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7362 for ftell. Compute offsets from write pointers instead.
7363 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7365 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7368 * libio/Makefile (tests): New test case tst-fseek.
7369 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7370 combination works in wide mode.
7371 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7372 state when the external buffer state changes.
7374 2012-09-27 David S. Miller <davem@davemloft.net>
7377 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7378 pass reloc->r_addend in as the 'high' argument to
7379 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7383 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7385 * rt/tst-aio2.c: Include <pthread.h>.
7386 * rt/tst-aio3.c: Likewise.
7388 2012-09-27 Steve Ellcey <sellcey@mips.com>
7390 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7392 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7394 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7395 contents on [SHARED].
7397 2012-09-26 Marek Polacek <polacek@redhat.com>
7401 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7402 for C++ and GCC <4.3 as well as for non GCC compilers.
7404 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7408 2012-09-25 Roland McGrath <roland@hack.frob.com>
7410 * Makefile.in (all, install): Declare with .PHONY.
7411 Reported by Michael Hope <michael.hope@linaro.org>.
7413 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7415 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7416 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7418 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7420 (sydep_routines): Add the new and the internal functions.
7421 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7422 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7424 (GLIBC_2.17): Add the new function.
7425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7426 (GLIBC_2.17): Likewise.
7427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7428 (GLIBC_2.17): Likewise.
7429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7430 (GLIBC_2.17): Likewise.
7431 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7433 2012-09-25 Alan Modra <amodra@gmail.com>
7435 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7436 Add release barrier before setting once_control to say
7437 initialisation is done. Add hints on lwarx. Use macro in
7439 (clear_once_control): Add release barrier.
7441 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7444 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7446 * math/s_clog10.c (__clog10): Likewise.
7447 * math/s_clog10f.c (__clog10f): Likewise.
7448 * math/s_clog10l.c (__clog10l): Likewise.
7449 * math/s_clogf.c (__clogf): Likewise.
7450 * math/s_clogl.c (__clogl): Likewise.
7451 * math/Makefile (libm-calls): Add x2y2m1.
7452 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7453 (__x2y2m1): Likewise.
7454 (__x2y2m1l): Likewise.
7455 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7456 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7457 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7458 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7459 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7460 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7461 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7462 * sysdeps/i386/fpu/libm-test-ulps: Update.
7463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7466 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7467 int as type of variable DEPTH.
7468 (glob): Use size_t instead of int as type of variables NEWCOUNT
7471 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7473 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7475 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7476 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7477 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7478 macros for using routine as __sincosf_ia32.
7479 Use macro for function declaration and weak_alias.
7480 * sysdeps/i386/fpu/libm-test-ulps: Update.
7482 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7485 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7487 * math/s_cexpf.c (__cexpf): Likewise.
7488 * math/s_csinf.c (__csinf): Likewise.
7489 * math/s_csinhf.c (__csinhf): Likewise.
7490 * math/s_ctanf.c (__ctanf): Likewise.
7491 * math/s_ctanhf.c (__ctanhf): Likewise.
7492 * math/s_ccosh.c (__ccoshf): Likewise.
7493 * math/s_cexp.c (__cexpl): Likewise.
7494 * math/s_csin.c (__csin): Likewise.
7495 * math/s_csinh.c (__csinh): Likewise.
7496 * math/s_ctan.c (__ctan): Likewise.
7497 * math/s_ctanh.c (ctanh): Likewise.
7498 * math/s_ccoshl.c (__ccoshl): Likewise.
7499 * math/s_cexpl.c (__cexpl): Likewise.
7500 * math/s_csinl.c (__csinl): Likewise.
7501 * math/s_csinhl.c (__csinhl): Likewise.
7502 * math/s_ctanl.c (__ctanl): Likewise.
7503 * math/s_ctanhl.c (__ctanhl): Likewise.
7505 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7507 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7508 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7509 (_IO_off_t): Define to __off_t, not _G_off_t.
7510 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7511 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7512 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7513 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7514 type of __dummy and __dummy2 fields.
7515 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7516 (_G_ssize_t): Likewise.
7517 (_G_off_t): Likewise.
7518 (_G_pid_t): Likewise.
7519 (_G_uid_t): Likewise.
7520 (_G_wchar_t): Likewise.
7521 (_G_wint_t): Likewise.
7522 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7523 (_G_ssize_t): Likewise.
7524 (_G_off_t): Likewise.
7525 (_G_pid_t): Likewise.
7526 (_G_uid_t): Likewise.
7527 (_G_wchar_t): Likewise.
7528 (_G_wint_t): Likewise.
7529 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7530 (_G_ssize_t): Likewise.
7531 (_G_off_t): Likewise.
7532 (_G_pid_t): Likewise.
7533 (_G_uid_t): Likewise.
7534 (_G_wchar_t): Likewise.
7535 (_G_wint_t): Likewise.
7537 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7539 * malloc/arena.c: Include malloc-sysdep.h.
7540 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7541 is sufficient to shrink the heap or an unmap is needed.
7542 * sysdeps/generic/malloc-sysdep.h: New file. Define
7543 new function check_may_shrink_heap.
7544 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7545 new function check_may_shrink_heap.
7547 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7549 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7552 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7554 * catgets/test-gencat.sh: Add "set -e".
7555 * elf/tst-pathopt.sh: Likewise.
7556 * grp/tst_fgetgrent.sh: Likewise.
7557 * iconvdata/run-iconv-test.sh: Likewise.
7558 * intl/tst-gettext.sh: Likewise.
7559 * intl/tst-gettext2.sh: Likewise.
7560 * intl/tst-gettext4.sh: Likewise.
7561 * intl/tst-gettext6.sh: Likewise.
7562 * intl/tst-translit.sh: Likewise.
7563 * io/ftwtest-sh: Likewise.
7564 * libio/test-freopen.sh: Likewise.
7565 * malloc/tst-mtrace.sh: Likewise.
7566 * posix/globtest.sh: Likewise.
7567 * posix/tst-getconf.sh: Likewise.
7568 * posix/wordexp-tst.sh: Likewise.
7569 * stdio-common/tst-printf.sh: Likewise.
7570 * stdio-common/tst-unbputc.sh: Likewise.
7571 * stdlib/tst-fmtmsg.sh: Likewise.
7572 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7573 * catgets/Makefile: Do not specify -e option when running
7574 testsuite shell scripts.
7575 * elf/Makefile: Likewise.
7576 * grp/Makefile: Likewise.
7577 * iconvdata/Makefile: Likewise.
7578 * intl/Makefile: Likewise.
7579 * io/Makefile: Likewise.
7580 * libio/Makefile: Likewise.
7581 * malloc/Makefile: Likewise.
7582 * posix/Makefile: Likewise.
7583 * stdio-common/Makefile: Likewise.
7584 * stdlib/Makefile: Likewise.
7585 * sysdeps/x86_64/Makefile: Likewise.
7587 * io/ftwtest-sh: Add copyright header.
7588 * posix/globtest.sh: Likewise.
7589 * posix/tst-getconf.sh: Likewise.
7590 * posix/wordexp-tst.sh: Likewise.
7591 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7593 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7596 * Makeconfig (+link): Defined as $(+link-static) if
7597 $(build-shared) isn't yes.
7598 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7600 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7602 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7605 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7606 new chunk size with MALLOC_ALIGN_MASK.
7608 2012-09-24 Joseph Myers <joseph@codesourcery.com>
7611 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7613 (__printf_fphex): Determine rounding using get_rounding_mode and
7615 * stdio-common/tst-printf-round.c (struct hex_test): New
7617 (hex_tests): New variable.
7618 (test_hex_in_one_mode): New function.
7619 (do_test): Also run tests for hex float output.
7621 2012-09-21 Joseph Myers <joseph@codesourcery.com>
7623 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7624 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7625 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7626 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7627 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7628 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7629 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7630 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7632 2012-09-20 Joseph Myers <joseph@codesourcery.com>
7634 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7635 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7636 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7637 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7639 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7642 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7644 * elf/tst-rtld-load-self.sh: New test.
7645 * elf/Makefile: Run it.
7647 2012-09-18 Joseph Myers <joseph@codesourcery.com>
7649 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7650 (tst-writev-ENV): Remove.
7651 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7653 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7655 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7657 2012-09-17 Joseph Myers <joseph@codesourcery.com>
7659 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7661 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7663 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7664 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7665 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7668 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7671 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7672 * config.make.in (have-cpp-asm-debuginfo): Removed.
7673 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7674 * configure: Regenerated.
7676 2012-09-14 Joseph Myers <joseph@codesourcery.com>
7679 * stdio-common/printf_fp.c: Include <stdbool.h> and
7681 (___printf_fp): Determine rounding using get_rounding_mode and
7683 * stdio-common/tst-printf-round.c: New file.
7684 * stdio-common/Makefile (tests): Add tst-printf-round.
7685 (link-libm): New variable.
7686 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7688 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7691 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7692 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7694 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7697 2012-09-13 Joseph Myers <joseph@codesourcery.com>
7699 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7700 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7701 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7702 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7704 2012-09-12 Joseph Myers <joseph@codesourcery.com>
7707 * include/rounding-mode.h: New file.
7708 * sysdeps/generic/get-rounding-mode.h: Likewise.
7709 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7710 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7711 (MAX_VALUE): New macro.
7712 (MIN_VALUE): Likewise.
7713 (overflow_value): New function.
7714 (underflow_value): Likewise.
7715 (round_and_return): Use overflow_value and underflow_value to
7716 determine return values in overflow and underflow cases. Use
7717 round_away to determine rounding depending on rounding mode.
7718 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7719 determine return values in overflow and underflow cases.
7720 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7721 (struct test_results): New structure.
7722 (struct test): Use struct test_results to store expected results
7723 for all rounding modes.
7724 (TEST): Include expected results for all rounding modes.
7725 (test_in_one_mode): New function.
7726 (do_test): Use test_in_one_mode to compute and check results.
7727 Check results for all rounding modes.
7728 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7731 2012-12-09 Allan McRae <allan@archlinux.org>
7733 * sysdeps/i386/fpu/libm-test-ulps: Update
7735 2012-09-11 Joseph Myers <joseph@codesourcery.com>
7737 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7738 (_G_int32_t): Likewise.
7739 (_G_uint16_t): Likewise.
7740 (_G_uint32_t): Likewise.
7741 (_G_HAVE_BOOL): Likewise.
7742 (_G_HAVE_ATEXIT): Likewise.
7743 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7744 (_G_HAVE_IO_FILE_OPEN): Likewise.
7745 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7746 (_G_int32_t): Likewise.
7747 (_G_uint16_t): Likewise.
7748 (_G_uint32_t): Likewise.
7749 (_G_HAVE_BOOL): Likewise.
7750 (_G_HAVE_ATEXIT): Likewise.
7751 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7752 (_G_HAVE_IO_FILE_OPEN): Likewise.
7753 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7754 (_G_int32_t): Likewise.
7755 (_G_uint16_t): Likewise.
7756 (_G_uint32_t): Likewise.
7757 (_G_HAVE_BOOL): Likewise.
7758 (_G_HAVE_ATEXIT): Likewise.
7759 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7760 (_G_HAVE_IO_FILE_OPEN): Likewise.
7762 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7764 * csu/libc-tls.c: Update copyright years.
7766 2012-09-10 Joseph Myers <joseph@codesourcery.com>
7768 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7769 [!_G_USING_THUNKS]: Remove conditional code.
7770 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7771 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7773 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7774 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7775 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7776 (_G_VTABLE_LABEL_PREFIX): Likewise.
7777 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7778 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7779 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7780 (_G_VTABLE_LABEL_PREFIX): Likewise.
7781 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7782 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7783 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7784 (_G_VTABLE_LABEL_PREFIX): Likewise.
7785 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7787 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7789 * libio/Makefile: Include ../Makeconfig before tests.
7790 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7791 only if $(build-shared) is yes.
7793 * iconv/gconv_db.c: Update copyright years.
7795 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7797 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7798 unwind info if defined PIC. Fix special cases description.
7799 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7801 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7803 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7805 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7807 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7809 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7812 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7813 (LDLIBS-tst-chk4): This.
7814 (LDFLAGS-tst-chk5): Renamed to ...
7815 (LDLIBS-tst-chk5): This.
7816 (LDFLAGS-tst-chk6): Renamed to ...
7817 (LDLIBS-tst-chk6): This.
7818 (LDFLAGS-tst-lfschk4): Renamed to ...
7819 (LDLIBS-tst-lfschk4): This.
7820 (LDFLAGS-tst-lfschk5): Renamed to ...
7821 (LDLIBS-tst-lfschk5): This.
7822 (LDFLAGS-tst-lfschk6): Renamed to ...
7823 (LDLIBS-tst-lfschk6): This.
7825 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7826 on $(common-objpfx)soversions.mk.
7828 2012-09-07 Joseph Myers <joseph@codesourcery.com>
7831 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7834 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7836 * malloc/arena.c (arena_get_retry): New function that gets
7837 another arena for the caller to try its request on.
7838 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7839 current arena cannot fulfill the request.
7840 (__libc_memalign): Likewise.
7841 (__libc_memalign): Likewise.
7842 (__libc_pvalloc): Likewise.
7843 (__libc_calloc): Likewise.
7845 2012-09-05 John Tobey <john.tobey@gmail.com>
7848 * manual/arith.texi (Operations on Complex): Fix description
7851 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7854 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7858 * manual/memory.texi (Memory): Make order of menu items match
7861 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7863 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7864 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7865 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7867 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7869 * csu/libc-tls.c (static_dtv): Renamed to ...
7870 (_dl_static_dtv): This. Make it global.
7871 (_dl_initial_dtv): Removed.
7872 (__libc_setup_tls): Updated.
7873 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7874 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7877 2012-09-06 Petr Machata <pmachata@redhat.com>
7879 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7880 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7881 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7882 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7884 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7887 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7888 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7891 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7894 * Makeconfig (link-static-before-libc): Replace $(+prector)
7896 (link-static-after-libc): Replace $(+postctor) with
7898 (link-bounded): Replace $(+prector)/$(+postctor) with
7899 $(+prectorT)/$(+postctorT).
7900 (+prectorT): New macro.
7901 (+postctorT): Likewise.
7903 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7905 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7906 (round_str): Handle values above the maximum for IBM long double
7908 * stdlib/tst-strtod-round.c (tests): Regenerated.
7910 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7912 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7914 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7915 zarch_nohighgprs around the zarch optimized routines.
7916 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7917 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7918 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7921 2012-09-05 David S. Miller <davem@davemloft.net>
7923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7925 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7926 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7927 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7928 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7931 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7933 * malloc/arena.c: Fold copyright years.
7934 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7936 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7938 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7940 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7942 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7944 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7946 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7947 change internal state upon failure.
7949 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7951 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7952 * malloc/memusage.c (mmap): Likewise.
7953 (mmap64, mremap): Likewise. Adjust name in comment.
7955 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7957 * libio/fileops.c: Fix typos in comments.
7958 * libio/oldfileops.c: Likewise.
7959 * libio/wfileops.c: Likewise.
7961 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7964 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7965 (tst-malloc-usable-ENV): Set environment for test case.
7966 * malloc/hooks.c (malloc_check_get_size): New function to get
7968 * malloc/malloc.c (musable): Use malloc_check_get_size.
7969 * malloc/tst-malloc-usable.c: New test case.
7971 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7973 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7975 2012-09-05 Allan McRae <allan@archlinux.org>
7978 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7979 determine header location.
7980 * configure: Regenerated.
7982 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7984 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7986 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7987 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7991 2012-09-04 David S. Miller <davem@davemloft.net>
7993 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7994 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7995 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7997 2012-09-04 Florian Weimer <fweimer@redhat.com>
7999 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8002 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8004 2012-09-04 Joseph Myers <joseph@codesourcery.com>
8007 * libio/iogetdelim.c: Include <limits.h>.
8008 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8009 + len + 1 would overflow.
8011 2012-09-03 Andreas Jaeger <aj@suse.de>
8013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8014 * sysdeps/i386/fpu/libm-test-ulps: Update.
8016 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8018 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8019 Add s_sinf-sse2, s_conf-sse2.
8021 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8022 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8023 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8024 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8026 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8027 for using routine as __sinf_ia32.
8028 Use macro for function declaration and weak_alias.
8029 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8030 for using routine as __cosf_ia32.
8031 Use macro for function declaration and weak_alias.
8033 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8034 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8036 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8037 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8040 * math/libm-test.inc (cos_test): Add more test cases.
8041 (sin_test): Likewise.
8042 (sincos_test): Likewise.
8044 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8046 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8047 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8049 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8051 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8054 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8055 first element of the GOT.
8056 (elf_machine_load_address): Return the difference between
8057 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8059 2012-09-01 Allan McRae <allan@archlinux.org>
8062 * configure.in (AWK): Require gawk version 3.0 or later.
8063 * configure: Regenerated.
8065 2012-09-01 Joseph Myers <joseph@codesourcery.com>
8067 * sysdeps/unix/sysv/linux/kernel-features.h
8068 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8069 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8070 [__NR_clock_getres]: Make code unconditional.
8071 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8072 (clock_getcpuclockid): Remove code left unreachable by removal of
8074 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8076 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8077 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8078 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8079 Make code unconditional.
8080 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8081 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8082 * sysdeps/unix/sysv/linux/clock_settime.c
8083 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8085 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8086 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8088 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8091 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8092 scripts/test-installation.pl.
8094 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8095 and $ld_so_version if it is set.
8097 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8100 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8101 failure if reading from procfs failed.
8102 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8104 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8106 * sysdeps/unix/sysv/linux/kernel-features.h
8107 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8108 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8109 Remove conditional code.
8110 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8111 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8112 Remove conditional code.
8113 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8114 * sysdeps/unix/sysv/linux/i386/fxstat.c
8115 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8116 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8117 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8118 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8119 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8120 * sysdeps/unix/sysv/linux/i386/lxstat.c
8121 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8122 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8123 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8124 Remove conditional code.
8125 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8126 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8127 Remove conditional code.
8128 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8129 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8130 <kernel-features.h>.
8131 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8133 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8134 Remove conditional code.
8135 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8136 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8139 2012-08-27 Mike Frysinger <vapier@gentoo.org>
8142 * NEWS: Add fixed bug number.
8144 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8147 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8148 underflowing exponent in case of negative sign.
8149 * stdlib/tst-strtod-round-data: Add more tests.
8150 * stdlib/tst-strtod-round.c (tests): Regenerated.
8153 * stdlib/strtod_l.c (NDIG): Remove.
8154 (HEXNDIG): Likewise.
8155 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8156 smallest representable value.
8157 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8158 lie within an exact representation of 1/2 ulp of the result.
8159 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8161 (TENS_P9_IDX): Define unconditionally.
8162 (TENS_P9_SIZE): Likewise.
8163 (TENS_P10_IDX): Likewise.
8164 (TENS_P10_SIZE): Likewise.
8165 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8166 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8167 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8168 entries for 10^2^13 and 10^2^14.
8169 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8170 (TENS_P13_IDX): Define.
8171 (TENS_P13_SIZE): Likewise.
8172 (TENS_P14_IDX): Likewise.
8173 (TENS_P14_SIZE): Likewise.
8174 (_fpioconst_pow10): Change array size to
8175 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8177 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8178 1024]: Add entries for 10^2^13 and 10^2^14.
8179 [LAST_POW10 > _LAST_POW10]: Remove #error.
8180 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8181 (_fpioconst_pow10): Change array size to
8182 FPIOCONST_POW10_ARRAY_SIZE.
8183 * stdlib/gen-fpioconst.c: New file.
8184 * stdlib/gen-tst-strtod-round.c: Likewise.
8185 * stdlib/tst-strtod-round-data: Likewise.
8186 * stdlib/tst-strtod-round.c: Likewise.
8187 * stdlib/Makefile (tests): Add tst-strtod-round.
8190 * stdlib/strtod_l.c: Include <stdint.h>.
8191 (NDEBUG): Do not define.
8192 (round_and_return): Change EXPONENT parameter to type intmax_t.
8193 Rearrange calculations to avoid internal overflow possibilities.
8194 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8195 Rearrange calculations to avoid internal overflow possibilities.
8196 Assert that number fits inside MPNSIZE limbs.
8197 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8198 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8199 calculations and add assertions to avoid internal overflow
8200 possibilities. Add casts to avoid signed/unsigned operations.
8201 * stdlib/tst-strtod-overflow.c: New file.
8202 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8204 2012-08-25 Marek Polacek <polacek@redhat.com>
8206 * time/time.h: Fix some typos in comments.
8208 2012-08-23 Roland McGrath <roland@hack.frob.com>
8210 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8211 * posix/tst-rfc3484-2.c: Likewise.
8212 * posix/tst-rfc3484-3.c: Likewise.
8214 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8216 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8217 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8219 2012-08-23 Joseph Myers <joseph@codesourcery.com>
8221 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8222 #include of fxstatat64.c.
8224 2012-08-22 Roland McGrath <roland@hack.frob.com>
8226 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8227 * shadow/getspent_r.c: Likewise.
8228 * shadow/getspnam.c: Likewise.
8229 * shadow/getspnam_r.c: Likewise.
8230 * gshadow/getsgent.c: Likewise.
8231 * gshadow/getsgent_r.c: Likewise.
8232 * gshadow/getsgnam.c: Likewise.
8233 * gshadow/getsgnam_r.c: Likewise.
8234 * inet/getnetbyad.c: Likewise.
8235 * inet/getnetbyad_r.c: Likewise.
8236 * inet/getnetbynm.c: Likewise.
8237 * inet/getnetbynm_r.c: Likewise.
8238 * inet/getnetent.c: Likewise.
8239 * inet/getnetent_r.c: Likewise.
8240 * inet/getproto.c: Likewise.
8241 * inet/getproto_r.c: Likewise.
8242 * inet/getprtent.c: Likewise.
8243 * inet/getprtent_r.c: Likewise.
8244 * inet/getprtname.c: Likewise.
8245 * inet/getprtname_r.c: Likewise.
8246 * inet/getrpcbyname.c: Likewise.
8247 * inet/getrpcbyname_r.c: Likewise.
8248 * inet/getrpcbynumber.c: Likewise.
8249 * inet/getrpcbynumber_r.c: Likewise.
8250 * inet/getrpcent.c: Likewise.
8251 * inet/getrpcent_r.c: Likewise.
8252 * inet/getaliasent.c: Likewise.
8253 * inet/getaliasent_r.c: Likewise.
8254 * inet/getaliasname.c: Likewise.
8255 * inet/getaliasname_r.c: Likewise.
8256 * nscd/getgrgid_r.c: Likewise.
8257 * nscd/getgrnam_r.c: Likewise.
8258 * nscd/gethstbyad_r.c: Likewise.
8259 * nscd/gethstbynm3_r.c: Likewise.
8260 * nscd/getpwnam_r.c: Likewise.
8261 * nscd/getpwuid_r.c: Likewise.
8262 * nscd/getsrvbynm_r.c: Likewise.
8263 * nscd/getsrvbypt_r.c: Likewise.
8264 * nscd/gai.c: Likewise.
8266 * configure.in (build_nscd): New substituted variable, set
8267 by --disable-build-nscd and defaults to $use_nscd.
8268 * configure: Regenerated.
8269 * config.make.in (build-nscd): New substituted variable.
8270 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8271 Change conditional to require [$(build-nscd) = yes] as well.
8272 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8275 * configure.in (use_nscd): New substituted variable, set by
8276 --disable-nscd. If enabled, define USE_NSCD.
8277 * configure: Regenerated.
8278 * config.h.in: Add USE_NSCD.
8279 * config.make.in (use-nscd): New substituted variable.
8280 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8281 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8282 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8283 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8284 (CFLAGS-getgrnam_r.c): Likewise.
8285 (CFLAGS-initgroups.c): Likewise.
8286 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8287 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8289 * inet/getnetgrent_r.c
8290 (nscd_setnetgrent): New function, broken out of ...
8291 (setnetgrent): ... here. Call it.
8292 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8293 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8294 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8295 * nscd/Makefile (routines, aux): Move definitions after include of
8296 Makeconfig. Conditionalize on [$(use-nscd) != no].
8297 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8298 Conditionalize on [USE_NSCD].
8299 (is_nscd, nscd_init_cb): Likewise.
8300 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8301 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8302 * nss/nss_db/db-init.c: Likewise.
8303 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8305 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8306 (make_request): Use it.
8307 (cache_valid_p): New function.
8308 (__check_pf): Use it.
8309 * NEWS: Add item for --disable-nscd.
8311 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8313 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8314 to support sed >= 4.2.1-20-ga9bf076.
8315 * configure: Regenerated.
8317 2012-08-22 Roland McGrath <roland@hack.frob.com>
8319 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8320 Conditionalize whole body on [IREL].
8322 2012-08-22 Jeff Law <law@redhat.com>
8325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8326 if the family is PF_UNSPEC.
8328 2012-08-22 Mike Frysinger <vapier@gentoo.org>
8330 * Makerules (lib-version): Rename from V.
8331 (install-lib-nosubdir): Change V to lib-version.
8333 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8336 * powerpc32/power6/wcschr.c: New file.
8337 * powerpc32/power6/wcscpy.c: New file.
8338 * powerpc32/power6/wcsrchr.c: New file.
8339 * powerpc64/power6/wcschr.c: New file.
8340 * powerpc64/power6/wcscpy.c: New file.
8341 * powerpc64/power6/wcsrchr.c: New file.
8343 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8345 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8346 (two_way_short_needle): Use it.
8347 * string/strstr.c (AVAILABLE1_USES_J): Define.
8348 * string/strcasestr.c: Likewise.
8350 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8352 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8355 * NEWS: Add an entry.
8356 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8357 define their defaults.
8358 (two_way_short_needle): Detect end-of-string on-the-fly.
8359 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8360 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8361 * string/bug-strcasestr1.c: New test.
8362 * string/Makefile: Run it.
8364 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8367 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8368 the first character.
8370 2012-08-21 Roland McGrath <roland@hack.frob.com>
8372 * csu/elf-init.c (__libc_csu_irel): Function removed.
8373 * csu/libc-start.c (apply_irel): New function.
8374 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8376 2012-08-21 Joseph Myers <joseph@codesourcery.com>
8378 * sysdeps/unix/sysv/linux/kernel-features.h
8379 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8380 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8381 <kernel-features.h>.
8382 [__NR_fadvise64_64]: Make code unconditional.
8383 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8384 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8385 !__NR_fadvise64_64)]: Likewise.
8386 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8387 !__NR_fadvise64_64))]: Likewise.
8388 [__NR_fadvise64]: Make code unconditional.
8389 [!__NR_fadvise64]: Remove conditional code.
8390 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8391 <kernel-features.h>.
8392 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8394 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8397 not include <kernel-features.h>.
8398 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8400 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8402 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8403 include <kernel-features.h>.
8404 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8406 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8409 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8411 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8412 slight instruction rearrangements per scrollpipe analysis.
8413 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8415 2012-08-20 Roland McGrath <roland@hack.frob.com>
8417 * manual/syslog.texi (syslog; vsyslog, closelog):
8418 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8419 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8421 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8422 DSOCAPS to match condition on defining it.
8424 2012-08-20 Joseph Myers <joseph@codesourcery.com>
8426 * sysdeps/unix/sysv/linux/kernel-features.h
8427 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8429 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8430 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8432 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8433 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8435 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8436 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8438 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8439 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8441 * sysdeps/unix/sysv/linux/kernel-features.h
8442 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8443 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8445 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8446 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8447 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8448 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8449 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8450 Make code unconditional.
8451 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8452 (__mmap64) [!__NR_mmap2]: Likewise.
8453 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8454 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8455 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8456 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8457 [__NR_mmap2]: Make code unconditional.
8458 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8459 (__mmap64) [!__NR_mmap2]: Likewise.
8461 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8463 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8465 2012-08-18 Andreas Jaeger <aj@suse.de>
8467 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8469 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8471 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8472 * include/unistd.h (__have_sock_cloexec): Likewise.
8473 (__have_pipe2): Likewise.
8474 (__have_dup3): Likewise.
8476 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8479 * include/unistd.h (__have_pipe2): Change define into an extern int.
8480 (__have_dup3): Likewise.
8481 * socket/have_sock_cloexec.c: Include fcntl.h.
8482 (__have_pipe2): New variable.
8483 (__have_dup3): Likewise.
8485 2012-08-17 Mike Frysinger <vapier@gentoo.org>
8487 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8489 2012-08-17 Marek Polacek <polacek@redhat.com>
8491 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8492 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8494 2012-08-17 Roland McGrath <roland@hack.frob.com>
8496 * configure.in: Add AC_SUBST for sysheaders.
8497 * configure: Regenerated.
8498 * config.make.in (sysheaders): New substituted variable.
8500 * sysdeps/unix/mkfifo.c: Moved ...
8501 * sysdeps/posix/mkfifo.c: ... here.
8502 * sysdeps/unix/mkfifoat.c: Moved ...
8503 * sysdeps/posix/mkfifoat.c: ... here.
8505 * sysdeps/unix/utime.c: Moved ...
8506 * sysdeps/posix/utime.c: ... here.
8508 * sysdeps/unix/time.c: Moved ...
8509 * sysdeps/posix/time.c: ... here.
8510 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8511 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8513 * sysdeps/unix/nice.c: Moved ...
8514 * sysdeps/posix/nice.c: ... here.
8516 * sysdeps/unix/alarm.c: Moved ...
8517 * sysdeps/posix/alarm.c: ... here.
8519 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8521 2012-08-17 Jeff Law <law@redhat.com>
8523 * intl/Makefile (codeset_mo): New variable.
8524 ($(codeset_mo)): New target.
8525 (tst-codeset.out): Depend on that. Remove explicit rule.
8526 (tst-gettext3.out, tst-gettext5.out): Likewise.
8527 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8528 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8529 * intl/tst-codeset.sh: Remove.
8530 * intl/tst-gettext3.sh: Likewise.
8531 * intl/tst-gettext5.sh: Likewise.
8533 2012-08-17 Roland McGrath <roland@hack.frob.com>
8535 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8536 * sysdeps/unix/syscalls.list: ... here.
8538 * sysdeps/posix/getaddrinfo.c
8539 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8540 (gaiconf_init, gaiconf_reload): Use them.
8542 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8543 Define using time_t rather than struct timespec.
8545 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8546 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8548 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8550 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8551 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8554 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8555 __libc_cleanup_push argument.
8557 * bits/param.h: New file.
8558 * misc/sys/param.h: New file.
8559 * include/sys/param.h: New file.
8560 * misc/Makefile (headers): Add bits/param.h.
8561 * sysdeps/generic/sys/param.h: File removed.
8562 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8563 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8564 * sysdeps/mach/hurd/bits/param.h: New file.
8565 * sysdeps/mach/hurd/sys/param.h: File removed.
8567 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8570 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8572 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8573 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8576 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8577 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8578 rather than -D_IO_MTSAFE_IO conditionally.
8579 * stdio-common/Makefile (CPPFLAGS): Likewise.
8580 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8581 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8582 Use $(libio-mtsafe).
8583 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8585 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8586 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8587 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8588 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8589 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8590 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8591 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8592 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8593 (CFLAGS-fread_u_chk.c): Likewise.
8594 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8595 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8596 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8597 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8598 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8599 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8600 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8601 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8602 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8604 * libio/Makefile: Test [$(libc-reentrant) = yes]
8605 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8608 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8609 * sysdeps/pthread/configure: File removed.
8610 * sysdeps/pthread/Makeconfig: New file.
8611 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8612 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8614 2012-08-16 Gary Benson <gbenson@redhat.com>
8616 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8617 unmapping the first object in a namespace.
8619 2012-08-16 Roland McGrath <roland@hack.frob.com>
8621 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8622 (__internal_setnetgrent): ... this. Add internal_function to
8623 definition. Add libc_hidden_def.
8624 (setnetgrent): Update caller.
8625 (internal_endnetgrent): Renamed to ...
8626 (__internal_endnetgrent): ... this. Add internal_function to
8627 definition. Add libc_hidden_def.
8628 (endnetgrent): Update caller.
8629 (internal_getnetgrent_r): Renamed to ...
8630 (__internal_getnetgrent_r): ... this. Add internal_function to
8631 definition. Add libc_hidden_def.
8632 (__getnetgrent_r): Update caller.
8633 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8635 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8637 * stdlib/longlong.h: Update from GCC.
8639 2012-08-16 Roland McGrath <roland@hack.frob.com>
8641 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8642 on _QL, which is set by umul_ppmm but never used.
8643 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8644 variables, which are set by GMP macros but never used.
8645 * stdio-common/_itowa.c (_itowa): Likewise.
8646 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8647 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8649 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8651 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8652 struct La_sh_regs is not constant.
8653 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8654 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8655 and struct La_sparc64_regs are not constant.
8657 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8659 * sysdeps/unix/sysv/linux/kernel-features.h
8660 (__ASSUME_POSIX_TIMERS): Remove.
8661 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8662 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8663 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8664 Make code unconditional.
8665 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8666 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8667 Make code unconditional.
8668 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8669 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8670 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8671 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8672 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8673 Make code unconditional.
8674 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8675 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8676 (__libc_missing_posix_timers): Remove.
8678 2012-08-15 Roland McGrath <roland@hack.frob.com>
8680 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8681 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8683 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8685 * elf/dl-sym.c: Include <stdlib.h>.
8687 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8688 constants, which avoids warnings in 32-bit builds.
8690 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8691 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8693 * misc/lseek.c: File moved to ...
8694 * io/lseek.c: ... here.
8696 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8698 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8699 shifting LEN more than 31 bits at once.
8701 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8704 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8705 segmentation fault for a case of two empty input strings.
8706 * string/test-strncasecmp.c (check1): Renamed to...
8708 (bz14195): Add new testcase for two empty input strings and N > 0.
8709 (test_main): Call new testcase, adapt for renamed function.
8711 2012-08-15 Andreas Jaeger <aj@suse.de>
8714 * crypt/md5test2.c: New test, based on test supplied by Serge
8715 Belyshev <belyshev@depni.sinp.msu.ru>.
8716 * crypt/Makefile (xtests): Add md5test-giant..
8717 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8719 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8722 * crypt/md5.c (md5_process_block): Don't assume the buffer
8723 length is less than 2**32.
8724 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8725 length is less than 2**64.
8727 2012-08-15 Roland McGrath <roland@hack.frob.com>
8729 * string/str-two-way.h: Include <sys/param.h>.
8730 (MAX): Macro removed.
8732 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8733 Move #define and #undef of memmove to just before and after
8734 including <string.h>.
8736 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8737 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8738 and after including <string.h>. Move declarations of
8739 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8740 to before #include "string/memmove.c".
8742 * include/dirent.h: Declare __getdirentries.
8744 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8745 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8747 2012-08-14 Mike Frysinger <vapier@gentoo.org>
8749 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8750 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8751 * sysdeps/i386/configure: Regenerated.
8752 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8753 STABS_CURRENT_FILE, and STABS_FUN.
8754 (END): Remove call to STABS_FUN_END.
8755 (STABS_CURRENT_FILE1): Delete.
8756 (STABS_CURRENT_FILE): Likewise.
8757 (STABS_FUN): Likewise.
8758 (STABS_FUN_END): Likewise.
8759 (STABS_FUN2): Likewise.
8760 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8761 * sysdeps/x86_64/configure: Regenerated.
8763 2012-08-14 Roland McGrath <roland@hack.frob.com>
8765 * elf/dl-open.c: Include <atomic.h>.
8766 * elf/dl-lookup.c: Likewise.
8768 2012-08-14 Joseph Myers <joseph@codesourcery.com>
8770 * sysdeps/unix/sysv/linux/kernel-features.h
8771 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8772 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8774 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8776 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8777 condition on __ASSUME_CLONE_THREAD_FLAGS.
8779 2012-08-14 Andreas Jaeger <aj@suse.de>
8781 * sysdeps/i386/fpu/libm-test-ulps: Update.
8783 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8785 * include/atomic.h (atomic_exchange_and_add): Split into ...
8786 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8789 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8793 2012-08-13 Jeff Law <law@redhat.com>
8795 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8796 null byte in the output string.
8798 2012-08-10 Joseph Myers <joseph@codesourcery.com>
8800 * sysdeps/unix/sysv/linux/kernel-features.h
8801 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8802 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8803 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8804 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8805 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8806 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8807 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8809 2012-08-09 Jeff Law <law@redhat.com>
8812 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8813 When avoid_arena is set, don't retry in the that arena. Pick the
8814 next one, whatever it might be.
8815 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8816 (arena_lock): Pass in new parameter to arena_get2.
8817 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8819 (__libc_malloc): Unify retrying after main arena failure with
8820 __libc_memalign version.
8821 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8823 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8826 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8827 to __redirect_strstr.
8828 (__strstr_sse42): Use typeof __redirect_strstr.
8829 (__strstr_ia32): Likewise.
8830 (__libc_strstr): New prototype.
8831 (strstr): Renamed to ...
8832 (__libc_strstr): This.
8833 (strstr): New strong alias of __libc_strstr.
8834 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8835 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8838 (__libc_time): New prototype.
8839 (time_ifunc): Replace time with __libc_time.
8840 (time): New strong alias and hidden definition of __libc_time.
8841 (__GI_time): Remove strong alias.
8842 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8844 (memmove): Redefined to __redirect_memmove.
8845 (__memmove_sse2): Use typeof __redirect_memmove.
8846 (__memmove_ssse3): Likewise.
8847 (__memmove_ssse3_back): Likewise.
8848 (__libc_memmove): New prototype.
8849 (memmove): Renamed to ...
8850 (__libc_memmove): This.
8851 (memmove): New strong alias of __libc_memmove.
8853 2012-08-08 Mark Salter <msalter@redhat.com>
8856 (R_MN10300_TLS_GD): Define.
8857 (R_MN10300_TLS_LD): Likewise.
8858 (R_MN10300_TLS_LDO): Likewise.
8859 (R_MN10300_TLS_GOTIE): Likewise.
8860 (R_MN10300_TLS_IE): Likewise.
8861 (R_MN10300_TLS_LE): Likewise.
8862 (R_MN10300_TLS_DTPMOD): Likewise.
8863 (R_MN10300_TLS_DTPOFF): Likewise.
8864 (R_MN10300_TLS_TPOFF): Likewise.
8865 (R_MN10300_SYM_DIFF): Likewise.
8866 (R_MN10300_ALIGN): Likewise.
8867 (R_MN10300_NUM): Update.
8869 2012-08-08 Joseph Myers <joseph@codesourcery.com>
8871 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8874 2012-08-08 Roland McGrath <roland@hack.frob.com>
8876 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8878 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8879 sysdeps/unix -> sysdeps/posix move.
8880 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8882 2012-08-07 Allan McRae <allan@archlinux.org>
8885 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8886 (SUNOS_CPP): Likewise.
8887 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8889 (open_input): Call CPP using execvp.
8891 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8893 * sysdeps/unix/sysv/linux/kernel-features.h
8894 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8895 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8896 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8897 (__ASSUME_WAITID_SYSCALL): Likewise.
8898 * sysdeps/unix/sysv/linux/dl-execstack.c
8899 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8901 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8903 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8904 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8905 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8907 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8909 [__ASSUME_WAITID_SYSCALL]: Likewise.
8910 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8912 2012-08-07 Roland McGrath <roland@hack.frob.com>
8914 * sysdeps/unix/closedir.c: Renamed to ...
8915 * sysdeps/posix/closedir.c: ... here.
8916 * sysdeps/unix/dirfd.c: Renamed to ...
8917 * sysdeps/posix/dirfd.c: ... here.
8918 * sysdeps/unix/dirstream.h: Renamed to ...
8919 * sysdeps/posix/dirstream.h: ... here.
8920 * sysdeps/unix/fdopendir.c: Renamed to ...
8921 * sysdeps/posix/fdopendir.c: ... here.
8922 * sysdeps/unix/opendir.c: Renamed to ...
8923 * sysdeps/posix/opendir.c: ... here.
8924 * sysdeps/unix/readdir.c: Renamed to ...
8925 * sysdeps/posix/readdir.c: ... here.
8926 * sysdeps/unix/readdir_r.c: Renamed to ...
8927 * sysdeps/posix/readdir_r.c: ... here.
8928 * sysdeps/unix/rewinddir.c: Renamed to ...
8929 * sysdeps/posix/rewinddir.c: ... here.
8930 * sysdeps/unix/seekdir.c: Renamed to ...
8931 * sysdeps/posix/seekdir.c: ... here.
8932 * sysdeps/unix/telldir.c: Renamed to ...
8933 * sysdeps/posix/telldir.c: ... here.
8934 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8935 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8936 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8937 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8939 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8940 * bits/fcntl.h: ... here.
8942 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8944 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8945 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8946 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8947 (struct flock): Move l_start, l_len to the beginning.
8948 Use __pid_t for l_pid.
8949 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8950 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8951 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8952 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8953 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8954 [__USE_LARGEFILE64] (struct flock64): New type.
8955 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8957 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8958 * bits/dirent.h: ... here.
8960 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8961 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8963 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8965 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8966 Change from 2.6.0 to 2.6.16.
8967 * sysdeps/unix/sysv/linux/configure: Regenerated.
8968 * sysdeps/unix/sysv/linux/kernel-features.h
8969 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8970 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8972 (__ASSUME_UTIMES): Likewise.
8973 (__ASSUME_CLONE_STOPPED): Remove.
8974 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8975 architectures, not kernel version.
8976 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8977 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8978 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8979 (__ASSUME_WAITID_SYSCALL): Likewise.
8980 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8981 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8982 * README: State 2.6.16 as minimum Linux kernel version. Do not
8983 refer to older versions.
8985 2012-08-06 Roland McGrath <roland@hack.frob.com>
8987 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8988 Define alphasort64 as an alias.
8989 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8990 Define versionsort64 as an alias.
8991 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8992 Define scandir64 as an alias.
8993 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8994 Define scandirat64 as an alias.
8995 * dirent/alphasort64.c (alphasort64):
8996 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8997 * dirent/versionsort64.c: Likewise.
8998 * dirent/scandir64.c: Likewise.
8999 * dirent/scandirat64.c: Likewise.
9000 * sysdeps/wordsize-64/alphasort.c: File removed.
9001 * sysdeps/wordsize-64/alphasort64.c: File removed.
9002 * sysdeps/wordsize-64/scandir.c: File removed.
9003 * sysdeps/wordsize-64/scandir64.c: File removed.
9004 * sysdeps/wordsize-64/scandirat.c: File removed.
9005 * sysdeps/wordsize-64/scandirat64.c: File removed.
9006 * sysdeps/wordsize-64/versionsort.c: File removed.
9007 * sysdeps/wordsize-64/versionsort64.c: File removed.
9008 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9009 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9010 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9011 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9012 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9013 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9014 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9015 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9017 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9018 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9019 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9020 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9021 [defined __arch64__ || defined __sparcv9]
9022 (__INO_T_MATCHES_INO64_T): New macro.
9023 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9024 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9025 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9026 * sysdeps/unix/sysv/linux/bits/dirent.h
9027 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9028 (_DIRENT_MATCHES_DIRENT64): New macro.
9030 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9031 Define lockf64 as an alias.
9032 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9033 Define fseeko64 as an alias.
9034 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9035 Define ftello64 as an alias.
9036 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9037 Define _IO_fgetpos64 and fgetpos64 as aliases.
9038 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9039 Define _IO_fsetpos64 and fsetpos64 as aliases.
9040 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9041 Conditionalize body on this.
9042 * libio/fseeko64.c: Likewise.
9043 * libio/ftello64.c: Likewise.
9044 * libio/iofgetpos64.c: Likewise.
9045 * libio/iofsetpos64.c: Likewise.
9046 * sysdeps/wordsize-64/lockf.c: File removed.
9047 * sysdeps/wordsize-64/lockf64.c: File removed.
9048 * sysdeps/wordsize-64/fseeko.c: File removed.
9049 * sysdeps/wordsize-64/fseeko64.c: File removed.
9050 * sysdeps/wordsize-64/ftello.c: File removed.
9051 * sysdeps/wordsize-64/ftello64.c: File removed.
9052 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9053 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9054 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9055 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9056 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9057 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9058 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9059 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9060 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9061 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9062 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9063 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9064 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9065 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9067 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9068 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9069 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9070 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9071 [defined __arch64__ || defined __sparcv9]
9072 (__OFF_T_MATCHES_OFF64_T): New macro.
9073 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9074 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9075 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9076 (__OFF_T_MATCHES_OFF64_T): New macro.
9078 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9080 * stdlib/secure-getenv.c (__secure_getenv): Replace
9081 GLIBC_2_16 with GLIBC_2_17.
9083 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9085 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9086 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9088 2012-08-03 David S. Miller <davem@davemloft.net>
9090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9092 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9094 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9096 (__ASSUME_CORRECT_SI_PID): Likewise.
9097 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9098 (__ASSUME_TMPFS_NAME): Likewise.
9099 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9100 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9101 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9102 (HAVE_AUX_SECURE): Make definition unconditional.
9103 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9104 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9106 2012-08-03 Roland McGrath <roland@hack.frob.com>
9108 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9109 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9110 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9111 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9112 __eloop_threshold instead of SYMLOOP_MAX.
9114 * sysdeps/generic/eloop-threshold.h: New file.
9115 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9117 * elf/chroot_canon.c (chroot_canon): Likewise.
9119 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9122 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9123 Change to 2.6.0 everywhere.
9124 * sysdeps/unix/sysv/linux/configure: Regenerated.
9125 * sysdeps/unix/sysv/linux/kernel-features.h
9126 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9127 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9129 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9130 (__ASSUME_FUTEX_REQUEUE): Remove.
9131 (__ASSUME_STATFS64): Define unconditionally.
9132 (__ASSUME_AT_SECURE): Likewise.
9133 (__ASSUME_CORRECT_SI_PID): Likewise.
9134 (__ASSUME_TGKILL): Define without depending on kernel version for
9136 (__ASSUME_UTIMES): Likewise.
9137 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9139 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9140 (__ASSUME_TMPFS_NAME): Likewise.
9141 * README: Update reference to Linux kernel versions.
9143 2012-08-02 Marek Polacek <polacek@redhat.com>
9146 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9147 libc_cv_asm_type_prefix with %.
9148 * configure: Regenerated.
9149 * include/libc-symbols.h: Remove comment about
9150 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9151 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9152 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9153 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9154 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9155 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9156 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9157 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9158 * elf/tst-unique2mod1.c: Likewise.
9159 * elf/tst-unique1mod2.c: Likewise.
9160 * elf/tst-unique1mod1.c: Likewise.
9161 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9162 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9163 Replace ASM_TYPE_DIRECTIVE with .type.
9164 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9165 * sysdeps/i386/sysdep.h: Likewise.
9166 * sysdeps/x86_64/sysdep.h: Likewise.
9167 * sysdeps/sh/sysdep.h: Likewise.
9168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9169 Do not define ASM_TYPE_DIRECTIVE.
9170 * sysdeps/powerpc/sysdep.h: Likewise.
9171 * sysdeps/powerpc/powerpc32/sysdep.h:
9172 Replace ASM_TYPE_DIRECTIVE with .type.
9173 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9174 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9175 * sysdeps/i386/fpu/e_powf.S: Likewise.
9176 * sysdeps/i386/fpu/e_expl.S: Likewise.
9177 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9178 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9179 * sysdeps/i386/fpu/e_pow.S: Likewise.
9180 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9181 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9182 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9183 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9184 * sysdeps/i386/fpu/e_log2.S: Likewise.
9185 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9186 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9187 * sysdeps/i386/fpu/e_powl.S: Likewise.
9188 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9189 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9190 * sysdeps/i386/fpu/e_logl.S: Likewise.
9191 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9192 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9193 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9194 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9195 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9196 * sysdeps/i386/fpu/e_log.S: Likewise.
9197 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9198 * sysdeps/i386/fpu/e_logf.S: Likewise.
9199 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9200 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9201 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9202 * sysdeps/i386/fpu/e_log10.S: Likewise.
9203 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9204 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9205 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9206 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9207 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9208 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9209 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9210 * sysdeps/i386/i686/strtok.S: Likewise.
9211 * sysdeps/i386/i386-mcount.S: Likewise.
9212 * sysdeps/i386/strtok.S: Likewise.
9213 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9214 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9215 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9216 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9217 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9218 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9219 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9220 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9221 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9222 * sysdeps/x86_64/_mcount.S: Likewise.
9223 * sysdeps/x86_64/strtok.S: Likewise.
9224 * sysdeps/sh/_mcount.S: Likewise.
9226 2012-08-01 Roland McGrath <roland@hack.frob.com>
9228 * libio/iofopen.c: Include <fcntl.h>.
9229 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9230 (_IO_fopen64, fopen64): Define as aliases.
9231 * libio/iofopen64.c: Include <fcntl.h>.
9232 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9233 Conditionalize body on this.
9234 * sysdeps/wordsize-64/iofopen.c: File removed.
9235 * sysdeps/wordsize-64/iofopen64.c: File removed.
9237 2012-08-01 Marek Polacek <polacek@redhat.com>
9239 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9240 Use dlfcn directly instead of a variable.
9241 (binfmt-subdir): Do not define.
9244 2012-08-01 Joseph Myers <joseph@codesourcery.com>
9246 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9247 Remove all definitions.
9248 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9249 <kernel-features.h>.
9250 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9251 (miss_F_GETOWN_EX): Remove all definitions.
9252 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9254 [!__ASSUME_FCNTL64]: Remove conditional code.
9255 [__ASSUME_FCNTL64]: Make code unconditional.
9256 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9257 <kernel-features.h>.
9258 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9259 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9260 (lockf64) [__NR_fcntl64]: Make code unconditional.
9261 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9263 * sysdeps/unix/sysv/linux/kernel-features.h
9264 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9265 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9266 Make code unconditional.
9267 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9268 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9270 [__NR_vfork]: Make code unconditional.
9271 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9272 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9274 [__NR_vfork]: Make code unconditional.
9275 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9276 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9278 2012-08-01 Roland McGrath <roland@hack.frob.com>
9280 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9281 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9283 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9284 Define mkstemp64 as an alias.
9285 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9286 Define mkstemps64 as an alias.
9287 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9288 Define mkostemp64 as an alias.
9289 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9290 Define mkostemps64 as an alias.
9291 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9292 Conditionalize body on this.
9293 * misc/mkostemp64.c: Likewise.
9294 * misc/mkostemps64.c: Likewise.
9295 * misc/mkstemps64.c: Likewise.
9296 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9297 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9298 * sysdeps/wordsize-64/mkostemp.c: File removed.
9299 * sysdeps/wordsize-64/mkstemp.c: File removed.
9300 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9301 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9302 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9303 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9306 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9307 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9308 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9309 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9311 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9312 compat_symbol macros from <shlib-compat.h> rather than the underlying
9313 default_symbol_version and symbol_version macros, so that DEFAULT
9314 lines in shlib-versions are respected.
9315 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9317 2012-08-01 Florian Weimer <fweimer@redhat.com>
9319 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9320 Declare with warn_unused_result.
9321 (setgid, setregid, setegid, setresgid): Likewise.
9322 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9324 * WUR-REPORT: Remove set*id functions.
9326 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9328 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9330 2012-07-31 Roland McGrath <roland@hack.frob.com>
9332 * include/sys/socket.h (__libc_accept, __libc_accept4):
9333 Add attribute_hidden.
9334 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9336 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9338 * inet/getnetgrent_r.c (setup): Likewise.
9340 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9342 2012-07-31 David S. Miller <davem@davemloft.net>
9344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9346 2012-07-31 Joseph Myers <joseph@codesourcery.com>
9349 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9350 value between 1.0 and 2.0 and smaller part has absolute value less
9352 * math/s_clog10.c (__clog10): Likewise.
9353 * math/s_clog10f.c (__clog10f): Likewise.
9354 * math/s_clog10l.c (__clog10l): Likewise.
9355 * math/s_clogf.c (__clogf): Likewise.
9356 * math/s_clogl.c (__clogl): Likewise.
9357 * math/libm-test.inc (clog_test): Add more tests.
9358 (clog10_test): Likewise.
9359 * sysdeps/i386/fpu/libm-test-ulps: Update.
9360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9362 2012-07-31 Florian Weimer <fweimer@redhat.com>
9364 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9365 Exit with zero in case no suitable GID is found, and write a
9366 message to standard error.
9368 2012-07-30 Roland McGrath <roland@hack.frob.com>
9370 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9372 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9373 (MAXPATHLEN): Removed.
9374 (NOGROUP, NODEV): New macros.
9375 (setbit, clrbit, isset, isclr): New macros.
9376 (howmany, roundup, powerof2): New macros.
9377 (DEV_BSIZE): New macro.
9379 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9380 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9382 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9383 definition on [!__NO_LONG_DOUBLE_MATH].
9385 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9386 PTR_MANGLE and PTR_DEMANGLE.
9388 * socket/accept4.c (accept4): Rename to __libc_accept4.
9389 Define accept4 as a weak alias.
9391 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9392 on [_DIRENT_HAVE_D_TYPE].
9393 * io/ftw.c (ftw_dir): Likewise.
9395 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9397 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9399 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9400 Use the BSD numbers rather than the arbitrary ones we had.
9401 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9402 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9403 (SIGXCPU, SIGXFSZ): New macros.
9406 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9407 initializer on [_LIBC_REENTRANT].
9409 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9410 definitions inside [_POSIX_MAPPED_FILES].
9412 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9414 * dirent/opendir.c: Include <fcntl.h>.
9416 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9417 (__libc_getspecific): Likewise.
9418 (__libc_key_create): Likewise.
9420 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9421 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9422 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9423 (tmpfile64): Define as alias.
9424 * sysdeps/wordsize-64/tmpfile.c: File removed.
9425 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9426 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9427 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9429 * stdio-common/vfscanf.c: Include <stdbool.h>.
9430 * nss/makedb.c: Likewise.
9431 * stdio-common/_i18n_number.h: Likewise.
9432 * argp/argp-help.c: Likewise.
9433 * posix/wordexp.c: Likewise.
9434 * sysdeps/posix/spawni.c: Likewise.
9435 * nss/nss_files/files-initgroups.c: Likewise.
9436 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9437 * nss/nss_files/files-initgroups.c: Likewise.
9438 * nss/nss_db/db-netgrp.c: Likewise.
9439 * nss/nss_db/db-initgroups.c: Likewise.
9440 * io/fchmodat.c: Include <sys/stat.h>.
9442 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9443 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9445 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9448 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9449 Add multiple inclusion protection.
9451 2012-07-27 David S. Miller <davem@davemloft.net>
9453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9455 2012-07-27 Gary Benson <gbenson@redhat.com>
9458 * elf/rtld.c: Include <stap-probe.h>.
9459 (dl_main): Added static probes "init_start" and "init_complete".
9460 * elf/dl-load.c: Include <stap-probe.h>.
9461 (lose): Take new parameter "nsid".
9462 Added static probe "map_failed".
9463 (_dl_map_object_from_fd): Pass namespace id to lose.
9464 Added static probe "map_start".
9465 (open_verify): Pass namespace id to lose.
9466 * elf/dl-open.c: Include <stap-probe.h>.
9467 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9468 and "reloc_complete".
9469 * elf/dl-close.c: Include <stap-probe.h>.
9470 (_dl_close_worker): Added static probes "unmap_start" and
9472 * elf/rtld-debugger-interface.txt: New file documenting the above.
9474 2012-07-26 Roland McGrath <roland@hack.frob.com>
9476 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9477 rather than a string variable.
9478 * sunrpc/rpc_main.c (h_output): Likewise.
9479 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9481 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9483 * inet/check_native.c: New file.
9485 2012-07-26 Joseph Myers <joseph@codesourcery.com>
9488 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9489 if larger part has absolute value 1.0.
9490 * math/s_clog10.c (__clog10): Likewise.
9491 * math/s_clog10f.c (__clog10f): Likewise.
9492 * math/s_clog10l.c (__clog10l): Likewise.
9493 * math/s_clogf.c (__clogf): Likewise.
9494 * math/s_clogl.c (__clogl): Likewise.
9495 * math/libm-test.inc (clog_test): Add more tests.
9496 (clog10_test): Likewise.
9497 * sysdeps/i386/fpu/libm-test-ulps: Update.
9498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9500 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9501 (pltexit): Likewise.
9502 (La_regs): Likewise.
9503 (La_retval): Likewise.
9504 (int_retval): Likewise.
9505 Update #error for removed macros to refer only to definitions in
9507 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9509 (pltexit): Likewise.
9510 (La_regs): Likewise.
9511 (La_retval): Likewise.
9512 (int_retval): Likewise.
9513 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9515 (pltexit): Likewise.
9516 (La_regs): Likewise.
9517 (La_retval): Likewise.
9518 (int_retval): Likewise.
9519 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9521 (pltexit): Likewise.
9522 (La_regs): Likewise.
9523 (La_retval): Likewise.
9524 (int_retval): Likewise.
9525 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9527 (pltexit): Likewise.
9528 (La_regs): Likewise.
9529 (La_retval): Likewise.
9530 (int_retval): Likewise.
9531 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9533 (pltexit): Likewise.
9534 (La_regs): Likewise.
9535 (La_retval): Likewise.
9536 (int_retval): Likewise.
9537 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9539 (pltexit): Likewise.
9540 (La_regs): Likewise.
9541 (La_retval): Likewise.
9542 (int_retval): Likewise.
9543 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9544 macro definitions in tst-audit.h.
9545 * sysdeps/i386/tst-audit.h: New file.
9546 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9547 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9548 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9549 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9550 * sysdeps/sh/tst-audit.h: Likewise.
9551 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9552 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9553 * sysdeps/x86_64/tst-audit.h: Likewise.
9555 2012-07-26 Andreas Jaeger <aj@suse.de>
9557 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9560 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9561 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9562 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9564 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9565 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9566 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9568 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9571 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9573 (si_call_addr, si_syscall, si_arch): Define new macro.
9574 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9576 (si_call_addr, si_syscall, si_arch): Define new marcro.
9577 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9579 (si_call_addr, si_syscall, si_arch): Define new macro.
9580 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9582 (si_call_addr, si_syscall, si_arch): Define new macro.
9584 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9587 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9588 Change to 2.4.21 where previously 2.4.1.
9589 * sysdeps/unix/sysv/linux/configure: Regenerated.
9590 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9591 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9592 Linux kernel version.
9593 (__ASSUME_STD_AUXV): Remove.
9594 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9596 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9597 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9598 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9599 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9600 (__ASSUME_NETLINK_SUPPORT): Likewise.
9601 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9602 (__no_netlink_support): Remove conditional definition.
9603 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9605 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9606 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9607 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9608 (if_nameindex_ioctl): Remove.
9609 (if_nameindex_netlink): Do not handle __no_netlink_support.
9610 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9612 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9613 Remove conditional code.
9614 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9616 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9618 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9619 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9620 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9622 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9623 [!__ASSUME_STD_AUXV]: Remove conditional code.
9624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9625 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9626 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9628 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9629 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9631 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9633 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9634 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9636 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9638 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9641 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9644 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9646 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9648 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9650 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9653 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9655 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9658 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9660 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9662 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9664 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9667 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9669 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9671 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9673 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9676 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9678 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9679 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9680 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9681 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9682 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9683 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9684 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9685 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9686 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9687 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9688 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9689 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9690 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9691 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9692 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9693 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9694 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9695 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9696 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9697 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9698 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9699 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9700 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9702 2012-07-25 Florian Weimer <fweimer@redhat.com>
9704 * Versions.def: Add GLIBC_2.17.
9705 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9706 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9707 Introduce __libc_secure_getenv.
9708 * stdlib/Versions (2.17): Add secure_getenv
9709 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9710 * stdlib/secure-getenv.c: Rename __secure_getenv to
9711 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9712 symbol __secure_getenv for GLIBC_2.0.
9713 * stdlib/tst-secure-getenv.c: New.
9714 * stdlib/Makefile (tests): Add testcase.
9715 * manual/startup.texi (Environment Access): Document
9717 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9718 __libc_secure_getenv.
9719 * inet/ruserpass.c (ruserpass): Likewise.
9720 * malloc/mtrace.c (mtrace): Likewise.
9721 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9722 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9723 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9724 * sysdeps/posix/tempname.c: Likewise. Evaluate
9726 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9727 __secure_getenv to __libc_secure_getenv.
9728 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9735 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9741 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9743 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9744 (struct La_i86_retval): Likewise.
9745 (struct La_x86_64_regs): Likewise.
9746 (struct La_x86_64_retval): Likewise.
9747 (struct La_x32_regs): Likewise.
9748 (struct La_x32_retval): Likewise.
9749 (struct La_ppc32_regs): Likewise.
9750 (struct La_ppc32_retval): Likewise.
9751 (struct La_ppc64_regs): Likewise.
9752 (struct La_ppc64_retval): Likewise.
9753 (struct La_sh_regs): Likewise.
9754 (struct La_sh_retval): Likewise.
9755 (struct La_s390_32_regs): Likewise.
9756 (struct La_s390_32_retval): Likewise.
9757 (struct La_s390_64_regs): Likewise.
9758 (struct La_s390_64_retval): Likewise.
9759 (struct La_sparc32_regs): Likewise.
9760 (struct La_sparc32_retval): Likewise.
9761 (struct La_sparc64_regs): Likewise.
9762 (struct La_sparc64_retval): Likewise.
9763 (struct audit_ifaces): Remove architecture-specific pltenter and
9765 * sysdeps/i386/ldsodefs.h: New file.
9766 * sysdeps/powerpc/ldsodefs.h: Likewise.
9767 * sysdeps/s390/ldsodefs.h: Likewise.
9768 * sysdeps/sh/ldsodefs.h: Likewise.
9769 * sysdeps/sparc/ldsodefs.h: Likewise.
9770 * sysdeps/x86_64/ldsodefs.h: Likewise.
9772 2012-07-25 Marek Polacek <polacek@redhat.com>
9775 * math/libm-test.inc (yn_test): Add another test.
9776 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9777 to ERANGE when the result is +-Inf.
9778 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9779 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9780 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9781 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9783 2012-07-24 Joseph Myers <joseph@codesourcery.com>
9785 * conform/data/time.h-data (NULL): Use macro-constant. Require
9787 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9789 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9791 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9793 * configure.in <sysdeps resolving>: Correct printing
9795 * configure: Regenerate.
9797 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9799 * math/w_ilogb.c: Include <limits.h>.
9800 * math/w_ilogbl.c: Likewise.
9802 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9804 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9805 va_copy. Document allowing for unavailable va_copy only as
9806 pre-C99 compatibility.
9807 * manual/string.texi (Copying and Concatenation): Use va_copy
9808 instead of __va_copy in concat example.
9810 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9812 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9813 (__sendto): Use create_address_port. Initialize APORT and deallocate
9816 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9817 with O_NOLINK passed to __file_name_lookup.
9819 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9820 with O_NOLINK passed to __file_name_lookup.
9822 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9823 negative N or less than NGIDS.
9825 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9826 type to string_t. Set ERANGE as errno and return it if NAME is not big
9827 enough. Use memcpy instead of strncpy.
9829 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9831 * elf/Makefile (check-data): Remove.
9832 (localplt.data): New vpath directive.
9833 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9834 instead of $(check-data).
9835 * scripts/data/localplt-generic.data: Move to ...
9836 * sysdeps/generic/localplt.data: ... here.
9837 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9838 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9839 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9842 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9845 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9848 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9851 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9854 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9858 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9860 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9861 PPC32 and PPC64 files.
9862 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9863 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9865 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9867 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9868 __makecontext_ret to ...
9869 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9870 ... here and call exit if uc_link is NULL. New file.
9871 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9872 __makecontext_ret.S.
9873 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9874 __makecontext_ret to ...
9875 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9876 ... here and call exit if uc_link is NULL. New file.
9877 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9878 __makecontext_ret.S.
9880 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9882 * elf/elf.h (R_390_IRELATIVE): New definition.
9883 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9884 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9885 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9886 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9887 (elf_machine_lazy_rel): Likewise.
9888 * sysdeps/s390/dl-irel.h: New file.
9889 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9890 * sysdeps/s390/s390-64/memset.S: New asm code.
9891 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9892 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9893 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9894 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9895 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9896 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9897 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9898 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9899 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9900 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9901 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9902 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9903 * sysdeps/s390/s390-32/memset.S: New asm code.
9904 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9906 2012-07-17 Marek Polacek <polacek@redhat.com>
9909 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9910 * sysdeps/s390/s390-64/configure.in: Likewise.
9911 * sysdeps/sparc/configure.in: Likewise.
9912 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9913 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9914 * sysdeps/i386/configure.in: Likewise.
9915 * sysdeps/x86_64/configure.in: Likewise.
9916 * sysdeps/sh/configure.in: Likewise.
9917 * sysdeps/s390/s390-32/configure: Regenerated.
9918 * sysdeps/s390/s390-64/configure: Likewise.
9919 * sysdeps/x86_64/configure: Likewise.
9920 * sysdeps/sh/configure: Likewise.
9921 * sysdeps/powerpc/powerpc64/configure: Likewise.
9922 * sysdeps/powerpc/powerpc32/configure: Likewise.
9923 * sysdeps/sparc/configure: Likwise.
9924 * sysdeps/i386/configure: Likewise.
9926 * elf/dl-open.c: Comment fixes.
9928 2012-07-17 Joseph Myers <joseph@codesourcery.com>
9930 * Makefile [CXX] (check-data): Remove.
9931 [CXX] (c++-types.data): New vpath directive.
9932 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9933 vpath. Do not allow for C++ type data being missing.
9934 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9935 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9936 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9937 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9938 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9939 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9940 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9943 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9946 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9949 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9952 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9955 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9958 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9961 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9964 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9965 definitions to architecture-specific files.
9969 * sysdeps/i386/tls-macros.h: New file.
9970 * sysdeps/powerpc/tls-macros.h: Likewise.
9971 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9972 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9973 * sysdeps/sh/tls-macros.h: Likewise.
9974 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9975 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9976 * sysdeps/x86_64/tls-macros.h: Likewise.
9978 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9980 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9981 zero value for regular exit case.
9983 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9984 (__start_context): Preserve zero value for regular exit case.
9986 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9987 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9989 * manual/setjmp.texi (setcontext): Clarify normal process
9990 termination when uc_link is the null pointer.
9991 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9994 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9996 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9997 preprocessor. Test for each exception mask separately.
9999 2012-07-16 Andreas Jaeger <aj@suse.de>
10001 * po/ru.po: Update from translation team.
10003 2012-07-15 Joseph Myers <joseph@codesourcery.com>
10005 * conform/data/string.h-data (NULL): Use macro-constant. Require
10007 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10008 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10009 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10010 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10011 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10013 2012-07-13 Andreas Jaeger <aj@suse.de>
10015 * po/fr.po: Update from translation team.
10017 2012-07-12 Marek Polacek <polacek@redhat.com>
10020 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10021 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10024 2012-07-12 Joseph Myers <joseph@codesourcery.com>
10027 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10028 Change to 2.4.1 where previously 2.4.0.
10029 * sysdeps/unix/sysv/linux/configure: Regenerated.
10030 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10031 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10033 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10034 (__ASSUME_AT_CLKTCK): Remove.
10035 (__ASSUME_AT_PAGESIZE): Likewise.
10036 (__ASSUME_AT_XID): Likewise.
10037 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10038 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10039 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10041 (HAVE_AUX_PAGESIZE): Likewise.
10042 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10043 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10044 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10046 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10050 the temporary buffer used to invoke __gethostbyname2_r,
10051 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10052 host_data / struct gaih_addrtuple.
10053 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10054 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10055 header file nss/nsswitch.h.
10056 * nss/nsswitch.h (global scope): Add definition of implementation
10057 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10058 resolv/nss_dns/dns-host.c).
10060 2012-07-11 Andreas Jaeger <aj@suse.de>
10062 * po/fr.po: Update from translation team.
10064 * po/sv.po: Update from translation team
10065 * po/fr.po: Another update from translation team.
10067 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10069 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10070 for subnormals or multiply small sinh result by itself.
10071 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10074 2012-07-11 David S. Miller <davem@davemloft.net>
10076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10078 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10081 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10082 (INTERNAL_MARK): Shift it here.
10084 2012-07-10 Marek Polacek <polacek@redhat.com>
10087 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10088 libc_cv_asm_global_directive with .globl.
10089 * configure: Regenerated.
10090 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10092 * sysdeps/i386/configure: Regenerated.
10093 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10095 * sysdeps/x86_64/configure: Regenerated.
10096 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10097 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10098 * elf/tst-unique2mod2.c: Likewise.
10099 * elf/tst-unique2mod1.c: Likewise.
10100 * elf/tst-unique1mod2.c: Likewise.
10101 * elf/tst-unique1mod1.c: Likewise.
10102 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10103 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10104 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10105 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10106 * sysdeps/mach/sysdep.h: Likewise.
10107 * sysdeps/i386/sysdep.h: Likewise.
10108 * sysdeps/i386/i386-mcount.S: Likewise.
10109 * sysdeps/x86_64/_mcount.S: Likewise.
10110 * sysdeps/x86_64/sysdep.h: Likewise.
10111 * sysdeps/sh/_mcount.S: Likewise.
10112 * sysdeps/sh/sysdep.h: Likewise.
10113 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10114 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10115 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10116 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10117 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10118 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10119 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10120 * locale/localeinfo.h: Likewise.
10121 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10122 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10124 2012-07-09 Roland McGrath <roland@hack.frob.com>
10127 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10129 * manual/message.texi (The Uniforum approach): Likewise.
10130 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10131 (glibc iconv Implementation): Likewise.
10133 2012-07-09 Joseph Myers <joseph@codesourcery.com>
10136 * math/s_clog.c (__clog): Avoid scaling a value down where that
10137 could result in underflow.
10138 * math/s_clog10.c (__clog10): Likewise.
10139 * math/s_clog10f.c (__clog10f): Likewise.
10140 * math/s_clog10l.c (__clog10l): Likewise.
10141 * math/s_clogf.c (__clogf): Likewise.
10142 * math/s_clogl.c (__clogl): Likewise.
10143 * math/libm-test.inc (clog_test): Add more tests.
10144 (clog10_test): Likewise.
10145 * sysdeps/i386/fpu/libm-test-ulps: Update.
10146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10148 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10151 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10152 by 7 not 8 to examine high bit of fractional part.
10155 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10156 for call to __mcount_internal.
10157 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10158 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10159 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10161 2012-07-06 Joseph Myers <joseph@codesourcery.com>
10164 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10165 approximation for values within 0x1p-13f of an odd multiple of
10167 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10168 exception. Add more tests.
10169 * sysdeps/i386/fpu/libm-test-ulps: Update.
10172 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10173 inputs and return -1 for them. Do not check for +Inf in case not
10174 reachable for +Inf.
10175 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10176 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10177 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10178 and return -1 for them. Do not check for +Inf in case not
10179 reachable for +Inf.
10180 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10182 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10183 and return -1 for them. Do not check for +Inf in case not
10184 reachable for +Inf.
10185 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10186 spurious underflow.
10187 * sysdeps/i386/fpu/libm-test-ulps: Update.
10188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10190 2012-07-06 Mike Frysinger <vapier@gentoo.org>
10192 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10194 2012-07-05 Joseph Myers <joseph@codesourcery.com>
10198 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10199 could result in spurious underflow. Scale down values above
10200 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10201 * math/s_csqrtf.c (__csqrtf): Likewise.
10202 * math/s_csqrtl.c (__csqrtl): Likewise.
10203 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10204 spurious underflow.
10205 * sysdeps/i386/fpu/libm-test-ulps: Update.
10206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10208 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10210 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10212 * catgets/xopen-msg.awk: New file.
10213 * catgets/xopen-msg.sed: Removed.
10215 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10217 * intl/po2test.awk: New file.
10218 * intl/po2test.sed: Removed.
10220 2012-07-04 Joseph Myers <joseph@codesourcery.com>
10223 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10224 or multiply small sinh result by itself.
10225 * math/s_ctanf.c (__ctanf): Likewise.
10226 * math/s_ctanh.c (__ctanh): Likewise.
10227 * math/s_ctanhf.c (__ctanhf): Likewise.
10228 * math/s_ctanhl.c (__ctanhl): Likewise.
10229 * math/s_ctanl.c (__ctanl): Likewise.
10230 * math/libm-test.inc (ctan_test_tonearest): New function.
10231 (ctan_test_towardzero): Likewise.
10232 (ctan_test_downward): Likewise.
10233 (ctan_test_upward): Likewise.
10234 (ctanh_test_tonearest): Likewise.
10235 (ctanh_test_towardzero): Likewise.
10236 (ctanh_test_downward): Likewise.
10237 (ctanh_test_upward): Likewise.
10238 (main): Call these new functions.
10239 * sysdeps/i386/fpu/libm-test-ulps: Update.
10240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10242 2012-07-03 Mike Frysinger <vapier@gentoo.org>
10244 * .gitignore: Delete /ports entry.
10246 2012-07-03 Andreas Jaeger <aj@suse.de>
10248 * po/bg.po: Update from translation team.
10249 * po/cs.po: Likewise.
10250 * po/de.po: Likewise.
10251 * po/hr.po: Likewise.
10252 * po/nl.pl: Likewise.
10253 * po/pl.po: Likewise.
10254 * po/vi.po: Likewise.
10256 2012-07-03 Joseph Myers <joseph@codesourcery.com>
10258 * Makeconfig [!+link] (+link-before-libc): New variable.
10259 [!+link] (+link-after-libc): Likewise.
10260 [!+link] (+link-tests): Likewise.
10261 [!+link] (+link): Define in terms of $(+link-before-libc) and
10262 $(+link-after-libc).
10263 [!+link-static] (+link-static-before-libc): New variable.
10264 [!+link-static] (+link-static-after-libc): Likewise.
10265 [!+link-static] (+link-static-tests): Likewise.
10266 [!+link-static] (+link-static): Define in terms of
10267 $(+link-static-before-libc) and $(+link-static-after-libc).
10268 [build-shared] (link-libc-before-gnulib): New variable.
10269 [build-shared] (link-libc-tests): Likewise.
10270 [build-shared] (link-libc): Define in terms of
10271 $(link-libc-before-gnulib).
10272 [!build-shared] (link-libc-tests): New variable.
10273 (link-libc-static-tests): New variable.
10274 [!gnulib] (gnulib-arch): New variable.
10275 [!gnulib] (gnulib-tests): Likewise.
10276 [!gnulib] (static-gnulib-arch): Likewise.
10277 [!gnulib] (static-gnulib-tests): Likewise.
10278 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10279 Define with "=" instead of ":=".
10280 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10281 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10282 * Rules (binaries-all-notests): New variable.
10283 (binaries-all-tests): Likewise.
10284 (binaries-static-notests): Likewise.
10285 (binaries-static-tests): Likewise.
10286 (binaries-all): Define using $(binaries-all-notests) and
10287 $(binaries-all-tests).
10288 (binaries-static): Define using $(binaries-static-notests) and
10289 $(binaries-static-tests).
10290 (binaries-shared-tests): New variable.
10291 (binaries-shared-notests): Likewise.
10292 (binaries-shared): Remove variable.
10293 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10294 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10295 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10296 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10297 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10298 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10299 * elf/Makefile (sln-modules): New variable.
10300 (extra-objs): Add $(sln-modules:=.o).
10301 (ldconfig-modules): Add static-stubs.
10302 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10303 * elf/static-stubs.c: New file.
10306 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10307 by 7 not 8 to examine high bit of fractional part. Use volatile
10308 variables when splitting into final array of floats if
10309 __FLT_EVAL_METHOD__ != 0.
10310 * math/libm-test.inc (cos_test): Add another test.
10311 (sin_test): Likewise.
10312 * sysdeps/i386/fpu/libm-test-ulps: Update.
10315 * math/libm-test.inc (cosh_test): Add more tests.
10317 * version.h (RELEASE): Set to "development".
10318 (VERSION): Set to "2.16.90".
10320 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10322 * NEWS: Update copyright. Remove last-updated date.
10323 Mention math library bug fixes and timezone data changes.
10324 * README: Mention GNU/Hurd, x32, and HPPA support status.
10326 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10328 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10330 2012-06-27 Andreas Jaeger <aj@suse.de>
10332 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10334 2012-06-25 Andreas Jaeger <aj@suse.de>
10336 * sysdeps/s390/fpu/libm-test-ulps: Update.
10338 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10339 Thomas Schwinge <thomas@codesourcery.com>
10341 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10342 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10343 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10346 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10348 * sysdeps/mach/start.c: Remove file.
10349 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10350 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10351 * sysdeps/sh/init-first.c: Likewise.
10353 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10354 registers for frame unwinding purposes, add CFI directives.
10355 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10356 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10357 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10360 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10361 __fortify_fail returning.
10362 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10364 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10365 sysdeps/sh/____longjmp_chk.S.
10366 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10367 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10368 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10369 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10371 * sysdeps/sh/abort-instr.h: New file.
10372 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10373 process in case exit returns.
10375 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10376 initialize the GOT register before use.
10378 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10379 calculation of ARGC > 4.
10381 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10382 meaningful names to some local labels.
10384 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10385 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10387 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10388 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10389 (__arch_compare_and_exchange_val_16_acq): Likewise.
10390 (__arch_compare_and_exchange_val_32_acq): Likewise.
10391 (atomic_exchange_and_add): Fix gUSA sequence.
10392 (atomic_add): Likewise.
10393 (atomic_add_negative): Likewise.
10394 (atomic_add_zero): Likewise.
10395 (atomic_bit_test_set): Likewise.
10397 2012-06-22 Andreas Schwab <schwab@redhat.com>
10400 * include/link.h (struct link_map): Add l_free_initfini.
10401 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10403 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10404 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10405 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10408 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10410 * configure.in: Use AC_LANG_SOURCE.
10411 * configure: Regenerate.
10413 2012-06-22 Roland McGrath <roland@hack.frob.com>
10415 * configure.in (libc_cv_localstatedir): New substituted variable.
10416 * configure: Regenerated.
10417 * config.make.in (localstatedir): New variable, substituted from
10418 libc_cv_localstatedir.
10419 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10420 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10421 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10422 * sysdeps/gnu/configure: Regenerated.
10424 2012-06-21 Jeff Law <law@redhat.com>
10427 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10428 free. Simplify list management for _LIBC case.
10430 2012-06-21 Joseph Myers <joseph@codesourcery.com>
10433 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10434 Clear sign bit of 64-bit integer value before comparing against
10437 * sysdeps/mach/configure: Regenerated.
10439 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10442 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10444 2012-06-21 Jeff Law <law@redhat.com>
10447 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10448 uint16_t for elements in the "seen" array to avoid char overflows.
10449 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10450 * elf/dl-open.c (dl_open_worker): Likewise.
10452 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10454 * scripts/list-sources.sh: Scan PORTS for translations.
10455 * po/libc.pot: Regenerated.
10457 2012-06-21 Andreas Jaeger <aj@suse.de>
10460 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10462 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10463 * bits/byteswap-16.h (__bswap_16): Likewise.
10464 * bits/byteswap.h (__bswap_constant_16): Likewise.
10466 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10469 * sysdeps/i386/fpu_control.h: Removed.
10470 * sysdeps/x86_64/fpu_control.h: Moved to ...
10471 * sysdeps/x86/fpu_control.h: Here.
10473 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10474 (_FPU_SETCW): Likewise.
10476 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10479 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10480 * sysdeps/x86/fpu/bits/mathinline.h: This.
10481 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10485 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10486 functions if __x86_64__ is defined.
10488 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10490 * string/endian.h: Add !__ASSEMBLER__ condition for including
10491 conversion interfaces.
10493 2012-06-15 Joseph Myers <joseph@codesourcery.com>
10496 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10497 of ABS(x) in calculating zero to negative powers other than odd
10499 * math/libm-test.inc (pow_test): Add more tests.
10501 2012-06-15 Andreas Jaeger <aj@suse.de>
10503 * manual/contrib.texi (Contributors): Update entry of Liubov
10504 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10507 2012-06-15 Cyril Hrubis <metan@ucw.cz>
10509 * string/string.h: Add __wur to GNU version of strerror_r.
10511 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10514 * string/Makefile (tests): Add tst-strtok_r.
10515 * string/tst-strtok_r.c: New file.
10516 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10517 RAX_LP/RDX_LP on SAVE_PTR.
10519 2012-06-14 Roland McGrath <roland@hack.frob.com>
10521 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10523 2012-06-14 Joseph Myers <joseph@codesourcery.com>
10525 * libm_test.inc (csqrt_test): Allow more spurious underflow
10527 (j0_test): Likewise.
10528 (j1_test): Likewise.
10529 (y0_test): Likewise.
10530 (y1_test): Likewise.
10532 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10534 * po/Makefile (libc.pot): Use UTF-8 charset.
10536 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10539 Suppress sign-conversion warning from FD_SET.
10540 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10541 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10542 not unsigned long int.
10543 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10545 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10549 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10550 __extern_always_inline instead of __extern_inline.
10551 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10552 (__signbit): Likewise.
10553 (__signbitl): Support C++ namespace.
10554 (lrintf): New inline function.
10556 (llrintf): Likewise.
10557 (llrint): Likewise.
10567 (floorf): Likewise.
10568 (nearbyint): Likewise.
10569 (nearbyintf): Likewise.
10571 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10573 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10574 non-default versions.
10576 2012-06-11 Roland McGrath <roland@hack.frob.com>
10579 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10581 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10583 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10584 (FE_UPWARD, FE_DOWNWARD): Don't define.
10585 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10586 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10588 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10590 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10591 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10593 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10595 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10596 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10597 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10598 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10600 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10603 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10604 * sysdeps/i386/fpu/Implies: New file.
10605 * sysdeps/x86_64/fpu/Implies: Likewise.
10606 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10607 * sysdeps/x86/fpu/bits/fenv.h: This.
10609 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10612 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10615 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10616 character 0xffff that matches the last element of the
10619 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10621 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10624 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10626 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10627 values higher than 25.6283.
10629 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10631 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10632 subnormal exponent extraction and add some __builtin_expect.
10633 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10634 Fix for subnormal mantissa calculation.
10636 2012-06-04 Mike Frysinger <vapier@gentoo.org>
10638 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10639 cpu2 is -1 and errno is not ENOSYS.
10641 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10644 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10645 * sysdeps/x86/bits/string.h: This.
10646 * sysdeps/x86_64/bits/string.h: Removed.
10648 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10649 if not compiling for x86-64, but compiling for >= i486.
10651 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10652 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10654 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10655 New macro from Linux kernel 3.4.0.
10656 (FP_XSTATE_MAGIC2): Likewise.
10657 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10658 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10659 (struct _fpx_sw_bytes): New struct.
10660 (struct _xsave_hdr): Likewise.
10661 (struct _ymmh_state): Likewise.
10662 (struct _xstate): Likewise.
10664 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10665 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10666 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10667 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10668 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10669 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10671 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10672 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10673 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10674 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10675 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10676 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10678 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10681 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10682 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10683 (sysdep_headers): Include sys/platform/ppc.h.
10684 * sysdeps/powerpc/test-gettimebase.c: Test for
10685 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10686 * manual/Makefile (appendices): Include platform.texi.
10687 * manual/contrib.texi (Contributors): Update @node pointers.
10688 * manual/maint.texi (Maintenance): Likewise.
10689 (Platform): New node.
10690 * manual/platform.texi: New file. Document the new features.
10692 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10693 Jakub Jelinek <jakub@redhat.com>
10696 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10697 where __builtin_expect is unavailable.
10699 2012-06-03 David S. Miller <davem@davemloft.net>
10701 * stdlib/longlong.h: Updated from GCC.
10703 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10706 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10707 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10710 (GLIBC_2.16): Likewise.
10712 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10714 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10716 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10719 (default-abi): New variable.
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10721 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10723 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10725 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10727 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10730 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10731 definition. Document in comment.
10733 2012-06-01 David S. Miller <davem@davemloft.net>
10735 * stdlib/longlong.h: Updated from GCC.
10737 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10740 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10741 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10742 sys/debugreg.h sys/io.h here.
10743 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10744 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10746 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10747 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10748 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10749 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10750 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10751 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10753 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10754 Define only if __x86_64__ is defined.
10756 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10759 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10760 Use int64_t for variable i.
10761 * math/libm-test.inc (fmod_test): Add more tests.
10763 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10764 z computation is not scheduled after fetestexcept.
10765 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10766 Use math_force_eval instead of asm to ensure calculation scheduled
10767 before exception test.
10768 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10769 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10771 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10773 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10774 computation is not scheduled after fetestexcept.
10776 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10779 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10780 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10782 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10784 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10785 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10787 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10790 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10792 (__WCHAR_MIN): Support __WORDSIZE == 64.
10793 (__WCHAR_MAX): Likewise.
10795 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10796 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10799 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10800 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10803 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10804 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10806 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10807 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10809 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10810 Defined to 1 if __x86_64__ isn't defined.
10811 (_STAT_VER_LINUX_OLD): New.
10812 (st_atime): Remove duplicate.
10813 (st_mtime): Likewise.
10814 (st_ctime): Likewise.
10816 2012-05-31 David S. Miller <davem@davemloft.net>
10818 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10821 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10823 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10827 * elf/dl-reloc.c: Include <_itoa.h>.
10828 (_dl_reloc_bad_type): Remove use of INTUSE.
10829 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10830 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10831 * stdio-common/psiginfo.c (psiginfo): Likewise.
10832 * stdio-common/psignal.c (psignal): Likewise.
10833 * string/strsignal.c (strsignal): Likewise.
10834 * include/signal.h (_sys_siglist): Declare hidden proto.
10835 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10836 INTVARDEF with libc_hidden_data_def.
10837 * stdio-common/itoa-udigits.c: Likewise.
10838 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10839 (_itoa_lower_digits_internal): Remove declaration.
10840 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10841 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10842 (_sys_sigabbrev_internal): Remove aliases.
10843 (_sys_siglist): Define hidden alias.
10845 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10850 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10853 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10854 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10856 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10857 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10858 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10859 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10860 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10861 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10863 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10864 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10865 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10867 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10875 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10876 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10877 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10879 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10880 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10881 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10882 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10883 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10884 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10886 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10887 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10889 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10890 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10892 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10893 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10894 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10896 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10897 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10899 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10901 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10902 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10903 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10905 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10907 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10909 2012-05-31 Joseph Myers <joseph@codesourcery.com>
10911 * math/math.h (M_El): Use two more decimal places.
10912 (M_LOG2El): Likewise.
10913 (M_LOG10El): Likewise.
10914 (M_LN2l): Likewise.
10915 (M_LN10l): Likewise.
10917 (M_PI_2l): Likewise.
10918 (M_PI_4l): Likewise.
10919 (M_1_PIl): Likewise.
10920 (M_2_PIl): Likewise.
10921 (M_2_SQRTPIl): Likewise.
10922 (M_SQRT2l): Likewise.
10923 (M_SQRT1_2l): Likewise.
10925 2012-05-31 David S. Miller <davem@davemloft.net>
10927 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10928 values between float registers.
10929 * sysdeps/sparc/sparc64/memset.S: Likewise.
10930 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10932 2012-05-31 Mike Frysinger <vapier@gentoo.org>
10934 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10935 -D_FORTIFY_SOURCE=1.
10936 (CPPFLAGS-tst-longjmp_chk.c): Define.
10937 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10938 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10939 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10940 CFLAGS-tst-wchar-h.c.
10942 2012-05-31 Marek Polacek <polacek@redhat.com>
10945 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10946 __endmntent_internal): Remove declaration.
10947 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10948 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10949 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10951 2012-05-30 David S. Miller <davem@davemloft.net>
10953 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10954 (___Q_simulate_exceptions): Use real FP ops rather than writing
10956 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10959 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10962 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10963 * sysdeps/x86/bits/xtitypes.h: This.
10965 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10966 * sysdeps/x86/bits/wordsize.h: This.
10968 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10969 * sysdeps/x86/bits/huge_vall.h: This.
10971 * sysdeps/i386/bits/select.h: Removed.
10972 * sysdeps/x86_64/bits/select.h: Renamed to ...
10973 * sysdeps/x86/bits/select.h: This.
10975 * sysdeps/i386/bits/setjmp.h: Removed.
10976 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10977 * sysdeps/x86/bits/setjmp.h: This.
10979 * sysdeps/i386/bits/mathdef.h: Removed.
10980 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10981 * sysdeps/x86/bits/mathdef.h: This.
10983 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10986 * include/sys/socket.h (__connect_internal)
10987 (__libc_sa_len_internal): Remove declaration.
10988 (__connect, __libc_sa_len): Declare hidden_proto.
10989 (SA_LEN): Remove use of INTUSE.
10990 * socket/connect.c: Add libc_hidden_def.
10991 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10992 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10993 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10995 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10996 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10997 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10998 of adding _internal alias.
11000 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11003 * sysdeps/i386/bits/link.h: Removed.
11004 * sysdeps/i386/bits/linkmap.h: Likewise.
11005 * sysdeps/x86_64/bits/link.h: Renamed to ...
11006 * sysdeps/x86/bits/link.h: This.
11007 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11008 * sysdeps/x86/bits/linkmap.h: This.
11010 * sysdeps/i386/bits/endian.h: Removed.
11011 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11012 * sysdeps/x86/bits/endian.h: This.
11014 * sysdeps/i386/bits/byteswap.h: Removed.
11015 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11016 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11017 * sysdeps/x86/bits/byteswap.h: This.
11018 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11019 * sysdeps/x86/bits/byteswap-16.h: This.
11020 * sysdeps/i386/Implies: Add x86.
11021 * sysdeps/x86_64/Implies: Likewise.
11023 2012-05-30 David S. Miller <davem@davemloft.net>
11025 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11026 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11027 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11028 (FP_TRAPPING_EXCEPTIONS): Define.
11029 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11030 (FP_TRAPPING_EXCEPTIONS): Define.
11031 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11032 subnormals only when inexact has been signalled or underflow
11033 exceptions are enabled.
11034 (_FP_PACK_CANONICAL): Likewise.
11036 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11039 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11040 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11042 2012-05-30 Richard Henderson <rth@twiddle.net>
11044 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11045 with #ifndef NOT_IN_libc.
11047 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11048 marked to avoid plt entry.
11050 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11053 * Makeconfig (default-abi): New macro.
11054 (abi-includes): Likewise.
11055 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11056 $(abi-$(default-abi)-lib-soname) for soname if defined.
11057 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11059 * Makefile (installed-stubs): Likewise.
11060 * include/stubs-biarch.h: Removed.
11061 * scripts/lib-names.awk: Only handle one library at a time.
11062 * scripts/soversions.awk: Remove WORDSIZE support.
11063 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11065 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11067 (syscall-list-default-condition): Likewise.
11068 (syscall-list-default-condition): Likewise.
11069 (syscall-list-includes): Likewise.
11070 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11071 syscall-list-* with abi-*. Handle undefined abi-variants.
11072 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11073 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11074 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11075 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11076 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11077 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11079 (syscall-list-32-options): Likewise.
11080 (syscall-list-32-condition): Likewise.
11081 (syscall-list-64-options): Likewise.
11082 (syscall-list-64-condition): Likewise.
11083 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11085 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11088 (abi-64-ld-soname): New macro.
11089 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11090 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11093 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11094 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11096 2012-05-30 Joseph Myers <joseph@codesourcery.com>
11098 * sysdeps/unix/sysv/linux/kernel-features.h
11099 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11100 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11101 include <kernel-features.h>.
11102 [!__NR_ftruncate64]: Remove conditional code.
11103 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11104 [__NR_ftruncate64]: Make code unconditional.
11105 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11106 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11107 include <kernel-features.h>.
11108 [!__NR_ftruncate64]: Remove conditional code.
11109 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11110 [__NR_ftruncate64]: Make code unconditional.
11111 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11113 include <kernel-features.h>.
11114 [!__NR_ftruncate64]: Remove conditional code.
11115 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11116 [__NR_ftruncate64]: Make code unconditional.
11117 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11119 include <kernel-features.h>.
11120 [!__NR_ftruncate64]: Remove conditional code.
11121 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11122 [__NR_ftruncate64]: Make code unconditional.
11123 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11125 * configure.in (libc_cv_fpie): Weaken to a compile test using
11126 LIBC_TRY_CC_OPTION.
11127 * configure: Regenerated.
11129 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11144 2012-05-27 David S. Miller <davem@davemloft.net>
11146 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11148 (__Q_simulate_exceptions): Return void. Change to simulate
11149 exceptions by writing into the %fsr.
11150 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11151 (__Qp_handle_exceptions): Likewise.
11153 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11154 __Qp_handle_exceptions.
11155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11156 __Qp_handle_exceptions.
11157 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11158 as unused and give dummy FP_RND_NEAREST initializer.
11159 (FP_INHIBIT_RESULTS): Define.
11160 (___Q_simulate_exceptions): Update declaration.
11161 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11163 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11164 as unused and give dummy FP_RND_NEAREST initializer.
11165 (__Qp_handle_exceptions): Update declaration.
11166 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11169 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11171 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11172 the temporary FPU control word.
11173 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11174 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11175 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11176 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11177 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11178 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11179 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11180 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11181 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11182 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11183 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11185 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11187 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11190 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11192 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11193 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11194 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11195 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11197 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11198 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11201 2012-05-27 Ulrich Drepper <drepper@gmail.com>
11203 * po/h.po: Update from translation team.
11205 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11207 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11209 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11210 handling of denormals.
11211 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11212 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11213 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11214 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11215 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11216 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11217 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11220 2012-05-26 Marek Polacek <polacek@redhat.com>
11223 * math/libm-test.inc (fma_test): Don't always expect underflow
11226 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11229 * elf/tst-execstack.c: Include stackinfo.h.
11230 (do_test): Adjust test case to ensure that pthread_getattr_np
11231 behaviour remains the same after marking stack executable.
11233 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11235 * sysdeps/unix/sysv/linux/kernel-features.h
11236 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11237 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11239 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11240 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11241 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11243 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11244 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11246 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11248 * configure.in: Define the default includes to being none.
11249 * configure: Regenerated.
11251 2012-05-25 Roland McGrath <roland@hack.frob.com>
11253 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11254 * sysdeps/x86_64/setjmp.S: Likewise.
11255 * sysdeps/i386/bsd-setjmp.S: Likewise.
11256 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11257 * sysdeps/i386/setjmp.S: Likewise.
11258 * sysdeps/i386/__longjmp.S: Likewise.
11259 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11260 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11262 * include/stap-probe.h: New file.
11263 * configure.in: Handle --enable-systemtap.
11264 * configure: Regenerated.
11265 * config.h.in (USE_STAP_PROBE): New #undef.
11266 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11267 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11268 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11270 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11273 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11274 to 2.4.0 where earlier.
11275 * sysdeps/unix/sysv/linux/configure: Regenerated.
11276 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11277 <kernel-features.h>.
11278 [__ASSUME_32BITUIDS]: Make code unconditional.
11279 [!__ASSUME_32BITUIDS]: Remove conditional code.
11280 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11281 <kernel-features.h>.
11282 [__ASSUME_32BITUIDS]: Make code unconditional.
11283 [!__ASSUME_32BITUIDS]: Remove conditional code.
11284 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11285 [__ASSUME_32BITUIDS]: Make code unconditional.
11286 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11287 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11288 <kernel-features.h>.
11289 [__ASSUME_32BITUIDS]: Make code unconditional.
11290 [!__ASSUME_32BITUIDS]: Remove conditional code.
11291 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11292 <kernel-features.h>.
11293 [__ASSUME_32BITUIDS]: Make code unconditional.
11294 [!__ASSUME_32BITUIDS]: Remove conditional code.
11295 * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.c: Do not include
11304 <kernel-features.h>.
11305 [__ASSUME_32BITUIDS]: Make code unconditional.
11306 [!__ASSUME_32BITUIDS]: Remove conditional code.
11307 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11308 <kernel-features.h>.
11309 [__ASSUME_32BITUIDS]: Make code unconditional.
11310 [!__ASSUME_32BITUIDS]: Remove conditional code.
11311 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11312 <kernel-features.h>.
11313 [__ASSUME_32BITUIDS]: Make code unconditional.
11314 [!__ASSUME_32BITUIDS]: Remove conditional code.
11315 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11316 <kernel-features.h>.
11317 [__ASSUME_32BITUIDS]: Make code unconditional.
11318 [!__ASSUME_32BITUIDS]: Remove conditional code.
11319 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11320 <kernel-features.h>.
11321 [__ASSUME_32BITUIDS]: Make code unconditional.
11322 [!__ASSUME_32BITUIDS]: Remove conditional code.
11323 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11324 <kernel-features.h>.
11325 [__ASSUME_32BITUIDS]: Make code unconditional.
11326 [!__ASSUME_32BITUIDS]: Remove conditional code.
11327 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11328 <kernel-features.h>.
11329 [__NR_setresgid] (__setresgid): Do not declare.
11330 [__ASSUME_32BITUIDS]: Make code unconditional.
11331 [!__ASSUME_32BITUIDS]: Remove conditional code.
11332 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11333 <kernel-features.h>.
11334 [__NR_setresuid] (__setresuid): Do not declare.
11335 [__ASSUME_32BITUIDS]: Make code unconditional.
11336 [!__ASSUME_32BITUIDS]: Remove conditional code.
11337 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11338 <kernel-features.h>.
11339 [__ASSUME_32BITUIDS]: Make code unconditional.
11340 [!__ASSUME_32BITUIDS]: Remove conditional code.
11341 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11342 <kernel-features.h>.
11343 [__ASSUME_32BITUIDS]: Make code unconditional.
11344 [!__ASSUME_32BITUIDS]: Remove conditional code.
11345 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11346 <kernel-features.h>.
11347 [__ASSUME_32BITUIDS]: Make code unconditional.
11348 [!__ASSUME_32BITUIDS]: Remove conditional code.
11349 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11350 <kernel-features.h>.
11351 [__ASSUME_32BITUIDS]: Make code unconditional.
11352 [!__ASSUME_32BITUIDS]: Remove conditional code.
11353 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11354 <kernel-features.h>.
11355 [__ASSUME_32BITUIDS]: Make code unconditional.
11356 [!__ASSUME_32BITUIDS]: Remove conditional code.
11357 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11358 <kernel-features.h>.
11359 [__ASSUME_32BITUIDS]: Make code unconditional.
11360 [!__ASSUME_32BITUIDS]: Remove conditional code.
11361 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11362 <kernel-features.h>.
11363 [__ASSUME_32BITUIDS]: Make code unconditional.
11364 [!__ASSUME_32BITUIDS]: Remove conditional code.
11365 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11366 <kernel-features.h>.
11367 [__ASSUME_32BITUIDS]: Make code unconditional.
11368 [!__ASSUME_32BITUIDS]: Remove conditional code.
11369 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11370 <kernel-features.h>.
11371 [__ASSUME_32BITUIDS]: Make code unconditional.
11372 [!__ASSUME_32BITUIDS]: Remove conditional code.
11373 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11374 <kernel-features.h>.
11375 [__ASSUME_32BITUIDS]: Make code unconditional.
11376 [!__ASSUME_32BITUIDS]: Remove conditional code.
11377 * sysdeps/unix/sysv/linux/kernel-features.h
11378 (__ASSUME_SETRESUID_SYSCALL): Remove.
11379 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11380 (__ASSUME_32BITUIDS): Likewise.
11381 (__ASSUME_LDT_WORKS): Likewise.
11382 (__ASSUME_O_DIRECTORY): Likewise.
11383 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11384 architecture but not kernel version.
11385 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11386 (__ASSUME_MMAP2_SYSCALL): Likewise.
11387 (__ASSUME_STAT64_SYSCALL): Likewise.
11388 (__ASSUME_IPC64): Likewise.
11389 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11390 <kernel-features.h>.
11391 [__ASSUME_32BITUIDS]: Make code unconditional.
11392 [!__ASSUME_32BITUIDS]: Remove conditional code.
11393 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11394 <kernel-features.h>.
11395 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11396 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11397 132096]: Remove conditional code.
11398 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11399 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11400 <kernel-features.h>.
11401 [__ASSUME_32BITUIDS]: Make code unconditional.
11402 [!__ASSUME_32BITUIDS]: Remove conditional code.
11403 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11404 <kernel-features.h>.
11405 [__ASSUME_32BITUIDS]: Make code unconditional.
11406 [!__ASSUME_32BITUIDS]: Remove conditional code.
11407 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11408 <kernel-features.h>.
11409 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11411 (__setresgid): Do not declare.
11412 [__ASSUME_32BITUIDS]: Make code unconditional.
11413 [!__ASSUME_32BITUIDS]: Remove conditional code.
11414 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11415 <kernel-features.h>.
11416 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11418 (__setresuid): Do not declare.
11419 [__ASSUME_32BITUIDS]: Make code unconditional.
11420 [!__ASSUME_32BITUIDS]: Remove conditional code.
11421 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11422 <kernel-features.h>.
11423 [__ASSUME_32BITUIDS]: Make code unconditional.
11424 [!__ASSUME_32BITUIDS]: Remove conditional code.
11425 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11426 <kernel-features.h>.
11427 [__ASSUME_32BITUIDS]: Make code unconditional.
11428 [!__ASSUME_32BITUIDS]: Remove conditional code.
11430 2012-05-25 Richard Henderson <rth@twiddle.net>
11432 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11433 dl_hwcap to ifunc resolver.
11434 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11436 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11437 dl_hwcap to ifunc resolver.
11438 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11440 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11443 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11444 for |x| <= 2**-26, not 2**-57.
11445 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11448 2012-05-24 Jeff Law <law@redhat.com>
11450 * stdio-common/Makefile (tests): Add bug25.
11451 * stdio-common/bug25.c: New test.
11453 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11456 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11457 multiple of MALLOC_ALIGNMENT in size.
11458 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11460 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11462 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11464 (FILENAME_MAX): Use macro-int-constant.
11465 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11466 (_IOFBF): Use macro-int-constant.
11467 (_IOLBF): Likewise.
11468 (_IONBF): Likewise.
11469 (SEEK_CUR): Likewise.
11470 (SEEK_END): Likewise.
11471 (SEEK_SET): Likewise.
11472 (TMP_MAX): Likewise.
11473 (EOF): Use macro-int-constant. Require < 0.
11474 (NULL): Use macro-constant. Require == 0.
11475 (stdin): Require type to be FILE *.
11476 (stdout): Likewise.
11477 (stderr): Likewise.
11478 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11479 macro-int-constant.
11480 (EXIT_SUCCESS): Likewise.
11481 (NULL): Use macro-constant. Require == 0.
11482 (RAND_MAX): Use macro-int-constant.
11483 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11484 [C99-based standards] (strtof): Require function.
11485 [C99-based standards] (strtold): Likewise.
11486 [C99-based standards] (strtoll): Likewise.
11487 [C99-based standards] (strtoull): Likewise.
11488 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11489 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11490 [ISO || ISO99 || ISO11] (math.h): Likewise.
11491 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11492 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11493 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11495 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11498 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11499 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11500 * intl/dgettext.c (DCGETTEXT): Likewise.
11501 * intl/gettext.c (DCGETTEXT): Likewise.
11502 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11503 * posix/regex_internal.h (gettext): Likewise.
11504 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11505 Remove declaration.
11506 * include/argz.h (__argz_count_internal)
11507 (__argz_stringify_internal): Remove declaration.
11508 (__argz_count, __argz_stringify): Declare hidden proto.
11509 * intl/dcgettext.c: Remove use of INTDEF.
11510 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11511 * string/argz-stringify.c: Likewise.
11512 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11513 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11514 Declare hidden proto.
11515 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11516 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11517 Declare hidden proto.
11518 * include/stdio.h (__asprintf_internal): Don't declare.
11519 (__asprintf): Don't define as macro. Declare hidden proto.
11520 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11521 (__fsetlocking): Declare hidden proto.
11522 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11523 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11525 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11526 (_IO_setlinebuf): Remove use of INTUSE.
11527 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11528 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11529 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11530 Remove declaration.
11531 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11532 (_IO_do_flush): Remove use of INTUSE.
11533 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11534 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11535 (_IO_adjust_column, _IO_least_wmarker)
11536 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11537 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11538 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11539 (_IO_default_doallocate, _IO_wdefault_doallocate)
11540 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11541 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11542 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11543 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11544 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11545 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11546 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11547 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11548 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11549 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11550 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11551 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11552 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11554 (_IO_flush_all_internal, _IO_adjust_column_internal)
11555 (_IO_default_uflow_internal, _IO_default_finish_internal)
11556 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11557 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11558 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11559 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11560 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11561 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11562 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11563 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11564 (_IO_file_close_internal, _IO_file_close_it_internal)
11565 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11566 (_IO_file_init_internal, _IO_file_attach_internal)
11567 (_IO_file_fopen_internal, _IO_file_read_internal)
11568 (_IO_file_sync_internal, _IO_file_seek_internal)
11569 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11570 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11571 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11572 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11573 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11574 (_IO_list_all_internal, _IO_link_in_internal)
11575 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11576 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11577 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11578 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11579 (_IO_do_write_internal, _IO_padn_internal)
11580 (_IO_getline_info_internal, _IO_getline_internal)
11581 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11582 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11583 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11584 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11585 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11586 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11587 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11588 with libc_hidden_ver, remove use of INTUSE.
11589 * libio/genops.c: Likewise.
11590 * libio/freopen.c: Likewise.
11591 * libio/freopen64.c: Likewise.
11592 * libio/iofclose.c: Likewise.
11593 * libio/iofdopen.c: Likewise.
11594 * libio/iofflush.c: Likewise.
11595 * libio/iofflush_u.c: Likewise.
11596 * libio/iofgets.c: Likewise.
11597 * libio/iofgets_u.c: Likewise.
11598 * libio/iofopen.c: Likewise.
11599 * libio/iofopncook.c: Likewise.
11600 * libio/iofread.c: Likewise.
11601 * libio/iofread_u.c: Likewise.
11602 * libio/ioftell.c: Likewise.
11603 * libio/iofwrite.c: Likewise.
11604 * libio/iogetline.c: Likewise.
11605 * libio/iogets.c: Likewise.
11606 * libio/iogetwline.c: Likewise.
11607 * libio/iopadn.c: Likewise.
11608 * libio/iopopen.c: Likewise.
11609 * libio/ioseekoff.c: Likewise.
11610 * libio/ioseekpos.c: Likewise.
11611 * libio/iosetbuffer.c: Likewise.
11612 * libio/iosetvbuf.c: Likewise.
11613 * libio/ioungetc.c: Likewise.
11614 * libio/ioungetwc.c: Likewise.
11615 * libio/iovdprintf.c: Likewise.
11616 * libio/iovsprintf.c: Likewise.
11617 * libio/iovsscanf.c: Likewise.
11618 * libio/memstream.c: Likewise.
11619 * libio/obprintf.c: Likewise.
11620 * libio/oldfileops.c: Likewise.
11621 * libio/oldiofclose.c: Likewise.
11622 * libio/oldiofdopen.c: Likewise.
11623 * libio/oldiofopen.c: Likewise.
11624 * libio/oldiopopen.c: Likewise.
11625 * libio/oldstdfiles.c: Likewise.
11626 * libio/putc.c: Likewise.
11627 * libio/setbuf.c: Likewise.
11628 * libio/setlinebuf.c: Likewise.
11629 * libio/stdfiles.c: Likewise.
11630 * libio/strops.c: Likewise.
11631 * libio/vasprintf.c: Likewise.
11632 * libio/vscanf.c: Likewise.
11633 * libio/vsnprintf.c: Likewise.
11634 * libio/vswprintf.c: Likewise.
11635 * libio/wfiledoalloc.c: Likewise.
11636 * libio/wfileops.c: Likewise.
11637 * libio/wgenops.c: Likewise.
11638 * libio/wmemstream.c: Likewise.
11639 * libio/wstrops.c: Likewise.
11640 * libio/__fpurge.c: Likewise.
11641 * libio/__fsetlocking.c: Likewise.
11642 * assert/assert.c: Likewise.
11643 * debug/fgets_chk.c: Likewise.
11644 * debug/fgets_u_chk.c: Likewise.
11645 * debug/fread_chk.c: Likewise.
11646 * debug/fread_u_chk.c: Likewise.
11647 * debug/gets_chk.c: Likewise.
11648 * debug/obprintf_chk.c: Likewise.
11649 * debug/vasprintf_chk.c: Likewise.
11650 * debug/vdprintf_chk.c: Likewise.
11651 * debug/vsnprintf_chk.c: Likewise.
11652 * debug/vsprintf_chk.c: Likewise.
11653 * malloc/mtrace.c: Likewise.
11654 * misc/error.c: Likewise.
11655 * misc/syslog.c: Likewise.
11656 * stdio-common/asprintf.c: Likewise.
11657 * stdio-common/fxprintf.c: Likewise.
11658 * stdio-common/getw.c: Likewise.
11659 * stdio-common/isoc99_fscanf.c: Likewise.
11660 * stdio-common/isoc99_scanf.c: Likewise.
11661 * stdio-common/isoc99_vfscanf.c: Likewise.
11662 * stdio-common/isoc99_vscanf.c: Likewise.
11663 * stdio-common/isoc99_vsscanf.c: Likewise.
11664 * stdio-common/printf-prs.c: Likewise.
11665 * stdio-common/printf_fp.c: Likewise.
11666 * stdio-common/printf_fphex.c: Likewise.
11667 * stdio-common/printf_size.c: Likewise.
11668 * stdio-common/putw.c: Likewise.
11669 * stdio-common/scanf.c: Likewise.
11670 * stdio-common/sprintf.c: Likewise.
11671 * stdio-common/tmpfile.c: Likewise.
11672 * stdio-common/vfprintf.c: Likewise.
11673 * stdio-common/vfscanf.c: Likewise.
11674 * stdlib/strfmon_l.c: Likewise.
11675 * sunrpc/openchild.c: Likewise.
11676 * sunrpc/xdr_stdio.c: Likewise.
11677 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11678 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11680 2012-05-24 Roland McGrath <roland@hack.frob.com>
11682 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11684 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11685 in the third column, to generate for the shared library an IFUNC
11686 that uses _dl_vdso_vsym.
11687 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11688 * Makeconfig (object-suffixes-noshared): New variable.
11690 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11691 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11692 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11693 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11696 * include/sys/time.h (__gettimeofday): Remove macro.
11697 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11698 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11700 (__gettimeofday): Add libc_hidden_def.
11701 (gettimeofday): Add libc_hidden_weak.
11702 * sysdeps/mach/gettimeofday.c: Likewise.
11703 * sysdeps/posix/gettimeofday.c: Likewise.
11704 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11705 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11706 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11707 (__gettimeofday_internal): Remove strong_alias.
11708 (__gettimeofday): Add libc_hidden_def.
11709 (gettimeofday): Add libc_hidden_weak.
11710 * sysdeps/unix/syscalls.list (gettimeofday):
11711 Remove __gettimeofday_internal alias.
11713 2012-05-24 Daniel Jacobowitz <drow@false.org>
11714 H.J. Lu <hongjiu.lu@intel.com>
11717 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11718 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11719 (largebin_index_32_big): New.
11720 (largebin_index): Use it for 16-byte alignment.
11721 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11722 correction with front_misalign.
11724 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11752 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11753 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11755 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11759 * math/libm-test.inc (exp_test): Add test from bug 14036.
11760 (pow_test): Add test from bug 10846.
11762 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11764 (special_function): Do not include flags in test name.
11765 (parse_args): Likewise.
11766 * sysdeps/i386/fpu/libm-test-ulps: Update.
11767 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11768 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11769 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11772 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11774 * math/libm-test.inc ("Philosophy"): Update comment about
11776 (UNDERFLOW_EXCEPTION): New macro.
11777 (UNDERFLOW_EXCEPTION_OK): Likewise.
11778 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11779 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11780 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11781 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11782 (INVALID_EXCEPTION_OK): Update value.
11783 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11784 (OVERFLOW_EXCEPTION_OK): Likewise.
11785 (IGNORE_ZERO_INF_SIGN): Likewise.
11786 (test_exceptions): Handle underflow exceptions.
11787 (acos_test): Update for underflow exception expectations.
11788 (cexp_test): Likewise.
11789 (clog_test): Likewise.
11790 (clog10_test): Likewise.
11791 (csqrt_test): Likewise.
11792 (ctan_test): Likewise.
11793 (ctanh_test): Likewise.
11794 (exp_test): Likewise.
11795 (exp10_test): Likewise.
11796 (exp2_test): Likewise.
11797 (expm1_test): Likewise.
11798 (fma_test): Likewise.
11799 (j0_test): Likewise.
11800 (jn_test): Likewise.
11801 (nexttoward_test): Likewise.
11802 (pow_test): Likewise.
11803 (scalbn_test): Likewise.
11804 (scalbln_test): Likewise.
11805 (tan_test): Likewise.
11806 (y1_test): Likewise.
11807 * sysdeps/i386/fpu/libm-test-ulps: Update.
11808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11810 2012-05-23 David S. Miller <davem@davemloft.net>
11812 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11813 (__libc_sigaction): Remove unused local variables.
11815 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11817 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11819 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11821 mktime: avoid signed integer overflow
11822 * time/mktime.c (__mktime_internal): Do not mishandle the case
11823 where diff == INT_MIN.
11825 mktime: simplify computation of average
11826 * time/mktime.c (ranged_convert): Use new time_t_avg function
11827 instead of rolling our own (probably-slower) code.
11829 mktime: do not assume signed right shift propagates sign bit
11830 * time/mktime.c (isdst_differ): New static function.
11831 (__mktime_internal): No need to normalize tm_isdst now.
11832 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11835 mktime: merge another wrapv change from gnulib
11836 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11837 from some compilers.
11839 mktime: remove incorrect attempt at unusual arithmetics
11840 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11841 The code didn't really work on such machines anyway.
11842 (TYPE_MINIMUM): Assume two's complement.
11843 (twos_complement_arithmetic): Verify that long_int and time_t
11844 are two's complement (or unsigned, in the latter case).
11846 mktime: check signed shifts on long_int and time_t, too
11847 * time/mktime.c (SHR): Check that shifts work as desired
11848 on the types long_int and time_t too, as SHR is used on
11851 mktime: do not assume 'long' is wide enough
11852 * time/mktime.c (verify): Move decl up.
11853 (long_int): New type.
11854 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11855 to remove assumption in the code that 'long' is wide enough to
11856 store year values. This assumption is not true on x32 and on
11857 some non-glibc platforms.
11859 mktime: merge wrapv change from gnulib
11860 * time/mktime.c (WRAPV): New macro.
11861 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11862 (guess_time_tm, __mktime_internal): Do not assume that signed
11863 integer overflow wraps around; modern compilers generate code
11864 where this assumption is no longer valid.
11866 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11868 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11869 Replace "jmp L(pseudo_end)" with "ret".
11870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11873 2012-05-23 Andreas Jaeger <aj@suse.de>
11875 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11876 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11878 2012-05-23 Andreas Jaeger <aj@suse.de>
11879 Maximilian Attems <max@stro.at>
11881 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11884 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11886 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11887 code so that pseudo_end is just ret and the stack pointer is
11888 correct also for static library in error case.
11890 2012-05-23 Joseph Myers <joseph@codesourcery.com>
11892 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11893 move to syscalls.list.
11894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11899 * manual/install.texi (Running make install): Do not mention Linux
11900 kernel version for which pt_chown is not needed.
11901 (Linux): Do not mention problems with nscd with 2.0 kernels.
11902 * INSTALL: Regenerated.
11904 2012-05-23 Andreas Jaeger <aj@suse.de>
11906 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11907 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11909 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11910 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11911 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11912 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11913 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11914 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11915 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11916 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11917 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11918 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11919 * sysdeps/unix/sysv/linux/bits/in.h
11920 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11922 2012-05-22 Roland McGrath <roland@hack.frob.com>
11924 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11925 (PREPARE_VERSION): Just use assert instead, it will be elided
11926 under [NDEBUG] anyway.
11928 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11930 * sysdeps/unix/sysv/linux/Makefile: Include
11931 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11932 (sysdep_routines): Remove sysctl.
11933 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11934 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11935 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11936 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11937 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11939 2012-05-22 Andreas Jaeger <aj@suse.de>
11941 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11942 that pseudo_end is just ret and the stack pointer is correct also
11943 for static library in error case.
11945 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11948 * nss/nsswitch.c (defconfig_entries): New variable.
11949 (__nss_database_lookup): Don't leak defconfig entries.
11950 (nss_parse_service_list): Don't leak on error paths.
11951 (free_database_entries): New function.
11952 (free_defconfig): New function.
11953 (free_mem): Move common code to free_database_entries.
11955 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11957 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11959 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11961 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11962 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11965 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11966 (INTERNAL_SYSCALL_TYPES): Likewise.
11967 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11968 (LOAD_REGS_TYPES_[1-6]): Likewise.
11969 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11970 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11972 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11974 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11975 copysignl for GLIBC_2_0.
11976 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11977 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11978 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11979 logbl for GLIBC_2_0.
11980 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11981 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11983 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11985 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11986 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11988 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11991 * time/mktime.c: Update copyright years.
11993 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11995 mktime: merge comment-quoting-style change from gnulib
11996 * time/mktime.c: Quote 'like this' in comments.
11997 The GNU coding standards suggest that we no longer quote `like this',
11998 as "`" and "'" are typically rendered asymmetrically nowadays.
11999 The typical gnulib style is to quote 'like this' when quoting
12000 code, and "like this" when quoting English.
12002 * time/mktime.c (compile-command): Add "-I.".
12004 mktime: merge mktime-internal.h change from gnulib
12005 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12007 mktime: merge time_r change from gnulib
12008 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12010 mktime: merge DEBUG change from gnulib
12011 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12012 case system <time.h> has a #define.
12014 mktime: merge <sys/types.h> change from gnulib
12015 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12016 since <time.t> is now guaranteed to define time_t.
12018 mktime: merge HAVE_CONFIG_H change from gnulib
12019 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12021 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12023 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12026 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12028 (struct rusage): Use anonymous union to pad each field to
12031 2012-05-21 David S. Miller <davem@davemloft.net>
12033 * Makefules (o-iterator): Remove .s cases.
12034 (compile-command.s): Delete.
12035 (COMPILE.s): Delete.
12036 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12038 2012-05-21 Joseph Myers <joseph@codesourcery.com>
12040 * configure.in (libc_cv_predef_stack_protector): Only consider
12041 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12042 * configure: Regenerated.
12044 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12046 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12047 New macro. Use R*LP on int and pointer.
12048 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12049 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12050 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12051 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12053 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12054 [__WORDSIZE_TIME64_COMPAT32] instead of
12055 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12056 (struct utmp): Likewise.
12057 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12058 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12060 (__WORDSIZE_TIME64_COMPAT32): This.
12061 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12062 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12063 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12064 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12065 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12066 (__WORDSIZE_TIME64_COMPAT32): New macro.
12068 2012-05-21 Andreas Jaeger <aj@suse.de>
12070 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12071 only if [SHARED]. Add prototype for __wcschr_ia32.
12073 2012-05-21 Roland McGrath <roland@hack.frob.com>
12075 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12076 of %rbp unmolested in the jmp_buf while mangling the low bits.
12077 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12078 unmolested high bits of %rbp while demangling the low bits.
12079 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12081 2012-05-21 Andreas Jaeger <aj@suse.de>
12083 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12084 * sunrpc/svc_simple.c: Use it for registerrpc.
12085 * sunrpc/xcrypt.c: Use it for passwd2des.
12087 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12089 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12091 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12092 Don't define if [__SYSCALL_WORDSIZE != 32].
12093 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12096 2012-05-21 Bruno Haible <bruno@clisp.org>
12097 Andreas Jaeger <aj@suse.de>
12099 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12100 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12101 inptr and inend for must_buffer_ch.
12102 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12103 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12104 * stdio-common/Makefile (tests): Remove bug15.
12105 (bug15-ENV): Remove macro.
12106 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12109 2012-05-19 Andreas Jaeger <aj@suse.de>
12110 Roland McGrath <roland@hack.frob.com>
12112 * manual/contrib.texi: Completely rewritten. It contains now an
12113 alphabetical list of contributors and their contributions.
12115 2012-05-21 Richard Henderson <rth@twiddle.net>
12117 * misc/getauxval.c (__getauxval): Use unsigned long int.
12118 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12119 (getauxval): Use unsigned long int.
12121 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12123 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12125 2012-05-21 Roland McGrath <roland@hack.frob.com>
12127 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12128 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12129 __alignof__ (long double).
12131 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12135 2012-05-20 Richard Henderson <rth@twiddle.net>
12137 * misc/getauxval.c: New file.
12138 * misc/sys/auxv.h: New file.
12139 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12140 (routines): Add getauxval.
12141 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12142 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12143 * elf/dl-sysdep.c (_dl_auxv): Remove.
12144 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12145 * elf/dl-support.c (_dl_auxv): New variable.
12146 (_dl_aux_init): Initialize it.
12147 * manual/startup.texi (Auxiliary Vector): New node.
12148 * sysdeps/generic/bits/hwcap.h: New file.
12149 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12150 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12151 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12152 * sysdeps/sparc/sysdep.h: ... here. Include it.
12153 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12154 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12160 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12166 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12170 2012-05-19 David S. Miller <davem@davemloft.net>
12172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12174 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12177 * math/s_ccosh.c: Include <float.h>
12178 (__ccosh): Avoid internal overflow calculating sinh and cosh
12179 values before multiplying by sin and cos values.
12180 * math/s_ccoshf.c: Likewise.
12181 * math/s_ccoshl.c: Likewise.
12182 * math/s_csin.c: Likewise.
12183 * math/s_csinf.c: Likewise.
12184 * math/s_csinl.c: Likewise.
12185 * math/s_csinh.c: Likewise.
12186 * math/s_csinhf.c: Likewise.
12187 * math/s_csinhl.c: Likewise.
12188 * math/libm-test.inc (ccos_test): Add more tests.
12189 (ccosh_test): Likewise.
12190 (csin_test): Likewise.
12191 (csinh_test): Likewise.
12192 * sysdeps/i386/fpu/libm-test-ulps: Update.
12193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12195 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12197 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12198 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12200 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12202 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12204 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12205 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12206 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12207 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12208 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12209 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12210 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12211 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12212 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12213 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12214 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12215 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12216 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12217 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12218 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12219 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12220 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12221 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12222 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12223 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12224 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12225 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12226 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12227 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12228 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12229 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12230 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12231 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12232 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12233 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12234 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12236 2012-05-18 Andreas Jaeger <aj@suse.de>
12238 * csu/.gitignore: Delete.
12240 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12242 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12243 (timex): Use __syscall_slong_t.
12245 2012-05-18 Andreas Jaeger <aj@suse.de>
12246 Carlos O'Donell <carlos_odonell@mentor.com>
12248 * manual/install.texi (Configuring and compiling): Update
12249 description about files modified in the source directory.
12250 * INSTALL: Regenerated.
12252 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12254 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12255 value. Use "or" to set return value to -1.
12256 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12257 negate return value.
12259 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12261 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12262 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12263 failure if the compiler has Graphite support disabled.
12264 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12266 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12267 CFLAGS-memmove.c): Likewise.
12268 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12271 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12273 * sysdeps/x86_64/x32/_itoa.h: New file.
12275 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12276 getdents system call only if kernel and user dirents have the
12277 same d_ino and d_off.
12279 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12280 LLONG_MAX != LONG_MAX.
12281 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12282 (_fitoa_word): Likewise.
12284 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12286 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12287 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12288 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12290 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12291 include <bits/wordsize.h>. Check __x86_64__ instead of
12293 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12294 if __x86_64__ is defined. Use anonymous union on fpstate.
12296 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12299 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12301 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12302 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12303 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12304 Refer to _rtld_local_ro instead of _rtld_global_ro.
12305 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12307 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12309 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12311 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12312 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12313 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12315 * sysdeps/powerpc/powerpc32/dl-machine.c
12316 (__elf_machine_runtime_setup) [PROF]: Don't reference
12319 2012-05-18 Andreas Jaeger <aj@suse.de>
12321 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12322 function only available for GCCs before 3.4 since GCC 3.4
12323 introduced a builtin.
12325 (llrintf): Likewise.
12326 (llrint): Likewise.
12333 (nearbyint): Likewise.
12334 (nearbyintf): Likewise.
12338 (floorf): Likewise.
12340 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12342 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12343 on both fields and cast pointer to __syscall_ulong_t.
12345 * bits/types.h (__fsword_t): New type.
12346 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12347 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12348 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12349 (__FSWORD_T_TYPE): Likewise.
12350 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12351 (__FSWORD_T_TYPE): Likewise.
12352 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12353 (__FSWORD_T_TYPE): Likewise.
12354 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12355 (__FSWORD_T_TYPE): Likewise.
12356 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12357 __SWORD_TYPE with __fsword_t.
12358 (statfs64): Likewise.
12360 2012-05-17 David S. Miller <davem@davemloft.net>
12362 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12364 2012-05-17 Andreas Jaeger <aj@suse.de>
12366 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12369 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12371 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12373 2012-05-17 Andreas Jaeger <aj@suse.de>
12375 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12378 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12380 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12382 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12384 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12385 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12387 2012-05-17 Andreas Jaeger <aj@suse.de>
12388 Carlos O'Donell <carlos_odonell@mentor.com>
12391 * sysdeps/x86_64/multiarch/init-arch.h
12392 (bit_YMM_Usable): Rename to...
12393 (bit_AVX_Usable): ... this.
12394 (bit_FMA4_Usable): New macro.
12395 (bit_XMM_state): New macro.
12396 (bit_YMM_state): New macro.
12397 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12398 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12399 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12400 (CPUID_OSXSAVE): New macro.
12401 (CPUID_AVX): New macro.
12402 (CPUID_FMA4): New macro.
12403 (index_YMM_Usable): Rename to...
12404 (index_AVX_Usable): ... this.
12405 (HAS_AVX): Use HAS_ARCH_FEATURE.
12406 (HAS_FMA4): Likewise.
12407 (HAS_YMM_USABLE): Remove.
12408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12409 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12411 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12412 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12413 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12414 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12415 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12417 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12419 * math/libm-test.c: Support platforms without multiple rounding modes.
12420 * math/bug-nextafter.c: Support platforms without FP exceptions.
12421 * math/bug-nexttoward.c: Likewise.
12422 * math/test-fenv.c: Likewise.
12423 * math/test-misc.c: Likewise.
12424 * stdlib/bug-getcontext.c: Likewise.
12426 2012-05-17 Andreas Jaeger <aj@suse.de>
12428 * manual/examples/search.c (critter_cmp): Change signature to
12430 * manual/string.texi (Collation Functions): Likewise.
12432 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12434 * bits/types.h: Fold copyright years.
12435 * bits/typesizes.h: Likewise.
12436 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12437 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12438 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12439 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12440 * time/time.h: Likewise.
12442 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12445 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12446 in instead of returning them. Return void.
12447 (__libc_mallinfo): Accumulate over all arenas.
12448 (__malloc_stats): Adjust for change in int_mallinfo interface.
12450 2012-05-16 Roland McGrath <roland@hack.frob.com>
12453 * configure.in (NM): Add AC_CHECK_TOOL for it.
12454 (libc_extra_cflags): New substituted variable.
12455 Check for -fstack-protector being used implicitly.
12456 * configure: Regenerated.
12457 * config.make.in (config-extra-cflags): New variable,
12458 gets @libc_extra_cflags@.
12459 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12462 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12463 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12464 * configure: Regenerated.
12465 * config.make.in (CPPUNDEFS): New substituted variable.
12466 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12467 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12468 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12470 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12472 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12473 (mq_attr): Use __syscall_slong_t.
12475 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12477 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12478 Check __x86_64__ instead of __WORDSIZE.
12479 (_STAT_VER_LINUX): Likewise.
12480 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12481 __syscall_ulong_t and __syscall_slong_t.
12482 (stat64): Likewise.
12484 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12486 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12488 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12490 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12492 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12494 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12497 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12498 include <bits/wordsize.h>. Check __x86_64__ instead of
12500 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12502 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12504 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12505 include <bits/wordsize.h>. Check __x86_64__ instead of
12507 (user_regs_struct): Use "__extension__ unsigned long long"
12508 instead of "unsigned long" if __x86_64__ is defined.
12509 (user): Likewise. Pad after pointer field if __ILP32__ is
12512 2012-05-16 Joseph Myers <joseph@codesourcery.com>
12514 * configure.in (makeinfo): Require version 4.5 or later. Allow
12516 * configure: Regenerated.
12517 * manual/install.texi (texinfo): Increase version requirement to
12519 * INSTALL: Regenerated.
12521 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12523 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12525 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12527 * sysdeps/x86_64/x32/ffs.c: New file.
12529 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12531 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12532 defined. Use __syscall_ulong_t.
12533 (shminfo): Use __syscall_ulong_t.
12534 (shm_info): Likewise.
12536 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12539 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12541 (msgqnum_t): Use __syscall_ulong_t.
12542 (msglen_t): Likewise.
12543 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12546 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12547 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12549 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12551 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12552 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12554 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12557 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12558 include <bits/wordsize.h>. Check __x86_64__ instead of
12561 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12562 "unsigned long long int" if __x86_64__ is defined.
12563 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12565 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12566 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12567 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12569 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12571 (GET_PC): Cast to uintptr_t first.
12572 (GET_FRAME): Likewise.
12573 (GET_STACK): Likewise.
12575 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12576 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12577 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12578 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12579 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12580 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12581 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12582 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12583 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12584 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12585 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12586 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12587 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12588 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12589 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12590 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12591 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12592 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12593 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12594 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12595 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12596 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12597 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12598 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12599 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12600 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12601 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12602 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12603 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12605 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12607 * Makerules (+depfiles): Also collect depfiles from .oS in
12609 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12610 .oS, $(libnldbl-routines)).
12612 * Makerules (native-compile-mkdep-flags): Define.
12613 * sunrpc/Makefile (extra-objs): Add $(addprefix
12614 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12615 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12616 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12617 calling $(make-target-directory).
12619 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12621 * bits/types.h (__snseconds_t): Removed.
12622 * time/time.h (struct timespec): Replace __snseconds_t with
12624 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12625 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12627 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12628 (__SNSECONDS_T_TYPE): Likewise.
12629 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12630 (__SNSECONDS_T_TYPE): Likewise.
12631 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12632 (__SNSECONDS_T_TYPE): Likewise.
12634 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12636 * sysdeps/mach/hurd/bits/typesizes.h
12637 (__SYSCALL_SLONG_TYPE): New macro.
12638 (__SYSCALL_ULONG_TYPE): Likewise.
12640 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12642 * bits/types.h (__syscall_slong_t): New type.
12643 (__syscall_ulong_t): Likewise.
12645 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12646 (__SYSCALL_ULONG_TYPE): Likewise.
12647 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12648 (__SYSCALL_SLONG_TYPE): Likewise.
12649 (__SYSCALL_ULONG_TYPE): Likewise.
12650 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12651 (__SYSCALL_SLONG_TYPE): Likewise.
12652 (__SYSCALL_ULONG_TYPE): Likewise.
12653 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12654 (__SYSCALL_SLONG_TYPE): Likewise.
12655 (__SYSCALL_ULONG_TYPE): Likewise.
12657 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12659 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12660 Add sigaltstack-offsets.sym.
12661 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12662 <sigaltstack-offsets.h>.
12663 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12664 longjmp_msg pointer.
12665 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12666 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12668 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12670 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12672 * elf/stackguard-macros.h: Remove file.
12673 * sysdeps/generic/stackguard-macros.h: New file.
12674 * sysdeps/i386/stackguard-macros.h: Likewise.
12675 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12676 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12677 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12678 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12679 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12680 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12681 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12682 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12683 <elf/stackguard-macros.h>.
12686 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12687 __aligned__ in attribute.
12688 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12689 (gregset_t): Likewise.
12691 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12693 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12694 * sysdeps/x86_64/64/Implies-after: Here. New file.
12695 * sysdeps/x86_64/x32/Implies-after: New file.
12697 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12699 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12700 and access return value for _dl_profile_fixup. Use R10_LP to
12703 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12705 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12707 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12709 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12710 * sysdeps/x86_64/x32/sysdep.h: New file.
12712 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12714 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12715 * sysdeps/x86_64/setjmp.S: Likewise.
12717 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12719 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12720 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12721 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12722 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12723 remove unused global constant.
12725 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12727 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12728 include of <not-cancel.h>.
12730 2012-05-15 Roland McGrath <roland@hack.frob.com>
12732 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12734 2012-05-15 Jeff Law <law@redhat.com>
12735 Andreas Jaeger <aj@suse.de>
12738 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12740 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12741 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12742 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12743 code changing __hst_map_handle.map.
12745 2012-05-15 Roland McGrath <roland@hack.frob.com>
12747 * configure.in (sysnames): Look for Implies-before and Implies-after
12749 * configure: Regenerated.
12751 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12753 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12754 8-byte data alignment with LP_SIZE alignment.
12756 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12758 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12761 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12763 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12765 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12767 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12768 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12769 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12771 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12773 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12775 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12776 (stackinfo_sub_sp): Likewise.
12778 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12780 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12783 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12785 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12788 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12790 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12793 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12795 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12797 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12799 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12800 into R11_LP and load __x86_64_shared_cache_size_half into
12803 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12805 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12808 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12810 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12812 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12814 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12816 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12817 powerpc32/power7/fpu/s_logb.c via #include.
12818 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12819 powerpc32/power7/fpu/s_logbf.c via #include.
12820 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12821 powerpc32/power7/fpu/s_logbl.c via #include.
12823 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12825 * README.libm: Remove file.
12827 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12829 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12830 count for x32. Use R*_LP and omit operand-size suffix.
12832 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12834 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12835 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12836 * sysdeps/x86_64/x32/shlib-versions: New file.
12838 2012-05-14 Roland McGrath <roland@hack.frob.com>
12840 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12841 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12842 Use _dl_fatal_printf instead.
12844 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12846 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12847 set if not set by the user. Do not allow for being unset.
12848 * sysdeps/unix/sysv/linux/configure: Regenerated.
12850 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12852 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12853 the `q' suffix from lea and replace .quad with ASM_ADDR.
12855 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12857 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12858 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12860 (PTR_DEMANGLE): Likewise.
12862 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12864 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12866 (ASM_ADDR): Likewise.
12867 (RAX_LP): Likewise.
12868 (RBP_LP): Likewise.
12869 (RBX_LP): Likewise.
12870 (RCX_LP): Likewise.
12871 (RDI_LP): Likewise.
12872 (RSI_LP): Likewise.
12873 (RSP_LP): Likewise.
12876 (R10_LP): Likewise.
12877 (R10_LP): Likewise.
12878 (R11_LP): Likewise.
12879 (R12_LP): Likewise.
12880 (R13_LP): Likewise.
12881 (R14_LP): Likewise.
12882 (R15_LP): Likewise.
12884 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12886 * sysdeps/x86_64/x32/dl-machine.h: New file.
12888 2012-05-14 Andreas Jaeger <aj@suse.de>
12890 * manual/Makefile (subdir): Remove export of subdir.
12891 (all): Remove target.
12892 (.PHONY): Remove all from list.
12893 (mkinstalldirs): Remove.
12894 (.PHONY): Remove installdirs from list.
12895 ($(inst_infodir)/libc.info): Use make-target-directory.
12896 (installdirs): Remove.
12897 (subdir_%): Remove.
12898 (glibc-targets): Remove.
12901 ($(objpfx)stubs ../po/manual.pot): Remove.
12902 ($(objpfx)stamp%): Remove.
12903 (make-target-directory): Remove.
12904 (subdir_install): Remove.
12905 (routines): Remove.
12912 * manual/.gitignore: Remove, it's not needed anymore.
12913 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12915 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12917 (texis): Renamed to $(objpfx)texis.
12918 (texis-path): New, contains path to generated files.
12919 (chapters.%): Use texis-path for complete path, add extra argument
12921 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12922 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12923 (summary,texi, stamp-summary): Use complete path of
12924 files. Generate files in build dir.
12925 (dir-add.texi): Build in build dir.
12926 (libm-err.texi,stamp-libm-err): Likewise.
12927 (version.texi, stamp-version): Likewise.
12928 (.%c.texi): Likewise.
12929 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12930 (mostlyclean): Remove target.
12931 (realclean): Remove target.
12932 (generated): Add new variable with contents from mostlyclean and
12933 realclean, remove entries duplicated in common-mostlyclean, add
12934 stamp-libm-err and stamp-version.
12935 (generated-dirs): Add libc directory.
12936 ($(inst_infodir)/libc.info): Install files from build dir.
12938 * manual/install.texi (Configuring and compiling): Adjust since
12939 the info files are not part of the tar ball anymore.
12941 2012-05-14 Andreas Jaeger <aj@suse.de>
12943 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12946 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12949 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12950 to 2.2.0 where earlier.
12951 * sysdeps/unix/sysv/linux/configure: Regenerated.
12952 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12953 Remove conditional code.
12954 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12955 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12956 Remove conditional code.
12957 [!__NR_lchown]: Likewise.
12958 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12959 [__NR_lchown]: Likewise.
12960 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12961 comment referencing __ASSUME_LCHOWN_SYSCALL.
12962 * sysdeps/unix/sysv/linux/i386/sigaction.c
12963 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12964 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12965 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12966 Remove conditional code.
12967 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12968 (__protocol_available): Remove #if 0 code.
12969 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12971 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12972 * sysdeps/unix/sysv/linux/kernel-features.h
12973 (__ASSUME_GETCWD_SYSCALL): Don't define.
12974 (__ASSUME_REALTIME_SIGNALS): Likewise.
12975 (__ASSUME_PREAD_SYSCALL): Likewise.
12976 (__ASSUME_PWRITE_SYSCALL): Likewise.
12977 (__ASSUME_POLL_SYSCALL): Likewise.
12978 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12979 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12981 (__ASSUME_SIOCGIFNAME): Don't define.
12982 (__ASSUME_MSG_NOSIGNAL): Likewise.
12983 (__ASSUME_SENDFILE): Define unconditionally.
12984 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12985 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12987 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12988 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12989 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12990 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12991 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12992 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12993 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12995 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12996 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12998 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12999 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13001 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13002 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13004 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13005 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13007 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13008 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13010 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13011 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13013 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13014 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13016 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13017 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13018 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13019 Remove conditional code.
13020 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13021 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13022 Remove conditional code.
13023 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13024 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13025 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13026 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13027 Remove conditional code.
13028 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13029 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13030 Remove conditional code.
13031 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13032 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13033 Remove conditional code.
13034 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13035 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13036 Remove conditional code.
13037 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13038 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13039 Remove conditional code.
13040 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13041 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13042 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13043 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13044 * sysdeps/unix/sysv/linux/sigaction.c
13045 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13046 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13047 * sysdeps/unix/sysv/linux/sigpending.c
13048 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13049 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13050 * sysdeps/unix/sysv/linux/sigprocmask.c
13051 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13052 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13053 * sysdeps/unix/sysv/linux/sigsuspend.c
13054 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13055 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13056 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13057 (__libc_missing_rt_sigs): Remove.
13058 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13059 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13060 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13061 Remove conditional code.
13062 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13063 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13065 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13066 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13067 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13068 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13070 2012-05-14 Andreas Jaeger <aj@suse.de>
13072 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13073 it's not used in glibc.
13074 (__coshm1): Likewise.
13075 (__acosh1p): Likewise.
13078 * manual/string.texi (Copying and Concatenation): Add missing
13079 variable in concat example.
13080 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13082 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13085 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13086 __builtin_clzl with __builtin_clzll.
13088 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13091 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13094 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13096 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13097 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13098 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13099 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13101 2012-05-14 Mike Frysinger <vapier@gentoo.org>
13103 * NEWS: Update ia64 info.
13105 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13107 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13110 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13112 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13113 * sysdeps/unix/syscalls.list (dup3): Likewise.
13114 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13115 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13117 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13119 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13120 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13122 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13124 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13126 (TLS_IE): Use mov/add instead of movq/addq to load thread
13128 (TLS_GD_PREFIX): New.
13131 2012-05-11 David S. Miller <davem@davemloft.net>
13133 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13134 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13135 (_FPU_SETCW): Likewise.
13137 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13139 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13140 is 32-byte aligned.
13142 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13145 * iconvdata/gb18030.c: Update tables.
13146 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13147 characters specially.
13148 (BODY for TO_LOOP): Add encoding of missing ranges.
13150 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13153 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13154 * sysdeps/mach/hurd/dup3.c: Likewise.
13155 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13156 * sysdeps/powerpc/memmove.c:: Likewise.
13158 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13160 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13161 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13163 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13165 * elf/elf.h (R_X86_64_RELATIVE64): New.
13166 (R_X86_64_NUM): Updated.
13167 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13168 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13169 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13170 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13171 tst-quad1pie tst-quad2pie
13172 (modules-names): Add tst-quadmod1 tst-quadmod2.
13173 ($(objpfx)tst-quad1): New dependency.
13174 ($(objpfx)tst-quad2): Likewise.
13175 ($(objpfx)tst-quad1pie): Likewise.
13176 ($(objpfx)tst-quad2pie): Likewise.
13177 * sysdeps/x86_64/tst-quad1.c: New file.
13178 * sysdeps/x86_64/tst-quad1pie.c: New file.
13179 * sysdeps/x86_64/tst-quad2.c: Likewise.
13180 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13181 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13182 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13183 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13184 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13186 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13188 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13189 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13190 * streams/stropts.h (t_scalar_t): Define type.
13192 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13193 (_PATH_PRESERVE): Set to "/var/lib".
13194 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13196 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13199 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13200 if __dir_mkfile succeeded.
13202 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13203 checking for _hurd_dtablesize. Unlock it right after having
13204 finished _hurd_dtable allocation.
13206 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13208 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13209 * sysdeps/mach/hurd/configure: Regenerated.
13210 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13211 special-casing to...
13212 * sysdeps/gnu/configure.in: ... this new file.
13213 * sysdeps/unix/sysv/linux/configure: Regenerated.
13214 * sysdeps/gnu/configure: New generated file.
13216 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13217 for Linux: use nsec instead of usec, as well as:
13218 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13219 members of type struct timespec.
13220 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13222 (struct stat64): Likewise.
13223 (_STATBUF_ST_NSEC): New macro.
13224 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13226 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13227 __strtoul_internal rather than strtoul.
13229 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13231 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13234 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13236 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13237 which preserves existing values.
13238 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13240 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13242 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13243 TIMEOUT values. Return EINVAL for NFDS values either negative or
13244 greater than FD_SETSIZE.
13246 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13248 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13249 allocated, call __vm_protect to finish enabling the existing space, and
13250 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13251 allocate the remainder.
13253 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13255 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13256 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13258 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13260 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13261 sysdeps/mach/hurd/readlink.c.
13263 * posix/tst-sysconf.c (posix_options): Only use
13264 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13265 _POSIX_SYNCHRONIZED_IO when they are defined
13266 * sysdeps/mach/hurd/bits/posix_opt.h:
13267 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13268 (_XOPEN_REALTIME): Undefine macro.
13269 (_XOPEN_REALTIME_THREADS): Undefine macro.
13270 (_XOPEN_SHM): Undefine macro.
13271 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13273 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13275 (_POSIX_ASYNC_IO): Undefine macro.
13276 (_POSIX_PRIORITIZED_IO): Undefine macro.
13277 (_POSIX_SPIN_LOCKS): Define macro to -1.
13279 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13280 SA_NODEFER, SA_RESETHAND.
13281 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13282 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13285 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13287 * elf/Makefile (pldd-modules): Define unconditionally.
13289 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13291 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13293 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13295 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13296 Return ENOENT when name is empty.
13297 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13299 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13301 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13303 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13305 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13307 Fix mlock in all cases except non-readable pages.
13308 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13309 instead of VM_PROT_ALL as parameter to __vm_wire function.
13311 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13312 (__mkdir): When path is `/', just fail with EEXIST.
13313 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13315 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13317 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13318 <sys/uio.h> (for writev).
13319 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13320 and <sys/param.h> (for MIN).
13322 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13324 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13325 REQUESTED_TIME. Properly set the remaining time and return EINTR
13328 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13330 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13331 Depend on against $(link-rpcuserlibs).
13333 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13335 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13336 (__libc_stack_end): Do not use attribute_relro.
13337 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13338 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13339 to libthread-provided value.
13340 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13343 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13346 * bits/libc-lock.h (__libc_once_get): New macro.
13347 * sysdeps/mach/bits/libc-lock.h: Likewise.
13348 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13349 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13350 instead of using implementation details.
13352 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13353 * libio/freopen.c: Likewise.
13354 * libio/freopen64.c: Likewise.
13355 * misc/syslog.c: Likewise.
13356 * nscd/connections.c: Likewise.
13357 * nscd/netgroupcache.c: Likewise.
13358 * sysdeps/posix/getcwd.c: Likewise.
13360 2012-05-10 Roland McGrath <roland@hack.frob.com>
13362 * math/w_ilogbf.c: Add #include <limits.h>.
13364 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13366 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13367 path instead of returning without unlocking.
13369 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13370 immediate-write ioctls.
13371 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13373 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13375 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13376 __builtin_frame_address instead of making assumptions about the
13377 location of the return address relative to DATA. Force early load of
13378 the return address.
13379 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13380 __builtin_frame_address.
13383 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13384 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13385 implement dup3 and do some further code clean-ups.
13386 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13387 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13389 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13391 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13393 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13394 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13395 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13396 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13397 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13400 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13401 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13402 when handler == SIG_ERR, not when handler != SIG_ERR.
13404 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13406 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13407 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13410 accept4 for GNU Hurd.
13411 * include/sys/socket.h (__libc_accept4): New prototype.
13412 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13413 to implement __libc_accept4.
13414 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13416 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13418 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13419 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13420 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13421 signal-defines.sym.
13423 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13425 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13427 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13429 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13430 assertion on O_CLOEXEC flag.
13431 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13432 * hurd/intern-fd.c: Likewise.
13433 * hurd/port2fd.c: Likewise.
13435 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13438 * bits/in.h (IPV6_PKTINFO): Define new macro.
13439 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13441 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13446 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13447 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13448 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13449 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13450 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13451 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13452 * math/libm-test.inc (logb_test) : Additional logb tests.
13454 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13455 Andreas Jaeger <aj@suse.de>
13457 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13458 * configure: Regenerated.
13459 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13460 * config.make.in (link-obsolete-rpc): New substituted variable.
13461 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13462 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13463 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13464 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13465 so that libc.a contains the symbols.
13466 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13467 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13468 * sunrpc/auth_none.c: Likewise.
13469 * sunrpc/auth_unix.c: Likewise.
13470 * sunrpc/authdes_prot.c: Likewise.
13471 * sunrpc/authuxprot.c: Likewise.
13472 * sunrpc/clnt_gen.c: Likewise.
13473 * sunrpc/clnt_perr.c: Likewise.
13474 * sunrpc/clnt_raw.c: Likewise.
13475 * sunrpc/clnt_simp.c: Likewise.
13476 * sunrpc/clnt_tcp.c: Likewise.
13477 * sunrpc/clnt_udp.c: Likewise.
13478 * sunrpc/clnt_unix.c: Likewise.
13479 * sunrpc/des_crypt.c: Likewise.
13480 * sunrpc/des_soft.c: Likewise.
13481 * sunrpc/get_myaddr.c: Likewise.
13482 * sunrpc/key_call.c: Likewise.
13483 * sunrpc/key_prot.c: Likewise.
13484 * sunrpc/netname.c: Likewise.
13485 * sunrpc/pm_getmaps.c: Likewise.
13486 * sunrpc/pm_getport.c: Likewise.
13487 * sunrpc/pmap_clnt.c: Likewise.
13488 * sunrpc/pmap_prot.c: Likewise.
13489 * sunrpc/pmap_prot2.c: Likewise.
13490 * sunrpc/pmap_rmt.c: Likewise.
13491 * sunrpc/publickey.c: Likewise.
13492 * sunrpc/rpc_cmsg.c: Likewise.
13493 * sunrpc/rpc_common.c: Likewise.
13494 * sunrpc/rpc_dtable.c: Likewise.
13495 * sunrpc/rpc_prot.c: Likewise.
13496 * sunrpc/rpc_thread.c: Likewise.
13497 * sunrpc/rtime.c: Likewise.
13498 * sunrpc/svc.c: Likewise.
13499 * sunrpc/svc_auth.c: Likewise.
13500 * sunrpc/svc_raw.c: Likewise.
13501 * sunrpc/svc_run.c: Likewise.
13502 * sunrpc/svc_tcp.c: Likewise.
13503 * sunrpc/svc_udp.c: Likewise.
13504 * sunrpc/svc_unix.c: Likewise.
13505 * sunrpc/svcauth_des.c: Likewise.
13506 * sunrpc/xcrypt.c: Likewise.
13507 * sunrpc/xdr.c: Likewise.
13508 * sunrpc/xdr_array.c: Likewise.
13509 * sunrpc/xdr_float.c: Likewise.
13510 * sunrpc/xdr_intXX_t.c: Likewise.
13511 * sunrpc/xdr_mem.c: Likewise.
13512 * sunrpc/xdr_rec.c: Likewise.
13513 * sunrpc/xdr_ref.c: Likewise.
13514 * sunrpc/xdr_sizeof.c: Likewise.
13515 * sunrpc/xdr_stdio.c: Likewise.
13517 2012-05-10 Roland McGrath <roland@hack.frob.com>
13519 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13520 change. Update copyright years.
13522 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13524 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13526 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13527 Joseph Myers <joseph@codesourcery.com>
13528 Paul Pluzhnikov <ppluzhnikov@google.com>
13531 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13533 [cross-compiling] (extra-libs): Likewise.
13534 [cross-compiling] (extra-libs-others): Likewise.
13535 [cross-compiling] (librpcsvc-routines): Likewise.
13536 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13537 [cross-compiling] (omit-deps): Likewise.
13538 (sunrpc-CPPFLAGS): New variable.
13539 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13540 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13541 (cross-rpcgen-objs): New variable.
13542 (extra-objs): Append $(cross-rpcgen-objs).
13543 ($(cross-rpcgen-objs)): New rule.
13544 ($(objpfx)cross-rpcgen): Likewise.
13545 (rpcgen-cmd): Define to use $(built-program-file). Expand
13547 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13548 ($(objpfx)x%.stmp): Likewise.
13549 * sunrpc/proto.h [IS_IN_build] (_): Define.
13550 [IS_IN_build] (_libc_intl_domainname): Likewise.
13552 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13554 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13555 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13556 and R_X86_64_TPOFF64.
13558 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13560 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13561 sysdeps/unix/sysv/syscalls.list.
13564 * sysdeps/unix/sysv/syscalls.list: Remove file.
13566 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13569 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13570 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13571 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13572 (__LC_IDENTIFICATION): Make these macros useful in #if
13573 expressions, as required by C99.
13575 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13577 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13578 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13581 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13583 * stdlib/longlong.h: Updated from GCC.
13585 2012-05-09 Andreas Jaeger <aj@suse.de>
13587 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13588 default is first entry.
13589 (run_mode): Set type.
13590 (main): Remove informal message about syslog.
13591 (options): Fix typo.
13594 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13597 (llrintf): Likewise.
13598 (llrint): Likewise.
13601 (nearbyint): Likewise.
13602 (nearbyintf): Likewise.
13604 2012-05-09 Andreas Jaeger <aj@suse.de>
13605 Pedro Alves <palves@redhat.com>
13607 * nscd/nscd.c (run_mode): Use enum.
13608 (main): Cleanup coding style issue.
13610 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
13611 Andreas Jaeger <aj@suse.de>
13613 * nscd/nscd.c (go_background): Replaced with...
13614 (run_mode): ... this.
13615 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13616 (options): Add -F --foreground.
13617 (main): Implement it.
13618 (parse_opt): Parse it.
13620 2012-05-09 Andreas Jaeger <aj@suse.de>
13623 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13624 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13625 -Wconversion warning.
13626 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13629 2012-05-09 Joseph Myers <joseph@codesourcery.com>
13631 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13633 (LC_ALL): Use macro-int-constant.
13634 (LC_COLLATE): Likewise.
13635 (LC_CTYPE): Likewise.
13636 (LC_MESSAGES): Likewise.
13637 (LC_MONETARY): Likewise.
13638 (LC_NUMERIC): Likewise.
13639 (LC_TIME): Likewise.
13640 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13641 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13642 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13643 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13645 [C99-based standards] (float_t): Expect type.
13646 [C99-based standards] (double_t): Expect type.
13647 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13649 [C99-based standards] (HUGE_VALL): Likewise.
13650 [C99-based standards] (INFINITY): Likewise.
13651 [C99-based standards] (NAN): Likewise.
13652 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13653 [C99-based standards] (FP_NAN): Likewise.
13654 [C99-based standards] (FP_NORMAL): Likewise.
13655 [C99-based standards] (FP_SUBNORMAL): Likewise.
13656 [C99-based standards] (FP_ZERO): Likewise.
13657 [C99-based standards] (FP_FAST_FMA): Use
13658 optional-macro-int-constant. Specify type. Require == 1.
13659 [C99-based standards] (FP_FAST_FMAF): Likewise.
13660 [C99-based standards] (FP_FAST_FMAL): Likewise.
13661 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13662 [C99-based standards] (FP_ILOGBNAN): Likewise.
13663 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13665 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13666 [C99-based standards] (math_errhandling): Specify type.
13667 [ISO99 || ISO11] (signgam): Do not allow.
13668 [non-C99-based standards] (copysignf): Do not allow.
13669 [non-C99-based standards] (exp2f): Likewise.
13670 [non-C99-based standards] (log2f): Likewise.
13671 [non-C99-based standards] (modff): Allow.
13672 [non-C99-based standards] (erff): Do not allow.
13673 [non-C99-based standards] (erfcf): Likewise.
13674 [non-C99-based standards] (gammaf): Likewise.
13675 [non-C99-based standards] (hypotf): Likewise.
13676 [non-C99-based standards] (j0f): Likewise.
13677 [non-C99-based standards] (j1f): Likewise.
13678 [non-C99-based standards] (jnf): Likewise.
13679 [non-C99-based standards] (lgammaf): Likewise.
13680 [non-C99-based standards] (tgammaf): Likewise.
13681 [non-C99-based standards] (y0f): Likewise.
13682 [non-C99-based standards] (y1f): Likewise.
13683 [non-C99-based standards] (ynf): Likewise.
13684 [non-C99-based standards] (isnanf): Likewise.
13685 [non-C99-based standards] (acoshf): Likewise.
13686 [non-C99-based standards] (asinhf): Likewise.
13687 [non-C99-based standards] (atanhf): Likewise.
13688 [non-C99-based standards] (cbrtf): Likewise.
13689 [non-C99-based standards] (expm1f): Likewise.
13690 [non-C99-based standards] (ilogbf): Likewise.
13691 [non-C99-based standards] (log1pf): Likewise.
13692 [non-C99-based standards] (logbf): Likewise.
13693 [non-C99-based standards] (nextafterf): Likewise.
13694 [non-C99-based standards] (remainderf): Likewise.
13695 [non-C99-based standards] (rintf): Likewise.
13696 [non-C99-based standards] (scalbf): Likewise.
13697 [non-C99-based standards] (copysignl): Likewise.
13698 [non-C99-based standards] (exp2l): Likewise.
13699 [non-C99-based standards] (log2l): Likewise.
13700 [non-C99-based standards] (modfl): Allow.
13701 [non-C99-based standards] (erfl): Do not allow.
13702 [non-C99-based standards] (erfcl): Likewise.
13703 [non-C99-based standards] (gammal): Likewise.
13704 [non-C99-based standards] (hypotl): Likewise.
13705 [non-C99-based standards] (j0l): Likewise.
13706 [non-C99-based standards] (j1l): Likewise.
13707 [non-C99-based standards] (jnl): Likewise.
13708 [non-C99-based standards] (lgammal): Likewise.
13709 [non-C99-based standards] (tgammal): Likewise.
13710 [non-C99-based standards] (y0l): Likewise.
13711 [non-C99-based standards] (y1l): Likewise.
13712 [non-C99-based standards] (ynl): Likewise.
13713 [non-C99-based standards] (isnanl): Likewise.
13714 [non-C99-based standards] (acoshl): Likewise.
13715 [non-C99-based standards] (asinhl): Likewise.
13716 [non-C99-based standards] (atanhl): Likewise.
13717 [non-C99-based standards] (cbrtl): Likewise.
13718 [non-C99-based standards] (expm1l): Likewise.
13719 [non-C99-based standards] (ilogbl): Likewise.
13720 [non-C99-based standards] (log1pl): Likewise.
13721 [non-C99-based standards] (logbl): Likewise.
13722 [non-C99-based standards] (nextafterl): Likewise.
13723 [non-C99-based standards] (remainderl): Likewise.
13724 [non-C99-based standards] (rintl): Likewise.
13725 [non-C99-based standards] (scalbl): Likewise.
13726 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13727 [non-C99-based standards] (FP_*): Do not allow.
13728 [C99-based standards] (FP_*): Change to
13729 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13730 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13732 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13733 (SIG_ERR): Likewise.
13734 [X/Open-based standards] (SIG_HOLD): Likewise.
13735 (SIG_IGN): Likewise.
13736 (SIGABRT): Use macro-int-constant. Specify type. Require
13738 (SIGFPE): Likewise.
13739 (SIGILL): Likewise.
13740 (SIGINT): Likewise.
13741 (SIGSEGV): Likewise.
13742 (SIGTER): Likewise.
13743 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13744 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13745 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13746 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13747 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13748 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13749 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13750 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13751 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13752 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13753 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13754 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13755 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13756 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13757 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13758 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13759 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13760 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13761 [X/Open-based standards] (SIGTRAP): Likewise.
13762 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13763 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13764 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13765 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13766 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13769 2012-05-08 Ian Wienand <ianw@vmware.com>
13772 * time/tzset.c (__tzset_parse_tz): Update default rules for
13773 daylight time changes in the Energy Policy Act of 2005.
13775 2012-05-09 Andreas Jaeger <aj@suse.de>
13778 * elf/ldconfig.c (parse_conf): Change string to make clear that
13779 ldconfig only issued a warning if ld.so.conf does not exist.
13781 2012-05-08 David S. Miller <davem@davemloft.net>
13783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13784 movxtod instead of popping the value on the stack.
13786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13788 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13790 * config.h.in: Add HAVE_ARM_PCS_VFP.
13792 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
13795 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13796 checking but the checks are disabled for any reason.
13798 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13800 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13801 and ELF64_R_TYPE with ELFW(R_TYPE).
13803 2012-05-08 Joseph Myers <joseph@codesourcery.com>
13805 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13806 (ulimit): Likewise.
13808 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13809 (settimeofday): Likewise.
13811 2012-05-08 Mike Frysinger <vapier@gentoo.org>
13813 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13814 a struct th_u2 inside the union, and move tu_block/tu_code into
13815 a new th_u3 union of tu_block/tu_code inside of that. Move
13816 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13817 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13818 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13819 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13820 (th_stuff): Change to th_u1.tu_stuff.
13822 (th_msg): Change to th_u1.th_u2.tu_data.
13824 2012-05-07 David S. Miller <davem@davemloft.net>
13826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13829 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13830 (SETUP_PIC_REG): Use it.
13831 (SETUP_PIC_REG_LEAF): Use it.
13833 2012-05-07 Joseph Myers <joseph@codesourcery.com>
13837 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13839 (EXPL_FINITE): Likewise.
13840 (FLDLOG): Likewise.
13841 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13842 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13844 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13846 (EXPL_FINITE): Likewise.
13847 (FLDLOG): Likewise.
13848 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13849 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13851 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13852 test of -max_value argument for long double.
13853 * sysdeps/i386/fpu/libm-test-ulps: Update.
13854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13856 2012-05-06 David S. Miller <davem@davemloft.net>
13858 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13859 quad soft-float symbols whose references which are compiler
13861 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13863 2012-05-06 Joseph Myers <joseph@codesourcery.com>
13867 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13869 (EXPL_FINITE): Likewise.
13870 (FLDLOG): Likewise.
13873 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13874 Adjust comments for base varying.
13875 (__expl_finite): Change alias to EXPL_FINITE.
13876 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13878 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13879 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13880 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13881 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13882 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13884 (EXPL_FINITE): Likewise.
13885 (FLDLOG): Likewise.
13888 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13889 Adjust comments for base varying.
13890 (__expl_finite): Change alias to EXPL_FINITE.
13891 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13896 * math/libm-test.inc (check_float_internal): Correct ulp
13897 calculation for subnormal expected results.
13899 2012-05-06 Andreas Jaeger <aj@suse.de>
13901 * Makeconfig (+math-flags): New, set to -frounding-math.
13902 (+cflags): Add +math-flags so that all of glibc gets compiled with
13905 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13907 2012-05-05 Joseph Myers <joseph@codesourcery.com>
13909 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13915 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13916 (__ieee754_expl): Allow for and saturate large arguments.
13917 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13918 (u_threshold): Likewise.
13919 (__exp): Call __ieee754_exp before checking for overflow and
13921 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13922 (u_threshold): Likewise.
13923 (__expf): Call __ieee754_expf before checking for overflow and
13925 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13926 (u_threshold): Likewise.
13927 (__expl): Call __ieee754_expl before checking for overflow and
13929 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13930 (__ieee754_expl): Allow for and saturate large arguments.
13931 * math/libm-test.inc (exp_test): Add another test. Do not allow
13932 missing overflow exception on overflow.
13933 (expm1_test): Do not allow missing overflow exception on overflow.
13935 * sysdeps/i386/fpu/e_expl.c: Move to ...
13936 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13937 rather than using inline asm.
13938 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13939 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13940 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13942 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13945 (signal): Likewise.
13949 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13951 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13952 sysdeps/unix/common/syscalls.list.
13953 (fchmod): Likewise.
13954 (fchown): Likewise.
13955 (ftruncate): Likewise.
13956 (getrusage): Likewise.
13957 (gettimeofday): Likewise.
13958 (setpgid): Likewise.
13959 (setregid): Likewise.
13960 (setreuid): Likewise.
13961 (sigaction): Likewise.
13962 (truncate): Likewise.
13963 (vhangup): Likewise.
13964 * sysdeps/unix/common/syscalls.list: Remove file.
13965 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13966 * sysdeps/unix/sysv/linux/Implies: Likewise.
13968 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13970 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13972 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13976 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13979 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13982 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13985 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13988 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13991 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13994 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13998 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14002 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14005 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14009 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14013 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14015 * sysdeps/unix/common/bits/dirent.h: Remove file.
14016 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14018 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14019 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14020 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14021 * sysdeps/unix/bsd/isatty.c: Likewise.
14022 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14023 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14024 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14026 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14029 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14030 long double comparison inaccuracies.
14031 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14034 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14036 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14037 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14039 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14042 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14043 nonzero digits before rounding a hex value.
14044 * stdlib/tst-strtod.c (tests): Add another test.
14046 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14048 * sysdeps/s390/fpu/libm-test-ulps: Update.
14050 2012-05-03 Andreas Jaeger <aj@suse.de>
14052 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14053 does not get optimized out.
14054 (malloc_opt_barrier): New.
14056 2012-05-03 Andreas Jaeger <aj@suse.de>
14057 Roland McGrath <roland@hack.frob.com>
14059 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14060 intermediate file deletion.
14061 (generated): Add .symlist files.
14063 2012-05-03 Joseph Myers <joseph@codesourcery.com>
14066 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14067 Redirect under this condition.
14068 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14069 [__USE_GNU] (__dprintf_chk): Not under this condition.
14070 [__USE_GNU] (__vdprintf_chk): Likewise.
14071 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14072 under this condition.
14073 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14074 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14075 [__USE_XOPEN2K8] (vdprintf): Likewise.
14076 [__USE_GNU] (__dprintf_chk): Not under this condition.
14077 [__USE_GNU] (__vdprintf_chk): Likewise.
14078 [__USE_GNU] (dprintf): Likewise.
14079 [__USE_GNU] (vdprintf): Likewise.
14081 2012-05-03 Roland McGrath <roland@hack.frob.com>
14083 * elf/Makefile (common-generated): Set this instead of generated for
14084 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14085 $(all-built-dso)-derived lists.
14087 2012-05-03 Andreas Jaeger <aj@suse.de>
14089 * sysdeps/i386/fpu/libm-test-ulps: Update.
14092 * FAQ.in: Likewise.
14093 * scripts/gen-FAQ.pl: Likewise.
14094 * manual/install.texi (Installation): Point to online location of
14096 * Makefile (files-for-dist): Remove FAQ.
14099 2012-05-02 Allan McRae <allan@archlinux.org>
14101 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14102 (LDFLAGS-reldepmod5.so): Likewise.
14103 (LDFLAGS-reldep6mod1.so): Likewise.
14104 (LDFLAGS-reldep6mod4.so): Likewise.
14105 (LDFLAGS-reldep8mod3.so): Likewise.
14106 (LDFLAGS-unload4mod1.so): Likewise.
14107 (LDFLAGS-unload4mod2.so): Likewise.
14108 (LDFLAGS-tst-initorder): Likewise.
14109 (LDFLAGS-tst-initordera2.so): Likewise.
14110 (LDFLAGS-tst-initordera3.so): Likewise.
14111 (LDFLAGS-tst-initordera4.so): Likewise.
14112 (LDFLAGS-tst-initorderb2.so): Likewise.
14113 (LDFLAGS-noload): Likewise.
14114 (LDFLAGS-next): Likewise.
14115 (LDFLAGS-order2mod1.so): Likewise.
14116 (LDFLAGS-order2mod2.so): Likewise.
14117 (LDFLAGS-tst-initorder2): Likewise.
14118 (LDFLAGS-tst-initorder2a.so): Likewise.
14119 (LDFLAGS-tst-initorder2b.so): Likewise.
14120 (LDFLAGS-tst-initorder2c.so): Likewise.
14121 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14123 2012-05-02 David S. Miller <davem@davemloft.net>
14125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14127 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14130 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14132 2012-05-02 Andreas Jaeger <aj@suse.de>
14134 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14135 since we manipulate rounding mode.
14136 (CPPFLAGS-test-idouble.c): Likewise.
14137 (CPPFLAGS-test-ifloat.c): Likewise.
14138 (CFLAGS-test-ldouble.c): Likewise.
14139 (CFLAGS-test-double.c): Likewise.
14140 (CFLAGS-test-float.c): Likewise.
14141 (CFLAGS-test-misc.c): Likewise.
14142 (CFLAGS-test-test-fenv.c): Likewise.
14144 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14148 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14149 comparisons to determine direction to adjust input.
14151 2012-05-01 Roland McGrath <roland@hack.frob.com>
14153 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14154 output to the target.
14156 * scripts/localplt.awk: New file.
14157 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14158 (check-localplt-CFLAGS): Variable removed.
14159 ($(all-built-dso:=.jmprel)): New static pattern rule.
14160 (generated): Add those targets.
14161 (localplt-built-dso): New variable.
14162 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14164 * elf/check-localplt.c: File removed.
14166 * scripts/check-execstack.awk: New file.
14167 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14168 (check-execstack-CFLAGS): Variable removed.
14169 ($(objpfx)check-execstack.h): Target removed.
14170 ($(objpfx)execstack-default): New target.
14171 (generated): Add that instead of check-execstack.h.
14172 ($(all-built-dso:=.phdr)): New static pattern rule.
14173 (generated): Add those targets.
14174 * elf/check-execstack.c: File removed.
14176 * scripts/check-textrel.awk: New file.
14177 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14178 (check-textrel-CFLAGS): Variable removed.
14179 (all-built-dso): Use := to define.o
14180 ($(all-built-dso:=.dyn)): New static pattern rule.
14181 (generated): Add those targets.
14182 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14183 * config.make.in (READELF): New substituted variable.
14184 * elf/check-textrel.c: File removed.
14186 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14188 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14190 * conform/data/ctype.h-data [C99-based standards] (isblank):
14192 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14193 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14194 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14195 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14196 Specify type. Require positive value.
14197 (EILSEQ): Likewise.
14198 (ERANGE): Likewise.
14199 [ISO || POSIX] (EILSEQ): Do not expect.
14200 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14201 Specify type. Require positive value.
14202 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14203 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14204 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14205 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14206 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14207 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14208 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14209 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14210 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14211 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14212 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14213 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14214 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14215 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14216 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14217 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14218 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14219 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14220 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14221 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14222 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14223 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14224 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14225 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14226 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14227 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14228 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14229 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14230 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14231 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14232 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14233 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14234 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14235 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14236 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14237 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14238 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14239 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14240 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14241 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14242 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14243 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14244 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14245 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14246 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14247 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14248 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14249 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14250 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14251 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14252 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14253 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14254 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14255 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14256 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14257 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14258 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14259 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14260 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14261 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14262 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14263 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14264 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14265 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14266 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14267 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14268 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14269 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14270 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14271 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14272 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14273 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14274 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14275 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14276 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14277 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14278 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14280 (FLT_ROUNDS): Expect as macro, not constant.
14281 (FLT_MANT_DIG): Use macro-int-constant.
14282 (DBL_MANT_DIG): Likewise.
14283 (LDBL_MANT_DIG): Likewise.
14284 (FLT_DIG): Likewise.
14285 (DBL_DIG): Likewise.
14286 (LDBL_DIG): Likewise.
14287 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14288 (DBL_MIN_EXP): Likewise.
14289 (LDBL_MIN_EXP): Likewise.
14290 (FLT_MAX_EXP): Use macro-int-constant.
14291 (DBL_MAX_EXP): Likewise.
14292 (LDBL_MAX_EXP): Likewise.
14293 (FLT_MAX_10_EXP): Likewise.
14294 (DBL_MAX_10_EXP): Likewise.
14295 (LDBL_MAX_10_EXP): Likewise.
14296 (FLT_MAX): Use macro-constant.
14297 (DBL_MAX): Likewise.
14298 (LDBL_MAX): Likewise.
14299 (FLT_EPSILON): Use macro-constant. Give upper bound.
14300 (DBL_EPSILON): Likewise.
14301 (LDBL_EPSILON): Likewise.
14302 (FLT_MIN): Likewise.
14303 (DBL_MIN): Likewise.
14304 (LDBL_MIN): Likewise.
14305 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14306 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14307 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14308 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14309 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14310 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14311 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14312 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14313 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14314 [ISO11] (FLT_TRUE_MIN): Likewise.
14315 [ISO11] (LDBL_TRUE_MIN): Likewise.
14316 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14317 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14318 (SCHAR_MIN): Use macro-int-constant. Specify type.
14319 (SCHAR_MAX): Likewise.
14320 (UCHAR_MAX): Likewise.
14321 (CHAR_MIN): Likewise.
14322 (CHAR_MAX): Likewise.
14323 (MB_LEN_MAX): Use macro-int-constant.
14324 (SHRT_MIN): Use macro-int-constant. Specify type.
14325 (SHRT_MAX): Likewise.
14326 (USHRT_MAX): Likewise.
14327 (INT_MAX): Likewise.
14328 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14330 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14332 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14334 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14335 bound negative. Suffix upper bound with "L".
14336 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14338 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14340 [C99-based standards] (LLONG_MAX): Likewise.
14341 [C99-based standards] (ULLONG_MAX): Likewise.
14342 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14344 [ISO11] (max_align_t): Require type.
14345 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14347 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14348 from $CFLAGS, without defining away __attribute__ calls.
14349 (checknamespace): Use $CFLAGS_namespace.
14351 * conform/conformtest.pl (@keywords): Only include C99 keywords
14352 for standards based on C99 or C11.
14354 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14356 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14359 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14360 usability of symbols in #if.
14362 * conform/conformtest.pl: If macro or constant types start
14363 "promoted:", expect the symbol to be of the following type
14364 promoted by the integer promotions.
14366 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14367 in one place. Also handle "macro-constant".
14369 * conform/conformtest.pl: Only accept expected macro values with
14370 "==". Parse all "macro" lines in one place.
14371 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14373 * conform/conformtest.pl: Handle braced types on "constant" lines
14374 instead of handling "typed-constant".
14375 * conform/data/signal.h-data: Use "constant" instead of
14378 * conform/conformtest.pl: Handle "optional-" at start of lines in
14379 one place rather than duplicating several cases. Handle each
14380 format of "macro" line with initial "optional-".
14382 * conform/conformtest.pl: Only accept expected constant or
14383 optional-constant values with "==". Parse all "constant" lines in
14384 one place. Parse all "optional-constant" lines in one place.
14385 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14386 * conform/data/fmtmsg.h-data: Likewise.
14387 * conform/data/netinet/in.h-data: Likewise.
14388 * conform/data/tar.h-data: Likewise.
14389 * conform/data/limits.h-data: Use "==" form on "constant" and
14390 "optional-constant" lines.
14392 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14393 Use -std=c99 for XOPEN2K.
14394 (@knownproblems): Remove.
14395 (newtoken): Don't check %isknown.
14397 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14398 Do not expect macro.
14399 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14400 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14401 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14402 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14403 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14404 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14405 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14406 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14407 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14408 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14409 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14410 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14411 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14412 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14413 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14414 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14415 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14416 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14417 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14418 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14419 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14420 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14421 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14422 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14423 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14424 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14425 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14426 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14427 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14428 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14429 [XPG3] (acosh): Likewise.
14430 [XPG3] (asinh): Likewise.
14431 [XPG3] (atanh): Likewise.
14432 [XPG3] (cbrt): Likewise.
14433 [XPG3] (expm1): Likewise.
14434 [XPG3] (ilogb): Likewise.
14435 [XPG3] (log1p): Likewise.
14436 [XPG3] (logb): Likewise.
14437 [XPG3] (nextafter): Likewise.
14438 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14439 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14440 [XPG3] (remainder): Likewise.
14441 [XPG3] (rint): Likewise.
14442 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14443 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14444 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14445 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14446 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14447 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14448 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14449 [UNIX98 || XOPEN2K] (scalb): Expect.
14450 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14451 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14452 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14453 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14454 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14455 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14456 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14457 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14458 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14459 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14460 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14461 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14462 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14463 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14464 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14465 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14466 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14467 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14468 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14469 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14470 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14471 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14472 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14473 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14474 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14475 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14476 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14477 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14478 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14479 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14480 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14481 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14482 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14483 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14484 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14485 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14486 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14487 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14488 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14489 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14490 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14491 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14492 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14493 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14494 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14495 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14496 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14497 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14498 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14499 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14500 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14501 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14502 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14503 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14504 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14505 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14506 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14507 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14508 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14509 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14510 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14511 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14512 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14513 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14514 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14515 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14516 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14517 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14518 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14519 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14520 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14521 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14522 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14523 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14524 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14525 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14526 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14527 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14528 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14529 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14530 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14531 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14532 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14533 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14534 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14535 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14536 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14537 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14538 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14539 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14540 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14541 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14542 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14543 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14544 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14545 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14546 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14547 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14548 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14549 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14550 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14551 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14552 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14553 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14554 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14555 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14556 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14557 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14558 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14559 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14560 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14561 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14562 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14563 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14564 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14565 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14566 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14567 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14568 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14569 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14570 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14571 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14572 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14573 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14574 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14575 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14576 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14577 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14578 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14579 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14580 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14581 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14582 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14583 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14584 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14585 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14586 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14588 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14589 _XOPEN_SOURCE_EXTENDED for XPG4.
14591 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14593 * Makeconfig (localtime): Remove variable.
14594 (inst_localtime-file): Likewise.
14596 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14617 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14621 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14622 comparisons to determine direction to adjust input.
14623 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14624 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14625 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14627 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14629 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14631 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14632 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14634 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14636 * math/libm-test.inc (nexttoward_test): Add more tests.
14638 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14641 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14642 in version GLIBC_2.1, not GLIBC_2.0.
14643 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14646 2012-04-30 Joseph Myers <joseph@codesourcery.com>
14649 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14651 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14652 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14653 * math/libm-test.inc (acos_test): Add more tests.
14654 (asin_test): Likewise.
14655 * sysdeps/i386/fpu/libm-test-ulps: Update.
14656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14659 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14661 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14662 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14663 * math/libm-test.inc (acos_test_tonearest): New function.
14664 (acos_test_towardzero): Likewise.
14665 (acos_test_downward): Likewise.
14666 (acos_test_upward): Likewise.
14667 (asin_test_tonearest): Likewise.
14668 (asin_test_towardzero): Likewise.
14669 (asin_test_downward): Likewise.
14670 (asin_test_upward): Likewise.
14671 (main): Call the new functions.
14672 * sysdeps/i386/fpu/libm-test-ulps: Update.
14673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14677 * math/e_exp10.c: Include <float.h>.
14678 (__ieee754_exp10): Handle underflow here rather than multiplying
14679 large negative argument by M_LN10.
14680 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14682 * math/e_exp10l.c: Include <float.h>.
14683 (__ieee754_exp10l): Handle underflow here rather than multiplying
14684 large negative argument by M_LN10l.
14685 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14686 spurious overflow exception on underflow.
14688 2012-04-29 Marek Polacek <polacek@redhat.com>
14690 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14691 (__fortify_function): New macro.
14692 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14693 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14694 __extern_always_inline.
14695 * libio/bits/stdio2.h: Likewise.
14696 * libio/bits/stdio.h: Likewise.
14697 * string/string.h: Likewise.
14698 * string/bits/string3.h: Likewise.
14699 * include/stdio.h: Likewise.
14700 * stdlib/bits/stdlib.h: Likewise.
14701 * stdlib/stdlib.h: Likewise.
14702 * rt/bits/mqueue2.h: Likewise.
14703 * rt/mqueue.h: Likewise.
14704 * posix/bits/unistd.h: Likewise.
14705 * posix/unistd.h: Likewise.
14706 * io/bits/poll2.h: Likewise.
14707 * io/bits/fcntl2.h: Likewise.
14708 * io/fcntl.h: Likewise.
14709 * io/sys/poll.h: Likewise.
14710 * misc/bits/syslog.h: Likewise.
14711 * misc/bits/syslog-ldbl.h: Likewise.
14712 * misc/sys/syslog.h: Likewise.
14713 * socket/bits/socket2.h: Likewise.
14714 * socket/sys/socket.h: Likewise.
14715 * debug/tst-chk1.c: Likewise.
14716 * wcsmbs/bits/wchar2.h: Likewise.
14717 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14718 * wcsmbs/wchar.h: Likewise.
14720 2012-04-29 Andreas Jaeger <aj@suse.de>
14722 * Makerules (tests): Remove enable-check-abi protection.
14723 (check-abi-warn): Remove.
14724 (check-abi-%): Remove check-abi-warn usage.
14726 * configure.in: Remove check-abi configure option.
14727 * configure: Regenerated.
14728 * config.make.in (enable-check-abi): Remove.
14730 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14733 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14734 double functions to double *_finite functions.
14737 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14738 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14740 * stdio-common/Makefile (tests): Add tst-sprintf3.
14741 * stdio-common/tst-sprintf3.c: New file.
14743 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14744 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14746 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14748 * conform/conformtest.pl: Remove duplicate typed-constant
14751 2012-04-28 David S. Miller <davem@davemloft.net>
14753 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14754 (check-abi-%): Remove AWK script prerequisite and explicit
14756 (check-abi): Rewrite to just diff the symlist with the abilist.
14757 (config-tls, config-abi-config): Delete, no longer used.
14758 (update-abi-%): Remove AWK script and explicit abilist directory.
14759 (update-abi): Rewrite to simply compare and conditionally copy the
14760 symlist and the sysdep abilist file. Remove update-abi-config
14762 * abilist/ld.abilist: Remove.
14763 * abilist/libBrokenLocale.abilist: Remove.
14764 * abilist/libanl.abilist: Remove.
14765 * abilist/libcrypt.abilist: Remove.
14766 * abilist/libdl.abilist: Remove.
14767 * abilist/librt.abilist: Remove.
14768 * abilist/libthread_db.abilist: Remove.
14769 * abilist/libutil.abilist: Remove.
14770 * scripts/extract-abilist.awk: Remove.
14771 * scripts/merge-abilist.awk: Remove.
14772 * sysdeps/generic/libcidn.abilist: New file.
14773 * sysdeps/generic/libnss_compat.abilist: New file.
14774 * sysdeps/generic/libnss_db.abilist: New file.
14775 * sysdeps/generic/libnss_dns.abilist: New file.
14776 * sysdeps/generic/libnss_files.abilist: New file.
14777 * sysdeps/generic/libnss_hesiod.abilist: New file.
14778 * sysdeps/generic/libnss_nis.abilist: New file.
14779 * sysdeps/generic/libnss_nisplus.abilist: New file.
14780 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14781 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14782 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14784 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14785 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14786 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14787 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14788 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14789 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14790 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14791 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14792 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14794 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14795 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14796 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14797 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14799 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14800 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14801 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14802 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14803 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14804 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14806 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14807 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14808 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14810 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14913 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14914 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14915 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14917 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14918 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14919 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14920 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14921 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14922 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14923 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14924 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14925 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14926 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14978 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14980 * conform/conformtest.pl: Fix typo in handling typed-constant from
14983 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14985 * README: Cut down references to pre-2.6 Linux kernels and
14986 Linuxthreads. Update lists of configurations in libc and ports
14987 and sort alphabetically. Say "or newer" with Linux kernel version
14990 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14992 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14995 * math/libm-test.inc (logb_test_downward): New test to expose
14996 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14999 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15002 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15004 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15005 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15007 2012-04-26 Joseph Myers <joseph@codesourcery.com>
15009 * sysdeps/unix/i386/brk.S: Remove file.
15010 * sysdeps/unix/i386/dl-brk.S: Likewise.
15011 * sysdeps/unix/i386/pipe.S: Likewise.
15012 * sysdeps/unix/i386/sigreturn.S: Likewise.
15013 * sysdeps/unix/i386/syscall.S: Likewise.
15014 * sysdeps/unix/i386/vfork.S: Likewise.
15015 * sysdeps/unix/i386/wait.S: Likewise.
15017 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15018 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15020 * configure.in (arm*-none*): Do not allow without
15021 --enable-hacker-mode.
15022 (netbsd*): Remove case setting base_os.
15023 (386bsd*): Likewise.
15024 (freebsd*): Likewise.
15027 (sunos*): Likewise.
15028 (ultrix*): Likewise.
15029 (newsos*): Likewise.
15030 (dynix*): Likewise.
15036 (minix*): Likewise.
15037 (irix4*): Likewise.
15038 (irix6*): Likewise.
15039 (solaris[2-9]*): Likewise.
15041 * configure: Regenerated.
15043 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15046 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15047 overflow or cancellation in calculating denominator.
15048 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15049 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15050 down expression to avoid unexpected rounding in newer GCCs.
15051 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15053 2012-04-26 David S. Miller <davem@davemloft.net>
15055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15056 long-double compat symbols.
15057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15071 2012-04-25 David S. Miller <davem@davemloft.net>
15073 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15074 HWCAP_* values only after the memory barriers have been defined.
15075 (atomic_full_barrier): Define.
15076 (atomic_read_barrier): Define.
15077 (atomic_write_barrier): Define.
15079 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15081 * shlib-versions: Add libgcc_s version information.
15082 * sysdeps/generic/libgcc_s.h: Remove.
15083 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15085 * sysdeps/gnu/unwind-resume.c: Likewise.
15086 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15088 2012-04-25 David S. Miller <davem@davemloft.net>
15090 * sysdeps/unix/sparc/brk.S: Delete.
15091 * sysdeps/unix/sparc/dl-brk.S: Delete.
15092 * sysdeps/unix/sparc/pipe.S: Delete.
15093 * sysdeps/unix/sparc/sysdep.S: Delete.
15094 * sysdeps/unix/sparc/sysdep.h: Delete.
15095 * sysdeps/unix/sparc/vfork.S: Delete.
15096 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15097 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15098 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15099 ret_ERRVAL, r0, r1, MOVE): Define.
15100 (JUMPTARGET): Remove.
15101 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15102 sysdeps/unix/sparc/sysdep.h
15103 (ENTRY, END): Remove.
15104 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15106 2012-04-25 Joseph Myers <joseph@codesourcery.com>
15108 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15109 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15112 * timezone/README: Update upstream location and email address for
15114 * timezone/zdump.c: Update from tzcode 2012b.
15115 * timezone/zic.c: Likewise.
15117 * configure.in (libc_cv_as_needed): Remove test.
15118 * configure: Regenerated.
15119 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15120 conditional definition.
15121 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15122 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15123 * config.make.in (have-as-needed): Remove variable.
15125 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15126 Paul Pluzhnikov <ppluzhnikov@google.com>
15128 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15131 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15133 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15134 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15135 * sysdeps/sh/strlen.S: Likewise.
15137 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15139 * sysdeps/unix/fork.S: Remove file.
15140 * sysdeps/unix/i386/fork.S: Likewise.
15141 * sysdeps/unix/sparc/fork.S: Likewise.
15143 * sysdeps/unix/system.c: Remove file.
15144 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15146 * sysdeps/unix/getegid.S: Remove file.
15147 * sysdeps/unix/geteuid.S: Likewise.
15149 2012-04-24 Roland McGrath <roland@hack.frob.com>
15151 * scripts/check-localplt.awk: New file.
15152 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15154 * scripts/data/localplt-generic.data: Add a comment.
15156 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15157 NODE when __dir_mkfile failed.
15158 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15159 Reported by Ludovic Courtès <ludo@gnu.org>.
15161 2012-04-24 Andreas Jaeger <aj@suse.de>
15163 * Makerules (common-clean): Also remove gen-as-const-headers
15166 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15168 * Makerules (native-compile): Do not change working directory for
15169 build. Use $(OUTPUT_OPTION) in command.
15170 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15172 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15175 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15176 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15177 * math/libm-test.inc (floor_test): Add more tests.
15178 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15180 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15182 * sysdeps/unix/getdents.c: Remove file.
15183 * sysdeps/unix/sysv/getdents.c: Likewise.
15184 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15186 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15187 sysdeps/unix/mman/syscalls.list.
15189 (mprotect): Likewise.
15191 (munmap): Likewise.
15192 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15193 * sysdeps/unix/mman/syscalls.list: Remove.
15194 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15196 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15197 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15198 * configure: Regenerated.
15199 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15200 $(libgcc_s_suffix).
15201 * config.make.in (libgcc_s_suffix): Remove variable.
15203 2012-04-23 Joseph Myers <joseph@codesourcery.com>
15205 * sysdeps/unix/sysv/gethostname.c: Move to ...
15206 * sysdeps/posix/gethostname.c: ... here.
15208 * sysdeps/unix/execve.S: Remove file.
15210 * sysdeps/unix/_exit.S: Remove file.
15212 2012-04-23 Andreas Jaeger <aj@suse.de>
15215 * manual/Makefile: Remove make dist support, there's no
15216 need for a stand-alone documentation tar ball.
15217 (TEXI2DVI): Define always, it's not in Makeconfig.
15220 (edition): Removed.
15221 (glibc-doc-$(edition).tar): Removed
15225 (ETAGS): Remove, it's in Makeconfig.
15226 (move-if-change): Remove, it's in Makeconfig.
15228 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
15231 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15232 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15233 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15234 (strtod_l, strtof_l, strtold_l): Remove __wur.
15235 It is not necessarily an error to ignore strtol's return value.
15236 One can reliably look at the stored endptr to decide whether
15237 the number had valid syntax.
15239 2012-04-21 Andreas Jaeger <aj@suse.de>
15242 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15244 2012-04-21 Joseph Myers <joseph@codesourcery.com>
15246 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15247 * sysdeps/unix/sysv/Versions: Remove file.
15249 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15254 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
15257 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15258 version from __vm86.
15260 2012-04-20 Joseph Myers <joseph@codesourcery.com>
15262 * sysdeps/unix/common/lxstat.c: Remove file.
15263 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15265 * sysdeps/unix/sysv/Makefile: Remove file.
15267 * sysdeps/unix/sysv/direct.h: Remove file.
15269 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15270 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15271 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15272 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15273 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15274 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15275 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15277 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15279 * sysdeps/unix/xmknod.c: Remove file.
15280 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15282 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15284 * sysdeps/unix/sysv/i386/time.S: Remove file.
15286 * sysdeps/unix/fxstat.c: Remove file.
15287 * sysdeps/unix/xstat.c: Likewise.
15288 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15290 * sysdeps/unix/sysv/sigaction.c: Remove file.
15292 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15293 (sysdep_headers): Remove variable.
15294 [termio.h not in sysdep_headers] (generated): Likewise.
15295 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15296 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15297 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15298 * sysdeps/unix/sysv/tcflow.c: Likewise.
15299 * sysdeps/unix/sysv/tcflush.c: Likewise.
15300 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15301 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15302 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15303 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15304 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15306 * sysdeps/unix/siglist.c: Remove file.
15308 * sysdeps/unix/getppid.S: Remove file.
15310 * sysdeps/unix/mkdir.c: Remove file.
15311 * sysdeps/unix/rmdir.c: Likewise.
15313 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15315 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15317 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15318 errlist-compat value.
15320 2012-04-18 David S. Miller <davem@davemloft.net>
15322 * sysdeps/generic/memcopy.h (reg_char): Delete.
15323 * debug/strcat_chk.c: Use char, not reg_char.
15324 * debug/strcpy_chk.c: Likewise.
15325 * debug/strncat_chk.c: Likewise.
15326 * debug/strncpy_chk.c: Likewise.
15327 * string/memchr.c: Likewise.
15328 * string/memrchr.c: Likewise.
15329 * string/rawmemchr.c: Likewise.
15330 * string/strcat.c: Likewise.
15331 * string/strchr.c: Likewise.
15332 * string/strchrnul.c: Likewise.
15333 * string/strcmp.c: Likewise.
15334 * string/strcpy.c: Likewise.
15335 * string/strncat.c: Likewise.
15336 * string/strncmp.c: Likewise.
15337 * string/strncpy.c: Likewise.
15339 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15341 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15342 __builtin_memcopy is called when src and dest ranges are known to not
15345 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15347 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15348 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15349 fwd_align_merge macro call.
15350 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15351 bwd_align_merge macro call.
15352 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15354 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15356 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15357 bwd_align_merge macros.
15358 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15359 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15360 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15362 2012-04-18 David S. Miller <davem@davemloft.net>
15364 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15366 2012-04-18 Andreas Jaeger <aj@suse.de>
15369 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15370 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15371 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15373 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15374 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15375 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15377 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15378 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15379 Adjust for changed ldbl-128 files.
15381 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15382 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15383 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15385 2012-04-17 David S. Miller <davem@davemloft.net>
15387 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15389 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15391 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15392 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15393 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15394 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15395 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15396 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15398 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15401 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15402 * math/libm-test.inc: Add ilogb errno and exception tests.
15403 * math/w_ilogb.c: New file: ilogb wrapper.
15404 * math/w_ilogbf.c: New file: ilogbf wrapper.
15405 * math/w_ilogbl.c: New file: ilogbl wrapper.
15406 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15407 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15408 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15409 exception being thrown with 0.0 as argument.
15410 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15411 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15412 exception being thrown with 0.0 as argument.
15413 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15414 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15415 exception being thrown with 0.0 as argument.
15416 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15417 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15418 exception being thrown with 0.0 as argument.
15419 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15420 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15421 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15422 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15423 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15424 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15425 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15426 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15427 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15429 2012-04-17 Petr Baudis <pasky@ucw.cz>
15431 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15434 2012-04-16 Marek Polacek <polacek@redhat.com>
15436 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15438 2012-04-16 Marek Polacek <polacek@redhat.com>
15440 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15441 operands of fdivp instruction.
15443 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15445 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15446 * elf/tst-auditmod3b.c: Likewise.
15447 * elf/tst-auditmod4b.c: Likewise.
15448 * elf/tst-auditmod5b.c: Likewise.
15449 * elf/tst-auditmod6b.c: Likewise.
15450 * elf/tst-auditmod6c.c: Likewise.
15451 * elf/tst-auditmod7b.c: Likewise.
15452 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15453 * sysdeps/x86_64/preconfigure.in: Likewise.
15454 * sysdeps/x86_64/preconfigure: Regenerated.
15456 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15458 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15461 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
15463 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15464 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15466 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15469 * locale/iso-639.def: Fix gl language name. Spotted by
15472 2012-04-12 Roland McGrath <roland@hack.frob.com>
15475 * libio/libio.h (__io_write_fn): Update comment.
15477 2012-04-12 Petr Baudis <pasky@ucw.cz>
15480 * stdio.texi (Hook Functions): The user provided writer function
15481 is not allowed to return -1.
15483 2012-04-11 David S. Miller <davem@davemloft.net>
15485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15487 2012-04-11 Mike Frysinger <vapier@gentoo.org>
15489 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15490 Add a leading slash to rtkaio.
15492 2012-04-11 Jim Meyering <meyering@redhat.com>
15495 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15496 It is not necessarily an error to ignore fwrite's return
15497 value. One can reliably use ferror to test for errors after
15500 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15502 * bits/types.h (__snseconds_t): New type.
15503 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15505 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15506 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15507 (__SNSECONDS_T_TYPE): Likewise.
15508 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15509 (__SNSECONDS_T_TYPE): Likewise.
15510 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15511 (__SNSECONDS_T_TYPE): Likewise.
15513 2012-04-10 Andreas Jaeger <aj@suse.de>
15516 * manual/time.texi (Processor Time): Return type of times is
15517 elapsed real time since an arbitrary point in the past.
15518 (CPU Time): Move CLK_TCK from here...
15519 (Processor Time): ...to here. Correct description.
15520 * manual/conf.texi (Constants for Sysconf): Correct description of
15523 2012-04-10 David S. Miller <davem@davemloft.net>
15526 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15527 where the is a gap between DT_REL(A) and DT_JMPREL.
15529 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15531 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15532 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15533 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15535 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15537 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15538 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15539 (dl_main): Handle --inhibit-cache.
15540 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15542 * elf/dl-load.c (_dl_map_object): Use it.
15543 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15545 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15548 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15549 (__ieee754_powl): Saturate large exponents rather than testing for
15550 overflow of y*log2(x).
15551 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15552 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15556 * math/s_ctan.c: Include <float.h>.
15557 (__ctan): Avoid internal overflow or cancellation in calculating
15559 * math/s_ctanf.c: Likewise.
15560 * math/s_ctanl.c: Likewise.
15561 * math/s_ctanh.c: Likewise.
15562 * math/s_ctanhf.c: Likewise.
15563 * math/s_ctanhl.c: Likewise.
15564 * math/libm-test.inc (ctan_test): Add more tests.
15565 (ctanh_test): Likewise.
15566 * sysdeps/i386/fpu/libm-test-ulps: Update.
15567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15569 2012-04-09 Andreas Jaeger <aj@suse.de>
15572 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15573 is an optional BSD extension.
15576 * manual/stdio.texi (Opening Streams): Document additional fopen
15579 2012-04-09 Roland McGrath <roland@hack.frob.com>
15581 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15582 %eax without telling the compiler.
15584 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15587 * manual/install.texi: Use sourceware.org.
15589 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15592 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15593 (__ieee754_pow): Generate overflow and underflow using huge*huge
15594 and tiny*tiny rather than just returning constant infinity or zero
15595 for large exponents.
15596 * math/libm-test.inc (pow_test): Require overflow exceptions for
15597 applicable cases of large exponents.
15600 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15601 (__ieee754_pow): Use iterative multiplication algorithm only for
15602 integer exponents with absolute value below 1024. Check for odd
15603 integer exponents when using algorithm for real exponents.
15604 * math/libm-test.inc (pow_test): Add more tests.
15605 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15607 2012-04-08 Joseph Myers <joseph@codesourcery.com>
15610 * math/libm-test.inc (exp_test): Do not allow overflow exception
15613 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15616 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15617 instead of __kernel_standard_f.
15619 2012-04-08 Mike Frysinger <vapier@gentoo.org>
15621 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15622 * sysdeps/x86_64/memset_chk.S: Likewise.
15624 2012-04-08 Andreas Jaeger <aj@suse.de>
15627 * manual/startup.texi (Environment Access): Describe return value
15628 for putenv and setenv.
15631 * manual/filesys.texi (Directory Entries): Add description for
15635 * manual/filesys.texi (Directory Entries): Clarify that it's file
15636 system not operating system in the description of DT_UNKNOWN.
15639 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15641 2012-04-08 Stephen Compall <s11@member.fsf.org>
15644 * manual/llio.texi (Opening and Closing Files): Add cross
15645 reference to explain mode argument.
15647 2012-04-07 Mike Frysinger <vapier@gentoo.org>
15649 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15650 * sysdeps/x86_64/memset_chk.S: Likewise.
15652 2012-04-07 David S. Miller <davem@davemloft.net>
15654 * elf/elf.h (R_SPARC_WDISP10): Define.
15655 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15657 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15658 R_SPARC_SIZE64 and R_SPARC_H34.
15660 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15662 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15663 conditions and remove no longer applicable assertion.
15665 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15667 * bits/byteswap.h: Include <features.h>.
15668 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15669 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15671 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15673 * bits/byteswap.h (__bswap_16): Removed.
15674 Include <bits/byteswap-16.h> to get __bswap_16.
15675 * sysdeps/i386/bits/byteswap.h: Likewise.
15676 * sysdeps/s390/bits/byteswap.h: Likewise.
15677 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15678 * bits/byteswap-16.h: New file.
15679 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15680 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15681 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15682 * string/Makefile (headers): Add bits/byteswap-16.h.
15684 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15687 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15689 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15690 * nss/tst-nss-static.c: New.
15692 2012-04-06 Robert Millan <rmh@gnu.org>
15695 * manual/llio.texi (File Position Primitive): lseek
15696 refers to WHENCE when it really means OFFSET.
15698 2012-04-06 Andreas Jaeger <aj@suse.de>
15700 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15701 strncmp declarations.
15703 * abilist/libc.abilist: Add __poll and __ppoll.
15705 2012-04-05 David S. Miller <davem@davemloft.net>
15707 * scripts/check-local-headers.sh: Accept a host triplet in the
15708 path matched by the exclude regexp.
15710 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15712 * sysdeps/powerpc/powerpc32/dl-machine.h
15713 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15714 * sysdeps/s390/s390-32/dl-machine.h
15715 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15716 * sysdeps/sparc/sparc32/dl-machine.h
15717 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15718 * sysdeps/sparc/sparc64/dl-machine.h
15719 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15721 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15723 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15724 undefined symbol errors.
15726 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15729 2012-04-05 Michael Matz <matz@suse.de>
15732 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15734 2012-04-05 Andreas Jaeger <aj@suse.de>
15737 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15740 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15742 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15743 which ROUND is no valid rounding mode.
15745 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15747 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15749 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15751 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15753 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15754 an exception using FPU order intentionally.
15756 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15758 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15759 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15760 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15761 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15763 2012-04-05 Simon Josefsson <simon@josefsson.org>
15766 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15767 EINVAL when BUFLEN is too smal.
15769 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15772 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15773 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15775 2012-04-03 Andreas Jaeger <aj@suse.de>
15778 * manual/setjmp.texi (System V contexts): Fix sentence.
15781 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15782 New macro for this case.
15783 [!__GNUC__] (__bswap_64): New inline function for this case.
15784 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15785 * bits/byteswap.h: Likewise.
15786 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15787 ull, guard with __GLIBC_HAVE_LONG_LONG.
15789 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15790 __GLIBC_HAVE_LONG_LONG.
15792 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15793 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15795 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15798 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15799 inptr and inend, rather than using last_ch.
15801 2012-04-02 David S. Miller <davem@davemloft.net>
15803 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15804 * stdio-common/printf-parse.h (read_int): Change return type to
15805 'int', return -1 on INT_MAX overflow.
15806 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15807 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15808 overflows INT_MAX. Check for overflow of in-format-string precision
15809 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15810 SIZE_MAX not INT_MAX for integer overflow test.
15811 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15812 skip the construct in the format string but do not record anything.
15813 * stdio-common/bug22.c: Adjust to test both width/prevision
15814 INT_MAX overflow as well as total length INT_MAX overflow. Check
15815 explicitly for proper errno values.
15817 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15819 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15821 * string/test-strcmp.c [! WIDE]: Likewise.
15822 * time/tst-mktime2.c: Likewise for INT_MAX.
15823 * string/test-string.h: #include <sys/param.h> for MIN.
15825 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15826 * sysdeps/i386/init-first.c (init): Likewise.
15827 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15828 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15829 * sysdeps/sh/init-first.c (init): Likewise.
15831 2012-04-01 Ulrich Drepper <drepper@gmail.com>
15833 * po/ru.po: Update from translation team.
15834 * po/vi.po: Likewise.
15836 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15838 * resolv/nss_dns/dns-host.c: Merge copyright years.
15840 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15842 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15843 Optimize memcpy with prefetch if
15844 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15845 src, dst pointers have unequal 16 byte alignments.
15847 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15850 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15851 from a CNAME entry and return the minimum ttl for the query.
15852 (gaih_getanswer_slice): Likewise.
15854 2012-03-30 Jeff Law <law@redhat.com>
15856 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15858 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15859 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15861 * resolv/nss_dns/dns-host.c: Update copyright year.
15863 2012-03-30 Ulrich Drepper <drepper@gmail.com>
15865 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15866 requests to save a system call. Fix check that all bytes are sent.
15868 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15869 comments for sendmmsg.
15871 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15874 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15875 with only 1 character between 0x0041 and 0x01b0.
15876 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15877 * wcsmbs/tst-mbsnrtowcs.c: New file.
15879 2012-03-29 David S. Miller <davem@davemloft.net>
15881 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15882 small copies by hand.
15884 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15887 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15888 _nss_compat_initgroups_dyn): Fall back to malloc/free
15889 for large group memberships.
15891 2012-03-28 David S. Miller <davem@davemloft.net>
15893 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15894 that branches into memcpy.
15895 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15896 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15897 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15898 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15899 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15901 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15902 implementation too.
15903 * sysdeps/sparc/mempcpy.S: New file.
15905 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15906 the IFUNC routine in the libc case.
15907 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15909 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15910 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15911 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15912 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15913 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15914 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15915 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15916 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15918 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15919 loop to 256 bytes instead of 64 bytes and fix test signedness.
15921 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15922 * sysdeps/sparc/sparc32/Makefile: rather than here...
15923 * sysdeps/sparc/sparc64/Makefile: and here.
15925 2012-03-28 Ulrich Drepper <drepper@gmail.com>
15927 * malloc/mallocbug.c: Avoid warnings about unused variables.
15929 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15932 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15933 in the right place. Discard and retry query if response is
15934 larger than input buffer size.
15936 2012-03-28 Joseph Myers <joseph@codesourcery.com>
15941 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15942 x for large integer exponent.
15943 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15944 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15945 sign of result as needed afterwards.
15946 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15947 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15948 result for underflowing pow the same as for overflow.
15949 (__kernel_standard_l): Handle powl overflow and underflow here
15950 rather than calling __kernel_standard.
15951 * math/libm-test.inc (pow_test): Add more tests.
15966 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15967 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15968 (__kernel_standard_l): New function.
15969 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15971 * math/w_acosl.c (__acosl): Likewise.
15972 * math/w_asinl.c (__asinl): Likewise.
15973 * math/w_atan2l.c (__atan2l): Likewise.
15974 * math/w_atanhl.c (__atanhl): Likewise.
15975 * math/w_coshl.c (__coshl): Likewise.
15976 * math/w_exp10l.c (__exp10l): Likewise.
15977 * math/w_exp2l.c (__exp2l): Likewise.
15978 * math/w_fmodl.c (__fmodl): Likewise.
15979 * math/w_hypotl.c (__hypotl): Likewise.
15980 * math/w_j0l.c (__j0l, __y0l): Likewise.
15981 * math/w_j1l.c (__j1l, __y1l): Likewise.
15982 * math/w_jnl.c (__jnl, __ynl): Likewise.
15983 * math/w_lgammal.c (__lgammal): Likewise.
15984 * math/w_log10l.c (__log10l): Likewise.
15985 * math/w_log2l.c (__log2l): Likewise.
15986 * math/w_logl.c (__logl): Likewise.
15987 * math/w_powl.c (__powl): Likewise.
15988 * math/w_remainderl.c (__remainderl): Likewise.
15989 * math/w_scalbl.c (sysv_scalbl): Likewise.
15990 * math/w_sinhl.c (__sinhl): Likewise.
15991 * math/w_sqrtl.c (__sqrtl): Likewise.
15992 * math/w_tgammal.c (__tgammal): Likewise.
15993 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15994 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15995 * math/libm-test.inc (acos_test): Add more tests.
15996 (acosh_test): Likewise.
15997 (asin_test): Likewise.
15998 (atanh_test): Likewise.
15999 (exp_test): Likewise.
16000 (exp10_test): Likewise.
16001 (exp2_test): Likewise.
16002 (expm1_test): Likewise.
16003 (lgamma_test): Likewise.
16004 (log_test): Likewise.
16005 (log10_test): Likewise.
16006 (log1p_test): Likewise.
16007 (log2_test): Likewise.
16008 (pow_test): Do not allow some spurious overflow exceptions.
16009 (sqrt_test): Add more tests.
16010 (tgamma_test): Likewise.
16011 (y0_test): Likewise.
16012 (y1_test): Likewise.
16013 (yn_test): Likewise.
16015 2012-03-27 Anton Blanchard <anton@samba.org>
16017 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16019 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16020 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16021 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16023 2012-03-27 David S. Miller <davem@davemloft.net>
16025 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16027 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16028 have-as-vis3 check.
16030 2012-03-27 Andreas Jaeger <aj@suse.de>
16032 * sysdeps/x86_64/elf/configure.in: Moved to ...
16033 * sysdeps/x86_64/configure.in: ... here.
16034 * sysdeps/x86_64/elf/start.S: Moved to ...
16035 * sysdeps/x86_64/start.S: ... here.
16036 * sysdeps/x86_64/elf/configure: Delete.
16038 * sysdeps/x86_64/configure.in: Merge contents from
16039 sysdeps/i386/configure.in (without i686 check).
16041 * sysdeps/i386/elf/Versions: Merge into ...
16042 * sysdeps/i386/Versions: ... this.
16043 * sysdeps/i386/elf/Versions: Delete file.
16044 * sysdeps/i386/elf/start.S: Moved to ...
16045 * sysdeps/i386/start.S: ...here.
16046 * sysdeps/i386/elf/configure.in: Merge into...
16047 * sysdeps/i386/configure.in: ...here.
16048 * sysdeps/i386/elf/configure.in: Delete file.
16049 * sysdeps/i386/elf/configure: Delete file.
16051 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16052 * debug/backtracesyms.c: ... here.
16053 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16054 * debug/backtracesymsfd.c: ... here.
16055 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16056 * sysdeps/generic/ifunc-sel.h: ... here.
16058 * sysdeps/unix/i386/start.c: Delete file.
16059 * sysdeps/unix/sparc/start.c: Delete file.
16060 * sysdeps/unix/start.c: Delete file.
16062 * sysdeps/sh/elf/configure.in: Moved to ...
16063 * sysdeps/sh/configure.in: ... here.
16064 * sysdeps/sh/elf/start.S: Moved to ...
16065 * sysdeps/sh/start.S: ... here.
16066 * sysdeps/sh/elf/configure: Delete file.
16068 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16069 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16070 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16071 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16072 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16073 * sysdeps/powerpc/powerpc64/start.S: here.
16074 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16075 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16076 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16077 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16078 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16080 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16081 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16082 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16083 * sysdeps/powerpc/powerpc32/start.S: ... here.
16084 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16085 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16086 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16088 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16089 * sysdeps/powerpc/ifunc-sel.h: ... here.
16090 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16091 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16093 * sysdeps/sparc/elf/configure.in: Moved to ...
16094 * sysdeps/sparc/configure.in: ... here.
16095 * sysdeps/sparc/elf/configure: Delete file.
16096 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16097 * sysdeps/sparc/sparc32/start.S: ... here.
16098 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16099 * sysdeps/sparc/sparc64/start.S: ... here.
16100 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16101 * sysdeps/sparc/sparc32/Makefile: ... this.
16102 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16103 * sysdeps/sparc/sparc64/Makefile: ... this.
16105 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16106 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16107 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16108 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16109 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16110 * sysdeps/s390/s390-32/setjmp.S: ... here.
16111 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16112 * sysdeps/s390/s390-32/configure.in: ... here.
16113 * sysdeps/s390/s390-32/elf/configure: Delete file.
16114 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16115 * sysdeps/s390/s390-32/start.S: ... here.
16117 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16118 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16119 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16120 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16121 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16122 * sysdeps/s390/s390-64/setjmp.S: ... here.
16123 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16124 * sysdeps/s390/s390-64/configure.in: ... here
16125 * sysdeps/s390/s390-64/elf/configure: Delete file.
16126 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16127 * sysdeps/s390/s390-64/start.S: ... here.
16128 * sysdeps/s390/s390-64/elf/configure: Delete.
16130 * configure.in: Remove support for elf directories in sysdeps.
16132 * configure: Regenerated.
16133 * sysdeps/i386/configure: Regenerated.
16134 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16135 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16136 * sysdeps/s390/s390-32/configure: Regenerated.
16137 * sysdeps/s390/s390-64/configure: Regenerated.
16138 * sysdeps/sh/configure: Regenerated.
16139 * sysdeps/sparc/configure: Regenerated.
16140 * sysdeps/x86_64/configure: Regenerated.
16142 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16146 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16147 denormal result into account.
16149 2012-03-25 Roland McGrath <roland@hack.frob.com>
16151 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16152 Reported by Allan McRae <allan@archlinux.org>.
16154 2012-03-23 Jeff Law <law@redhat.com>
16156 * nss/getnssent.c (__nss_getent): Fix typo.
16158 2012-03-23 David S. Miller <davem@davemloft.net>
16160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16162 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16164 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16165 to pad to uint64_t for each field.
16166 (dl_tls_index): Replace unsigned long with uint64_t.
16168 2012-03-23 Daniel Jacobowitz <dmj@google.com>
16169 Paul Pluzhnikov <ppluzhnikov@google.com>
16172 * grp/Makefile (otherlibs): Don't set it.
16173 * inet/Makefile (otherlibs): Likewise.
16174 * login/Makefile (otherlibs): Likewise.
16175 * nscd/Makefile (otherlibs): Likewise.
16176 * posix/Makefile (otherlibs): Likewise.
16177 * pwd/Makefile (otherlibs): Likewise.
16178 * rt/Makefile (otherlibs): Likewise.
16179 * sunrpc/Makefile (otherlibs): Likewise.
16180 * nss/Makefile (otherlibs): Likewise.
16181 Add libnss_files to routines and static-only-routines.
16182 ($(objpfx)getent): Remove rule.
16183 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16184 static-only-routines.
16186 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16189 * math/s_cexp.c: Include <float.h>.
16190 (__cexp): Handle exp result overflowing not necessarily
16191 overflowing both real and imaginary parts of result.
16192 * math/s_cexpf.c: Likewise.
16193 * math/s_cexpl.c: Likewise.
16194 * math/libm-test.inc (cexp_test): Add more tests.
16195 * sysdeps/i386/fpu/libm-test-ulps: Update.
16196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16198 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16200 * include/link.h (ELFW): New macro.
16201 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16202 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16204 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16206 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16209 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16211 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16213 (struct La_x32_retval): Likewise.
16215 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16217 * sysdeps/x86_64/preconfigure.in: New file.
16218 * sysdeps/x86_64/preconfigure: New generated file.
16220 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16223 * math/e_exp2l.c: Include <float.h>.
16224 (__ieee754_exp2l): Handle overflow and underflow cases
16225 separately. Only pass fractional part of argument to
16227 * math/libm-test.inc (exp2_test): Add more tests.
16229 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16230 negating x to take absolute value.
16231 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16233 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16234 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16236 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16237 computing low part if x was negated.
16238 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16240 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16242 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16243 la_x32_gnu_pltexit.
16244 (pltexit): Cast int_retval to ptrdiff_t.
16245 * elf/tst-auditmod3b.c: Likewise.
16246 * elf/tst-auditmod4b.c: Likewise.
16247 * elf/tst-auditmod5b.c: Likewise.
16248 * elf/tst-auditmod6b.c: Likewise.
16249 * elf/tst-auditmod6c.c: Likewise.
16250 * elf/tst-auditmod7b.c: Likewise.
16252 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16253 and x32_gnu_pltexit.
16255 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16256 __ELF_NATIVE_CLASS.
16257 (La_x32_regs): New macro.
16258 (La_x32_retval): Likewise.
16259 (la_x32_gnu_pltenter): New function prototype.
16260 (la_x32_gnu_pltexit): Likewise.
16262 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16264 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16269 * configure.in (libc_cv_cc_nofma): Check for option to disable
16270 generation of FMA instructions.
16271 * configure: Regenerate.
16272 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16273 * sysdeps/ieee754/dbl-64/Makefile: New file.
16274 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16275 Remove brandred-fma4.
16276 (CFLAGS-brandred-fma4.c): Remove.
16277 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16278 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16280 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16283 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16285 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16286 LLONG_MAX != LONG_MAX.
16287 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16288 (_fitoa_word): Likewise.
16289 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16290 LLONG_MAX != LONG_MAX.
16291 * stdio-common/_itowa.h: Include <_itoa.h>.
16292 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16293 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16294 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16295 only if not defined.
16296 (_ITOA_WORD_TYPE): Likewise.
16297 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16298 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16300 2012-03-21 David S. Miller <davem@davemloft.net>
16302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16304 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16306 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16307 of x86_64 when setting libc_cv_slibdir, libdir and
16309 * sysdeps/unix/sysv/linux/configure: Regenerated.
16311 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16313 * manual/lang.texi (Old Varargs): Remove section.
16314 (How Variadic): Update menu.
16315 (va_start): Do not mention varargs.h.
16317 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16318 Joseph Myers <joseph@codesourcery.com>
16320 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16322 * configure: Regenerated.
16324 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16326 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16327 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16330 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16333 * Makefile (files-for-dist): Remove NOTES.
16334 (NOTES): Remove rule.
16335 * README: Don't refer to NOTES.
16336 * manual/creature.texi: Don't include macros.texi.
16337 * manual/intro.texi (creature.texi): Remove comment referring to
16340 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16341 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16342 * configure: Regenerated.
16343 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16344 LIBC_TRY_CC_OPTION.
16345 (libc_cv_as_i686): Likewise.
16346 (libc_cv_cc_avx): Likewise.
16347 (libc_cv_cc_sse2avx): Likewise.
16348 (libc_cv_cc_fma4): Likewise.
16349 (libc_cv_cc_novzeroupper): Likewise.
16350 * sysdeps/i386/configure: Regenerated.
16353 * sysdeps/i386/fpu/s_cexp.S: Remove.
16354 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16355 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16356 * math/libm-test.inc (cexp_test): Add more tests.
16357 * sysdeps/i386/fpu/libm-test-ulps: Update.
16358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16360 2012-03-21 Allan McRae <allan@archlinux.org>
16362 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16364 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16367 * math/w_exp2.c: Do not include <float.h>.
16368 (o_threshold, u_threshold): Remove.
16369 (__exp2): Calculate result before checking finiteness and calling
16371 * math/w_exp2f.c: Likewise.
16372 * math/w_exp2l.c: Likewise.
16373 * math/libm-test.inc (exp2_test): Require overflow exception for
16377 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16378 range of signed 64-bit integers before using fistpll. Remove
16379 checks for whether integers fit in mantissa bits.
16380 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16381 the range of signed 32-bit integers before using fistpl. Remove
16382 checks for whether integers fit in mantissa bits.
16383 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16384 (__ieee754_powl): Test for y outside the range of signed 64-bit
16385 integers before using fistpll. Reduce 64-bit values to 63-bit
16387 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16388 divide-by-zero is raised for zero to large negative powers.
16389 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16390 (__ieee754_powl): Test for y outside the range of signed 64-bit
16391 integers before using fistpll. Reduce 64-bit values to 63-bit
16393 * math/libm-test.inc (pow_test): Add more tests.
16395 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16397 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16398 <stdio-common/_itoa.h>.
16399 * debug/segfault.c: Likewise.
16400 * elf/dl-cache.c: Likewise.
16401 * elf/dl-minimal.c: Likewise.
16402 * elf/dl-misc.c: Likewise.
16403 * elf/dl-sysdep.c: Likewise.
16404 * elf/dl-version.c: Likewise.
16405 * elf/rtld.c: Likewise.
16406 * hurd/hurdsock.c: Likewise.
16407 * hurd/lookup-retry.c: Likewise.
16408 * malloc/malloc.c: Likewise.
16409 * malloc/mtrace.c: Likewise.
16410 * nscd/nscd_getgr_r.c: Likewise.
16411 * nscd/nscd_getpw_r.c: Likewise.
16412 * nscd/nscd_getserv_r.c: Likewise.
16413 * posix/getopt_init.c: Likewise.
16414 * posix/wordexp.c: Likewise.
16415 * stdio-common/_itoa.c: Likewise.
16416 * stdio-common/printf_fphex.c: Likewise.
16417 * stdio-common/vfprintf.c: Likewise.
16418 * string/_strerror.c: Likewise.
16419 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16420 * sysdeps/i386/i686/hp-timing.h: Likewise.
16421 * sysdeps/mach/_strerror.c: Likewise.
16422 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16423 * sysdeps/mach/hurd/sethostid.c: Likewise.
16424 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16425 * sysdeps/mach/xpg-strerror.c: Likewise.
16426 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16427 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16428 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16429 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16430 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16431 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16432 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16433 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16434 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16435 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16436 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16437 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16438 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16439 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16440 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16441 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16442 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16443 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16444 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16445 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16446 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16448 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16450 * stdio-common/_itoa.h: Moved to ...
16451 * sysdeps/generic/_itoa.h: Here.
16453 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16455 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16456 instead of "_itoa.h" and "_itowa.h".
16457 * stdio-common/vfprintf.: Likewise.
16459 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16461 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16463 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16464 (__signbit): Likwise.
16465 (llrintf): Likwise.
16468 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16470 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16473 2012-03-20 Joseph Myers <joseph@codesourcery.com>
16475 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16476 OVERFLOW_EXCEPTION_OK.
16477 * math/libm-test.inc ("Philosophy"): Update comment about
16479 (OVERFLOW_EXCEPTION): Define.
16480 (OVERFLOW_EXCEPTION_OK): Likewise.
16481 (INVALID_EXCEPTION_OK): Renumber.
16482 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16483 (IGNORE_ZERO_INF_SIGN): Likewise.
16484 (test_exceptions): Handle FE_OVERFLOW.
16485 (exp10_test): Expect overflow exceptions.
16486 (exp2_test): Likewise.
16487 (expm1_test): Likewise.
16488 (nextafter_test): Likewise.
16489 (pow_test): Likewise.
16490 (scalbn_test): Likewise.
16491 (scalbln_test): Likewise.
16493 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16495 * sysdeps/x86_64/bits/atomic.h
16496 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16498 (atomic_exchange_acq): Likewise.
16499 (__arch_exchange_and_add_body): Likewise.
16500 (__arch_add_body): Likewise.
16501 (atomic_add_negative): Likewise.
16502 (atomic_add_zero): Likewise.
16504 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16506 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16507 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16509 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16511 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16512 Check __x86_64__ instead of __WORDSIZE.
16514 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16516 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16518 2012-03-19 David S. Miller <davem@davemloft.net>
16520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16522 * sysdeps/sparc/fpu/fenv_private.h: New file.
16523 * sysdeps/sparc/fpu/math_private.h: Use it.
16524 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16526 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16527 (libc_feholdexcept_setroundl): Remove.
16528 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16530 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16531 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16533 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16535 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16536 int64_t instead of long int.
16537 (INSERT_WORDS64): Likwise.
16539 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16541 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16542 _Unwind_GetCFA return to _Unwind_Ptr first.
16544 2012-03-19 Joseph Myers <joseph@codesourcery.com>
16547 * math/s_clog.c: Include <float.h>.
16548 (__clog): Scale large or subnormal inputs.
16549 * math/s_clogf.c: Likewise.
16550 * math/s_clogl.c: Likewise.
16551 * math/s_clog10.c: Include <float.h>.
16552 (M_LOG10_2): Define.
16553 (__clog10): Scale large or subnormal inputs.
16554 * math/s_clog10f.c: Likewise.
16555 * math/s_clog10l.c: Likewise.
16556 * math/libm-test.inc (clog_test): Add more tests.
16557 (clog10_test): Likewise.
16558 * sysdeps/i386/fpu/libm-test-ulps: Update.
16559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16562 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16564 * math/libm-test.inc (atan2_test): Add another test.
16566 * Makerules (common-objdir-compile): Remove.
16567 * sysdeps/unix/Makefile (config-generated): Do not add
16568 $(unix-generated) to variable.
16569 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16570 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16572 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16574 [generic bits/local_lim.h] (before-compile): Do not append to
16576 [generic bits/local_lim.h] (common-generated): Likewise.
16577 [generic sys/param.h] (before-compile): Do not append to variable.
16578 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16579 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16580 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16581 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16583 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16584 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16585 [generic sys/param.h] ($(addprefix
16586 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16587 [generic sys/param.h] (common-generated): Do not append to
16589 [generic sys/param.h] (sysdep_headers): Likewise.
16590 [generic bits/errno.h] (before-compile): Do not append to
16592 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16594 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16595 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16596 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16597 [generic bits/errno.h] (common-generated): Do not append to
16599 [generic bits/ioctls.h] (before-compile): Do not append to
16601 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16603 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16604 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16605 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16607 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16608 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16609 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16610 [generic bits/ioctls.h] (common-generated): Do not append to
16612 [generic sys/syscall.h] (syscall.h): Remove variable.
16613 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16615 [generic sys/syscall.h] (before-compile): Do not append to
16617 [generic sys/syscall.h] (common-generated): Likewise.
16618 * sysdeps/unix/errnos-tmpl.c: Remove file.
16619 * sysdeps/unix/errnos.awk: Likewise.
16620 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16621 * sysdeps/unix/ioctls.awk: Likewise.
16622 * sysdeps/unix/mk-local_lim.c: Likewise.
16623 * sysdeps/unix/snarf-ioctls: Likewise.
16625 2012-03-19 Richard Henderson <rth@twiddle.net>
16627 * sysdeps/i386/fpu/fenv_private.h: New file.
16628 * sysdeps/i386/fpu/math_private.h: Use it.
16629 (math_opt_barrier, math_force_eval): Remove.
16630 (libc_feholdexcept_setround_53bit): Remove.
16631 (libc_feupdateenv_53bit): Remove.
16632 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16633 (math_opt_barrier, math_force_eval): Remove.
16634 (libc_feholdexcept): Remove.
16635 (libc_feholdexcept_setround): Remove.
16636 (libc_fetestexcept, libc_fesetenv): Remove.
16637 (libc_feupdateenv_test): Remove.
16638 (libc_feupdateenv, libc_feholdsetround): Remove.
16639 (libc_feresetround): Remove.
16641 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16642 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16644 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16645 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16646 (libc_feupdateenv_testl): New.
16647 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16648 (libc_feupdateenv_testf): New.
16649 (libc_feupdateenv): Use libc_feupdateenv_test.
16650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16651 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16653 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16654 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16655 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16656 (libc_feresetround_noex): New.
16657 (libc_feresetround_noexf): New.
16658 (libc_feresetround_noexl): New.
16659 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16660 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16661 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16662 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16664 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16665 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16667 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16668 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16669 SET_RESTORE_ROUND_NOEX.
16670 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16671 SET_RESTORE_ROUND_NOEXF.
16672 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16673 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16674 (libc_feholdsetroundf): New.
16675 (libc_feresetround, libc_feresetroundf): New.
16677 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16678 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16679 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16681 * sysdeps/generic/math_private.h: Include <fenv.h>.
16682 (default_libc_feholdexcept): New.
16683 (default_libc_feholdexcept_setround): New.
16684 (default_libc_fesetenv, default_libc_feupdateenv): New.
16685 (libc_feholdexcept): Only define if undefined.
16686 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16687 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16688 (libc_feholdexcept_setroundl): Likewise.
16689 (libc_feholdexcept_setround_53bit): Likewise.
16690 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16691 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16692 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16693 (libc_feupdateenv_53bit): Likewise.
16694 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16695 (libc_feholdexcept): Convert from macro to inline function.
16696 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16697 (libc_fesetenv, libc_feupdateenv): Likewise.
16699 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16700 not previously defined.
16701 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16702 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16703 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16704 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16705 * sysdeps/ieee754/flt-32/math_private.h: New file.
16706 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16707 math_private.h below SET_FLOAT_WORD.
16708 (__isnan, __isinf_ns, __finite): Remove.
16709 (__isnanf, __isinf_nsf, __finitef): Remove.
16711 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16715 2012-03-17 David S. Miller <davem@davemloft.net>
16718 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16721 2012-03-16 David S. Miller <davem@davemloft.net>
16723 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16727 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16729 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16730 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16731 sysdep_routines when subdir is sysvipc.
16732 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16733 __getshmlba helper.
16735 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16737 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16739 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16742 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16744 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16745 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16746 (__lround): Renamed to ...
16747 (__llround): This. Replace long int with long long int.
16748 Define lround functions as aliases of llround functions.
16749 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16751 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16753 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16754 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16755 adresses to uintptr_t. Replace "long int" and "unsigned long
16756 int" with "greg_t" on va_arg.
16758 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16760 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16761 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16763 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16764 Move e_machine check before EI_CLASS check. Handle x32
16765 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16766 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16767 SKIP_EM_IA_64 and include
16768 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16770 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16771 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16772 (add_system_dir): New macro.
16774 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16775 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16777 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16788 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16790 * math/w_j0f.c (j0f): Likewise.
16792 * math/w_j0l.c (__j0l): Likewise.
16794 * math/w_j1.c (j1): Likewise.
16796 * math/w_j1f.c (j1f): Likewise.
16798 * math/w_j1l.c (__j1l): Likewise.
16800 * math/w_jn.c (jn): Likewise.
16802 * math/w_jnf.c (jnf): Likewise.
16804 * math/w_jnl.c (__jnl): Likewise.
16806 * math/libm-test.inc (j0_test): Add more tests.
16807 (j1_test): Likewise.
16808 (jn_test): Likewise. Add trailing semicolon to existing test.
16809 (y0_test): Likewise.
16810 (y1_test): Likewise.
16811 * sysdeps/i386/fpu/libm-test-ulps: Update.
16812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16816 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16817 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16818 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16819 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16820 (__tanl): Set errno for infinite argument.
16821 * sysdeps/i386/fpu/mptan.c: Remove.
16822 * sysdeps/i386/fpu/s_tan.S: Likewise.
16823 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16824 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16825 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16826 * math/libm-test.inc (tan_test): Add more tests and enable more
16827 tests for double and long double.
16828 * sysdeps/i386/fpu/libm-test-ulps: Update.
16829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16831 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16833 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16834 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16836 2012-03-16 Roland McGrath <roland@hack.frob.com>
16838 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16839 * configure.in: Use it for both main tree and add-ons.
16840 * configure: Regenerated.
16842 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16844 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16846 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16848 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16852 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16853 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16854 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16855 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16856 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16858 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16859 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16860 != 0 for prec == 2.
16861 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16862 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16863 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16864 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16865 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16866 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16867 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16868 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16869 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16870 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16871 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16872 * math/libm-test.inc (cos_test): Add more tests and enable more
16873 tests for long double.
16874 (sin_test): Likewise.
16875 (sincos_test): Likewise.
16876 * sysdeps/i386/fpu/libm-test-ulps: Update.
16877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16879 2012-03-16 David S. Miller <davem@davemloft.net>
16881 * sysdeps/sparc/fpu/math_private.h: New file.
16883 2012-03-15 David S. Miller <davem@davemloft.net>
16885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16895 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16899 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16900 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16902 * sysdeps/sparc/sparc-ifunc.h: New file.
16903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16927 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16928 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16929 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16930 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16931 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16932 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16937 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16938 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16939 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16940 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16941 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16942 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16943 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16944 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16945 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16946 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16948 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16950 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16954 2012-03-15 Andreas Jaeger <aj@suse.de>
16957 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16958 ieee754/flt-32 implementation for sin, cos and sincos.
16959 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16960 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16961 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16962 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16963 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16964 ieee754/flt-32 implementation for tan.
16966 * math/libm-test.inc (cos_test): Enable some large input tests for
16968 (sin_test): Likewise.
16969 (sincos_test): Likewise.
16970 (tan_test): Add tests for large input.
16972 * sysdeps/i386/fpu/libm-test-ulps: Update.
16974 2012-03-15 Andreas Jaeger <aj@suse.de>
16977 * math/libm-test.inc (cos_test): Add more test cases.
16978 (sin_test): Likewise.
16979 (sincos_test): Likewise.
16981 2012-03-15 Andreas Jaeger <aj@suse.de>
16984 * math/libm-test.inc (cos_test): Add a test case for large input
16986 (sin_test): Likewise.
16987 (sincos_test): Likewise.
16989 2012-03-15 Andreas Jaeger <aj@suse.de>,
16990 Joseph Myers <joseph@codesourcery.com>
16993 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16994 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16995 * sysdeps/i386/fpu/branred.c: Likewise.
16996 * sysdeps/i386/fpu/dosincos.c: Likewise.
16997 * sysdeps/i386/fpu/mpa.c: Likewise.
16998 * sysdeps/i386/fpu/s_cos.S: Likewise.
16999 * sysdeps/i386/fpu/s_sin.S: Likewise.
17000 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17001 * sysdeps/i386/fpu/sincos32.c: Likewise.
17003 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17005 (libc_feupdateenv_53bit): Define.
17006 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17008 (libc_feupdateenv_53bit): Define.
17010 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17011 53 bit (without extend i386 double precision).
17013 * math/libm-test.inc (sincos_test): Add tests for large input.
17017 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17019 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17023 2012-03-15 David S. Miller <davem@davemloft.net>
17025 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17026 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17027 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17028 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17052 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17053 fmin/fmax sysdep routines.
17054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17056 2012-03-14 David S. Miller <davem@davemloft.net>
17058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17059 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17060 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17061 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17062 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17063 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17064 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17065 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17066 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17078 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17079 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17080 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17081 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17082 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17083 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17084 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17085 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17086 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17130 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17135 * sysdeps/sparc/configure.in: New file.
17136 * sysdeps/sparc/configure: Generate.
17137 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17138 * configure: Regenerate.
17139 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17140 * config.make.in (have-as-vis3): New.
17141 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17142 available use -Av9d instead of -Av9a.
17143 * sysdeps/sparc/sparc64/Makefile: Likewise.
17144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17153 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17154 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17155 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17156 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17157 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17159 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17160 fzeros/fnegs to load 0x80000000 into a float register instead of
17162 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17164 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17166 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17168 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17169 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17170 ($(inst_includedir)/bits/syscall.h): Remove rule.
17171 ($(objpfx)bits/syscall.d): Include instead of
17172 $(objpfx)syscall-list.d.
17173 (generated): Change syscall-list.h and syscall-list.d to
17174 bits/syscall.h and bits/syscall.d.
17176 2012-03-14 Roland McGrath <roland@hack.frob.com>
17179 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17181 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17184 * math/s_csqrt.c: Include <float.h>.
17185 (__csqrt): Scale large or subnormal inputs.
17186 * math/s_csqrtf.c: Likewise.
17187 * math/s_csqrtl.c: Likewise.
17188 * math/libm-test.inc (csqrt_test): Add more tests.
17189 * sysdeps/i386/fpu/libm-test-ulps: Update.
17190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17193 * math/libm-test.inc (hypot_test): Add more tests.
17195 2012-03-13 David S. Miller <davem@davemloft.net>
17198 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17199 double-precision for the calculation instead of scaling.
17201 2012-03-13 Joseph Myers <joseph@codesourcery.com>
17203 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17204 manipulate bits before adding and subtracting TWO52[sx].
17205 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17206 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17208 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17210 2012-03-13 David S. Miller <davem@davemloft.net>
17212 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17213 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17214 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17215 rtld-global-offsets.h
17216 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17218 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17221 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17223 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17224 'err' in the ifdef scope in which it is actually used.
17226 * nss/nss_db/db-init.c: Include string.h
17228 2012-03-12 David S. Miller <davem@davemloft.net>
17230 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17231 masking out of the most significant byte of random value used.
17232 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17233 Fix coding style in previous change.
17235 * sysdeps/unix/sysv/linux/kernel-features.h
17236 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17237 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17239 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17242 2012-03-11 David S. Miller <davem@davemloft.net>
17244 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17245 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17246 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17247 for 'resultvar' otherwise things get truncated on 64-bit.
17249 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17250 Fix masking out of the most significant byte of random value used.
17252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17254 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17258 2012-03-09 David S. Miller <davem@davemloft.net>
17260 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17261 variables with appropriate CPP guards.
17262 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17263 frame pointer, not the stack pointer. Correct layout comments. Fix test
17264 on resulting framesize and the management of the outregs buffer for pltexit.
17265 Preserve floating point return values across _dl_call_pltexit call.
17266 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17267 framesize and the management of the outregs buffer for pltexit.
17268 Preserve floating point return values across _dl_call_pltexit
17270 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17271 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17272 (print_exit): Fix format string for return register value.
17274 2012-03-10 Joseph Myers <joseph@codesourcery.com>
17276 * sunrpc/Makefile (others): Add rpcgen.
17277 ($(objpfx)rpcgen): Remove special build rule and dependency on
17279 * sunrpc/rpcgen.c: New file.
17281 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17284 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17285 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17286 * sysdeps/i386/crti.S: Likewise.
17287 * sysdeps/i386/crtn.S: Likewise.
17288 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17289 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17290 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17291 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17292 * sysdeps/sh/crti.S: Likewise.
17293 * sysdeps/sh/crtn.S: Likewise.
17294 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17297 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17299 * locale/programs/locfile-kw.gperf: Likewise.
17300 * locale/programs/charmap-kw.h: Regenerated.
17301 * locale/programs/locfile-kw.h: Likewise.
17304 * intl/plural.y: Replace FSF snail mail address with URL.
17305 * intl/plural.c: Regenerated.
17307 2012-03-09 Richard Henderson <rth@twiddle.net>
17309 * include/math_private.h: Remove file.
17310 * math/math_private.h: Move file ...
17311 * sysdeps/generic/math_private.h: ... here.
17313 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17314 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17315 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17317 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17318 and <math_private.h>.
17319 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17320 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17321 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17322 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17323 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17324 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17325 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17326 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17327 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17328 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17329 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17330 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17331 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17332 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17333 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17334 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17335 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17336 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17337 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17338 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17339 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17340 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17341 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17342 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17343 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17344 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17345 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17346 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17347 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17348 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17349 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17350 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17351 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17352 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17353 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17354 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17355 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17356 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17357 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17358 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17359 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17360 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17361 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17362 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17363 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17364 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17365 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17366 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17367 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17368 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17369 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17370 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17371 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17372 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17373 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17374 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17375 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17376 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17377 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17378 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17379 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17380 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17381 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17382 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17383 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17384 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17385 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17386 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17387 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17388 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17389 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17390 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17391 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17392 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17393 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17394 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17395 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17396 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17397 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17398 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17399 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17400 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17401 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17402 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17403 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17404 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17405 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17406 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17407 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17408 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17409 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17410 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17411 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17412 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17413 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17414 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17415 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17416 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17417 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17418 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17419 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17420 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17421 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17422 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17423 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17424 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17425 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17426 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17427 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17428 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17429 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17430 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17431 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17432 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17433 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17434 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17435 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17436 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17437 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17438 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17439 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17440 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17441 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17442 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17443 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17444 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17445 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17446 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17447 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17448 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17449 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17450 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17451 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17452 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17453 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17454 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17455 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17456 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17457 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17458 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17459 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17460 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17461 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17462 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17463 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17464 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17465 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17466 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17467 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17468 * sysdeps/ieee754/k_standard.c: Likewise.
17469 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17470 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17471 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17472 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17473 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17474 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17475 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17476 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17477 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17478 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17479 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17480 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17481 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17482 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17483 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17484 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17485 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17486 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17487 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17488 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17489 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17490 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17491 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17492 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17493 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17494 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17495 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17496 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17497 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17498 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17499 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17500 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17501 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17502 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17503 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17504 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17505 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17506 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17507 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17508 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17509 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17510 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17511 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17512 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17513 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17514 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17515 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17516 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17517 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17518 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17519 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17520 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17521 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17522 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17523 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17524 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17525 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17526 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17527 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17528 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17529 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17530 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17531 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17532 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17533 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17534 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17535 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17536 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17537 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17538 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17539 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17540 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17541 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17542 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17543 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17544 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17545 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17546 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17547 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17548 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17549 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17550 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17551 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17552 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17553 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17554 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17555 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17556 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17557 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17558 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17559 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17560 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17561 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17562 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17563 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17564 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17565 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17566 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17567 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17568 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17569 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17570 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17571 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17572 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17573 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17574 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17575 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17576 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17577 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17578 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17579 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17580 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17581 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17582 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17583 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17584 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17585 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17586 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17587 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17588 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17589 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17590 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17591 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17592 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17593 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17594 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17595 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17596 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17597 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17598 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17599 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17600 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17601 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17602 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17603 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17604 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17605 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17606 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17607 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17608 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17609 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17610 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17611 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17612 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17613 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17614 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17615 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17616 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17617 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17618 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17619 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17620 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17621 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17622 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17623 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17624 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17625 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17626 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17627 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17628 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17629 * sysdeps/ieee754/s_lib_version.c: Likewise.
17630 * sysdeps/ieee754/s_matherr.c: Likewise.
17631 * sysdeps/ieee754/s_signgam.c: Likewise.
17632 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17633 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17634 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17635 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17636 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17637 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17638 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17639 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17640 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17641 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17642 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17643 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17644 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17645 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17646 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17647 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17648 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17649 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17650 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17651 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17652 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17654 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17656 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17657 * sunrpc/rpc_main.c: Likewise.
17658 * sunrpc/rpc_svcout.c: Likewise.
17660 2012-03-09 David S. Miller <davem@davemloft.net>
17662 * include/math_private.h: New file.
17664 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17666 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17667 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17668 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17669 from <bits/socket_type.h>.
17670 (enum __socket_type): Don't define here.
17671 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17673 bits/socket_type.h.
17676 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17677 checking __USE_GNU.
17679 * Makerules ($(inst_includedir)/%.h): New rule.
17680 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17681 (install-others): Remove variable setting.
17682 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17684 2012-03-08 Richard Henderson <rth@twiddle.net>
17686 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17687 from macro to inline function; merge with the
17688 !__LIBC_INTERNAL_MATH_INLINES version.
17689 (__ieee754_sqrtf): Likewise.
17691 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17692 to inline function.
17693 (__rintf, __floor, __floorf): Likewise.
17695 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17696 macro to inline function.
17697 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17699 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17700 not <math/math_private.h>.
17702 2012-03-08 David S. Miller <davem@davemloft.net>
17704 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17706 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17708 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17710 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17712 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17713 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17715 2012-03-08 Ulrich Drepper <drepper@gmail.com>
17717 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17718 be defined individually, they must be defined as a block. Define
17719 S for printing a string instead of hidint the different by using a
17720 macro for adding the 'l'.
17721 * stdio-common/tst-fphex-wide.c: Adjust.
17723 2012-03-07 Marek Polacek <polacek@redhat.com>
17725 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17727 2012-03-08 Marek Polacek <polacek@redhat.com>
17730 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17731 * stdio-common/tst-fphex.c: Define a few macros to make the
17732 test reusable. Use them.
17733 * stdio-common/tst-fphex-wide.c: New file.
17735 2012-03-08 Joseph Myers <joseph@codesourcery.com>
17738 * manual/macros.texi (gnusystems): New macro.
17739 (nongnusystems): Likewise.
17740 (gnulinuxhurdsystems): Likewise.
17741 (gnuhurdsystems): Likewise..
17742 (gnulinuxsystems): Likewise.
17743 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17744 variants of the GNU system, not "GNU system".
17745 * manual/conf.texi: Likewise.
17746 * manual/errno.texi: Likewise. Update example of errno macro
17748 * manual/filesys.texi: Likewise.
17749 (getumask): Document as specific to GNU/Hurd.
17750 * manual/install.texi: Likewise. Reword some references to
17752 * manual/intro.texi: Likewise.
17753 * manual/io.texi: Likewise.
17754 (File Name Portability): Detail which constraints are inapplicable
17755 to all GNU systems and which are only inapplicable to GNU/Hurd.
17756 * manual/job.texi: Likewise.
17757 * manual/llio.texi: Likewise.
17758 (O_NOCTTY): Document as present on GNU/Linux.
17759 * manual/maint.texi: Likewise.
17760 * manual/memory.texi: Likewise.
17761 * manual/pattern.texi: Likewise.
17762 * manual/pipe.texi: Likewise.
17763 * manual/process.texi: Likewise.
17764 * manual/resource.texi: Likewise.
17765 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17767 * manual/setjmp.texi: Likewise.
17768 * manual/signal.texi: Likewise.
17769 * manual/startup.texi: Likewise.
17770 * manual/stdio.texi: Likewise.
17771 * manual/terminal.texi: Likewise.
17772 (ONLCR): Document as POSIX.
17773 (OXTABS): Document availability on GNU/Linux as XTABS.
17774 (ONOEOT): Document availability separately from other bits.
17775 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17776 * manual/time.texi: Likewise.
17777 * manual/users.texi: Likewise.
17778 * INSTALL: Regenerated.
17779 * sysdeps/gnu/errlist.c: Regenerated.
17781 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17782 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17783 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17785 * configure: Regenerated.
17787 2012-03-07 Joseph Myers <joseph@codesourcery.com>
17789 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17790 default includes instead of AC_HEADER_CHECK.
17791 * sysdeps/i386/configure: Regenerated.
17794 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17795 * math/s_cacoshf.c (__cacoshf): Likewise.
17796 * math/s_cacoshl.c (__cacoshl): Likewise.
17797 * math/s_casinh.c (__casinh): Set signs of result from argument.
17798 * math/s_casinhf.c (__casinhf): Likewise.
17799 * math/s_casinhl.c (__casinhl): Likewise.
17800 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17801 (casinh_test): Add more tests.
17802 * sysdeps/i386/fpu/libm-test-ulps: Update.
17803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17805 2012-03-07 Ulrich Drepper <drepper@gmail.com>
17807 * po/zh_TW.po: Update from translation team.
17809 * login/Makefile (distribute): Remove variable.
17810 * catgets/Makefile: Likewise.
17811 * mach/Makefile: Likewise.
17812 * malloc/Makefile: Likewise.
17813 * misc/Makefile: Likewise.
17814 * iconv/Makefile: Likewise.
17815 * nscd/Makefile: Likewise.
17816 * hurd/Makefile: Likewise.
17817 * manual/Makefile: Likewise.
17818 * locale/Makefile: Likewise.
17819 * intl/Makefile: Likewise.
17820 * conform/Makefile: Likewise.
17821 * nss/Makefile: Likewise.
17822 * time/Makefile: Likewise.
17823 * soft-fp/Makefile: Likewise.
17824 * dirent/Makefile: Likewise.
17825 * gmon/Makefile: Likewise.
17826 * po/Makefile: Likewise.
17827 * rt/Makefile: Likewise.
17828 * socket/Makefile: Likewise.
17829 * math/Makefile: Likewise.
17830 * signal/Makefile: Likewise.
17831 * debug/Makefile: Likewise.
17832 * elf/Makefile: Likewise.
17833 * timezone/Makefile: Likewise.
17834 * stdlib/Makefile: Likewise.
17835 * iconvdata/Makefile: Likewise.
17836 * sunrpc/Makefile: Likewise.
17837 * io/Makefile: Likewise.
17838 * argp/Makefile: Likewise.
17839 * inet/Makefile: Likewise.
17840 * hesiod/Makefile: Likewise.
17841 * grp/Makefile: Likewise.
17842 * csu/Makefile: Likewise.
17843 * wctype/Makefile: Likewise.
17844 * crypt/Makefile: Likewise.
17845 * libio/Makefile: Likewise.
17846 * string/Makefile: Likewise.
17847 * nis/Makefile: Likewise.
17848 * resolv/Makefile: Likewise.
17849 * stdio-common/Makefile: Likewise.
17850 * wcsmbs/Makefile: Likewise.
17851 * dlfcn/Makefile: Likewise.
17852 * posix/Makefile: Likewise.
17855 * timezone/Makefile: Don't install timezone files, just the programs
17858 2012-03-06 Ulrich Drepper <drepper@gmail.com>
17860 * nss/databases.def: Add missing gshadow entry.
17862 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17864 2012-03-06 Marek Polacek <polacek@redhat.com>
17867 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17868 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17869 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17870 * stdio-common/tst-long-dbl-fphex.c: New file.
17872 2012-03-06 David S. Miller <davem@davemloft.net>
17874 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17875 (set_obp_int): New function.
17876 (get_obp_int): New function.
17877 (__get_clockfreq_via_dev_openprom): Likewise.
17878 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17879 Avoid unused variable warnings on 'val' and use builtin_expect.
17880 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17882 (INLINE_CLONE_SYSCALL): Likewise.
17884 2012-03-05 David S. Miller <davem@davemloft.net>
17886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17888 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17892 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17893 only for |x| >= 40.
17894 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17896 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
17898 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17899 Replace gettimeofday with __vdso_gettimeofday.
17901 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17902 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17903 __vdso_clock_gettime and __vdso_getcpu.
17905 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17906 time with __vdso_time.
17908 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17910 * manual/lang.texi (size_t): Note types to which size_t may be
17911 equivalent with the GNU C Library, but do not describe when
17912 differences between them are significant.
17914 2012-03-05 Andreas Jaeger <aj@suse.de>
17916 * sysdeps/i386/fpu/libm-test-ulps: Update.
17918 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17921 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17922 (__ieee754_pow): Save and restore rounding mode and use
17923 round-to-nearest for main computations.
17924 * math/libm-test.inc (pow_test_tonearest): New function.
17925 (pow_test_towardzero): Likewise.
17926 (pow_test_downward): Likewise.
17927 (pow_test_upward): Likewise.
17928 (main): Call the new functions.
17929 * sysdeps/i386/fpu/libm-test-ulps: Update.
17930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17933 * math/libm-test.inc (cosh_test_tonearest): New function.
17934 (cosh_test_towardzero): Likewise.
17935 (cosh_test_downward): Likewise.
17936 (cosh_test_upward): Likewise.
17937 (sinh_test_tonearest): Likewise.
17938 (sinh_test_towardzero): Likewise.
17939 (sinh_test_downward): Likewise.
17940 (sinh_test_upward): Likewise.
17941 (main): Call the new functions.
17942 * sysdeps/i386/fpu/libm-test-ulps: Update.
17943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17945 2012-03-05 Tom de Vries <tom@codesourcery.com>
17947 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17948 default stack guard is set in last bytes.
17949 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17951 2012-03-05 Kees Cook <keescook@chromium.org>
17953 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17956 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17957 possibly allocate from heap instead of stack.
17958 * stdio-common/bug-vfprintf-nargs.c: New file.
17959 * stdio-common/Makefile (tests): Add nargs overflow test.
17961 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17965 2012-03-03 Marek Polacek <polacek@redhat.com>
17967 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17968 * math/math_private.h: Likewise.
17969 * stdlib/tst-strtod.c: Likewise.
17970 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17971 * sysdeps/x86_64/bits/atomic.h: Likewise.
17973 2012-03-02 David S. Miller <davem@davemloft.net>
17975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17979 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17980 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17981 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17982 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17984 2012-03-02 Roland McGrath <roland@hack.frob.com>
17987 * manual/examples/README: New file, says the example source files
17988 can be used under GPL>=2.
17989 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17990 line containing just "*/".
17991 * manual/examples/add.c: Add copyright header (GPL>=2).
17992 * manual/examples/argp-ex1.c: Likewise.
17993 * manual/examples/argp-ex2.c: Likewise.
17994 * manual/examples/argp-ex3.c: Likewise.
17995 * manual/examples/argp-ex4.c: Likewise.
17996 * manual/examples/atexit.c: Likewise.
17997 * manual/examples/db.c: Likewise.
17998 * manual/examples/dir.c: Likewise.
17999 * manual/examples/dir2.c: Likewise.
18000 * manual/examples/execinfo.c: Likewise.
18001 * manual/examples/filecli.c: Likewise.
18002 * manual/examples/filesrv.c: Likewise.
18003 * manual/examples/fmtmsgexpl.c: Likewise.
18004 * manual/examples/genpass.c: Likewise.
18005 * manual/examples/inetcli.c: Likewise.
18006 * manual/examples/inetsrv.c: Likewise.
18007 * manual/examples/isockad.c: Likewise.
18008 * manual/examples/longopt.c: Likewise.
18009 * manual/examples/memopen.c: Likewise.
18010 * manual/examples/memstrm.c: Likewise.
18011 * manual/examples/mkfsock.c: Likewise.
18012 * manual/examples/mkisock.c: Likewise.
18013 * manual/examples/mygetpass.c: Likewise.
18014 * manual/examples/pipe.c: Likewise.
18015 * manual/examples/popen.c: Likewise.
18016 * manual/examples/rprintf.c: Likewise.
18017 * manual/examples/search.c: Likewise.
18018 * manual/examples/select.c: Likewise.
18019 * manual/examples/setjmp.c: Likewise.
18020 * manual/examples/sigh1.c: Likewise.
18021 * manual/examples/sigusr.c: Likewise.
18022 * manual/examples/stpcpy.c: Likewise.
18023 * manual/examples/strdupa.c: Likewise.
18024 * manual/examples/strftim.c: Likewise.
18025 * manual/examples/strncat.c: Likewise.
18026 * manual/examples/subopt.c: Likewise.
18027 * manual/examples/swapcontext.c: Likewise.
18028 * manual/examples/termios.c: Likewise.
18029 * manual/examples/testopt.c: Likewise.
18030 * manual/examples/testpass.c: Likewise.
18031 * manual/examples/timeval_subtract.c: Likewise.
18034 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18036 * manual/timeval_subtract.c.texi: ... here, new file.
18038 2012-03-02 David S. Miller <davem@davemloft.net>
18040 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18042 2012-03-02 Joseph Myers <joseph@codesourcery.com>
18045 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18046 (__sin): Save and restore rounding mode and use round-to-nearest
18047 for all computations.
18048 (__cos): Save and restore rounding mode and use round-to-nearest
18049 for all computations.
18050 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18052 (tan): Save and restore rounding mode and use round-to-nearest for
18054 * math/libm-test.inc (cos_test_tonearest): New function.
18055 (cos_test_towardzero): Likewise.
18056 (cos_test_downward): Likewise.
18057 (cos_test_upward): Likewise.
18058 (sin_test_tonearest): Likewise.
18059 (sin_test_towardzero): Likewise.
18060 (sin_test_downward): Likewise.
18061 (sin_test_upward): Likewise.
18062 (tan_test_tonearest): Likewise.
18063 (tan_test_towardzero): Likewise.
18064 (tan_test_downward): Likewise.
18065 (tan_test_upward): Likewise.
18066 (main): Call the new functions.
18067 * sysdeps/i386/fpu/libm-test-ulps: Update.
18068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18071 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18072 small n, then large n, before computing and testing k+n.
18073 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18074 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18076 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18078 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18079 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18080 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18081 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18082 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18083 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18084 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18085 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18086 * math/libm-test.inc (scalbn_test): Add more tests.
18087 (scalbln_test): Likewise.
18089 * manual/filesys.texi (mode_t): Describe constraints on size and
18090 signedness, not exact equivalence to a particular type.
18092 (ino64_t): Likewise.
18094 (nlink_t): Likewise.
18095 (blkcnt_t): Likewise.
18096 (blkcnt64_t): Likewise.
18097 * manual/llio.texi (off_t): Likewise.
18100 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18101 (__ieee754_exp): Save and restore rounding mode and use
18102 round-to-nearest for all computations.
18103 * math/libm-test.inc (exp_test_tonearest): New function.
18104 (exp_test_towardzero): Likewise.
18105 (exp_test_downward): Likewise.
18106 (exp_test_upward): Likewise.
18107 (main): Call the new functions.
18108 * sysdeps/i386/fpu/libm-test-ulps: Update.
18109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18111 2012-03-01 Chris Demetriou <cgd@google.com>
18113 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18114 have predictable order.
18116 2012-03-01 David S. Miller <davem@davemloft.net>
18118 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18120 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18121 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18122 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18123 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18125 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18126 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18127 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18129 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18130 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18131 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18132 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18133 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18137 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18138 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18139 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18141 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18142 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18143 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18144 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18145 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18146 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18147 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18148 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18149 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18150 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18151 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18152 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18153 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18154 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18155 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18156 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18157 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18158 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18159 * sysdeps/sparc/elf/configure: Regenerated.
18161 2012-03-01 Joseph Myers <joseph@codesourcery.com>
18163 * configure.in (AS, LD): Require binutils 2.20 or later.
18164 * configure: Regenerated.
18165 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18166 as required minimum version.
18167 * INSTALL: Regenerated.
18171 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18172 before squaring exponent.
18173 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18174 bottom long double and 27 bits of top long double before squaring
18176 * math/libm-test.inc (erfc_test): Add more tests.
18177 * sysdeps/i386/fpu/libm-test-ulps: Update.
18178 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18181 2012-03-01 Kai Tietz <ktietz@redhat.com>
18183 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18184 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18185 containing bit-fields.
18186 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18187 * soft-fp/single.h (_FP_UNION_S): Likewise.
18188 * soft-fp/double.h (_FP_UNION_D): Likewise.
18190 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18193 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18194 not include ../strcmp.S.
18195 [USE_AS_STRNCASECMP_L]: Likewise.
18196 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18197 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18198 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18199 (__strncasecmp_l_ia32): Define as alias to
18200 __strncasecmp_l_nonascii.
18203 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18204 * sysdeps/i386/fpu/libm-test-ulps: Update.
18205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18207 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18210 2012-02-29 Jeff Law <law@redhat.com>
18212 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18213 out of bounds read.
18215 2012-02-29 Marek Polacek <polacek@redhat.com>
18218 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18219 * elf/Makefile: Add rules to run tst-unused-dep.out.
18221 2012-02-28 David S. Miller <davem@davemloft.net>
18223 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18224 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18225 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18226 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18227 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18228 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18230 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18232 * math/libm-test.inc (llround_test): Move one test from
18233 lround_test. Use TEST_f_L in moved test.
18234 (lround_test): Move misplaced test to llround_test. Add testcase
18237 2012-02-28 Ulrich Drepper <drepper@gmail.com>
18239 * sysdeps/x86_64/fpu/e_expf.S: New file.
18240 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18242 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18245 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18246 of remain_len that may cause incomplete multi-byte character and
18248 * posix/bug-regex33.c: New file.
18249 * posix/Makefile (tests): Add bug-regex33.
18251 2012-02-28 Joseph Myers <joseph@codesourcery.com>
18253 * manual/macros.texi: New file.
18254 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18255 * manual/libc.texinfo: Include macros.texi.
18256 * manual/creatute.texi: Likewise.
18257 * manual/install.texi: Likewise.
18258 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18259 @glibcadj{} in references to the GNU C Library.
18260 * manual/charset.texi: Likewise.
18261 * manual/conf.texi: Likewise.
18262 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18263 when not using those macros.
18264 * manual/creature.texi: Likewise.
18265 * manual/crypt.texi: Likewise.
18266 * manual/errno.texi: Likewise.
18267 * manual/filesys.texi: Likewise.
18268 * manual/header.texi: Likewise.
18269 * manual/install.texi: Likewise.
18270 * manual/intro.texi: Likewise.
18271 * manual/io.texi: Likewise.
18272 * manual/job.texi: Likewise.
18273 * manual/lang.texi: Likewise.
18274 * manual/libc.texiinfo: Likewise.
18275 * manual/llio.texi: Likewise.
18276 * manual/locale.texi: Likewise.
18277 * manual/maint.texi: Likewise.
18278 * manual/math.texi: Likewise.
18279 * manual/memory.texi: Likewise.
18280 * manual/message.texi: Likewise.
18281 * manual/nss.texi: Likewise.
18282 * manual/pattern.texi: Likewise.
18283 * manual/process.texi: Likewise.
18284 * manual/resource.texi: Likewise.
18285 * manual/search.texi: Likewise.
18286 * manual/setjmp.texi: Likewise.
18287 * manual/signal.texi: Likewise.
18288 * manual/socket.texi: Likewise.
18289 * manual/startup.texi: Likewise.
18290 * manual/stdio.texi: Likewise.
18291 * manual/string.texi: Likewise.
18292 * manual/sysinfo.texi: Likewise.
18293 * manual/syslog.texi: Likewise.
18294 * manual/terminal.texi: Likewise.
18295 * manual/time.texi: Likewise.
18296 * manual/users.texi: Likewise.
18297 * INSTALL: Regenerated.
18298 * NOTES: Regenerated.
18299 * sysdeps/gnu/errlist.c: Regenerated.
18301 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18303 * include/dirent.h: Include <dirstream.h> before
18306 2012-02-28 David S. Miller <davem@davemloft.net>
18308 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18309 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18310 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18311 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18313 2012-02-27 David S. Miller <davem@davemloft.net>
18315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18317 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18318 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18321 frame pointer instead of stack pointer relative arg slot.
18322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18323 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18324 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18326 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18329 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18331 2012-02-27 David S. Miller <davem@davemloft.net>
18333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18337 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18338 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18339 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18340 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18342 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18344 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18345 later. Allow versions 5-9.
18346 * configure: Regenerated.
18347 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18348 required minimum version and 4.6 as recommended version. Do not
18349 mention bugs in GCC 2.7 and 2.8.
18350 * INSTALL: Regenerated.
18352 2012-02-27 David S. Miller <davem@davemloft.net>
18354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18358 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18359 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18360 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18361 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18363 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18364 manipulate bits before adding and subtracting TWO112[sx].
18365 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18367 2012-02-27 Roland McGrath <roland@hack.frob.com>
18370 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18371 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18372 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18373 being in POSIX, because they are in 1003.1-2008.
18375 * rt/tst-aio.c: Include <fcntl.h>.
18376 * rt/tst-aio7.c: Likewise.
18377 * rt/tst-aio64.c: Likewise.
18379 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18381 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18383 * manual/install.texi (--with-headers): Describe headers as
18384 interface headers, not private headers.
18385 (Specific advice for GNU/Linux systems): Describe use of headers
18386 from "make headers_install", not private headers from older
18388 * INSTALL: Regenerated.
18389 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18391 * sysdeps/unix/sysv/linux/configure: Regenerated.
18393 * manual/llio.texi (fclean): Remove documentation.
18395 * manual/Makefile (libc-texi-generated): New variable. Include
18397 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18398 $(libc-texi-generated), not duplicated list of files.
18399 (version.texi, stamp-version): New rules.
18400 (realclean): Remove $(libc-texi-generated), not individual files
18401 from that list. Do not remove dir-add.texinfo.
18402 * manual/libc.texinfo: Comment out uses of edition numbers and
18403 references to printed manual. Remove last-updated dates.
18404 (EDITION): Comment out.
18406 (VERSION, UPDATED): Remove.
18407 (version.texi): Include.
18409 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18411 * sysdeps/posix/spawni.c: Include <signal.h>.
18412 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18413 * sysdeps/pthread/aio_fsync.c: Likewise.
18415 2012-02-26 Ulrich Drepper <drepper@gmail.com>
18417 * conform/Makefile (tests): Run only when not cross-compiling and
18418 when fast-check is not defined.
18420 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18421 * conform/data/limits.h-data: Fixes for POSIX2008.
18422 * conform/run-conformtest.sh: Run all tests.
18423 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18425 * include/bits/dlfcn.h: Likewise.
18426 * include/langinfo.h: Likewise.
18427 * include/monetary.h: Likewise.
18428 * include/sys/poll.h: Likewise.
18430 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18432 * posix/spawn.h: Define __need_sigset_t.
18433 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18434 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18435 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18436 to get sigevent_t only.
18437 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18438 only for __USE_GNU.
18439 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18440 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18441 process_vm_writev only for __USE_GNU.
18442 * termios/termios.h: Declare tcgetsid also for POSIX2008.
18444 * conform/Makefile: For now ignore errors from run-conformtest.
18445 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18446 POSIX to avoid namespace pollution. Don't prepend headers.
18447 * conform/data/aio.h-data: Fixes for POSIX testing.
18448 * conform/data/fcntl.h-data: Likewise.
18449 * conform/data/glob.h-data: Likewise.
18450 * conform/data/grp.h-data: Likewise.
18451 * conform/data/pthread.h-data: Likewise.
18452 * conform/data/pwd.h-data: Likewise.
18453 * conform/data/signal.h-data: Likewise.
18454 * conform/data/spawn.h-data: Likewise.
18455 * conform/data/stdio.h-data: Likewise.
18456 * conform/data/stdlib.h-data: Likewise.
18457 * conform/data/stropts.h-data: Likewise.
18458 * conform/data/sys/mman.h-data: Likewise.
18459 * conform/data/sys/stat.h-data: Likewise.
18460 * conform/data/sys/types.h-data: Likewise.
18461 * conform/data/sys/wait.h-data: Likewise.
18462 * conform/data/time.h-data: Likewise.
18463 * conform/data/unistd.h-data: Likewise.
18464 * conform/data/utime.h-data: Likewise.
18466 * io/sys/stat.h: fchmod was always in POSIX.
18467 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18468 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18469 * rt/aio.h: Define __need_timespec before including <time.h>.
18470 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18471 struct. Add forward declaration of pthread_attr_t and use it in
18473 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18474 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18475 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18476 always remove CLK_TCK definition.
18478 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18480 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18482 2012-02-25 Ulrich Drepper <drepper@gmail.com>
18484 * conform/run-conformtest.sh: New file.
18485 * conform/Makefile: Run run-conformtest for tests.
18486 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18489 * conform/data/uchar.h-data: New file.
18490 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18491 * conform/data/arpa/inet.h-data: Likewise.
18492 * conform/data/assert.h-data: Likewise.
18493 * conform/data/complex.h-data: Likewise.
18494 * conform/data/cpio.h-data: Likewise.
18495 * conform/data/ctype.h-data: Likewise.
18496 * conform/data/dirent.h-data: Likewise.
18497 * conform/data/dlfcn.h-data: Likewise.
18498 * conform/data/errno.h-data: Likewise.
18499 * conform/data/fcntl.h-data: Likewise.
18500 * conform/data/float.h-data: Likewise.
18501 * conform/data/fmtmsg.h-data: Likewise.
18502 * conform/data/fnmatch.h-data: Likewise.
18503 * conform/data/ftw.h-data: Likewise.
18504 * conform/data/glob.h-data: Likewise.
18505 * conform/data/grp.h-data: Likewise.
18506 * conform/data/iconv.h-data: Likewise.
18507 * conform/data/inttypes.h-data: Likewise.
18508 * conform/data/langinfo.h-data: Likewise.
18509 * conform/data/libgen.h-data: Likewise.
18510 * conform/data/limits.h-data: Likewise.
18511 * conform/data/locale.h-data: Likewise.
18512 * conform/data/math.h-data: Likewise.
18513 * conform/data/monetary.h-data: Likewise.
18514 * conform/data/mqueue.h-data: Likewise.
18515 * conform/data/ndbm.h-data: Likewise.
18516 * conform/data/net/if.h-data: Likewise.
18517 * conform/data/netdb.h-data: Likewise.
18518 * conform/data/netinet/in.h-data: Likewise.
18519 * conform/data/nl_types.h-data: Likewise.
18520 * conform/data/poll.h-data: Likewise.
18521 * conform/data/pthread.h-data: Likewise.
18522 * conform/data/pwd.h-data: Likewise.
18523 * conform/data/regex.h-data: Likewise.
18524 * conform/data/sched.h-data: Likewise.
18525 * conform/data/search.h-data: Likewise.
18526 * conform/data/semaphore.h-data: Likewise.
18527 * conform/data/setjmp.h-data: Likewise.
18528 * conform/data/signal.h-data: Likewise.
18529 * conform/data/spawn.h-data: Likewise.
18530 * conform/data/stdarg.h-data: Likewise.
18531 * conform/data/stdio.h-data: Likewise.
18532 * conform/data/stdlib.h-data: Likewise.
18533 * conform/data/string.h-data: Likewise.
18534 * conform/data/strings.h-data: Likewise.
18535 * conform/data/stropts.h-data: Likewise.
18536 * conform/data/sys/ipc.h-data: Likewise.
18537 * conform/data/sys/mman.h-data: Likewise.
18538 * conform/data/sys/msg.h-data: Likewise.
18539 * conform/data/sys/resource.h-data: Likewise.
18540 * conform/data/sys/select.h-data: Likewise.
18541 * conform/data/sys/sem.h-data: Likewise.
18542 * conform/data/sys/shm.h-data: Likewise.
18543 * conform/data/sys/socket.h-data: Likewise.
18544 * conform/data/sys/stat.h-data: Likewise.
18545 * conform/data/sys/statvfs.h-data: Likewise.
18546 * conform/data/sys/time.h-data: Likewise.
18547 * conform/data/sys/timeb.h-data: Likewise.
18548 * conform/data/sys/times.h-data: Likewise.
18549 * conform/data/sys/types.h-data: Likewise.
18550 * conform/data/sys/uio.h-data: Likewise.
18551 * conform/data/sys/un.h-data: Likewise.
18552 * conform/data/sys/utsname.h-data: Likewise.
18553 * conform/data/sys/wait.h-data: Likewise.
18554 * conform/data/syslog.h-data: Likewise.
18555 * conform/data/tar.h-data: Likewise.
18556 * conform/data/termios.h-data: Likewise.
18557 * conform/data/utime.h-data: Likewise.
18558 * conform/data/utmpx.h-data: Likewise.
18559 * conform/data/varargs.h-data: Likewise.
18560 * conform/data/wchar.h-data: Likewise.
18561 * conform/data/wctype.h-data: Likewise.
18562 * conform/data/wordexp.h-data: Likewise.
18564 * include/stropts.h: New file.
18565 * include/uchar.h: New file.
18566 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18567 * include/assert.h: Likewise.
18568 * include/ctype.h: Likewise.
18569 * include/dirent.h: Likewise.
18570 * include/dlfcn.h: Likewise.
18571 * include/fcntl.h: Likewise.
18572 * include/fnmatch.h: Likewise.
18573 * include/glob.h: Likewise.
18574 * include/grp.h: Likewise.
18575 * include/libio.h: Likewise.
18576 * include/locale.h: Likewise.
18577 * include/math.h: Likewise.
18578 * include/net/if.h: Likewise.
18579 * include/netdb.h: Likewise.
18580 * include/netinet/in.h: Likewise.
18581 * include/pthread.h: Likewise.
18582 * include/pwd.h: Likewise.
18583 * include/regex.h: Likewise.
18584 * include/sched.h: Likewise.
18585 * include/search.h: Likewise.
18586 * include/setjmp.h: Likewise.
18587 * include/signal.h: Likewise.
18588 * include/stdio.h: Likewise.
18589 * include/stdlib.h: Likewise.
18590 * include/string.h: Likewise.
18591 * include/sys/cdefs.h: Likewise.
18592 * include/sys/mman.h: Likewise.
18593 * include/sys/msg.h: Likewise.
18594 * include/sys/resource.h: Likewise.
18595 * include/sys/select.h: Likewise.
18596 * include/sys/socket.h: Likewise.
18597 * include/sys/stat.h: Likewise.
18598 * include/sys/statvfs.h: Likewise.
18599 * include/sys/time.h: Likewise.
18600 * include/sys/times.h: Likewise.
18601 * include/sys/uio.h: Likewise.
18602 * include/sys/utsname.h: Likewise.
18603 * include/sys/wait.h: Likewise.
18604 * include/termios.h: Likewise.
18605 * include/time.h: Likewise.
18606 * include/ulimit.h: Likewise.
18607 * include/unistd.h: Likewise.
18608 * include/utime.h: Likewise.
18609 * include/wchar.h: Likewise.
18610 * include/wctype.h: Likewise.
18611 * include/wordexp.h: Likewise.
18613 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18615 * time/time.h: TIME_UTC must be a macro.
18616 Make timespec_get available for ISO C11 only as well.
18618 2012-02-24 Ulrich Drepper <drepper@gmail.com>
18620 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18621 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18623 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18625 * configure.in: Use -o not -a in test for unsupported multi-arch.
18627 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18629 * manual/texinfo.tex: Update to version 2012-01-19.16.
18631 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18633 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18635 2012-02-24 Roland McGrath <roland@hack.frob.com>
18638 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18639 * manual/fdl-1.3.texi: New file.
18640 * manual/fdl-1.1.texi: File removed.
18643 * manual/libc.texinfo (FDL_VERSION): New @set.
18644 Use it for mention of FDL in cover text.
18645 (Documentation License): Use it in @include file name.
18647 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18648 Roland McGrath <roland@hack.frob.com>
18651 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18652 not LONG_LONG_MAX and LONG_LONG_MIN.
18653 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18654 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18656 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18658 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18662 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18663 manipulate bits before adding and subtracting TWO23[sx].
18664 * math/libm-test.inc (nearbyint_test): Add more tests.
18666 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18669 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18670 bits before adding and subtracting TWO23[sx].
18671 * math/libm-test.inc (rint_test): Add more tests.
18672 (rint_test_tonearest): Likewise.
18673 (rint_test_towardzero): Likewise.
18674 (rint_test_downward): Likewise.
18675 (rint_test_upward: Likewise.
18677 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18680 * include/stdc-predef.h: New file. Extracted from features.h.
18681 * include/features.h: Include stdc-predef.h.
18682 * Makefile (headers): Add stdc-predef.h.
18683 * CONFORMANCE (Compiler limitations): Update.
18685 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18687 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18689 2012-02-21 David S. Miller <davem@davemloft.net>
18691 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18692 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18694 2012-02-20 David S. Miller <davem@davemloft.net>
18696 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18697 using a normal save/restore sequence, rather than allocating a
18698 dummy stack frame just to store a frame pointer and restore.
18699 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18701 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18703 * manual/install.texi: Fix stray word in line-wrapped comment.
18705 2012-02-20 David S. Miller <davem@davemloft.net>
18707 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18708 both binutils and gcc support GOTDATA.
18710 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18711 "rd %pc" in the PIC register setup sequences.
18713 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18714 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18715 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18716 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18717 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18718 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18719 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18720 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18721 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18722 (SYSCALL_ERROR_HANDLER): Likewise.
18723 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18724 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18725 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18726 (SYSCALL_ERROR_HANDLER): Likewise.
18728 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18729 (HAVE_GCC_GOTDATA): New.
18730 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18731 relocation support in both binutils and gcc.
18732 * sysdeps/sparc/elf/configure: Regenerate.
18734 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18735 * sysdeps/sparc/sparc32/elf/configure: Delete.
18736 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18737 * sysdeps/sparc/sparc64/elf/configure: Delete.
18738 * sysdeps/sparc/elf/configure.in: New file.
18739 * sysdeps/sparc/elf/configure: Generate.
18741 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18742 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18743 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18744 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18745 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18747 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18749 * manual/install.texi: Do not mention specific glibc version
18751 * manual/libc.texinfo (VERSION, UPDATED): Update.
18752 (@copying): Use @copyright{} and range of years.
18754 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18757 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18758 [crti.S not in sysdirs] (generated): Do not append.
18759 [crti.S not in sysdirs] (omit-deps): Likewise.
18760 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18761 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18762 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18763 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18764 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18766 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18767 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18768 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18769 * csu/defs.awk: Remove file.
18770 * sysdeps/generic/initfini.c: Likewise.
18771 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18773 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18776 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18778 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18779 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18780 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18781 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18782 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18783 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18785 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18786 (__EPOLL_PACKED): Define to empty if not defined by
18788 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18792 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18794 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18795 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18796 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18797 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18799 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18800 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18803 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18805 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18807 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18808 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18809 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18812 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18814 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18815 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18817 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18819 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18820 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18822 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18824 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18827 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18829 * math/w_acos.c: Use non-signaling floating-point comparisons.
18830 * math/w_acosf.c: Likewise.
18831 * math/w_acosh.c: Likewise.
18832 * math/w_acoshf.c: Likewise.
18833 * math/w_acoshl.c: Likewise.
18834 * math/w_acosl.c: Likewise.
18835 * math/w_asin.c: Likewise.
18836 * math/w_asinf.c: Likewise.
18837 * math/w_asinl.c: Likewise.
18838 * math/w_atanh.c: Likewise.
18839 * math/w_atanhf.c: Likewise.
18840 * math/w_atanhl.c: Likewise.
18841 * math/w_exp2.c: Likewise.
18842 * math/w_exp2f.c: Likewise.
18843 * math/w_exp2l.c: Likewise.
18844 * math/w_j0.c: Likewise.
18845 * math/w_j0f.c: Likewise.
18846 * math/w_j0l.c: Likewise.
18847 * math/w_j1.c: Likewise.
18848 * math/w_j1f.c: Likewise.
18849 * math/w_j1l.c: Likewise.
18850 * math/w_jn.c: Likewise.
18851 * math/w_jnf.c: Likewise.
18852 * math/w_log.c: Likewise.
18853 * math/w_log10.c: Likewise.
18854 * math/w_log10f.c: Likewise.
18855 * math/w_log10l.c: Likewise.
18856 * math/w_log2.c: Likewise.
18857 * math/w_log2f.c: Likewise.
18858 * math/w_log2l.c: Likewise.
18859 * math/w_logf.c: Likewise.
18860 * math/w_logl.c: Likewise.
18861 * math/w_sqrt.c: Likewise.
18862 * math/w_sqrtf.c: Likewise.
18863 * math/w_sqrtl.c: Likewise.
18864 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18865 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18866 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18867 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18868 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18870 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18873 * manual/string.texi (strnlen): Use correct parameter name in
18874 equivalent expression.
18876 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18879 * manual/users.texi (seteuid): Consistently use neweuid for
18882 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18885 * manual/nss.texi (Services in the NSS configuration): Correct
18886 list of services in example configuration file.
18888 2012-02-19 Nick Bowler <nbowler@draconx.ca>
18891 * manual/arith.texi: Remove statements about negative zero
18892 behaving identically to zero.
18894 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18897 * manual/install.texi: Do not document upgrading from libc5.
18899 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18902 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18904 2012-02-18 David S. Miller <davem@davemloft.net>
18906 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18907 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18908 %o7 across the call.
18909 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18911 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18912 SETUP_PIC_REG_LEAF.
18913 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18914 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18915 * sysdeps/sparc/crtn.S: Likewise.
18917 2012-02-17 Ulrich Drepper <drepper@gmail.com>
18919 * aout/Makefile: Remove.
18921 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18924 * manual/examples/argp-ex1.c (main): Format definition in GNU
18926 * manual/examples/argp-ex2.c (main): Likewise.
18927 * manual/examples/argp-ex3.c (main): Likewise.
18928 * manual/examples/argp-ex4.c (main): Likewise.
18929 * manual/examples/longopt.c (main): Use new-style prototype
18931 * manual/examples/strncat.c (main): Specify return type and use
18932 (void) for arguments.
18933 * manual/examples/subopt.c (main): Use char **argv argument.
18935 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18938 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18941 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18944 * manual/string.texi (strchr): Change when strchrnul is
18947 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18950 * manual/locale.texi (setlocale): Document LOCPATH.
18952 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18955 * manual/process.texi (execle): Move @dots{} before last argument.
18957 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
18960 * manual/charset.texi (Generic Charset Conversion): Fix typo
18961 (LC_TYPE -> LC_CTYPE).
18963 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18966 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18967 (scalbnf): Likewise.
18968 (scalbnl): Likewise.
18969 (scalbln): Likewise.
18970 (scalblnf): Likewise.
18971 (scalblnl): Likewise.
18972 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18973 (vwarnx): Likewise.
18976 * manual/filesys.texi (telldir): Use braces around return type.
18977 * manual/llio.texi (mmap): Add space after comma.
18978 (mmap64): Likewise.
18979 * manual/math.texi (jn): Use @var{} on parameter names.
18985 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18987 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18989 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18990 (sched_get_priority_max): Likewise.
18991 * manual/signal.texi (sigvec): Add space after comma.
18992 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18994 (if_indextoname): Likewise.
18995 (if_freenameindex): Likewise.
18996 (sendto): Use ',' instead of '.' in prototype.
18997 * manual/startup.texi (syscall): Use @dots{} instead of literal
18999 * manual/stdio.texi (__fpending): Separate initial words of
19000 paragraph from @deftypefun line.
19001 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19003 (vsyslog): Use @var{} on parameter names.
19004 * manual/terminal.texi (stty): Use @var{} on parameter names.
19005 * manual/users.texi (getutmp): Use @var{} on parameter names.
19006 (getutmpx): Likewise.
19008 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19011 * manual/stdio.texi (fopen): Fix typos in description of
19014 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19017 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19018 get clock_id definition.
19020 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
19023 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19024 (madvise): Cast every argument to void on its own.
19026 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19029 * manual/startup.texi (Exit Status): Fix typo.
19031 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19034 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19035 * manual/examples/argp-ex2.c: Likewise.
19036 * manual/examples/argp-ex3.c: Likewise.
19038 2012-02-16 Richard Henderson <rth@redhat.com>
19040 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19041 * sysdeps/s390/s390-32/initfini.c: Remove.
19042 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19043 * sysdeps/s390/s390-64/initfini.c: Remove.
19045 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19047 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19048 compiler output for sysdeps/generic/initfini.c.
19049 * sysdeps/sh/elf/initfini.c: Remove file.
19051 2012-02-16 David S. Miller <davem@davemloft.net>
19054 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19056 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19057 * sysdeps/sparc/crti.S: New file.
19058 * sysdeps/sparc/crtn.S: New file.
19059 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19060 * sysdeps/sparc/sparc64/Makefile: Likewise.
19062 2012-02-15 Mike Frysinger <vapier@gentoo.org>
19065 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19067 2012-02-15 Roland McGrath <roland@hack.frob.com>
19070 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19072 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19073 (write, read, close): Likewise.
19074 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19076 2012-02-15 Joseph Myers <joseph@codesourcery.com>
19078 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19079 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19080 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19081 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19083 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19084 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19087 2012-02-14 Marek Polacek <polacek@redhat.com>
19089 * sysdeps/x86_64/crti.S: New file.
19090 * sysdeps/x86_64/crtn.S: New file.
19091 * sysdeps/x86_64/elf/initfini.c: Remove file.
19093 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19095 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19096 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19097 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19098 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19100 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19104 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19106 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19107 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19108 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19109 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19111 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19112 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19115 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19117 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19118 __feraiseexcept instead of feraiseexcept.
19120 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19121 nanosleep invocations.
19122 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19123 strings, and add error checking for a nanosleep invocations.
19125 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19127 Replace FSF snail mail address with URLs, as per GNU coding standards.
19128 Most of the snail mail addresses were wrong anyway, and omitting
19129 them makes the source code easier to maintain. Almost all of the
19130 changes are to license notices and to locale LC_IDENTIFICATION
19131 addresses, except for this one:
19132 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19133 not its snail mail address.
19135 2012-02-09 Richard Henderson <rth@twiddle.net>
19137 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19138 of kernel-features.h.
19140 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19142 2012-02-08 Marek Polacek <polacek@redhat.com>
19144 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19145 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19146 * sysdeps/gnu/_G_config.h: Likewise.
19147 * sysdeps/generic/_G_config.h: Likewise.
19149 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19151 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19155 * sysdeps/powerpc/powerpc32/crti.S: New file.
19156 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19157 * sysdeps/powerpc/powerpc64/crti.S: New file.
19158 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19160 * Makeconfig (have-initfini): Don't set.
19161 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19162 * configure.in (nopic_initfini): Don't substitute.
19163 * config.h.in (HAVE_INITFINI): Don't #undef.
19164 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19165 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19167 2012-02-08 Joseph Myers <joseph@codesourcery.com>
19169 Support crti.S and crtn.S provided directly by architectures.
19170 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19171 [crti.S in sysdirs] (omit-deps): Likewise.
19172 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19173 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19174 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19175 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19176 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19177 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19178 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19179 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19180 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19181 compiler output for sysdeps/generic/initfini.c.
19182 * sysdeps/i386/elf/Makefile: Remove file.
19183 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19185 2012-02-07 Marek Polacek <polacek@redhat.com>
19187 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19188 * sysdeps/gnu/_G_config.h: Likewise.
19189 * sysdeps/mach/hurd/_G_config.h: Likewise.
19191 2012-02-07 Marek Polacek <polacek@redhat.com>
19193 * math/Makefile (tests): Add tst-CMPLX2.
19194 * math/tst-CMPLX2.c: New file.
19196 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19198 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19200 * math/libm-test.inc (jn_test): Add missing L suffix.
19202 2012-02-06 Marek Polacek <polacek@redhat.com>
19204 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19205 * sysdeps/i386/fpu/e_powf.S: Likewise.
19206 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19207 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19208 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19209 * sysdeps/i386/fpu/e_pow.S: Likewise.
19210 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19211 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19212 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19213 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19214 * sysdeps/i386/fpu/e_log2.S: Likewise.
19215 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19216 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19217 * sysdeps/i386/fpu/e_powl.S: Likewise.
19218 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19219 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19220 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19221 * sysdeps/i386/fpu/e_logl.S: Likewise.
19222 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19223 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19224 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19225 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19226 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19227 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19228 * sysdeps/i386/fpu/e_log.S: Likewise.
19229 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19230 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19231 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19232 * sysdeps/i386/fpu/e_logf.S: Likewise.
19233 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19234 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19235 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19236 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19237 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19238 * sysdeps/i386/fpu/e_log10.S: Likewise.
19239 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19240 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19241 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19242 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19243 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19244 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19245 * sysdeps/i386/asm-syntax.h: Likewise.
19246 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19247 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19248 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19249 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19250 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19251 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19252 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19253 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19254 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19255 * sysdeps/powerpc/sysdep.h: Likewise.
19256 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19257 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19259 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19262 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19264 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19266 * sysdeps/i386/sysdep.h: Include <features.h>.
19267 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19270 2012-02-05 Joseph Myers <joseph@codesourcery.com>
19272 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19274 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19277 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19279 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19280 (SETUP_PIC_REG): Use GET_PC_THUNK.
19281 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19284 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19286 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19287 for non-PIC compilation.
19288 (SETUP_PIC_REG): Add .p2align directive.
19289 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19290 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19291 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19292 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19293 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19294 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19295 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19296 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19297 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19298 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19299 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19300 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19301 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19302 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19303 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19304 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19305 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19306 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19307 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19308 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19309 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19310 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19311 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19312 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19313 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19314 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19315 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19316 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19317 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19318 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19319 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19320 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19321 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19322 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19323 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19324 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19325 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19326 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19327 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19328 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19329 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19331 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19333 * math/tst-CMPLX.c: Include <stdio.h>.
19335 2012-01-31 Joseph Myers <joseph@codesourcery.com>
19337 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19339 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19340 * sysdeps/sparc/bits/mathdef.h: Likewise.
19342 2012-01-31 Marek Polacek <polacek@redhat.com>
19344 * libio/libio.h: Don't define _PARAMS.
19345 * locale/programs/config.h: Don't define PARAMS.
19346 * stdlib/strtol_l.c: Likewise.
19347 (__strtol_l): Remove PARAMS from the prototype.
19349 2012-01-31 Ulrich Drepper <drepper@gmail.com>
19351 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19352 names. Just use the correct names. Remove unnecessary wrapper
19354 * malloc/arena.c: Likewise.
19355 * malloc/hooks.c: Likewise.
19357 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19358 ARENA_TEST says not to. Simplify test for creation of a new arena.
19359 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19361 2012-01-30 Ulrich Drepper <drepper@gmail.com>
19363 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19365 (update_get_addr): New function.
19366 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19367 GET_ADDR_MODULE parameter.
19369 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19371 * crypt/cert.c: Remove __STDC__ conditionals.
19372 * crypt/crypt-entry.c: Likewise.
19373 * crypt/crypt_util.c: Likewise.
19374 * libio/filedoalloc.c: Likewise.
19375 * libio/fileops.c: Likewise.
19376 * libio/genops.c: Likewise.
19377 * libio/iofclose.c: Likewise.
19378 * libio/iofdopen.c: Likewise.
19379 * libio/iofopen.c: Likewise.
19380 * libio/iofopen64.c: Likewise.
19381 * libio/iogetdelim.c: Likewise.
19382 * libio/iopopen.c: Likewise.
19383 * libio/obprintf.c: Likewise.
19384 * libio/oldfileops.c: Likewise.
19385 * libio/oldiofclose.c: Likewise.
19386 * libio/oldiofdopen.c: Likewise.
19387 * libio/oldiofopen.c: Likewise.
19388 * libio/oldiopopen.c: Likewise.
19389 * libio/wfiledoalloc.c: Likewise.
19390 * libio/wgenops.c: Likewise.
19391 * locale/programs/xmalloc.c: Likewise.
19392 * misc/syslog.c: Likewise.
19393 * stdio-common/xbug.c: Likewise.
19394 * string/memchr.c: Likewise.
19395 * string/memcmp.c: Likewise.
19396 * string/memrchr.c: Likewise.
19397 * string/rawmemchr.c: Likewise.
19398 * sysdeps/posix/getcwd.c: Likewise.
19399 * time/strftime_l.c: Likewise.
19401 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19403 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19404 * config.make.in (config-cflags-sse2avx): Define.
19405 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19408 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19410 * scripts/config.guess: Update from upstream config git repository.
19411 * scripts/config.sub: Likewise.
19413 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19415 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19417 (R_TILEPRO_*, R_TILEGX_*): New macros.
19419 * scripts/firstversions.awk: Fix bug in version range handling.
19421 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19423 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19425 * include/sys/epoll.h: New file.
19426 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19429 2012-01-28 Ulrich Drepper <drepper@gmail.com>
19431 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19432 Avoid unnecessary __WORDSIZE == 64 test.
19433 (fmaxf): Use VEX format if possible.
19438 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19439 * math/math_private.h: Remove libc_fegetround* and
19441 * sysdeps/i386/configure.in: Check for -msse2avx.
19442 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19443 also if SSE2AVX is defined.
19444 Remove libc_fegetround* and libc_fesetround*.
19445 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19446 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19447 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19449 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19450 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19451 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19452 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19453 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19455 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19457 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19459 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19461 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19463 2012-01-27 Ulrich Drepper <drepper@gmail.com>
19466 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19468 * Makeconfig (libm): Define.
19469 * elf/Makefile: Add rules to build and run tst-relsort1.
19470 * elf/tst-relsort1.c: New file.
19471 * elf/tst-relsort1mod1.c: New file.
19472 * elf/tst-relsort1mod2.c: New file.
19474 2012-01-27 Joseph Myers <joseph@codesourcery.com>
19476 * math/s_ldexp.c: Remove __STDC__ conditionals.
19477 * math/s_ldexpf.c: Likewise.
19478 * math/s_ldexpl.c: Likewise.
19479 * math/s_nextafter.c: Likewise.
19480 * math/s_nexttowardf.c: Likewise.
19481 * math/s_significand.c: Likewise.
19482 * math/s_significandf.c: Likewise.
19483 * math/s_significandl.c: Likewise.
19484 * math/w_jnl.c: Likewise.
19485 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19486 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19487 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19488 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19489 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19490 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19491 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19492 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19493 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19494 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19495 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19496 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19497 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19498 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19499 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19500 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19501 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19502 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19503 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19504 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19505 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19506 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19507 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19508 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19509 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19510 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19511 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19512 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19513 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19514 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19515 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19516 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19517 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19518 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19519 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19520 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19521 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19522 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19523 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19524 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19525 * sysdeps/ieee754/k_standard.c: Likewise.
19526 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19527 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19528 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19529 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19530 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19531 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19532 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19533 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19534 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19535 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19536 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19537 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19538 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19539 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19540 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19541 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19542 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19543 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19544 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19545 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19546 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19547 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19548 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19549 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19550 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19551 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19552 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19553 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19554 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19555 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19556 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19557 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19558 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19559 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19560 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19561 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19562 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19563 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19564 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19565 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19566 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19567 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19568 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19569 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19570 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19571 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19572 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19573 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19574 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19575 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19576 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19577 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19578 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19579 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19580 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19581 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19582 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19583 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19584 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19585 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19586 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19587 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19588 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19589 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19590 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19591 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19592 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19593 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19594 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19595 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19596 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19597 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19598 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19599 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19600 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19601 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19602 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19603 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19604 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19605 * sysdeps/ieee754/s_matherr.c: Likewise.
19606 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19607 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19608 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19609 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19611 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19613 * crypt/md5.h: Remove __STDC__ conditionals.
19614 * libio/libioP.h: Likewise.
19615 * locale/programs/config.h: Likewise.
19616 * sysdeps/generic/sysdep.h: Likewise.
19617 * sysdeps/i386/asm-syntax.h: Likewise.
19618 * sysdeps/s390/asm-syntax.h: Likewise.
19619 * sysdeps/unix/sysdep.h: Likewise.
19620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19623 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19625 * libio/libio.h: Remove __STDC__ conditionals.
19626 * malloc/obstack.h: Likewise.
19627 * math/complex.h: Likewise.
19628 * math/math.h: Likewise.
19629 * sysdeps/generic/_G_config.h: Likewise.
19630 * sysdeps/gnu/_G_config.h: Likewise.
19631 * sysdeps/mach/hurd/_G_config.h: Likewise.
19632 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19633 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19634 * sysdeps/sparc/bits/mathdef.h: Likewise.
19636 2012-01-26 Ulrich Drepper <drepper@gmail.com>
19639 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19640 Clean up HAS_* macros.
19641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19642 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19644 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19646 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19647 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19648 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19649 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19650 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19652 2012-01-25 Joseph Myers <joseph@codesourcery.com>
19654 * elf/tst-unique3.cc (gets): Remove declaration.
19655 * elf/tst-unique3lib.cc (gets): Likewise.
19656 * elf/tst-unique3lib2.cc (gets): Likewise.
19657 * elf/tst-unique4.cc (gets): Likewise.
19659 2012-01-24 Ulrich Drepper <drepper@gmail.com>
19661 * include/stdio.h: Add C++ protection. Add gets declarations and
19663 * debug/tst-chk1.c: Don't declare gets here.
19664 * stdio-common/tst-gets.c: Likewise.
19666 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19668 * posix/glob: Remove directory.
19670 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19672 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19674 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19676 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19677 of the non-standard EPFNOSUPPORT.
19679 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19681 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19682 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19683 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19685 2012-01-21 Ulrich Drepper <drepper@gmail.com>
19687 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19689 2012-01-20 Ulrich Drepper <drepper@gmail.com>
19691 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19693 * nscd/grpcache.c (cache_addgr): Likewise.
19694 * nscd/hstcache.c (cache_addhst): Likewise.
19695 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19696 * nscd/pwdcache.c (cache_addpw): Likewise.
19697 * nscd/servicescache.c (cache_addserv): Likewise.
19699 2012-01-16 Ulrich Drepper <drepper@gmail.com>
19701 * malloc/malloc.c: Various cleanups.
19702 * malloc/hooks.c: Likewise.
19704 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19705 * stdlib/bug-fmtmsg1.c: New file.
19707 * stdlib/fmtmsg.c (init): Add missing unlock.
19708 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19710 2012-01-12 Marek Polacek <polacek@redhat.com>
19712 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19715 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19717 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19718 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19719 macro to ensure uniqueness of label name.
19720 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19721 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19723 2012-01-11 Ulrich Drepper <drepper@gmail.com>
19725 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19727 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19728 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19729 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19730 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19732 2012-01-10 Ulrich Drepper <drepper@gmail.com>
19734 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19736 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19737 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19738 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19740 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19742 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19743 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19744 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19745 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19747 * math/bits/math-finite.h: Add ldexp support.
19749 2012-01-10 Marek Polacek <polacek@redhat.com>
19751 * locale/programs/localedef.h (show_archive_content): Add noreturn
19754 2012-01-09 Ulrich Drepper <drepper@gmail.com>
19756 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19758 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19760 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19762 * io/Makefile (headers): Add bits/poll2.h.
19764 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19767 typo #include statement.
19769 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19771 * include/sys/cdefs.h: Define __attribute_alloc_size.
19772 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19773 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19774 * elf/pldd.c: Likewise.
19775 * iconv/iconv_charmap.c: Likewise.
19776 * iconv/iconvconfig.c: Likewise.
19777 * iconv/strtab.c: Likewise.
19778 * locale/programs/locale.c: Likewise.
19779 * locale/programs/localedef.h: Likewise.
19780 * locale/programs/simple-hash.c: Likewise.
19781 * nscd/nscd.h: Likewise.
19782 * nss/makedb.c: Likewise.
19783 * sysdeps/generic/ldconfig.h: Likewise.
19784 * locale/programs/localedef.c: Remove xmalloc prototype.
19785 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19787 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19789 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19792 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19794 * math/Makefile (tests): Add tst-CMPLX.
19795 * math/tst-CMPLX.c: New file.
19797 * math/complex.h (CMPLXL): Fix typo.
19799 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19800 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19802 * debug/tst-chk1.c: Add poll and ppoll tests.
19803 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19804 * include/sys/poll.h: Add hidden proto for ppoll.
19805 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19806 * sysdeps/mach/hurd/ppoll.c: Likewise.
19807 * io/ppoll.c: Likewise.
19808 * debug/poll_chk.c: New file.
19809 * debug/ppoll_chk.c: New file.
19810 * include/bits/poll2.h: New file.
19811 * io/bits/poll2.h: New file.
19814 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19816 * configure.in: static is always set to yes. Remove.
19817 * config.make.in: Don't set build-static.
19818 * Makeconfig: Remove use of build-static.
19819 * dlfcn/Makefile: Likewise.
19820 * elf/Makefile: Likewise.
19821 * math/Makefile: Likewise.
19822 * misc/Makefile: Likewise.
19823 * nptl/Makefile: Likewise.
19824 * sysdeps/mach/hurd/Makefile: Likewise.
19826 * configure.in: PWD_P is not used anymore.
19827 * config.make.in: Remove PWD_P entry.
19829 * configure.in: Remove last remnants of RANLIB.
19830 No need to check for signed size_t anymore.
19831 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19833 Remove __builtin_expect test because we require at least gcc 3.4.
19834 * aclocal.m4: Likewise.
19836 * wcsmbs/mbrtoc16.c: Implement using towc function.
19837 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19838 * wcsmbs/wcsmbsload.c: Likewise.
19839 * iconv/gconv_simple.c: Likewise.
19840 * iconv/gconv_int.h: Likewise.
19841 * iconv/gconv_builtin.h: Likewise.
19842 * iconv/iconv_prog.c: Remove CHAR16 handling.
19844 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19846 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19848 * configure.in: Remove --with-elf and --enable-bounded options.
19849 Dont set base_machine for ia64. More non-ELF conditions removed.
19850 Remove testing and setting of leading underscore information.
19851 * config.make.in (build-bounded): Set to no.
19852 * config.h.in: Remove NO_UNDERSCORES entry.
19853 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19855 * csu/start.c: Remove !NO_UNDERSCORE code.
19856 * locale/localeinfo.h: Likewise.
19857 * sysdeps/generic/machine-gmon.h: Likewise.
19858 * sysdeps/generic/sysdep.h: Likewise.
19859 * sysdeps/i386/sysdep.h: Likewise.
19860 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19861 * sysdeps/mach/sysdep.h: Likewise.
19862 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19863 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19864 * sysdeps/sh/sysdep.h: Likewise.
19865 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19866 * sysdeps/unix/i386/sysdep.S: Likewise.
19867 * sysdeps/unix/sparc/start.c: Likewise.
19868 * sysdeps/unix/sparc/sysdep.S: Likewise.
19869 * sysdeps/unix/sparc/sysdep.h: Likewise.
19870 * sysdeps/unix/start.c: Likewise.
19871 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19872 * sysdeps/x86_64/sysdep.h: Likewise.
19874 2012-01-07 Ulrich Drepper <drepper@gmail.com>
19877 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19879 * argp/argp-fmtstream.h: Use const instead __const.
19880 * argp/argp.h: Likewise.
19881 * assert/assert.h: Likewise.
19882 * bits/fenv.h: Likewise.
19883 * bits/sched.h: Likewise.
19884 * bits/sigset.h: Likewise.
19885 * bits/sigthread.h: Likewise.
19886 * catgets/nl_types.h: Likewise.
19887 * conform/data/pthread.h-data: Likewise.
19888 * crypt/crypt-private.h: Likewise.
19889 * crypt/crypt.h: Likewise.
19890 * crypt/crypt_util.c: Likewise.
19891 * ctype/ctype.h: Likewise.
19892 * debug/execinfo.h: Likewise.
19893 * debug/mbsnrtowcs_chk.c: Likewise.
19894 * debug/mbsrtowcs_chk.c: Likewise.
19895 * debug/wcsnrtombs_chk.c: Likewise.
19896 * debug/wcsrtombs_chk.c: Likewise.
19897 * debug/wcstombs_chk.c: Likewise.
19898 * dirent/dirent.h: Likewise.
19899 * dlfcn/dlfcn.h: Likewise.
19900 * elf/neededtest4.c: Likewise.
19901 * grp/grp.h: Likewise.
19902 * gshadow/gshadow.h: Likewise.
19903 * iconv/gconv.h: Likewise.
19904 * iconv/gconv_int.h: Likewise.
19905 * iconv/gconv_simple.c: Likewise.
19906 * iconv/iconv.h: Likewise.
19907 * iconv/loop.c: Likewise.
19908 * iconv/skeleton.c: Likewise.
19909 * include/aio.h: Likewise.
19910 * include/aliases.h: Likewise.
19911 * include/argz.h: Likewise.
19912 * include/arpa/inet.h: Likewise.
19913 * include/assert.h: Likewise.
19914 * include/dirent.h: Likewise.
19915 * include/dlfcn.h: Likewise.
19916 * include/execinfo.h: Likewise.
19917 * include/fcntl.h: Likewise.
19918 * include/fenv.h: Likewise.
19919 * include/glob.h: Likewise.
19920 * include/grp.h: Likewise.
19921 * include/libintl.h: Likewise.
19922 * include/mntent.h: Likewise.
19923 * include/netdb.h: Likewise.
19924 * include/pwd.h: Likewise.
19925 * include/rpc/netdb.h: Likewise.
19926 * include/sched.h: Likewise.
19927 * include/search.h: Likewise.
19928 * include/shadow.h: Likewise.
19929 * include/signal.h: Likewise.
19930 * include/stdio.h: Likewise.
19931 * include/stdlib.h: Likewise.
19932 * include/string.h: Likewise.
19933 * include/sys/socket.h: Likewise.
19934 * include/sys/stat.h: Likewise.
19935 * include/sys/statfs.h: Likewise.
19936 * include/sys/statvfs.h: Likewise.
19937 * include/sys/syslog.h: Likewise.
19938 * include/sys/time.h: Likewise.
19939 * include/sys/uio.h: Likewise.
19940 * include/time.h: Likewise.
19941 * include/unistd.h: Likewise.
19942 * include/utmp.h: Likewise.
19943 * include/wchar.h: Likewise.
19944 * include/wctype.h: Likewise.
19945 * inet/aliases.h: Likewise.
19946 * inet/arpa/inet.h: Likewise.
19947 * inet/netinet/ether.h: Likewise.
19948 * inet/netinet/in.h: Likewise.
19949 * intl/libintl.h: Likewise.
19950 * io/bits/fcntl2.h: Likewise.
19951 * io/fcntl.h: Likewise.
19952 * io/ftw.h: Likewise.
19953 * io/sys/poll.h: Likewise.
19954 * io/sys/stat.h: Likewise.
19955 * io/sys/statfs.h: Likewise.
19956 * io/sys/statvfs.h: Likewise.
19957 * io/utime.h: Likewise.
19958 * libio/bits/stdio.h: Likewise.
19959 * libio/bits/stdio2.h: Likewise.
19960 * libio/libio.h: Likewise.
19961 * libio/libioP.h: Likewise.
19962 * libio/stdio.h: Likewise.
19963 * locale/lc-ctype.c: Likewise.
19964 * locale/locale.h: Likewise.
19965 * login/utmp.h: Likewise.
19966 * malloc/arena.c: Likewise.
19967 * malloc/malloc.c: Likewise.
19968 * malloc/malloc.h: Likewise.
19969 * malloc/mcheck.c: Likewise.
19970 * malloc/mtrace.c: Likewise.
19971 * math/bits/mathcalls.h: Likewise.
19972 * math/fenv.h: Likewise.
19973 * math/math_private.h: Likewise.
19974 * misc/bits/error.h: Likewise.
19975 * misc/bits/syslog.h: Likewise.
19976 * misc/err.h: Likewise.
19977 * misc/error.h: Likewise.
19978 * misc/fstab.h: Likewise.
19979 * misc/mntent.h: Likewise.
19980 * misc/regexp.h: Likewise.
19981 * misc/search.h: Likewise.
19982 * misc/sgtty.h: Likewise.
19983 * misc/sys/mman.h: Likewise.
19984 * misc/sys/syslog.h: Likewise.
19985 * misc/sys/uio.h: Likewise.
19986 * misc/sys/xattr.h: Likewise.
19987 * misc/ttyent.h: Likewise.
19988 * nis/rpcsvc/ypclnt.h: Likewise.
19989 * nss/nss.h: Likewise.
19990 * posix/bits/unistd.h: Likewise.
19991 * posix/fnmatch.h: Likewise.
19992 * posix/glob.h: Likewise.
19993 * posix/sched.h: Likewise.
19994 * posix/spawn.h: Likewise.
19995 * posix/sys/wait.h: Likewise.
19996 * posix/unistd.h: Likewise.
19997 * posix/wordexp.h: Likewise.
19998 * pwd/pwd.h: Likewise.
19999 * resolv/netdb.h: Likewise.
20000 * resource/sys/resource.h: Likewise.
20001 * rt/aio.h: Likewise.
20002 * rt/bits/mqueue2.h: Likewise.
20003 * rt/mqueue.h: Likewise.
20004 * shadow/shadow.h: Likewise.
20005 * signal/signal.h: Likewise.
20006 * socket/send.c: Likewise.
20007 * socket/sendto.c: Likewise.
20008 * socket/sys/socket.h: Likewise.
20009 * stdio-common/printf.h: Likewise.
20010 * stdlib/bits/stdlib.h: Likewise.
20011 * stdlib/fmtmsg.h: Likewise.
20012 * stdlib/monetary.h: Likewise.
20013 * stdlib/stdlib.h: Likewise.
20014 * stdlib/ucontext.h: Likewise.
20015 * streams/stropts.h: Likewise.
20016 * string/argz.h: Likewise.
20017 * string/bits/string2.h: Likewise.
20018 * string/string.h: Likewise.
20019 * string/strings.h: Likewise.
20020 * sunrpc/rpc/auth.h: Likewise.
20021 * sunrpc/rpc/auth_des.h: Likewise.
20022 * sunrpc/rpc/clnt.h: Likewise.
20023 * sunrpc/rpc/netdb.h: Likewise.
20024 * sunrpc/rpc/pmap_clnt.h: Likewise.
20025 * sunrpc/rpc/xdr.h: Likewise.
20026 * sysdeps/generic/inttypes.h: Likewise.
20027 * sysdeps/generic/net/if.h: Likewise.
20028 * sysdeps/generic/sys/swap.h: Likewise.
20029 * sysdeps/gnu/net/if.h: Likewise.
20030 * sysdeps/gnu/utmpx.h: Likewise.
20031 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20032 * sysdeps/i386/i486/bits/string.h: Likewise.
20033 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20034 * sysdeps/s390/bits/string.h: Likewise.
20035 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20036 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20037 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20038 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20039 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20040 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20041 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20042 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20043 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20044 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20045 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20046 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20047 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20048 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20049 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20050 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20051 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20052 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20053 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20054 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20055 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20056 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20057 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20058 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20059 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20060 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20061 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20062 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20063 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20064 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20065 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20066 * sysvipc/sys/ipc.h: Likewise.
20067 * sysvipc/sys/msg.h: Likewise.
20068 * sysvipc/sys/sem.h: Likewise.
20069 * sysvipc/sys/shm.h: Likewise.
20070 * termios/termios.h: Likewise.
20071 * time/sys/time.h: Likewise.
20072 * time/time.h: Likewise.
20073 * wcsmbs/bits/wchar2.h: Likewise.
20074 * wcsmbs/uchar.h: Likewise.
20075 * wcsmbs/wchar.h: Likewise.
20076 * wctype/wctype.h: Likewise.
20079 * Makeconfig: Remove all but ELF support including AIX support.
20080 * Makerules: Likewise.
20081 * config.h.in: Likewise.
20082 * config.make.in: Likewise.
20083 * configure: Likewise.
20084 * configure.in: Likewise.
20085 * csu/Makefile: Likewise.
20086 * csu/version.c: Likewise.
20087 * debug/Makefile: Likewise.
20088 * dlfcn/Makefile: Likewise.
20089 * elf/Makefile: Likewise.
20090 * extra-lib.mk: Likewise.
20091 * iconv/Makefile: Likewise.
20092 * include/libc-symbols.h: Likewise.
20093 * include/shlib-compat.h: Likewise.
20094 * resolv/Makefile: Likewise.
20095 * resolv/res_libc.c: Likewise.
20096 * rt/Makefile: Likewise.
20097 * sysdeps/i386/asm-syntax.h: Likewise.
20098 * sysdeps/i386/sysdep.h: Likewise.
20099 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20100 * sysdeps/mach/sysdep.h: Likewise.
20101 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20102 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20103 * sysdeps/s390/asm-syntax.h: Likewise.
20104 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20105 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20106 * sysdeps/sh/sysdep.h: Likewise.
20107 * sysdeps/unix/sparc/sysdep.h: Likewise.
20108 * sysdeps/wordsize-32/divdi3.c: Likewise.
20109 * sysdeps/x86_64/sysdep.h: Likewise.
20111 * argp/Versions: Remove _argp_unlock_xxx.
20114 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20115 * abilist/libBrokenLocale.abilist: Likewise.
20116 * abilist/libanl.abilist: Likewise.
20117 * abilist/libc.abilist: Likewise.
20118 * abilist/libcrypt.abilist: Likewise.
20119 * abilist/libdl.abilist: Likewise.
20120 * abilist/libm.abilist: Likewise.
20121 * abilist/libnsl.abilist: Likewise.
20122 * abilist/libpthread.abilist: Likewise.
20123 * abilist/libresolv.abilist: Likewise.
20124 * abilist/librt.abilist: Likewise.
20125 * abilist/libthread_db.abilist: Likewise.
20126 * abilist/libutil.abilist: Likewise.
20127 * abilist/libnss_db.abilist: New file.
20129 * scripts/abilist.awk: Add support for indirect functions.
20131 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20133 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20135 * shlib-versions: Remove entries for ports architectures.
20137 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20139 * elf/stackguard-macros.h: Remove support for IA-64.
20140 * elf/tst-auditmod1.c: Likewise.
20141 * sysdeps/generic/ldsodefs.h: Likewise.
20143 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20144 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20148 * configure.in: Remove --enable-omitfp support.
20150 * config.make.in: Likewise.
20151 * Makeconfig: Likewise.
20152 * manual/install.texi: Likewise.
20154 In case anyone cares, the IA-64 architecture could move to ports.
20155 * sysdeps/ia64/*: Removed.
20156 * sysdeps/unix/sysv/linux/ia64/*: Removed.
20157 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20160 * configure.in: Remove entries for unsupported architectures.
20163 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20164 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20166 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20167 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20168 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20169 fall back to using wcrtomb.
20170 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20171 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20173 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20174 * wcsmbs/tst-c16c32-1.c: New file.
20176 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20179 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20181 * elf/tst-unique3.cc: Add explicit declaration of gets.
20182 * elf/tst-unique3lib.cc: Likewise.
20183 * elf/tst-unique3lib2.cc: Likewise.
20184 * elf/tst-unique4.cc: Likewise.
20186 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20188 2012-01-06 Joseph Myers <joseph@codesourcery.com>
20191 * assert/assert.h (static_assert): Don't define for C++.
20192 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20193 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20195 2012-01-03 Ulrich Drepper <drepper@gmail.com>
20197 * iconv/loop.c (single loop): Fix assertion in storing of
20200 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20202 2012-01-01 Ulrich Drepper <drepper@gmail.com>
20204 * posix/getconf.c: Update copyright year.
20205 * nss/getent.c: Likewise.
20206 * nss/makedb.c: Likewise.
20207 * iconv/iconvconfig.c: Likewise.
20208 * iconv/iconv_prog.c: Likewise.
20209 * elf/ldconfig.c: Likewise.
20210 * elf/pldd.c: Likewise.
20211 * elf/sotruss.ksh: Likewise.
20212 * catgets/gencat.c: Likewise.
20213 * csu/version.c: Likewise.
20214 * elf/ldd.bash.in: Likewise.
20215 * elf/sprof.c (print_version): Likewise.
20216 * locale/programs/locale.c: Likewise.
20217 * locale/programs/localedef.c: Likewise.
20218 * login/programs/pt_chown.c: Likewise.
20219 * nscd/nscd.c (print_version): Likewise.
20220 * debug/xtrace.sh: Likewise.
20221 * malloc/memusage.sh: Likewise.
20222 * malloc/mtrace.pl: Likewise.
20223 * debug/catchsegv.sh: Likewise.
20225 2011-12-30 Jakub Jelinek <jakub@redhat.com>
20227 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20230 2011-12-24 Ulrich Drepper <drepper@gmail.com>
20233 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20234 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20236 * iconv/gconv_int.h: Likewise.
20237 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20238 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20239 from libc for GLIBC_2.16.
20240 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20241 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20242 * wcsmbs/uchar.h: Really define mbstate_t.
20243 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20244 * wcsmbs/c16rtomb.c: New file.
20245 * wcsmbs/mbrtoc16.c: New file.
20246 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20247 for C/POSIX locale.
20248 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20249 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20251 * wcsmbs/wchar.h: Add missing __restrict.
20253 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20256 * time/Makefile (routines): Add timespec_get.
20257 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20258 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20259 timespec for ISO C11.
20260 * time/timespec_get.c: New file.
20261 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20262 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20265 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20266 * stdlib/stdlib.h: Declare aligned_alloc.
20267 * Versions.def: Add GLIBC_2.16 for libc.
20268 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20271 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20274 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20278 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20281 * assert/assert.h (static_assert): Define.
20283 * version.h: Update for 2.16 development version.
20286 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20289 * version.h (RELEASE): Bump for 2.15 release.
20290 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20292 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20293 Patch by Marek Polacek <mpolacek@redhat.com>.
20295 * bits/byteswap.h: Protect long long constants with __extension__.
20296 * sysdeps/i386/bits/byteswap.h: Likewise.
20297 * sysdeps/ia64/bits/byteswap.h: Likewise.
20298 * sysdeps/s390/bits/byteswap.h: Likewise.
20299 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20301 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20304 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20305 destination buffer.
20306 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20308 2011-12-23 Marek Polacek <polacek@redhat.com>
20310 * elf/dl-addr.c (determine_info): Add inline keyword.
20311 * elf/tst-auditmod4b.c (check_avx): Likewise.
20312 * elf/tst-auditmod6b.c (check_avx): Likewise.
20313 * elf/tst-auditmod6c.c (check_avx): Likewise.
20314 * elf/tst-auditmod7b.c (check_avx): Likewise.
20316 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20318 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20321 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20324 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20325 processing for last bytes.
20327 2011-08-06 Bruno Haible <bruno@clisp.org>
20330 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20331 U+0385, not to U+1FEE.
20334 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20335 entry for U+00A5 U+0301.
20337 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20340 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20341 buffer for the output is too small.
20343 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20347 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20348 SSE flags if possible.
20350 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20353 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20354 processing for last bytes.
20356 2011-12-22 Joseph Myers <joseph@codesourcery.com>
20358 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20359 (syscall-list-default-options, syscall-list-default-condition)
20360 (syscall-list-includes): Define.
20361 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20362 list of ABIs and options and #if conditions for each ABI. Do not
20363 handle common syscalls between ABIs specially.
20364 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20366 (syscall-list-variants, syscall-list-32bit-options)
20367 (syscall-list-32bit-condition, syscall-list-64bit-options)
20368 (syscall-list-64bit-condition): Define.
20369 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20370 (syscall-list-variants, syscall-list-32bit-options)
20371 (syscall-list-32bit-condition, syscall-list-64bit-options)
20372 (syscall-list-64bit-condition): Define.
20373 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20375 (syscall-list-variants, syscall-list-32bit-options)
20376 (syscall-list-32bit-condition, syscall-list-64bit-options)
20377 (syscall-list-64bit-condition): Define.
20378 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20380 (syscall-list-variants, syscall-list-32bit-options)
20381 (syscall-list-32bit-condition, syscall-list-64bit-options)
20382 (syscall-list-64bit-condition): Define.
20384 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20386 * locale/iso-639.def: Add brx entry.
20389 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20390 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20392 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20393 __feraiseexcept_renamed.
20395 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20398 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20399 EPOLLET with unsigned values.
20400 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20401 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20403 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20404 to large cancellation.
20405 * math/s_cacoshf.c: Likewise.
20406 * math/s_cacoshl.c: Likewise.
20408 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20412 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20413 * math/s_cacoshf.c: Likewise.
20414 * math/s_cacoshl.c: Likewise.
20416 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20419 * iconv/gconv.h: Define __GCONV_SWAP.
20420 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20421 * iconvdata/utf-16.c: Likewise.
20422 * iconvdata/utf-32.c: Likewise.
20424 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20427 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20428 numerator after shifting it by one limb.
20430 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20432 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20433 under [__USE_EXTERN_INLINES].
20435 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20438 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20440 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20442 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20443 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20445 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20446 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20447 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20448 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20449 for strncasecmp/strncasecmp_l compilation.
20450 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20451 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20453 2011-12-08 Marek Polacek <mpolacek@redhat.com>
20456 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20459 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20462 * time/tzfile.c (__tzfile_read): Check values from file header.
20464 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20466 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20467 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20468 * powerpc/powerpc32/dl-start.S: Likewise.
20469 * powerpc/powerpc32/elf/start.S: Likewise.
20470 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20471 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20472 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20473 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20474 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20475 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20476 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20477 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20478 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20479 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20480 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20481 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20482 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20483 * powerpc/powerpc32/memset.S: Likewise.
20484 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20485 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20486 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20487 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20488 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20489 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20490 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20491 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20492 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20493 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20494 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20495 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20496 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20498 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20500 * math/libm-test.inc: Added more nearbyint tests.
20501 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20502 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20503 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20504 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20506 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20508 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20511 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20513 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20514 Add wcscpy-ssse3 wcscpy-c.
20515 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20516 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20517 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20518 * sysdeps/x86_64/wcschr.S: New file.
20519 * sysdeps/x86_64/wcsrchr.S: New file.
20520 * string/test-strcmp.c: Remove checking of wcscmp function for
20522 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20523 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20524 wcsrchr-sse2 wcsrchr-c.
20525 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20526 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20527 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20528 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20529 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20530 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20531 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20532 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20533 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20534 * wcsmbc/wcschr.c (WCSCHR): New macro.
20536 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20538 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20539 * wcsmbs/test-wcsrchr.c: New file.
20540 * string/test-strrchr.c: Add wcsrchr support.
20542 * wcsmbs/test-wcscpy.c: New file.
20543 * string/test-strcpy.c: Add wcscpy support.
20546 2011-12-10 Ulrich Drepper <drepper@gmail.com>
20548 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20551 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20554 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20556 2011-12-04 Ulrich Drepper <drepper@gmail.com>
20558 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20559 Minor optimizations.
20561 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20562 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20563 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20565 2011-12-03 Ulrich Drepper <drepper@gmail.com>
20567 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20568 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20569 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20570 for gcc to avoid warnings.
20571 * inet/Makefile (tests): Add tst-checks.
20572 * inet/tst-checks.c: New file.
20574 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20577 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20580 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20581 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20583 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20585 2011-12-02 Ulrich Drepper <drepper@gmail.com>
20587 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20590 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20592 2011-11-29 Joseph Myers <joseph@codesourcery.com>
20594 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20595 conditional on GCC version.
20596 (__arch_compare_and_exchange_val_8_acq)
20597 (__arch_compare_and_exchange_val_16_acq)
20598 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20599 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20600 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20602 2011-12-02 Joseph Myers <joseph@codesourcery.com>
20604 * sysdeps/sh/backtrace.c: New file.
20606 2011-12-02 Andreas Schwab <schwab@redhat.com>
20608 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20611 2011-12-01 Andreas Schwab <schwab@redhat.com>
20613 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20614 falling back to utime.
20616 2011-11-30 Andreas Schwab <schwab@redhat.com>
20618 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20619 expectations for float.
20621 2011-11-29 Andreas Schwab <schwab@redhat.com>
20623 * locale/weight.h (findidx): Add parameter len.
20624 * locale/weightwc.h (findidx): Likewise.
20625 * posix/fnmatch_loop.c (FCT): Adjust caller.
20626 * posix/regcomp.c (build_equiv_class): Likewise.
20627 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20628 * posix/regexec.c (check_node_accept_bytes): Likewise.
20629 * string/strcoll_l.c (STRCOLL): Likewise.
20630 * string/strxfrm_l.c (STRXFRM): Likewise.
20632 2011-11-17 Ulrich Drepper <drepper@gmail.com>
20634 * Makefile.in: Remove CVSOPT handling.
20635 * configure.in: Remove use of AC_REVISION.
20636 * iconvdata/Makefile (distribute): No need to filter out CVS.
20637 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20640 2011-11-16 Andreas Schwab <schwab@redhat.com>
20642 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20643 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20644 [USE_AS_STRNCASECMP_L]: Likewise.
20645 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20646 NO_TLS_DIRECT_SEG_REFS.
20647 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20648 Fix argument offsets for non-PIC.
20649 [USE_AS_STRNCASECMP_L]: Likewise.
20650 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20651 NO_TLS_DIRECT_SEG_REFS.
20653 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20655 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20657 * locale/loadlocale.c (_nl_load_locale): Likewise.
20659 2011-11-15 Andreas Schwab <schwab@redhat.com>
20661 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20662 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20663 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20664 (SYSCALL_GETTIME): Set errno on error.
20666 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20667 count references to noai6ai_cached.
20669 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20671 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20673 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20674 FD_CLOEXEC for /proc/self/maps.
20676 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20677 FD_CLOEXEC for /proc/meminfo.
20679 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20682 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20683 FD_CLOEXEC for given file.
20685 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20687 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20688 FD_CLOEXEC for /etc/hosts.
20689 (_gethtent): Likewise.
20691 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20693 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20694 cancellation and set FD_CLOEXEC for /etc/netgroup.
20696 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20697 reading /etc/publickey.
20699 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20700 allow cancellation when reading /etc/group.
20702 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20704 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20706 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20707 when using data file.
20709 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20711 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20712 (write_nis_obj): Use "c" and "e" in fopen.
20714 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20716 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20718 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20720 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20722 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20725 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20727 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20729 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20731 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20732 file parsing and set FD_CLOEXEC.
20734 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20736 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20738 2011-11-14 Andreas Schwab <schwab@redhat.com>
20740 * malloc/arena.c (arena_get2): Don't call reused_arena when
20741 _int_new_arena failed.
20743 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20745 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20746 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20747 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20748 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20749 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20750 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20751 to compile strcasecmp and strncasecmp.
20752 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20753 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20755 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20757 2011-11-13 Ulrich Drepper <drepper@gmail.com>
20759 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20760 locale-defines.sym to gen-as-const-headers.
20761 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20762 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20763 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20764 to compile strcasecmp and strncasecmp.
20765 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20766 strcasecmp_l and strncasecmp_l.
20767 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20768 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20769 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20770 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20771 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20772 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20773 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20774 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20775 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20776 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20777 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20779 2011-11-12 Ulrich Drepper <drepper@gmail.com>
20781 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20782 result of SYSDEP_GETTIME_CPU to retval.
20783 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20784 parameter list to macro. Remove trailing semicolon. Adjust users.
20786 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20789 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20791 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20793 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20794 from unused variable.
20796 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20798 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20801 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20804 * sunrpc/rpc_prot.c (rejected): Fix case value.
20806 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20807 unsigned long long int to avoid warnings in shift.
20809 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20811 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20814 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20815 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20816 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20818 * nis/nis_table.c (nis_list): Use variable of correct type for
20819 result of __follow_path call.
20821 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20823 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20824 of math functions ceil, trunc, floor, round, and sqrt, when
20825 avaliable on the platform.
20826 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20828 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20829 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20830 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20832 2011-10-30 Marek Polacek <mpolacek@redhat.com>
20834 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20835 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20837 2011-11-11 Roland McGrath <roland@hack.frob.com>
20839 * include/unistd.h: Fix __readlink return type.
20840 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20842 2011-11-11 Ulrich Drepper <drepper@gmail.com>
20844 * stdlib/ucontext.h: Undo last change for makecontext.
20846 2011-11-11 Andreas Schwab <schwab@redhat.com>
20848 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20850 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20851 * setjmp/setjmp.h: Mark functions as non-leaf.
20852 * setjmp/bits/setjmp2.h: Likewise.
20853 * stdlib/ucontext.h: Likewise.
20855 2011-11-10 Andreas Schwab <schwab@redhat.com>
20857 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20858 (reused_arena): Don't check arena limit.
20859 (arena_get2): Atomically check arena limit.
20861 2011-11-08 Ulrich Drepper <drepper@gmail.com>
20863 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20864 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20866 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20869 2011-11-07 Andreas Schwab <schwab@redhat.com>
20871 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20872 handler when locking.
20874 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20875 Fix size of allocated buffer.
20877 2011-11-04 Andreas Schwab <schwab@redhat.com>
20880 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20881 declarations for long double functions.
20882 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20884 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20886 2011-11-03 Andreas Schwab <schwab@redhat.com>
20888 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20891 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20894 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20896 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20898 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20900 * include/alloca.h (stackinfo_alloca_round): Define.
20901 (extend_alloca): Use it.
20902 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20903 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20906 * scripts/check-local-headers.sh: Ignore libaudit.h.
20908 * nscd/Makefile (extra-objs): Make recursively expanded.
20910 2011-11-01 Ulrich Drepper <drepper@gmail.com>
20912 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20913 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20915 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20916 * posix/tst-rfc3484-2.c: Likewise.
20917 * posix/tst-rfc3484-3.c: Likewise.
20919 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20921 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20923 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20924 process_vm_writev from libc using GLIBC_2.15 version.
20926 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20928 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20930 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20933 2011-10-31 Ulrich Drepper <drepper@gmail.com>
20936 * nss/getent.c (initgroups_keys): Show error message in case no group
20939 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20940 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20941 __bump_nl_timestamp.
20942 * nscd/connections (nscd_init): When host database is served open
20943 netlink socket and request notification about configuration changes.
20944 (main_loop_poll): Track netlink file descriptor and bump timestamp
20945 in case data becomes available.
20946 (main_loop_epoll): Likewise.
20947 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20948 (database_pers_head): Add extra_data fileds.
20949 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20950 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20951 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20953 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20954 in6ai data, call __free_in6ai.
20955 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20956 Add -DHAVE_NETLINK.
20957 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20958 interface information. Reuse previous data if netlink timestamp
20960 (__bump_nl_timestamp): New function.
20961 (__free_in6ai): New function.
20963 2011-10-30 Ulrich Drepper <drepper@gmail.com>
20965 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20966 close_not_cancel_no_status here.
20967 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20969 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20972 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20975 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20976 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20977 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20979 2011-07-03 Andreas Jaeger <aj@suse.de>
20982 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20983 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20984 * math/libm-test.inc (sin_test): Add test case.
20986 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20989 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20990 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20992 * elf/chroot_canon.c (chroot_canon): Cleanups.
20994 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20997 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20998 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21000 * string/test-strchr.c: Make usable for strchrnul testing.
21001 * string/test-strchrnul.c: New file.
21002 * string/Makefile (strop-tests): Add strchrnul.
21004 * po/it.po: Update from translation team.
21005 * po/es.po: Likewise.
21007 2011-10-28 Ulrich Drepper <drepper@gmail.com>
21009 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21010 the three constants needed as parameters. Drop the others.
21011 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21012 __m128i_strloadu_tolower.
21013 Create and initialize variable zero and use it in all the places
21014 where _mm_setzero_si128 was used.
21016 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21017 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21018 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21019 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21021 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21022 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21023 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21024 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21025 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21026 __mpranred, __mptan.
21027 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21028 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21029 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21030 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21031 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21032 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21033 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21034 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21035 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21037 2011-10-28 Andreas Schwab <schwab@redhat.com>
21039 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21040 redefine if SHARED.
21041 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21043 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21044 wide char related routines to wcsmbs subdir.
21046 2011-10-27 Andreas Schwab <schwab@redhat.com>
21049 * misc/sys/cdefs.h (__THROWNL): Define.
21050 * posix/unistd.h: Use __THREADNL instead of __THREAD
21051 for memory synchronization functions.
21053 2011-10-26 Roland McGrath <roland@hack.frob.com>
21056 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21058 * manual/stdio.texi (Obstack Streams): Node removed.
21060 2011-10-26 Andreas Schwab <schwab@redhat.com>
21062 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21063 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21064 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21066 * math/math_private.h (math_force_eval): Allow non-addressable
21068 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21070 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21072 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21073 file is not needed.
21075 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21076 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21077 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21078 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21079 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21080 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21081 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21082 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21084 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21085 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21086 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21087 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21088 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21089 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21090 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21091 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21092 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21093 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21094 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21095 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21096 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21097 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21098 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21099 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21100 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21101 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21102 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21104 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21105 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21107 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21108 place. Use VEX encoding when compiling for AVX.
21110 2011-10-25 Andreas Schwab <schwab@redhat.com>
21112 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21113 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21115 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21117 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21119 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21120 useless if() expression.
21121 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21122 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21123 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21124 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21125 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21126 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21127 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21128 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21129 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21130 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21131 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21132 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21133 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21134 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21135 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21136 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21137 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21138 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21139 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21141 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21143 2011-10-25 Andreas Schwab <schwab@redhat.com>
21145 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21147 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21149 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21151 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21152 .text section. Avoid duplicate constants.
21153 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21154 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21155 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21156 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21157 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21158 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21159 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21160 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21161 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21162 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21163 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21164 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21165 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21166 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21167 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21168 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21169 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21170 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21171 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21172 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21173 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21174 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21175 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21176 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21177 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21178 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21179 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21180 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21181 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21182 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21183 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21184 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21185 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21186 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21187 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21188 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21189 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21190 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21191 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21192 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21193 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21194 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21195 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21196 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21197 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21199 2011-10-24 Ulrich Drepper <drepper@gmail.com>
21201 * sysdeps/x86_64/dla.h: Move to ...
21202 * sysdeps/x86_64/fpu/dla.h: ...here.
21203 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21204 situations. Use __builtin_fma only for gcc 4.6 and up.
21206 * config.make.in: Add have-mfma4 entry.
21207 * configure.in: Substitute libc_cv_cc_fma4.
21208 * math/Makefile (dbl-only-routines): Add sincostab.
21209 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21210 Use __sincostab not sincos.
21211 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21213 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21214 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21215 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21216 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21218 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21219 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21220 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21221 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21223 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21224 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21226 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21227 define aliases when function name is a macro.
21228 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21229 sysdeps/ieee754/dbl-64/sincos.tbl.
21230 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21231 fma4-enabled routines.
21232 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21233 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21234 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21235 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21236 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21237 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21238 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21239 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21240 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21241 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21242 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21243 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21244 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21245 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21246 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21247 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21248 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21249 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21250 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21251 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21252 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21253 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21254 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21255 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21256 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21257 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21258 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21259 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21260 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21261 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21263 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21265 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21266 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21267 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21268 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21269 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21270 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21271 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21272 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21274 2011-10-24 Andreas Schwab <schwab@redhat.com>
21276 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21278 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21280 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21282 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21284 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21286 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21287 Remove unused variable magic_bits.
21288 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21290 * string/strnlen.c: Define and use STRNLEN macro.
21291 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21292 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21293 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21294 * wcsmbs/wcslen.c: Define and use WCSLEN.
21295 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21296 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21297 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21298 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21299 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21300 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21301 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21303 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21306 strnlen-sse2-no-bsf.
21307 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21308 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21309 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21310 Add strnlen support.
21311 (USE_AS_STRNLEN): New macro.
21312 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21313 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21314 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21315 * sysdeps/x86_64/wcslen.S: New file.
21317 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21319 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21320 XMM-moves are used for copying on small sizes.
21322 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21324 * wcsmbs/Makefile (strop-tests): Add wcschr.
21325 * wcsmbs/test-wcschr.c: New file.
21326 * string/test-strchr.c: Update.
21327 Add wcschr support.
21330 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21332 * wcsmbs/Makefile (strop-tests): Add wcslen.
21333 * wcsmbs/test-wcslen.c: New file.
21334 * string/test-strlen.c: Update.
21335 Add wcslen support.
21338 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21340 * po/it.po: Update from translation team.
21342 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21344 * sysdeps/x86_64/wcscmp.S: Update.
21345 Fix wrong comparison semantics.
21346 wcscmp shall use signed comparison not unsigned.
21347 Don't use substraction to avoid overflow bug.
21348 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21349 * wcsmbc/wcscmp.c: Likewise.
21350 * string/test-strcmp.c: Likewise.
21351 Add new tests to check cases with negative values.
21353 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21355 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21356 * sysdeps/x86_64/dla.h: ...here. New file.
21357 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21358 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21359 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21360 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21361 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21362 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21363 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21364 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21367 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21369 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21370 __ynl_finite aliases.
21372 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21374 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21376 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21378 [DLA_FMA] (EMULV): Use DLA_FMA.
21379 [DLA_FMA] (MUL12): Use EMULV.
21380 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21381 that are not needed.
21382 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21383 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21384 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21385 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21386 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21387 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21388 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21390 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21392 * math/s_nan.c: Undef __nan.
21393 * math/s_nanf.c: Undef __nanf.
21394 * math/s_nanl.c: Undef __nanl.
21395 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21398 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21400 * math/s_catan.c: Add branch predictions.
21401 * math/s_catanf.c: Likewise.
21402 * math/s_catanh.c: Likewise.
21403 * math/s_catanhf.c: Likewise.
21404 * math/s_catanhl.c: Likewise.
21405 * math/s_catanl.c: Likewise.
21406 * math/s_cexp.c: Likewise.
21407 * math/s_cexpf.c: Likewise.
21408 * math/s_cexpl.c: Likewise.
21409 * math/s_clog.c: Likewise.
21410 * math/s_clog10.c: Likewise.
21411 * math/s_clog10f.c: Likewise.
21412 * math/s_clog10l.c: Likewise.
21413 * math/s_clogf.c: Likewise.
21414 * math/s_clogl.c: Likewise.
21415 * math/s_csqrt.c: Likewise.
21416 * math/s_csqrtf.c: Likewise.
21417 * math/s_csqrtl.c: Likewise.
21418 * math/s_ctanf.c: Likewise.
21419 * math/s_ctanh.c: Likewise.
21420 * math/s_ctanhf.c: Likewise.
21421 * math/s_ctanhl.c: Likewise.
21422 * math/s_ctanl.c: Likewise.
21424 * math/math_private.h: Define __nan, __nanf, __nanl.
21425 * math/s_cacosh.c: Include <math_private.h>.
21426 * math/s_cacoshl.c: Likewise.
21427 * math/s_casinh.c: Likewise.
21428 * math/s_casinhf.c: Likewise.
21429 * math/s_casinhl.c: Likewise.
21430 * math/s_ccos.c: Rely entire on ccosh.
21431 * math/s_ccosf.c: Rely entire on ccoshf.
21432 * math/s_ccosl.c: Rely entirely on ccoshl.
21433 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21434 Remove tests for FE_INVALID.
21435 * math/s_ccoshf.c: Likewise.
21436 * math/s_ccoshl.c: Likewise.
21437 * math/s_csin.c: Likewise.
21438 * math/s_csinf.c: Likewise.
21439 * math/s_csinh.c Likewise.
21440 * math/s_csinhf.c: Likewise.
21441 * math/s_csinhl.c: Likewise.
21442 * math/s_csinl.c: Likewise.
21443 * math/s_ctan.c: Likewise.
21444 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21445 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21446 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21448 2011-10-21 Ulrich Drepper <drepper@gmail.com>
21450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21451 compilation problems.
21453 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21456 2011-10-20 Ulrich Drepper <drepper@gmail.com>
21458 * sysdeps/i386/configure.in: Test for -mfma4 option.
21459 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21460 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21461 COMMON_CPUID_INDEX_80000001.
21462 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21463 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21464 use it if FMA3 is not supported.
21465 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21467 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21468 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21470 2011-10-20 Andreas Schwab <schwab@redhat.com>
21473 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21474 it would create a cycle with a link time dependency.
21476 2011-10-19 Ulrich Drepper <drepper@gmail.com>
21478 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21480 * string/Makefile (strop-tests): Add rawmemchr.
21481 * string/test-rawmemchr.c: New file.
21483 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21484 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21485 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21486 when compiling str{,n}casecmp and when AVX is available. Hook up
21487 new optimized code in initializers.
21489 2011-10-19 Andreas Schwab <schwab@redhat.com>
21491 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21492 __feraiseexcept instead of feraiseexcept.
21494 2011-10-18 Ulrich Drepper <drepper@gmail.com>
21496 * math/math_private.h: Define defaults for libc_fetestexcept and
21498 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21499 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21500 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21501 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21502 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21503 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21504 libc_fetestexcept and libc_feupdateenv.
21506 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21507 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21508 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21509 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21510 libc_feholdexcept_setround.
21512 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21513 Add s_nearbyint-c and s_nearbyintf-c.
21514 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21515 nearbyintf inlines.
21516 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21517 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21518 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21519 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21521 * math/math_private.h: Define defaults for libc_fegetround,
21522 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21523 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21524 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21525 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21526 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21527 standard functions.
21528 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21529 Remove comments and hacks for old compiler versions.
21530 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21531 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21532 libc_feholdexceptl.
21534 2011-10-18 Andreas Schwab <schwab@redhat.com>
21536 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21537 (__feraiseexcept_renamed): Add __NTH.
21538 (feraiseexcept): Add __NTH. Rename local variables to fix
21539 namespace violations.
21541 2011-10-17 Ulrich Drepper <drepper@gmail.com>
21543 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21545 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21547 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21548 recently added interfaces.
21549 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21551 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21552 about macro parameter expansion.
21554 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21555 __NO_MATH_INLINES is defined. Cleanups.
21557 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21558 and __floorf is target has SSE4.1.
21559 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21560 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21561 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21562 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21564 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21566 (floorf): Likewise.
21568 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21570 2011-10-17 Andreas Schwab <schwab@redhat.com>
21572 * misc/sys/cdefs.h: Fix last change.
21574 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21577 2011-10-16 Ulrich Drepper <drepper@gmail.com>
21579 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21581 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21582 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21583 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21584 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21585 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21586 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21587 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21588 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21589 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21590 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21591 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21592 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21593 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21594 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21595 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21596 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21597 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21598 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21599 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21600 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21601 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21602 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21604 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21605 ceil, ceilf, floor, floorf.
21607 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21608 Perform IRELATIVE relocations last.
21610 * elf/do-rel.h: Add another parameter nrelative, replacing the
21611 local variable with the same name. Change name of the function
21612 to end in Rel or Rela (uppercase).
21613 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21614 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21615 elf_dynamic_do_##reloc function.
21617 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21619 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21620 is sufficient, at least on modern CPUs.
21622 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21624 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21625 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21627 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21629 * math/bits/math-finite.h: Add entries for exp.
21630 * math/e_expl.c: Add __*_finite alias.
21631 * sysdeps/i386/fpu/e_exp.S: Likewise.
21632 * sysdeps/i386/fpu/e_expf.S: Likewise.
21633 * sysdeps/i386/fpu/e_expl.c: Likewise.
21634 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21635 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21636 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21637 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21638 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21639 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21640 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21642 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21643 is sufficient, at least on modern CPUs.
21645 * ctype/ctype-info.c (__ctype_init): Define.
21646 * include/ctype.h (__ctype_init): Declare.
21647 (__ctype_b_loc): The variable is always initialized.
21648 (__ctype_toupper_loc): Likewise.
21649 (__ctype_tolower_loc): Likewise.
21650 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21651 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21653 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21655 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21657 * configure.in: Also look in $cxxmachine/include for C++ system
21660 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21662 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21663 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21664 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21665 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21666 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21667 (USE_AS_WMEMCMP): New macro.
21669 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21670 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21671 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21672 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21673 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21674 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21675 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21676 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21677 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21678 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21679 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21680 (USE_AS_WMEMCMP): New macro.
21681 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21682 * sysdeps/string/test-memcmp.c: Update.
21683 Fix simple_wmemcmp.
21685 * wcsmbs/wmemcmp.c: Update.
21686 (WMEMCMP): New macro.
21689 2011-10-12 Andreas Jaeger <aj@suse.de>
21692 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21694 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21696 * libio/iofwide.c (do_length): Avoid warning.
21698 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21700 2011-10-14 Ulrich Drepper <drepper@gmail.com>
21702 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21704 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21705 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21706 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21707 * sysdeps/i386/i686/fpu/e_log.S: New file.
21708 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21709 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21711 * ctype/ctype.h: Add support for inlined isXXX functions when
21712 compiling C++ code.
21714 2011-10-14 Andreas Schwab <schwab@redhat.com>
21716 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21718 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21720 2011-10-13 Roland McGrath <roland@hack.frob.com>
21723 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21725 2011-10-13 Andreas Schwab <schwab@redhat.com>
21727 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21728 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21731 * sysdeps/x86_64/memrchr.S: Check for zero size.
21733 * string/stratcliff.c: Add memrchr tests.
21735 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21737 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21738 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21739 rawmemchr-sse2 rawmemchr-sse2-bsf.
21740 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21741 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21742 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21743 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21744 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21745 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21746 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21747 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21748 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21749 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21750 * string/memrchr.c (MEMRCHR): New macro.
21752 2011-10-12 Ulrich Drepper <drepper@gmail.com>
21754 Add integration with gcc's -ffinite-math-only and optimize wrapper
21756 * Versions.def: Define GLIBC_2.15 version for libm.
21757 * math/Makefile (headers): Add bits/math-finite.h.
21758 * math/bits/math-finite.h: New file.
21759 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21760 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21761 * math/e_acoshl.c: Add __*_finite alias.
21762 * math/e_acosl.c: Likewise.
21763 * math/e_asinl.c: Likewise.
21764 * math/e_atan2l.c: Likewise.
21765 * math/e_atanhl.c: Likewise.
21766 * math/e_coshl.c: Likewise.
21767 * math/e_exp10.c: Likewise.
21768 * math/e_exp10f.c: Likewise.
21769 * math/e_exp10l.c: Likewise.
21770 * math/e_exp2l.c: Likewise.
21771 * math/e_fmodl.c: Likewise.
21772 * math/e_gammal_r.c: Likewise.
21773 * math/e_hypotl.c: Likewise.
21774 * math/e_j0l.c: Likewise.
21775 * math/e_j1l.c: Likewise.
21776 * math/e_jnl.c: Likewise.
21777 * math/e_lgammal_r.c: Likewise.
21778 * math/e_log10l.c: Likewise.
21779 * math/e_log2l.c: Likewise.
21780 * math/e_logl.c: Likewise.
21781 * math/e_powl.c: Likewise.
21782 * math/e_sinhl.c: Likewise.
21783 * math/e_sqrtl.c: Likewise.
21784 * math/e_scalb.c: Completely rewritten and optimized.
21785 * math/e_scalbf.c: Likewise.
21786 * math/e_scalbl.c: Likewise.
21787 * math/w_acos.c: Likewise.
21788 * math/w_acosf.c: Likewise.
21789 * math/w_acosl.c: Likewise.
21790 * math/w_acosh.c: Likewise.
21791 * math/w_acoshf.c: Likewise.
21792 * math/w_acoshl.c: Likewise.
21793 * math/w_asin.c: Likewise.
21794 * math/w_asinf.c: Likewise.
21795 * math/w_asinl.c: Likewise.
21796 * math/w_atan2.c: Likewise.
21797 * math/w_atan2f.c: Likewise.
21798 * math/w_atan2l.c: Likewise.
21799 * math/w_atanh.c: Likewise.
21800 * math/w_atanhf.c: Likewise.
21801 * math/w_atanhl.c: Likewise.
21802 * math/w_exp10.c: Likewise.
21803 * math/w_exp10f.c: Likewise.
21804 * math/w_exp10l.c: Likewise.
21805 * math/w_fmod.c: Likewise.
21806 * math/w_fmodf.c: Likewise.
21807 * math/w_fmodl.c: Likewise.
21808 * math/w_j0.c: Likewise.
21809 * math/w_j0f.c: Likewise.
21810 * math/w_j0l.c: Likewise.
21811 * math/w_j1.c: Likewise.
21812 * math/w_j1f.c: Likewise.
21813 * math/w_j1l.c: Likewise.
21814 * math/w_jn.c: Likewise.
21815 * math/w_jnf.c: Likewise.
21816 * math/w_log.c: Likewise.
21817 * math/w_logf.c: Likewise.
21818 * math/w_logl.c: Likewise.
21819 * math/w_log10.c: Likewise.
21820 * math/w_log10f.c: Likewise.
21821 * math/w_log10l.c: Likewise.
21822 * math/w_log2.c: Likewise.
21823 * math/w_log2f.c: Likewise.
21824 * math/w_log2l.c: Likewise.
21825 * math/w_pow.c: Likewise.
21826 * math/w_powf.c: Likewise.
21827 * math/w_powl.c: Likewise.
21828 * math/w_remainder.c: Likewise.
21829 * math/w_remainderf.c: Likewise.
21830 * math/w_remainderl.c: Likewise.
21831 * math/w_scalb.c: Likewise.
21832 * math/w_scalbf.c: Likewise.
21833 * math/w_scalbl.c: Likewise.
21834 * math/w_sqrt.c: Likewise.
21835 * math/w_sqrtf.c: Likewise.
21836 * math/w_sqrtl.c: Likewise.
21837 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21838 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21840 * math/math_private.h: Declare __kernel_standard_f.
21841 * math/w_cosh.c: Remove cruft and optimize a bit.
21842 * math/w_coshf.c: Likewise.
21843 * math/w_coshl.c: Likewise.
21844 * math/w_exp2.c: Likewise.
21845 * math/w_exp2f.c: Likewise.
21846 * math/w_exp2l.c: Likewise.
21847 * math/w_hypot.c: Likewise.
21848 * math/w_hypotf.c: Likewise.
21849 * math/w_hypotl.c: Likewise.
21850 * math/w_lgamma.c: Likewise.
21851 * math/w_lgamma_r.c: Likewise.
21852 * math/w_lgammaf.c: Likewise.
21853 * math/w_lgammaf_r.c: Likewise.
21854 * math/w_lgammal.c: Likewise.
21855 * math/w_lgammal_r.c: Likewise.
21856 * math/w_sinh.c: Likewise.
21857 * math/w_sinhf.c: Likewise.
21858 * math/w_sinhl.c: Likewise.
21859 * math/w_tgamma.c: Likewise.
21860 * math/w_tgammaf.c: Likewise.
21861 * math/w_tgammal.c: Likewise.
21862 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21863 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21864 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21865 Minor optimizations. Pretty printing. Remove cruft.
21866 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21867 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21868 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21869 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21870 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21871 * sysdeps/i386/fpu/e_asin.S: Likewise.
21872 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21873 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21874 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21875 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21876 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21877 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21878 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21879 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21880 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21881 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21882 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21883 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21884 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21885 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21886 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21887 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21888 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21889 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21890 * sysdeps/i386/fpu/e_log.S: Likewise.
21891 * sysdeps/i386/fpu/e_log10.S: Likewise.
21892 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21893 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21894 * sysdeps/i386/fpu/e_log2.S: Likewise.
21895 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21896 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21897 * sysdeps/i386/fpu/e_logf.S: Likewise.
21898 * sysdeps/i386/fpu/e_logl.S: Likewise.
21899 * sysdeps/i386/fpu/e_pow.S: Likewise.
21900 * sysdeps/i386/fpu/e_powf.S: Likewise.
21901 * sysdeps/i386/fpu/e_powl.S: Likewise.
21902 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21903 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21904 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21905 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21906 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21907 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21908 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21909 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21910 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21911 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21912 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21913 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21914 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21915 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21916 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21917 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21918 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21919 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21920 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21921 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21922 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21923 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21924 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21925 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21926 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21927 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21928 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21929 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21930 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21931 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21932 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21933 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21934 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21935 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21936 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21937 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21938 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21939 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21940 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21941 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21942 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21943 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21944 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21945 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21946 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21947 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21948 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21949 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21950 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21951 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21952 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21953 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21954 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21955 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21956 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21957 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21958 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21959 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21960 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21961 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21962 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21963 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21964 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21965 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21966 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21967 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21968 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21969 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21970 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21971 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21972 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21973 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21974 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21975 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21976 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21977 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21978 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21979 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21980 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21981 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21982 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21983 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21984 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21985 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21986 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21987 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21988 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21989 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21990 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21991 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21992 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21993 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21994 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21995 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21996 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21997 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21998 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21999 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22000 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22001 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22002 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22003 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22004 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22005 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22006 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22007 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22008 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22009 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22010 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22011 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22012 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22013 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22014 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22015 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22016 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22017 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22018 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22019 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22020 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22021 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22022 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22023 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22024 (__isnanf): Likewise.
22025 (__isinf_ns): Likewise.
22026 (__isinf_nsf): Likewise.
22027 (__finite): Likewise.
22028 (__finitef): Likewise.
22029 (__ieee754_sqrt): Define as macro.
22030 (__ieee754_sqrtf): Define as macro.
22031 (__ieee754_sqrtl): Define as macro.
22032 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22034 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22035 __FINITE_MATH_ONLY__ consistent.
22036 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22038 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22040 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22043 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22045 2011-10-09 Ulrich Drepper <drepper@gmail.com>
22047 * po/ja.po: Update from translation team.
22049 2011-10-08 Roland McGrath <roland@hack.frob.com>
22051 * locale/programs/locarchive.c (prepare_address_space): New function.
22052 (create_archive, enlarge_archive, open_archive): Use it.
22054 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22055 inside [SHARED], where it is used.
22057 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22059 * nss/getent.c (netgroup_keys): Remove unused variable.
22060 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22062 2011-10-08 Ulrich Drepper <drepper@gmail.com>
22064 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22065 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22066 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22067 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22068 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22069 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22070 * math/Makefile (libm-calls): Add s_isinf_ns.
22071 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22072 * math/multc3.c: Likewise.
22073 * math/s_casin.c: Likewise.
22074 * math/s_casinf.c: Likewise.
22075 * math/s_casinl.c: Likewise.
22076 * math/s_ccos.c: Likewise.
22077 * math/s_ccosf.c: Likewise.
22078 * math/s_ccosl.c: Likewise.
22079 * math/s_ctan.c: Likewise.
22080 * math/s_ctanf.c: Likewise.
22081 * math/s_ctanh.c: Likewise.
22082 * math/s_ctanhf.c: Likewise.
22083 * math/s_ctanhl.c: Likewise.
22084 * math/s_ctanl.c: Likewise.
22085 * math/w_fmod.c: Likewise.
22086 * math/w_fmodf.c: Likewise.
22087 * math/w_fmodl.c: Likewise.
22088 * math/w_remainder.c: Likewise.
22089 * math/w_remainderf.c: Likewise.
22090 * math/w_remainderl.c: Likewise.
22091 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22092 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22093 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22094 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22095 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22096 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22097 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22098 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22100 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22102 * stdio-common/printf_fphex.c: Likewise.
22103 * stdio-common/printf_size.c: Likewise.
22105 * math/e_exp10.c: Include math_private.h using <...> not "...".
22106 * math/e_exp10f.c: Likewise.
22107 * math/e_exp10l.c: Likewise.
22108 * math/e_exp2l.c: Likewise.
22109 * math/e_j0l.c: Likewise.
22110 * math/e_j1l.c: Likewise.
22111 * math/e_jnl.c: Likewise.
22112 * math/e_lgammal_r.c: Likewise.
22113 * math/e_rem_pio2l.c: Likewise.
22114 * math/e_scalb.c: Likewise.
22115 * math/e_scalbf.c: Likewise.
22116 * math/e_scalbl.c: Likewise.
22117 * math/k_cosl.c: Likewise.
22118 * math/k_sinl.c: Likewise.
22119 * math/k_tanl.c: Likewise.
22120 * math/s_cacoshf.c: Likewise.
22121 * math/s_catan.c: Likewise.
22122 * math/s_catanf.c: Likewise.
22123 * math/s_catanh.c: Likewise.
22124 * math/s_catanhf.c: Likewise.
22125 * math/s_catanhl.c: Likewise.
22126 * math/s_catanl.c: Likewise.
22127 * math/s_ccosh.c: Likewise.
22128 * math/s_ccoshf.c: Likewise.
22129 * math/s_ccoshl.c: Likewise.
22130 * math/s_cexp.c: Likewise.
22131 * math/s_cexpf.c: Likewise.
22132 * math/s_cexpl.c: Likewise.
22133 * math/s_clog.c: Likewise.
22134 * math/s_clog10.c: Likewise.
22135 * math/s_clog10f.c: Likewise.
22136 * math/s_clog10l.c: Likewise.
22137 * math/s_clogf.c: Likewise.
22138 * math/s_clogl.c: Likewise.
22139 * math/s_csin.c: Likewise.
22140 * math/s_csinf.c: Likewise.
22141 * math/s_csinh.c: Likewise.
22142 * math/s_csinhf.c: Likewise.
22143 * math/s_csinhl.c: Likewise.
22144 * math/s_csinl.c: Likewise.
22145 * math/s_csqrt.c: Likewise.
22146 * math/s_csqrtf.c: Likewise.
22147 * math/s_csqrtl.c: Likewise.
22148 * math/s_ctan.c: Likewise.
22149 * math/s_ctanf.c: Likewise.
22150 * math/s_ctanh.c: Likewise.
22151 * math/s_ctanhf.c: Likewise.
22152 * math/s_ctanhl.c: Likewise.
22153 * math/s_ctanl.c: Likewise.
22154 * math/s_ldexp.c: Likewise.
22155 * math/s_ldexpf.c: Likewise.
22156 * math/s_ldexpl.c: Likewise.
22157 * math/s_significand.c: Likewise.
22158 * math/s_significandf.c: Likewise.
22159 * math/s_significandl.c: Likewise.
22160 * math/w_acos.c: Likewise.
22161 * math/w_acosf.c: Likewise.
22162 * math/w_acosh.c: Likewise.
22163 * math/w_acoshf.c: Likewise.
22164 * math/w_acoshl.c: Likewise.
22165 * math/w_acosl.c: Likewise.
22166 * math/w_asin.c: Likewise.
22167 * math/w_asinf.c: Likewise.
22168 * math/w_asinl.c: Likewise.
22169 * math/w_atan2.c: Likewise.
22170 * math/w_atan2f.c: Likewise.
22171 * math/w_atan2l.c: Likewise.
22172 * math/w_atanh.c: Likewise.
22173 * math/w_atanhf.c: Likewise.
22174 * math/w_atanhl.c: Likewise.
22175 * math/w_cosh.c: Likewise.
22176 * math/w_coshf.c: Likewise.
22177 * math/w_coshl.c: Likewise.
22178 * math/w_dremf.c: Likewise.
22179 * math/w_exp10.c: Likewise.
22180 * math/w_exp10f.c: Likewise.
22181 * math/w_exp10l.c: Likewise.
22182 * math/w_exp2.c: Likewise.
22183 * math/w_exp2f.c: Likewise.
22184 * math/w_fmod.c: Likewise.
22185 * math/w_fmodf.c: Likewise.
22186 * math/w_fmodl.c: Likewise.
22187 * math/w_hypot.c: Likewise.
22188 * math/w_hypotf.c: Likewise.
22189 * math/w_hypotl.c: Likewise.
22190 * math/w_j0.c: Likewise.
22191 * math/w_j0f.c: Likewise.
22192 * math/w_j0l.c: Likewise.
22193 * math/w_j1.c: Likewise.
22194 * math/w_j1f.c: Likewise.
22195 * math/w_j1l.c: Likewise.
22196 * math/w_jn.c: Likewise.
22197 * math/w_jnf.c: Likewise.
22198 * math/w_jnl.c: Likewise.
22199 * math/w_lgamma.c: Likewise.
22200 * math/w_lgamma_r.c: Likewise.
22201 * math/w_lgammaf.c: Likewise.
22202 * math/w_lgammaf_r.c: Likewise.
22203 * math/w_lgammal.c: Likewise.
22204 * math/w_lgammal_r.c: Likewise.
22205 * math/w_log.c: Likewise.
22206 * math/w_log10.c: Likewise.
22207 * math/w_log10f.c: Likewise.
22208 * math/w_log10l.c: Likewise.
22209 * math/w_log2.c: Likewise.
22210 * math/w_log2f.c: Likewise.
22211 * math/w_log2l.c: Likewise.
22212 * math/w_logf.c: Likewise.
22213 * math/w_logl.c: Likewise.
22214 * math/w_pow.c: Likewise.
22215 * math/w_powf.c: Likewise.
22216 * math/w_powl.c: Likewise.
22217 * math/w_remainder.c: Likewise.
22218 * math/w_remainderf.c: Likewise.
22219 * math/w_remainderl.c: Likewise.
22220 * math/w_scalb.c: Likewise.
22221 * math/w_scalbf.c: Likewise.
22222 * math/w_scalbl.c: Likewise.
22223 * math/w_sinh.c: Likewise.
22224 * math/w_sinhf.c: Likewise.
22225 * math/w_sinhl.c: Likewise.
22226 * math/w_sqrt.c: Likewise.
22227 * math/w_sqrtf.c: Likewise.
22228 * math/w_sqrtl.c: Likewise.
22229 * math/w_tgamma.c: Likewise.
22230 * math/w_tgammaf.c: Likewise.
22231 * math/w_tgammal.c: Likewise.
22233 * po/ja.po: Update from translation team.
22235 2011-09-29 Andreas Jaeger <aj@suse.de>
22238 * sunrpc/netname.c (netname2host): Fix logic.
22242 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22244 * math/w_remainder.c (__remainder): Likewise.
22245 * math/w_remainderf.c (__remainderf): Likewise.
22246 * math/libm-test.inc (remainder_test): Add test cases.
22248 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22250 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22253 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22255 * string/test-memcmp.c: Avoid unncessary #defines.
22256 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22258 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22260 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22261 Use new sse2 version for core i3 - i7 as it's faster
22262 than sse42 version.
22263 (bit_Prefer_PMINUB_for_stringop): New.
22264 * sysdeps/x86_64/rawmemchr.S: Update.
22265 Replace with faster SSE2 version.
22266 * sysdeps/x86_64/memrchr.S: New file.
22267 * sysdeps/x86_64/memchr.S: Update.
22268 Replace with faster SSE2 version.
22270 2011-09-12 Marek Polacek <mpolacek@redhat.com>
22272 * elf/dl-load.c (lose): Add cast to avoid warning.
22274 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22276 * po/ca.po: Update from translation team.
22278 * inet/getnetgrent_r.c: Hook up nscd.
22279 * nscd/Makefile (routines): Add nscd_netgroup.
22280 (nscd-modules): Add netgroupcache.
22281 (CFLAGS-netgroupcache.c): Define.
22282 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22283 (cache_search): Add const to second parameter.
22284 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22286 (dbs): Add netgrdb entry.
22287 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22288 (verify_persistent_db): Handle netgrdb.
22289 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22290 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22292 (netgroup_response_header): Define.
22293 (innetgroup_response_header): Define.
22294 (datahead): Add netgroup_response_header and innetgroup_response_header
22296 * nscd/nscd.conf: Add entries for netgroup cache.
22297 * nscd/nscd.h (dbtype): Add netgrdb.
22298 (_PATH_NSCD_NETGROUP_DB): Define.
22299 (netgroup_iov_disabled): Declare.
22300 (xmalloc, xcalloc, xrealloc): Move declarations here.
22301 (cache_search): Adjust prototype.
22302 Add netgroup-related prototypes.
22303 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22304 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22305 (__nscd_innetgr): Declare.
22306 * nscd/selinux.c (perms): Use access_vector_t as element type and
22307 add netgroup-related initializers.
22308 * nscd/netgroupcache.c: New file.
22309 * nscd/nscd_netgroup.c: New file.
22310 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22311 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22312 For four parameters use innetgr.
22313 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22314 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22315 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22316 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22318 * nscd/connections.c (register_traced_file): Don't register file
22319 for disabled databases.
22321 2011-10-06 Ulrich Drepper <drepper@gmail.com>
22323 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22325 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22326 from tree and freeing node.
22328 2011-09-25 Jiri Olsa <jolsa@redhat.com>
22330 * nss/nsswitch.c (__nss_database_lookup): Handle
22331 nss_parse_service_list out of memory case.
22333 2011-09-15 Jiri Olsa <jolsa@redhat.com>
22335 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22336 out of memory case.
22338 2011-10-04 Andreas Schwab <schwab@redhat.com>
22340 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22341 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22343 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22344 elf_machine_rela, elf_machine_lazy_rel.
22345 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22346 (ELF_DYNAMIC_DO_REL): Likewise.
22347 (ELF_DYNAMIC_DO_RELA): Likewise.
22348 (ELF_DYNAMIC_RELOCATE): Likewise.
22349 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22350 to ELF_DYNAMIC_DO_REL.
22351 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22352 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22353 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22355 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22356 skip_ifunc, don't call ifunc function if non-zero.
22357 (elf_machine_rela): Likewise.
22358 (elf_machine_lazy_rel): Likewise.
22359 (elf_machine_lazy_rela): Likewise.
22360 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22361 (elf_machine_lazy_rel): Likewise.
22362 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22364 (elf_machine_lazy_rel): Likewise.
22365 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22367 (elf_machine_lazy_rel): Likewise.
22368 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22369 (elf_machine_lazy_rel): Likewise.
22370 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22371 (elf_machine_lazy_rel): Likewise.
22372 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22373 (elf_machine_lazy_rel): Likewise.
22374 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22375 (elf_machine_lazy_rel): Likewise.
22376 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22377 (elf_machine_lazy_rel): Likewise.
22378 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22379 (elf_machine_lazy_rel): Likewise.
22381 2011-09-28 Ulrich Drepper <drepper@gmail.com>
22383 * nss/nss_files/files-init.c (_nss_files_init): Use static
22384 initialization for all the *_traced_file variables.
22386 2011-09-28 Andreas Schwab <schwab@redhat.com>
22388 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22390 2011-09-27 Roland McGrath <roland@hack.frob.com>
22393 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22395 2011-09-27 Andreas Schwab <schwab@redhat.com>
22397 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22398 Reread the line before reparsing it.
22400 2011-09-26 Andreas Schwab <schwab@redhat.com>
22402 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22404 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22405 Maxim Kuvyrkov <maxim@codesourcery.com>
22406 Joseph Myers <joseph@codesourcery.com>
22408 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22409 if needed for __stack_chk_guard.
22411 2011-09-19 Roland McGrath <roland@hack.frob.com>
22413 * sysdeps/posix/spawni.c (script_execute): Always define it.
22414 It will be optimized away if unused.
22415 (maybe_script_execute): New function.
22416 (__spawni): Call it.
22418 * Makerules: Don't include tls.make.
22419 (config-tls): Always set to thread.
22420 * tls.make.c: File removed.
22422 2011-09-19 Mike Frysinger <vapier@gentoo.org>
22424 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22425 * config.make.in (CPPFLAGS-config): New substituted variable.
22427 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22429 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22432 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22433 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22435 2011-09-15 Roland McGrath <roland@hack.frob.com>
22437 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22438 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22439 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22440 (CALL_FAIL): Likewise.
22441 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22442 (CALL_FAIL): Macro removed.
22443 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22445 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22447 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22448 for __FINITE_MATH_ONLY__ == 1.
22450 2011-09-15 Andreas Schwab <schwab@redhat.com>
22452 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22453 __ieee754_sqrt instead of sqrt.
22454 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22455 __ieee754_sqrtf instead of sqrtf.
22456 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22457 __floorf instead of floorf.
22458 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22459 __floorf, __truncf instead of floorf, truncf.
22461 2011-09-14 Ulrich Drepper <drepper@gmail.com>
22463 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22465 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22466 __extern_always_inline.
22467 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22470 2011-09-14 Andreas Schwab <schwab@redhat.com>
22472 * elf/rtld.c (dl_main): Also relocate in dependency order when
22473 doing symbol dependency testing.
22475 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22477 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22478 Always define `refsym'.
22480 2011-09-13 Andreas Schwab <schwab@redhat.com>
22482 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22483 (__FD_ELT): Renamed from __FDELT.
22484 * misc/bits/select2.h (__FD_ELT): Likewise.
22485 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22486 __FD_MASK instead of __FDELT, __FDMASK.
22487 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22489 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22492 * elf/Makefile (gen-ldd): Fix pattern.
22494 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22495 (init_tls): Likewise.
22497 2011-09-12 Ulrich Drepper <drepper@gmail.com>
22499 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22501 2011-09-12 Andreas Schwab <schwab@redhat.com>
22503 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22504 `struct cmsghdr *' instead of `void *'.
22505 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22508 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22510 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22512 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22513 ldd_rewrite_script.
22515 2011-09-11 Ulrich Drepper <drepper@gmail.com>
22517 * configure.in: Remove --with-tls option.
22518 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22519 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22520 out in case it is missing.
22521 * sysdeps/ia64/elf/configure.in: Likewise.
22522 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22523 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22524 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22525 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22526 * sysdeps/sh/elf/configure.in: Likewise.
22527 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22528 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22529 * sysdeps/x86_64/elf/configure.in: Likewise.
22530 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22531 * sysdeps/mach/hurd/tls.h: Likewise.
22534 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22537 * configure.in: Fix use of AC_INIT.
22539 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22541 2011-09-10 Ulrich Drepper <drepper@gmail.com>
22543 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22545 * malloc/hooks.c: Likewise.
22548 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22549 variables statically.
22550 (narenas): Initialize.
22551 (list_lock): Initialize.
22552 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22553 initializtion of main_arena and list_lock. Small cleanups.
22554 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22555 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22556 Add initializers to main_arena and mp_.
22557 (malloc_state): Remove pagesize member. Change all users to use
22560 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22561 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22562 is always initialized.
22564 * malloc/malloc.c: Removed unused configurations and dead code.
22565 * malloc/arena.c: Likewise.
22566 * malloc/hooks.c: Likewise.
22567 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22569 * include/tls.h: Removed. USE___THREAD must always be defined.
22570 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22571 * elf/dl-libc.c: Likewise.
22572 * elf/dl-tsd.c: Likewise.
22573 * include/errno.h: Likewise.
22574 * include/netdb.h: Likewise.
22575 * include/resolv.h: Likewise.
22576 * inet/herrno-loc.c: Likewise.
22577 * inet/herrno.c: Likewise.
22578 * malloc/arena.c: Likewise.
22579 * malloc/hooks.c: Likewise.
22580 * malloc/malloc.c: Likewise.
22581 * resolv/res-state.c: Likewise.
22582 * resolv/res_libc.c: Likewise.
22583 * sysdeps/i386/dl-machine.h: Likewise.
22584 * sysdeps/ia64/dl-machine.h: Likewise.
22585 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22586 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22587 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22588 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22589 * sysdeps/sh/dl-machine.h: Likewise.
22590 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22591 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22592 * sysdeps/unix/i386/sysdep.S: Likewise.
22593 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22594 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22595 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22596 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22597 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22598 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22599 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22600 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22601 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22602 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22603 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22604 * sysdeps/x86_64/dl-machine.h: Likewise.
22605 * tls.make.c: Likewise.
22607 * configure.in: Remove --with-__thread option. Make tests for
22608 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22609 tls_model attribute fail if no support is available. Remove
22611 * Makeconfig: Adjust for dropped configure option. All features are
22613 * Makerules: Likewise.
22614 * Versions.def: Likewise.
22615 * argp/argp-fmtstream.c: Likewise.
22616 * argp/argp-fmtstream.h: Likewise.
22617 * argp/argp-help.c: Likewise.
22618 * assert/assert.c: Likewise.
22619 * config.h.in: Likewise.
22620 * config.make.in: Likewise.
22621 * configure: Likewise.
22622 * configure.in: Likewise.
22623 * csu/Versions: Likewise.
22624 * csu/init.c: Likewise.
22625 * elf/tst-audit2.c: Likewise.
22626 * elf/tst-tls10.c: Likewise.
22627 * elf/tst-tls10.h: Likewise.
22628 * elf/tst-tls11.c: Likewise.
22629 * elf/tst-tls12.c: Likewise.
22630 * elf/tst-tls14.c: Likewise.
22631 * elf/tst-tlsmod11.c: Likewise.
22632 * elf/tst-tlsmod12.c: Likewise.
22633 * elf/tst-tlsmod13.c: Likewise.
22634 * elf/tst-tlsmod13a.c: Likewise.
22635 * elf/tst-tlsmod14a.c: Likewise.
22636 * elf/tst-tlsmod15b.c: Likewise.
22637 * elf/tst-tlsmod16a.c: Likewise.
22638 * elf/tst-tlsmod16b.c: Likewise.
22639 * elf/tst-tlsmod7.c: Likewise.
22640 * elf/tst-tlsmod8.c: Likewise.
22641 * elf/tst-tlsmod9.c: Likewise.
22642 * gmon/gmon.c: Likewise.
22643 * grp/fgetgrent_r.c: Likewise.
22644 * grp/putgrent.c: Likewise.
22645 * hurd/fopenport.c: Likewise.
22646 * include/libc-symbols.h: Likewise.
22647 * include/tls.h: Likewise.
22648 * intl/gettextP.h: Likewise.
22649 * intl/loadinfo.h: Likewise.
22650 * locale/global-locale.c: Likewise.
22651 * locale/localeinfo.h: Likewise.
22652 * mach/devstream.c: Likewise.
22653 * malloc/arena.c: Likewise.
22654 * malloc/set-freeres.c: Likewise.
22655 * misc/err.c: Likewise.
22656 * misc/getttyent.c: Likewise.
22657 * misc/mntent_r.c: Likewise.
22658 * posix/getopt.c: Likewise.
22659 * posix/wordexp.c: Likewise.
22660 * pwd/fgetpwent_r.c: Likewise.
22661 * resolv/Versions: Likewise.
22662 * resolv/res_hconf.c: Likewise.
22663 * shadow/fgetspent_r.c: Likewise.
22664 * shadow/putspent.c: Likewise.
22665 * stdio-common/printf_fphex.c: Likewise.
22666 * stdio-common/tmpfile.c: Likewise.
22667 * stdlib/abort.c: Likewise.
22668 * stdlib/fmtmsg.c: Likewise.
22669 * sunrpc/auth_unix.c: Likewise.
22670 * sunrpc/clnt_perr.c: Likewise.
22671 * sunrpc/clnt_tcp.c: Likewise.
22672 * sunrpc/clnt_udp.c: Likewise.
22673 * sunrpc/clnt_unix.c: Likewise.
22674 * sunrpc/openchild.c: Likewise.
22675 * sunrpc/svc_simple.c: Likewise.
22676 * sunrpc/svc_tcp.c: Likewise.
22677 * sunrpc/svc_udp.c: Likewise.
22678 * sunrpc/svc_unix.c: Likewise.
22679 * sunrpc/xdr.c: Likewise.
22680 * sunrpc/xdr_array.c: Likewise.
22681 * sunrpc/xdr_rec.c: Likewise.
22682 * sunrpc/xdr_ref.c: Likewise.
22683 * sunrpc/xdr_stdio.c: Likewise.
22685 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22687 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22689 2011-07-03 Andreas Jaeger <aj@suse.de>
22691 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22692 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22693 regenerate with gen-libm-tests.pl.
22695 2010-05-12 Petr Baudis <pasky@suse.cz>
22698 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22699 around j0() zero points by switching to j1().
22700 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22701 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22702 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22703 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22705 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22707 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22709 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22711 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22712 Patch in part by Pavel Roskin <proski@gnu.org>.
22715 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22717 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22718 Free memory block if necessary.
22721 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22722 be NULL. Don't lock in this case.
22724 2011-09-09 Roland McGrath <roland@hack.frob.com>
22726 * elf/elf.h (ELFOSABI_GNU): New macro.
22727 (ELFOSABI_LINUX): Define to that.
22729 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22731 * string/strncat.c (strncat): Undef the symbol in case it has been
22732 defined in bits/string.h.
22734 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22736 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22738 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22741 2011-08-17 Andreas Jaeger <aj@suse.de>
22743 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22745 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22746 Ian Lance Taylor <iant@google.com>
22748 * math/libm-test.inc (lround_test): New testcase.
22749 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22751 2011-09-08 Ulrich Drepper <drepper@gmail.com>
22753 * Makefile: Remove support for automatic cvs check-ins.
22754 * Makerules: Likewise.
22755 * config.make.in: Likewise.
22756 * configure.in: Likewise.
22757 * intl/Makefile: Likewise.
22758 * locale/Makefile: Likewise.
22759 * po/Makefile: Likewise.
22760 * posix/Makefile: Likewise.
22761 * sysdeps/gnu/Makefile: Likewise.
22762 * sysdeps/mach/hurd/Makefile: Likewise.
22763 * sysdeps/sparc/sparc32/Makefile: Likewise.
22766 * posix/Makefile (bug-regex32-ENV): Define.
22767 Patch by John Stanley <jpsinthemix@verizon.net>.
22769 * misc/Makefile (headers): Add bits/select2.h.
22770 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22771 * misc/bits/select2.h: New file.
22772 * include/bits/select2.h: New file.
22773 * debug/Makefile (routines): Add fdelt_chk.
22774 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22775 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22777 * debug/fdelt_chk.c: New file.
22779 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22780 * wcsmbs/test-wmemcmp.c: Likewise.
22781 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22782 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22784 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22786 * string/Makefile (strop-tests): Add memcmp.
22787 * string/test-wmemcmp.c: New file.
22788 * string/test-memcmp.c: Add wmemcmp support.
22790 2011-09-08 Roland McGrath <roland@hack.frob.com>
22793 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22796 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22797 garbage value in a __mach_port_mod_refs call in the cases of the
22798 task-self and thread-self ports.
22800 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22802 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22804 2011-09-08 Andreas Schwab <schwab@redhat.com>
22806 * elf/dl-load.c (lose): Check for non-null L.
22808 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22810 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22812 * elf/dl-libc.c (dlerror_run): Pass back error code from
22816 * elf/dl-load.c (lose): Free l_origin if it is valid.
22818 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22820 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22821 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22822 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22823 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22824 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22825 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22827 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22829 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22830 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22831 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22832 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22833 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22834 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22835 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22836 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22837 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22838 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22840 2011-08-15 Alan Modra <amodra@gmail.com>
22843 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22844 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22845 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22846 ppc_mcount to static-only-routines.
22847 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22849 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22850 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22852 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22854 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22855 for finite and infinity parameters.
22857 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22859 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22860 and add nop instructions for throughput optimization.
22861 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22863 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22865 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22866 aligned copy for power7 with vector-scalar instructions.
22867 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22869 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22871 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22874 2011-09-07 Andreas Schwab <schwab@redhat.com>
22877 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22880 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22882 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22883 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22884 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22885 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22888 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22890 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22891 Forgot to demangle the pointer.
22893 * sysdeps/i386/sysdep.h: Define atom_text_section.
22894 * sysdeps/x86_64/sysdep.h: Likewise.
22895 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22896 section with atom_text_section.
22897 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22898 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22899 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22900 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22901 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22903 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22904 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22905 already be defined. Change to take two parameters and don't assign
22906 result to variable. Adjust all users.
22907 Define INTERNAL_GETTIME if not already defined.
22908 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22910 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22911 HAVE_CLOCK_GETTIME_VSYSCALL.
22912 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22914 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22915 gettimeofday vsyscall, just use time.
22917 2011-09-06 Andreas Schwab <schwab@redhat.com>
22919 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22922 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22924 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22926 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22928 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22929 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22930 syscall if possible.
22932 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22934 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22935 e_ident. Don't pass to find_mapsXX.
22936 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22938 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22941 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22942 * sysdeps/x86_64/multiarch/strchr.S: Update.
22943 Check bit_slow_BSF bit.
22944 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22945 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22946 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22948 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22951 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22953 (tryshell): Define.
22954 (__spawni): Change last parameter to be flag. Test
22955 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22956 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22957 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22958 * posix/spawni.c: Likewise.
22959 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22960 * posix/spawnp.c: Likewise. Change normal version to use
22961 SPAWN_XFLAGS_USE_PATH.
22962 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22963 SPAWN_XFLAGS_TRY_SHELL.
22966 * posix/glob.h: Remove gcc 1.x support.
22969 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22971 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22973 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22974 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22976 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22977 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22978 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22979 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22980 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22981 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22983 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22985 * sysdeps/x86_64/wcscmp.S: New file.
22987 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22988 wcscmp-c wcscmp-sse2
22989 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22990 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22991 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22992 * wcsmbs/wcscmp.c: Allow renaming.
22994 2011-09-05 David S. Miller <davem@davemloft.net>
22996 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22997 stack slot, rather than the struct return pointer slot.
22998 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22999 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23001 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23003 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23005 * po/ja.po: Update from translation team.
23008 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23009 kernel in 64-bit binaries.
23011 2011-09-01 David S. Miller <davem@davemloft.net>
23013 * elf/elf.h (HWCAP_SPARC_*): Move to..
23014 * sysdeps/sparc/sysdep.h: this new file and add new values.
23015 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23016 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23017 _DL_HWCAP_COUNT to 24.
23018 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23020 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23021 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23022 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23023 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23024 instead of magic constants.
23025 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23027 2011-08-31 David S. Miller <davem@davemloft.net>
23029 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23030 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23031 Reimplement to do errno handling inline.
23032 (SYSCALL_ERROR_HANDLER): New macro.
23033 (__SYSCALL_STRING): Do not do errno handling in asm.
23034 (__CLONE_SYSCALL_STRING): Delete.
23035 (__INTERNAL_SYSCALL_STRING): Delete.
23036 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23037 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23038 (PSEUDO): Reimplement to do errno handling inline.
23039 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23040 (SYSCALL_ERROR_HANDLER): New macro.
23041 (__SYSCALL_STRING): Do not do errno handling in asm.
23042 (__CLONE_SYSCALL_STRING): Delete.
23043 (__INTERNAL_SYSCALL_STRING): Delete.
23044 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23045 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23047 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23048 (inline_syscall*): Add 'err' argument.
23049 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23050 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23051 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23052 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23054 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23055 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23057 2011-08-30 Andreas Schwab <schwab@redhat.com>
23059 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23061 2011-08-29 Jiri Olsa <jolsa@redhat.com>
23063 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23066 2011-08-24 David S. Miller <davem@davemloft.net>
23068 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23070 2011-08-24 Andreas Schwab <schwab@redhat.com>
23072 * elf/Makefile: Add rules to build and run unload8 test.
23073 * elf/unload8.c: New file.
23074 * elf/unload8mod1.c: New file.
23075 * elf/unload8mod1x.c: New file.
23076 * elf/unload8mod2.c: New file.
23077 * elf/unload8mod3.c: New file.
23079 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23082 2011-08-23 David S. Miller <davem@davemloft.net>
23084 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23085 subtract stack bias.
23086 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23087 %sp not %fp in calculations.
23088 (_JMPBUF_UNWINDS_ADJ): Likewise.
23090 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23091 (aio_suspend): Call it to force an exception region around the
23092 AIO_MISC_WAIT() invocation.
23094 2011-08-23 Andreas Schwab <schwab@redhat.com>
23096 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23099 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23101 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23103 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23104 and <dl-machine.h>.
23105 (Elf64_FuncDesc): Remove.
23107 2011-08-22 David S. Miller <davem@davemloft.net>
23109 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23110 sigaltstack check, add missing cfi directives.
23111 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23112 missing cfi directives, and sigaltstack handling.
23114 2011-08-16 Andreas Schwab <schwab@redhat.com>
23117 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23118 object is seen twice.
23119 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23121 * elf/Makefile (distribute): Add tst-initorder2.c.
23122 (tests): Add tst-initorder2.
23123 (modules-names): Add tst-initorder2a tst-initorder2b
23124 tst-initorder2c tst-initorder2d. Add rules to build them.
23125 ($(objpfx)tst-initorder2.out): New rule.
23126 * elf/tst-initorder2.c: New file.
23127 * elf/tst-initorder2.exp: New file.
23129 2011-08-22 Andreas Schwab <schwab@redhat.com>
23131 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23133 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23134 dependencies back to end of function.
23136 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23137 $(elfobjdir)/ld.so.
23139 2011-08-21 Ulrich Drepper <drepper@gmail.com>
23141 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23142 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23143 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23144 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23145 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23146 of __vdso_gettimeofday.
23147 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23148 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23150 (_libc_vdso_platform_setup): Remove initialization of
23151 __vdso_gettimeofday and __vdso_time.
23153 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23155 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23156 and fgetc_unlocked.
23157 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23160 * elf/dl-open.c (add_to_global): Report additions to the global scope
23161 for LD_DEBUG=scopes.
23162 (dl_open_worker): Also print scope of newly loaded dependencies.
23163 (_dl_show_scope): Indicate if there is no scope.
23166 * stdio-common/Makefile (tests): Add bug24.
23167 * stdio-common/bug24.c: New file.
23169 2011-08-19 Andreas Jaeger <aj@suse.de>
23172 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23173 non-existant file when using close-on-exec mode.
23175 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23177 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23178 the very first instruction.
23180 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23181 the CFI state in the end.
23182 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23183 inclusion of dl-trampoline.h.
23184 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23186 2011-08-19 Andreas Schwab <schwab@redhat.com>
23188 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23189 expectations for long double.
23191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23192 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23194 2011-08-14 David S. Miller <davem@davemloft.net>
23196 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23197 artificual limit depends upon the system page size.
23199 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23201 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23202 * resolv/Makefile: Define CFLAGS-libresolv.
23204 2011-08-17 Andreas Schwab <schwab@redhat.com>
23206 * nss/makedb.c (compute_tables): Make variables used in nested
23209 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23211 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23212 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23213 if buffer was too small.
23215 * elf/pldd.c (main): Attach to all threads in the process.
23216 Rewrite /proc handling to use *at functions.
23218 2011-08-16 Ulrich Drepper <drepper@gmail.com>
23220 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23221 specifies first scope to show.
23222 (dl_open_worker): Update callers. Move printing scope of new
23223 object to before the relocation.
23224 * elf/rtld.c (dl_main): Update _dl_show_scope call.
23225 * sysdeps/generic/ldsodefs.h: Update declaration.
23227 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23228 string for the scope number.
23230 2011-08-14 Ulrich Drepper <drepper@gmail.com>
23232 * nscd/servicescache.c (cache_addserv): Make sure written is always
23235 2011-08-14 Roland McGrath <roland@hack.frob.com>
23237 * sysdeps/i386/i486/bits/atomic.h
23238 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23239 statement expression, so as to suppress "set but not used" warning.
23240 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23242 * string/strncat.c (STRNCAT): Use prototype definition.
23244 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23245 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23247 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23248 (localedef-modules): Add localedef.
23249 (locale-modules): Add locale.
23251 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23252 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23253 to avoid a warning.
23255 2011-08-14 David S. Miller <davem@davemloft.net>
23257 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23258 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23260 2011-08-13 Ulrich Drepper <drepper@gmail.com>
23262 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23263 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23264 * elf/rtld.c (dl_main): Set l_name of vDSO.
23265 Call _dl_show_scope when DL_DEBUG_SCOPES.
23266 (process_dl_debug): Recognize scopes flag and also set it for all.
23267 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23268 Declare _dl_show_scope.
23270 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23271 (do_dlopen): Pass caller_dlopen to dl_open.
23272 (__libc_dlopen_mode): Initialize caller_dlopen.
23274 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23275 of libc. Make tolower call locale-independent. Optimize a bit by
23276 using isdigit instead of isalnum.
23277 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23279 2011-08-12 Ulrich Drepper <drepper@gmail.com>
23281 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23282 was a dependency or dynamically loaded.
23284 2011-08-11 Ulrich Drepper <drepper@gmail.com>
23286 * intl/l10nflist.c: Allow architecture-specific pop function.
23287 * sysdeps/x86_64/l10nflist.c: New file.
23289 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23292 2011-08-10 Andreas Schwab <schwab@redhat.com>
23294 * include/dirent.h: Add libc_hidden_proto for scandirat and
23295 scandirat64. Don't declare __scandirat64.
23296 * dirent/scandirat.c: Add libc_hidden_def.
23297 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23298 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23300 2011-08-10 David S. Miller <davem@davemloft.net>
23302 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23304 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23305 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23306 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23308 2011-08-09 Ulrich Drepper <drepper@gmail.com>
23310 * Versions.def [libc]: Add GLIBC_2.15.
23311 * dirent/Makefile (routines): Add scandirat and scandirat64.
23312 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23314 * dirent/dirent.h: Declare scandirat and scandirat64.
23315 * dirent/scandirat.c: New file.
23316 * dirent/scandirat64.c: New file.
23317 * sysdeps/wordsize-64/scandirat.c: New file.
23318 * sysdeps/wordsize-64/scandirat64.c: New file.
23319 * dirent/opendir.c: Define opendirat.
23320 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23322 * dirent/scandir64.c: Adjust for scandir.c change.
23323 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23324 __scandirat64, and __scandir_cancel_handler.
23325 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23326 additional parameter and use openat instead of open (outside of ld.so).
23327 Add new __opendir as wrapper around __opendirat.
23328 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23329 here without requiring old scandirat implementation.
23331 2011-08-08 Ulrich Drepper <drepper@gmail.com>
23333 * dirent/scandir.c (cancel_handler): Renamed to
23334 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23335 defined. Adjust users.
23336 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23337 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23339 2011-08-04 Ulrich Drepper <drepper@gmail.com>
23341 * string/test-string.h (IMPL): Use __STRING to expand name and then
23344 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23347 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23349 * string/Makefile: Update.
23350 (strop-tests): Append strncat.
23351 * string/test-wcscmp.c: New file.
23352 New comprehensive test for wcscmp.
23353 * string/test-strcmp.c: Update.
23354 (WIDE): New define.
23356 2011-07-22 Andreas Schwab <schwab@redhat.com>
23358 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23361 2011-07-26 Andreas Schwab <schwab@redhat.com>
23363 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23364 encoding to ACE if AI_IDN.
23366 2011-08-01 Jakub Jelinek <jakub@redhat.com>
23368 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23369 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23371 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23373 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23374 Fix overflow bug in strncat.
23375 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23377 * string/test-strncat.c: Update.
23378 Add new tests for checking overflow bugs.
23380 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23382 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23383 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23384 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23385 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23386 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23387 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23388 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23389 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23390 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23392 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23393 (USE_AS_STRCAT): Define.
23394 Add strcat and strncat support.
23395 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23397 2011-07-25 Andreas Schwab <schwab@redhat.com>
23399 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23400 __n bigger than INT_MAX+1.
23401 (__strncmp_g): Likewise.
23403 2011-07-23 Ulrich Drepper <drepper@gmail.com>
23405 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23406 * libio/stido.h: Likewise.
23408 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23410 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23413 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23414 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23415 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23416 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23417 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23420 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23423 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23425 (_dl_x86_64_save_sse): Likewise.
23427 2011-07-22 Ulrich Drepper <drepper@gmail.com>
23429 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23431 (_dl_x86_64_save_sse): Likewise.
23433 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23435 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23437 2011-07-21 Andreas Schwab <schwab@redhat.com>
23439 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23441 (_dl_x86_64_save_sse): Use correct AVX check.
23443 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23445 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23446 bug in strncpy/strncat.
23447 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23449 2011-07-21 Ulrich Drepper <drepper@gmail.com>
23451 * string/tester.c (test_strcat): Add tests for different alignments
23452 of source and destination.
23453 (test_strncat): Likewise.
23455 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23458 * posix/glob.c (glob): Check passed in values before using them in
23459 expressions to avoid some overflows.
23460 (glob_in_dir): Likewise.
23463 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23464 check for AVX enablement so that we don't crash with old kernels and
23466 * elf/tst-audit4.c: Add same checks here.
23467 * elf/tst-audit6.c: Likewise.
23469 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23471 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23473 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23475 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23477 * po/cs.po: Update from translation team.
23478 * po/bg.po: Likewise.
23480 2011-07-12 Marek Polacek <mpolacek@redhat.com>
23482 * misc/sys/cdefs.h: Add support for const attribute.
23483 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23484 to gnu_dev_{major,minor,makedev} functions.
23486 2011-07-20 Marek Polacek <mpolacek@redhat.com>
23488 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23490 2011-07-20 Andreas Schwab <schwab@redhat.com>
23492 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23495 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23497 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23498 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23499 register in order to avoid conflicts with the soft frame pointer
23500 being held in r11 when necessary.
23501 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23502 (INTERNAL_VSYSCALL_NCS): Likewise.
23504 2011-07-14 Marek Polacek <mpolacek@redhat.com>
23506 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23507 * elf/dl-fini.c (_dl_fini): Adjust caller.
23508 * elf/dl-close.c (_dl_close_worker): Likewise.
23509 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23511 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23513 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23514 "aux_cache->nlibs < 0".
23516 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23517 in the reload-count case.
23519 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23521 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23522 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23523 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23524 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23525 * sysdeps/x86_64/multiarch/strcat.S: New file.
23526 * sysdeps/x86_64/multiarch/strncat.S: New file.
23527 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23528 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23529 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23530 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23531 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23532 (USE_AS_STRCAT): Define.
23533 Add strcat and strncat support.
23534 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23535 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23536 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23537 * string/strncat.c: Update.
23538 (USE_AS_STRNCAT): Define.
23539 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23540 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23542 * sysdeps/x86_64/multiarch/init-arch.h
23543 (bit_Prefer_PMINUB_for_stringop): New.
23544 (index_Prefer_PMINUB_for_stringop): Likewise.
23545 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23546 bit_Prefer_PMINUB_for_stringop.
23548 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23550 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23552 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23553 of casting of buffer.
23554 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23555 buffer32 and buffer64.
23556 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23557 writes instead of casting of buffer.
23558 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23560 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23563 2011-07-19 Andreas Schwab <schwab@redhat.com>
23565 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23567 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23569 * nscd/nscd.c (termination_handler): Don't do anything for a database
23570 if it has not yet been initialized.
23572 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23574 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23576 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23578 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23580 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23582 * po/nl.po: Update from translation team.
23583 * po/sv.po: Likewise.
23585 2011-07-16 Roland McGrath <roland@hack.frob.com>
23587 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23588 now disallowed by GCC.
23590 * configure.in (use-default-link): Default to yes if a test -shared
23591 link meets our qualifications.
23592 * configure: Regenerated.
23594 * config.make.in (output-format): New variable.
23595 * configure.in: Check for ld --print-output-format support.
23596 * configure: Regenerated.
23597 * Makerules ($(common-objpfx)format.lds)
23598 [$(output-format) != unknown]: Just use $(output-format),
23599 instead of the linker-script munging.
23601 2011-07-14 Roland McGrath <roland@hack.frob.com>
23603 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23604 of $(common-objpfx)shlib.lds.
23605 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23607 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23608 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23610 * configure.in (-z relro check): Adjust test code to add a large
23611 writable data section after it.
23612 * configure: Regenerated.
23614 2011-07-11 Roland McGrath <roland@hack.frob.com>
23616 * configure.in (-z relro check): Fix test code to make the variable
23618 * configure: Regenerated.
23620 2011-07-11 Ulrich Drepper <drepper@gmail.com>
23622 * nscd/nscd.h (struct traced_file): Define.
23623 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23624 elements. Add traced_files.
23625 (inotify_fd): Declare.
23626 (register_traced_file): Declare.
23627 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23628 (inotify_fd): Export.
23629 (resolv_conf_descr): Remove.
23630 (nscd_init): Move inotify descriptor creation to main.
23631 Don't register files for notification here.
23632 (register_traced_file): New function.
23633 (invalidate_cache): Don't use reset_res to determine whether to call
23634 res_init, go through the list of registered files.
23635 (main_loop_poll): The inotify descriptors are now stored in the
23636 structures for the traced files.
23637 (main_loop_epoll): Likewise
23638 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23639 to __nss_disable_nscd.
23640 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23641 for a database anymore. Check the records for all the registered
23643 * nss/Makefile (libnss_files-routines): Add files-init.
23644 (libnss_db-routines): Add db-init.
23645 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23646 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23647 * nss/nss_db/db-init.c: New file.
23648 * nss/nss_files/files-init.c: New file.
23649 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23650 __nss_lookup_function.
23651 (__nss_lookup_function): Call nss_load_library.
23652 (nss_load_all_libraries): New function.
23653 (__nss_disable_nscd): Take parameter with callback function for files
23654 to register. Set is_nscd. Load all the DSOs for the NSS modules
23655 used for the cached services.
23656 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23657 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23658 options for features to all the files in nscd.
23660 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23662 2011-07-10 Roland McGrath <roland@hack.frob.com>
23664 * csu/elf-init.c (__libc_csu_init): Comment typo.
23666 2011-07-09 Ulrich Drepper <drepper@gmail.com>
23668 * po/pl.po: Update from translation team.
23669 * po/ja.po: Likewise.
23670 * po/ru.po: Likewise.
23671 * po/ko.po: Likewise.
23672 * po/fr.po: Likewise.
23674 2011-07-09 Roland McGrath <roland@hack.frob.com>
23676 * configure.in (.ctors/.dtors header and trailer check):
23677 Use an empirical test on a built program.
23678 * configure: Regenerated.
23680 * configure.in (-z relro check): Use an empirical test on a built DSO.
23681 Detect, but do not require, on ia64.
23682 * configure: Regenerated.
23684 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23685 Update tests that use readelf to use $READELF instead.
23686 * configure: Regenerated.
23688 2011-07-08 Ulrich Drepper <drepper@gmail.com>
23690 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23691 if the result is not used.
23693 2011-07-05 Andreas Jaeger <aj@suse.de>
23696 * stdlib/tst-strtod.c: Add testcase.
23698 2011-07-07 Ulrich Drepper <drepper@gmail.com>
23700 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23701 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23702 The latter has a higher limit. Take additional parameter to pass to
23704 (__pathconf): Pass file to __statfs_link_max.
23705 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23707 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23711 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23712 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23714 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23715 (__statfs_filesize_max): Likewise.
23716 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23718 2011-07-05 Andreas Jaeger <aj@suse.de>
23720 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23722 2011-07-06 Marek Polacek <mpolacek@redhat.com>
23724 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23726 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23729 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23731 * Makefile (strop-tests): Add strncat.
23732 * string/test-strncat.c: New file.
23734 2011-06-30 Marek Polacek <mpolacek@redhat.com>
23736 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23738 2011-06-21 Andreas Jaeger <aj@suse.de>
23740 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23741 Copy rule from iconvdata/Makefile.
23743 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23746 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23747 but no long options are defined, just return 'W'.
23749 2011-06-22 Marek Polacek <mpolacek@redhat.com>
23752 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23754 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23756 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23758 (innetgr): Likewise.
23760 2011-07-05 Roland McGrath <roland@hack.frob.com>
23762 * config.make.in (install_root): Default to $(DESTDIR).
23764 2011-07-05 Ulrich Drepper <drepper@gmail.com>
23766 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23768 2011-07-02 Roland McGrath <roland@hack.frob.com>
23770 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23772 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23773 containing directory rather than embedding absolute directory names.
23775 * scripts/check-local-headers.sh: Rewritten using awk.
23776 Match by word, not by line. Print error messages for matches.
23777 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23779 * Makerules [shlib-lds-flags empty]:
23780 ($(common-objpfx)libc_pic.opts): New target.
23781 ($(common-objpfx)libc_pic.os.clean): New target.
23782 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23784 * config.make.in (OBJCOPY): New variable.
23785 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23786 * configure: Regenerated.
23788 * config.make.in (use-default-link): New variable.
23789 * configure.in (use_default_link): Grok --with-default-link to set it.
23790 * configure: Regenerated.
23791 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23792 (shlib-lds, shlib-lds-flags): Define to empty.
23794 * Makerules (shlib-lds): New variable.
23795 (shlib-lds-flags): New variable.
23796 (build-shlib, build-moduile, build-module-asneeded): Use it.
23797 ($(common-objpfx)libc.so): Use $(shlib-lds).
23798 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23799 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23801 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23802 DT_FLAGS/DT_FLAGS_1 with zero flags.
23804 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23805 linker script munging.
23807 2011-07-02 Ulrich Drepper <drepper@gmail.com>
23809 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23811 * crypt/sha512.c (sha512_process_block): Perform total addition using
23812 128-bit if possible.
23813 (__sha512_finish_ctx): Likewise.
23814 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23816 * crypt/sha256.c (SWAP64): Define.
23817 (sha256_process_block): Perform total addition using 64-bit if
23819 (__sha256_finish_ctx): Likewise.
23821 2011-07-01 Ulrich Drepper <drepper@gmail.com>
23823 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23824 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23825 * nscd/hstcache.c (cache_addhst): Likewise.
23826 * nscd/grpcache.c (cache_addgr): Likewise.
23827 * nscd/aicache.c (addhstaiX): Likewise
23828 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23830 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
23832 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23833 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23834 * nscd/hstcache.c (cache_addhst): Likewise.
23835 * nscd/grpcache.c (cache_addgr): Likewise.
23836 * nscd/aicache.c (addhstaiX): Likewise
23838 2011-07-01 Andreas Schwab <schwab@redhat.com>
23840 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23841 domain only when needed.
23843 2011-06-30 Andreas Schwab <schwab@redhat.com>
23845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23846 is always restored.
23848 2011-06-29 Ulrich Drepper <drepper@gmail.com>
23850 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23851 are re-adding the entry.
23852 * nscd/servicescache.c (cache_addserv): Likewise.
23854 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23856 * sysdeps/generic/dl-irel.h: fix protection against multiple
23858 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23860 2011-06-28 Ulrich Drepper <drepper@gmail.com>
23863 * malloc/memusage.sh: Fix quoting in message.
23864 * debug/xtrace.sh: Likewise.
23866 * configure.in: Remove support for --experimental-malloc option, make
23868 * config.make.in: Likewise.
23869 * malloc/Makefile: Likewise.
23871 2011-06-27 Andreas Schwab <schwab@redhat.com>
23873 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23874 two-byte characters.
23876 2011-06-27 Roland McGrath <roland@hack.frob.com>
23878 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23879 AC_CACHE_CHECK invocation.
23880 * configure: Regenerated.
23882 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23884 2011-06-27 Ulrich Drepper <drepper@gmail.com>
23887 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23888 bit from old_res_options.
23890 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23892 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23893 value type for setfct.
23895 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23897 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23898 __gettimeofday instead of gettimeofday.
23900 2011-06-26 Ulrich Drepper <drepper@gmail.com>
23902 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23904 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23906 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23908 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23911 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23913 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23914 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23915 strcpy-sse2-unaligned strncpy-sse2-unaligned
23916 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23917 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23918 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23919 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23920 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23921 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23922 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23923 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23924 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23925 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23926 (STRCPY): Support SSE2 and SSSE3 versions.
23928 2011-06-24 Ulrich Drepper <drepper@gmail.com>
23931 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23932 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23933 kernels which artificially limit size of requests.
23935 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23937 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23938 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23939 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23940 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23941 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23942 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23943 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23944 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23945 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23946 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23947 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23948 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23949 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23950 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23951 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23953 Enable unaligned load optimization for Intel Core i3, i5 and i7
23955 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23957 (index_Fast_Unaligned_Load): Define.
23958 (HAS_FAST_UNALIGNED_LOAD): Define.
23960 2011-06-23 Marek Polacek <mpolacek@redhat.com>
23962 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23964 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23967 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23968 until it is clear that the information is realy needed.
23969 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23971 2011-06-22 Andreas Schwab <schwab@redhat.com>
23973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23975 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23977 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23978 /sys/devices/system/cpu/online if it is usable.
23980 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23981 reading the information from the /proc filesystem to once a second.
23983 2011-06-21 Andreas Jaeger <aj@suse.de>
23985 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23986 NULL after inclusion of kernel headers.
23988 2011-06-21 Ulrich Drepper <drepper@gmail.com>
23990 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23991 calls to internal_setent.
23994 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23995 addresses using gethostbyname4_r ignore IPv4 addresses.
23997 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23998 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24000 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24002 2011-06-20 David S. Miller <davem@davemloft.net>
24004 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24006 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24008 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24009 (elf_irel): Use it.
24010 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24011 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24012 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24013 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24014 * sysdeps/x86_64/dl-irel.h: Likewise.
24016 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24017 * elf/dl-sym.c: Likewise.
24019 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24021 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24022 need to dereference resplen2.
24024 2011-06-14 Andreas Schwab <schwab@redhat.com>
24026 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24028 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24030 * Makeconfig: Define vardbdir and inst_vardbdir.
24031 * nss/Makefile: Add rules to install db-Makefile.
24033 * nss/nss_db/db-XXX.c: Cleanup.
24035 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24036 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24038 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24039 * nss/makedb.c: Implement -g option to specify that value strings
24040 are generated and should not be added to table iterated over for
24042 * nss/nss_db/db-initgroups.c: New file.
24044 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24047 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24048 (internal_getgrouplist): Adjust to name change.
24049 Update use_initgroups_entry if this is not the first call.
24050 * nss/databases.def: Add initgroups entry.
24052 * nss/makedb.c (compute_tables): Check result of multiple hash table
24053 sizes to minimize maximum chain length.
24055 2011-06-14 Ulrich Drepper <drepper@gmail.com>
24057 * Versions.def: Add entry for libnss_db.
24058 * shlib-versions: Likewise.
24059 * nss/Makefile: Add rules to build libnss_db.
24060 * nss/Versions: Add libnss_db information. Organize libnss_files
24062 * nss/db-Makefile: Add gshadow support. Change rules for the new
24063 makedb progra. Some minor improvements to generate smaller files.
24064 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24066 * nss/makedb.c: ...here.
24067 Improve database format to be smaller and require less memory at
24069 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24071 * nss/nss_db/db-netgrp.c: Likewise.
24072 * nss/nss_db/db-open.c: Likewise.
24073 * nss/nss_files/flies-XXX.x: Adjust comments.
24074 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24075 * nss/nss_files/files-grp.c: Likewise.
24076 * nss/nss_files/files-hosts.c: Likewise.
24077 * nss/nss_files/files-network.c: Likewise.
24078 * nss/nss_files/files-proto.c: Likewise.
24079 * nss/nss_files/files-pwd.c: Likewise.
24080 * nss/nss_files/files-rpc.c: Likewise.
24081 * nss/nss_files/files-service.c: Likewise.
24082 * nss/nss_files/files-sgrp.c: Likewise.
24083 * nss/nss_files/files-spwd.c: Likewise.
24084 * nss/nss_db/db-alias.c: Removed.
24085 * nss/nss_db/dummy-db.h: Removed.
24087 2011-06-02 Ulrich Drepper <drepper@gmail.com>
24089 * nss/makedb.c: Rewritten to not use database library.
24090 * nss/Makefile: Update to build new makedb program.
24092 2011-06-14 Andreas Jaeger <aj@suse.de>
24094 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24095 memset declaration.
24097 2011-06-10 Andreas Schwab <schwab@redhat.com>
24099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24102 2011-06-10 Roland McGrath <roland@hack.frob.com>
24104 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24105 * elf/Makefile ($(objpfx)ld.so): Likewise.
24107 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24108 Don't list ld.so twice in dependencies.
24110 * posix/bug-regex31.c: Include <stdlib.h>.
24112 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24114 * nis/nss_compat/compat-spwd.c
24115 (getspent_next_nss_netgr): Remove unused variable.
24116 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24118 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24119 nonmembers" output to use the right array.
24121 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24123 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24125 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24126 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24127 * catgets/gencat.c (read_input_file): Likewise.
24128 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24130 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24131 variable definition inside #if's controlling its use.
24133 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24135 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24137 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24139 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24142 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24144 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24145 * configure: Regenerated.
24147 * Makerules: Revert last change.
24148 * elf/Makefile: Likewise.
24150 2011-06-09 Roland McGrath <roland@hack.frob.com>
24152 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24153 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24154 (reloc-link): Likewise.
24156 2011-06-09 Ulrich Drepper <drepper@gmail.com>
24158 * elf/Makefile: Add rules to build pldd.
24159 * elf/pldd.c: New file.
24160 * elf/pldd-xx.c: New file.
24162 2011-06-07 Ulrich Drepper <drepper@gmail.com>
24164 * version.h: Update for 2.15 development version.
24166 2011-06-07 David S. Miller <davem@davemloft.net>
24168 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24170 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24171 elf_machine_lazy_rel): Likewise.
24172 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24173 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24174 elf_machine_lazy_rel): Likewise.
24175 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24176 dl_hwcap via passed in argument.
24177 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24180 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24182 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24184 2011-06-06 Roland McGrath <roland@hack.frob.com>
24187 * manual/fdl-1.1.texi: New file, verbatim from:
24188 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24189 * manual/lgpl-2.1.texi: New file, verbatim from:
24190 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24191 * manual/Makefile (licenses): New variable, list those new file names.
24193 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24195 * manual/fdl.texi: File removed.
24196 * manual/lesser.texi: File removed.
24197 * manual/libc.texinfo (Copying, Documentation License):
24198 Use new @include file names, put @appendix directive before @include.
24200 2011-06-04 Jakub Jelinek <jakub@redhat.com>
24203 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24204 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24205 (mq_open): Add __NTH.
24207 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24210 Assume Intel Core i3/i5/i7 processor if AVX is available.
24212 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24214 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24217 2011-05-31 Andreas Schwab <schwab@redhat.com>
24219 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24220 memory. Use alloca_account. Fix memory leak when retrying.
24222 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24224 * version.h (RELEASE): Bump for 2.14 release.
24225 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24227 * config.make.in (RANLIB): Remove entry.
24229 2011-05-30 Ulrich Drepper <drepper@gmail.com>
24231 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24232 (libc.pot): Work around missing support for .ksh extension in xgettext.
24235 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24236 if both request failed.
24237 (send_dg): In case of server errors clear resplen or *resplen2.
24240 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24241 when there are multiple maps.
24242 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24243 (_dl_fini): Remove test here.
24245 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24247 2011-05-29 Ulrich Drepper <drepper@gmail.com>
24250 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24251 bit from old_res_options.
24252 (gaih_inet): Likewise.
24255 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24258 * resolv/res_init.c (res_setoptions): Make the code more compact.
24261 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24265 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24267 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24270 * malloc/malloc.h: Declare malloc hook variables as volatile.
24272 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24276 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24277 raise in the comment.
24278 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24279 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24280 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24282 2011-05-28 Ulrich Drepper <drepper@gmail.com>
24285 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24286 grow the buffers more if it already has to be sufficient.
24287 (build_wcs_upper_buffer): Likewise.
24288 * posix/regexec.c (check_matching): Likewise.
24289 (clean_state_log_if_needed): Likewise.
24290 (extend_buffers): Don't enlarge buffers beyond size of the input
24292 Patches mostly by Emil Wojak <emil@wojak.eu>.
24293 * posix/bug-regex32.c: New file.
24294 * posix/Makefile (tests): Add bug-regex32.
24296 * locale/findlocale.c (_nl_find_locale): Return right away if
24297 _nl_explode_name failed.
24298 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24300 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24302 * debug/xtrace.sh: Unify messages.
24303 * malloc/memusage.sh: Likewise.
24306 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24307 time symbol from vDSO. Substitute with vsyscall if not available.
24308 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24311 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24312 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24313 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24314 Add sendmmsg and internal_sendmmsg.
24315 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24316 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24317 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24319 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24320 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24321 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24323 2011-05-27 Ulrich Drepper <drepper@gmail.com>
24326 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24327 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24329 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24333 * iconvdata/Makefile (tests): Add bug-iconv9.
24334 * iconvdata/bug-iconv9.c: New file.
24336 2011-05-27 Andreas Schwab <schwab@redhat.com>
24339 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24341 2011-05-25 Jakub Jelinek <jakub@redhat.com>
24343 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24344 (struct user_regs_struct): Change intcs field back to cs.
24346 2011-05-25 Ulrich Drepper <drepper@gmail.com>
24348 * po/ja.po: Update from translation team.
24350 2011-05-23 Ulrich Drepper <drepper@gmail.com>
24353 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24354 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24356 2011-05-20 Andreas Schwab <schwab@redhat.com>
24358 * stdlib/longlong.h: Update from GCC.
24360 2011-05-23 Andreas Schwab <schwab@redhat.com>
24362 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24364 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24365 Add parameter name.
24366 (__sysconf): Pass it down.
24368 2011-05-22 Ulrich Drepper <drepper@gmail.com>
24371 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24373 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24374 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24375 add in in __libc_use_alloca calls. Adjust callers.
24376 (glob): Use malloc in some situations.
24378 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24379 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24382 2011-05-21 Ulrich Drepper <drepper@gmail.com>
24384 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24385 and CLOCK_BOOTTIME_ALARM.
24388 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24391 * string/_strerror.c (__strerror_r): Print negative errors as signed
24395 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24396 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24397 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24399 * configure.in: Fix typo in redirection and correct removal of test
24400 files in two cases.
24403 * locale/setlocale.c (new_composite_name): Fix test to check for
24404 identical name of all categories.
24407 * libio/filedoalloc.c (local_isatty): New function.
24408 (_IO_file_doallocate): Use local_isatty.
24409 * stdio-common/perror.c (perror): In case a new stream is used
24410 forward the stream error.
24411 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24414 2011-05-20 Ulrich Drepper <drepper@gmail.com>
24417 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24419 * include/alloca.h (extend_alloca_account): Define.
24422 * posix/regex.h: Fix comments with documentation of user-accessible
24423 fields after compilation and describe correct free'ing of pattern
24424 after re_compile_pattern.
24425 Patch by Reuben Thomas <rrt@sc3d.org>.
24427 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24429 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24430 and -mno-altivec to prevent the compiler from using Altivec and/or
24431 VSX instructions when the corresponding registers are not available.
24433 2011-05-19 Andreas Schwab <schwab@redhat.com>
24435 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24437 2011-05-19 Ulrich Drepper <drepper@gmail.com>
24439 * libio/freopen.c (freopen): Use __dup2, not dup2.
24440 * libio/freopen64.c (freopen64): Likewise.
24442 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24445 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24446 * math/Makefile (tests): Add test-powl.
24447 (CFLAGS-test-powl.c): Define.
24448 * math/test-powl.c: New file.
24450 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24452 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24454 2011-05-17 Ulrich Drepper <drepper@gmail.com>
24457 * iconvdata/gb18030.c: Update to GB18020-2005.
24459 2011-05-16 Ulrich Drepper <drepper@gmail.com>
24461 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24462 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24463 Patch by Aharon Robbins <arnold@skeeve.com>.
24466 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24470 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24471 through underflows.
24474 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24475 point to strings before performing equality test for error_one_per_line
24479 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24482 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24483 (struct user_fpregs_struct): Avoid __uint*_t types.
24486 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24487 symbol info. Use it instead of calling _dl_addr locally.
24488 (lock_and_info): New function.
24489 (tr_freehook): Call lock_and_info and pass symbol info as additional
24490 parameter to tr_where.
24491 (tr_mallochook): Likewise.
24492 (tr_reallochook): Likewise.
24493 (tr_memalignhook): Likewise.
24495 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24496 used and couldn't be at all thread-safe.
24498 2011-05-15 Ulrich Drepper <drepper@gmail.com>
24500 * libio/freopen.c (freopen): Don't close old file descriptor
24501 before the new one is opened. Instead dup the new file descriptor
24502 to the old one after the new stream is created.
24503 * libio/freopen64.c (freopen64): Likewise.
24504 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24505 * libio/fileops.c (_IO_new_file_close_it): Handle new
24506 _IO_FLAGS2_NOCLOSE flag.
24507 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24508 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24509 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24510 _IO_FLAGS2_NOCLOSE flag.
24511 * include/unistd.h: Add hidden_proto for dup3.
24512 Define __have_dup3.
24513 * io/dup3.c: Define hidden symbol.
24514 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24517 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24518 when an incomplete long option is used.
24519 * posix/tst-getopt_long1.c: New file.
24520 * posix/Makefile (tests): Add tst-getopt_long1.
24523 * scripts/config.guess: Update from autoconf-2.68.
24524 * scripts/config.sub: Likewise.
24527 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24529 (has_cpuclock): ...this. New function.
24530 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24531 macro here based on has_cpuclock code.
24534 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24535 First byte (not low byte) is now always NUL.
24536 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24538 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24539 Use non-cancelable interfaces.
24542 * locale/iso-639.def: Add entry for Sorani.
24545 * include/stdlib.h: Move include protection to the right place.
24546 Define abort_msg_s. Declare __abort_msg with it.
24547 * stdlib/abort.c (__abort_msg): Adjust type.
24548 * assert/assert.c (__assert_fail_base): New function. Majority
24549 of code from __assert_fail. Allocate memory for __abort_msg with
24551 (__assert_fail): Now call __assert_fail_base.
24552 * assert/assert-perr.c: Remove bulk of implementation. Use
24553 __assert_fail_base.
24554 * include/assert.hL Declare __assert_fail_base.
24555 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24557 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24559 2011-05-14 Ulrich Drepper <drepper@gmail.com>
24563 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24564 until all modules are registered in the DTV.
24565 * elf/Makefile: Add rules to build and run tst-tls19.
24566 * elf/tst-tls19.c: New file.
24567 * elf/tst-tls19mod1.c: New file.
24568 * elf/tst-tls19mod2.c: New file.
24569 * elf/tst-tls19mod3.c: New file.
24570 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24573 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24577 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24578 two-byte sequence errors.
24579 * iconvdata/Makefile (tests): Add bug-iconv8.
24580 * iconvdata/bug-iconv8.c: New file.
24583 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24586 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24589 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24590 (dummy_getcfa): New function.
24591 (init): Get _Unwind_GetCFA address, use dummy if not found.
24592 (backtrace_helper): In recursion check, also check whether CFA changes.
24593 (__backtrace): Completely initialize arg.
24595 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24596 storing incomplete byte sequence in state object. Avoid testing for
24597 guaranteed too small input if we know there is enough data available.
24599 2011-05-11 Andreas Schwab <schwab@redhat.com>
24601 * Makeconfig (+link-pie): Indent.
24602 * Rules (binaries-pie): Define if $(have-fpie) and
24604 (binaries-shared): Also filter out $(binaries-pie).
24605 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24606 * nscd/Makefile (others-pie): Add nscd.
24607 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24608 ($(objpfx)nscd): Remove command override.
24609 * login/Makefile (others-pie): Add pt_chown.
24610 ($(objpfx)pt_chown): Remove command override.
24611 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24612 remove command overrides.
24614 2011-05-13 Ulrich Drepper <drepper@gmail.com>
24616 * libio/tst_putwc.c: Fix error messages.
24619 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24620 currently writing and seek to current position when not.
24621 * libio/Makefile (tests): Add bug-fclose1.
24622 * libio/bug-fclose1.c: New file.
24624 2011-05-12 Ulrich Drepper <drepper@gmail.com>
24627 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24628 don't set DF_1_NODELETE here.
24629 (do_lookup_x): When entering new entry test for copy relocation
24630 and if necessary set DF_1_NODELETE flag.
24631 * elf/tst-unique4.cc: New file.
24632 * elf/tst-unique4.h: New file.
24633 * elf/tst-unique4lib.cc: New file.
24634 * elf/Makefile: Add rules to build and run tst-unique4.
24635 Patch by Piotr Bury <pbury@goahead.com>.
24637 2011-05-11 Ulrich Drepper <drepper@gmail.com>
24640 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24643 * misc/mntent_r.c (addmntent): Flush the stream after the output
24646 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24647 (is_trusted_path_normalize): Skip initial colon. Append slash
24648 to empty buffer. Duplicate is_trusted_path code but allow
24649 constructed patch to be prefix.
24650 (is_dst): Allow $ORIGIN followed by /.
24651 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24652 Correct testing of result of is_trusted_path_normalize
24653 (decompose_rpath): Fix warning.
24655 2011-05-10 Ulrich Drepper <drepper@gmail.com>
24658 * grp/initgroups.c (internal_getgrouplist): When we found the service
24659 list through the initgroups entry in nsswitch.conf do not always
24660 continue on a successful lookup. Don't always use the
24661 __nss_group_database value if it is set.
24662 * nss/nsswitch.conf (initgroups): Change action for successful db
24663 lookup to continue for compatibility.
24665 2011-05-09 Ulrich Drepper <drepper@gmail.com>
24668 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24670 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24672 * iconvdata/tst-tables.sh: Likewise.
24673 * iconvdata/cp770.c: New file.
24674 * iconvdata/cp771.c: New file.
24675 * iconvdata/cp772.c: New file.
24676 * iconvdata/cp773.c: New file.
24677 * iconvdata/cp774.c: New file.
24678 * iconvdata/testdata/CP770: New file.
24679 * iconvdata/testdata/CP770..UTF8: New file.
24680 * iconvdata/testdata/CP771: New file.
24681 * iconvdata/testdata/CP771..UTF8: New file.
24682 * iconvdata/testdata/CP772: New file.
24683 * iconvdata/testdata/CP772..UTF8: New file.
24684 * iconvdata/testdata/CP773: New file.
24685 * iconvdata/testdata/CP773..UTF8: New file.
24686 * iconvdata/testdata/CP774: New file.
24687 * iconvdata/testdata/CP774..UTF8: New file.
24689 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24691 * iconvdata/gen-8bit-gap.sh: Likewise.
24692 * iconvdata/gen-8bit.sh: Likewise.
24694 * locale/iso-639.def: Add ary entry.
24697 * locale/C-translit.h.in: Add U20A1 transliteration.
24700 * locale/iso-639.def: Add wae entry.
24701 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24704 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24708 * locale/C-translit.h.in: Add entry for U20B9.
24709 Patch by pravin.d.s@gmail.com.
24711 2011-05-08 Ulrich Drepper <drepper@gmail.com>
24714 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24715 ENAMETOOLONG use generic getcwd.
24716 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24717 in rtld. Use *stat64.
24718 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24719 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24720 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24721 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24722 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24723 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24724 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24725 __fstatat64 macros.
24726 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24727 * dirent/rewinddir.c: Add libc_hidden_def.
24728 * sysdeps/mach/hurd/rewinddir.c: Likewise.
24729 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
24731 * include/dirent.h (__alloc_dir): Add flags parameter.
24732 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24733 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24735 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24736 from fdopendir if O_CLOEXEC is already set.
24738 2011-03-15 Alan Modra <amodra@gmail.com>
24740 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24741 l_tls_firstbyte_offset non-zero. Save padding offset in
24742 l_tls_firstbyte_offset for later use.
24743 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24744 freeing static tls block.
24746 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24748 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24749 where #ifdef was intended. The intent is to prevent ARG_MAX from
24750 being defined by the kernel headers.
24752 2011-05-07 Ulrich Drepper <drepper@gmail.com>
24755 * resolv/resolv.h: Define RES_NOTLDQUERY.
24756 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24757 no-tld-query and set RES_NOTLDQUERY.
24758 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24759 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24760 modern BIND to search name as TLD unless forbidden.
24762 2011-05-07 Petr Baudis <pasky@suse.cz>
24763 Ulrich Drepper <drepper@gmail.com>
24766 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24767 (is_trusted_path): ...to here.
24768 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24769 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24770 using is_trusted_path_normalize() in setuid scripts.
24772 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24774 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24775 __BEGIN/__END_DECLS.
24777 2011-05-06 Ulrich Drepper <drepper@gmail.com>
24779 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24780 NSS_STATUS_NOTFOUND if no record was found.
24782 2011-05-05 Andreas Schwab <schwab@redhat.com>
24784 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24785 (headers-not-in-tirpc): Remove rpc/netdb.h
24786 * resolv/netdb.h: Revert last change.
24788 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24790 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24791 circular dependency between libgcc.a and libc.a.
24793 2011-05-05 Andreas Schwab <schwab@redhat.com>
24795 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24796 * nis/Makefile: Don't install rpcsvc/*.
24797 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24798 instead of <rpc/types.h>.
24799 (MAXHOSTNAMELEN): Define.
24801 2011-05-03 Andreas Schwab <schwab@redhat.com>
24803 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24805 2011-04-28 Maciej Babinski <mbabinski@google.com>
24808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24809 gethostbyname4_r when IPv6 results are possible.
24811 2011-05-02 Ulrich Drepper <drepper@gmail.com>
24814 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24815 _PC_PIPE_BUF handling.
24817 2011-04-30 Bruno Haible <bruno@clisp.org>
24820 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24821 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24823 * inet/getnameinfo.c (getnameinfo): Likewise.
24825 2011-04-29 Ulrich Drepper <drepper@gmail.com>
24827 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24828 to groups setting in database lookup.
24829 * nss/nsswitch.conf: Add initgroups entry.
24831 2011-04-22 Ulrich Drepper <drepper@gmail.com>
24834 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24836 Patch by Eric Blake <eblake@redhat.com>.
24838 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24840 * sunrpc/Makefile (need-export-routines): Add svc_run.
24841 (routines): Remove svc_run.
24842 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24843 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24844 * sunrpc/svc_run.c (svc_run): Likewise.
24845 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24847 2011-04-21 Ulrich Drepper <drepper@gmail.com>
24849 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24850 problem in reallocation in last patch.
24852 2011-04-20 Ulrich Drepper <drepper@gmail.com>
24854 * sunrpc/Makefile: Move inclusion of Rules.
24856 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24858 * nss/nss_files/files-initgroups.c: New file.
24859 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24860 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24861 _nss_files_initgroups_dyn.
24863 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24865 * elf/elf.h (R_ARM_IRELATIVE): Define.
24867 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24869 * po/ru.po: Update from translation team.
24871 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24873 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24876 2011-02-06 Mike Frysinger <vapier@gentoo.org>
24879 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24880 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24881 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24882 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24883 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24885 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24887 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24889 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24890 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24891 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24893 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24896 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24898 * stdlib/bug-getcontext.c: New file.
24899 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24901 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24903 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24904 instructions into .machine "z9-109".
24905 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24906 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24908 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24910 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24911 between environment variables and auxiliary vector.
24913 2011-04-16 Ulrich Drepper <drepper@gmail.com>
24915 * Makefile: Add rules to build linkobj/libc.so.
24916 * include/libc-symbols.h: Define libc_hidden_nolink.
24917 * include/rpc/auth.h: Mark functions which are to be hidden.
24918 * include/rpc/auth_des.h: Likewise.
24919 * include/rpc/auth_unix.h: Likewise.
24920 * include/rpc/clnt.h: Likewise.
24921 * include/rpc/des_crypt.h: Likewise.
24922 * include/rpc/key_prot.h: Likewise.
24923 * include/rpc/pmap_clnt.h: Likewise.
24924 * include/rpc/pmap_prot.h: Likewise.
24925 * include/rpc/pmap_rmt.h: Likewise.
24926 * include/rpc/rpc_msg.h: Likewise.
24927 * include/rpc/svc.h: Likewise.
24928 * include/rpc/svc_auth.h: Likewise.
24929 * include/rpc/xdr.h: Likewise.
24930 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24931 * nss/Makefile: Likewise.
24932 * sunrpc/Makefile: Don't install headers. Build library with normal
24933 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24934 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24935 for the compat linking library. Remove use of INTDEF/INTUSE.
24936 * sunrpc/auth_none.c: Likewise.
24937 * sunrpc/auth_unix.c: Likewise.
24938 * sunrpc/authdes_prot.c: Likewise.
24939 * sunrpc/authuxprot.c: Likewise.
24940 * sunrpc/clnt_gen.c: Likewise.
24941 * sunrpc/clnt_perr.c: Likewise.
24942 * sunrpc/clnt_raw.c: Likewise.
24943 * sunrpc/clnt_simp.c: Likewise.
24944 * sunrpc/clnt_tcp.c: Likewise.
24945 * sunrpc/clnt_udp.c: Likewise.
24946 * sunrpc/clnt_unix.c: Likewise.
24947 * sunrpc/des_crypt.c: Likewise.
24948 * sunrpc/des_soft.c: Likewise.
24949 * sunrpc/get_myaddr.c: Likewise.
24950 * sunrpc/key_call.c: Likewise.
24951 * sunrpc/key_prot.c: Likewise.
24952 * sunrpc/netname.c: Likewise.
24953 * sunrpc/pm_getmaps.c: Likewise.
24954 * sunrpc/pm_getport.c: Likewise.
24955 * sunrpc/pmap_clnt.c: Likewise.
24956 * sunrpc/pmap_prot.c: Likewise.
24957 * sunrpc/pmap_prot2.c: Likewise.
24958 * sunrpc/pmap_rmt.c: Likewise.
24959 * sunrpc/publickey.c: Likewise.
24960 * sunrpc/rpc_cmsg.c: Likewise.
24961 * sunrpc/rpc_common.c: Likewise.
24962 * sunrpc/rpc_dtable.c: Likewise.
24963 * sunrpc/rpc_prot.c: Likewise.
24964 * sunrpc/rpc_thread.c: Likewise.
24965 * sunrpc/rtime.c: Likewise.
24966 * sunrpc/svc.c: Likewise.
24967 * sunrpc/svc_auth.c: Likewise.
24968 * sunrpc/svc_authux.c: Likewise.
24969 * sunrpc/svc_raw.c: Likewise.
24970 * sunrpc/svc_run.c: Likewise.
24971 * sunrpc/svc_simple.c: Likewise.
24972 * sunrpc/svc_tcp.c: Likewise.
24973 * sunrpc/svc_udp.c: Likewise.
24974 * sunrpc/svc_unix.c: Likewise.
24975 * sunrpc/svcauth_des.c: Likewise.
24976 * sunrpc/xcrypt.c: Likewise.
24977 * sunrpc/xdr.c: Likewise.
24978 * sunrpc/xdr_array.c: Likewise.
24979 * sunrpc/xdr_float.c: Likewise.
24980 * sunrpc/xdr_intXX_t.c: Likewise.
24981 * sunrpc/xdr_mem.c: Likewise.
24982 * sunrpc/xdr_rec.c: Likewise.
24983 * sunrpc/xdr_ref.c: Likewise.
24984 * sunrpc/xdr_sizeof.c: Likewise.
24985 * sunrpc/xdr_stdio.c: Likewise.
24987 2011-04-10 Ulrich Drepper <drepper@gmail.com>
24990 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24991 * sysdeps/ia64/dl-tls.h: Likewise.
24992 * sysdeps/powerpc/dl-tls.h: Likewise.
24993 * sysdeps/s390/dl-tls.h: Likewise.
24994 * sysdeps/sh/dl-tls.h: Likewise.
24995 * sysdeps/sparc/dl-tls.h: Likewise.
24996 * sysdeps/x86_64/dl-tls.h: Likewise.
24997 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24999 2011-03-14 Andreas Schwab <schwab@redhat.com>
25001 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25002 rpath element also skip the following colon.
25003 (expand_dynamic_string_token): Add is_path parameter and pass
25004 down to DL_DST_REQUIRED and _dl_dst_substitute.
25005 (decompose_rpath): Call expand_dynamic_string_token with
25006 non-zero is_path. Ignore empty rpaths.
25007 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25010 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25015 2011-04-09 Ulrich Drepper <drepper@gmail.com>
25018 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25019 Patch by Filipe David Manana <fdmanana@apache.org>.
25021 2011-04-07 Andreas Schwab <schwab@redhat.com>
25023 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25024 Maintain aligned stack.
25025 (CHECK_RSP): Remove unused macro.
25027 2011-04-03 Ulrich Drepper <drepper@gmail.com>
25029 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25030 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25032 2011-04-02 Ulrich Drepper <drepper@gmail.com>
25034 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25036 * include/features.h: Mention __USE_XOPEN2K8 in comment.
25038 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25041 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25042 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25043 * sysdeps/x86_64/memmove.c: New file.
25044 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25045 (memcpy): Renamed to ...
25046 (__new_memcpy): This.
25047 (memcpy): Provide GLIBC_2_14 memcpy.
25048 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25049 (memcpy): Provide GLIBC_2_2_5 memcpy.
25051 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25054 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25056 2011-03-30 Andreas Schwab <schwab@redhat.com>
25058 * misc/syncfs.c: New file.
25059 * misc/Makefile (routines): Add syncfs.
25060 * posix/unistd.h: Declare syncfs.
25061 * sysdeps/unix/syscalls.list: Add syncfs.
25063 2011-04-01 Andreas Schwab <schwab@redhat.com>
25065 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25067 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25068 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25069 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25070 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25071 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25072 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25073 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25075 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25077 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25078 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25079 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25080 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25081 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25082 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25083 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25085 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25086 sync_file_range.c with -fexceptions.
25087 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25088 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25089 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25090 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25091 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25092 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25093 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25094 sync_file_range as cancellation point
25095 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25096 now a wrapper around __call_sync_file_range with cancellation handling.
25097 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25098 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25099 function name to __call_sync_file_range.
25100 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25101 Add call_sync_file_range.
25103 2011-04-01 Andreas Schwab <schwab@redhat.com>
25105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25108 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25110 * iconv/iconv.h: Fix typo in comment.
25111 * io/fcntl.h: Likewise.
25112 * libio/stdio.h: Likewise.
25113 * posix/spawn.h: Likewise.
25114 * posix/unistd.h: Likewise.
25115 * stdlib/stdlib.h: Likewise.
25116 * time/time.h: Likewise.
25117 * wcsmbs/wchar.h: Likewise.
25119 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25120 open_by_handle): Add.
25121 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25122 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25123 Augment a few comments.
25124 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25125 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25126 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25127 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25128 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25129 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25132 * io/fcntl.h (AT_EMPTY_PATH): Define.
25134 2011-03-30 Ulrich Drepper <drepper@gmail.com>
25136 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25137 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25138 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25140 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
25141 * Versions.def: Add GLIBC_2.14.
25142 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25145 2011-03-22 Ulrich Drepper <drepper@gmail.com>
25147 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25149 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25151 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25154 * string/test-strncmp.c (do_page_test): New function.
25155 (check2): Likewise.
25156 (test_main): Call check2.
25157 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25159 2011-03-20 Ulrich Drepper <drepper@gmail.com>
25162 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25163 Handle cache information in CPU leaf 4.
25164 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25166 2011-03-18 Ulrich Drepper <drepper@gmail.com>
25169 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25170 character representation.
25171 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25173 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25175 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25176 END(__isnan) to END(__isnanf) to match function entry point/label
25177 EALIGN(__isnanf,...).
25179 2011-03-10 Jakub Jelinek <jakub@redhat.com>
25181 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25183 2011-03-10 Ulrich Drepper <drepper@gmail.com>
25186 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25187 copy from the symbol referenced in the relocation to initialize the
25189 Patch by Piotr Bury <pbury@goahead.com>.
25190 * elf/Makefile: Add rules to build and tst-unique3.
25191 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25192 * elf/tst-unique3.cc: New file.
25193 * elf/tst-unique3.h: New file.
25194 * elf/tst-unique3lib.cc: New file.
25195 * elf/tst-unique3lib2.cc: New file.
25197 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25199 2011-03-10 Mike Frysinger <vapier@gentoo.org>
25201 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25202 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25205 2011-03-06 Ulrich Drepper <drepper@gmail.com>
25207 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25208 to-be-loaded object along a path to loader is ld.so.
25210 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25211 Ulrich Drepper <drepper@gmail.com>
25213 * sysdeps/x86_64/memset.S: After aligning destination, code
25214 branches to different locations depending on the value of
25215 misalignment, when multiarch is enabled. Fix this.
25217 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25219 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25220 Set _x86_64_preferred_memory_instruction for AMD processsors.
25221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25222 Set bit_Prefer_SSE_for_memop for AMD processors.
25224 2011-03-04 Ulrich Drepper <drepper@gmail.com>
25226 * libio/fmemopen.c (fmemopen): Optimize a bit.
25228 2011-03-03 Andreas Schwab <schwab@redhat.com>
25230 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25232 2011-03-03 Roland McGrath <roland@redhat.com>
25234 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25236 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25238 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25239 __bzero_ultra1 instead of __memset_ultra1.
25241 2011-02-23 Andreas Schwab <schwab@redhat.com>
25242 Ulrich Drepper <drepper@gmail.com>
25245 * include/link.h (struct link_map): Add l_orig_initfini.
25246 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25247 returning unsuccessfully.
25248 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25249 close of a file loaded at startup, restore the original l_initfini
25251 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25252 list, store the pointer.
25253 * elf/Makefile ($(objpfx)noload-mem): New rule.
25254 (noload-ENV): Define.
25255 (tests): Add $(objpfx)noload-mem.
25256 * elf/noload.c: Include <memcheck.h>.
25257 (main): Call mtrace. Close all opened handles.
25259 2011-02-17 Andreas Schwab <schwab@redhat.com>
25262 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25263 dependencies are missing.
25265 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25267 Fix __if_freereq crash: Unlike the generic version which uses free,
25269 * sysdeps/mach/hurd/ifreq.h: New file.
25271 2011-01-27 Petr Baudis <pasky@suse.cz>
25272 Ulrich Drepper <drepper@gmail.com>
25275 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25276 to extend_alloca().
25277 * stdio-common/bug23.c: New file.
25278 * stdio-common/Makefile (tests): Add bug23.
25280 2010-09-28 Andreas Schwab <schwab@redhat.com>
25281 Ulrich Drepper <drepper@gmail.com>
25284 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25285 before performing relro protection. At old place add assertion
25286 to make sure nothing changed.
25288 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25289 Glauber de Oliveira Costa <glommer@gmail.com>
25291 * elf/elf.h: Add new ARM TLS relocs.
25293 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25296 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25298 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25300 * sysdeps/wordsize-64/tst-writev.c: New file.
25302 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25304 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25305 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25306 insns in _dl_start to prevent a TOC reference before relocs are
25309 2011-02-15 Ulrich Drepper <drepper@gmail.com>
25312 * Makeconfig: Remove RANLIB definition.
25313 * Makerules: Don't use RANLIB.
25314 * aclocal.m4: Remove ranlib test.
25315 * configure.in: No need to check for ranlib.
25316 * elf/rtld-Rules: Don't use RANLIB.
25318 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25320 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25322 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25323 inclusion protection macro.
25325 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25326 SIGRTMIN and SIGRTMAX and print information in that case only when
25327 SIGRTMIN is defined.
25329 2011-02-11 Jakub Jelinek <jakub@redhat.com>
25331 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25332 arginfo fn returning -1.
25334 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25335 and thousands string is zero terminated.
25337 2011-02-03 Andreas Schwab <schwab@redhat.com>
25339 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25340 sysdeps/unix/sysv/linux/bits/socket.h.
25342 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25344 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25345 (__CPU_COUNT): Remove old macros.
25346 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25347 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25348 (__CPU_ALLOC, __CPU_FREE): Add macros.
25349 (__sched_cpualloc, __sched_cpufree): Add declarations.
25351 2011-02-05 Ulrich Drepper <drepper@gmail.com>
25353 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25354 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25355 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25356 (readdhstai): Return value of addhstaiX call.
25357 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25358 (addgrbyX): Return value returned by cache_addgr.
25359 (readdgrbyname): Return value returned by addgrbyX.
25360 (readdgrbygid): Likewise.
25361 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25362 (addpwbyX): Return value returned by cache_addpw.
25363 (readdpwbyname): Return value returned by addhstbyX.
25364 (readdpwbyuid): Likewise.
25365 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25366 (addservbyX): Return value returned by cache_addserv.
25367 (readdservbyname): Return value returned by addservbyX:
25368 (readdservbyport): Likewise.
25369 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25370 (addhstbyX): Return value returned by cache_addhst.
25371 (readdhstbyname): Return value returned by addhstbyX.
25372 (readdhstbyaddr): Likewise.
25373 (readdhstbynamev6): Likewise.
25374 (readdhstbyaddrv6): Likewise.
25375 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25376 (readdinitgroups): Return value returned by addinitgroupsX.
25377 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25378 (prune_cache): Keep track of timeout value of re-added entries.
25379 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25380 * nscd/nscd.h: Adjust prototypes of readd* functions.
25382 2011-02-04 Roland McGrath <roland@redhat.com>
25384 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25385 (nis_stats): Likewise.
25386 * nis/nis_modify.c (nis_modify): Likewise.
25387 * nis/nis_remove.c (nis_remove): Likewise.
25388 * nis/nis_add.c (nis_add): Likewise.
25390 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25392 * posix/fnmatch_loop.c: Add some consts.
25394 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25396 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25399 * config.make.in (config-cflags-novzeroupper): Define.
25400 * configure.in: Substitute libc_cv_cc_novzeroupper.
25401 * elf/Makefile (AVX-CFLAGS): Define.
25402 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25403 (CFLAGS-tst-auditmod4a.c): Likewise.
25404 (CFLAGS-tst-auditmod4b.c): Likewise.
25405 (CFLAGS-tst-auditmod6b.c): Likewise.
25406 (CFLAGS-tst-auditmod6c.c): Likewise.
25407 (CFLAGS-tst-auditmod7b.c): Likewise.
25408 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25410 2011-02-02 Ulrich Drepper <drepper@gmail.com>
25412 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25413 function to the callback.
25414 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25416 2011-02-02 Andreas Schwab <schwab@redhat.com>
25418 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25421 2011-01-19 Ulrich Drepper <drepper@gmail.com>
25424 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25426 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25428 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25431 * elf/Makefile: Add rules to build and run new test.
25432 * elf/tst-initorder.c: New file.
25433 * elf/tst-initorder.exp: New file.
25434 * elf/tst-initordera1.c: New file.
25435 * elf/tst-initordera2.c: New file.
25436 * elf/tst-initordera3.c: New file.
25437 * elf/tst-initordera4.c: New file.
25438 * elf/tst-initorderb1.c: New file.
25439 * elf/tst-initorderb2.c: New file.
25440 * elf/tst-order-a1.c: New file.
25441 * elf/tst-order-a2.c: New file.
25442 * elf/tst-order-a3.c: New file.
25443 * elf/tst-order-a4.c: New file.
25444 * elf/tst-order-b1.c: New file.
25445 * elf/tst-order-b2.c: New file.
25446 * elf/tst-order-main.c: New file.
25447 New test case by George Gensure <werkt0@gmail.com>.
25449 2010-10-01 Andreas Schwab <schwab@redhat.com>
25451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25452 decoding ACE if AI_CANONIDN.
25454 2011-01-18 Ulrich Drepper <drepper@gmail.com>
25456 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25458 2011-01-17 Ulrich Drepper <drepper@gmail.com>
25460 * version.h (RELEASE): Bump for 2.13 release.
25461 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25463 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25465 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25467 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25468 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25469 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25470 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25471 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25472 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25474 * posix/getconf.c: Update copyright year.
25475 * catgets/gencat.c: Likewise.
25476 * csu/version.c: Likewise.
25477 * debug/catchsegv.sh: Likewise.
25478 * debug/xtrace.sh: Likewise.
25479 * elf/ldconfig.c: Likewise.
25480 * elf/ldd.bash.in: Likewise.
25481 * elf/sprof.c (print_version): Likewise.
25482 * iconv/iconv_prog.c: Likewise.
25483 * iconv/iconvconfig.c: Likewise.
25484 * locale/programs/locale.c: Likewise.
25485 * locale/programs/localedef.c: Likewise.
25486 * malloc/memusage.sh: Likewise.
25487 * malloc/mtrace.pl: Likewise.
25488 * nscd/nscd.c (print_version): Likewise.
25489 * nss/getent.c: Likewise.
25491 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25492 PF_CAIF, and PF_ALG.
25493 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25495 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25497 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25498 (modules-names): Use them.
25499 (ifunc-test-modules, ifunc-pie-tests): Define.
25500 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25501 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25502 (test-extras): Likewise.
25503 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25504 $(compile-command.c).
25505 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25506 (all-built-dso): Define.
25507 (check-textrel.out, check-execstack.out): Depend on it.
25509 * configure.in: Don't override --enable-multi-arch.
25511 2011-01-15 Ulrich Drepper <drepper@gmail.com>
25514 * nscd/hstcache.c (tryagain): Define.
25515 (cache_addhst): Return tryagain not notfound for temporary errors.
25516 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25519 2011-01-14 Ulrich Drepper <drepper@gmail.com>
25522 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25523 to make the syscall.
25524 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25527 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25528 and fall back to matching as normal character if the string ends before
25529 the matching ']' is found. This is what POSIX requires.
25530 * posix/testfnm.c: Adjust test result.
25531 * posix/globtest.sh: Adjust test result. Add new test.
25532 * posix/tst-fnmatch.input: Likewise.
25533 * posix/tst-fnmatch2.c: Add new test.
25535 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25537 * elf/Makefile (check-execstack): Revert last change. Depend on
25539 (check-execstack.h): New target.
25540 (generated): Add check-execstack.h.
25541 * elf/check-execstack.c: Include "check-execstack.h".
25542 (main): Revert last change.
25543 (handle_file): Return zero if GNU_STACK is absent and
25544 DEFAULT_STACK_PERMS doesn't include PF_X.
25546 2011-01-13 Ulrich Drepper <drepper@gmail.com>
25548 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25549 in child fails because the descriptor is already closed.
25550 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25551 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25552 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25555 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25559 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25560 temporary buffer used to handle multi lookups locally.
25561 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25563 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25565 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25568 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25570 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25571 alignment for SSE2.
25573 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25576 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25577 characters. When rounding increased number of integer digits recompute
25579 * stdio-common/tst-grouping.c: New file.
25580 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25582 2011-01-09 Ulrich Drepper <drepper@gmail.com>
25584 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25585 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25587 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25589 * bits/select.h: Likewise.
25591 2011-01-08 Ulrich Drepper <drepper@gmail.com>
25593 * po/ja.po: Update from translation team.
25595 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
25598 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25599 implementation just like for lxstat, fxstatat, et al.
25601 2010-12-27 Jim Meyering <meyering@redhat.com>
25604 * posix/regexec.c (build_trtable): Return failure indication upon
25605 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25607 2010-12-25 Ulrich Drepper <drepper@gmail.com>
25610 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25611 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25612 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25613 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25616 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25619 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25620 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25622 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25624 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25625 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25626 script has SORT_BY_INIT_PRIORITY.
25627 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25628 NO_CTORS_DTORS_SECTIONS is defined.
25629 * elf/soinit.c: Likewise.
25630 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25631 NO_CTORS_DTORS_SECTIONS is defined.
25632 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25633 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25634 * sysdeps/sh/init-first.c: Likewise.
25635 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25637 2010-12-24 Ulrich Drepper <drepper@gmail.com>
25639 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25640 always use the slow path.
25642 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25644 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25645 similar rule which adds the sysdep directories to the header search in
25646 order to pick up the correct platform stackinfo.h.
25647 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25648 perform test if it is, otherwise return successfully without testing.
25649 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25650 DEFAULT_STACK_PERMS define in stackinfo.h.
25651 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25652 defined in stackinfo.h.
25653 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25654 DEFAULT_STACK_PERMS defined in stackinfo.h.
25655 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25656 * sysdeps/ia64/stackinfo.h: Likewise.
25657 * sysdeps/s390/stackinfo.h: Likewise.
25658 * sysdeps/sh/stackinfo.h: Likewise.
25659 * sysdeps/sparc/stackinfo.h: Likewise.
25660 * sysdeps/x86_64/stackinfo.h: Likewise.
25661 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25662 PF_X for powerpc64. Retain PF_X for powerpc32.
25664 2010-12-19 Ulrich Drepper <drepper@gmail.com>
25666 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25668 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25669 GETDENTS_64BIT_ALIGNED.
25671 2010-12-14 Ulrich Drepper <dreper@gmail.com>
25673 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25675 2010-12-10 Andreas Schwab <schwab@redhat.com>
25677 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25680 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25681 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25683 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25684 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25686 2010-12-09 Ulrich Drepper <drepper@gmail.com>
25689 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25692 2010-12-09 Jakub Jelinek <jakub@redhat.com>
25694 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25696 2010-12-03 Ulrich Drepper <drepper@gmail.com>
25698 * po/it.po: Update from translation team.
25700 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25702 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25705 2010-11-30 Ulrich Drepper <drepper@gmail.com>
25707 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25709 2010-11-24 Andreas Schwab <schwab@redhat.com>
25711 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25713 (gaih_getanswer_slice): Likewise.
25715 2010-10-20 Jakub Jelinek <jakub@redhat.com>
25717 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25719 2010-05-31 Petr Baudis <pasky@suse.cz>
25722 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25723 silently even in the chroot mode.
25725 2010-11-22 Ulrich Drepper <drepper@gmail.com>
25727 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25728 last patch a bit. Pretty printing
25730 2010-05-31 Petr Baudis <pasky@suse.cz>
25733 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25734 initialization of skip_initgroups_dyn.
25736 2010-11-19 Ulrich Drepper <drepper@gmail.com>
25738 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25739 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25741 2010-11-16 Ulrich Drepper <drepper@gmail.com>
25743 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25745 2010-11-11 Andreas Schwab <schwab@redhat.com>
25747 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25748 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25749 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25750 ($(objpfx)tst-fnmatch-mem): New rule.
25751 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25752 * posix/tst-fnmatch.c (main): Call mtrace.
25754 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25757 Support Intel processor model 6 and model 0x2c.
25759 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
25761 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25764 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25767 * string/test-strncasecmp.c (check_result): New function.
25768 (do_one_test): Use it.
25769 (check1): New function.
25770 (test_main): Use it.
25771 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25772 Support strcasecmp and strncasecmp.
25774 2010-11-08 Ulrich Drepper <drepper@gmail.com>
25777 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25778 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25780 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25782 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25786 * sysdeps/x86_64/multiarch/bzero.S: New file.
25787 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25788 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25789 * sysdeps/x86_64/multiarch/memset.S: New file.
25790 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25792 Set bit_Prefer_SSE_for_memop for Intel processors.
25793 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25795 (index_Prefer_SSE_for_memop): Define.
25796 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25798 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
25800 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25801 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25803 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25806 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25807 (__x86_64_raw_data_cache_size_half): Likewise.
25808 (__x86_64_raw_shared_cache_size): Likewise.
25809 (__x86_64_raw_shared_cache_size_half): Likewise.
25811 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25812 (__x86_64_raw_data_cache_size_half): Likewise.
25813 (__x86_64_raw_shared_cache_size): Likewise.
25814 (__x86_64_raw_shared_cache_size_half): Likewise.
25815 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25816 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25817 and __x86_64_raw_shared_cache_size_half. Round
25818 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25819 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25820 to multiple of 256 bytes.
25822 2010-11-03 Ulrich Drepper <drepper@gmail.com>
25825 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25826 of inacessible symlinks. Verify result of symlink before returning it.
25827 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25828 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25830 2010-10-28 Erich Ritz <erichritz@gmail.com>
25832 * math/math.h (isinf): Fix typo in comment.
25834 2010-11-01 Ulrich Drepper <drepper@gmail.com>
25836 * po/da.po: Update from translation team.
25838 2010-10-26 Ulrich Drepper <drepper@gmail.com>
25840 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25841 is added to the list.
25843 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25844 Ulrich Drepper <drepper@gmail.com>
25846 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25847 the global list here. Move code to...
25848 (_dl_add_to_namespace_list): ...here. New function.
25849 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25850 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25851 * elf/dl-load.c (lose): Don't remove the element from the list.
25852 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25853 (_dl_map_object): Likewise.
25855 2010-10-25 Ulrich Drepper <drepper@gmail.com>
25858 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25859 into all bytes of SSE register.
25860 Patch by Richard Li <richardpku@gmail.com>.
25862 2010-10-24 Ulrich Drepper <drepper@gmail.com>
25865 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25868 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25870 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25871 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25872 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25873 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25878 2010-10-22 Andreas Schwab <schwab@redhat.com>
25880 * include/dlfcn.h (__RTLD_SECURE): Define.
25881 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25882 mode & __RTLD_SECURE instead.
25883 (open_path): Rename preloaded parameter to secure.
25884 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25885 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25886 * elf/dl-deps.c (openaux): Likewise.
25887 * elf/rtld.c (struct map_args): Remove is_preloaded.
25888 (map_doit): Don't use it.
25889 (dl_main): Likewise.
25890 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25891 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25893 2010-09-09 Andreas Schwab <schwab@redhat.com>
25895 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25896 (sysd-rules-targets): Remove duplicates.
25897 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25898 rtld-%.$o dependency.
25900 2010-10-18 Andreas Schwab <schwab@redhat.com>
25902 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25903 _dl_map_object do it.
25905 2010-10-19 Ulrich Drepper <drepper@gmail.com>
25907 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25908 fast fma builtins, define the macros in the C99 standard.
25909 (FP_FAST_FMAF): Likewise.
25910 (FP_FAST_FMAL): Likewise.
25911 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25913 * bits/mathdef.h: Update copyright year.
25914 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25916 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25918 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25919 builtins, define the macros in the C99 standard.
25920 (FP_FAST_FMAF): Likewise.
25921 (FP_FAST_FMAL): Likewise.
25922 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25924 (FP_FAST_FMAF): Likewise.
25926 2010-10-15 Jakub Jelinek <jakub@redhat.com>
25929 * math/libm-test.inc (fma_test): Some new testcases.
25930 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25931 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25932 y and infinite z. Do multiplication by C already in long double.
25933 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25934 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25935 y and infinite z. Do bitwise or of inexact bit into u.d.
25936 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25937 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25938 * sysdeps/i386/fpu/s_fma.S: Removed.
25939 * sysdeps/i386/fpu/s_fmal.S: Removed.
25941 2010-10-16 Jakub Jelinek <jakub@redhat.com>
25944 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25945 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25946 computation is not scheduled after fetestexcept. Fix value
25947 of minimum denormal long double.
25949 2010-10-14 Jakub Jelinek <jakub@redhat.com>
25952 * math/libm-test.inc (fma_test): Add some more tests.
25953 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25956 2010-10-15 Andreas Schwab <schwab@redhat.com>
25958 * scripts/data/localplt-s390-linux-gnu.data: New file.
25959 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25961 2010-10-13 Jakub Jelinek <jakub@redhat.com>
25964 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25965 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25967 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25969 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25971 if one of x and y is very large and the other is subnormal.
25972 * sysdeps/s390/fpu/s_fmaf.c: New file.
25973 * sysdeps/s390/fpu/s_fma.c: New file.
25974 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25975 * sysdeps/powerpc/fpu/s_fma.S: New file.
25976 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25977 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25978 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25980 2010-10-12 Jakub Jelinek <jakub@redhat.com>
25983 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25985 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25986 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25987 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25988 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25989 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25990 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25991 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25993 2010-10-12 Ulrich Drepper <drepper@redhat.com>
25996 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25997 * posix/bug-regex31.input: Add test case.
25999 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26001 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26002 * posix/bug-regex31.input: New file.
26005 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26006 (parse_sub_exp): Fix last change, use postorder.
26008 * posix/bug-regex31.c: New file.
26009 * posix/Makefile: Add rules to build and run bug-regex31.
26011 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26014 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26017 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26018 to have entries in sys_siglist.
26021 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26024 2010-10-07 Jakub Jelinek <jakub@redhat.com>
26027 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26028 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26029 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26030 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26031 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26032 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26033 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26034 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26035 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26036 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26037 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26038 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26039 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26040 * math/ftestexcept.c (fetestexcept): Likewise.
26041 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26042 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26043 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26044 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26045 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26046 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26047 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26049 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26052 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26055 2010-10-06 Ulrich Drepper <drepper@gmail.com>
26057 * string/bug-strstr1.c: New file.
26058 * string/Makefile: Add rules to build and run bug-strstr1.
26060 2010-10-05 Eric Blake <eblake@redhat.com>
26063 * string/str-two-way.h (two_way_long_needle): Always clear memory
26064 when skipping input due to the shift table.
26066 2010-10-03 Ulrich Drepper <drepper@gmail.com>
26069 * malloc/mcheck.c: Handle large requests.
26072 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26073 for strncmp and strncasecmp.
26074 * string/stratcliff.c: Add tests for strcmp and strncmp.
26075 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26077 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26079 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26082 2010-09-30 Andreas Jaeger <aj@suse.de>
26084 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26085 (CGROUP_SUPER_MAGIC): Define.
26086 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26087 Handle btrfs and cgroup file systems.
26088 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26091 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
26093 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26094 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26096 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26099 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26100 trying to locate the ELF header.
26102 2010-09-27 Andreas Schwab <schwab@redhat.com>
26105 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26106 Mask out sign-bit copies when constructing f_fsid.
26108 2010-09-24 Petr Baudis <pasky@suse.cz>
26110 * debug/stack_chk_fail_local.c: Add missing licence exception.
26111 * debug/warning-nop.c: Likewise.
26113 2010-09-15 Joseph Myers <joseph@codesourcery.com>
26115 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26116 implementing getdents64 using getdents syscall, set d_type if
26117 __ASSUME_GETDENTS32_D_TYPE.
26119 2010-09-16 Andreas Schwab <schwab@redhat.com>
26121 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26122 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26124 2010-09-21 Ulrich Drepper <drepper@redhat.com>
26127 * posix/unistd.h: Undo change of feature selection for ftruncate from
26130 2010-09-20 Ulrich Drepper <drepper@redhat.com>
26132 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26135 2010-09-20 Andreas Schwab <schwab@redhat.com>
26137 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26139 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26141 2010-09-14 Andreas Schwab <schwab@redhat.com>
26143 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26144 variables after CHECK_SP call.
26145 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26147 2010-09-13 Andreas Schwab <schwab@redhat.com>
26148 Ulrich Drepper <drepper@redhat.com>
26150 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26151 re-relocationg ld.so.
26152 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26153 _dl_init_paths call.
26154 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26157 2010-09-14 Ulrich Drepper <drepper@redhat.com>
26159 * resolv/res_init.c (__res_vinit): Count the default server we added.
26161 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26162 Ulrich Drepper <drepper@redhat.com>
26165 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26166 (____longjmp_chk): Use %ebx for saving value across system call.
26169 2010-09-06 Andreas Schwab <schwab@redhat.com>
26171 * manual/Makefile: Don't mix pattern rules with normal rules.
26173 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26175 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26177 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26178 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26179 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26180 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26181 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26184 2010-09-04 Ulrich Drepper <drepper@redhat.com>
26187 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26188 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26190 2010-09-02 Ulrich Drepper <drepper@redhat.com>
26192 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26193 * sysdeps/x86_64/addmul_1.S: Likewise.
26194 * sysdeps/x86_64/lshift.S: Likewise.
26195 * sysdeps/x86_64/mul_1.S: Likewise.
26196 * sysdeps/x86_64/rshift.S: Likewise.
26197 * sysdeps/x86_64/sub_n.S: Likewise.
26198 * sysdeps/x86_64/submul_1.S: Likewise.
26200 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26202 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26203 Define __sched_param instead of SCHED_* and sched_param when
26204 <bits/sched.h> is included with __need_schedparam defined.
26205 * bits/sched.h [__need_schedparam]
26206 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26207 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26208 (__defined_schedparam): Define to 1.
26209 (__sched_param): New structure, identical to sched_param.
26210 (__need_schedparam): Undefine.
26212 2010-08-31 Mike Frysinger <vapier@gentoo.org>
26214 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26215 (epoll_create1): Declare.
26217 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26219 2010-08-31 Andreas Schwab <schwab@redhat.com>
26222 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26223 shifting retval into place.
26225 2010-09-01 Ulrich Drepper <drepper@redhat.com>
26227 * nis/rpcsvc/nis.h: Update copyright notice.
26228 * nis/rpcsvc/nis.x: Likewise.
26229 * nis/rpcsvc/nis_callback.h: Likewise.
26230 * nis/rpcsvc/nis_callback.x: Likewise.
26231 * nis/rpcsvc/nis_object.x: Likewise.
26232 * nis/rpcsvc/nis_tags.h: Likewise.
26233 * nis/rpcsvc/yp.h: Likewise.
26234 * nis/rpcsvc/yp.x: Likewise.
26235 * nis/rpcsvc/ypupd.h: Likewise.
26236 * nis/yp_xdr.c: Likewise.
26237 * nis/ypupdate_xdr.c: Likewise.
26239 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26240 mainly the body of pmap_getport. Add parameters to specify timeouts.
26241 (pmap_getport): Use __libc_rpc_getport.
26242 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26243 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26244 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26246 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26251 2010-08-27 Roland McGrath <roland@redhat.com>
26253 * sysdeps/i386/i686/multiarch/Makefile
26254 (CFLAGS-varshift.c): New variable.
26256 2010-08-27 Ulrich Drepper <drepper@redhat.com>
26258 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26259 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26261 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26263 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26265 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26267 * sysdeps/x86_64/strlen.S: Unroll the loop.
26268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26269 strlen-sse2 strlen-sse2-bsf.
26270 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26271 __strlen_no_bsf if bit_Slow_BSF is set.
26272 (__strlen_sse42): Removed.
26273 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26274 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26276 2010-08-25 Roland McGrath <roland@redhat.com>
26278 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26279 * sysdeps/x86_64/multiarch/varshift.c: New file.
26280 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26281 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26282 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26283 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26285 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26287 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26288 strlen-sse2 strlen-sse2-bsf.
26289 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26290 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26291 (__strlen_sse2): Removed.
26292 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26293 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26295 bit_Slow_BSF for Atom.
26296 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26297 (index_Slow_BSF): Define.
26298 (HAS_SLOW_BSF): Define.
26300 2010-08-25 Ulrich Drepper <drepper@redhat.com>
26303 * resolv/res_init.c (__res_vinit): When no server address at all
26304 is given default to loopback.
26306 2010-08-24 Roland McGrath <roland@redhat.com>
26308 * configure.in: Remove config-name.h generation.
26309 * configure: Regenerated.
26310 * config-name.in: File removed.
26311 * scripts/config-uname.sh: New file.
26312 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26313 ($(objdir)config-name.h): New target.
26315 * sunrpc/rpc_parse.h: Avoid nested comment.
26317 2010-08-24 Richard Henderson <rth@redhat.com>
26318 Ulrich Drepper <drepper@redhat.com>
26319 H.J. Lu <hongjiu.lu@intel.com>
26321 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26323 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26324 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26325 _mm_alignr_epi8 with _mm_loadu_si128.
26326 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26327 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26328 (__m128i_shift_right): Removed.
26329 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26330 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26331 * sysdeps/x86_64/multiarch/varshift.h: New file.
26332 * sysdeps/x86_64/multiarch/varshift.S: New file.
26334 2010-08-21 Mike Frysinger <vapier@gentoo.org>
26336 * configure.in: Move assembler checks to before sysdep dir checking.
26338 2010-08-20 Petr Baudis <pasky@suse.cz>
26340 * LICENSES: Sync the sunrpc license.
26342 2010-08-19 Ulrich Drepper <drepper@redhat.com>
26344 * sunrpc/auth_des.c: Update copyright notice once again.
26345 * sunrpc/auth_none.c: Likewise.
26346 * sunrpc/auth_unix.c: Likewise.
26347 * sunrpc/authdes_prot.c: Likewise.
26348 * sunrpc/authuxprot.c: Likewise.
26349 * sunrpc/bindrsvprt.c: Likewise.
26350 * sunrpc/clnt_gen.c: Likewise.
26351 * sunrpc/clnt_perr.c: Likewise.
26352 * sunrpc/clnt_raw.c: Likewise.
26353 * sunrpc/clnt_simp.c: Likewise.
26354 * sunrpc/clnt_tcp.c: Likewise.
26355 * sunrpc/clnt_udp.c: Likewise.
26356 * sunrpc/clnt_unix.c: Likewise.
26357 * sunrpc/des_crypt.c: Likewise.
26358 * sunrpc/des_soft.c: Likewise.
26359 * sunrpc/get_myaddr.c: Likewise.
26360 * sunrpc/getrpcport.c: Likewise.
26361 * sunrpc/key_call.c: Likewise.
26362 * sunrpc/key_prot.c: Likewise.
26363 * sunrpc/openchild.c: Likewise.
26364 * sunrpc/pm_getmaps.c: Likewise.
26365 * sunrpc/pm_getport.c: Likewise.
26366 * sunrpc/pmap_clnt.c: Likewise.
26367 * sunrpc/pmap_prot.c: Likewise.
26368 * sunrpc/pmap_prot2.c: Likewise.
26369 * sunrpc/pmap_rmt.c: Likewise.
26370 * sunrpc/rpc/auth.h: Likewise.
26371 * sunrpc/rpc/auth_unix.h: Likewise.
26372 * sunrpc/rpc/clnt.h: Likewise.
26373 * sunrpc/rpc/des_crypt.h: Likewise.
26374 * sunrpc/rpc/key_prot.h: Likewise.
26375 * sunrpc/rpc/netdb.h: Likewise.
26376 * sunrpc/rpc/pmap_clnt.h: Likewise.
26377 * sunrpc/rpc/pmap_prot.h: Likewise.
26378 * sunrpc/rpc/pmap_rmt.h: Likewise.
26379 * sunrpc/rpc/rpc.h: Likewise.
26380 * sunrpc/rpc/rpc_des.h: Likewise.
26381 * sunrpc/rpc/rpc_msg.h: Likewise.
26382 * sunrpc/rpc/svc.h: Likewise.
26383 * sunrpc/rpc/svc_auth.h: Likewise.
26384 * sunrpc/rpc/types.h: Likewise.
26385 * sunrpc/rpc/xdr.h: Likewise.
26386 * sunrpc/rpc_clntout.c: Likewise.
26387 * sunrpc/rpc_cmsg.c: Likewise.
26388 * sunrpc/rpc_common.c: Likewise.
26389 * sunrpc/rpc_cout.c: Likewise.
26390 * sunrpc/rpc_dtable.c: Likewise.
26391 * sunrpc/rpc_hout.c: Likewise.
26392 * sunrpc/rpc_main.c: Likewise.
26393 * sunrpc/rpc_parse.c: Likewise.
26394 * sunrpc/rpc_parse.h: Likewise.
26395 * sunrpc/rpc_prot.c: Likewise.
26396 * sunrpc/rpc_sample.c: Likewise.
26397 * sunrpc/rpc_scan.c: Likewise.
26398 * sunrpc/rpc_scan.h: Likewise.
26399 * sunrpc/rpc_svcout.c: Likewise.
26400 * sunrpc/rpc_tblout.c: Likewise.
26401 * sunrpc/rpc_util.c: Likewise.
26402 * sunrpc/rpc_util.h: Likewise.
26403 * sunrpc/rpcinfo.c: Likewise.
26404 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26405 * sunrpc/rpcsvc/key_prot.x: Likewise.
26406 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26407 * sunrpc/rpcsvc/mount.x: Likewise.
26408 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26409 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26410 * sunrpc/rpcsvc/rex.x: Likewise.
26411 * sunrpc/rpcsvc/rstat.x: Likewise.
26412 * sunrpc/rpcsvc/rusers.x: Likewise.
26413 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26414 * sunrpc/rpcsvc/spray.x: Likewise.
26415 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26416 * sunrpc/rtime.c: Likewise.
26417 * sunrpc/svc.c: Likewise.
26418 * sunrpc/svc_auth.c: Likewise.
26419 * sunrpc/svc_authux.c: Likewise.
26420 * sunrpc/svc_raw.c: Likewise.
26421 * sunrpc/svc_run.c: Likewise.
26422 * sunrpc/svc_simple.c: Likewise.
26423 * sunrpc/svc_tcp.c: Likewise.
26424 * sunrpc/svc_udp.c: Likewise.
26425 * sunrpc/svc_unix.c: Likewise.
26426 * sunrpc/svcauth_des.c: Likewise.
26427 * sunrpc/xcrypt.c: Likewise.
26428 * sunrpc/xdr.c: Likewise.
26429 * sunrpc/xdr_array.c: Likewise.
26430 * sunrpc/xdr_float.c: Likewise.
26431 * sunrpc/xdr_mem.c: Likewise.
26432 * sunrpc/xdr_rec.c: Likewise.
26433 * sunrpc/xdr_ref.c: Likewise.
26434 * sunrpc/xdr_sizeof.c: Likewise.
26435 * sunrpc/xdr_stdio.c: Likewise.
26437 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26440 2010-08-19 Andreas Schwab <schwab@redhat.com>
26442 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26444 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
26446 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26447 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26448 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26449 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26450 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26451 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26452 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26453 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26454 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26455 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26456 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26457 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26458 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26459 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26461 2010-07-26 Anton Blanchard <anton@samba.org>
26463 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26464 * malloc/arena.c (heap_trim): Likewise.
26466 2010-08-16 Ulrich Drepper <drepper@redhat.com>
26468 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26470 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26471 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26473 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26475 * sysdeps/i386/elf/Makefile: New file.
26477 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26479 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26480 from fanotify_init.
26481 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26482 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26484 2010-08-15 Ulrich Drepper <drepper@redhat.com>
26486 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26488 * sysdeps/multiarch/strcmp.S: Likewise.
26490 2010-08-14 Ulrich Drepper <drepper@redhat.com>
26492 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26493 strncase_l-nonascii.
26494 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26495 Add strncase_l-ssse3.
26496 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26497 * sysdeps/x86_64/strcmp.S: Likewise.
26498 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26499 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26500 * sysdeps/x86_64/strncase.S: New file.
26501 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26502 * sysdeps/x86_64/strncase_l.S: New file.
26503 * string/Makefile (strop-tests): Add strncasecmp.
26504 * string/test-strncasecmp.c: New file.
26506 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26509 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26510 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26512 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26514 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26516 2010-08-12 Ulrich Drepper <drepper@redhat.com>
26518 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26519 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26520 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26522 2010-05-01 Alan Modra <amodra@gmail.com>
26524 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26525 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26526 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26527 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26528 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26529 tidying. Don't tail-call __sigjmp_save for static lib.
26530 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26532 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26533 (CALL_MCOUNT): Add eh info, and nop after bl.
26534 (TAIL_CALL_SYSCALL_ERROR): New macro.
26535 (PSEUDO_RET): Use it.
26536 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26537 Correct save location of integer regs and cr.
26538 (_dl_profile_resolve): Correct cr save location. Delete nops
26539 after bl when SHARED. Reduce cfi size a little by better
26540 placement of cfi directives.
26541 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26542 make a stack frame. Instead use parm save area as a temp.
26543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26544 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26546 Don't make a stack frame for parent, use parm save area.
26547 Increase child stack frame to 112 bytes. Don't save unused reg,
26548 and adjust reg usage. Set up cfi on error recovery and
26549 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26551 (__makecontext): Add dummy nop after jump to exit.
26552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26553 Use correct parm save area and cr save, reduce stack frame.
26554 Correct cfi for possible PSEUDO_RET frame setup.
26555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26556 Branch to local label emitted by PSEUDO_RET rather than
26559 2010-08-12 Andreas Schwab <schwab@redhat.com>
26562 * locale/programs/locale.c (print_assignment): New function.
26563 (show_locale_vars): Use it.
26565 2010-08-11 Ulrich Drepper <drepper@redhat.com>
26567 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26569 (struct statfs64): Likewise.
26570 (_STATFS_F_FLAGS): Define.
26571 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26572 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26573 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26574 (ST_VALID): Define locally.
26575 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26576 __statvfs_getflags, use the provided value.
26577 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26578 __ASSUME_STATFS_F_FLAGS.
26580 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26582 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26583 Add sys/fanotify.h.
26584 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26585 fanotify_mask for GLIBC_2.13.
26586 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26587 fanotify_init and fanotify_mark.
26588 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26589 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26591 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26593 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26594 prlimit64 for GLIBC_2.13.
26595 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26597 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26600 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26601 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26602 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26603 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26605 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26608 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26609 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26611 * nss/Makefile: Add rules to build and run tst-nss-test1.
26612 * shlib-versions: Add entry for libnss_test1.
26613 * nss/nss_test1.c: New file.
26614 * nss/tst-nss-test1.c: New file.
26616 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26617 (__nss_configure_lookup): Set appropriate entry in
26618 __nss_configure_lookup to true.
26619 * nss/nsswitch.h: Define enum with indeces of databases in
26620 databases and __nss_database_custom arrays. Declare
26621 __nss_database_custom.
26622 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26623 to avoid using nscd when custom rules are installed.
26624 * nss/getXXbyYY_r.c: Likewise.
26625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26627 * nss/nss_files/files-parse.c: Whitespace fixes.
26629 2010-08-09 Ulrich Drepper <drepper@redhat.com>
26632 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26633 * posix/fnmatch_loop.c: Likewise.
26635 2010-07-17 Andi Kleen <ak@linux.intel.com>
26637 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26638 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26639 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26640 * Versions.def [GLIBC_2.13]: Add.
26642 2010-08-06 Ulrich Drepper <drepper@redhat.com>
26644 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26645 Also fail if tpwd after pwuid call is NULL.
26647 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26649 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26650 when converting to ms.
26652 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26654 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26655 EOPNOTSUPP errors with ENOTTY.
26656 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26657 EOPNOTSUPP errors with ENOTTY.
26659 2010-07-31 Ulrich Drepper <drepper@redhat.com>
26661 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26662 Add strcasecmp_l-ssse3.
26663 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26665 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26666 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26667 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26669 2010-07-30 Ulrich Drepper <drepper@redhat.com>
26671 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26673 * string/Makefile (strop-tests): Add strcasecmp.
26674 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26675 strcasecmp_l-nonascii.
26676 (gen-as-const-headers): Add locale-defines.sym.
26677 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26678 * sysdeps/x86_64/strcasecmp.S: New file.
26679 * sysdeps/x86_64/strcasecmp_l.S: New file.
26680 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26681 * sysdeps/x86_64/locale-defines.sym: New file.
26682 * string/test-strcasecmp.c: New file.
26684 * string/test-strcasestr.c: Test both ends of the range of characters.
26685 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26687 2010-07-29 Roland McGrath <roland@redhat.com>
26690 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26692 2010-07-27 Ulrich Drepper <drepper@redhat.com>
26694 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26697 2010-07-27 Andreas Schwab <schwab@redhat.com>
26699 * manual/memory.texi (Malloc Tunable Parameters): Document
26702 2010-07-26 Roland McGrath <roland@redhat.com>
26705 * configure.in (-fgnu89-inline check): Set and substitute
26706 gnu89_inline, not libc_cv_gnu89_inline.
26707 * configure: Regenerated.
26708 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26710 2010-07-26 Ulrich Drepper <drepper@redhat.com>
26712 * string/test-strnlen.c: New file.
26713 * string/Makefile (strop-tests): Add strnlen.
26714 * string/tester.c (test_strnlen): Add a few more test cases.
26715 * string/tst-strlen.c: Better error reporting.
26717 * sysdeps/x86_64/strnlen.S: New file.
26719 2010-07-24 Ulrich Drepper <drepper@redhat.com>
26721 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26722 lower-latency instructions.
26724 2010-07-23 Ulrich Drepper <drepper@redhat.com>
26726 * string/test-strcasestr.c: New file.
26727 * string/test-strstr.c: New file.
26728 * string/Makefile (strop-tests): Add strstr and strcasestr.
26729 * string/str-two-way.h: Don't undefine MAX.
26730 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26732 2010-07-21 Andreas Schwab <schwab@redhat.com>
26734 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26735 strcasestr-nonascii.
26736 (CFLAGS-strcasestr-nonascii.c): Define.
26737 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26738 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26739 Remove unused attribute.
26741 2010-07-20 Roland McGrath <roland@redhat.com>
26743 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26744 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26745 ld.so.cache was broken. With it, there is no way to disable dsocaps
26746 like LD_HWCAP_MASK can disable hwcaps.
26748 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26750 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26752 2010-07-16 Ulrich Drepper <drepper@redhat.com>
26754 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26755 call in strcasestr.
26756 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26757 __strcasestr_sse42_nonascii.
26758 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26759 strcasestr-nonascii.c.
26760 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26762 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
26764 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26765 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26766 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26767 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26769 2010-07-09 Ulrich Drepper <drepper@redhat.com>
26771 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26774 2010-07-06 Andreas Schwab <schwab@redhat.com>
26777 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26780 2010-07-06 Ulrich Drepper <drepper@redhat.com>
26782 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26783 _PC_PIPE_BUF using F_GETPIPE_SZ.
26785 2010-07-05 Roland McGrath <roland@redhat.com>
26787 * manual/arith.texi (Rounding Functions): Fix rint description
26788 implicit in round description.
26790 2010-07-02 Ulrich Drepper <drepper@redhat.com>
26792 * elf/Makefile: Fix linking for a few tests to make recent linker
26795 2010-06-30 Andreas Schwab <schwab@redhat.com>
26797 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26798 $(common-objpfx)libc_nonshared.a.
26800 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
26802 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26803 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26804 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26805 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26806 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26807 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26808 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26809 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26824 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26825 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26826 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26827 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26828 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26829 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26830 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26831 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26832 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26833 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26834 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26835 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26851 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26853 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26854 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26855 * string/memmove.c (memmove): Renamed to ...
26856 (MEMMOVE): ...this. Default to memmove.
26857 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26858 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26860 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26861 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26862 mempcpy-ssse3-back memmove-ssse3-back.
26863 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26864 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26865 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26866 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26867 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26868 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26869 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26870 * sysdeps/x86_64/multiarch/memmove.c: New file.
26871 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26872 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26873 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26874 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26875 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26876 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26878 (index_Fast_Copy_Backward): Define.
26879 (HAS_ARCH_FEATURE): Define.
26880 (HAS_FAST_REP_STRING): Define.
26881 (HAS_FAST_COPY_BACKWARD): Define.
26883 2010-06-21 Andreas Schwab <schwab@redhat.com>
26885 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26886 Restore proper fallback handling.
26888 2010-06-19 Ulrich Drepper <drepper@redhat.com>
26891 * posix/group_member.c (__group_member): Correct checking loop.
26893 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26894 OOM in getpwuid_r correctly. Return error number when the caller
26895 should return, otherwise -1.
26896 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26897 call returning > 0 value.
26898 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26900 2010-06-07 Andreas Schwab <schwab@redhat.com>
26902 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26903 libc_nonshared.a from targets in modules-names.
26905 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26907 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26910 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
26912 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26913 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26914 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26915 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26917 2010-06-02 Andreas Schwab <schwab@redhat.com>
26919 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26921 2010-06-14 Ulrich Drepper <drepper@redhat.com>
26923 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26925 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26926 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26927 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26929 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26930 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26932 2010-06-14 Roland McGrath <roland@redhat.com>
26934 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26936 2010-06-07 Jakub Jelinek <jakub@redhat.com>
26938 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26939 __REDIRECT followed by __THROW.
26940 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26941 * posix/getopt.h (getopt): Likewise.
26943 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26945 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26946 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26947 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26949 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26950 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26952 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
26954 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26956 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26960 Properly check family and model.
26962 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26964 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26966 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
26968 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26970 2010-05-21 Ulrich Drepper <drepper@redhat.com>
26972 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26975 2010-05-19 Andreas Schwab <schwab@redhat.com>
26977 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26980 2010-05-21 Andreas Schwab <schwab@redhat.com>
26982 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26983 and internal_recvmmsg.
26984 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26985 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26986 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26987 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26989 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26990 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26991 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26993 2010-05-20 Andreas Schwab <schwab@redhat.com>
26995 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26997 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
26999 POWER7 optimizations.
27000 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27001 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27003 2010-05-19 Ulrich Drepper <drepper@redhat.com>
27005 * version.h: Update for 2.13 development version.
27007 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
27009 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27010 exceptions. Return 0.
27012 2010-05-07 Roland McGrath <roland@redhat.com>
27014 * elf/ldconfig.c (main): Add a const.
27016 2010-05-06 Ulrich Drepper <drepper@redhat.com>
27018 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27019 (args_options): Add no-idn option.
27020 (ahosts_keys_int): Add idn_flags to ai_flags.
27021 (parse_option): Handle 'i' option to clear idn_flags.
27023 * malloc/malloc.c (_int_free): Possible race in the most recently
27024 added check. Only act on the data if no current modification
27027 See ChangeLog.17 for earlier changes.